:root {
    color-scheme: only light;
}

/* Exact lg full-bleed owners: the page gutter is 40px from 1024px to 1279px. */
@media (min-width: 1024px) and (max-width: 1279px) {
    [data-layout-full-bleed-lg="true"] {
        margin-left: -40px !important;
        margin-right: -40px !important;
    }
}

/* Private page: fit two full-bleed owners at the md gutter without moving
   their established inner content geometry. */
@media (min-width: 768px) and (max-width: 1023.98px) {
    [data-private-tablet-full-bleed] {
        margin-left: -40px !important;
        margin-right: -40px !important;
        padding-left: 36px !important;
        padding-right: 36px !important;
    }
}

div[id^="wait_comp_"] {
    display: none !important;
}
div[style*="/bitrix/js/main/core/images/wait.gif"] {
    display: none !important;
}
div[id^="wait_"],
div[class*="wait"],
span[id^="wait_"] {
    display: none !important;
}

.select-none {
    user-select: none;
}

[data-person-photo="true"] {
    background-color: #aaa39d;
}

[data-person-image="true"] {
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

[data-person-photo-fit="cover"] [data-person-image="true"] {
    object-fit: cover;
    object-position: center;
}

[data-person-photo-fit="contain"] [data-person-image="true"] {
    object-fit: contain;
    object-position: center bottom;
}

[data-person-photo-fit="contain"] {
    background-color: #bcb7ad;
}

[data-person-photo-focus="upper"] [data-person-image="true"] {
    object-position: center 32%;
}

[data-person-copy="true"] {
    display: grid;
    min-width: 0;
    grid-template-rows: auto auto auto;
    align-content: start;
    row-gap: 8px;
}

[data-person-name="true"],
[data-person-role="true"],
[data-person-email="true"] {
    min-width: 0;
    line-height: 1.35;
}

[data-person-email="true"] {
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #5e8086;
    text-decoration: none;
    transition: color 160ms ease;
}

[data-person-email="true"]:focus-visible {
    color: #00b3db;
    outline: 2px solid #00b3db;
    outline-offset: 3px;
}

[data-cooperation-intro] > [data-person-card="cooperation"] {
    flex: 0 0 auto;
}

[data-cooperation-intro-content="true"] {
    min-width: 0;
    flex: 1 1 0;
}

@media (hover: hover) and (pointer: fine) {
    [data-person-email="true"]:hover {
        color: #00b3db;
    }
}

@media (min-width: 640px) {
    [data-person-copy="true"] {
        row-gap: 10px;
    }

    [data-person-card="team"] [data-person-name="true"] {
        min-height: 2.7em;
    }
}

[data-header] [data-header-mobile] {
    display: none;
}

[data-header][data-scroll-hidden="true"] {
    pointer-events: none;
}

[data-header][data-safe-area-hidden="true"] {
    pointer-events: none;
}

[data-header][data-safe-area-hidden="true"] > div:first-child {
    background-color: transparent !important;
    box-shadow: none !important;
    transform: translateY(-100%) !important;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-header][data-scrolled="true"] > div:first-child {
    background-color: var(--understar-header-scrolled-bg, #fff) !important;
    box-shadow: none !important;
}

[data-header][data-black="false"][data-safe-area-hidden="true"] > div:first-child {
    background-color: transparent !important;
    box-shadow: none !important;
}

[data-header][data-black="false"][data-safe-area-hidden="true"] > div:first-child nav [data-dropdown-trigger],
[data-header][data-black="false"][data-safe-area-hidden="true"] > div:first-child nav [data-dropdown-trigger] svg,
[data-header][data-black="false"][data-safe-area-hidden="true"] > div:first-child nav > a > span,
[data-header][data-black="false"][data-safe-area-hidden="true"] > div:first-child [data-header-mobile-trigger] > svg {
    color: #fff !important;
}

.public-form-result-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 110;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.public-form-result-close:hover {
    opacity: 0.6;
}

.public-form-result-close:focus-visible {
    outline: 2px solid #00b3dc;
    outline-offset: 2px;
}

[data-header][data-mobile-open="true"] [data-header-mobile],
[data-header][data-menu-opening="true"] [data-header-mobile],
[data-header][data-menu-closing="true"] [data-header-mobile] {
    display: block;
}

@media (max-width: 639px) {
    [data-team-grid="true"] {
        column-gap: 10px;
        margin-inline: -16px;
        row-gap: 24px;
    }

    [data-person-card="team"] [data-person-name="true"] {
        min-height: 0;
        font-size: 16px;
        line-height: 1.35;
    }

    [data-person-card="team"] [data-person-copy="true"] {
        row-gap: 6px;
    }

    @supports (grid-template-rows: subgrid) {
        [data-team-grid="true"] {
            align-items: start;
        }

        [data-person-card="team"] {
            display: grid;
            grid-row: span 4;
            grid-template-rows: subgrid;
            align-self: start;
            row-gap: 6px;
        }

        [data-person-card="team"] > [data-person-photo="true"] {
            grid-row: 1;
            margin-bottom: 11px;
        }

        [data-person-card="team"] > [data-person-copy="true"] {
            display: contents;
        }

        [data-person-card="team"] [data-person-name="true"] {
            grid-row: 2;
        }

        [data-person-card="team"] [data-person-role="true"] {
            grid-row: 3;
        }

        [data-person-card="team"] [data-person-email="true"] {
            grid-row: 4;
        }
    }

    [data-cooperation-intro-content="true"],
    [data-cooperation-mobile-contacts="true"] {
        width: 100%;
        min-width: 0;
    }

    [data-cooperation-intro-content="true"] > h4 {
        font-size: 32px;
        line-height: 40px;
    }

    [data-cooperation-variants-title="true"] {
        font-size: 32px;
        line-height: 40px;
    }

    [data-cooperation-contact="true"] {
        flex: 1 1 0;
        min-width: 0;
    }

    [data-cooperation-contact-photo="true"] {
        width: 100%;
        height: auto;
        max-width: 166px;
        aspect-ratio: 1;
    }

    [data-footer-nav="true"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    [data-footer-nav="true"] a {
        min-width: 0;
        white-space: normal;
    }
}

@media (max-width: 400px) {
    [data-home-children-section="true"] > div:first-child,
    [data-home-news-row="true"] {
        margin-right: -16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    [data-home-children-section="true"] {
        margin-right: -20px;
        margin-left: -20px;
    }
}

[data-footer-help-button="true"] {
    width: 133px;
    padding: 15px 0;
    font-size: 16px;
    line-height: 22px;
}

@media (min-width: 768px) {
    [data-footer-help-button="true"] {
        padding: 18px 0;
    }
}

@media (min-width: 1920px) {
    [data-footer-help-button="true"] {
        width: 167px;
        padding: 21px 0;
        font-size: 18px;
        line-height: 26px;
    }
}

[data-clinic-link="true"] {
    color: inherit;
    text-decoration: none;
}

[data-clinic-arrow="true"] {
    align-self: center;
}

[data-clinic-link="true"]:focus-visible {
    outline: 3px solid #1a1a1a;
    outline-offset: 3px;
}

[data-clinic-link="true"]:focus-visible [data-clinic-title="true"] {
    color: #00b3dc;
}

[data-clinic-link="true"]:focus-visible [data-clinic-arrow="true"] {
    opacity: 1 !important;
}

@media (min-width: 1024px) {
    [data-child-story-card="true"]:focus-within {
        align-items: flex-start;
    }

    [data-child-story-card="true"]:focus-within [data-child-story-content="true"] {
        height: 100%;
        justify-content: space-between;
    }

    [data-child-story-link="true"]:focus {
        max-height: 100% !important;
        padding: 16px 18px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        outline: 3px solid #fff;
        outline-offset: 3px;
    }
}

@media (min-width: 1280px) {
    [data-child-story-link="true"]:focus {
        padding: 19px 20px !important;
    }
}

[data-child-catalog-link="true"] {
    color: inherit;
    text-decoration: none;
    transform: translateY(0);
    transition: transform 180ms ease;
}

[data-child-catalog-media="true"]::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(30, 47, 50, 0.16)),
        radial-gradient(circle at 82% 18%, rgba(86, 181, 216, 0.2), transparent 34%);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

[data-child-catalog-media="true"] > img {
    transform: scale(1);
    transition: transform 240ms ease;
}

[data-child-catalog-action="true"] {
    transition: background-color 180ms ease, color 180ms ease;
}

[data-child-catalog-link="true"]:focus-visible {
    outline: 3px solid #1f3135;
    outline-offset: 4px;
}

[data-child-catalog-link="true"]:focus-visible [data-child-catalog-action="true"] {
    background-color: #00b3db;
    color: #fff;
}

@media (hover: hover) and (pointer: fine) {
    [data-child-catalog-link="true"]:hover {
        transform: translateY(-2px);
    }

    [data-child-catalog-link="true"]:hover [data-child-catalog-media="true"]::after {
        opacity: 1;
    }

    [data-child-catalog-link="true"]:hover [data-child-catalog-media="true"] > img {
        transform: scale(1.018);
    }

    [data-child-catalog-link="true"]:hover [data-child-catalog-action="true"] {
        background-color: #00b3db;
        color: #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-child-catalog-link="true"],
    [data-child-catalog-media="true"]::after,
    [data-child-catalog-media="true"] > img,
    [data-child-catalog-action="true"] {
        transition-duration: 0.01ms !important;
    }

    [data-child-catalog-link="true"]:hover,
    [data-child-catalog-media="true"] > img {
        transform: none !important;
    }
}

[data-news-card="true"] {
    transform: translateY(0);
    transition: transform 180ms ease;
}

[data-news-card-link="true"] {
    color: inherit;
    text-decoration: none;
}

[data-document-card-link="true"],
[data-report-card-link="true"] {
    color: inherit;
    text-decoration: none;
}

[data-document-card="true"],
[data-report-card="true"] {
    transform: translateY(0);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-document-card-icon="true"] img,
[data-report-card-icon="true"] img {
    transform: translateY(0) scale(1);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-document-card-action="true"],
[data-report-card-action="true"] {
    transition: color 180ms ease;
}

[data-document-card-link="true"]:focus-visible,
[data-report-card-link="true"]:focus-visible {
    outline: 3px solid #1f3135;
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    [data-document-card-link="true"]:hover [data-document-card="true"],
    [data-report-card-link="true"]:hover [data-report-card="true"] {
        transform: translateY(-2px);
    }

    [data-document-card-link="true"]:hover [data-document-card-icon="true"] img,
    [data-report-card-link="true"]:hover [data-report-card-icon="true"] img {
        transform: translateY(-2px) scale(1.018);
    }

    [data-document-card-link="true"]:hover [data-document-card-action="true"],
    [data-report-card-link="true"]:hover [data-report-card-action="true"] {
        color: #00b3db;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-document-card="true"],
    [data-report-card="true"],
    [data-document-card-icon="true"] img,
    [data-report-card-icon="true"] img,
    [data-document-card-action="true"],
    [data-report-card-action="true"] {
        transition-duration: 0.01ms !important;
    }

    [data-document-card-link="true"]:hover [data-document-card="true"],
    [data-report-card-link="true"]:hover [data-report-card="true"],
    [data-document-card-icon="true"] img,
    [data-report-card-icon="true"] img {
        transform: none !important;
    }
}

[data-news-card-media="true"]::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(30, 47, 50, 0.16)),
        radial-gradient(circle at 82% 18%, rgba(86, 181, 216, 0.2), transparent 34%);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

[data-news-card-media="true"] > img {
    transform: scale(1);
    transition: transform 240ms ease;
}

[data-news-card-link="true"]:focus-visible {
    outline: 3px solid #1f3135;
    outline-offset: 4px;
}

[data-news-card-link="true"]:focus-visible [data-news-card-media="true"]::after {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    [data-news-card="true"]:hover {
        transform: translateY(-2px);
    }

    [data-news-card="true"]:hover [data-news-card-media="true"]::after {
        opacity: 1;
    }

    [data-news-card="true"]:hover [data-news-card-media="true"] > img {
        transform: scale(1.018);
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-news-card="true"],
    [data-news-card-media="true"]::after,
    [data-news-card-media="true"] > img {
        transition-duration: 0.01ms !important;
    }

    [data-news-card="true"]:hover,
    [data-news-card-media="true"] > img {
        transform: none !important;
    }
}

[data-content-load-more-root] {
    overflow-anchor: none;
}

.content-load-more-controls {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
    width: 100%;
}

.content-load-more-button {
    align-items: center;
    background: #00b3db;
    border: 1px solid #00b3db;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    gap: 6px;
    font: inherit;
    font-weight: 500;
    justify-content: center;
    min-height: 48px;
    min-width: 210px;
    padding: 12px 22px;
    text-decoration: none;
    transition: opacity .18s ease, transform .18s ease;
}

@media (min-width: 768px) {
    .content-load-more-button {
        gap: 8px;
    }
}

.content-load-more-button[aria-disabled="true"] {
    cursor: wait;
    opacity: .7;
}

.content-load-more-button:focus-visible {
    outline: 3px solid #1f3135;
    outline-offset: 3px;
}

.content-load-more-button--secondary {
    background: #fff;
    color: #324043;
}

.content-load-more-button--secondary[hidden] {
    display: none;
}

.content-load-more-status {
    color: #566165;
    font-size: .875rem;
    line-height: 1.35;
    margin: 0;
    min-height: 1.2em;
    text-align: center;
}

.content-load-more-status.is-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.content-load-more-range {
    max-width: 760px;
    width: min(100%, 760px);
}

.content-load-more-range__row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 44px minmax(28px, auto) minmax(88px, 1fr) minmax(28px, auto) 44px;
    padding-top: 22px;
    width: 100%;
}

.content-load-more-range__arrow,
.content-load-more-range__endpoint {
    align-items: center;
    color: #324043;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 500;
    justify-content: center;
    text-decoration: none;
}

.understar-navigation-arrow {
    display: block;
    height: 26px;
    pointer-events: none;
    width: 26px;
}

.content-load-more-range__arrow {
    align-items: center;
    background: #e2e4e4;
    border-radius: 10px;
    height: 44px;
    line-height: 1;
    transition: background-color .18s ease, transform .16s ease;
    width: 44px;
}

.content-load-more-range__arrow.is-disabled {
    color: #858d8e;
    cursor: default;
    opacity: .72;
}

.content-load-more-range__endpoint {
    min-height: 44px;
    min-width: 28px;
}

.content-load-more-range__endpoint.is-current {
    color: #00b3db;
}

.content-load-more-range__track {
    height: 44px;
    min-width: 0;
    position: relative;
    width: 100%;
}

.content-load-more-range__chip {
    background: #ddf7fc;
    border-radius: 999px;
    color: #324043;
    font-size: .75rem;
    font-weight: 500;
    left: clamp(16px, var(--content-range-progress), calc(100% - 16px));
    line-height: 20px;
    min-width: 32px;
    padding: 2px 8px;
    position: absolute;
    text-align: center;
    top: -14px;
    transform: translateX(-50%);
}

.content-load-more-range__track [data-content-range] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: grab;
    height: 44px;
    inset: 0;
    margin: 0;
    position: absolute;
    width: 100%;
}

.content-load-more-range__track [data-content-range]:active {
    cursor: grabbing;
}

.content-load-more-range__track [data-content-range]::-webkit-slider-runnable-track {
    background: linear-gradient(90deg, #00b3db 0 var(--content-range-progress), #e2e4e4 var(--content-range-progress) 100%);
    border-radius: 999px;
    height: 4px;
}

.content-load-more-range__track [data-content-range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #00b3db;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #00b3db;
    height: 16px;
    margin-top: -6px;
    width: 16px;
}

.content-load-more-range__track [data-content-range]::-moz-range-track {
    background: #e2e4e4;
    border-radius: 999px;
    height: 4px;
}

.content-load-more-range__track [data-content-range]::-moz-range-progress {
    background: #00b3db;
    border-radius: 999px;
    height: 4px;
}

.content-load-more-range__track [data-content-range]::-moz-range-thumb {
    background: #00b3db;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #00b3db;
    height: 12px;
    width: 12px;
}

.content-load-more-range__track [data-content-range]:focus-visible {
    border-radius: 8px;
    outline: 2px solid #00b3db;
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .content-load-more-button:hover {
        opacity: .9;
        transform: translateY(-1px);
    }

    .content-load-more-button--secondary:hover {
        background: #eefbfe;
    }

    .content-load-more-range__arrow:not(.is-disabled):hover {
        background: #c2c6c7;
    }
}

.content-load-more-button:active {
    transform: translateY(0);
}

.content-load-more-range__arrow:not(.is-disabled):active {
    transform: scale(.96);
}

@media (max-width: 430px) {
    .content-load-more-button {
        width: min(100%, 320px);
    }

    .content-load-more-range__row {
        gap: 4px;
        grid-template-columns: 44px 28px minmax(72px, 1fr) 28px 44px;
    }
}

@media (min-width: 640px) {
    .content-load-more-range__row {
        grid-template-columns: 48px minmax(28px, auto) minmax(88px, 1fr) minmax(28px, auto) 48px;
    }

    .content-load-more-range__arrow {
        height: 48px;
        width: 48px;
    }

    .content-load-more-range__endpoint {
        min-height: 48px;
    }
}

@media (min-width: 1280px) {
    .content-load-more-range__row {
        grid-template-columns: 56px minmax(28px, auto) minmax(88px, 1fr) minmax(28px, auto) 56px;
    }

    .content-load-more-range__arrow {
        height: 56px;
        width: 56px;
    }

    .content-load-more-range__endpoint {
        min-height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-load-more-button,
    .content-load-more-range__arrow {
        transition: none;
    }

    .content-load-more-range__arrow:not(.is-disabled):active {
        transform: none;
    }
}

.afisha-slider-navigation {
    top: 128px;
}

.afisha-slider-navigation--main {
    top: 152px;
}

@media (min-width: 768px) {
    .afisha-slider-navigation,
    .afisha-slider-navigation--main {
        top: 24px;
    }
}

@media (min-width: 1024px) {
    .afisha-slider-navigation,
    .afisha-slider-navigation--main {
        top: 32px;
    }
}

@media (min-width: 1280px) {
    .afisha-slider-navigation,
    .afisha-slider-navigation--main {
        top: 40px;
    }
}

@media (min-width: 1920px) {
    .afisha-slider-navigation,
    .afisha-slider-navigation--main {
        top: 56px;
    }
}

.understar-slider-control {
    align-items: center;
    appearance: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 48px;
    justify-content: center;
    padding: 0;
    touch-action: manipulation;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
    width: 48px;
}

.understar-slider-control--overlay {
    backdrop-filter: blur(8px);
    background: rgba(73, 57, 46, .34);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 2px 14px rgba(43, 52, 58, .18);
    color: #fff;
}

.understar-slider-control--surface {
    background: rgba(52, 67, 71, .08);
    border: 1px solid rgba(52, 67, 71, .18);
    box-shadow: 0 2px 12px rgba(43, 52, 58, .08);
    color: #334143;
}

.understar-slider-control__icon {
    height: 28px;
    pointer-events: none;
    width: 28px;
}

.understar-slider-control:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.understar-slider-control--surface:focus-visible {
    outline-color: #334143;
}

.understar-slider-control.swiper-button-disabled,
.understar-slider-control[aria-disabled="true"] {
    cursor: default;
    opacity: .45;
}

.understar-slider-control:not(.swiper-button-disabled):not([aria-disabled="true"]):active {
    transform: translateY(1px) scale(.96);
}

.understar-slider-control--overlay:not(.swiper-button-disabled):not([aria-disabled="true"]):active {
    background: rgba(73, 57, 46, .62);
    border-color: #fff;
    box-shadow: 0 1px 8px rgba(43, 52, 58, .22);
}

.understar-slider-control--surface:not(.swiper-button-disabled):not([aria-disabled="true"]):active {
    background: rgba(52, 67, 71, .2);
    border-color: rgba(52, 67, 71, .38);
    box-shadow: 0 1px 7px rgba(43, 52, 58, .12);
}

@media (hover: hover) and (pointer: fine) {
    .understar-slider-control--overlay:not(.swiper-button-disabled):hover {
        background: rgba(73, 57, 46, .48);
        border-color: #fff;
        box-shadow: 0 4px 18px rgba(43, 52, 58, .24);
        transform: translateY(-1px);
    }

    .understar-slider-control--surface:not(.swiper-button-disabled):hover {
        background: rgba(52, 67, 71, .14);
        border-color: rgba(52, 67, 71, .28);
        box-shadow: 0 4px 16px rgba(43, 52, 58, .12);
        transform: translateY(-1px);
    }
}

@media (min-width: 1280px) {
    .understar-slider-control {
        height: 56px;
        width: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .understar-slider-control {
        transition: none;
    }

    .understar-slider-control:not(.swiper-button-disabled):not([aria-disabled="true"]):active {
        transform: none;
    }
}

[data-home-hero-sky-root="true"] {
    isolation: isolate;
    position: relative;
}

[data-home-hero-sky-root="true"] > :not(.understar-home-sky) {
    position: relative;
    z-index: 1;
}

.understar-home-sky {
    inset: -28px -12px 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.understar-home-sky__star {
    background: var(--sky-color);
    height: var(--sky-size);
    left: var(--sky-x);
    opacity: var(--sky-opacity-low);
    position: absolute;
    top: var(--sky-y);
    transform: scale(.84);
    transform-origin: center;
    width: var(--sky-size);
}

.understar-home-sky__star--accent {
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    filter: drop-shadow(0 0 5px var(--sky-color));
}

.understar-home-sky__star--glow,
.understar-home-sky__star--far {
    border-radius: 50%;
}

.understar-home-sky__star--glow {
    box-shadow: 0 0 7px var(--sky-color);
}

.understar-home-sky__meteor {
    --home-meteor-x: 48vw;
    --home-meteor-y: 6vh;
    background: linear-gradient(90deg, rgba(0, 179, 219, 0), rgba(235, 254, 255, .92) 72%, #18bfe6 100%);
    border-radius: 999px;
    filter: drop-shadow(0 0 8px rgba(0, 179, 219, .78));
    height: 2px;
    left: -11%;
    opacity: 0;
    position: absolute;
    top: 1%;
    transform: rotate(15deg);
    transform-origin: 100% 50%;
    width: clamp(96px, 9vw, 132px);
}

.understar-home-sky__meteor::after {
    background: #31c7ea;
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    content: "";
    filter: drop-shadow(0 0 9px rgba(0, 179, 219, .95));
    height: 18px;
    position: absolute;
    right: -8px;
    top: -8px;
    width: 18px;
}

@keyframes understar-home-sky-twinkle {
    0%, 100% {
        opacity: var(--sky-opacity-low);
        transform: scale(.84);
    }
    52% {
        opacity: var(--sky-opacity-high);
        transform: scale(1.08);
    }
}

@keyframes understar-home-sky-meteor {
    0%, 6%, 100% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(15deg);
    }
    7% {
        opacity: .95;
    }
    13% {
        opacity: .88;
    }
    15% {
        opacity: 0;
        transform: translate3d(var(--home-meteor-x), var(--home-meteor-y), 0) rotate(15deg);
    }
}

@keyframes understar-home-help-breathe {
    0%, 6%, 16%, 100% {
        color: #fff;
        filter: brightness(1);
        text-shadow: 0 0 0 rgba(0, 179, 219, 0);
        transform: scale(1);
    }

    9% {
        color: #b8f3ff;
        filter: brightness(1.04);
        text-shadow:
            0 0 8px rgba(0, 179, 219, .42),
            0 0 18px rgba(0, 179, 219, .18);
        transform: scale(1.012);
    }

    11% {
        color: #36d1ef;
        filter: brightness(1.08);
        text-shadow:
            0 0 10px rgba(0, 179, 219, .76),
            0 0 24px rgba(0, 179, 219, .32);
        transform: scale(1.02);
    }

    14% {
        color: #d5f8ff;
        filter: brightness(1.02);
        text-shadow: 0 0 8px rgba(0, 179, 219, .24);
        transform: scale(1.006);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .understar-home-sky__star {
        animation: understar-home-sky-twinkle var(--sky-duration) ease-in-out var(--sky-delay) infinite;
    }

    .understar-home-sky__meteor {
        animation: understar-home-sky-meteor 18s linear infinite;
    }
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    [data-header="true"]:not([data-scrolled="true"])
        [data-home-hero-help-link="true"] > span {
        animation: understar-home-help-breathe 18s linear infinite;
        display: inline-block;
        transform-origin: center;
        will-change: color, filter, text-shadow, transform;
    }
}

@media (max-width: 767px) {
    .understar-home-sky {
        inset: -50px 0 0;
    }

    .understar-home-sky__star {
        left: var(--sky-mobile-x);
        top: var(--sky-mobile-y);
    }

    .understar-home-sky__meteor {
        --home-meteor-x: 92vw;
        --home-meteor-y: 8vh;
        left: -38%;
        top: 4%;
        width: 88px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .understar-home-sky__star {
        animation: none;
        opacity: var(--sky-opacity-low);
        transform: none;
    }

    .understar-home-sky__meteor {
        display: none;
    }

    [data-home-hero-help-link="true"],
    [data-home-hero-help-link="true"] > span {
        animation: none !important;
        filter: none !important;
        text-shadow: none !important;
        transform: none !important;
    }
}

html[data-scroll-reveal-ready]
    [data-scroll-reveal][data-scroll-reveal-state="pending"] {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    will-change: opacity, transform;
}

html[data-scroll-reveal-ready]
    [data-scroll-reveal][data-scroll-reveal-state="visible"] {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 380ms cubic-bezier(.22, 1, .36, 1),
        transform 380ms cubic-bezier(.22, 1, .36, 1);
}

/* Child galleries keep a fixed frame without showing a normal-load spinner. */
html[data-understar-page-kind="child-detail"]
    [data-child-photo-frame-art-direction="true"]
    > .swiper-lazy-preloader,
html[data-understar-page-kind="child-detail"]
    [data-child-photo="true"]
    + .swiper-lazy-preloader {
    display: none !important;
}

html[data-scroll-reveal-restoring] [data-scroll-reveal] {
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    html[data-scroll-reveal-ready] [data-scroll-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media print {
    [data-scroll-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

[data-principles-section] {
    background-image:
        linear-gradient(180deg, rgba(45, 37, 31, .42) 0, rgba(45, 37, 31, .32) 120px, rgba(45, 37, 31, .06) 220px, rgba(45, 37, 31, 0) 280px),
        url("./images/principles-bg-r2-mobile.jpg");
    background-image:
        linear-gradient(180deg, rgba(45, 37, 31, .42) 0, rgba(45, 37, 31, .32) 120px, rgba(45, 37, 31, .06) 220px, rgba(45, 37, 31, 0) 280px),
        image-set(
            url("./images/principles-bg-r2-mobile.webp") type("image/webp"),
            url("./images/principles-bg-r2-mobile.jpg") type("image/jpeg")
        );
    background-position: 50% 50%;
}

@media (min-width: 768px) {
    [data-principles-section] {
        background-image:
            linear-gradient(180deg, rgba(45, 37, 31, .42) 0, rgba(45, 37, 31, .32) 120px, rgba(45, 37, 31, .06) 220px, rgba(45, 37, 31, 0) 280px),
            url("./images/principles-bg-r2.jpg");
        background-image:
            linear-gradient(180deg, rgba(45, 37, 31, .42) 0, rgba(45, 37, 31, .32) 120px, rgba(45, 37, 31, .06) 220px, rgba(45, 37, 31, 0) 280px),
            image-set(
                url("./images/principles-bg-r2.webp") type("image/webp"),
                url("./images/principles-bg-r2.jpg") type("image/jpeg")
            );
    }
}

[data-partners-showcase-background] {
    background-image:
        linear-gradient(135deg, rgba(70, 53, 41, .38), rgba(70, 53, 41, .14) 58%, rgba(49, 42, 38, .2)),
        url("./images/partners-showcase-bg-r2.jpg");
    background-image:
        linear-gradient(135deg, rgba(70, 53, 41, .38), rgba(70, 53, 41, .14) 58%, rgba(49, 42, 38, .2)),
        image-set(
            url("./images/partners-showcase-bg-r2.webp") type("image/webp"),
            url("./images/partners-showcase-bg-r2.jpg") type("image/jpeg")
        );
    background-position: 50% 50%;
}

[data-partner-logo-tile] {
    -webkit-backdrop-filter: blur(10.8px);
    backdrop-filter: blur(10.8px);
    background-color: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .24),
        0 7px 24px rgba(47, 39, 34, .1);
}

@media (max-width: 767px) {
    [data-partner-logo-tile] {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background-color: rgba(112, 94, 79, .92);
        background-image: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
    }
}

:root .partners-slider .partners-slider-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 0 0 1px rgba(28, 38, 40, .28);
    opacity: 1 !important;
}

:root .partners-slider .partners-slider-pagination .swiper-pagination-bullet-active {
    background: #00b3db !important;
    box-shadow: 0 0 0 1px rgba(28, 38, 40, .2);
}

@media (min-width: 1024px) {
    [data-partners-showcase-background] {
        background-image:
            linear-gradient(135deg, rgba(70, 53, 41, .38), rgba(70, 53, 41, .14) 58%, rgba(49, 42, 38, .2)),
            url("./images/partners-showcase-bg-r2.jpg");
        background-image:
            linear-gradient(135deg, rgba(70, 53, 41, .38), rgba(70, 53, 41, .14) 58%, rgba(49, 42, 38, .2)),
            image-set(
                url("./images/partners-showcase-bg-r2.webp") type("image/webp"),
                url("./images/partners-showcase-bg-r2.jpg") type("image/jpeg")
            );
    }
}

[data-about-history-timeline] {
    overflow: hidden;
}

[data-submission-schedule-slide] {
    align-self: stretch;
    height: auto !important;
}

[data-about-history-picture] {
    display: block;
    width: 100%;
}

[data-about-history-art] {
    height: auto;
}


@media (min-width: 1280px) {
    [data-about-history-picture] {
        margin-top: -40px;
    }

    [data-about-history-art] {
        padding-top: 0;
    }
}

@media (max-width: 639px) {
    [data-footer-contact="phone"],
    [data-footer-contact="email"] {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        align-items: center;
        column-gap: 10px;
        width: 188px;
        min-height: 44px;
        text-align: left;
    }
}

@media (min-width: 1920px) {
    [data-about-history-picture] {
        margin-top: -56px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html[data-scroll-reveal-ready]
        [data-scroll-reveal-key="about-history-timeline"] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    html[data-scroll-reveal-ready]
        [data-scroll-reveal-key="about-history-timeline"][data-scroll-reveal-state="pending"]
        [data-about-history-art] {
        clip-path: inset(0 0 100% 0);
        opacity: .35;
        transform: translateY(8px) scale(.985);
        filter: saturate(.92);
        will-change: clip-path, opacity, transform, filter;
    }

    html[data-scroll-reveal-ready]
        [data-scroll-reveal-key="about-history-timeline"][data-scroll-reveal-state="visible"]
        [data-about-history-art] {
        clip-path: inset(0);
        opacity: 1;
        transform: none;
        filter: saturate(1);
        transition:
            clip-path 850ms cubic-bezier(.22, .61, .36, 1) 0ms,
            opacity 420ms ease-out 0ms,
            transform 850ms cubic-bezier(.22, .61, .36, 1) 0ms,
            filter 900ms ease-out 0ms;
    }

}

@media (min-width: 640px) and (prefers-reduced-motion: no-preference) {
    html[data-scroll-reveal-ready]
        [data-scroll-reveal-key="about-history-timeline"][data-scroll-reveal-state="pending"]
        [data-about-history-art] {
        clip-path: inset(0 100% 0 0);
        transform: translateX(10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-about-history-art] {
        clip-path: inset(0) !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

}
.clinics-map-reference-frame {
    position: relative;
    display: block;
    flex: none;
    width: calc(100% + 32px);
    height: auto;
    min-height: 0;
    margin: 24px -16px 0;
    overflow: hidden;
}

[data-clinics-map-panel-version="r10"] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: hsla(34, 28%, 95%, 1);
}

[data-clinics-map-panel-version="r10"]::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.27;
    background: linear-gradient(-90deg, #75685d 2.52%, rgba(160, 145, 128, 0) 100%);
}

[data-clinics-map-panel-version="r10"] > * {
    position: relative;
    z-index: 1;
}

.clinics-map-reference-image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin-top: 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .clinics-map-reference-frame {
        width: calc(100% + 64px);
        height: auto;
        margin-top: 24px;
        margin-right: -32px;
        margin-left: -32px;
    }
}

@media (min-width: 1024px) {
    .clinics-map-reference-frame {
        align-self: stretch;
        display: flex;
        width: calc(50% + 8px);
        height: auto;
        min-height: 0;
        align-items: center;
        margin: -40px -40px 0 32px;
        overflow: hidden;
    }

    .clinics-map-reference-image {
        width: 100%;
        height: auto;
        margin-top: 0;
    }
}

@media (min-width: 1920px) {
    .clinics-map-reference-frame {
        width: calc(50% + 24px);
        margin: -56px -56px -56px 32px;
    }
}

.clinics-map-reference-frame.clinics-map-vector-frame {
    width: 100%;
    height: auto;
    margin: 24px 0 0;
    overflow: visible;
}

.clinics-map-reference-image.clinics-map-vector-image {
    width: 100%;
    height: auto;
    margin-top: 0;
}

[data-afisha-empty-article] {
    height: 456px;
}

[data-afisha-empty-overlay] {
    background:
        linear-gradient(180deg, rgba(58, 48, 40, 0.38) 0%, rgba(58, 48, 40, 0.08) 55%, rgba(58, 48, 40, 0.24) 100%);
}

[data-afisha-empty-copy] {
    max-width: 900px;
}

[data-afisha-empty-text] {
    white-space: pre-line;
}

[data-afisha-empty-cta]:focus-visible {
    outline: 2px solid #00b3db;
    outline-offset: 3px;
}

@media (min-width: 768px) {
    [data-afisha-empty-article] {
        height: 460px;
    }
}

@media (min-width: 1024px) {
    [data-afisha-empty-article] {
        height: 668px;
    }
}

@media (min-width: 1920px) {
    [data-afisha-empty-article] {
        height: 840px;
    }
}

@media (min-width: 640px) and (max-width: 767px) {
    .clinics-map-reference-frame.clinics-map-vector-frame {
        width: 100%;
        height: auto;
        margin: 24px 0 0;
    }
}

@media (min-width: 1024px) {
    .clinics-map-reference-frame.clinics-map-vector-frame {
        width: calc(50% - 32px);
        margin: 0 0 0 32px;
    }
}

[data-contact-social-link="true"] {
    transition: none;
}

[data-contact-social-icon="true"] {
    display: block;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    background-color: #334143;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    transition: background-color 160ms ease;
}

[data-contact-social-platform="vk"] {
    mask-image: url("images/vk.svg");
    -webkit-mask-image: url("images/vk.svg");
}

[data-contact-social-platform="odnoklassniki"] {
    mask-image: url("images/odnoklassniki.svg");
    -webkit-mask-image: url("images/odnoklassniki.svg");
}

[data-contact-social-platform="telegram"] {
    mask-image: url("images/telegram.svg");
    -webkit-mask-image: url("images/telegram.svg");
}

[data-contact-social-platform="rutube"] {
    width: 117px;
    height: 20px;
    mask-image: url("images/rutube.svg");
    -webkit-mask-image: url("images/rutube.svg");
}

@media (min-width: 1024px) {
    [data-contact-social-platform="vk"],
    [data-contact-social-platform="odnoklassniki"],
    [data-contact-social-platform="telegram"] {
        width: 38px;
        height: 38px;
    }

    [data-contact-social-platform="rutube"] {
        width: 105px;
        height: 18px;
    }
}

[data-contact-social-link="true"]:focus-visible {
    outline: 2px solid #00b3db;
    outline-offset: 3px;
}

[data-contact-social-link="true"]:focus-visible [data-contact-social-icon="true"] {
    background-color: #00b3db;
}

@media (hover: hover) and (pointer: fine) {
    [data-contact-social-link="true"]:hover [data-contact-social-icon="true"] {
        background-color: #00b3db;
    }
}

@media (min-width: 1024px) and (max-width: 1919.98px) {
    [data-children-eurasia-desktop-layer] {
        top: 0;
        left: 50%;
        right: auto;
        width: 50%;
        max-width: none;
        height: auto;
    }

    [data-children-eurasia-desktop-overlay] {
        aspect-ratio: 685 / 349;
    }
}

@media (min-width: 1920px) {
    [data-children-eurasia-desktop-overlay] {
        aspect-ratio: 685 / 349;
    }
}

@media (min-width: 1920px) and (max-width: 2199.98px) {
    [data-children-eurasia-desktop-layer] {
        top: 0;
        left: auto;
        right: 0;
        width: min(60%, 900px);
        max-width: none;
        height: auto;
    }
}

@media (min-width: 2200px) {
    [data-children-eurasia-desktop-layer] {
        top: 0;
        left: auto;
        right: 0;
        width: 800px;
        max-width: none;
        height: auto;
    }
}

@media (max-width: 767.98px) {
    [data-children-eurasia-mobile-frame] {
        margin-bottom: 80px;
    }
}

[data-children-eurasia-label] {
    transform: translate(20%, 12%) scale(0.92);
    transform-origin: center;
}

@media (max-width: 767.98px) {
    [data-children-eurasia-mobile-frame] [data-children-eurasia-label] {
        transform: translateY(-130%) scale(0.92);
    }
}

@media (max-width: 359.98px) {
    [data-children-eurasia-mobile-frame] [data-children-eurasia-label] {
        transform: translateY(-130%) scale(0.86);
    }
}

/* Child story embeds: preserve the authored ratio, constrain to the story
   column, and never let an iframe widen the page on narrow screens. */
.child-story-content {
    min-width: 0;
    max-width: 100%;
}

.child-story-content iframe {
    display: block !important;
    width: 100% !important;
    max-width: 720px !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border: 0 !important;
}

.child-story-content iframe[width="500"],
.child-story-content iframe[style*="500px"] {
    max-width: 500px !important;
    aspect-ratio: 500 / 281 !important;
}

.child-story-content iframe[width="640"],
.child-story-content iframe[style*="640px"] {
    max-width: 640px !important;
    aspect-ratio: 640 / 340 !important;
}

.child-story-content iframe[width="720"],
.child-story-content iframe[style*="720px"] {
    max-width: 720px !important;
    aspect-ratio: 720 / 405 !important;
}

/* Photo contrast contract:
   - photographs without overlaid copy stay source-faithful;
   - white copy gets a narrow neutral protection zone, never a brown wash;
   - gallery dots carry their own local contrast on both bright and dark images. */
:root body .swiper-pagination .swiper-pagination-bullet {
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
    transform-origin: center;
}

:root :is(
    .results-slider .swiper-pagination,
    .private-gratitude-pagination,
    .rehab-index-pagination
) .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    opacity: .55;
}

.understar-photo-text-protection {
    position: relative;
    overflow: hidden;
}

.understar-about-hero-focus-r1 {
    background-image: url("./images/fce9835bda231e3b--about-hero-focus-r1.jpg") !important;
    background-image: image-set(
        url("./images/550325c8e6e693ed--about-hero-focus-r1.webp") type("image/webp"),
        url("./images/fce9835bda231e3b--about-hero-focus-r1.jpg") type("image/jpeg")
    ) !important;
    background-position: center top !important;
    background-size: cover !important;
}

.understar-home-about-focus-r1 {
    background-image: url("./images/home/0f3a3ad91dab52e4--home-about-laughing-boy-r1.jpg") !important;
    background-image: image-set(
        url("./images/home/fd2c049d8c159920--home-about-laughing-boy-r1.webp") type("image/webp"),
        url("./images/home/0f3a3ad91dab52e4--home-about-laughing-boy-r1.jpg") type("image/jpeg")
    ) !important;
    background-position: center top !important;
}

[data-about-mission-media="r1"] {
    background-image: url("./images/reading-girl-xs.png") !important;
    background-image: image-set(
        url("./images/reading-girl-xs.webp") type("image/webp"),
        url("./images/reading-girl-xs.png") type("image/png")
    ) !important;
}

@media (min-width: 640px) {
    [data-about-mission-media="r1"] {
        background-image: url("./images/reading-girl-sm.png") !important;
        background-image: image-set(
            url("./images/reading-girl-sm.webp") type("image/webp"),
            url("./images/reading-girl-sm.png") type("image/png")
        ) !important;
        background-position: 25% center !important;
    }
}

@media (min-width: 768px) {
    [data-about-mission-media="r1"] {
        background-image: url("./images/reading-girl-md.png") !important;
        background-image: image-set(
            url("./images/reading-girl-md.webp") type("image/webp"),
            url("./images/reading-girl-md.png") type("image/png")
        ) !important;
    }
}

@media (min-width: 1024px) {
    [data-about-mission-media="r1"] {
        background-image: url("./images/reading-girl-lg.png") !important;
        background-image: image-set(
            url("./images/reading-girl-lg.webp") type("image/webp"),
            url("./images/reading-girl-lg.png") type("image/png")
        ) !important;
    }
}

@media (min-width: 1280px) {
    [data-about-mission-media="r1"] {
        background-image: url("./images/reading-girl-xl.png") !important;
        background-image: image-set(
            url("./images/reading-girl-xl.webp") type("image/webp"),
            url("./images/reading-girl-xl.png") type("image/png")
        ) !important;
    }
}

.understar-photo-text-protection::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        0deg,
        rgba(28, 34, 37, .38) 0%,
        rgba(28, 34, 37, .14) 14%,
        rgba(28, 34, 37, 0) 32%
    );
}

.understar-photo-text-protection__content {
    position: relative;
    z-index: 1;
}

:root :is(
    .news-gallery-pagination,
    .children-gallery-pagination,
    .activity-header-pagination,
    .rehab-culture-pagination,
    .children-head-pagination,
    .help-head-pagination,
    .get-help-slider-pagination,
    .history-slider .swiper-pagination
) .swiper-pagination-bullet {
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 0 0 1px rgba(28, 38, 40, .28);
    opacity: 1 !important;
}

:root :is(
    .news-gallery-pagination,
    .children-gallery-pagination,
    .activity-header-pagination,
    .rehab-culture-pagination,
    .children-head-pagination,
    .help-head-pagination,
    .get-help-slider-pagination,
    .history-slider .swiper-pagination
) .swiper-pagination-bullet-active {
    background: #00b3db !important;
    box-shadow: 0 0 0 1px rgba(28, 38, 40, .2);
}

/* One site-wide current-slide cue. Inactive fills, sizing, dynamic-bullet
   transforms and pagination geometry remain owned by each slider context. */
:root body .swiper-pagination
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #00b3db !important;
    background-color: #00b3db !important;
    background-image: none !important;
}

/* Footer trust and legal row: readable neutral copy, one brand-cyan cue. */
[data-footer-trust-legal="true"] {
    display: flex;
    width: 100%;
    max-width: 1120px;
    flex-direction: column;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(50, 64, 67, .14);
    color: #5f6a6c;
    font-size: 14px;
    line-height: 1.5;
}

[data-footer-trust-row="true"] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 24px;
    text-align: center;
}

[data-footer-trust-row="true"] > span {
    white-space: nowrap;
}

[data-footer-trust-row="true"] strong {
    color: #324043;
    font-weight: 500;
}

[data-footer-sonko-link="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: inherit;
    font-weight: 500;
    text-decoration: none;
}

[data-footer-sonko-label="true"],
[data-footer-trust-row="true"] button,
[data-footer-legal-grid="true"] a,
[data-footer-legal-grid="true"] button {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

[data-footer-sonko-arrow="true"] {
    display: block;
    width: 1em;
    height: 1em;
    flex: none;
    color: #00b3db;
    font-weight: 500;
    text-decoration: none;
}

[data-footer-legal-grid="true"] {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}

[data-footer-legal-grid="true"] > * {
    min-width: 0;
    color: inherit;
}

[data-footer-trust-row="true"] button,
[data-footer-legal-grid="true"] button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

[data-footer-trust-row="true"] button {
    white-space: nowrap;
}

[data-footer-legal-grid="true"] > :first-child {
    text-align: left;
}

[data-footer-legal-grid="true"] > :nth-child(2),
[data-footer-legal-grid="true"] > :nth-child(3) {
    text-align: center;
}

[data-footer-legal-grid="true"] > :last-child {
    text-align: right;
}

[data-footer-trust-legal="true"] a:focus-visible,
[data-footer-trust-legal="true"] button:focus-visible {
    border-radius: 4px;
    outline: 2px solid #324043;
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    [data-footer-trust-legal="true"] a:hover,
    [data-footer-trust-legal="true"] a:hover [data-footer-sonko-label="true"],
    [data-footer-trust-legal="true"] button:hover {
        text-decoration-thickness: 2px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    [data-footer-legal-grid="true"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 24px;
    }

    [data-footer-legal-grid="true"] > :first-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    [data-footer-legal-grid="true"] > :nth-child(2) {
        text-align: left;
    }

    [data-footer-legal-grid="true"] > :nth-child(3) {
        text-align: right;
    }
}

@media (max-width: 767px) {
    [data-footer-trust-row="true"] {
        flex-direction: column;
        gap: 4px;
    }

    [data-footer-sonko-link="true"],
    [data-footer-privacy-settings="true"] {
        min-height: 44px;
    }

    [data-footer-legal-grid="true"] {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    [data-footer-legal-grid="true"] > :first-child,
    [data-footer-legal-grid="true"] > :nth-child(2),
    [data-footer-legal-grid="true"] > :nth-child(3),
    [data-footer-legal-grid="true"] > :last-child {
        text-align: center;
    }
}

@media (min-width: 1920px) {
    [data-footer-trust-legal="true"] {
        max-width: 1280px;
        font-size: 18px;
        line-height: 26px;
    }
}

/* Use the existing menu state; hiding the banner does not record consent. */
@media not all and (min-width: 1024px) {
    [data-header][data-mobile-open="true"] ~ [data-privacy-banner="true"] {
        display: none !important;
    }
}
/* Consent UI: compact, reversible and independent from payment forms. */
/* Reuse the site's existing overlay state; do not change consent or scroll locking. */
body[data-scroll-locked-by-header-menu] [data-privacy-banner="true"],
body[data-privacy-settings-open="true"] [data-privacy-banner="true"],
body[data-mobile-donation-route="true"] [data-privacy-banner="true"] {
    display: none !important;
}

[data-privacy-banner="true"][hidden],
[data-privacy-settings="true"][hidden] {
    display: none !important;
}

[data-privacy-banner="true"] {
    position: fixed;
    z-index: 190;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    left: max(16px, env(safe-area-inset-left, 0px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 4px 16px;
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
    padding: 16px 18px;
    border: 1px solid rgba(50, 64, 67, .16);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(50, 64, 67, .16);
    color: #324043;
    text-align: left;
}

[data-privacy-banner-copy="true"] {
    grid-column: 1;
    grid-row: 1;
    max-width: 760px;
}

[data-privacy-dismiss-banner="true"] {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    place-items: center;
    align-self: start;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

[data-privacy-dismiss-banner="true"]:focus-visible,
[data-privacy-banner-links="true"] button:focus-visible {
    outline: 2px solid #324043;
    outline-offset: 2px;
}

[data-privacy-banner-links="true"] {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 20px;
    font-size: 14px;
}

[data-privacy-banner-links="true"] a,
[data-privacy-banner-links="true"] button {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

[data-privacy-banner-links="true"] button {
    padding: 0;
    border: 0;
    background: transparent !important;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

[data-privacy-banner="true"] h2,
[data-privacy-settings-panel="true"] h2,
[data-privacy-settings-panel="true"] h3 {
    margin: 0;
    color: #324043;
    font-weight: 500;
}

[data-privacy-banner="true"] h2 {
    font-size: 20px;
    line-height: 1.25;
}

[data-privacy-banner="true"] p {
    margin: 6px 0 0;
    color: #5f6a6c;
    font-size: 14px;
    line-height: 1.45;
}

[data-privacy-banner="true"] a,
[data-privacy-settings-panel="true"] a {
    color: #324043;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

[data-privacy-banner-actions="true"] {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    align-content: center;
    gap: 8px;
    min-width: 340px;
}

[data-privacy-banner-actions="true"] button,
[data-privacy-settings-actions="true"] button {
    border: 1px solid #324043;
    border-radius: 10px;
    background: #fff;
    color: #324043;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    line-height: 1.25;
}

[data-privacy-banner-actions="true"] button {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
}

[data-privacy-settings-actions="true"] button {
    min-height: 46px;
    padding: 11px 18px;
    font-size: 15px;
}

[data-privacy-accept-all="true"],
[data-privacy-save="true"] {
    border-color: #ffe564 !important;
    background: #ffe564 !important;
}

[data-privacy-open-settings="true"] {
    border-color: transparent !important;
    background: #f5f2ed !important;
}

[data-privacy-banner="true"] button:focus-visible,
[data-privacy-banner="true"] a:focus-visible,
[data-privacy-settings-panel="true"] button:focus-visible,
[data-privacy-settings-panel="true"] a:focus-visible,
[data-privacy-settings-panel="true"] input:focus-visible + span {
    outline: 2px solid #00b3db;
    outline-offset: 3px;
}

[data-privacy-settings="true"] {
    position: fixed;
    z-index: 220;
    inset: 0;
    display: grid;
    place-items: center;
    padding:
        max(16px, env(safe-area-inset-top, 0px))
        max(16px, env(safe-area-inset-right, 0px))
        max(16px, env(safe-area-inset-bottom, 0px))
        max(16px, env(safe-area-inset-left, 0px));
}

[data-privacy-settings-backdrop="true"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(29, 38, 40, .44);
    cursor: default;
}

[data-privacy-settings-panel="true"] {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    max-height: min(700px, calc(100dvh - 32px));
    overflow-y: auto;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(29, 38, 40, .22);
    color: #324043;
    text-align: left;
}

body[data-privacy-settings-open="true"] {
    overflow: hidden;
}

[data-privacy-settings-header="true"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: start;
    gap: 12px;
}

[data-privacy-settings-close="true"] {
    position: static;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f5f2ed;
    color: #324043;
    cursor: pointer;
}

[data-privacy-settings-close="true"] svg {
    width: 22px;
    height: 22px;
}

[data-privacy-settings-panel="true"] h2 {
    min-width: 0;
    padding-right: 0;
    font-size: 24px;
    line-height: 1.2;
}

[data-privacy-settings-lead="true"] {
    margin: 6px 0 14px;
    color: #5f6a6c;
    font-size: 14px;
    line-height: 1.45;
}

[data-privacy-option="true"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(50, 64, 67, .13);
}

[data-privacy-option="true"] h3,
[data-privacy-option-title="true"] {
    display: block;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.3;
}

label[data-privacy-option="true"] {
    cursor: pointer;
    touch-action: manipulation;
}

[data-privacy-option="true"] p,
[data-privacy-option-description="true"] {
    display: block;
    margin: 4px 0 0;
    color: #687375;
    font-size: 14px;
    line-height: 1.45;
}

[data-privacy-toggle="true"] {
    position: relative;
    display: inline-flex;
    min-width: 54px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

[data-privacy-toggle="true"] input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

[data-privacy-toggle="true"] > span[aria-hidden="true"] {
    position: relative;
    display: block;
    width: 50px;
    height: 28px;
    border: 1px solid #879193;
    border-radius: 999px;
    background: #e8e7e4;
    transition: background-color .16s ease, border-color .16s ease;
}

[data-privacy-toggle="true"] > span[aria-hidden="true"]::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(50, 64, 67, .24);
    content: "";
    transition: transform .16s ease;
}

[data-privacy-toggle="true"] input:checked + span {
    border-color: #00a9cf;
    background: #00b3db;
}

[data-privacy-toggle="true"] input:checked + span::after {
    transform: translateX(22px);
}

[data-privacy-toggle="true"] input:disabled + span {
    border-color: #9bcfd9;
    background: #d8f1f5;
}

[data-privacy-toggle-label="true"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

[data-privacy-settings-actions="true"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

/* Desktop notice: keep controls compact and links beside the copy. */
@media (min-width: 981px) {
    [data-privacy-banner="true"] {
        width: min(960px, calc(100% - 32px));
        gap: 0 16px;
        padding: 12px 16px;
    }

    [data-privacy-banner="true"] h2 {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    [data-privacy-banner-copy="true"] p {
        margin: 0;
    }

    [data-privacy-banner-actions="true"] {
        grid-row: 1 / span 2;
        grid-template-columns: repeat(2, max-content);
        align-self: center;
        min-width: 0;
    }

    [data-privacy-banner-actions="true"] button {
        padding-inline: 12px;
        white-space: nowrap;
    }

    [data-privacy-banner-links="true"] {
        grid-column: 1;
        grid-row: 2;
    }

    [data-privacy-dismiss-banner="true"] {
        grid-row: 1 / span 2;
    }
}

@media (max-width: 980px) {
    [data-privacy-banner="true"] {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 4px 8px;
    }

    [data-privacy-banner-copy="true"] {
        display: contents;
    }

    [data-privacy-banner-copy="true"] h2 {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }

    [data-privacy-banner-copy="true"] p {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0 0 4px;
    }

    [data-privacy-dismiss-banner="true"] {
        grid-column: 2;
    }

    [data-privacy-banner-actions="true"] {
        grid-column: 1 / -1;
        grid-row: 3;
        min-width: 0;
    }

    [data-privacy-banner-links="true"] {
        grid-row: 4;
        justify-content: space-between;
    }

    [data-privacy-banner-links="true"] a,
    [data-privacy-banner-links="true"] button {
        min-height: 44px;
    }
}

@media (max-width: 520px) {
    [data-privacy-banner="true"] {
        right: max(10px, env(safe-area-inset-right, 0px));
        bottom: max(10px, env(safe-area-inset-bottom, 0px));
        left: max(10px, env(safe-area-inset-left, 0px));
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px - env(safe-area-inset-top, 0px));
        overflow-y: auto;
        padding: 14px;
        border-radius: 14px;
    }

    [data-privacy-banner="true"] h2 {
        font-size: 18px;
    }

    [data-privacy-banner-actions="true"],
    [data-privacy-settings-actions="true"] {
        grid-template-columns: minmax(0, 1fr);
    }

    [data-privacy-banner-actions="true"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    [data-privacy-open-settings="true"] {
        grid-column: 1 / -1;
    }

    [data-privacy-settings-panel="true"] {
        padding: 14px;
        border-radius: 14px;
    }

    [data-privacy-settings-panel="true"] h2 {
        font-size: 22px;
    }

    [data-privacy-settings-lead="true"] {
        margin-bottom: 8px;
    }

    [data-privacy-option="true"] {
        gap: 12px;
        padding: 12px 0;
    }

    [data-privacy-settings-actions="true"] {
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-privacy-toggle="true"] > span[aria-hidden="true"],
    [data-privacy-toggle="true"] > span[aria-hidden="true"]::after {
        transition: none;
    }
}

.understar-about-history-team-image {
    object-fit: cover;
    object-position: center bottom;
}

[data-about-history-media="star-girl-r1"] {
    position: relative;
    isolation: isolate;
    background: #171411;
}

.understar-about-history-media-picture {
    position: relative;
    z-index: 2;
}

.understar-about-history-star-backdrop {
    display: none;
}

@media (min-width: 2048px) {
    [data-about-history-media="star-girl-r1"] .understar-about-history-star-backdrop {
        position: absolute;
        z-index: 0;
        inset: -36px;
        display: block;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        filter: blur(24px) saturate(0.9);
        opacity: 0.8;
        transform: scale(1.06);
    }

    [data-about-history-media="star-girl-r1"]::after {
        position: absolute;
        z-index: 1;
        inset: 0;
        background: linear-gradient(90deg, rgba(12, 10, 8, 0.34), rgba(23, 20, 17, 0.08) 34%, rgba(23, 20, 17, 0.08) 66%, rgba(12, 10, 8, 0.34));
        content: "";
        pointer-events: none;
    }

    [data-about-history-media="star-girl-r1"] [data-about-history-media-image] {
        width: auto;
        max-width: none;
        object-fit: contain;
        object-position: center center;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }

    [data-about-history-media="star-girl-r1"] .understar-about-history-media-picture {
        display: flex;
        justify-content: center;
    }
}

.understar-about-history-controls {
    width: 100%;
    height: 626px;
    pointer-events: none;
}

.understar-about-history-controls .understar-slider-control,
.understar-about-history-pagination {
    pointer-events: auto;
}

:root .history-slider .understar-about-history-pagination {
    bottom: 32px !important;
    top: auto !important;
}

@media (max-width: 2047px) {
    .understar-about-history-frame,
    .understar-about-history-controls {
        height: auto !important;
        aspect-ratio: 5 / 4;
    }
}

@media (min-width: 1024px) {
    :root .history-slider .understar-about-history-pagination {
        bottom: 40px !important;
    }
}

@media (min-width: 1920px) {
    :root .history-slider .understar-about-history-pagination {
        bottom: 56px !important;
    }
}

/* Map enhancements keep their own base artwork visible until the interactive
   layer is ready. Contact-map loading remains separately scoped below. */
.understar-yandex-map {
    position: relative;
    isolation: isolate;
}

.understar-yandex-map--contacts {
    background: #eef3f4;
}

.understar-yandex-map__canvas {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    background: #eef3f4;
    opacity: 0;
    pointer-events: none;
    touch-action: pan-y;
    transition: opacity 240ms ease;
}

.understar-yandex-map__canvas * {
    touch-action: pan-y;
}

@media (hover: none), (pointer: coarse) {
    .understar-yandex-map__canvas,
    .understar-yandex-map__canvas * {
        touch-action: none;
    }
}

.understar-yandex-map [data-yandex-map-fallback] {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 240ms ease;
}

@keyframes understar-yandex-map-fallback-safety {
    to {
        opacity: 1;
        pointer-events: auto;
    }
}

.js .understar-yandex-map[data-yandex-map="contacts"][data-yandex-map-state="waiting"] [data-yandex-map-fallback] {
    opacity: 0;
    pointer-events: none;
}

.js .understar-yandex-map[data-yandex-map="contacts"][data-yandex-map-state="loading"] [data-yandex-map-fallback] {
    opacity: 0;
    pointer-events: none;
    animation: understar-yandex-map-fallback-safety 1ms linear 6000ms forwards;
}

.understar-yandex-map__fallback-link {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    overflow: hidden;
    background: #f8f6f4;
}

.understar-yandex-map__fallback-picture,
.understar-yandex-map__fallback-link img {
    display: block;
    width: 100%;
    height: 100%;
}

.understar-yandex-map__fallback-link img {
    object-fit: contain;
    object-position: center;
}

@media (min-width: 1280px) {
    .understar-yandex-map--contacts .understar-yandex-map__fallback-link img {
        object-fit: cover;
    }
}

@media (max-width: 1279px) {
    .understar-yandex-map--contacts .understar-yandex-map__fallback-link img {
        object-fit: cover;
        object-position: center;
    }
}

.understar-yandex-map__scroll-hint {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 10px 14px;
    border: 1px solid rgba(50, 64, 67, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(39, 50, 52, .16);
    color: #324043;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(-50% + 6px));
    transition: opacity 160ms ease, transform 160ms ease;
}

.understar-yandex-map.is-wheel-hint-visible .understar-yandex-map__scroll-hint {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.understar-yandex-map.is-ready .understar-yandex-map__canvas {
    opacity: 1;
    pointer-events: auto;
}

.understar-yandex-map.is-ready [data-yandex-map-fallback] {
    opacity: 0;
    pointer-events: none;
}

.understar-yandex-map[data-yandex-map-state="fallback"] [data-yandex-map-fallback],
.no-js .understar-yandex-map [data-yandex-map-fallback] {
    animation: none;
    opacity: 1;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .understar-yandex-map__scroll-hint {
        transition: none;
    }
}

.understar-yandex-map--clinics > picture {
    display: block;
    width: 100%;
    flex: none;
}

.understar-yandex-map--clinics.is-svg-ready .understar-yandex-map__canvas {
    display: none;
}

.understar-svg-map {
    position: absolute;
    z-index: 3;
    inset: 0;
    overflow: hidden;
    overflow: clip;
    background: transparent;
    isolation: isolate;
}

.understar-svg-map__stage {
    position: absolute;
    inset: 0;
    transform-origin: 36% 30%;
    transition: transform 360ms cubic-bezier(.22, .72, .24, 1);
    will-change: transform;
}

.understar-svg-map__stage.is-zoomed {
    transform: scale(1.62);
}

.understar-svg-map__art,
.understar-svg-map__art svg {
    display: block;
    width: 100%;
    height: 100%;
}

.understar-svg-map__markers {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
}

.understar-svg-map__marker {
    --marker-delay: 0ms;
    position: absolute;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #00b3db;
    cursor: pointer;
    filter: drop-shadow(0 4px 8px rgba(0, 116, 151, .16));
    pointer-events: auto;
    transform: translate(-50%, -50%);
    transition: color 200ms ease, filter 200ms ease, transform 240ms cubic-bezier(.22, .8, .2, 1);
}

.understar-svg-map__marker-visual {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    animation: understar-svg-marker-in 420ms cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: var(--marker-delay);
}

.understar-svg-map__marker svg {
    width: 28px;
    height: 28px;
    overflow: visible;
}

.understar-svg-map__marker:hover,
.understar-svg-map__marker:focus-visible,
.understar-svg-map__marker.is-active {
    color: #58b6dc;
    filter: drop-shadow(0 6px 12px rgba(0, 116, 151, .24));
    outline: none;
    transform: translate(-50%, -50%) scale(1.3);
}

.understar-svg-map__marker:focus-visible {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #00b3db;
}

.understar-svg-map__marker--cluster {
    width: 46px;
    height: 46px;
}

.understar-svg-map__marker--cluster svg {
    width: 34px;
    height: 34px;
}

.understar-svg-map__count {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font: 700 12px/1 Geometria, Arial, sans-serif;
    pointer-events: none;
}

.understar-svg-map__detail-marker {
    display: none;
}

.understar-svg-map__stage.is-zoomed .understar-svg-map__overview-cluster {
    display: none;
}

.understar-svg-map__stage.is-zoomed .understar-svg-map__detail-marker {
    display: grid;
}

.understar-svg-map__stage.is-zoomed .understar-svg-map__marker {
    transform: translate(-50%, -50%) scale(.62);
}

.understar-svg-map__stage.is-zoomed .understar-svg-map__marker:hover,
.understar-svg-map__stage.is-zoomed .understar-svg-map__marker:focus-visible,
.understar-svg-map__stage.is-zoomed .understar-svg-map__marker.is-active {
    transform: translate(-50%, -50%) scale(.84);
}

.understar-svg-map__controls {
    position: absolute;
    z-index: 6;
    top: 12px;
    right: 12px;
    display: grid;
    gap: 8px;
}

.understar-svg-map__control {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(50, 64, 67, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 6px 15px rgba(39, 50, 52, .12);
    color: #324043;
    cursor: pointer;
    font: 400 27px/1 Geometria, Arial, sans-serif;
    touch-action: manipulation;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.understar-svg-map__control--reset {
    font-size: 20px;
}

.understar-svg-map__control:hover {
    background: #fff;
    color: #00b3db;
}

.understar-svg-map__control:active {
    transform: scale(.95);
}

.understar-svg-map__control:focus-visible {
    outline: 2px solid #324043;
    outline-offset: 2px;
}

.understar-svg-map__selection {
    --selection-enter-y: 6px;
    position: absolute;
    z-index: 5;
    bottom: 14px;
    left: 14px;
    display: grid;
    max-width: min(310px, calc(100% - 84px));
    padding: 10px 12px;
    gap: 3px;
    border: 1px solid rgba(50, 64, 67, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 20px rgba(39, 50, 52, .12);
    color: #324043;
    font-size: 13px;
    line-height: 1.35;
    animation: understar-svg-selection-in 220ms cubic-bezier(.22, .72, .24, 1) both;
}

.understar-svg-map__selection[hidden] {
    display: none;
}

.understar-svg-map__selection strong {
    align-items: center;
    display: inline-flex;
    font-weight: 500;
    min-width: 0;
}

.understar-svg-map__selection span {
    color: rgba(50, 64, 67, .68);
}

.understar-svg-map__selection-link {
    display: grid;
    min-width: 0;
    gap: 3px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.understar-svg-map__selection-link.is-linked {
    cursor: pointer;
}

.understar-svg-map__selection-external-icon {
    display: block;
    width: 1em;
    height: 1em;
    flex: none;
    margin-left: 5px;
    color: #00b3db;
}

.understar-svg-map__selection-external-icon[hidden] {
    display: none;
}

.understar-svg-map__selection-link.is-linked:hover strong,
.understar-svg-map__selection-link.is-linked:focus-visible strong {
    color: #00b3db;
}

.understar-svg-map__selection-link.is-linked:hover span,
.understar-svg-map__selection-link.is-linked:focus-visible span {
    color: rgba(50, 64, 67, .86);
}

.understar-svg-map__selection-link:focus-visible {
    outline: 2px solid #00b3db;
    outline-offset: 3px;
}

.understar-svg-map__selection-choices {
    display: grid;
    gap: 5px;
    margin-top: 4px;
}

.understar-svg-map__selection-choices:empty {
    display: none;
}

.understar-svg-map__selection-choice {
    padding: 7px 9px;
    border: 1px solid rgba(0, 179, 219, .24);
    border-radius: 8px;
    background: #fff;
    color: #324043;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.understar-svg-map__selection-choice:hover,
.understar-svg-map__selection-choice:focus-visible {
    border-color: #00b3db;
    outline: none;
}

[data-clinic-card].is-svg-map-active {
    box-shadow: inset 0 0 0 2px #00b3db;
}

@keyframes understar-svg-marker-in {
    from {
        opacity: 0;
        transform: scale(.72);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes understar-svg-selection-in {
    from {
        opacity: 0;
        transform: translateY(var(--selection-enter-y)) scale(.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 1024px) {
    .understar-svg-map__selection.is-anchored {
        width: max-content;
        max-width: min(310px, calc(100% - 28px));
        bottom: auto;
    }

    .understar-svg-map__selection.is-anchored::after {
        position: absolute;
        bottom: -5px;
        left: var(--selection-caret-x, 50%);
        width: 10px;
        height: 10px;
        border-right: 1px solid rgba(50, 64, 67, .08);
        border-bottom: 1px solid rgba(50, 64, 67, .08);
        background: rgba(255, 255, 255, .94);
        content: '';
        transform: translateX(-50%) rotate(45deg);
    }

    .understar-svg-map__selection.is-anchored[data-placement='below'] {
        --selection-enter-y: -6px;
    }

    .understar-svg-map__selection.is-anchored[data-placement='below']::after {
        top: -5px;
        bottom: auto;
        transform: translateX(-50%) rotate(225deg);
    }
}

@media (min-width: 1600px) {
    .understar-svg-map__marker {
        width: 44px;
        height: 44px;
    }

    .understar-svg-map__marker svg {
        width: 34px;
        height: 34px;
    }

    .understar-svg-map__marker--cluster {
        width: 52px;
        height: 52px;
    }

    .understar-svg-map__marker--cluster svg {
        width: 40px;
        height: 40px;
    }

    .understar-svg-map__count {
        font-size: 13px;
    }
}

@media (min-width: 2400px) {
    .understar-svg-map__marker {
        width: 48px;
        height: 48px;
    }

    .understar-svg-map__marker svg {
        width: 38px;
        height: 38px;
    }

    .understar-svg-map__marker--cluster {
        width: 58px;
        height: 58px;
    }

    .understar-svg-map__marker--cluster svg {
        width: 46px;
        height: 46px;
    }

    .understar-svg-map__count {
        font-size: 14px;
    }
}

@media (max-width: 519px) {
    .understar-svg-map__marker {
        width: 32px;
        height: 32px;
    }

    .understar-svg-map__marker svg {
        width: 24px;
        height: 24px;
    }

    .understar-svg-map__marker--cluster {
        width: 42px;
        height: 42px;
    }

    .understar-svg-map__marker--cluster svg {
        width: 30px;
        height: 30px;
    }

    .understar-svg-map__controls {
        top: 10px;
        right: 10px;
    }

    .understar-svg-map__control {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .understar-svg-map__stage,
    .understar-svg-map__control {
        transition: none;
    }

    .understar-svg-map__marker-visual {
        animation: none;
    }

    .understar-svg-map__selection {
        animation: none;
    }
}

.understar-map-marker {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #00b3db;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.understar-map-marker::before {
    display: none;
}

.understar-map-marker__star {
    position: relative;
    z-index: 1;
    display: block;
    width: 31px;
    height: 31px;
    filter: drop-shadow(0 2px 3px rgba(0, 86, 107, .24)) drop-shadow(0 0 1px rgba(255, 255, 255, .9));
    transition: filter 180ms ease, transform 180ms ease;
}

.understar-map-marker__star svg {
    display: block;
    width: 100%;
    height: 100%;
}

.understar-map-marker__label {
    position: absolute;
    z-index: 3;
    bottom: calc(100% + 8px);
    left: 50%;
    display: flex;
    visibility: hidden;
    width: max-content;
    max-width: min(280px, calc(100vw - 48px));
    padding: 10px 12px;
    flex-direction: column;
    gap: 3px;
    border: 1px solid rgba(50, 64, 67, .09);
    border-radius: 10px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 10px 28px rgba(39, 50, 52, .17);
    color: #324043;
    font: 12px/1.35 Geometria, Arial, sans-serif;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.understar-map-marker__label strong {
    font-weight: 500;
}

.understar-map-marker.is-active .understar-map-marker__star {
    animation: understar-map-marker-select 320ms ease-out both;
    transform: scale(1.14);
    filter: drop-shadow(0 3px 5px rgba(0, 86, 107, .3)) drop-shadow(0 0 3px rgba(255, 255, 255, .96));
}

.understar-map-marker.is-active .understar-map-marker__label {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.understar-map-marker:focus-visible {
    outline: 2px solid #324043;
    outline-offset: 3px;
}

.understar-map-marker--brand {
    display: grid;
    width: 48px;
    height: 61px;
    padding: 0;
    place-items: end center;
    border-radius: 0;
    transform: translate(-50%, calc(-100% + 6px));
}

.understar-map-marker--brand img {
    display: block;
    width: 42px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px rgba(255, 255, 255, .95)) drop-shadow(0 5px 9px rgba(39, 64, 69, .25));
    transition: filter 160ms ease, transform 160ms ease;
}

.understar-map-marker--brand:hover img,
.understar-map-marker--brand:focus-visible img {
    filter: drop-shadow(0 2px 2px rgba(255, 255, 255, 1)) drop-shadow(0 7px 12px rgba(39, 64, 69, .3));
    transform: translateY(-2px);
}

.understar-yandex-map--clinics .understar-map-marker__label {
    display: none;
}

.understar-map-selection {
    position: absolute;
    z-index: 4;
    top: 16px;
    left: 50%;
    display: flex;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 10px 12px;
    flex-direction: column;
    gap: 3px;
    border: 1px solid rgba(50, 64, 67, .09);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(39, 50, 52, .15);
    color: #324043;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    transform: translateX(-50%);
}

.understar-map-selection[hidden] {
    display: none;
}

.understar-map-selection strong {
    font-weight: 500;
}

.understar-map-controls {
    position: absolute;
    z-index: 6;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.understar-yandex-map--contacts[data-yandex-map-ui="mobile-stacked"] .understar-map-controls {
    top: 58px;
}

.understar-map-control {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(50, 64, 67, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 16px rgba(39, 50, 52, .16);
    color: #324043;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.understar-map-control svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.understar-map-control:hover {
    background: #fff;
    color: #00b3db;
}

.understar-map-control:active {
    transform: scale(.95);
}

.understar-map-control:focus-visible {
    outline: 2px solid #324043;
    outline-offset: 2px;
}

[data-clinic-map-id] {
    transition: box-shadow 180ms ease, color 180ms ease;
}

[data-clinic-map-active] {
    box-shadow: inset 0 0 0 1px rgba(0, 179, 219, .34);
}

@keyframes understar-map-marker-select {
    0% { transform: scale(.88); }
    65% { transform: scale(1.22); }
    100% { transform: scale(1.14); }
}

@media (max-width: 767px) {
    .understar-map-marker--brand {
        width: 44px;
        height: 54px;
    }

    .understar-map-marker--brand img {
        width: 36px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .understar-yandex-map__canvas,
    .understar-yandex-map [data-yandex-map-fallback],
    .understar-map-marker::before,
    .understar-map-marker__star,
    .understar-map-marker__label,
    .understar-map-marker--brand img,
    .understar-map-control,
    [data-clinic-map-id] {
        transition: none !important;
    }

    .understar-map-marker.is-active .understar-map-marker__star {
        animation: none;
    }
}

/* Child detail donation art: one sharp master with the original crop at each breakpoint. */
[data-child-donation-art="true"] {
    background-image: url("./images/ladder-girl-master.webp") !important;
    background-position: -19px 0 !important;
    background-repeat: no-repeat !important;
    background-size: auto 316px !important;
}

@media (min-width: 768px) {
    [data-child-donation-art="true"] {
        background-position: -63px 0 !important;
        background-size: auto 543px !important;
    }
}

@media (min-width: 1024px) {
    [data-child-donation-art="true"] {
        background-position: -363px 0 !important;
        background-size: auto 668px !important;
    }
}

@media (min-width: 1280px) {
    [data-child-donation-art="true"] {
        background-position: -239px 0 !important;
        background-size: auto 696px !important;
    }
}

@media (min-width: 1920px) {
    [data-child-donation-art="true"] {
        background-position: -326px 0 !important;
        background-size: auto 876px !important;
    }
}

/* Business page: source-managed hero and support-room art direction. */
.business-hero-managed {
    position: absolute;
    inset: 0;
    display: block;
    isolation: isolate;
}

.hero-slider:has([data-business-hero-managed="true"]) {
    width: 100%;
    max-width: 854px;
    margin-inline: auto;
}

.business-hero-managed__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.business-hero-managed__edge {
    display: none;
}

.business-support-room-card {
    isolation: isolate;
    background: #c7af96;
}

.business-support-room {
    position: absolute;
    inset: -2px;
    z-index: 0;
    background-image: url("./images/partners-showcase-bg-r2.jpg");
    background-image: image-set(
        url("./images/partners-showcase-bg-r2.webp") type("image/webp"),
        url("./images/partners-showcase-bg-r2.jpg") type("image/jpeg")
    );
    background-position: 50% center;
    background-size: cover;
    transform: scale(1.012);
}

.business-support-boy {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 1;
    width: auto;
    max-width: 118%;
    height: 86%;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%);
}

.business-support-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(91, 65, 45, 0.08) 0%, rgba(52, 38, 28, 0.2) 59%, rgba(38, 29, 24, 0.78) 100%);
}

.business-support-heading {
    text-shadow: 0 1px 12px rgba(26, 18, 13, 0.28);
}

@media (min-width: 768px) {
    .business-support-room {
        background-position: 62% center;
    }

    .business-support-boy {
        max-width: 118%;
        height: 88%;
    }
}

@media (min-width: 1024px) {
    .business-support-room {
        background-position: 72% center;
    }

    .business-support-boy {
        max-width: 110%;
        height: 90%;
    }
}

@media (min-width: 2200px) {
    .business-support-boy {
        height: 88%;
    }
}

/* Under Star slider pagination r8: r7 paint plus a safe 12px raster window. */
:root body .swiper-pagination:not(.clinic-list-pagination) {
  --understar-dot-inactive: rgb(135, 146, 148);
  gap: 0 !important;
  column-gap: 0 !important;
}

:root body .swiper-pagination:is(
  .fund-slider-pagination,
  .about-slider-pagination,
  .get-help-slider-pagination,
  .afisha-slider-pagination,
  .children-gallery-pagination,
  .news-gallery-pagination,
  .activity-header-pagination,
  .activity-bottom-pagination,
  .activity-video-pagination,
  .news-video-pagination,
  .rehab-culture-pagination,
  .children-head-pagination,
  .help-head-pagination,
  .partners-slider-pagination,
  .graphic-slider-pagination,
  .rehab-index-pagination,
  .understar-about-history-pagination
):not(.clinic-list-pagination) {
  --understar-dot-inactive: rgb(255, 255, 255);
}

:root body :is(
  .history-slider,
  .hero-slider,
  .gallery-afisha-swiper,
  .video-slider
) > .swiper-pagination:not(.clinic-list-pagination) {
  --understar-dot-inactive: rgb(255, 255, 255);
}

:root body .swiper-pagination.questions-slider-pagination:not(.clinic-list-pagination) {
  --understar-dot-inactive: rgb(98, 112, 115);
}

:root body .swiper-pagination:not(.clinic-list-pagination)
  .swiper-pagination-bullet {
  position: relative !important;
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  flex: 0 0 12px !important;
  margin: 0 3px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  transform-origin: center !important;
  transition: left .2s ease, right .2s ease !important;
}

:root body .swiper-pagination:not(.clinic-list-pagination)
  .swiper-pagination-bullet::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--understar-dot-inactive);
  box-shadow: none;
  content: "";
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: none;
}

:root body .swiper-pagination:not(.clinic-list-pagination)
  .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
  width: 10px;
  height: 10px;
  background: #00b3db;
  opacity: 1;
}

:root body .swiper-pagination-bullets-dynamic:not(.clinic-list-pagination)
  .swiper-pagination-bullet::before {
  opacity: 0;
}

:root body .swiper-pagination-bullets-dynamic:not(.clinic-list-pagination)
  :is(
    .swiper-pagination-bullet-active-main,
    .swiper-pagination-bullet-active
  )::before {
  width: 10px;
  height: 10px;
  opacity: 1;
}

:root body .swiper-pagination-bullets-dynamic:not(.clinic-list-pagination)
  :is(
    .swiper-pagination-bullet-active-prev,
    .swiper-pagination-bullet-active-next
  )::before {
  width: 8px;
  height: 8px;
  opacity: 1;
}

:root body .swiper-pagination-bullets-dynamic:not(.clinic-list-pagination)
  :is(
    .swiper-pagination-bullet-active-prev-prev,
    .swiper-pagination-bullet-active-next-next
  )::before {
  width: 6px;
  height: 6px;
  opacity: 1;
}

:root body .swiper-pagination.clinic-list-pagination {
  --understar-dot-inactive: rgb(98, 112, 115);
  gap: 0 !important;
  column-gap: 0 !important;
}

:root body .swiper-pagination.clinic-list-pagination
  .swiper-pagination-bullet {
  position: relative !important;
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  flex: 0 0 12px !important;
  margin: 0 3px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  transform-origin: center !important;
  transition: left .2s ease, right .2s ease !important;
}

:root body .swiper-pagination.clinic-list-pagination
  .swiper-pagination-bullet::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--understar-dot-inactive);
  box-shadow: none;
  content: "";
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: none;
}

:root body .swiper-pagination.clinic-list-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
  width: 10px;
  height: 10px;
  background: #00b3db;
  opacity: 1;
}

:root body .swiper-pagination-bullets-dynamic.clinic-list-pagination
  .swiper-pagination-bullet::before {
  opacity: 0;
}

:root body .swiper-pagination-bullets-dynamic.clinic-list-pagination
  :is(
    .swiper-pagination-bullet-active-main,
    .swiper-pagination-bullet-active
  )::before {
  width: 10px;
  height: 10px;
  opacity: 1;
}

:root body .swiper-pagination-bullets-dynamic.clinic-list-pagination
  :is(
    .swiper-pagination-bullet-active-prev,
    .swiper-pagination-bullet-active-next
  )::before {
  width: 8px;
  height: 8px;
  opacity: 1;
}

:root body .swiper-pagination-bullets-dynamic.clinic-list-pagination
  :is(
    .swiper-pagination-bullet-active-prev-prev,
    .swiper-pagination-bullet-active-next-next
  )::before {
  width: 6px;
  height: 6px;
  opacity: 1;
}

:root body .swiper-pagination:not(.clinic-list-pagination)
  .swiper-pagination-bullet:focus-visible {
  outline: 2px solid #00b3db;
  outline-offset: 2px;
}

:root body .swiper-pagination.clinic-list-pagination
  .swiper-pagination-bullet:focus-visible {
  outline: 2px solid #00b3db;
  outline-offset: 2px;
}

/* Owner-scoped decorative media, 2026-08-25. */
[data-reports-hero-media] {
  background-color: #89796b;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto, cover;
}

[data-reports-hero-media="mobile-r2"] {
  background-image:
    linear-gradient(0deg, #89796b 2.52%, rgba(174, 160, 142, 0) 100%),
    url("./images/reports/reports-hero-mobile-r2.jpg") !important;
  background-image:
    linear-gradient(0deg, #89796b 2.52%, rgba(174, 160, 142, 0) 100%),
    image-set(
      url("./images/reports/reports-hero-mobile-r2.webp") type("image/webp"),
      url("./images/reports/reports-hero-mobile-r2.jpg") type("image/jpeg")
    ) !important;
}

[data-reports-hero-media="tablet-r2"] {
  background-image:
    linear-gradient(0deg, #89796b 2.52%, rgba(174, 160, 142, 0) 100%),
    url("./images/reports/reports-hero-tablet-r2.jpg") !important;
  background-image:
    linear-gradient(0deg, #89796b 2.52%, rgba(174, 160, 142, 0) 100%),
    image-set(
      url("./images/reports/reports-hero-tablet-r2.webp") type("image/webp"),
      url("./images/reports/reports-hero-tablet-r2.jpg") type("image/jpeg")
    ) !important;
}

[data-reports-hero-media="desktop-r2"] {
  background-image:
    linear-gradient(0deg, #89796b 2.52%, rgba(174, 160, 142, 0) 100%),
    url("./images/reports/reports-hero-desktop-r2.jpg") !important;
  background-image:
    linear-gradient(0deg, #89796b 2.52%, rgba(174, 160, 142, 0) 100%),
    image-set(
      url("./images/reports/reports-hero-desktop-r2.webp") type("image/webp"),
      url("./images/reports/reports-hero-desktop-r2.jpg") type("image/jpeg")
    ) !important;
}

:is(
  .activity-ladder-bg--rehabilitation,
  .activity-ladder-bg--support,
  .activity-ladder-bg--neuro,
  .activity-ladder-bg--equipment,
  .activity-ladder-bg--international
) {
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto, auto, cover;
}

.activity-ladder-bg--rehabilitation {
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/rehabilitation-strip-desktop-r1.jpg") !important;
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/rehabilitation-strip-desktop-r1.webp") type("image/webp"), url("./images/activity/rehabilitation-strip-desktop-r1.jpg") type("image/jpeg")) !important;
}

.activity-ladder-bg--support {
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/support-strip-desktop-r1.jpg") !important;
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/support-strip-desktop-r1.webp") type("image/webp"), url("./images/activity/support-strip-desktop-r1.jpg") type("image/jpeg")) !important;
}

.activity-ladder-bg--neuro {
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/neuro-strip-desktop-r1.jpg") !important;
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/neuro-strip-desktop-r1.webp") type("image/webp"), url("./images/activity/neuro-strip-desktop-r1.jpg") type("image/jpeg")) !important;
}

.activity-ladder-bg--equipment {
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/equipment-strip-desktop-r1.jpg") !important;
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/equipment-strip-desktop-r1.webp") type("image/webp"), url("./images/activity/equipment-strip-desktop-r1.jpg") type("image/jpeg")) !important;
}

.activity-ladder-bg--international {
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/international-strip-desktop-r1.jpg") !important;
  background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/international-strip-desktop-r1.webp") type("image/webp"), url("./images/activity/international-strip-desktop-r1.jpg") type("image/jpeg")) !important;
}

@media (max-width: 600px) {
  .activity-ladder-bg--rehabilitation {
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/rehabilitation-strip-mobile-r1.jpg") !important;
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/rehabilitation-strip-mobile-r1.webp") type("image/webp"), url("./images/activity/rehabilitation-strip-mobile-r1.jpg") type("image/jpeg")) !important;
  }

  .activity-ladder-bg--support {
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/support-strip-mobile-r1.jpg") !important;
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/support-strip-mobile-r1.webp") type("image/webp"), url("./images/activity/support-strip-mobile-r1.jpg") type("image/jpeg")) !important;
  }

  .activity-ladder-bg--neuro {
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/neuro-strip-mobile-r1.jpg") !important;
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/neuro-strip-mobile-r1.webp") type("image/webp"), url("./images/activity/neuro-strip-mobile-r1.jpg") type("image/jpeg")) !important;
  }

  .activity-ladder-bg--equipment {
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/equipment-strip-mobile-r1.jpg") !important;
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/equipment-strip-mobile-r1.webp") type("image/webp"), url("./images/activity/equipment-strip-mobile-r1.jpg") type("image/jpeg")) !important;
  }

  .activity-ladder-bg--international {
    background-position: center 49%;
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), url("./images/activity/international-strip-mobile-r1.jpg") !important;
    background-image: linear-gradient(90deg, rgba(73, 57, 46, .58) 0%, rgba(106, 81, 65, .14) 62%, rgba(73, 57, 46, .24) 100%), linear-gradient(180deg, rgba(73, 57, 46, 0) 34%, rgba(73, 57, 46, .58) 100%), image-set(url("./images/activity/international-strip-mobile-r1.webp") type("image/webp"), url("./images/activity/international-strip-mobile-r1.jpg") type("image/jpeg")) !important;
  }
}

[data-cooperation-form-background="managed-r1"] {
  background-image: url("./images/business/cooperation-form-mobile-r1.jpg") !important;
  background-image: image-set(
    url("./images/business/cooperation-form-mobile-r1.webp") type("image/webp"),
    url("./images/business/cooperation-form-mobile-r1.jpg") type("image/jpeg")
  ) !important;
  background-position: center;
  background-size: cover;
}

@media (min-width: 768px) {
  [data-cooperation-form-background="managed-r1"] {
    background-image: url("./images/business/cooperation-form-tablet-r1.jpg") !important;
    background-image: image-set(
      url("./images/business/cooperation-form-tablet-r1.webp") type("image/webp"),
      url("./images/business/cooperation-form-tablet-r1.jpg") type("image/jpeg")
    ) !important;
  }
}

@media (min-width: 1024px) {
  [data-cooperation-form-background="managed-r1"] {
    background-image: url("./images/business/cooperation-form-md-r1.jpg") !important;
    background-image: image-set(
      url("./images/business/cooperation-form-md-r1.webp") type("image/webp"),
      url("./images/business/cooperation-form-md-r1.jpg") type("image/jpeg")
    ) !important;
  }
}

@media (min-width: 1280px) {
  [data-cooperation-form-background="managed-r1"] {
    background-image: url("./images/business/cooperation-form-wide-r1.jpg") !important;
    background-image: image-set(
      url("./images/business/cooperation-form-wide-r1.webp") type("image/webp"),
      url("./images/business/cooperation-form-wide-r1.jpg") type("image/jpeg")
    ) !important;
  }
}

[data-faq-visual-background="clean-r1"] {
  background-color: rgb(216, 213, 208);
  background-image:
    url("./images/get-help/faq-girl-clean-native.png"),
    radial-gradient(ellipse at center, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(112deg, rgb(159, 155, 150) 0%, rgb(187, 183, 178) 34%, rgb(215, 212, 207) 72%, rgb(219, 216, 211) 100%) !important;
  background-image:
    image-set(
      url("./images/get-help/faq-girl-clean-native-q85.webp") type("image/webp"),
      url("./images/get-help/faq-girl-clean-native.png") type("image/png")
    ),
    radial-gradient(ellipse at center, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(112deg, rgb(159, 155, 150) 0%, rgb(187, 183, 178) 34%, rgb(215, 212, 207) 72%, rgb(219, 216, 211) 100%) !important;
  background-position: center 72px, 72% 12%, center;
  background-repeat: no-repeat;
  background-size: auto 250px, 150% 70%, 100% 100%;
}

@media (min-width: 640px) {
  [data-faq-visual-background="clean-r1"] {
    background-position: 58% 48px, 66% 10%, center;
    background-size: auto 300px, 120% 75%, 100% 100%;
  }
}

@media (min-width: 768px) {
  [data-faq-visual-background="clean-r1"] {
    background-position: 61% 30px, 62% 8%, center;
    background-size: auto 330px, 110% 78%, 100% 100%;
  }
}

@media (min-width: 1024px) {
  [data-faq-visual-background="clean-r1"] {
    background-position: 78% 18px, 72% 5%, center;
    background-size: auto 310px, 100% 82%, 100% 100%;
  }
}

@media (min-width: 1280px) {
  [data-faq-visual-background="clean-r1"] {
    background-position: 3% bottom, 9% 15%, center;
    background-size: auto 500px, 82% 110%, 100% 100%;
  }
}

@media (min-width: 1920px) {
  [data-faq-visual-background="clean-r1"] {
    background-position: 5% bottom, 10% 12%, center;
    background-size: auto 500px, 76% 120%, 100% 100%;
  }
}

[data-children-list-hero-managed="true"] {
  background-color: #d8d1cb;
  background-image: url("./images/children/0f3a3ad91dab52e4--laughing-boy-mobile-q85.jpg") !important;
  background-image: image-set(
    url("./images/children/d73316c9a25b0397--laughing-boy-mobile-q85.webp") type("image/webp"),
    url("./images/children/0f3a3ad91dab52e4--laughing-boy-mobile-q85.jpg") type("image/jpeg")
  ) !important;
  background-position: center top !important;
  background-repeat: no-repeat;
  background-size: cover !important;
}

@media (max-width: 430px) {
  [data-children-list-hero-managed="true"] {
    background-size: auto 135% !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  [data-children-list-hero-managed="true"] {
    background-size: auto 150% !important;
  }
}

@media (min-width: 1024px) {
  [data-children-list-hero-managed="true"] {
    background-image: url("./images/children/9b9f4f5ffa83539a--laughing-boy-desktop-q85.jpg") !important;
    background-image: image-set(
      url("./images/children/b39a3698d5519543--laughing-boy-desktop-q85.webp") type("image/webp"),
      url("./images/children/9b9f4f5ffa83539a--laughing-boy-desktop-q85.jpg") type("image/jpeg")
    ) !important;
    background-size: cover !important;
  }
}

@media (min-width: 1920px) {
  .hero-slider:has([data-children-list-hero-managed="true"]) {
    max-width: 960px;
    margin-inline: auto;
  }
}

/* Staff cards: editor-controlled copy stays compact; email adapts to input mode. */
[data-person-card="team"] [data-person-copy="true"] {
  row-gap: 2px;
}

[data-person-card="team"] [data-person-name="true"],
[data-person-card="team"] [data-person-role="true"] {
  display: block;
}

[data-person-card="team"] [data-person-name="true"] {
  min-height: 0;
}

[data-person-card="team"] [data-person-role="true"] {
  line-height: 1.35;
}

[data-staff-email-overlay="true"] {
  pointer-events: none;
}

[data-staff-email-overlay-content="true"] {
  width: 100%;
  max-width: 100%;
  gap: 18px;
}

[data-staff-email-variant="desktop"] {
  display: none;
}

:is([data-person-card="team"], [data-person-card="cooperation"]) [data-staff-email-variant="mobile"] {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  color: #324043;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: normal;
  text-decoration: none;
}

[data-staff-email-variant="mobile"] svg {
  width: 20px;
  height: auto;
  flex: 0 0 20px;
}

[data-staff-email-variant="mobile"]:focus-visible {
  border-radius: 4px;
}

@media (max-width: 639px) {
  [data-person-card="team"] [data-person-role="true"] {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  :is([data-person-card="team"], [data-person-card="cooperation"]) [data-staff-email-variant="mobile"] {
    display: none;
  }

  :is([data-person-card="team"], [data-person-card="cooperation"]) [data-staff-email-variant="desktop"] {
    display: inline-flex;
    max-width: calc(100% - 24px);
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
  }

  [data-staff-email-variant="desktop"] picture,
  [data-staff-email-variant="desktop"] img {
    display: block;
  }

  [data-staff-email-variant="desktop"] img {
    width: 64px;
    height: auto;
    filter: brightness(0) invert(1);
  }

  :is([data-person-card="team"], [data-person-card="cooperation"]):hover [data-staff-email-overlay="true"],
  :is([data-person-card="team"], [data-person-card="cooperation"]):focus-within [data-staff-email-overlay="true"] {
    pointer-events: auto;
    opacity: 1;
  }

  :is([data-person-card="team"], [data-person-card="cooperation"]) [data-staff-email-variant="desktop"]:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  :is([data-person-card="team"], [data-person-card="cooperation"]) [data-staff-email-variant="desktop"]:focus-visible {
    color: #fff;
    border-radius: 6px;
    outline: 2px solid #fff;
    outline-offset: 4px;
  }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  [data-staff-email-overlay-content="true"] {
    gap: 24px;
  }

  [data-staff-email-variant="desktop"] img {
    width: 76px;
  }
}

@media (min-width: 1280px) and (hover: hover) and (pointer: fine) {
  [data-staff-email-overlay-content="true"] {
    gap: 32px;
  }

  [data-staff-email-variant="desktop"] img {
    width: 88px;
  }
}
/* Afisha variant A: a separate photo surface followed by an attached information panel. */
.understar-afisha {
  color: #324043;
}

.understar-afisha__slider {
  max-width: 1920px;
  margin-inline: auto;
  overflow: hidden;
}

.understar-afisha__slider > .swiper-wrapper {
  align-items: flex-start;
}

.understar-afisha__slide {
  height: auto;
}

.understar-afisha__card {
  display: flex;
  height: auto;
  flex-direction: column;
  overflow: visible;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.understar-afisha__media {
  position: relative;
  inset: auto;
  order: 1;
  width: 100%;
  height: clamp(220px, 56vw, 320px);
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #f6f3ef;
}

.understar-afisha__picture,
.understar-afisha__image {
  display: block;
  width: 100%;
  height: 100%;
}

.understar-afisha__image {
  max-width: none;
  object-fit: cover;
  object-position: 50% 48%;
}

.understar-afisha__gradient {
  display: none;
}

.understar-afisha__content {
  display: contents;
}

.understar-afisha__section-title {
  color: #324043;
  font-weight: 500;
  letter-spacing: -.5px;
}

.understar-afisha__section-title--mobile {
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 34px;
}

.understar-afisha__section-title--desktop {
  display: none;
  order: 0;
  width: auto;
  margin: 0 0 24px;
  color: #324043;
  font-size: 40px;
  line-height: 48px;
}

.understar-afisha__panel {
  position: relative;
  order: 2;
  width: 100%;
  margin: 0;
  padding: 16px;
  border-radius: 0 0 12px 12px;
  background: #fff;
}

.understar-afisha--main .understar-afisha__panel {
  background: #f6f3ef;
}

.understar-afisha--news .understar-afisha__panel {
  background: #fff;
}

.understar-afisha--detail .understar-afisha__card,
.understar-afisha--detail .understar-afisha-detail__section-title {
  max-width: 1920px;
  margin-inline: auto;
}

.understar-afisha--detail .understar-afisha__panel {
  background: #fff;
}

.understar-afisha-detail__section-title {
  display: block;
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 24px;
  line-height: 34px;
}

.understar-afisha__topline {
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.understar-afisha__event-title {
  min-width: 0;
  min-height: 84px;
  width: auto;
  margin: 0;
  color: #324043;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.5px;
  line-height: 28px;
  overflow-wrap: anywhere;
}

.understar-afisha__detail-link {
  inline-size: 188px;
  min-inline-size: 188px;
  min-height: 48px;
}

@media (min-width: 640px) {
  .understar-afisha__detail-link {
    inline-size: 226px;
    min-inline-size: 226px;
  }
}

.understar-afisha__details {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.understar-afisha__field-group {
  display: contents;
}

.understar-afisha__details .understar-afisha__field-group > div {
  min-width: 0;
  width: auto;
  padding-top: 10px;
  border-top: 1px solid #e2e4e4;
}

.understar-afisha__details .understar-afisha__field-group > div > p:first-child {
  margin: 0 0 10px;
  color: #858d8e;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.understar-afisha__details .understar-afisha__field-group > div > hr {
  display: none;
}

.understar-afisha__details .understar-afisha__field-group > div > p:last-child {
  min-width: 0;
  margin: 0;
  color: #324043;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  overflow-wrap: anywhere;
}

.understar-afisha__field-group--location > div {
  grid-column: 1 / -1;
}

.understar-afisha__field-group--location > div:last-child > div {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin-top: 12px;
}

.understar-afisha__field-group--location > div:last-child a {
  display: inline-flex;
  box-sizing: border-box;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
}

.understar-afisha__slider > .afisha-slider-navigation,
.understar-afisha__slider > .afisha-slider-navigation--main {
  top: 74px;
  right: 16px;
}

.understar-afisha__slider > .afisha-slider-navigation--main {
  top: 98px;
}

:root body .understar-afisha .understar-afisha__slider > .afisha-slider-pagination {
  --understar-dot-inactive: rgb(135, 146, 148);
  position: relative;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100%;
  min-height: 18px;
  margin-top: 16px;
  transform: none !important;
}

@media (min-width: 640px) {
	.understar-afisha-detail__section-title {
		font-size: 40px;
		line-height: 48px;
	}

  .understar-afisha__section-title--mobile {
    display: none;
  }

  .understar-afisha__section-title--desktop {
    display: block;
  }

  .understar-afisha__media {
    height: auto;
    aspect-ratio: 8 / 3;
    border-radius: 24px 24px 0 0;
  }

  .understar-afisha__panel {
    padding: 24px;
    border-radius: 0 0 24px 24px;
  }

  .understar-afisha__topline {
    flex-direction: row;
    gap: 24px;
  }

  .understar-afisha__event-title {
    min-height: 64px;
    font-size: 24px;
    letter-spacing: -.75px;
    line-height: 32px;
  }

  .understar-afisha__detail-link {
    flex: 0 0 auto;
    min-height: 52px;
  }

  .understar-afisha__field-group--location > div:last-child > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .understar-afisha__slider > .afisha-slider-navigation,
  .understar-afisha__slider > .afisha-slider-navigation--main {
    top: 88px;
    right: 24px;
  }
}

@media (min-width: 768px) {
  .understar-afisha__section-title--desktop {
    font-size: 40px;
    line-height: 48px;
  }

  .understar-afisha__panel {
    padding: 28px;
  }

  .understar-afisha__details {
    gap: 20px;
  }

  .understar-afisha__details .understar-afisha__field-group > div {
    padding-top: 12px;
  }

  .understar-afisha__details .understar-afisha__field-group > div > p:first-child {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .understar-afisha__details .understar-afisha__field-group > div > p:last-child {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (min-width: 1024px) {
  .understar-afisha__panel {
    padding: 32px;
  }

  .understar-afisha__event-title {
    min-height: 84px;
    font-size: 32px;
    letter-spacing: -1px;
    line-height: 42px;
  }

  .understar-afisha__details {
    grid-template-columns: minmax(80px, .7fr) minmax(72px, .6fr) minmax(180px, 1.35fr) minmax(320px, 2.35fr);
  }

  .understar-afisha__field-group--location > div {
    grid-column: auto;
  }

  .understar-afisha__details .understar-afisha__field-group > div > p:last-child {
    font-size: 20px;
    line-height: 28px;
  }

  .understar-afisha__field-group--location > div:last-child a {
    min-height: 56px;
    padding: 15px 18px;
    font-size: 16px;
    line-height: 22px;
  }

  .understar-afisha__slider > .afisha-slider-navigation,
  .understar-afisha__slider > .afisha-slider-navigation--main {
    top: 104px;
    right: 32px;
  }
}

/* The reports heading is intentionally a single semantic h1. Keep the
   owner-scoped responsive background tall enough to contain it after the
   decorative media was separated from the markup. */
[data-reports-hero-media] {
  min-height: 282px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  [data-reports-hero-media] {
    min-height: 288px;
  }
}

@media (min-width: 1024px) {
  [data-reports-hero-media] {
    min-height: 320px;
  }
}

@media (min-width: 1280px) {
  [data-reports-hero-media] {
    min-height: 348px;
  }
}

@media (min-width: 1920px) {
  .understar-afisha__panel {
    padding: 40px;
  }

  .understar-afisha__slider > .afisha-slider-navigation,
  .understar-afisha__slider > .afisha-slider-navigation--main {
    top: 112px;
    right: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .understar-afisha__detail-link {
    animation: none !important;
    transition: none !important;
  }
}



/* History line: scroll-driven draw preview. The original <img> remains the fallback. */
@media (prefers-reduced-motion: no-preference) {
    [data-about-history-art][data-history-line-enhanced="true"] {
        clip-path: inset(0) !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        overflow: visible;
    }

    [data-about-history-art][data-history-line-enhanced="true"] .history-snake-line,
    [data-about-history-art][data-history-line-enhanced="true"] .history-snake-line-glow {
        stroke-dasharray: 1;
        stroke-dashoffset: calc(1 - var(--history-line-progress, 0));
        transition: none;
    }

    [data-about-history-art][data-history-line-enhanced="true"] .history-snake-line {
        stroke-linecap: round;
        stroke-width: 2.4;
    }

    [data-about-history-art][data-history-line-enhanced="true"] .history-snake-line-glow {
        stroke: #00B3DC;
        stroke-width: 6;
        opacity: .18;
        filter: drop-shadow(0 0 3px rgba(0, 179, 220, .34));
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-about-history-art][data-history-line-enhanced="true"] {
        clip-path: inset(0) !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    [data-about-history-art][data-history-line-enhanced="true"] .history-snake-line,
    [data-about-history-art][data-history-line-enhanced="true"] .history-snake-line-glow {
        stroke-dasharray: none;
        stroke-dashoffset: 0;
        transition: none;
    }
}

/* The moving endpoint makes scroll progress legible on both responsive layouts. */
[data-about-history-art][data-history-line-enhanced="true"] .history-line-marker {
    fill: #00B3DC;
    stroke: #fff;
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(0, 179, 220, .45));
}

@media (prefers-reduced-motion: reduce) {
    [data-about-history-art][data-history-line-enhanced="true"] .history-line-marker {
        display: none;
    }
}


/* Desktop timeline draws once when it enters the viewport; mobile stays scroll-driven. */
[data-about-history-art][data-history-line-enhanced="true"][data-history-line-mode="desktop-auto"] .history-snake-line,
[data-about-history-art][data-history-line-enhanced="true"][data-history-line-mode="desktop-auto"] .history-snake-line-glow {
    stroke-dasharray: 1;
    stroke-dashoffset: 1 !important;
    transition: stroke-dashoffset 1.35s cubic-bezier(.22, .61, .36, 1);
}

[data-about-history-art][data-history-line-enhanced="true"][data-history-line-mode="desktop-auto"][data-history-line-state="running"] .history-snake-line,
[data-about-history-art][data-history-line-enhanced="true"][data-history-line-mode="desktop-auto"][data-history-line-state="running"] .history-snake-line-glow {
    stroke-dashoffset: 0 !important;
}

[data-about-history-art][data-history-line-enhanced="true"][data-history-line-mode="desktop-auto"] .history-line-marker {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-about-history-art][data-history-line-enhanced="true"][data-history-line-mode="desktop-auto"] .history-snake-line,
    [data-about-history-art][data-history-line-enhanced="true"][data-history-line-mode="desktop-auto"] .history-snake-line-glow {
        stroke-dashoffset: 0 !important;
        transition: none;
    }
}

/* One room spans both partner cards; stacked cards retain independent crops. */
[data-partners-panorama] [data-partners-showcase-background] {
    background-image: linear-gradient(135deg, rgba(70, 53, 41, .38), rgba(70, 53, 41, .14) 58%, rgba(49, 42, 38, .2)), url("./images/partners-showcase-room-20260924.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
[data-partners-panorama] .business-support-room {
    inset: 0;
    transform: none;
    background-image: url("./images/partners-showcase-room-20260924.webp");
    background-position: 72% center;
    background-repeat: no-repeat;
}
@media (min-width: 768px) {
    [data-partners-panorama][data-panorama-ready="true"] [data-partners-showcase-background] {
        background-size: 100% 100%, var(--partners-image-width) var(--partners-image-height);
        background-position: center, var(--partners-left-x) var(--partners-image-y);
    }
    [data-partners-panorama][data-panorama-ready="true"] .business-support-room {
        background-size: var(--partners-image-width) var(--partners-image-height);
        background-position: var(--partners-right-x) var(--partners-image-y);
    }
}
