:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    color: #27272d;
    background: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff;
    color: #27272d;
    font-size: 16px;
    line-height: 1.65;
}

img {
    max-width: 100%;
}

.public-page-container {
    width: min(100% - 40px, 980px);
    margin: 0 auto;
}

.public-page-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9e9ed;
    background: #ffffff;
}

.public-page-header-inner {
    width: min(100% - 40px, 980px);
    margin: 0 auto;
}

.public-page-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.public-page-brand img {
    display: block;
    width: 150px;
    height: auto;
}

.public-page-title {
    position: relative;
    overflow: hidden;
    padding: 132px 0 120px;
    border-bottom: 5px solid #be0839;
    background: linear-gradient(110deg, #f0f1f3 0%, #ffffff 34%, #ffffff 72%, #f1f2f4 100%);
}

.public-page-title::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(54, 58, 64, 0.025), transparent 42%);
    content: '';
}

.public-page-title::after {
    position: absolute;
    top: -138px;
    right: -96px;
    width: 400px;
    height: 310px;
    border: 2px solid rgba(190, 8, 57, 0.2);
    border-radius: 50%;
    transform: rotate(34deg);
    content: '';
}

.public-page-title .public-page-container {
    position: relative;
    z-index: 1;
}

.public-page-title h1 {
    margin: 0;
    color: #20242a;
    font-size: 56px;
    line-height: 1.15;
}

.public-page-block {
    padding: 24px 0;
    background: #ffffff;
}

.public-page-rich-text {
    overflow-wrap: anywhere;
}

.public-page-rich-text > :first-child {
    margin-top: 0;
}

.public-page-rich-text > :last-child {
    margin-bottom: 0;
}

.public-page-rich-text a {
    color: #be0839;
}

.public-page-image-text {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 40px;
}

.public-page-image-text.is-inverted img {
    order: 2;
}

.public-page-image-text img,
.public-page-gallery img {
    display: block;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.public-page-image-text img {
    aspect-ratio: 1;
}

.public-page-gallery,
.public-page-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.public-page-gallery img {
    aspect-ratio: 16 / 10;
}

.public-page-video {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #111111;
}

.public-page-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.public-page-podcast iframe {
    display: block;
    width: 100%;
    min-height: 240px;
    border: 0;
}

.public-page-action {
    text-align: center;
}

.public-page-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    background: #be0839;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.public-page-empty {
    padding: 70px 20px;
    color: #777780;
    text-align: center;
}

.public-page-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 36px 20px;
    border-top: 1px solid #e9e9ed;
    background: #f6f6f8;
    color: #6f6f78;
    text-align: center;
}

.public-page-footer img {
    width: 130px;
}

.public-page-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.public-page-footer a {
    color: #33333a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.public-page-footer p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 700px) {
    .public-page-container {
        width: min(100% - 28px, 980px);
    }

    .public-page-header-inner {
        width: min(100% - 28px, 980px);
    }

    .public-page-title {
        padding: 86px 0 78px;
    }

    .public-page-title h1 {
        font-size: 38px;
    }

    .public-page-title::after {
        top: -100px;
        right: -170px;
        width: 330px;
        height: 250px;
    }

    .public-page-image-text,
    .public-page-gallery,
    .public-page-media-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .public-page-image-text.is-inverted img {
        order: initial;
    }
}
