/* Fallback только Arial: size-adjust подобран под Inter, Segoe UI давал лишнюю ширину */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    ascent-override: 90.2%;
    descent-override: 22.48%;
    line-gap-override: 0%;
    size-adjust: 107.64%;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
    --fk-primary: #0b7ac0;
    --fk-primary-dark: #066eae;
    --fk-bg: #f5f6f8;
    --fk-surface: #ffffff;
    --fk-surface-glass: rgba(255, 255, 255, 0.86);
    --fk-dark: #0d1117;
    --fk-dark-muted: #9aa8b8;
    --fk-text: #12161f;
    --fk-text-muted: #5c6b7a;
    --fk-border: #e3eaf2;
    --fk-radius: 14px;
    --fk-radius-lg: 20px;
    --fk-shadow: 0 2px 16px rgba(15, 35, 65, 0.06);
    --fk-shadow-hover: 0 12px 40px rgba(15, 35, 65, 0.1);
    --fk-section-gap: 64px;
    --fk-container-max: 1600px;
    --fk-container-padding: clamp(20px, 3vw, 48px);
    --fk-home-content-max: 1600px;
    --fk-font: Inter, 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fk-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Global overrides
   ========================================================================== */

/* Единая ширина контента на всех страницах */
.container {
    max-width: var(--fk-container-max);
    padding-left: var(--fk-container-padding);
    padding-right: var(--fk-container-padding);
}

/* Временно отключаем отображение ссылок "Все сайты" */
a[data-popup-selector*="all-sites"] {
    display: none !important;
}

/* ==========================================================================
   Sticky footer
   ========================================================================== */
html {
    height: 100%;
    overflow-y: scroll; /* fallback: место под скроллбар всегда, без «дёрганья» */
}

@supports (scrollbar-gutter: stable) {
    html {
        overflow-y: auto;
        scrollbar-gutter: stable;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-height: 100vh;
    background-color: transparent;
}

.page-wrapper {
    flex: 1 0 auto;
    width: 100%;
}

.header,
.footer {
    flex-shrink: 0;
}

/* ==========================================================================
   Фоновое изображение (body::before → fonp.webp)
   ========================================================================== */

body::before {
    opacity: 0.92;
}

@media only screen and (max-width: 1024px) {
    body {
        background-color: var(--fk-bg);
    }

    body::before {
        display: none !important;
    }
}

.work--fullpage .content.page {
    background-color: transparent;
}

/* ==========================================================================
   Header & menu (глобально)
   ========================================================================== */
.header .container {
    max-width: var(--fk-container-max);
    padding-left: var(--fk-container-padding);
    padding-right: var(--fk-container-padding);
}

/* ==========================================================================
   Inner pages — ширина и хлебные крошки
   ========================================================================== */
.page-inner {
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
}

.page-inner .content.page .container {
    max-width: var(--fk-container-max);
    padding-left: var(--fk-container-padding);
    padding-right: var(--fk-container-padding);
}

@media only screen and (max-width: 768px) {
    /* main.css обнуляет padding у .additional-info — текст липнет к краям карточки */
    .page-inner .additional-info {
        padding: clamp(18px, 4vw, 24px) clamp(16px, 4.5vw, 22px);
        border-radius: var(--fk-radius-lg);
        box-shadow: var(--fk-shadow);
        background-color: var(--fk-surface);
    }
}

/* Hero — навигация разделов и крошки поверх баннера */
.page-inner .z-page {
    position: relative;
}

.page-inner .z-page > .container.u-relative.u-collapse--top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 7;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 18px;
    pointer-events: none;
}

.page-inner .z-page > .container.z-page__nav:first-of-type {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 18px;
    pointer-events: none;
}

.page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 44px;
    height: auto;
    padding: 0;
    margin: 0;
    color: #fff;
    /* full width for menu layout, but let clicks pass through empty area to crumbs */
    pointer-events: none;
}

.page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav a,
.page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav button,
.page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav .z-page-nav__list,
.page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav .z-page-nav__further,
.page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav .z-page-nav__popup,
.page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav > span {
    pointer-events: auto;
}

.page-inner .z-page > .container.z-page__nav:has(.z-page-nav--single) {
    display: none;
}

.page-inner .z-page .z-page-nav > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-inner .z-page .z-page-nav:after {
    display: none;
}

.page-inner .z-page .z-page-nav__list {
    /* beat theme `.z-page-nav__list { display: inline-block !important }` */
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px 20px;
    width: auto;
    max-width: 100%;
    height: auto;
    overflow: visible;
    text-align: right;
    font-size: inherit;
    white-space: normal;
}

.page-inner .z-page .z-page-nav__item {
    display: inline-flex;
    align-items: center;
    margin-left: 0;
}

.page-inner .z-page .z-page__crumbs {
    position: relative;
    top: auto;
    display: flex;
    align-items: center;
    max-width: none;
    min-height: 44px;
    margin: 0;
    padding: 10px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    pointer-events: auto;
}

.page-inner .z-page:has(.z-page-nav:not(.z-page-nav--single)) .z-page__crumbs {
    padding-right: min(48%, 620px);
}

.page-inner .z-page .z-page__crumbs .crumbs {
    margin: 0 !important;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.page-inner .z-page .z-page-nav__link {
    display: inline-block;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.4;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1;
    border-bottom: none;
}

.page-inner .z-page .z-page-nav__link:hover {
    color: #fff !important;
    opacity: 1;
}

@media only screen and (max-width: 1080px) {
    .page-inner .z-page > .container.z-page__nav:first-of-type {
        overflow: visible;
    }

    .page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav {
        pointer-events: auto;
        position: relative;
        --z-page-nav-mobile-gutter: 10px;
        width: calc(100% + 2 * var(--fk-container-padding, 20px) - 2 * var(--z-page-nav-mobile-gutter));
        max-width: none;
        margin-left: calc(-1 * var(--fk-container-padding, 20px) + var(--z-page-nav-mobile-gutter));
        margin-right: calc(-1 * var(--fk-container-padding, 20px) + var(--z-page-nav-mobile-gutter));
        border-bottom: none;
        justify-content: flex-end;
        box-sizing: border-box;
        padding: 8px 8px 0;
        border: 1px solid transparent;
        border-radius: 14px;
        background: transparent;
    }

    .page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav.is-open {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        position: relative;
        background: #fff;
        border-color: #e2e8f0;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
        padding: 8px 8px 10px;
    }

    /* Кнопка подменю: текст скрыт, стрелка на span (кликабельно целиком) */
    .page-inner .z-page .z-page-nav:not(.z-page-nav--single):before {
        display: none !important;
        content: none !important;
    }

    .page-inner .z-page .z-page-nav > span {
        position: relative;
        z-index: 5;
        display: block;
        flex-shrink: 0;
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
        margin: 0;
        overflow: hidden;
        clip: auto;
        clip-path: none;
        white-space: nowrap;
        text-indent: 120%;
        box-sizing: border-box;
        cursor: pointer;
        pointer-events: auto;
        font-size: 0;
        line-height: 0;
        color: transparent;
        background: rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.32);
        border-radius: 10px;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    }

    .page-inner .z-page .z-page-nav > span:active {
        transform: scale(0.96);
    }

    .page-inner .z-page .z-page-nav > span::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 7px;
        height: 12px;
        margin: -6px 0 0 -3.5px;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='11' viewBox='0 0 7 11'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' d='M1.304 1L5 5.5 1 10'/%3E%3C/svg%3E");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        transform: rotate(90deg);
        transition: transform 0.2s ease;
        pointer-events: none;
    }

    .page-inner .z-page .z-page-nav.is-open > span {
        position: absolute;
        top: 8px;
        right: 8px;
        margin: 0;
        background: #f1f5f9;
        border-color: #bae6fd;
        box-shadow: 0 0 0 3px rgba(11, 122, 192, 0.14);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .page-inner .z-page .z-page-nav.is-open > span:active {
        transform: scale(0.96);
    }

    .page-inner .z-page .z-page-nav.is-open > span::after {
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='11' viewBox='0 0 7 11'%3E%3Cpath fill='none' stroke='%230b7ac0' stroke-width='2' d='M1.304 1L5 5.5 1 10'/%3E%3C/svg%3E");
        transform: rotate(-90deg);
    }

    .page-inner .z-page .z-page-nav__list {
        display: none !important;
        position: absolute;
        top: calc(100% + 8px);
        bottom: auto;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100%;
        margin: 0;
        padding: 8px !important;
        text-align: left;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 14px 40px rgba(15, 23, 42, 0.14);
        z-index: 25;
        box-sizing: border-box;
    }

    .page-inner .z-page .z-page-nav.is-open .z-page-nav__item:first-child .z-page-nav__link {
        padding-top: 8px !important;
    }

    .page-inner .z-page .z-page-nav.is-open .z-page-nav__list {
        display: flex !important;
        position: static;
        top: auto;
        flex-direction: column;
        gap: 4px;
        width: 100% !important;
        margin: 0;
        padding: 0 48px 0 0 !important;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        z-index: 1;
    }

    .page-inner .z-page .z-page-nav__item {
        display: block;
        width: 100%;
        height: auto;
        line-height: inherit;
        margin: 0;
    }

    .page-inner .z-page .z-page-nav__link,
    .page-inner .z-page .z-page-nav__link.z-page-nav__link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 12px 14px !important;
        color: #334155 !important;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.35;
        vertical-align: middle;
        border-bottom: none !important;
        border-radius: 10px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .page-inner .z-page .z-page-nav__link:hover,
    .page-inner .z-page .z-page-nav__link.z-page-nav__link:hover {
        color: #0b7ac0 !important;
        background: #f0f9ff;
    }

    .page-inner .z-page .z-page-nav__link.is-current,
    .page-inner .z-page .z-page-nav__link.z-page-nav__link.is-current {
        color: #0b7ac0 !important;
        background: #e0f2fe;
        font-weight: 600;
        pointer-events: none;
    }
}

.page-inner .z-page .z-page__crumbs .crumbs .link,
.page-inner .z-page .z-page__crumbs .crumbs__item a {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 400;
}

.page-inner .z-page .z-page__crumbs .crumbs__item span {
    font-weight: 400;
}

.page-inner .z-page .z-page__crumbs .crumbs .link:hover,
.page-inner .z-page .z-page__crumbs .crumbs__item a:hover {
    color: #fff !important;
}

.page-inner .z-page .z-page__crumbs .crumbs__item:last-child span,
.page-inner .z-page .z-page__crumbs .crumbs__item:last-child .link {
    color: #fff !important;
    font-weight: 400;
}

.page-inner .z-page .z-page__crumbs .crumbs__item::after {
    color: rgba(255, 255, 255, 0.45);
}

.page-inner .z-page .page-banner-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Reserve banner space + early bg before Vue mounts (prevents CLS / late pop-in) */
.page-banner-wrapper {
    min-height: 260px;
    background-image: var(--fk-banner-bg, none);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

.page-banner-wrapper[style*="--fk-banner-bg"] {
    background-color: #031321;
}

.page-home .homepage__banners .page-banner-wrapper {
    position: relative;
    overflow: hidden;
}

/* Theme .content *+* adds 20px/40px margin between prerender and <page-banner> */
.page-home .homepage__banners .page-banner-wrapper > * {
    margin-top: 0;
}

.page-home .homepage__banners page-banner,
.page-home .homepage__banners .page-banner {
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}

/* LCP на главной: картинка в prerender, не дублировать на wrapper (--fk-banner-bg только для fallback) */
.page-home .homepage__banners .page-banner-wrapper.homepage-banner-lcp {
    background-image: none;
}

.page-home .homepage__banners .page-banner__banner--prerender {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 0;
    pointer-events: none;
}

.page-banner-wrapper[style*="--fk-banner-bg"] .page-banner__banner:not(.page-banner__banner--prerender),
.page-home .homepage__banners .page-banner-wrapper:has(.page-banner__banner--prerender) .page-banner__banner:not(.page-banner__banner--prerender) {
    background-image: none !important;
}

.page-home .homepage__banners .page-banner-wrapper page-banner,
.page-home .homepage__banners .page-banner-wrapper .page-banner {
    position: relative;
    z-index: 1;
}

@media (min-width: 1025px) {
    .page-home .homepage__banners .page-banner--js-animate:after {
        display: none !important;
    }

    .page-home .homepage__banners .page-banner-wrapper {
        height: auto;
        min-height: 0;
    }

    /* Empty CMS text slot (margin 1rem) made unknown banner 438 vs Vue 422 */
    .page-home .homepage__banners page-banner > [slot="text"] {
        display: none;
        margin: 0;
    }

    /* Empty Vue __info (10px padding) added 14px after hydrate: wrapH 438→452 */
    .page-home .homepage__banners .page-banner__info {
        padding-top: 0;
    }

    .page-home .homepage__banners .page-banner__info:not(:has(.btn, .page-banner__text p:not(:empty))) {
        display: none;
    }

    .page-home .homepage__banners page-banner,
    .page-home .homepage__banners .page-banner {
        padding-top: 200px;
        padding-bottom: 90px;
    }

    /* Slot was 2.5rem/300, Vue title is 52px/600.
       Mimic .container CONTENT box (max - 2*padding): padding on the slot
       made titleLeft 153→201 on hydrate. */
    .page-home .homepage__banners page-banner > [slot="title"],
    .page-home .homepage__banners page-banner > h1[slot="title"] {
        margin: 0 auto;
        width: 100%;
        max-width: calc(var(--fk-container-max) - 2 * var(--fk-container-padding));
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
        font-family: var(--fk-font);
        font-size: clamp(32px, 4vw, 52px);
        font-weight: 600;
        line-height: 1.08;
        letter-spacing: -0.03em;
        opacity: 0;
    }

    .page-inner .z-page .page-banner-wrapper {
        height: 260px;
    }

    .page-inner .z-page page-banner > [slot="title"],
    .page-inner .z-page page-banner > h1[slot="title"],
    .page-inner .z-page .page-banner__title {
        font-family: var(--fk-font);
        font-size: 2.625rem;
        font-weight: 300;
        line-height: 1.19;
    }

    .page-inner .z-page page-banner > [slot="title"],
    .page-inner .z-page page-banner > h1[slot="title"] {
        margin: 0 auto;
        width: 100%;
        max-width: calc(var(--fk-container-max) - 2 * var(--fk-container-padding));
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
        opacity: 0;
    }
}

/* Unknown <page-banner> paints as a block with content before Vue compiles it */
page-banner {
    display: block;
    position: relative;
    color: #fff;
    padding: 130px 0 52px;
    box-sizing: border-box;
    min-height: 260px;
}

page-banner > [slot="title"],
page-banner > h1[slot="title"] {
    display: block;
    position: relative;
    z-index: 10;
    margin: 0 auto;
    max-width: var(--fk-container-max, 1200px);
    padding: 0 var(--fk-container-padding, 20px);
    font-weight: 300;
    font-size: 2.5rem;
    line-height: 1.2;
}

page-banner > [slot="text"] {
    display: block;
    position: relative;
    z-index: 10;
    margin: 1rem auto 0;
    max-width: var(--fk-container-max, 1200px);
    padding: 0 var(--fk-container-padding, 20px);
}

/* Skip white flash; keep overlay opacity constant so the photo does not appear to drop */
@media (min-width: 1025px) {
    .page-banner--js-animate:after {
        display: none !important;
    }

    .page-banner--js-animate:before,
    .page-banner--is-animate:before {
        animation: none !important;
        opacity: 0.6 !important;
    }

    page-banner::before,
    .page-banner-wrapper[style*="--fk-banner-bg"]::before,
    .page-home .homepage__banners .page-banner__banner--prerender::after {
        content: '';
        position: absolute;
        inset: 0;
        background-color: #031321;
        opacity: 0.6;
        z-index: 2;
        pointer-events: none;
    }

    .page-banner-wrapper:has(.page-banner)::before,
    .page-home .homepage__banners .page-banner-wrapper:has(.page-banner) .page-banner__banner--prerender::after {
        display: none;
    }

    .page-inner .page-banner:not(.page-banner--main) {
        padding-top: 130px;
        padding-bottom: 52px;
        min-height: 260px;
    }
}

@media only screen and (max-width: 1024px) {
    .page-banner-wrapper,
    page-banner {
        min-height: 160px;
        padding: 0;
    }

    .page-home .homepage__banners .page-banner-wrapper {
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    /* Unknown <page-banner> must already match Vue header padding + title.
       Ticker is 12+4+88+4+12 = 120px; +16px gap → 136px (200px left an 80px hole). */
    .page-home .homepage__banners page-banner {
        height: auto;
        min-height: 0;
        padding: 136px 0 32px;
        overflow: hidden;
    }

    .page-home .homepage__banners .page-banner {
        height: auto;
        min-height: 0;
        padding: 0;
    }

    .page-home .homepage__banners .page-banner__header {
        padding-top: 136px;
        padding-bottom: 32px;
    }

    .page-home .homepage__banners page-banner > [slot="title"],
    .page-home .homepage__banners page-banner > h1[slot="title"] {
        margin: 0 auto;
        width: 100%;
        max-width: var(--fk-container-max);
        padding: 0 var(--fk-container-padding);
        box-sizing: border-box;
        font-family: var(--fk-font);
        font-size: clamp(32px, 4vw, 52px);
        font-weight: 600;
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    /* Vue puts slot inside h1.page-banner__title — nested h1 must not pick theme 42px */
    .page-home .homepage__banners .page-banner__title h1,
    .page-inner .z-page .page-banner__title h1 {
        margin: 0;
        font-family: inherit;
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
        letter-spacing: inherit;
    }

    .page-home .homepage__banners page-banner > [slot="title"] p,
    .page-home .homepage__banners page-banner > h1[slot="title"] p {
        margin: 20px 0 0;
    }

    /* CMS text slot is an empty <p> with whitespace — :empty does not match */
    .page-home .homepage__banners page-banner > [slot="text"] {
        display: none;
        margin: 0;
    }

    .page-home .homepage__banners .page-banner__info {
        padding-top: 0;
    }

    .page-home .homepage__banners .page-banner__info:not(:has(.btn, .page-banner__text p:not(:empty))) {
        display: none;
    }

    .page-home .homepage__banners .page-banner__banner--prerender::after {
        content: '';
        position: absolute;
        inset: 0;
        background-color: #031321;
        opacity: 0.5;
        z-index: 2;
        pointer-events: none;
    }

    .page-home .homepage__banners .page-banner__banner:before {
        display: none;
    }

    .page-inner .page-banner:not(.page-banner--main) {
        min-height: 160px;
        padding: 0;
    }

    /* Внутренние страницы: компактный hero */
    .page-inner .z-page .page-banner-wrapper {
        min-height: 153px;
        height: auto;
    }

    .page-inner .z-page .page-banner-wrapper > * {
        margin-top: 0;
    }

    /* Overlay on wrapper, above the photo, below the title */
    .page-inner .z-page .page-banner-wrapper[style*="--fk-banner-bg"]::before {
        content: '';
        position: absolute;
        inset: 0;
        background-color: #031321;
        opacity: 0.5;
        z-index: 4;
        pointer-events: none;
    }

    .page-inner .z-page .page-banner,
    .page-inner .z-page page-banner {
        position: relative;
        z-index: auto;
        overflow: hidden;
    }

    /* Header must not be the containing block: banner+overlay must cover __info too */
    .page-inner .z-page .page-banner__header {
        position: static;
    }

    .page-inner .z-page .page-banner .container,
    .page-inner .z-page .page-banner__title {
        position: relative;
        z-index: 5;
    }

    .page-inner .z-page .page-banner__title {
        font-family: var(--fk-font);
    }

    .page-inner .z-page .page-banner__banner {
        top: 0;
        bottom: 0;
        left: 0;
        height: auto;
        width: 100%;
    }

    .page-inner .z-page .page-banner__banner:before {
        display: none;
    }

    /* Empty slot text still renders __info with padding-top: 10px — that was the bright strip */
    .page-inner .z-page .page-banner__info {
        padding-top: 0;
        min-height: 0;
    }

    .page-inner .z-page .page-banner__info .page-banner__text p:empty {
        display: none;
        margin: 0;
    }

    .page-inner .z-page .page-banner__info:not(:has(.btn, .page-banner__text p:not(:empty))) {
        display: none;
    }

    .page-inner .z-page .page-banner:not(.page-banner--main) {
        min-height: 153px;
    }

    .page-inner .z-page .page-banner:not(.page-banner--main) .page-banner__header {
        padding-top: 96px;
        padding-bottom: 14px;
    }

    .page-inner .z-page page-banner {
        min-height: 153px;
        padding: 96px 0 14px;
    }

    .page-inner .z-page page-banner > [slot="title"],
    .page-inner .z-page page-banner > h1[slot="title"] {
        margin: 0;
        font-family: var(--fk-font);
        font-size: 27px;
        font-weight: 300;
        line-height: 1.1;
    }
}

.page-inner .z-page .page-banner,
.page-inner .z-page .page-banner::before,
.page-inner .z-page .page-banner__banner {
    pointer-events: none;
}

.page-inner .z-page .page-banner .container,
.page-inner .z-page .page-banner__info,
.page-inner .z-page .page-banner__info .container,
.page-inner .z-page .page-banner .btn {
    pointer-events: auto;
}

@media only screen and (max-width: 1080px) {
    /* Крошки на баннере на мобильных не показываем */
    .page-inner .z-page > .container.u-relative.u-collapse--top,
    .page-inner .z-page .z-page__crumbs {
        display: none !important;
    }

    .page-inner .z-page > .container.z-page__nav:first-of-type {
        padding-top: 16px;
    }

    .page-inner .z-page:has(.z-page-nav:not(.z-page-nav--single)) > .container.z-page__nav:first-of-type {
        top: 0;
        bottom: auto;
    }

    .page-inner .z-page > .container.z-page__nav:first-of-type .z-page-nav {
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 0;
        min-height: 40px;
        border-bottom: none;
    }
}

.page-inner .content .crumbs,
.page-inner .z-page__crumbs .crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 20px;
    padding: 0;
    overflow: visible;
    white-space: normal;
    font-family: var(--fk-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.page-inner .content .crumbs__item,
.page-inner .z-page__crumbs .crumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.page-inner .content .crumbs__item + .crumbs__item,
.page-inner .z-page__crumbs .crumbs__item + .crumbs__item {
    margin-left: 0;
}

.page-inner .content .crumbs__item::after,
.page-inner .z-page__crumbs .crumbs__item::after {
    content: '/';
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    transform: none;
    background: none;
    color: var(--fk-text-muted);
    font-size: 12px;
    font-weight: 400;
    opacity: 0.45;
}

.page-inner .content .crumbs__item:last-child::after,
.page-inner .z-page__crumbs .crumbs__item:last-child::after {
    display: none;
}

.page-inner .content .crumbs__link,
.page-inner .z-page__crumbs .crumbs .link,
.page-inner .z-page__crumbs .crumbs__item a {
    color: var(--fk-text-muted);
    font-weight: 400;
    font-size: 13px;
    text-decoration: none;
    border-bottom: none !important;
    transition: color 0.2s ease;
}

.page-inner .content .crumbs__link:hover,
.page-inner .z-page__crumbs .crumbs .link:hover,
.page-inner .z-page__crumbs .crumbs__item a:hover {
    color: var(--fk-primary);
    border-bottom: none !important;
}

.page-inner .content .crumbs__link--static,
.page-inner .content .crumbs__item:last-child .crumbs__link,
.page-inner .content .crumbs__item:last-child span,
.page-inner .z-page__crumbs .crumbs__item:last-child span {
    color: var(--fk-text);
    font-weight: 400;
}

.page-inner .z-page__crumbs .crumbs__item a.home {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
}

.page-inner .page__title {
    margin: 0 0 clamp(20px, 3vw, 32px);
    align-items: flex-end;
}

.page-inner .page__title > h1 {
    font-family: var(--fk-font);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--fk-text);
}

@media only screen and (min-width: 1025px) {
    .header__main {
        height: 88px;
        background: transparent;
        overflow: visible;
    }

    .header__main > .container {
        overflow: visible;
    }

    .header-main {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: clamp(16px, 2vw, 32px);
        width: 100%;
        min-width: 0;
    }

    .header-main .hamburger {
        display: none;
    }

    .header-main__center {
        grid-column: 1;
        flex-shrink: 0;
        margin: 0;
        gap: 16px;
        align-items: center;
        min-width: 0;
    }

    .header-main__search {
        display: none;
    }

    .header-main__logo {
        margin-right: 0;
        height: 52px;
        flex-shrink: 0;
    }

    html[lang=ru] .header-main__logo,
    html[lang=en] .header-main__logo {
        margin-top: 0;
    }

    .header-main__logo .link,
    .header-main__logo a {
        display: block;
        height: 52px;
    }

    .header-main__logo img {
        max-height: 52px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .z-nav {
        grid-column: 2;
        display: block;
        flex: none !important;
        flex-basis: auto !important;
        max-width: none !important;
        width: 100%;
        min-width: 0;
        margin-left: 0;
        height: auto;
        overflow: visible;
    }

    .z-nav__list {
        justify-content: flex-end;
        align-items: center;
        gap: clamp(12px, 1.2vw, 28px);
        height: auto;
        flex-wrap: wrap;
    }

    .z-nav__item {
        flex-shrink: 0;
        height: auto;
    }

    .z-nav__link {
        font-size: clamp(13px, 0.85vw, 15px);
        font-weight: 500;
        color: var(--fk-text);
        letter-spacing: 0.01em;
        padding: 6px 2px;
        white-space: nowrap;
        height: auto;
    }

    .z-nav a.z-nav__link:hover {
        color: var(--fk-primary);
    }

    .z-nav__item > .z-nav__link:not(.z-nav__link--1) {
        position: relative;
    }

    .z-nav__item > .z-nav__link:not(.z-nav__link--1)::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: var(--fk-primary);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.2s ease;
    }

    .z-nav__item > .z-nav__link:not(.z-nav__link--1):hover::after {
        transform: scaleX(1);
    }
}

/* Мобильная шапка и основное меню */
@media only screen and (max-width: 1024px) {
    .header__main {
        background: transparent;
    }

    .z-nav.is-open {
        background-color: #f1f5f9;
        padding: 10px var(--fk-container-padding, 20px) 24px;
        border-top: 1px solid #e2e8f0;
        box-sizing: border-box;
    }

    .z-nav__list {
        min-height: 0;
        padding: 6px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
        gap: 2px;
        box-sizing: border-box;
    }

    .z-nav__item {
        border-top: none !important;
        width: 100%;
    }

    .z-nav__item:last-of-type,
    .z-nav__container {
        border-bottom: none !important;
    }

    .z-nav__link,
    .z-nav__link:not(.z-nav__link--sub) {
        position: relative;
        display: block;
        padding: 13px 44px 13px 14px !important;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.35;
        color: #334155 !important;
        border-bottom: none !important;
        border-radius: 10px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .z-nav a.z-nav__link:hover,
    .z-nav__link:not(.z-nav__link--sub):hover {
        background-color: #f0f9ff;
        color: #0b7ac0 !important;
    }

    .z-nav__link.is-current,
    .z-nav__link.is-current:not(.z-nav__link--sub) {
        background-color: #e0f2fe;
        color: #0b7ac0 !important;
        font-weight: 600;
    }

    .z-nav__link.is-current:before {
        border-radius: 0 3px 3px 0;
    }

    .z-nav__col .z-nav__childs-item {
        border-top: none !important;
    }

    .z-nav__childs-item--parent .z-nav__link--2:after,
    .z-nav__link--1:after {
        right: 16px;
    }

    .z-nav__list--other {
        margin-top: 12px;
        padding: 6px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    }

    .z-nav__item--other {
        text-align: left;
    }

    .z-nav__item--other + .z-nav__item--other {
        margin-top: 0;
    }

    .z-nav__item--lang {
        margin-top: 12px;
        border: none !important;
    }

    .z-nav__link--1 + .z-nav__childs,
    .z-nav__link--2 + .z-nav__childs {
        background-color: #fff;
    }

    /* Кнопка меню в шапке — в одном стиле с подменю раздела на hero */
    .header-main .hamburger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        padding: 0;
        margin: 0;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
        overflow: visible;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    }

    .header-main .hamburger:hover {
        opacity: 1;
        background: #f8fafc;
        border-color: #cbd5e1;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    }

    .header-main .hamburger:active {
        transform: scale(0.96);
    }

    .header-main .hamburger.is-active {
        background: #f1f5f9;
        border-color: #bae6fd;
        box-shadow: 0 0 0 3px rgba(11, 122, 192, 0.14);
    }

    .header-main .hamburger:focus-visible {
        outline: 2px solid #0b7ac0;
        outline-offset: 2px;
    }

    .header-main .hamburger .hamburger-box {
        width: 18px;
        height: 18px;
    }

    .header-main .hamburger .hamburger-inner {
        display: block;
        top: 50%;
        margin-top: -1px;
    }

    .header-main .hamburger .hamburger-inner,
    .header-main .hamburger .hamburger-inner::before,
    .header-main .hamburger .hamburger-inner::after {
        width: 18px;
        height: 2px;
        background-color: #334155;
        border-radius: 1px;
        transition:
            transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.18s ease,
            top 0.22s cubic-bezier(0.4, 0, 0.2, 1),
            bottom 0.22s cubic-bezier(0.4, 0, 0.2, 1),
            background-color 0.2s ease;
    }

    .header-main .hamburger .hamburger-inner::before {
        top: -6px;
    }

    .header-main .hamburger .hamburger-inner::after {
        bottom: -6px;
    }

    .header-main .hamburger.is-active .hamburger-inner,
    .header-main .hamburger.is-active .hamburger-inner::before,
    .header-main .hamburger.is-active .hamburger-inner::after {
        background-color: #0b7ac0;
    }

    /* Крестик: две линии из центра (среднюю скрываем, не opacity — иначе пропадает весь слой) */
    .header-main .hamburger.hamburger--squeeze.is-active .hamburger-inner {
        background-color: transparent;
        transform: none !important;
    }

    .header-main .hamburger.hamburger--squeeze.is-active .hamburger-inner::before {
        top: 0;
        opacity: 1;
        transform: rotate(45deg);
    }

    .header-main .hamburger.hamburger--squeeze.is-active .hamburger-inner::after {
        top: 0;
        bottom: auto;
        opacity: 1;
        transform: rotate(-45deg);
    }
}

.header__main {
    border-bottom: none;
    box-shadow: none;
}

/* Широкий контейнер на главной */
.page-home {
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
}

/* Galvanite-style typography helpers */
.fk-eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fk-primary);
}

.fk-section-head {
    margin: 0 0 28px;
}

.fk-section-head__title,
.homepage__section-title,
.page-home .homepage__sections .section__header h2,
.page-home .homepage .main-page-news .container--header h2,
.page-home .homepage .section--news-block .section__header h2,
.page-home .homepage .section--news-block .section__header .header-1 {
    margin: 0;
    font-family: var(--fk-font);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--fk-text);
}

.page-home .homepage__sections .section__header.fk-section-head {
    margin-bottom: 28px;
}

/* Широкий контейнер на главной */
.page-home .container {
    max-width: var(--fk-container-max);
    padding-left: var(--fk-container-padding);
    padding-right: var(--fk-container-padding);
}

/* Текстовые блоки без искусственного ограничения ширины */
.about-section__text {
    max-width: none;
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.page-home .homepage-hero {
    position: relative;
}

/* Тикер матчей без hero-слайдов: якорь над баннерами, чтобы absolute-тикер их перекрывал */
.page-home .homepage-hero--ticker-only {
    height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    z-index: 5;
}

.page-home .homepage-hero--ticker-only .homepage__matches-ticker {
    pointer-events: auto;
}

/* Баннеры — сразу под hero, фон на всю ширину, текст с нормальными отступами */
.homepage__banners {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.homepage__banners > * {
    max-width: none;
}

.homepage__banners img,
.homepage__banners video,
.homepage__banners iframe,
.homepage__banners .banner,
.homepage__banners [class*="banner"] {
    display: block;
    width: 100%;
    max-width: none;
}

.homepage__banners .page-banner__banner {
    width: 100%;
    left: 0;
}

.homepage__banners .page-banner-wrapper,
.homepage__banners .page-banner,
.homepage__banners .section--banner-media {
    width: 100%;
    max-width: none;
}

.page-home .homepage__banners .container {
    max-width: var(--fk-container-max);
    padding-left: var(--fk-container-padding);
    padding-right: var(--fk-container-padding);
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 1024px) {
    .homepage__banners .page-banner__banner {
        width: 100%;
    }
}

.page-home .homepage__banners.container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.page-home .homepage__below-hero.container {
    max-width: var(--fk-container-max);
}

.homepage__below-hero {
    padding-top: 40px;
    padding-bottom: 0;
}

.homepage__sections {
    margin-top: var(--fk-section-gap);
}

.homepage__sections > * + * {
    margin-top: var(--fk-section-gap);
}

/* Бегущая строка матчей — на всю ширину экрана */
.homepage__matches-ticker {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 4;
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 12px 0;
    transform: translateX(-50%);
    box-sizing: border-box;
    background: transparent;
}

.homepage__matches-ticker .swiper {
    padding: 4px 0;
    overflow: visible;
}

.homepage__matches-ticker .swiper-slide {
    width: 300px;
    padding: 0 6px;
}

.homepage__matches-ticker .slider-game {
    min-height: 88px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.homepage__matches-ticker .slider-game__club-img {
    height: 44px !important;
}

.homepage__matches-ticker .slider-game__center-time {
    color: var(--fk-text);
    font-size: 15px;
    white-space: nowrap;
}

.homepage__matches-ticker .slider-game__center-timesmall {
    font-size: 12px;
    color: var(--fk-text-muted);
}

/* О турнире — текст + обращение в одной карточке */
.homepage__about {
    overflow: hidden;
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius-lg);
    box-shadow: var(--fk-shadow);
    background: var(--fk-surface);
}

.homepage__about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0;
    align-items: start;
}

.homepage__about-text {
    padding: 28px 32px 32px;
}

.homepage__about-text .additional-info,
.page-home .homepage__about-text .about-section {
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    font-size: 17px;
}

.page-home .homepage__about-text .about-section .section__header {
    margin-bottom: 0;
}

.page-home .homepage__about-text .about-section__title {
    font-size: clamp(26px, 2.5vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.page-home .homepage__about-text .additional-info__text,
.page-home .homepage__about-text .additional-info__text--center,
.page-home .homepage__about-text .about-section__text {
    max-width: none;
    margin: 0;
    text-align: left;
    font-size: 16px;
    line-height: 1.7;
    color: var(--fk-text);
    column-count: 1;
}

.page-home .homepage__about-text .additional-info__text p {
    margin: 0 0 0.85em;
}

.page-home .homepage__about-text .additional-info__text p:last-child {
    margin-bottom: 0;
}

.homepage__about-media {
    position: relative;
    margin: 0;
    overflow: visible;
    background: transparent;
}

.homepage__about-media .homepage__address-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center top;
    border-radius: 0;
    box-shadow: none;
}

/* До 1549px — картинка на всю ширину карточки сверху */
@media only screen and (max-width: 1549px) {
    .homepage__about-grid {
        grid-template-columns: 1fr;
    }

    .homepage__about-media {
        order: -1;
        border-bottom: 1px solid var(--fk-border);
    }

    .homepage__about-text {
        padding-top: 24px;
    }
}

@media only screen and (min-width: 1550px) {
    .homepage__about-media {
        border-left: 1px solid var(--fk-border);
    }
}

.homepage__theses {
    margin-top: var(--fk-section-gap);
}

.homepage__sections > .homepage__section {
    margin-top: var(--fk-section-gap);
}

/* Recommended sections */
.homepage .recommended-section {
    margin-top: 0;
}

.homepage .recommended-section-item {
    min-height: 380px;
    border-radius: var(--fk-radius-lg);
    box-shadow: var(--fk-shadow);
    transition: transform 0.4s var(--fk-ease-out), box-shadow 0.4s var(--fk-ease-out);
}

.homepage .directions__items {
    row-gap: 20px;
    column-gap: 24px;
    margin: 0;
}

.homepage .direction-card {
    flex: 1 1 calc(50% - 12px);
    padding: 20px 24px;
    margin-top: 0;
}

.homepage .recommended-section-item__title {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 600;
}

.homepage .recommended-section-item__text {
    font-size: 15px;
    line-height: 1.45;
}

/* Finals video slider */
.homepage__video-slider {
    margin-top: 0;
    padding: 16px;
    background: var(--fk-surface);
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius);
    box-shadow: var(--fk-shadow);
}

.homepage__video-slider .swiper-slide__content {
    border-radius: var(--fk-radius);
    overflow: hidden;
}

.homepage__video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--fk-radius);
    background: #0d1117;
}

.homepage__video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.homepage__video-slider .swiper-pagination-bullet-active {
    background: var(--fk-primary);
}

/* Современные кнопки навигации Swiper (--work) */
.page-home .swiper-container--work .swiper-button-next--work,
.page-home .swiper-container--work .swiper-button-prev--work,
.page-home .swiper-container--work [class*="swiper-button-next--work"],
.page-home .swiper-container--work [class*="swiper-button-prev--work"] {
    position: absolute;
    top: 50%;
    bottom: auto;
    z-index: 5;
    width: 48px;
    height: 48px;
    margin-top: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.94);
    background-size: 22px 22px;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(227, 234, 242, 0.9);
    box-shadow: 0 4px 18px rgba(15, 35, 65, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.25s var(--fk-ease-out),
        background-color 0.25s var(--fk-ease-out),
        box-shadow 0.25s var(--fk-ease-out);
}

.page-home .swiper-container--work .swiper-button-next--work,
.page-home .swiper-container--work [class*="swiper-button-next--work"] {
    right: 16px;
    left: auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%230b7ac0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-home .swiper-container--work .swiper-button-prev--work,
.page-home .swiper-container--work [class*="swiper-button-prev--work"] {
    left: 16px;
    right: auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15 6l-6 6 6 6' stroke='%230b7ac0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-home .swiper-container--work .swiper-button-next--work:hover,
.page-home .swiper-container--work .swiper-button-prev--work:hover,
.page-home .swiper-container--work [class*="swiper-button-next--work"]:hover,
.page-home .swiper-container--work [class*="swiper-button-prev--work"]:hover {
    background-color: var(--fk-primary);
    box-shadow: 0 8px 28px rgba(11, 122, 192, 0.32);
    transform: translateY(-50%) scale(1.06);
}

.page-home .swiper-container--work .swiper-button-next--work:hover,
.page-home .swiper-container--work [class*="swiper-button-next--work"]:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-home .swiper-container--work .swiper-button-prev--work:hover,
.page-home .swiper-container--work [class*="swiper-button-prev--work"]:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15 6l-6 6 6 6' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-home .swiper-container--work .swiper-button-next--work.swiper-button-disabled,
.page-home .swiper-container--work .swiper-button-prev--work.swiper-button-disabled,
.page-home .swiper-container--work [class*="swiper-button-next--work"].swiper-button-disabled,
.page-home .swiper-container--work [class*="swiper-button-prev--work"].swiper-button-disabled {
    opacity: 0.35;
    transform: translateY(-50%) scale(1);
    pointer-events: none;
}

.page-home .homepage__video-slider .swiper-navigation {
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .homepage__video-slider {
        padding: 0;
        overflow: hidden;
    }

    /* main.css тянет слайдер за пределы карточки — сбрасываем */
    .homepage__video-slider .swiper-container--work {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .homepage__video-slider .swiper-slide__content,
    .homepage__video-slider .homepage__video-embed {
        border-radius: 0;
    }

    /* Кнопки и счётчик — под видео, не поверх плеера */
    .homepage__video-slider .swiper-controls {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px 16px 4px;
    }

    .homepage__video-slider .swiper-navigation {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        margin: 0;
    }

    .page-home .homepage__video-slider .swiper-container--work .swiper-button-next--work,
    .page-home .homepage__video-slider .swiper-container--work .swiper-button-prev--work,
    .page-home .homepage__video-slider .swiper-container--work [class*="swiper-button-next--work"],
    .page-home .homepage__video-slider .swiper-container--work [class*="swiper-button-prev--work"] {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        bottom: auto;
        margin: 0;
        transform: none;
        width: 40px;
        height: 40px;
        background-size: 18px 18px;
        flex-shrink: 0;
    }

    .homepage__video-slider .swiper-container--work .swiper-pagination,
    .homepage__video-slider .swiper-container--work .swiper-pagination-fraction {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin: 0;
        padding: 4px 16px 14px;
        justify-content: center;
        color: var(--fk-text-muted);
        font-size: 13px;
    }
}

/* Promo video */
.homepage__promo .homepage__video-wrapper {
    max-width: 100%;
    margin: 0;
}

.homepage__video-wrapper {
    border-radius: var(--fk-radius);
    overflow: hidden;
    box-shadow: var(--fk-shadow);
    background: var(--fk-surface);
}

.homepage__video-wrapper #customVideo {
    display: block;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.homepage__video-wrapper .play-button {
    width: 72px;
    height: 72px;
    background-size: 72px 72px;
    opacity: 0.92;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.homepage__video-wrapper .play-button:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
}

/* News block on homepage */
.homepage .section--news-block,
.homepage .main-page-news,
.homepage .homepage__news {
    padding: 32px;
    background: var(--fk-surface);
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius-lg);
    box-shadow: var(--fk-shadow);
}

.homepage__sections > .homepage__news {
    margin-top: var(--fk-section-gap);
}

.homepage .homepage__news .section__header::after {
    display: none;
    content: none;
}

.homepage .main-page-news > .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.homepage .main-page-news .container--header,
.homepage .section--news-block .section__header {
    margin-bottom: 28px;
}

.homepage .section--news-block .section__header::before,
.homepage .section--news-block .section__header::after {
    display: none;
    content: none;
}

.homepage .section--news-block .tile,
.homepage .main-page-news .tile {
    border-radius: var(--fk-radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homepage .section--news-block .tile:hover,
.homepage .main-page-news .tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--fk-shadow-hover);
}

/* Hero games slider */
.homepage__matches-ticker .slider-game.slider-game--calendar:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Content blocks from infoblock */
.homepage .additional-info {
    border-radius: var(--fk-radius-lg);
    border: 1px solid var(--fk-border);
    box-shadow: var(--fk-shadow);
}

.homepage .direction-card {
    border-radius: var(--fk-radius);
    background: var(--fk-surface);
    border: 1px solid var(--fk-border);
    box-shadow: var(--fk-shadow);
}

.homepage .direction-card:hover {
    box-shadow: var(--fk-shadow-hover);
    border-color: transparent;
}

.homepage .recommended-section-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--fk-shadow-hover);
}

/* Стеклянные карточки — фон fonp.webp просвечивает между секциями */
.page-home .homepage__about,
.page-home .homepage__video-slider,
.page-home .homepage .section--news-block,
.page-home .homepage .main-page-news,
.page-home .homepage .homepage__news,
.page-home .homepage__video-wrapper,
.page-home .homepage .direction-card {
    background: var(--fk-surface-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

/* ==========================================================================
   Homepage motion (scroll reveal, parallax)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    .fk-reveal {
        opacity: 0;
        transform: translateY(28px);
        transition:
            opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .fk-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .fk-reveal-group__item {
        opacity: 0;
        transform: translateY(22px);
        transition:
            opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .fk-reveal-group.is-visible .fk-reveal-group__item:nth-child(1) { transition-delay: 0.05s; }
    .fk-reveal-group.is-visible .fk-reveal-group__item:nth-child(2) { transition-delay: 0.12s; }
    .fk-reveal-group.is-visible .fk-reveal-group__item:nth-child(3) { transition-delay: 0.19s; }
    .fk-reveal-group.is-visible .fk-reveal-group__item:nth-child(4) { transition-delay: 0.26s; }

    .fk-reveal-group.is-visible .fk-reveal-group__item {
        opacity: 1;
        transform: translateY(0);
    }

    .homepage__banners .page-banner__banner:not(.page-banner__banner--prerender),
    .homepage__banners .page-banner__video {
        transform: scale(1.1);
        will-change: transform;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fk-reveal,
    .fk-reveal-group__item {
        opacity: 1;
        transform: none;
    }
}

.page-home .homepage__banners .page-banner__title {
    font-family: var(--fk-font);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.page-home .homepage__banners .page-banner__title p,
.page-home .homepage__banners page-banner > [slot="title"] p {
    margin: 20px 0 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.page-home .homepage__banners .page-banner__title h1,
.page-inner .z-page .page-banner__title h1 {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

@media only screen and (max-width: 768px) {
    :root {
        --fk-section-gap: 48px;
        --fk-container-padding: 20px;
    }

    .page-home .homepage__about,
    .page-home .homepage__video-slider,
    .page-home .homepage .section--news-block,
    .page-home .homepage .main-page-news,
    .page-home .homepage .homepage__news,
    .page-home .homepage__video-wrapper,
    .page-home .homepage .direction-card {
        background: rgba(255, 255, 255, 0.92);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    .homepage__matches-ticker .swiper-slide {
        width: 260px;
    }

    .homepage__about-text {
        padding: 20px 20px 24px;
    }

    .homepage .direction-card {
        flex: 1 1 100%;
    }

    .homepage .section--news-block,
    .homepage .main-page-news,
    .homepage .homepage__news {
        padding: 20px 16px;
    }

    .page-home .homepage__sections .section__header h2,
    .page-home .homepage .main-page-news .container--header h2 {
        font-size: clamp(28px, 6vw, 42px);
        font-weight: 600;
    }

    .homepage .recommended-section-item {
        min-height: 270px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
    border-top: none;
}

.footer .section,
.footer .section-footer {
    padding-top: clamp(40px, 5vw, 56px);
    padding-bottom: clamp(28px, 4vw, 40px);
}

.footer .container {
    max-width: var(--fk-container-max);
    padding-left: var(--fk-container-padding);
    padding-right: var(--fk-container-padding);
}

@media only screen and (min-width: 1025px) {
    .footer {
        background: transparent;
    }
}

@media only screen and (max-width: 1024px) {
    .footer {
        background: var(--fk-bg);
    }
}

/* Колонки ссылок */
.footer-info {
    margin-bottom: 32px;
}

.footer-info .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px 40px;
    margin: 0;
}

.footer-info .row > [class^="col"] {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
}

.footer-info__header,
.footer-info .u-title {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--fk-text);
}

.footer-info__body {
    margin-top: 0;
}

.footer-list__item {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-list__item:first-child {
    margin-top: 0;
}

.footer .link,
.footer-list__link {
    color: var(--fk-text-muted);
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.footer .link:hover,
.footer-list__link:hover {
    color: var(--fk-primary);
}

.footer-list__note {
    margin-top: 6px;
    font-size: 13px;
    color: var(--fk-text-muted);
}

/* Нижняя полоса */
.footer-bottom {
    margin-top: 0;
    padding-top: 24px;
    border-top: none;
}

.footer-bottom__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-bottom__item + .footer-bottom__item {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--fk-border);
}

.footer-bottom .copyright {
    font-size: 14px;
    line-height: 1.5;
    color: var(--fk-text-muted);
}

.footer-bottom__item .link,
.footer-bottom .link {
    font-size: 13px !important;
    line-height: 1.5;
    color: var(--fk-text-muted);
}

.footer-bottom__btn {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    border-color: var(--fk-border);
    color: var(--fk-text-muted);
}

/* Поиск */
.footer-search {
    max-width: 340px;
    width: 100%;
    flex-shrink: 0;
}

.footer-search__form {
    margin: 0;
}

.footer-search__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 5px 5px 5px 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: var(--fk-surface-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--fk-shadow);
    transition:
        border-color 0.25s var(--fk-ease-out),
        box-shadow 0.25s var(--fk-ease-out),
        transform 0.25s var(--fk-ease-out);
}

.footer-search__field:focus-within {
    border-color: rgba(11, 122, 192, 0.45);
    box-shadow:
        var(--fk-shadow),
        0 0 0 3px rgba(11, 122, 192, 0.12);
}

.footer-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 36px;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    font-family: var(--fk-font);
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.2;
    color: var(--fk-text) !important;
}

.footer-search__input:focus {
    outline: none;
    border: 0 !important;
    box-shadow: none !important;
}

.footer-search__input::placeholder {
    color: var(--fk-text-muted) !important;
    opacity: 1;
    font-family: var(--fk-font) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.footer-search__submit {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--fk-primary);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 15 16'%3E%3Cpath fill='%23fff' d='M14.772 13.662l-3.698-3.713a5.912 5.912 0 0 0 1.472-3.893C12.546 2.717 9.732 0 6.273 0 2.814 0 0 2.717 0 6.056c0 3.338 2.814 6.056 6.273 6.056a6.36 6.36 0 0 0 3.594-1.096l3.726 3.74a.827.827 0 0 0 .573.244.83.83 0 0 0 .584-.22.773.773 0 0 0 .022-1.118zM6.316 1.5c2.611 0 4.737 2.019 4.737 4.5 0 2.48-2.126 4.5-4.737 4.5-2.612 0-4.737-2.02-4.737-4.5 0-2.481 2.125-4.5 4.737-4.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px 15px;
    cursor: pointer;
    transition:
        background-color 0.25s var(--fk-ease-out),
        box-shadow 0.25s var(--fk-ease-out),
        transform 0.25s var(--fk-ease-out);
}

.footer-search__submit:hover {
    background-color: var(--fk-primary-dark);
    box-shadow: 0 4px 14px rgba(11, 122, 192, 0.28);
}

.footer-search__submit:active {
    transform: scale(0.96);
}

@media only screen and (max-width: 768px) {
    .footer .section,
    .footer .section-footer {
        padding-top: 32px;
        padding-bottom: 28px;
    }

    .footer-info {
        margin-bottom: 24px;
    }

    .footer-info__item {
        border-color: var(--fk-border);
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .footer-info__header {
        font-size: 15px;
    }

    /* main.css: .footer-bottom { margin-top: 40px }, .footer-bottom__item:last-child { margin-top: 40px }
       — на мобилке единственный __item одновременно :last-child, из-за этого пустота сверху */
    .footer .footer-bottom {
        margin-top: 5px;
        padding-top: 0;
    }

    .footer .footer-bottom__item {
        align-items: stretch;
        justify-content: flex-start;
        margin-top: 0;
        margin-bottom: 0;
    }

    .footer .footer-bottom__item:first-child {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .footer .footer-bottom__item:last-child {
        margin-top: 0;
    }

    .footer .footer-bottom__item + .footer-bottom__item {
        margin-top: 16px;
    }

    .footer-bottom .copyright {
        margin: 0;
        width: 100%;
    }

    .footer-search {
        max-width: none;
        width: 100%;
    }

    .footer-bottom__item .link {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   Contacts page
   ========================================================================== */
.page-contacts {
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
}

.content .contacts-page,
.content .contacts-page * + * {
    margin-top: 0;
}

.content .contacts-page p + p {
    margin-top: 0;
}

.contacts-page__grid {
    display: grid;
    grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
    gap: clamp(20px, 2.5vw, 32px);
    align-items: stretch;
}

.contacts-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: 100%;
    padding: clamp(24px, 3vw, 36px);
    background: var(--fk-surface-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--fk-radius-lg);
    box-shadow: var(--fk-shadow);
}

.contacts-card__label {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fk-primary);
}

.contacts-card__value {
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.55;
    color: var(--fk-text);
}

.contacts-card__phone {
    display: inline-block;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--fk-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts-card__phone:hover {
    color: var(--fk-primary);
}

.contacts-card__note {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--fk-text-muted);
}

.contacts-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contacts-social__link {
    position: relative;
    z-index: 0;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 2px 16px rgba(15, 35, 65, 0);
    box-sizing: border-box;
    color: var(--fk-text);
    text-decoration: none;
}

.contacts-social__link::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--fk-border);
    border-radius: inherit;
    pointer-events: none;
    transition: border-color 0.4s var(--fk-ease-out);
}

.content .contacts-page a.contacts-social__link,
.content .contacts-page a.contacts-social__link:hover,
.content .contacts-page a.contacts-social__link:focus {
    border: none;
    border-bottom: none;
    transition:
        color 0.4s var(--fk-ease-out),
        background 0.4s var(--fk-ease-out),
        box-shadow 0.4s var(--fk-ease-out);
}

.content .contacts-page .contacts-card__phone,
.content .contacts-page .contacts-card__phone:hover {
    border-bottom: none;
}

.contacts-social__link:hover {
    color: var(--fk-primary);
    background: #fff;
    box-shadow: var(--fk-shadow);
}

.contacts-social__link:hover::before {
    border-color: var(--fk-primary);
}

.contacts-social__icon {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: block;
    width: 26px;
    height: 26px;
    color: var(--fk-primary);
    transition: color 0.4s var(--fk-ease-out);
}

/* Оптическое центрирование: глифы в viewBox смещены относительно геометрического центра */
.contacts-social__icon--telegram {
    transform: translate(-2px, -1px);
}

.contacts-social__icon--rutube {
    transform: translate(2px, 0.5px);
}

.contacts-map {
    position: relative;
    height: 100%;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--fk-radius-lg);
    background: var(--fk-surface-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--fk-shadow);
}

.contacts-map__skeleton {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 70% at 50% 35%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse 120% 80% at 50% 100%, rgba(11, 122, 192, 0.1) 0%, transparent 50%),
        linear-gradient(
            168deg,
            rgba(255, 255, 255, 0.82) 0%,
            rgba(220, 236, 250, 0.62) 38%,
            rgba(210, 230, 248, 0.72) 62%,
            rgba(255, 255, 255, 0.7) 100%
        );
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.contacts-map__skeleton::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 62%
    );
    background-size: 220% 100%;
    animation: contacts-map-ice-shine 2.6s ease-in-out infinite;
    pointer-events: none;
}

.contacts-map__rink-line {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.contacts-map__center-circle {
    position: absolute;
    z-index: 1;
    top: 46%;
    left: 50%;
    width: clamp(108px, 20vmin, 188px);
    height: clamp(108px, 20vmin, 188px);
    border: 3px solid rgba(196, 30, 58, 0.52);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(196, 30, 58, 0.1);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.contacts-map__center-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(196, 30, 58, 0.58);
    box-shadow: 0 0 0 1px rgba(196, 30, 58, 0.12);
    transform: translate(-50%, -50%);
}

.contacts-map__rink-line--center {
    top: 8%;
    bottom: clamp(56px, 16%, 80px);
    left: 50%;
    width: 4px;
    margin-left: -2px;
    border-radius: 2px;
    background: rgba(196, 30, 58, 0.55);
    box-shadow: 0 0 0 1px rgba(196, 30, 58, 0.1);
}

.contacts-map__rink-line--blue {
    top: 10%;
    bottom: clamp(56px, 16%, 80px);
    width: 4px;
    border-radius: 2px;
    background: rgba(11, 122, 192, 0.38);
}

.contacts-map__rink-line--blue-left {
    left: 20%;
}

.contacts-map__rink-line--blue-right {
    right: 20%;
}

.contacts-map__puck-track {
    position: absolute;
    z-index: 2;
    left: clamp(20px, 5%, 56px);
    right: clamp(20px, 5%, 56px);
    top: 46%;
    height: 36px;
    margin-top: -18px;
}

.contacts-map__puck {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 48px;
    height: 30px;
    filter: drop-shadow(0 5px 8px rgba(15, 35, 65, 0.28));
    animation: contacts-map-puck-slide 1.35s var(--fk-ease-out) infinite alternate;
    will-change: transform, left;
}

.contacts-map__skeleton-label {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: clamp(16px, 4%, 28px);
    left: 0;
    margin: 0;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--fk-text-muted);
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(15, 35, 65, 0.08);
    width: fit-content;
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
}

@keyframes contacts-map-ice-shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes contacts-map-puck-slide {
    from {
        left: 0;
        transform: translateY(0) rotate(-8deg);
    }

    to {
        left: calc(100% - 48px);
        transform: translateY(-2px) rotate(8deg);
    }
}

.contacts-map__frame {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.contacts-map.is-loaded .contacts-map__frame {
    opacity: 1;
}

.contacts-map.is-loaded .contacts-map__skeleton {
    opacity: 0;
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .contacts-map__skeleton {
        display: none;
    }

    .contacts-map__skeleton::before,
    .contacts-map__puck {
        animation: none !important;
    }

    .contacts-map__frame {
        opacity: 1;
        transition: none;
    }
}

@media only screen and (max-width: 1024px) {
    .contacts-page__grid {
        grid-template-columns: 1fr;
    }

    .contacts-map,
    .contacts-map__frame {
        min-height: 320px;
    }
}

@media only screen and (max-width: 768px) {
    .contacts-card {
        gap: 24px;
    }

}

/* ==========================================================================
   Search page
   ========================================================================== */
.page-search {
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
}

.content .search-page,
.content .search-page * + * {
    margin-top: 0;
}

.search-page__form-card {
    padding: 20px 24px;
    background: var(--fk-surface-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--fk-radius-lg);
    box-shadow: var(--fk-shadow);
}

.search-page__field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-page__field input[type="text"],
.search-page__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    border: 1px solid var(--fk-border);
    border-radius: 999px;
    background: var(--fk-surface);
    box-shadow: none;
    font-family: var(--fk-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--fk-text);
    transition: border-color 0.25s var(--fk-ease-out), box-shadow 0.25s var(--fk-ease-out);
}

.search-page__field input[type="text"]:focus,
.search-page__input:focus {
    outline: none;
    border-color: var(--fk-primary);
    box-shadow: 0 0 0 3px rgba(11, 122, 192, 0.12);
}

.search-page__field input[type="text"]::placeholder,
.search-page__input::placeholder {
    color: var(--fk-text-muted);
    opacity: 1;
    font-size: 15px;
}

.search-page__submit {
    flex-shrink: 0;
    height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 999px;
    background: var(--fk-primary);
    color: #fff;
    font-family: var(--fk-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.25s var(--fk-ease-out),
        box-shadow 0.25s var(--fk-ease-out),
        transform 0.25s var(--fk-ease-out);
}

.search-page__submit:hover {
    background: var(--fk-primary-dark);
    box-shadow: var(--fk-shadow);
}

.search-page__submit:active {
    transform: translateY(1px);
}

.search-page__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 14px;
    padding-top: 14px;
    overflow: visible;
}

.search-page__meta .search-advanced-result {
    float: none;
    width: auto;
    font-size: 15px;
    line-height: 1.4;
    color: var(--fk-text-muted);
}

.search-page__meta .search-advanced-result .search-result {
    display: inline;
    font-size: 15px;
    font-weight: 600;
    color: var(--fk-text);
}

.search-page__meta .search-advanced-filter a {
    font-size: 14px;
    color: var(--fk-primary);
    border-bottom: none;
}

.search-page .search-language-guess {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--fk-text-muted);
}

.search-page__results {
    margin-top: 20px;
}

.search-page .search-item {
    margin: 0 0 12px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--fk-radius-lg);
    background: var(--fk-surface-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--fk-shadow);
}

.search-page .search-item:last-child {
    margin-bottom: 0;
}

.search-page .search-item h4 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.content .search-page .search-item h4 a {
    color: var(--fk-text);
    font-size: inherit;
    font-weight: inherit;
    border-bottom: none;
    transition: color 0.2s ease;
}

.content .search-page .search-item h4 a:hover {
    color: var(--fk-primary);
    border-bottom: none;
}

.search-page .search-preview {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--fk-text-muted);
}

.search-page .search-item h4 b,
.search-page .search-item h4 strong,
.search-page .search-preview b,
.search-page .search-preview strong {
    font-weight: 700;
    color: #033a5c;
    background: rgba(11, 122, 192, 0.34);
    padding: 0.12em 0.4em;
    border-radius: 4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.content .search-page .search-item h4 a b,
.content .search-page .search-item h4 a strong {
    color: #033a5c;
    border-bottom: none;
}

.content .search-page .search-item h4 a:hover b,
.content .search-page .search-item h4 a:hover strong {
    color: #022f4a;
    background: rgba(11, 122, 192, 0.42);
}

.search-page .search-item-meta {
    margin: 12px 0 0;
    overflow: visible;
    font-size: 14px;
    color: var(--fk-text-muted);
}

.search-page__pager {
    margin: 0 0 16px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--fk-radius);
    background: rgba(255, 255, 255, 0.55);
    font-family: var(--fk-font);
    font-size: 14px;
    line-height: 1.5;
    color: var(--fk-text-muted);
}

.search-page__pager--bottom {
    margin: 16px 0 16px;
}

.content .search-page .search-page__pager--bottom + .search-sorting {
    margin-top: 0;
}

.search-page__pager font,
.search-page__pager .text {
    font-size: 14px !important;
    line-height: 1.5;
    color: var(--fk-text-muted) !important;
}

.search-page__pager a,
.search-page__pager .z-pagenavigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    margin: 2px 4px 2px 0;
    padding: 0 14px;
    border-radius: 999px;
    border-bottom: none !important;
    background: var(--fk-surface);
    color: var(--fk-primary) !important;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    vertical-align: middle;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.content .search-page .search-page__pager a:hover {
    color: var(--fk-primary) !important;
    background: #fff;
    box-shadow: var(--fk-shadow);
    border-bottom: none !important;
}

.search-page__pager b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    margin: 2px 4px 2px 0;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(11, 122, 192, 0.12);
    color: var(--fk-primary);
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
}

.search-page__pager .z-pagenavigation {
    margin: 0;
    padding: 0;
    font-size: 0;
}

.search-page__pager .z-pagenavigation__page,
.search-page__pager .z-pagenavigation__link,
.search-page__pager .z-pagenavigation__arrow {
    width: auto;
    min-width: 34px;
    min-height: 34px;
    margin: 2px 4px 2px 0;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px !important;
    line-height: 34px;
}

.search-page__pager .z-pagenavigation__page.selected {
    background: rgba(11, 122, 192, 0.12);
    color: var(--fk-primary) !important;
    font-weight: 600;
}

.search-sorting {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin: 16px 0 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--fk-radius);
    background: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    color: var(--fk-text-muted);
}

.search-sorting__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--fk-text-muted);
}

.search-sorting__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-sorting__option {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--fk-surface);
    color: var(--fk-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.content .search-page .search-sorting__option {
    border-bottom: none;
}

.content .search-page a.search-sorting__option:hover {
    color: var(--fk-primary);
    background: #fff;
    box-shadow: var(--fk-shadow);
    border-bottom: none;
}

.search-sorting__option.is-active {
    background: rgba(11, 122, 192, 0.12);
    color: var(--fk-primary);
    font-weight: 600;
}

.page-search .notetext {
    display: block;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--fk-radius-lg);
    background: var(--fk-surface-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--fk-shadow);
    font-family: var(--fk-font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--fk-text-muted);
}

@media only screen and (max-width: 768px) {
    .search-page__field {
        flex-direction: column;
        align-items: stretch;
    }

    .search-page__submit {
        width: 100%;
    }

    .search-page .search-item {
        padding: 18px 20px;
    }

    .search-page .search-item h4 {
        font-size: 18px;
    }
}

/* ==========================================================================
   Match calendar
   ========================================================================== */

/* Bitrix/theme lobotomized owl: .content *+* { margin-top: 2.5rem } */
.match-calendar * + *,
.content .match-calendar * + * {
    margin-top: 0;
}

.match-calendar {
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
    margin: 0 auto clamp(40px, 6vw, 72px);
    max-width: var(--fk-container-max);
    overflow: visible;
}

.match-calendar__toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 32px;
    overflow: visible;
}

.match-calendar__months {
    position: relative;
    display: inline-flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 0 0 1px rgba(15, 35, 65, 0.06),
        0 8px 24px rgba(15, 35, 65, 0.06);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.match-calendar__months::-webkit-scrollbar {
    display: none;
}

.match-calendar__months-glider {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 0;
    height: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--fk-primary) 0%, var(--fk-primary-dark) 100%);
    box-shadow: 0 4px 14px rgba(11, 122, 192, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translate(0, 0);
    transition:
        transform 0.38s var(--fk-ease-out),
        width 0.38s var(--fk-ease-out),
        height 0.38s var(--fk-ease-out),
        opacity 0.2s ease;
    will-change: transform, width;
}

.match-calendar__months-glider.is-ready {
    opacity: 1;
}

.match-calendar__month-btn {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 40px;
    margin: 0;
    padding: 10px 18px;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--fk-text-muted);
    font-family: var(--fk-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.28s var(--fk-ease-out);
}

.match-calendar__month-btn:hover,
.match-calendar__month-btn:focus {
    color: var(--fk-text);
    background: transparent;
    outline: none;
}

.match-calendar__month-btn.is-active,
.match-calendar__month-btn.is-active:hover,
.match-calendar__month-btn.is-active:focus {
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.match-calendar__month-btn.is-empty {
    opacity: 0.4;
}

@media (prefers-reduced-motion: reduce) {
    .match-calendar__months-glider {
        transition: none;
    }
}

.match-calendar__search.search-container {
    position: relative;
    display: block;
    flex: 0 0 220px;
    width: 220px;
    margin: 0;
    background: transparent;
    border-radius: 0;
}

.match-calendar .filter-input {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 36px 0 16px;
    border: 1px solid var(--fk-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
    font-family: var(--fk-font);
    font-size: 14px;
    color: var(--fk-text);
    opacity: 1;
}

.match-calendar .filter-input::placeholder {
    color: var(--fk-text-muted);
    opacity: 0.75;
}

.match-calendar .filter-input:focus {
    outline: none;
    border-color: var(--fk-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 122, 192, 0.12);
}

.match-calendar .clear-btn {
    right: 12px;
    top: 50%;
    margin: 0;
    color: var(--fk-text-muted);
    font-size: 18px;
    line-height: 1;
}

.match-calendar__month-title {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 35, 65, 0.1);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--fk-text);
}

.match-calendar__day {
    margin: 0 0 22px;
}

.match-calendar__day-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--fk-text);
}

.match-calendar__day-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fk-primary);
}

.match-calendar__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 10px 18px;
    margin: -4px -10px -18px;
    overflow: visible;
}

.content a.match-row,
a.match-row,
.match-row {
    display: grid;
    /* бейдж | хозяева (влево) | счёт | гости (вправо) — как в тёмном примере */
    grid-template-columns: 118px minmax(0, 1fr) 88px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    row-gap: 0;
    min-height: 96px;
    margin: 0;
    padding: 12px 18px;
    border: 1px solid rgba(15, 35, 65, 0.08);
    border-bottom: 1px solid rgba(15, 35, 65, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 2px rgba(15, 35, 65, 0.04), 0 8px 24px rgba(15, 35, 65, 0.05);
    color: var(--fk-text);
    font-weight: 400;
    text-decoration: none;
    overflow: visible;
    transition:
        box-shadow 0.2s var(--fk-ease-out),
        border-color 0.2s var(--fk-ease-out);
}

.content a.match-row:hover,
a.match-row:hover,
.content a.match-row:focus-visible,
a.match-row:focus-visible {
    border-color: rgba(11, 122, 192, 0.28);
    border-bottom-color: rgba(11, 122, 192, 0.28);
    box-shadow: 0 2px 8px rgba(15, 35, 65, 0.06), 0 12px 28px rgba(11, 122, 192, 0.1);
    color: var(--fk-text);
    text-decoration: none;
}

.match-row__badge {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 28px;
    margin: 0;
    padding: 5px 8px;
    border-radius: 7px;
    border: 1px solid transparent;
    background: rgba(11, 122, 192, 0.1);
    color: var(--fk-primary-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
    justify-self: start;
}

.match-row__badge--div-a {
    border-color: rgba(214, 140, 0, 0.4);
    background: rgba(232, 163, 23, 0.16);
    color: #9a6c00;
}

.match-row__badge--div-b {
    border-color: rgba(26, 111, 102, 0.32);
    background: rgba(26, 111, 102, 0.12);
    color: #1a6f66;
}

.match-row__badge--div-c {
    border-color: rgba(61, 90, 115, 0.32);
    background: rgba(61, 90, 115, 0.12);
    color: #3d5a73;
}

.match-row__badge--playoff {
    border-color: rgba(11, 122, 192, 0.3);
    background: rgba(11, 122, 192, 0.12);
    color: var(--fk-primary-dark);
}

.match-row__badge--place {
    border-color: rgba(92, 107, 122, 0.28);
    background: rgba(92, 107, 122, 0.1);
    color: #4a5a6a;
}

.match-row__badge--final {
    border-color: rgba(6, 110, 174, 0.35);
    background: rgba(6, 110, 174, 0.14);
    color: var(--fk-primary-dark);
}

.match-row__team {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin: 0;
    width: 100%;
}

/* Хозяева — сразу после бейджа, слева; гости — у правого края */
.match-row__team--home {
    justify-content: flex-start;
    text-align: left;
}

.match-row__team--away {
    justify-content: flex-end;
    text-align: right;
}

.match-row__logo {
    box-sizing: border-box;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 35, 65, 0.06);
    overflow: hidden;
}

.content .match-row__logo-img,
.match-row__logo-img {
    display: block;
    width: 64px;
    height: 64px;
    max-width: none;
    margin: 0;
    object-fit: contain;
}

.match-row__name {
    min-width: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--fk-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.content a.match-row .match-row__name:hover,
.match-row__name:hover {
    color: var(--fk-primary);
    border-bottom: none;
}

.match-row__score {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--fk-text);
    white-space: nowrap;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.match-row__score--time {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--fk-text);
}

/* Как .card-game / .card-game__hover в календаре 2024: спуск с верха всей карточки */
.match-row--has-recording {
    position: relative;
    overflow: hidden;
}

.match-row__score-slot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 88px;
    min-height: 40px;
}

.match-row__score-slot .match-row__score {
    position: relative;
    z-index: 0;
    opacity: 1;
    transition: all 0.5s ease;
}

.content a.match-row__recording,
.match-row__recording {
    position: absolute;
    left: 50%;
    top: -100%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--fk-primary-dark);
    border-bottom: none;
    background: var(--fk-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.content a.match-row__recording:hover,
.content a.match-row__recording:focus,
.content a.match-row__recording:focus-visible,
.match-row__recording:hover,
.match-row__recording:focus-visible {
    background: var(--fk-primary-dark);
    color: #fff;
    border-bottom: none;
    text-decoration: none;
}

.match-row--has-recording:hover .match-row__score-slot .match-row__score,
.match-row--has-recording:focus-within .match-row__score-slot .match-row__score {
    opacity: 0;
    pointer-events: none;
}

.match-row--has-recording:hover .match-row__recording,
.match-row--has-recording:focus-within .match-row__recording {
    top: 50%;
    opacity: 1;
    pointer-events: auto;
}

@media (hover: none) {
    .match-row--has-recording {
        overflow: visible;
    }

    .match-row--has-recording .match-row__score-slot {
        flex-direction: column;
        gap: 6px;
        min-height: 0;
    }

    .match-row--has-recording .match-row__score-slot .match-row__score {
        opacity: 1;
    }

    .match-row--has-recording .match-row__recording {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        min-height: 32px;
        padding: 6px 12px;
        font-size: 11px;
    }
}

.match-calendar__empty {
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid var(--fk-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
    color: var(--fk-text-muted);
    font-size: 14px;
}

.match-calendar .hidden {
    display: none !important;
}

/* ==========================================================================
   Docs page
   ========================================================================== */

.docs-page * + *,
.content .docs-page * + * {
    margin-top: 0;
}

.docs-page {
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
    margin: 0 auto clamp(40px, 6vw, 72px);
    max-width: var(--fk-container-max);
}

.docs-page__nav {
    position: relative;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    margin: 0 0 36px;
    padding: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 0 0 1px rgba(15, 35, 65, 0.06),
        0 8px 24px rgba(15, 35, 65, 0.06);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.docs-page__nav::-webkit-scrollbar {
    display: none;
}

.docs-page__nav-glider {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 0;
    height: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--fk-primary) 0%, var(--fk-primary-dark) 100%);
    box-shadow: 0 4px 14px rgba(11, 122, 192, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translate(0, 0);
    transition:
        transform 0.38s var(--fk-ease-out),
        width 0.38s var(--fk-ease-out),
        height 0.38s var(--fk-ease-out),
        opacity 0.2s ease;
    will-change: transform, width;
}

.docs-page__nav-glider.is-ready {
    opacity: 1;
}

.docs-page__nav-link {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 40px;
    height: auto;
    margin: 0;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--fk-text-muted);
    font-family: var(--fk-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.28s var(--fk-ease-out);
}

.docs-page__nav-link:hover,
.docs-page__nav-link:focus {
    color: var(--fk-text);
    background: transparent;
    outline: none;
}

.docs-page__nav-link.is-active,
.docs-page__nav-link.is-active:hover,
.docs-page__nav-link.is-active:focus {
    background: transparent;
    color: #fff;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .docs-page__nav-glider {
        transition: none;
    }
}

.docs-page__section {
    display: none;
    margin: 0;
    scroll-margin-top: 96px;
}

.docs-page__section.is-active,
.docs-page__section:not([hidden]) {
    display: block;
}

.docs-page__section[hidden] {
    display: none !important;
}

/* ==========================================================================
   Media pages (video reviews / broadcasts)
   ========================================================================== */

.media-page * + *,
.content .media-page * + * {
    margin-top: 0;
}

.media-page {
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
    margin: 0 auto clamp(40px, 6vw, 72px);
    max-width: var(--fk-container-max);
}

.media-page__section {
    display: none;
    margin: 0;
    scroll-margin-top: 96px;
}

.media-page__section.is-active,
.media-page__section:not([hidden]) {
    display: block;
}

.media-page__section[hidden] {
    display: none !important;
}

.media-page__section-head {
    margin: 0 0 20px;
}

.media-page__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fk-primary);
}

.media-page__section-title {
    margin: 0;
    font-family: var(--fk-font);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--fk-text);
}

.media-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.media-card {
    margin: 0;
    border: 1px solid rgba(15, 35, 65, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 2px rgba(15, 35, 65, 0.04), 0 8px 24px rgba(15, 35, 65, 0.05);
    overflow: hidden;
    transition:
        box-shadow 0.2s var(--fk-ease-out),
        border-color 0.2s var(--fk-ease-out),
        transform 0.2s var(--fk-ease-out);
}

.media-card:hover {
    border-color: rgba(11, 122, 192, 0.28);
    box-shadow: var(--fk-shadow-hover);
    transform: translateY(-1px);
}

.media-card__frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #0d1117;
}

.media-card__frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media only screen and (max-width: 900px) {
    .media-page__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media only screen and (max-width: 720px) {
    .media-page {
        max-width: none;
    }
}

.docs-page__section-head {
    margin: 0 0 16px;
}

.docs-page__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fk-primary);
}

.docs-page__section-title {
    margin: 0;
    font-family: var(--fk-font);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--fk-text);
}

.docs-page__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.content a.docs-file,
a.docs-file,
.docs-file {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas: "type body action";
    align-items: center;
    column-gap: 14px;
    row-gap: 0;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid rgba(15, 35, 65, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 2px rgba(15, 35, 65, 0.04), 0 8px 24px rgba(15, 35, 65, 0.05);
    color: var(--fk-text);
    font-weight: 400;
    text-decoration: none;
    transition:
        box-shadow 0.2s var(--fk-ease-out),
        border-color 0.2s var(--fk-ease-out),
        transform 0.2s var(--fk-ease-out);
    animation: docs-file-in 0.45s var(--fk-ease-out) both;
}

.docs-page__list .docs-file:nth-child(1) { animation-delay: 0.02s; }
.docs-page__list .docs-file:nth-child(2) { animation-delay: 0.06s; }
.docs-page__list .docs-file:nth-child(3) { animation-delay: 0.1s; }
.docs-page__list .docs-file:nth-child(4) { animation-delay: 0.14s; }
.docs-page__list .docs-file:nth-child(5) { animation-delay: 0.18s; }

@keyframes docs-file-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .docs-file {
        animation: none;
    }
}

.content a.docs-file:hover,
.content a.docs-file:focus,
a.docs-file:hover,
a.docs-file:focus {
    border-color: rgba(11, 122, 192, 0.28);
    border-bottom: 1px solid rgba(11, 122, 192, 0.28);
    box-shadow: var(--fk-shadow-hover);
    color: var(--fk-text);
    text-decoration: none;
    transform: translateY(-1px);
}

.docs-file--featured {
    border-color: rgba(11, 122, 192, 0.22);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(11, 122, 192, 0.06));
}

.docs-file__type {
    grid-area: type;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.docs-file__type--pdf {
    background: rgba(196, 92, 38, 0.12);
    color: #b04e1f;
}

.docs-file__type--docx {
    background: rgba(11, 122, 192, 0.12);
    color: var(--fk-primary-dark);
}

.docs-file__body {
    grid-area: body;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.docs-file__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--fk-text);
}

.docs-file__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--fk-text-muted);
}

.docs-file__badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    background: rgba(11, 122, 192, 0.12);
    color: var(--fk-primary-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.docs-file__action {
    grid-area: action;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    box-sizing: border-box;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 122, 192, 0.1);
    color: var(--fk-primary-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s var(--fk-ease-out), color 0.2s var(--fk-ease-out);
}

.docs-file__action::after {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 11.5a.75.75 0 0 1-.53-.22l-3.5-3.5a.75.75 0 1 1 1.06-1.06L7.25 9.19V2.75a.75.75 0 0 1 1.5 0v6.44l2.22-2.22a.75.75 0 1 1 1.06 1.06l-3.5 3.5a.75.75 0 0 1-.53.22zM3.25 13.5h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1 0-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 11.5a.75.75 0 0 1-.53-.22l-3.5-3.5a.75.75 0 1 1 1.06-1.06L7.25 9.19V2.75a.75.75 0 0 1 1.5 0v6.44l2.22-2.22a.75.75 0 1 1 1.06 1.06l-3.5 3.5a.75.75 0 0 1-.53.22zM3.25 13.5h9.5a.75.75 0 0 1 0 1.5h-9.5a.75.75 0 0 1 0-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content a.docs-file:hover .docs-file__action,
a.docs-file:hover .docs-file__action {
    background: var(--fk-primary);
    color: #fff;
}

@media only screen and (max-width: 900px) {
    .docs-page__list {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 720px) {
    .docs-page {
        max-width: none;
    }

    .docs-page__nav {
        margin-bottom: 24px;
        padding: 4px;
    }

    .docs-page__nav-link {
        min-height: 36px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .content a.docs-file,
    a.docs-file,
    .docs-file {
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-areas:
            "type body"
            "action action";
        row-gap: 12px;
        padding: 14px;
    }

    .docs-file__type {
        width: 44px;
        height: 44px;
        font-size: 10px;
    }

    .docs-file__title {
        font-size: 14px;
    }

    .docs-file__action {
        width: 100%;
        padding: 10px 14px;
    }
}

@media only screen and (max-width: 900px) {
    .match-calendar {
        max-width: none;
    }

    .content a.match-row,
    a.match-row,
    .match-row {
        grid-template-columns: 100px minmax(0, 1fr) 72px minmax(0, 1fr);
        column-gap: 12px;
        min-height: 80px;
        padding: 10px 12px;
    }

    .match-row__name {
        font-size: 13px;
    }

    .match-row__logo {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }

    .content .match-row__logo-img,
    .match-row__logo-img {
        width: 44px;
        height: 44px;
    }

    .match-row__score {
        font-size: 20px;
    }

    .match-row__score--time {
        font-size: 18px;
    }

    .match-row__team {
        gap: 10px;
    }
}

@media only screen and (max-width: 720px) {
    .match-calendar__toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .match-calendar__months {
        max-width: 100%;
        padding: 4px;
    }

    .match-calendar__month-btn {
        min-height: 36px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .match-calendar__search.search-container {
        width: 100%;
        flex: 1 1 auto;
    }

    .content a.match-row,
    a.match-row,
    .match-row {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-rows: auto auto;
        row-gap: 4px;
        column-gap: 8px;
        min-height: 0;
        padding: 14px 12px;
    }

    .match-row > .match-row__score,
    .match-row__score-slot {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        align-self: end;
    }

    .match-row__badge {
        grid-column: 2;
        grid-row: 2;
        width: auto;
        justify-self: center;
        align-self: start;
        margin-top: 2px;
    }

    .match-row__team--home {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        gap: 8px;
    }

    .match-row__team--away {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
        flex-direction: column-reverse;
        justify-content: flex-start;
        text-align: center;
        gap: 8px;
    }

    .match-row__logo {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    .content .match-row__logo-img,
    .match-row__logo-img {
        width: 52px;
        height: 52px;
    }

    .match-row__score {
        font-size: 22px;
    }

    .match-row__score--time {
        font-size: 18px;
    }

    .match-row__name {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

/* ==========================================================================
   404 error page
   ========================================================================== */

/* Bitrix/theme lobotomized owl: .content *+* { margin-top: 2.5rem } */
.error-page,
.error-page * + *,
.content .error-page,
.content .error-page * + * {
    margin-top: 0;
}

.page--error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(72vh, 760px);
    padding: clamp(48px, 8vh, 96px) 0;
}

.page--error .container {
    max-width: var(--fk-container-max);
    padding-left: var(--fk-container-padding);
    padding-right: var(--fk-container-padding);
}

.error-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
    text-align: center;
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
    color: var(--fk-text);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
    border: 1px solid rgba(227, 234, 242, 0.9);
    border-radius: var(--fk-radius-lg);
    box-shadow: var(--fk-shadow-hover);
    overflow: hidden;
    isolation: isolate;
    gap: 0;
}

.error-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(11, 122, 192, 0.16), transparent 60%),
        linear-gradient(rgba(11, 122, 192, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 122, 192, 0.045) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    opacity: 0.9;
    pointer-events: none;
}

.error-page__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(140px, 22vw, 200px);
    margin-bottom: 8px;
}

.error-page__glow {
    position: absolute;
    width: min(280px, 70%);
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 122, 192, 0.28) 0%, transparent 70%);
    filter: blur(8px);
    animation: error-page-pulse 3.6s var(--fk-ease-out) infinite;
}

.error-page__code {
    position: relative;
    z-index: 1;
    font-size: clamp(6.5rem, 18vw, 9.5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: transparent;
    background: linear-gradient(135deg, var(--fk-primary) 0%, #1a9adf 45%, var(--fk-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    animation: error-page-rise 0.8s var(--fk-ease-out) both;
}

.error-page__puck {
    position: absolute;
    right: clamp(6%, 12vw, 20%);
    bottom: 8%;
    z-index: 2;
    width: 64px;
    height: 40px;
    display: block;
    pointer-events: none;
    filter: drop-shadow(0 8px 10px rgba(15, 35, 65, 0.18));
}

.error-page__puck-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.error-page__header {
    margin: 0;
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--fk-text);
    animation: error-page-rise 0.8s var(--fk-ease-out) 0.08s both;
}

.error-page__body {
    max-width: 34rem;
    margin: 0;
    padding-top: 14px;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--fk-text-muted);
    animation: error-page-rise 0.8s var(--fk-ease-out) 0.16s both;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding-top: 28px;
    animation: error-page-rise 0.8s var(--fk-ease-out) 0.24s both;
}

.error-page a.error-page__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background-color: var(--fk-primary);
    color: #fff !important;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    border-bottom: 1px solid transparent;
    transition:
        background-color 0.2s var(--fk-ease-out),
        border-color 0.2s var(--fk-ease-out),
        color 0.2s var(--fk-ease-out),
        transform 0.2s var(--fk-ease-out),
        box-shadow 0.2s var(--fk-ease-out);
    box-shadow: 0 8px 22px rgba(11, 122, 192, 0.28);
}

.error-page a.error-page__button:hover {
    background-color: var(--fk-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(11, 122, 192, 0.34);
}

.error-page a.error-page__button:focus-visible {
    outline: 2px solid var(--fk-primary);
    outline-offset: 3px;
}

.error-page a.error-page__button--ghost {
    background-color: transparent;
    border-color: rgba(11, 122, 192, 0.35);
    color: var(--fk-primary) !important;
    box-shadow: none;
}

.error-page a.error-page__button--ghost:hover {
    background-color: rgba(11, 122, 192, 0.08);
    border-color: var(--fk-primary);
    color: var(--fk-primary-dark) !important;
    box-shadow: none;
}

.error-page__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    width: 100%;
    margin: 0;
    padding-top: 28px;
    margin-top: 0;
    animation: error-page-rise 0.8s var(--fk-ease-out) 0.32s both;
}

.error-page .error-page__links a,
.content .error-page .error-page__links a {
    margin: 0;
    color: var(--fk-text-muted) !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none !important;
    border-bottom: none;
    transition: color 0.2s var(--fk-ease-out);
}

.error-page .error-page__links a:hover,
.content .error-page .error-page__links a:hover {
    color: var(--fk-primary) !important;
    border-bottom-color: transparent;
}

@keyframes error-page-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes error-page-pulse {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@media only screen and (max-width: 768px) {
    .page--error {
        min-height: auto;
        padding: 32px 0 48px;
    }

    .error-page {
        padding: 28px 20px 32px;
        border-radius: var(--fk-radius);
    }

    .error-page__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-page a.error-page__button {
        width: 100%;
    }

    .error-page__puck {
        width: 52px;
        height: 32px;
        right: 8%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .error-page__code,
    .error-page__header,
    .error-page__body,
    .error-page__actions,
    .error-page__links,
    .error-page__glow,
    .error-page__button {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   About page
   ========================================================================== */
.content .about-page,
.content .about-page * + * {
    margin-top: 0;
}

.content .about-page p + p {
    margin-top: 0.9em;
}

.about-page {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 5vw, 72px);
    font-family: var(--fk-font);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 8px;
}

.about-page__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius-lg);
    background: var(--fk-surface-glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--fk-shadow);
}

.about-page__intro-text {
    padding: clamp(28px, 3.5vw, 48px);
}

.about-page__title {
    margin: 0 0 20px;
    font-family: var(--fk-font);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--fk-text);
}

.about-page__lead {
    max-width: 38em;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.7;
    color: var(--fk-text);
}

.about-page__lead p {
    margin: 0;
}

.about-page__lead p + p {
    margin-top: 0.9em;
}

.about-page__intro-media {
    margin: 0;
    min-height: 100%;
    overflow: hidden;
    background: var(--fk-dark);
}

.about-page__intro-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.7s var(--fk-ease-out);
}

.about-page__intro:hover .about-page__intro-media img {
    transform: scale(1.03);
}

.about-page__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-page__stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(20px, 2.5vw, 28px);
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius);
    background: var(--fk-surface-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--fk-shadow);
}

.about-page__stat-value {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--fk-primary);
}

.about-page__stat-label {
    font-size: 14px;
    line-height: 1.4;
    color: var(--fk-text-muted);
}

.about-page__season-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.about-page__season {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius-lg);
    background: var(--fk-surface);
    box-shadow: var(--fk-shadow);
    transition: transform 0.35s var(--fk-ease-out), box-shadow 0.35s var(--fk-ease-out);
}

.about-page__season:hover {
    transform: translateY(-3px);
    box-shadow: var(--fk-shadow-hover);
}

.about-page__season-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.about-page__season-num {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fk-primary);
}

.about-page__season-dates {
    font-size: 13px;
    color: var(--fk-text-muted);
}

.about-page__season-title {
    margin: 0;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--fk-text);
}

.about-page__season-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--fk-text-muted);
}

.about-page__season-podium {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-page__season-podium li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--fk-text);
}

.about-page__season-podium span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(11, 122, 192, 0.1);
    color: var(--fk-primary);
    font-size: 13px;
    font-weight: 700;
}

.about-page__venue {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius-lg);
    background: var(--fk-surface);
    box-shadow: var(--fk-shadow);
}

.about-page__venue-media {
    margin: 0;
    overflow: hidden;
    background: var(--fk-dark);
}

.about-page__venue-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s var(--fk-ease-out);
}

.about-page__venue:hover .about-page__venue-media img {
    transform: scale(1.03);
}

.about-page__venue-body {
    padding: clamp(28px, 3.5vw, 48px);
}

.about-page__venue-text {
    margin: 0;
    max-width: 36em;
    font-size: clamp(15px, 1.1vw, 16px);
    line-height: 1.7;
    color: var(--fk-text-muted);
}

.about-page__venue-text + .about-page__venue-text {
    margin-top: 0.85em;
}

.content .about-page a {
    color: var(--fk-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(11, 122, 192, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.content .about-page a:hover {
    color: var(--fk-primary-dark);
    border-bottom-color: var(--fk-primary-dark);
}

.content .about-page .about-page__venue-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
}

.about-page__venue-fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 12px;
    border-radius: 12px;
    background: rgba(11, 122, 192, 0.06);
}

.about-page__venue-fact strong {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fk-text);
}

.about-page__venue-fact span {
    font-size: 12px;
    line-height: 1.35;
    color: var(--fk-text-muted);
}

.about-page__cta {
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius-lg);
    background:
        linear-gradient(135deg, rgba(11, 122, 192, 0.08) 0%, rgba(255, 255, 255, 0.92) 45%, rgba(245, 246, 248, 0.95) 100%),
        var(--fk-surface);
    box-shadow: var(--fk-shadow);
}

.about-page__cta-inner {
    max-width: 720px;
    padding: clamp(32px, 4vw, 52px);
}

.about-page__cta-title {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--fk-text);
}

.about-page__cta-text {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--fk-text-muted);
}

.about-page__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.content .about-page a.about-page__btn,
.content .about-page a.about-page__btn:hover,
.content .about-page a.about-page__btn:focus {
    border-bottom: none;
}

.about-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--fk-primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background 0.3s var(--fk-ease-out), transform 0.3s var(--fk-ease-out), box-shadow 0.3s var(--fk-ease-out);
}

.about-page__btn:hover {
    background: var(--fk-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(11, 122, 192, 0.25);
}

.about-page__btn--ghost {
    background: rgba(255, 255, 255, 0.85);
    color: var(--fk-text) !important;
    box-shadow: inset 0 0 0 1px var(--fk-border);
}

.about-page__btn--ghost:hover {
    background: #fff;
    color: var(--fk-primary) !important;
    box-shadow: inset 0 0 0 1px var(--fk-primary), 0 8px 24px rgba(15, 35, 65, 0.08);
}

@media only screen and (max-width: 1100px) {
    .about-page__intro,
    .about-page__venue {
        grid-template-columns: 1fr;
    }

    .about-page__intro-media {
        order: -1;
        max-height: 360px;
    }

    .about-page__intro-media img,
    .about-page__venue-media img {
        min-height: 280px;
        max-height: 360px;
    }

    .about-page__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page__season-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 768px) {
    .about-page__season-grid {
        grid-template-columns: 1fr;
    }

    .about-page__venue-facts {
        grid-template-columns: 1fr;
    }

    .about-page__cta-actions {
        flex-direction: column;
    }

    .about-page__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page__intro-media img,
    .about-page__venue-media img,
    .about-page__season,
    .about-page__btn {
        transition: none !important;
    }

    .about-page__intro:hover .about-page__intro-media img,
    .about-page__venue:hover .about-page__venue-media img,
    .about-page__season:hover {
        transform: none;
    }
}

/* ==========================================================================
   Teams page (/teams/) — шапка и табы; карточки из main.css (.team, .team-logo)
   ========================================================================== */

.content .teams-page,
.content .teams-page * + * {
    margin-top: 0;
}

.teams-page {
    font-family: var(--fk-font);
    padding-bottom: clamp(40px, 6vw, 52px);
}

.teams-page__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.teams-page__head .fk-eyebrow {
    margin: 0;
}

.teams-page__tabs.docs-page__nav {
    margin: 0;
}

.teams-page__panel {
    display: none;
    margin: 0;
}

.teams-page__panel.is-active {
    display: block;
    animation: teams-page-panel-in 0.4s var(--fk-ease-out);
}

@keyframes teams-page-panel-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.teams-page .teams-container {
    display: grid;
    grid-template-columns: repeat(var(--teams-cols, 3), minmax(0, 1fr));
    gap: 20px 24px;
    justify-items: center;
    align-items: start;
}

.teams-page .teams-container .team {
    width: 100%;
    max-width: 330px;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .teams-page__panel.is-active {
        animation: none;
    }
}

.team-roster-soon {
    max-width: 640px;
    padding: 28px 32px;
    border: 1px solid rgba(11, 122, 192, 0.16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(11, 122, 192, 0.04), rgba(255, 255, 255, 0.9));
}

.team-roster-soon .fk-eyebrow {
    margin: 0 0 10px;
}

.team-roster-soon__title {
    margin: 0 0 10px;
    font-family: var(--fk-font);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--fk-text);
}

.team-roster-soon__text {
    margin: 0;
    max-width: 36em;
    font-size: 16px;
    line-height: 1.55;
    color: var(--fk-text-muted);
}

.docs-page__empty {
    margin: 0;
    padding: 22px 24px;
    border: 1px dashed rgba(11, 122, 192, 0.22);
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--fk-text-muted);
}

.content a.match-row__score,
a.match-row__score {
    color: inherit;
    text-decoration: none;
    border-bottom: none;
}

.match-row--has-protocol {
    cursor: pointer;
}

.swiper-slide.game-has-protocol {
    cursor: pointer;
}

.about-section-item__img {
    background-color: #fff;
}

.team-roster .about-section-item img.team-roster__photo {
    max-width: none;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    background-color: #fff;
}

.team-roster .about-section-item__name a {
    color: inherit;
    text-decoration: none;
}

.team-roster__stats {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.35;
    color: var(--fk-text-muted);
}

.gss-source {
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--fk-text-muted);
}

.gss-empty {
    margin: 24px 0;
    color: var(--fk-text-muted);
}

.gss-match,
.gss-player {
    max-width: 1080px;
    margin: 0 auto 48px;
}

/* Bitrix/theme lobotomized owl: .content *+* { margin-top: 2.5rem } */
.gss-match * + *,
.content .gss-match * + *,
.gss-player * + *,
.content .gss-player * + * {
    margin-top: 0;
}

.content .gss-match p + p,
.content .gss-player p + p {
    margin-top: 0;
}

.content .gss-match ul,
.content .gss-match ol,
.content .gss-player ul,
.content .gss-player ol {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    list-style: none;
}

.content .gss-match li,
.content .gss-player li {
    position: static;
    margin-top: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

.content .gss-match li::before,
.content .gss-player li::before {
    content: none;
    display: none;
}

.gss-match__header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(16px, 3vw, 32px);
    align-items: center;
    margin-bottom: 28px;
}

.gss-match__team {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.gss-match__team-link {
    display: block;
    width: 280px;
    margin: 0 auto;
    text-decoration: none;
    color: inherit;
}

.content a.gss-match__team-link,
.content a.gss-match__team-link:hover,
.content a.gss-match__team-link:focus {
    color: inherit;
    text-decoration: none;
    border-bottom: none;
}

.gss-match__header .gss-match__team-logo.team-logo {
    box-sizing: border-box;
    width: 280px;
    height: 168px;
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.gss-match__header .gss-match__team-logo.team-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.content a.gss-match__team-link:hover .gss-match__team-logo.team-logo,
.content a.gss-match__team-link:focus .gss-match__team-logo.team-logo {
    transform: scale(1.04);
}

.gss-match__scoreboard {
    text-align: center;
}

.gss-match__score {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.gss-match .gss-match__meta,
.content .gss-match .gss-match__meta {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--fk-text-muted);
}

.gss-match__periods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.content .gss-match .gss-match__periods > .gss-match__period,
.gss-match__period {
    display: grid;
    place-content: center;
    justify-items: center;
    row-gap: 10px;
    box-sizing: border-box;
    width: 112px;
    height: 96px;
    padding: 12px;
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius);
    background: linear-gradient(165deg, var(--fk-surface) 0%, rgba(11, 122, 192, 0.06) 100%);
    box-shadow: var(--fk-shadow);
    text-align: center;
}

.gss-match__period-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 1.5rem;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--fk-primary);
    background: rgba(11, 122, 192, 0.1);
}

.gss-match .gss-match__period-score,
.content .gss-match .gss-match__period-score {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: var(--fk-font);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    color: var(--fk-text);
}

.gss-match__h2 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: var(--fk-text);
}

.content .gss-match .gss-match__h2 a,
.content .gss-match .gss-match__h2 a:hover,
.content .gss-match .gss-match__h2 a:focus,
.content .gss-match .gss-match__h2 a:focus-visible {
    color: var(--fk-text);
    font-weight: 700;
    text-decoration: none;
    border-bottom: none;
}

.gss-match__feed {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.gss-match__event {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(11, 122, 192, 0.12);
}

.gss-match__event-time {
    font-size: 13px;
    color: var(--fk-text-muted);
}

.gss-match .gss-match__event-team,
.content .gss-match .gss-match__event-team {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--fk-text-muted);
}

.gss-match__rosters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 0 0 32px;
}

.gss-match__roster-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gss-match__skater {
    display: flex;
    gap: 8px;
    align-items: baseline;
    padding: 6px 0;
}

.gss-match__skater.is-dnp {
    opacity: 0.45;
}

.gss-match__num {
    min-width: 2em;
    font-variant-numeric: tabular-nums;
    color: var(--fk-text-muted);
}

.gss-match__skater-stats {
    margin-left: auto;
    font-size: 13px;
    color: var(--fk-text-muted);
}

.gss-match__embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 12px;
}

.gss-match__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gss-player__header {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

.gss-player__photo {
    width: 160px;
    height: 160px;
    flex: 0 0 160px;
    border-radius: 50%;
    background-color: #fff;
}

.gss-player__photo img,
.content .gss-player__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #fff;
}

.gss-player__name {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
}

.gss-player__meta,
.gss-player__team {
    margin: 0 0 6px;
    color: var(--fk-text-muted);
}

.gss-player__stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.content .gss-player .gss-player__stat-grid > li,
.gss-player__stat-grid li {
    display: grid;
    place-content: center;
    justify-items: center;
    row-gap: 10px;
    box-sizing: border-box;
    width: auto;
    min-height: 96px;
    height: auto;
    padding: 12px;
    border: 1px solid var(--fk-border);
    border-radius: var(--fk-radius);
    background: linear-gradient(165deg, var(--fk-surface) 0%, rgba(11, 122, 192, 0.06) 100%);
    box-shadow: var(--fk-shadow);
    text-align: center;
}

.gss-player .gss-player__stat-grid span,
.content .gss-player .gss-player__stat-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--fk-primary);
    background: rgba(11, 122, 192, 0.1);
}

.gss-player .gss-player__stat-grid strong,
.content .gss-player .gss-player__stat-grid strong {
    margin: 0;
    font-family: var(--fk-font);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    color: var(--fk-text);
}

.leader-name a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 760px) {
    .gss-match__rosters,
    .gss-match__event {
        grid-template-columns: 1fr;
    }

    .gss-match__header {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: clamp(6px, 2vw, 12px);
    }

    .gss-match__scoreboard {
        min-width: 0;
        padding: 0 2px;
    }

    .gss-match__score {
        font-size: clamp(22px, 6.5vw, 32px);
        letter-spacing: 0.02em;
    }

    .gss-match .gss-match__meta,
    .content .gss-match .gss-match__meta {
        font-size: 11px;
        line-height: 1.35;
    }

    .gss-match__team-link {
        width: 100%;
        max-width: none;
    }

    .gss-match__header .gss-match__team-logo.team-logo {
        width: 100%;
        max-width: 120px;
        height: clamp(64px, 18vw, 88px);
        margin: 0 auto;
    }

    .gss-match__periods {
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(6px, 2vw, 10px);
        margin-bottom: 24px;
    }

    .content .gss-match .gss-match__periods > .gss-match__period,
    .gss-match__period {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: 104px;
        height: auto;
        min-height: 72px;
        padding: 8px 6px;
        row-gap: 6px;
    }

    .gss-match__period-label {
        width: 2rem;
        height: 1.25rem;
        font-size: 10px;
    }

    .gss-match .gss-match__period-score,
    .content .gss-match .gss-match__period-score {
        font-size: clamp(16px, 4.5vw, 22px);
    }

    .gss-player__stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
        gap: clamp(6px, 2vw, 10px);
        margin-bottom: 24px;
    }

    .content .gss-player .gss-player__stat-grid > li,
    .gss-player__stat-grid li {
        min-height: 72px;
        padding: 8px 6px;
        row-gap: 6px;
    }

    .gss-player .gss-player__stat-grid span,
    .content .gss-player .gss-player__stat-grid span {
        padding: 2px 5px;
        font-size: 9px;
    }

    .gss-player .gss-player__stat-grid strong,
    .content .gss-player .gss-player__stat-grid strong {
        font-size: clamp(16px, 4.5vw, 22px);
    }

    .gss-player__header {
        flex-direction: column;
        align-items: flex-start;
    }
}
