:root {
    --color-bg: #f6f8f6;
    --color-surface: #e5ebe8;
    --color-surface-2: #dce5e0;
    --color-surface-green: #bfd2c9;
    --color-green: #006039;
    --color-green-dark: #004b32;
    --color-green-deep: #003f2c;
    --color-green-soft: #d7e3de;
    --color-text: #17231f;
    --color-muted: #66736d;
    --color-line: #c7d3ce;
    --color-gold: #d7bf12;
    --color-silver: #b9cccf;
    --color-bronze: #887a12;
    --shadow-soft: 0 12px 26px rgba(0, 61, 43, .10);
    --shadow-card: 0 8px 18px rgba(16, 47, 37, .10);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --content-width: 1800px;
    --page-gutter: clamp(20px, 3.75vw, 72px);
    --space-section: clamp(64px, 7vw, 132px);
    --font-body: "Manrope", Arial, sans-serif;
    --font-heading: "Oswald", Impact, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    outline: none;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.site-logo__text {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 20px;
}
body.is-menu-open,
body.is-lightbox-open {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
button,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    touch-action: manipulation;
}
a.squad-card__link:hover .squad-card__body {
    background: var(--color-green-deep);
    transition: 0.5s;
}
a.coach-card__link:hover .coach-card__body {
    background: var(--color-green-deep);
    transition: 0.5s;
}
a.player-card__link:hover .player-card__body {
    background: var(--color-green-deep);
    transition: 0.5s;
}
button {
    border: 0;
    cursor: pointer;
}

::selection {
    color: #fff;
    background: var(--color-green);
}

.site-skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: var(--color-green-dark);
    border-radius: var(--radius-pill);
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.site-skip-link:focus {
    transform: translateY(0);
}

.site-layout {
    min-height: 100vh;
    overflow: clip;
}

.site-main {
    min-height: 50vh;
}

.content-section__inner,
.site-header__inner,
.site-footer__inner,
.home-hero__inner,
.application-form__inner {
    width: min(100% - (var(--page-gutter) * 2), var(--content-width));
    margin-inline: auto;
}

.content-section {
    padding-block: var(--space-section);
}

.content-section + .content-section {
    padding-top: 0;
}

/* Header */
.site-header {
    position: relative;
    z-index: 50;
    width: min(100% - 48px, 1824px);
    margin: 24px auto 0;
    color: #fff;
    background: var(--color-green);
    border-radius: 24px;
    box-shadow: 0 13px 20px rgba(0, 74, 49, .23);
}

.site-header__inner {
    display: flex;
    align-items: center;
    min-height: 120px;
    width: auto;
    padding: 16px 34px;
}

.site-header__brand {
    flex: 0 0 auto;
    min-width: 265px;
}

.site-header__navigation {
    margin-left: auto;
}

.site-navigation__list,
.footer-navigation__list {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.1vw, 46px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation__link,
.footer-navigation__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: rgba(255, 255, 255, .88);
    font-weight: 500;
    transition: color .2s ease;
}

.site-navigation__link::after,
.footer-navigation__link::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: .55;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.site-navigation__link:hover,
.site-navigation__item.is-active .site-navigation__link,
.footer-navigation__link:hover {
    color: #fff;
}

.site-navigation__link:hover::after,
.site-navigation__item.is-active .site-navigation__link::after,
.footer-navigation__link:hover::after {
    transform: scaleX(1);
}

.site-header__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 11px;
    color: #fff;
    background: transparent;
    border-radius: 12px;
}

.site-header__menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-line:nth-child(2) {
    opacity: 0;
}

.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-mobile-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    color: var(--color-text);
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.site-mobile-menu.is-open {
    display: block;
}

.site-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px 16px;
    border-bottom: 1px solid var(--color-line);
}

.site-mobile-menu__title {
    color: var(--color-green-dark);
    font-family: var(--font-heading);
    font-size: 24px;
    text-transform: uppercase;
}

.site-mobile-menu__close {
    width: 38px;
    height: 38px;
    color: var(--color-green);
    background: var(--color-green-soft);
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

.site-mobile-menu__list {
    display: grid;
    gap: 4px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.site-mobile-menu__link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
}

.site-mobile-menu__item.is-active .site-mobile-menu__link,
.site-mobile-menu__link:hover {
    color: #fff;
    background: var(--color-green);
}

/* Brand / footer */
.site-logo,
.site-logo__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.site-logo__image {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.site-logo__name {
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(20px, 1.55vw, 31px);
    line-height: 1;
    text-transform: uppercase;
}

.site-footer {
    margin-top: var(--space-section);
    padding: 72px 0 26px;
    color: #fff;
    background: var(--color-green-deep);
}

.site-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.site-footer__navigation .footer-navigation__list {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 26px;
}

.site-footer__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 46px;
    color: rgba(255, 255, 255, .78);
}

.site-footer__contact:hover,
.site-footer__privacy-link:hover {
    color: #fff;
}

.site-footer__details {
    margin-top: 26px;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}

.site-footer__details p {
    margin: 4px 0;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 46px;
    padding-top: 18px;
    color: rgba(255, 255, 255, .52);
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px;
}

.site-footer__copyright {
    margin: 0;
}

/* Typography */
.section-header {
    margin-bottom: 36px;
}

.section-header__eyebrow {
    margin: 0 0 10px;
    color: var(--color-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-header__title,
.content-hero__title,
.application-form__title,
.event-page__title,
.player-page__name,
.coach-page__name,
.squad-page__name,
.match-header__title,
.home-hero__title {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.section-header__title {
    font-size: clamp(38px, 4vw, 74px);
}

.section-header__subtitle {
    max-width: 720px;
    margin-top: 14px;
    color: var(--color-muted);
    font-size: clamp(15px, 1.15vw, 20px);
}

.content-section__inner > .section-header {
    max-width: 100%;
}

/* Generic blocks */
.content-text__body,
.content-hero__subtitle,
.home-intro__text,
.home-coach__text,
.event-page__content,
.match-report__body,
.squad-page__description-body,
.player-page__description-body,
.coach-page__description {
    color: color-mix(in srgb,var(--color-green) 86%,white);
    font-size: 17px;
    line-height: 1.75;
}

.content-text__body p,
.home-intro__text p,
.home-coach__text p,
.event-page__content p,
.match-report__body p {
    margin: 0 0 1em;
}

.content-text__body a,
.home-intro__text a,
.event-page__content a {
    color: var(--color-green);
    text-decoration: underline;
}

.content-hero {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    color: #fff;
    background: var(--color-green-dark);
    border-radius: var(--radius-lg);
}

.content-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    min-height: 380px;
    padding: clamp(28px, 5vw, 80px);
}

.content-hero__media,
.content-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.content-hero__image {
    object-fit: cover;
    opacity: .72;
}

.content-hero__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 45, 30, .85), rgba(0, 45, 30, .05));
    content: "";
}

.content-hero__content {
    position: relative;
    max-width: 760px;
}

.content-hero__title {
    color: #fff;
    font-size: clamp(44px, 6vw, 100px);
}

.content-hero__subtitle {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .85);
}

.image-text {
    padding-block: var(--space-section);
}

.image-text__layout,
.home-intro__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 90px);
}

.image-text--right .image-text__media {
    order: 2;
}

.image-text__media,
.home-intro__media {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.image-text__image,
.home-intro__image {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
}

.image-text__caption {
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 13px;
}

.image-text__title {
    margin: 0 0 20px;
    font-family: var(--font-heading);
    font-size: clamp(34px, 3.7vw, 64px);
    line-height: 1.08;
    text-transform: uppercase;
}

/* Home hero / intro */
.home-hero {
    width: min(100% - 48px, 1824px);
    margin: 46px auto 0;
}

.home-hero__inner {
    width: 100%;
}

.home-hero__slides {
    position: relative;
    overflow: hidden;
    min-height: clamp(360px, 48vw, 720px);
    border-radius: var(--radius-lg);
    background: var(--color-green-dark);
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .45s ease, visibility .45s ease;
}

.home-hero__slide.is-active {
    position: relative;
    visibility: visible;
    opacity: 1;
}

.home-hero__slide-inner {
    position: relative;
    display: block;
    min-height: clamp(360px, 48vw, 720px);
    overflow: hidden;
}

.home-hero__media,
.home-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__image {
    object-fit: cover;
}

.home-hero__slide-inner::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 57, 39, .82), rgba(0, 57, 39, .05) 75%), linear-gradient(0deg, rgba(0, 0, 0, .25), transparent 40%);
    content: "";
}

.home-hero__content {
    position: absolute;
    z-index: 1;
    right: 10%;
    bottom: 12%;
    left: 8%;
    max-width: 760px;
    color: #fff;
}

.home-hero__accent {
    display: block;
    width: 58px;
    height: 6px;
    margin-bottom: 20px;
    background: var(--color-gold);
    border-radius: var(--radius-pill);
}

.home-hero__title {
    color: #fff;
    font-size: clamp(44px, 7vw, 116px);
}

.home-hero__subtitle {
    max-width: 610px;
    margin: 16px 0 0;
    color: rgba(255,255,255,.88);
    font-size: clamp(16px, 1.4vw, 24px);
}

.home-intro__content {
    padding: 12px 0;
}

.home-intro__text {
    max-width: 720px;
}

/* Cards / grids */
.player-grid,
.coach-grid,
.squad-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 1.6vw, 30px);
}

.player-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.player-card,
.coach-card,
.squad-card {
    min-width: 0;
}

.player-card__link,
.coach-card__link,
.squad-card__link {
    display: block;
    height: 100%;
    color: inherit;
}

.player-card__media,
.coach-card__media,
.squad-card__media {
    position: relative;
    overflow: hidden;
    background: var(--color-surface-green);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    isolation: isolate;
}

.player-card__media {
    aspect-ratio: .82;
}

.coach-card__media,
.squad-card__media {
    aspect-ratio: 1;
}

.player-card__media::after {
    position: absolute;
    z-index: -1;
    right: -8%;
    bottom: -4%;
    width: 70%;
    height: 44%;
    background: rgba(247, 249, 247, .88);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    content: "";
}

.player-card__image,
.coach-card__image,
.squad-card__image {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transition: transform .35s ease;
}

.player-card__link:hover .player-card__image,
.coach-card__link:hover .coach-card__image,
.squad-card__link:hover .squad-card__image {
    transform: scale(1.035);
}

.player-card__number {
    position: absolute;
    z-index: 2;
    top: 22px;
    left: 24px;
    color: var(--color-green);
    font-family: var(--font-heading);
    font-size: clamp(42px, 4.3vw, 78px);
    line-height: .8;
}

.player-card__placeholder,
.coach-card__placeholder,
.squad-card__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--color-green);
    background: linear-gradient(145deg, var(--color-surface-green), var(--color-surface));
}

.player-card__initials,
.coach-card__initials,
.squad-card__placeholder-text {
    font-family: var(--font-heading);
    font-size: 64px;
}

.player-card__body,
.coach-card__body,
.squad-card__body {
    position: relative;
    z-index: 2;
    margin-top: 8px;
    padding: 7px 16px 9px;
    color: #fff;
    background: var(--color-green);
    border-radius: var(--radius-pill);
    text-align: center;
}

.player-card__position,
.player-card__birth-year,
.coach-card__role,
.squad-card__age-group,
.squad-card__season,
.squad-card__coach {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.2;
}

.player-card__name,
.coach-card__name,
.squad-card__name {
    margin: 0;
    font-size: clamp(14px, 1.05vw, 20px);
    font-weight: 700;
    line-height: 1.25;
}

.player-card__more,
.coach-card__more,
.squad-card__more {
    display: inline-block;
    margin-top: 4px;
    color: rgba(255,255,255,.76);
    font-size: 11px;
}

.squad-card__description {
    margin: 8px 0 0;
    color: var(--color-muted);
    font-size: 13px;
}

/* Buttons and empty state */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-align: center;
    transition: transform .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #fff;
    background: var(--color-green);
    box-shadow: 0 8px 14px rgba(0, 96, 57, .18);
}

.button--secondary {
    color: var(--color-green-dark);
    background: var(--color-surface-green);
}

.button.is-disabled,
.button:disabled {
    cursor: not-allowed;
    opacity: .5;
    transform: none;
}

.empty-state {
    display: grid;
    justify-items: center;
    max-width: 560px;
    margin: 20px auto;
    padding: 40px 24px;
    color: var(--color-muted);
    text-align: center;
}

.empty-state__mark {
    position: relative;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border: 2px solid var(--color-green);
    border-radius: 50%;
}

.empty-state__mark-line {
    position: absolute;
    top: 23px;
    left: 12px;
    width: 22px;
    height: 2px;
    background: var(--color-green);
}

.empty-state__mark-line:first-child {
    transform: rotate(45deg);
}

.empty-state__mark-line:last-child {
    transform: rotate(-45deg);
}

.empty-state__title {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 28px;
    text-transform: uppercase;
}

.empty-state__text {
    margin: 10px 0 0;
}

.empty-state__action {
    margin-top: 20px;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 120px;
    color: var(--color-muted);
}

.loading--inline {
    display: inline-flex;
    min-height: 0;
}

.loading__indicator {
    display: inline-flex;
    gap: 4px;
}

.loading__dot {
    width: 7px;
    height: 7px;
    background: var(--color-green);
    border-radius: 50%;
    animation: loading-bounce 1s infinite ease-in-out;
}

.loading__dot:nth-child(2) { animation-delay: .12s; }
.loading__dot:nth-child(3) { animation-delay: .24s; }

@keyframes loading-bounce {
    0%, 80%, 100% { transform: scale(.65); opacity: .5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Statistics */
.statistics-table-wrapper,
.standings-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
}

.statistics-table,
.standings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    color: var(--color-text);
}

.statistics-table__caption {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    text-align: left;
    text-transform: uppercase;
}

.statistics-table__heading,
.standings-table__heading {
    padding: 14px 16px;
    color: #fff;
    background: var(--color-green);
    font-weight: 700;
    text-align: left;
}

.statistics-table__heading:first-child,
.standings-table__heading:first-child {
    border-radius: 14px 0 0 14px;
}

.statistics-table__heading:last-child,
.standings-table__heading:last-child {
    border-radius: 0 14px 14px 0;
}

.statistics-table__label,
.statistics-table__value,
.standings-table__cell {
    padding: 13px 16px;
    background: var(--color-surface);
}

.statistics-table__label {
    font-weight: 700;
    text-align: left;
}

.statistics-table__description {
    display: block;
    margin-top: 2px;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 400;
}

.statistics-table__value {
    width: 180px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

.statistics-table__row:first-child .statistics-table__label,
.statistics-table__row:first-child .statistics-table__value,
.standings-table__row:first-child .standings-table__cell {
    border-radius: 14px 14px 0 0;
}

.statistics-table__row:last-child .statistics-table__label,
.statistics-table__row:last-child .statistics-table__value,
.standings-table__row:last-child .standings-table__cell {
    border-radius: 0 0 14px 14px;
}

.medals {
    margin-top: 34px;
}

.medals__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.medals__item {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 104px;
}

.medals__label {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.medals__name {
    font-size: 13px;
}

.medals__icon {
    position: relative;
    display: block;
    width: 36px;
    height: 38px;
}

.medals__ribbon {
    position: absolute;
    top: 0;
    left: 11px;
    width: 14px;
    height: 16px;
    background: var(--color-green);
    clip-path: polygon(0 0, 100% 0, 82% 100%, 50% 78%, 18% 100%);
}

.medals__disc {
    position: absolute;
    bottom: 0;
    left: 3px;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: var(--color-gold);
}

.medals__item--silver .medals__disc { background: var(--color-silver); }
.medals__item--bronze .medals__disc { background: var(--color-bronze); }

.medals__count {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--color-gold);
    border-radius: 50%;
    font-weight: 800;
}

.medals__item--silver .medals__count { background: var(--color-silver); }
.medals__item--bronze .medals__count { background: var(--color-bronze); }

/* Games */
.match-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
}

.match-card {
    min-width: 0;
}

.match-card__link {
    display: block;
    padding: 12px 18px;
    color: var(--color-text);
    background: var(--color-surface);
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 12px rgba(16, 47, 37, .06);
    transition: background-color .2s ease, transform .2s ease;
}

.match-card__link:hover {
    background: var(--color-surface-green);
    transform: translateY(-2px);
}

.match-card__top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--color-muted);
    font-size: 12px;
}

.match-card__date,
.match-card__date time {
    display: inline-flex;
    gap: 8px;
}

.match-card__status {
    color: var(--color-green);
    font-weight: 700;
}

.match-card__tournament,
.match-card__venue,
.match-card__statistics-label,
.match-card__more {
    display: block;
    margin: 4px 0 0;
    color: var(--color-muted);
    font-size: 12px;
}

.match-card__statistics-label {
    color: var(--color-green);
}

.match-score {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.match-score__plus {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.match-score__plus--away {
    justify-content: flex-end;
    text-align: right;
}

.match-score__plus-logo {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
}

.match-score__logo,
.match-score__logo-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.match-score__logo-placeholder {
    color: var(--color-green);
    background: rgba(255,255,255,.55);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 800;
}

.match-score__plus-name {
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-score__result {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 25px;
    font-weight: 800;
    white-space: nowrap;
}

.match-score__placeholder {
    color: var(--color-muted);
}

.match-header {
    padding-block: clamp(38px, 5vw, 86px);
    color: #fff;
    background: var(--color-green-dark);
}

.match-header__back-link,
.tournament-header__back-link,
.player-page__back-link,
.coach-page__back-link,
.squad-page__back-link {
    color: var(--color-green);
    font-weight: 700;
}

.match-header__back-link { color: rgba(255,255,255,.8); }

.match-header__top,
.match-header__meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.match-header__title { color: #fff; font-size: clamp(40px, 5vw, 86px); }
.match-header__score { margin-top: 28px; }
.match-header__meta { color: rgba(255,255,255,.75); font-size: 14px; }

.match-participants__table-wrapper { overflow-x: auto; }
.match-participants__table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 4px; }
.match-participants__heading { padding: 14px; color: #fff; background: var(--color-green); text-align: center; }
.match-participants__heading--player { text-align: left; }
.match-participants__cell { padding: 12px 14px; background: var(--color-surface); text-align: center; }
.match-participants__cell--player { text-align: left; }
.match-participants__player { display: flex; align-items: center; gap: 10px; }
.match-participants__player-photo { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }
.match-participants__player-name { font-weight: 700; }
.match-participants__player-meta { color: var(--color-muted); font-size: 12px; }
.match-participants__badge { display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; padding: 2px 5px; color: #fff; background: var(--color-green); border-radius: 50%; font-size: 11px; }
.match-participants__badge--mvp { background: var(--color-gold); }
.match-participants__badge--clean-sheet { background: var(--color-silver); }

/* Tournament */
.tournament-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tournament-card__link {
    display: block;
    height: 100%;
    padding: 20px;
    color: var(--color-text);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, background-color .2s ease;
}

.tournament-card__link:hover { background: var(--color-surface-green); transform: translateY(-3px); }
.tournament-card__top { display: flex; justify-content: space-between; gap: 10px; color: var(--color-muted); font-size: 12px; }
.tournament-card__status { color: var(--color-green); font-weight: 800; }
.tournament-card__date { white-space: nowrap; }
.tournament-card__main { display: flex; gap: 16px; align-items: center; margin-top: 24px; }
.tournament-card__logo { flex: 0 0 70px; width: 70px; height: 70px; }
.tournament-card__logo-image { width: 100%; height: 100%; object-fit: contain; }
.tournament-card__logo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--color-green); background: #fff; border-radius: 50%; font-family: var(--font-heading); font-size: 28px; }
.tournament-card__title { margin: 0; font-family: var(--font-heading); font-size: 28px; line-height: 1.1; text-transform: uppercase; }
.tournament-card__location,
.tournament-card__description { margin: 5px 0 0; color: var(--color-muted); font-size: 13px; }
.tournament-card__more { margin-top: 18px; color: var(--color-green); font-weight: 700; }

.tournament-header {
    padding-block: clamp(40px, 5vw, 90px);
    color: #fff;
    background: var(--color-green-dark);
}

.tournament-header__back-link { color: rgba(255,255,255,.82); }
.tournament-header__layout { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 34px; }
.tournament-header__logo { width: 120px; height: 120px; }
.tournament-header__logo-image { width: 100%; height: 100%; object-fit: contain; }
.tournament-header__logo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--color-green); background: #fff; border-radius: 50%; font-family: var(--font-heading); font-size: 46px; }
.tournament-header__status-row { display: flex; gap: 16px; color: rgba(255,255,255,.75); font-size: 14px; }
.tournament-header__status { color: #fff; font-weight: 800; }
.tournament-header__title { margin: 12px 0 0; color: #fff; font-family: var(--font-heading); font-size: clamp(44px, 5vw, 88px); line-height: 1; text-transform: uppercase; }
.tournament-header__meta { display: flex; flex-wrap: wrap; gap: 20px 34px; margin-top: 24px; }
.tournament-header__meta-item { display: grid; gap: 2px; }
.tournament-header__meta-label { color: rgba(255,255,255,.55); font-size: 12px; }
.tournament-header__meta-value { font-weight: 700; }
.tournament-header__description { max-width: 780px; margin-top: 24px; color: rgba(255,255,255,.82); }

.standings-table { min-width: 760px; }
.standings-table__heading,
.standings-table__cell { text-align: center; }
.standings-table__heading--plus,
.standings-table__cell--plus { text-align: left; }
.standings-table__plus { display: flex; align-items: center; gap: 10px; }
.standings-table__plus-logo { width: 30px; height: 30px; object-fit: contain; }
.standings-table__plus-name { font-weight: 700; }
.standings-table__cell--points { font-weight: 800; }

/* Team page */
.plus-page__intro { padding-block: clamp(72px, 8vw, 150px) 40px; }
.plus-page__intro .section-header__title { font-size: clamp(56px, 5vw, 100px); }
.plus-page > .plus-section { padding-top: 34px; }
.plus-page > .plus-section + .plus-section { padding-top: 84px; }
.plus-page__latest-games,
.plus-page__latest-tournament { padding-top: 84px; }
.plus-page__latest-games-list { margin-top: 26px; }
.plus-page__latest-games-action,
.plus-page__latest-tournament-action { margin-top: 26px; }
.plus-page__latest-tournament-card { max-width: 1140px; }

/* Player / coach / squad detail */
.player-page__header,
.coach-page__header,
.squad-page__header { padding-block: clamp(44px, 6vw, 100px); }

.player-page__profile,
.coach-page__profile,
.squad-page__profile { display: grid; grid-template-columns: minmax(240px, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: center; margin-top: 36px; }
.player-page__photo,
.coach-page__photo,
.squad-page__logo { position: relative; overflow: hidden; aspect-ratio: .82; background: var(--color-surface-green); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.player-page__photo::after { position: absolute; right: -10%; bottom: 0; width: 75%; height: 38%; background: rgba(255,255,255,.7); clip-path: polygon(100% 0, 100% 100%, 0 100%); content: ""; }
.player-page__photo-image,
.coach-page__photo-image,
.squad-page__logo-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.player-page__photo-placeholder,
.coach-page__photo-placeholder,
.squad-page__logo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--color-green); font-family: var(--font-heading); font-size: 84px; }
.player-page__info { min-width: 0; }
.player-page__position,
.coach-page__role,
.squad-page__age-group { margin: 0 0 10px; color: var(--color-green); font-weight: 800; text-transform: uppercase; }
.player-page__name,
.coach-page__name,
.squad-page__name { font-size: clamp(42px, 6vw, 100px); }
.player-page__number { margin-top: 22px; color: var(--color-green-dark); font-size: 20px; font-weight: 700; }
.player-page__squad { color: var(--color-muted); }
.player-page__description,
.coach-page__description,
.squad-page__description { max-width: 840px; }

/* Coach block */
.home-coach__layout { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); align-items: center; gap: 44px; padding: 30px; background: var(--color-surface); border-radius: var(--radius-lg); }
.home-coach__media { overflow: hidden; aspect-ratio: 1; border-radius: var(--radius-md); background: var(--color-surface-green); }
.home-coach__image { width: 100%; height: 100%; object-fit: cover; }
.home-coach__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--color-green); font-family: var(--font-heading); font-size: 90px; }
.home-coach__role { margin: 0; color: var(--color-green); font-weight: 700; }
.home-coach__name { margin: 8px 0 18px; font-family: var(--font-heading); font-size: clamp(30px, 3vw, 54px); text-transform: uppercase; }
.home-coach__text { max-width: 680px; }
.home-coach__action { margin-top: 24px; }

/* News and media */
.event-list,
.news-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.event-card,
.news-card { min-width: 0; }
.event-card__link,
.news-card__link { display: block; height: 100%; overflow: hidden; color: var(--color-text); background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.event-card__media,
.news-card__media { overflow: hidden; aspect-ratio: 1.4; background: var(--color-surface-green); }
.event-card__image,
.news-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.event-card__link:hover .event-card__image,
.news-card__link:hover .news-card__image { transform: scale(1.04); }
.event-card__content,
.news-card__content { padding: 18px; }
.event-card__date,
.news-card__date { color: var(--color-green); font-size: 12px; font-weight: 700; }
.event-card__title,
.news-card__title { margin: 8px 0 0; font-size: 18px; line-height: 1.25; }
.event-card__excerpt,
.news-card__excerpt { margin: 8px 0 0; color: var(--color-muted); font-size: 13px; }
.event-card__more { display: inline-block; margin-top: 14px; color: var(--color-green); font-size: 13px; font-weight: 700; }

.media-photo-gallery__grid,
.photo-gallery__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.media-photo-card,
.photo-gallery__item { margin: 0; min-width: 0; }
.media-photo-card__link,
.photo-gallery__link { display: block; overflow: hidden; aspect-ratio: 1; border-radius: var(--radius-md); background: var(--color-surface); }
.media-photo-card__image,
.photo-gallery__image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.media-photo-card__link:hover .media-photo-card__image,
.photo-gallery__link:hover .photo-gallery__image { transform: scale(1.05); }
.media-photo-card__caption,
.photo-gallery__caption { margin-top: 8px; color: var(--color-muted); font-size: 12px; }
.media-photo-card__players { display: block; margin-top: 4px; }
.media-photo-card__players-label { font-weight: 700; }
.media-photo-card__player { color: var(--color-green); }
.media-video-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.media-video-card { overflow: hidden; background: var(--color-surface); border-radius: var(--radius-md); }
.media-video-card__media { background: #000; }
.media-video-card__player { width: 100%; aspect-ratio: 16 / 9; }
.media-video-card__content { padding: 18px; }
.media-video-card__title { margin: 0; font-size: 20px; }
.media-video-card__caption { color: var(--color-muted); }
.media-video-card__players { margin-bottom: 0; color: var(--color-muted); font-size: 13px; }
.media-video-card__player-link { color: var(--color-green); font-weight: 700; }

/* Forms */
.application-form-section { padding-block: var(--space-section); }
.application-form-section__layout { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.application-form-section__title,
.application-form__title { font-size: clamp(40px, 4.5vw, 78px); }
.application-form-section__subtitle,
.application-form__subtitle { color: var(--color-muted); }
.application-form__form { padding: clamp(22px, 4vw, 52px); background: var(--color-surface); border-radius: var(--radius-lg); }
.application-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.application-form__field--full,
.form-field--full { grid-column: 1 / -1; }
.application-form__label,
.form-field__label { display: block; margin-bottom: 7px; color: var(--color-green-dark); font-size: 13px; font-weight: 700; }
.application-form__input,
.application-form__textarea,
.form-field__input,
.form-field__textarea { width: 100%; padding: 13px 16px; color: var(--color-text); background: #fff; border: 1px solid var(--color-line); border-radius: 12px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.application-form__textarea,
.form-field__textarea { min-height: 132px; resize: vertical; }
.application-form__input:focus,
.application-form__textarea:focus,
.form-field__input:focus,
.form-field__textarea:focus { border-color: var(--color-green); box-shadow: 0 0 0 3px rgba(0, 96, 57, .12); }
.application-form__consent,
.form-field__checkbox { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; }
.application-form__consent-input,
.form-field__checkbox input { margin-top: 4px; accent-color: var(--color-green); }
.application-form__consent-text,
.form-field__checkbox-text { color: var(--color-muted); font-size: 13px; }
.application-form__submit { margin-top: 22px; }
.form-errors { padding: 16px; color: #842029; background: #f8d7da; border-radius: 12px; }
.form-errors__title { margin: 0 0 6px; font-weight: 800; }
.form-errors__list { margin: 0; padding-left: 20px; }
.form-success { padding: 24px; text-align: center; background: var(--color-surface-green); border-radius: var(--radius-md); }
.form-success__mark { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; color: #fff; background: var(--color-green); border-radius: 50%; font-size: 25px; }
.form-success__mark::before { content: "✓"; }
.form-success__title { margin: 0; font-family: var(--font-heading); font-size: 30px; text-transform: uppercase; }
.form-success__message { color: var(--color-muted); }

/* Contacts, breadcrumbs, pagination */
.contacts-section__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contacts-section__details,
.contacts-section__requisites { display: grid; gap: 12px; }
.contacts-section__item { padding: 16px; background: var(--color-surface); border-radius: 14px; }
.contacts-section__label { display: block; color: var(--color-muted); font-size: 12px; }
.contacts-section__value { display: block; margin-top: 4px; font-weight: 700; }
.contacts-section__map { min-height: 360px; overflow: hidden; border-radius: var(--radius-md); }
.breadcrumbs { width: min(100% - (var(--page-gutter) * 2), var(--content-width)); margin: 22px auto 0; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--color-muted); list-style: none; font-size: 13px; }
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs__link:hover { color: var(--color-green); }
.breadcrumbs__item.is-current .breadcrumbs__current { color: var(--color-text); font-weight: 700; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 24px auto; }
.pagination__pages { display: flex; gap: 6px; }
.pagination__link { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; color: var(--color-green-dark); background: var(--color-surface); border-radius: var(--radius-pill); }
.pagination__link:hover,
.pagination__link--current { color: #fff; background: var(--color-green); }
.pagination__ellipsis { display: grid; place-items: center; min-width: 28px; }

/* Lightbox inserted by app.js */
.site-lightbox { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 28px; background: rgba(0, 37, 26, .92); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.site-lightbox.is-open { opacity: 1; visibility: visible; }
.site-lightbox__image { max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.site-lightbox__close,
.site-lightbox__previous,
.site-lightbox__next { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--color-green); border-radius: 50%; font-size: 28px; }
.site-lightbox__close { top: 24px; right: 24px; }
.site-lightbox__previous { left: 24px; }
.site-lightbox__next { right: 24px; }
.site-lightbox__caption { position: absolute; right: 80px; bottom: 24px; left: 80px; color: #fff; text-align: center; }

@media (max-width: 1200px) {
    .site-header__brand { min-width: 210px; }
    .site-navigation__list { gap: 18px; }
    .site-navigation__link { font-size: 14px; }
    .player-grid,
    .coach-grid,
    .squad-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .event-list,
    .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .media-photo-gallery__grid,
    .photo-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .site-logo__text {
    font-size: 16px;
    }
     }
@media (max-width: 900px) {
 
    .site-header { width: calc(100% - 28px); margin-top: 14px; border-radius: 18px; }
    .site-header__inner { min-height: 82px; padding: 10px 16px; }
    .site-header__brand { min-width: 0; }
    .site-navigation { display: none; }
    .site-header__menu-toggle { display: flex; }
    .site-logo__image { width: 56px; height: 56px; }
    .site-logo__name { font-size: 18px; }
    .home-hero { width: calc(100% - 28px); margin-top: 28px; }
    .home-hero__slides,
    .home-hero__slide-inner { min-height: 480px; }
    .image-text__layout,
    .home-intro__layout,
    .application-form-section__layout,
    .contacts-section__layout { grid-template-columns: 1fr; }
    .image-text--right .image-text__media { order: 0; }
    .player-grid,
    .coach-grid,
    .squad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tournament-list,
    .match-list,
    .media-video-gallery__grid { grid-template-columns: 1fr; }
    .event-list,
    .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .media-photo-gallery__grid,
    .photo-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .player-page__profile,
    .coach-page__profile,
    .squad-page__profile { grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: 28px; }
    .home-coach__layout { grid-template-columns: 220px 1fr; }
    .site-footer__top { flex-direction: column; }
    .site-footer__navigation .footer-navigation__list { justify-content: flex-start; }
}

@media (max-width: 600px) {
    :root { --page-gutter: 18px; --space-section: 58px; }
    .content-section { padding-block: var(--space-section); }
    .section-header { margin-bottom: 24px; }
    .section-header__title { font-size: 42px; }
    .home-hero__content { right: 20px; bottom: 30px; left: 20px; }
    .home-hero__slides,
    .home-hero__slide-inner { min-height: 420px; }
    .home-hero__title { font-size: 52px; }
    .home-intro__layout { gap: 22px; }
    .player-grid,
    .coach-grid,
    .squad-grid,
    .event-list,
    .news-list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .player-card__body,
    .coach-card__body,
    .squad-card__body { padding-inline: 8px; }
    .player-card__number { top: 12px; left: 12px; font-size: 42px; }
    .player-card__name,
    .coach-card__name,
    .squad-card__name { font-size: 12px; }
    .player-card__position,
    .player-card__birth-year,
    .coach-card__role,
    .squad-card__age-group { font-size: 10px; }
    .player-card__more,
    .coach-card__more,
    .squad-card__more { display: none; }
    .event-card__content,
    .news-card__content { padding: 12px; }
    .event-card__title,
    .news-card__title { font-size: 14px; }
    .event-card__excerpt,
    .news-card__excerpt { display: none; }
    .media-photo-gallery__grid,
    .photo-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .player-page__profile,
    .coach-page__profile,
    .squad-page__profile { grid-template-columns: 1fr; }
    .player-page__photo,
    .coach-page__photo,
    .squad-page__logo { max-width: 420px; }
    .player-page__name,
    .coach-page__name,
    .squad-page__name { font-size: 50px; }
    .match-score { gap: 6px; }
    .match-score__plus-logo { flex-basis: 28px; width: 28px; height: 28px; }
    .match-score__plus-name { font-size: 11px; }
    .match-score__result { font-size: 20px; }
    .tournament-header__layout { grid-template-columns: 72px 1fr; gap: 16px; }
    .tournament-header__logo { width: 72px; height: 72px; }
    .tournament-header__title { font-size: 48px; }
    .home-coach__layout { grid-template-columns: 1fr; padding: 18px; }
    .application-form__fields { grid-template-columns: 1fr; }
    .application-form__field--full,
    .form-field--full { grid-column: auto; }
    .site-footer { padding-top: 52px; }
    .site-footer__bottom { flex-direction: column; gap: 10px; }
    .site-footer__navigation .footer-navigation__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
    .site-lightbox { padding: 12px; }
    .site-lightbox__previous { left: 10px; }
    .site-lightbox__next { right: 10px; }
    .site-lightbox__close { top: 10px; right: 10px; }
    .site-lightbox__caption { right: 20px; bottom: 12px; left: 20px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* Match and player media: touch scrolling and keyboard navigation. */
[data-media-slider] { display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:16px; }
[data-media-slider] > * { flex:0 0 calc((100% - 48px)/3); min-width:0; margin:0; scroll-snap-align:start; }
[data-media-slider] img { width:100%; aspect-ratio:4/3; object-fit:cover; }
[data-media-slider] video { width:100%; aspect-ratio:16/9; background:#111; }
.media-slider-controls { display:flex; justify-content:flex-end; gap:12px; margin-top:12px; }
.media-slider-controls button { padding:10px 18px; border:1px solid color-mix(in srgb,var(--color-green) 95%,black); border-radius:6px; background:#fff; color:color-mix(in srgb,var(--color-green) 95%,black); cursor:pointer; }
.media-slider-controls button:disabled { opacity:.4; cursor:default; }
[data-media-slider]:focus-visible, .media-slider-controls button:focus-visible { outline:3px solid #d6a927; outline-offset:3px; }
@media(max-width:900px) { [data-media-slider] > * { flex-basis:calc((100% - 24px)/2); } }
@media(max-width:600px) { [data-media-slider] > * { flex-basis:90%; } }

/* Shared spacing and surfaces — September 2026. */
:root {
    --space-section: clamp(48px, 5vw, 88px);
    --space-action: 28px;
    --wide-gutter: 24px;
    --wide-width: 1824px;
    --medal-gold: #996813;
    --medal-silver: #536773;
    --medal-bronze: #98552f;
}
.site-main { padding-bottom: var(--space-section); }
.site-main :is(.content-section, .plus-section, .image-text) {
    margin-block: 0;
    padding-block: var(--space-section) 0;
}
.site-main :is(.plus-page__intro, .player-page__header, .coach-page__header, .squad-page__header) {
    padding-block: var(--space-section) 0;
}
.plus-page__intro .section-header { margin-bottom: 0; }
.home-hero, .home-intro > .content-section__inner {
    width: min(calc(100% - var(--wide-gutter) * 2), var(--wide-width));
    margin-inline: auto;
}
.home-intro__layout { width: 100%; }
.home-intro__media { margin: 0; }
.home-intro--text-only .home-intro__layout { grid-template-columns: 1fr; }
.home-intro__text > :first-child { margin-top: 0; }
.home-intro__text > :last-child { margin-bottom: 0; }
.home-tournament__list { display: grid; gap: 32px; }

.home-tournament__standings .content-section__inner { width: 100%; }
:is(.home-tournament__footer, .home-latest-games__footer, .home-latest-news__footer,
    .tournament-list-section__footer, .match-list-section__footer) {
    display: flex; justify-content: center; margin-top: var(--space-action);
}
:is(.home-tournament__footer, .home-latest-games__footer) .button { margin: 0; }

/* Hero controls sit below the image, with a generous touch target. */
.home-hero__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; padding-top: 12px; }
.home-hero__dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border-radius: 50%; }
.home-hero__dot span { width: 10px; height: 10px; border-radius: 20px; background: color-mix(in srgb,var(--color-green) 30%,white); transition: width .2s ease, background .2s ease; }
.home-hero__dot.is-active span { width: 28px; background: var(--color-green); }
.home-hero__dot:hover span { background: var(--color-green); }
.home-hero__pause { min-height: 44px; padding: 8px 14px; margin-left: 8px; background: transparent; color: var(--color-green-dark); font-size: 13px; font-weight: 700; border-radius: 12px; }
.home-hero__pause:hover { background: var(--color-surface); }
:is(a, button, [tabindex]):focus-visible { outline: 3px solid #bd901f; outline-offset: 4px; }

/* Awards */
.medals-block { margin-top: 0; }
.medals-block .medals__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.medals-block .medals__item {
    --award-ink: var(--medal-gold); --award-bg: #fff7dc; --award-line: #e7d092;
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: clamp(20px, 2.4vw, 36px); border: 1px solid var(--award-line); border-radius: var(--radius-md);
    background: linear-gradient(125deg, #fff 5%, var(--award-bg)); box-shadow: 0 8px 24px #17231f06;
}
.medals-block .medals__item--silver { --award-ink: var(--medal-silver); --award-bg: #eaf0f4; --award-line: #cbd5df; }
.medals-block .medals__item--bronze { --award-ink: var(--medal-bronze); --award-bg: #faeee5; --award-line: #e7c9b5; }
.medals-block .medals__label { display: flex; align-items: center; gap: 18px; }
.medals-block .medals__name { color: var(--award-ink); font-size: clamp(15px, 1.4vw, 21px); font-weight: 800; }
.medals-block .medals__icon { position: relative; display: block; width: 48px; height: 62px; flex: 0 0 48px; }
.medals-block .medals__ribbon { position: absolute; top: 0; left: 8px; width: 32px; height: 33px; background: var(--color-green); clip-path: polygon(0 0, 38% 0, 50% 55%, 62% 0, 100% 0, 72% 100%, 28% 100%); }
.medals-block .medals__disc { position: absolute; top: 23px; left: 3px; width: 42px; height: 42px; border: 3px solid var(--award-line); border-radius: 50%; background: var(--award-bg); color: var(--award-ink); box-shadow: inset 0 0 0 2px #fff; }
.medals-block .medals__disc::after { content: '★'; display: grid; height: 100%; place-items: center; font-size: 23px; }
.medals-block .medals__value { margin: 0; }
.medals-block .medals__count { display: block; padding: 0; min-width: 0; min-height: 0; width: auto; height: auto; color: var(--award-ink); background: none; font: 700 clamp(38px, 4vw, 62px)/1 var(--font-heading); font-variant-numeric: tabular-nums; }
:is(.player-statistics, .squad-statistics) .medals-block { margin-top: 32px; }

/* Match and tournament cards */
.match-card__link, .tournament-card__link { height: 100%; padding: 28px; border: 1px solid color-mix(in srgb,var(--color-green) 18%,white); border-radius: var(--radius-md); background: color-mix(in srgb,var(--color-green) 7%,white); }
.match-card__link { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.match-card__top { flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; font-size: 13px; }
.match-card__date { justify-content: center; flex-wrap: wrap; }
.match-card__status { padding: 4px 10px; background: color-mix(in srgb,var(--color-green) 14%,white); border-radius: 20px; }
.match-card__tournament, .match-card__venue { margin: 0; font-size: 14px; }
.match-card__tournament { color: var(--color-green-dark); font-weight: 700; }
.match-card .match-score { margin: 0; padding-block: 4px; }
.match-card .match-score__plus { flex-direction: column; text-align: center; gap: 10px; }
.match-card .match-score__plus-logo { flex-basis: 56px; width: 56px; height: 56px; padding: 7px; border-radius: 50%; background: #fff; }
.match-card .match-score__plus-name { white-space: normal; overflow-wrap: anywhere; font-size: 15px; }
.match-card .match-score__result { padding: 8px 14px; border-radius: 12px; background: #fff; color: var(--color-green-dark); font-size: 32px; }
.tournament-card__logo { display: grid; place-items: center; padding: 10px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px #003f2c08; }
.tournament-card__top { flex-wrap: wrap; gap: 8px 16px; }
.tournament-card__date { white-space: normal; }
.tournament-card__more, .match-card__more { display: inline-flex; align-items: center; justify-content: center; align-self: center; gap: 10px; padding: 10px 16px; border: 1px solid color-mix(in srgb,var(--color-green) 29%,white); border-radius: 12px; color: var(--color-green-dark); font-size: 13px; font-weight: 800; background: #ffffff80; }
.tournament-card__more { margin-top: 24px; }
.match-card__more { margin-top: auto; }
.tournament-card__more::after, .match-card__more::after { content: '→'; font-size: 18px; line-height: 1; }

/* Detail page introductions */
.tournament-header, .match-header {
    width: min(calc(100% - var(--page-gutter) * 2), var(--content-width));
    margin: var(--space-section) auto 0; padding: clamp(24px, 4vw, 56px);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
    background: linear-gradient(125deg, color-mix(in srgb,var(--color-green) 100%,white), color-mix(in srgb,var(--color-green) 66%,black));
}
.tournament-header > .content-section__inner, .match-header > .content-section__inner { width: 100%; }
.tournament-header__layout { align-items: start; margin-top: 28px; gap: 32px; }
.tournament-header__logo { padding: 16px; border-radius: 50%; background: #fff; }
.tournament-header__title, .match-header__title { font-size: clamp(32px, 4vw, 64px); line-height: 1.1; overflow-wrap: anywhere; }
.tournament-header__status-row, .tournament-header__meta { flex-wrap: wrap; gap: 12px 24px; }
.tournament-header__description > :last-child { margin-bottom: 0; }
.match-header__top { justify-content: center; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.match-header__date { display: flex; gap: 12px; }
.match-header__tournament { margin-top: 16px; text-align: center; color: color-mix(in srgb,var(--color-green) 16%,white); }
.match-header__title { margin: 18px 0 0; text-align: center; }
.match-header__score { margin-top: 28px; padding: clamp(20px, 3vw, 40px); border-radius: 22px; background: color-mix(in srgb,var(--color-green) 6%,white); color: var(--color-green-dark); }
.match-header .match-score { margin: 0; gap: clamp(12px, 3vw, 48px); }
.match-header .match-score__plus { flex-direction: column; justify-content: center; text-align: center; gap: 16px; }
.match-header .match-score__plus-logo { width: clamp(60px, 8vw, 116px); height: clamp(60px, 8vw, 116px); flex-basis: auto; padding: 12px; border-radius: 50%; background: #fff; }
.match-header .match-score__plus-name { white-space: normal; overflow-wrap: anywhere; font-size: clamp(15px, 1.8vw, 26px); }
.match-header .match-score__result { gap: 10px; font: 700 clamp(42px, 6vw, 88px)/1.1 var(--font-heading); font-variant-numeric: tabular-nums; }
.match-header .match-score__separator { color: color-mix(in srgb,var(--color-green) 44%,white); }
.match-header__meta { flex-wrap: wrap; justify-content: center; margin-top: 24px; gap: 10px 24px; }

/* Tournament squads */
.tournament-participation__list { display: grid; gap: 40px; }
.tournament-participation__item { min-width: 0; padding: 24px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: #fff; }
.tournament-participation__header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 20px; border-radius: 18px; background: color-mix(in srgb,var(--color-green) 8%,white); }
.tournament-participation__plus { display: flex; align-items: center; gap: 18px; min-width: 0; }
.tournament-participation__logo { display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; padding: 8px; border-radius: 50%; background: #fff; }
.tournament-participation__logo-image { width: 100%; height: 100%; object-fit: contain; }
.tournament-participation__plus-title, .tournament-participation__plus-link { margin: 0; color: var(--color-green-dark); font: 700 clamp(22px, 2vw, 30px)/1.2 var(--font-heading); }
.tournament-participation__players-count { margin: 6px 0 0; color: var(--color-muted); font-size: 13px; }
.tournament-participation__result { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tournament-participation__medal, .tournament-participation__place { padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 800; }
.tournament-participation__medal--gold { background: #fff0bb; color: #77510c; }
.tournament-participation__medal--silver { background: #e0e7ed; color: #425561; }
.tournament-participation__medal--bronze { background: #f2ddce; color: #7c4525; }
.tournament-participation__place { background: #fff; color: var(--color-green-dark); }
.tournament-participation__players { margin-top: 24px; }
.tournament-participation__players .player-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* One table style for standings and match participants. */
.standings-table-wrapper, .match-participants__table-wrapper { overflow-x: auto; border-radius: 18px; border: 1px solid var(--color-line); }
.standings-table, .match-participants__table { width: 100%; border-collapse: separate; border-spacing: 0; }
.standings-table__heading, .match-participants__heading { padding: 16px; color: #fff; background: var(--color-green); font-size: 13px; font-weight: 800; }
.standings-table__cell, .match-participants__cell { padding: 14px 16px; border-top: 1px solid color-mix(in srgb,var(--color-green) 17%,white); background: color-mix(in srgb,var(--color-green) 6%,white); font-size: 14px; }
.standings-table tbody tr:nth-child(even) td, .match-participants__table tbody tr:nth-child(even) td { background: color-mix(in srgb,var(--color-green) 10%,white); }
.standings-table tbody tr:hover td, .match-participants__table tbody tr:hover td { background: color-mix(in srgb,var(--color-green) 14%,white); }
.standings-table__place { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; }
.standings-table__place--1 { color: #705009; background: #f6df93; box-shadow: inset 0 0 0 1px #dabb60; }
.standings-table__place--2 { color: #435762; background: #dce4eb; box-shadow: inset 0 0 0 1px #b5c3ce; }
.standings-table__place--3 { color: #784326; background: #eed2bd; box-shadow: inset 0 0 0 1px #d4aa8c; }

/* Contacts and MAX */
.contacts-section__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; }
.contacts-section__layout--without-map { grid-template-columns: 1fr; }
.contacts-section__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 16px; }
.contacts-section__item { min-width: 0; padding: 26px; border: 1px solid var(--color-line); border-radius: 20px; background: #fff; }
.contacts-section__label { display: block; color: var(--color-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contacts-section__value { margin-top: 12px; color: var(--color-green-dark); font-size: clamp(16px, 1.35vw, 22px); font-weight: 700; font-style: normal; overflow-wrap: anywhere; }
a.contacts-section__value:hover { text-decoration: underline; text-underline-offset: 4px; }
.contacts-section__item--max { background: #edf1ff; border-color: #d5dcf3; }
.contacts-section__max { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.max-mark { display: inline-grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #3477ee, #8054d5); color: #fff; font-size: 17px; font-weight: 800; }
.contacts-section__requisites { grid-column: 1 / -1; padding: 26px; border: 1px solid var(--color-line); border-radius: 20px; background: color-mix(in srgb,var(--color-green) 9%,white); }
.contacts-section__requisites p { margin: 10px 0 0; overflow-wrap: anywhere; }
.contacts-section__map { overflow: hidden; min-height: 400px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: color-mix(in srgb,var(--color-green) 9%,white); }
.contacts-section__map iframe { display: block; width: 100%; max-width: 100%; height: 100%; min-height: 400px; border: 0; }
.contacts-section__map > :is(div, a) { max-width: 100%; }
.site-footer__contact--max { display: inline-flex; align-items: center; align-self: center; gap: 10px; padding: 10px 16px; border: 1px solid #ffffff40; border-radius: 14px; background: #ffffff0d; }
.site-footer__contact--max:hover { background: #ffffff20; }

@media (max-width: 1100px) {
    .medals-block .medals__item { gap: 12px; padding: 20px; }
    .medals-block .medals__label { gap: 10px; }
    .contacts-section__layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    :root { --wide-gutter: 14px; }
    .tournament-participation__players .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .medals-block .medals__item { flex-direction: column; align-items: center; gap: 16px; }
    .medals-block .medals__label { flex-direction: column; }
}
@media (max-width: 600px) {
    :root { --space-section: 48px; --space-action: 24px; }
    .medals-block .medals__list { gap: 8px; }
    .medals-block .medals__item { padding: 18px 8px; border-radius: 16px; }
    .medals-block .medals__name { font-size: 13px; }
    .medals-block .medals__count { font-size: 38px; }
    .tournament-card__link, .match-card__link { padding: 20px; }
    .tournament-card__title { font-size: 24px; }
    .match-card .match-score__plus-name { font-size: 12px; }
    .match-card .match-score__result { font-size: 26px; padding: 8px; }
    .tournament-header, .match-header { padding: 22px 18px; border-radius: 22px; }
    .tournament-header__layout { grid-template-columns: 1fr; gap: 20px; }
    .tournament-header__logo { width: 88px; height: 88px; padding: 12px; }
    .tournament-header__title, .match-header__title { font-size: 32px; }
    .match-header__score { padding: 22px 10px; }
    .match-header .match-score { gap: 8px; }
    .match-header .match-score__plus-logo { width: 60px; height: 60px; padding: 8px; }
    .match-header .match-score__plus-name { font-size: 12px; }
    .match-header .match-score__result { font-size: 40px; gap: 5px; }
    .tournament-participation__item { padding: 14px; border-radius: 20px; }
    .tournament-participation__header { padding: 16px; }
    .tournament-participation__players .player-grid { gap: 10px; }
    .tournament-participation__list { gap: 28px; }
    .contacts-section__details { grid-template-columns: 1fr; }
    .contacts-section__item, .contacts-section__requisites { padding: 22px; }
    .contacts-section__map, .contacts-section__map iframe { min-height: 320px; }
}
/* Content blocks and mobile refinements, September 2026. */
.site-main .content-hero { width:min(calc(100% - var(--page-gutter)*2),var(--content-width)); margin:var(--space-section) auto 0; padding:clamp(24px,4vw,60px); border-radius:var(--radius-lg); overflow:hidden; background:linear-gradient(125deg,color-mix(in srgb,var(--color-green) 100%,white),color-mix(in srgb,var(--color-green) 66%,black)); color:#fff; }
.content-hero__inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); width:100%; gap:40px; align-items:center; padding:0; }
.content-hero--simple .content-hero__inner { grid-template-columns:1fr; }
.content-hero__content { min-width:0; position:relative; padding:0; }
.content-hero__title { margin:0 0 20px; color:#fff; font-size:clamp(32px,4vw,64px); line-height:1.1; overflow-wrap:anywhere; }
.content-hero__subtitle { color:color-mix(in srgb,var(--color-green) 12%,white); font-size:clamp(16px,1.7vw,21px); }
.content-hero__media { position:static; margin:0; width:100%; height:auto; border-radius:20px; overflow:hidden; }
.content-hero__image { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.content-hero__action { margin-top:24px; }
.home-tournament__item,.home-tournament__standings,.home-tournament__summary { min-width:0; max-width:100%; }
.home-tournament__list { grid-template-columns:minmax(0,1fr); }
.standings-table-wrapper { width:100%; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; overscroll-behavior-inline:contain; }
.home-tournament .standings-table { min-width:640px; }
.home-tournament .tournament-card__content { min-width:0; }
.home-tournament .tournament-card__title { overflow-wrap:anywhere; }
.photo-gallery__grid[data-media-slider] { display:flex; width:100%; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; }
.photo-gallery__grid[data-media-slider] > .photo-gallery__item { position:relative; display:block; flex:0 0 calc((100% - 48px)/3); min-width:0; height:auto; margin:0; scroll-snap-align:start; }
.photo-gallery__link { display:block; overflow:hidden; border-radius:20px; }
.photo-gallery__image { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.photo-gallery__caption { padding:12px 4px; color:var(--color-muted); }
.content-video__figure { margin:0; overflow:hidden; border:1px solid var(--color-line); border-radius:var(--radius-lg); background:#fff; box-shadow:var(--shadow-soft); }
.content-video__player { display:block; width:100%; max-height:75vh; aspect-ratio:16/9; background:color-mix(in srgb,var(--color-green) 46%,black); object-fit:contain; }
.content-video__caption { padding:20px 24px; color:var(--color-muted); }
.application-form-section__layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(24px,4vw,64px); padding:clamp(24px,4vw,56px); border-radius:var(--radius-lg); background:color-mix(in srgb,var(--color-green) 10%,white); align-items:start; }
.application-form-section__title { margin:0 0 20px; font:700 clamp(30px,3vw,48px)/1.15 var(--font-heading); color:var(--color-green-dark); }
.application-form-section__subtitle { color:var(--color-muted); }
.application-form-section form.application-form { padding:28px; border-radius:20px; background:#fff; box-shadow:var(--shadow-soft); min-width:0; }
.application-form__fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.application-form__field { min-width:0; }
.application-form__field--full { grid-column:1/-1; }
.application-form__label { display:block; margin-bottom:8px; font-weight:700; font-size:14px; }
.application-form__input,.application-form__textarea { width:100%; padding:14px 16px; border:1px solid color-mix(in srgb,var(--color-green) 29%,white); border-radius:12px; background:color-mix(in srgb,var(--color-green) 3%,white); color:var(--color-text); font:inherit; }
.application-form__textarea { resize:vertical; min-height:120px; }
.application-form__input:focus,.application-form__textarea:focus { outline:2px solid var(--color-green); outline-offset:2px; }
.application-form__consent { display:flex; align-items:flex-start; gap:12px; font-size:13px; line-height:1.6; }
.application-form__consent input[type=checkbox] { display:block; position:static; opacity:1; appearance:auto; width:20px; height:20px; flex:0 0 20px; margin:3px 0 0; accent-color:var(--color-green); }
.application-form__consent-mark { display:none; }
.application-form__consent-text a { color:var(--color-green); text-decoration:underline; text-underline-offset:3px; }
.application-form__footer { margin-top:24px; }
.application-form__footer .button { width:100%; }
.news-list-section__footer { display:flex; justify-content:center; margin-top:28px; }
.legal-document__header { max-width:1000px; margin-bottom:32px; }
.legal-document__header h1 { margin:12px 0 20px; font:700 clamp(30px,4vw,58px)/1.15 var(--font-heading); overflow-wrap:anywhere; color:var(--color-green-dark); }
.legal-document__eyebrow { color:var(--color-muted); text-transform:uppercase; font-size:12px; letter-spacing:.1em; }
.legal-document__body { max-width:1000px; padding:clamp(20px,4vw,48px); border:1px solid var(--color-line); border-radius:24px; background:white; line-height:1.8; }
.legal-document__body h2 { margin:32px 0 12px; font-size:23px; line-height:1.3; }
.legal-document__body a { color:var(--color-green); text-decoration:underline; overflow-wrap:anywhere; }
.legal-document__operator { padding:24px; border-radius:16px; background:color-mix(in srgb,var(--color-green) 7%,white); }
.legal-document__operator h2 { margin-top:0; }.legal-document__operator p { margin:8px 0; }
.back-to-top { position:fixed; z-index:90; right:24px; bottom:calc(24px + var(--cookie-offset,0px)); width:48px; height:48px; border-radius:50%; background:var(--color-green); color:#fff; box-shadow:var(--shadow-card); font-size:26px; }
.cookie-notice { position:fixed; z-index:100; bottom:16px; left:50%; transform:translateX(-50%); width:min(calc(100% - 32px),960px); display:flex; align-items:center; gap:24px; padding:20px 24px; border:1px solid color-mix(in srgb,var(--color-green) 27%,white); border-radius:20px; background:#fff; box-shadow:0 8px 50px #003f2c30; }
.cookie-notice p { margin:6px 0 0; font-size:13px; line-height:1.5; }.cookie-notice a { color:var(--color-green); text-decoration:underline; }.cookie-notice .button { flex-shrink:0; }
.cookie-notice[hidden],.back-to-top[hidden] { display:none; }
@media(max-width:900px) {
 .content-hero__inner,.application-form-section__layout { grid-template-columns:1fr; }
 .photo-gallery__grid[data-media-slider] > .photo-gallery__item { flex-basis:calc((100% - 24px)/2); }
}
@media(max-width:600px) {
 .home-tournament .tournament-card__main { flex-direction:column; align-items:flex-start; gap:16px; }
 .home-tournament .tournament-card__top { flex-direction:column; }
 .home-tournament .tournament-card__logo { flex-basis:70px; }
 .home-tournament .standings-table__heading,.home-tournament .standings-table__cell { padding:10px; font-size:12px; }
 .home-tournament .standings-table__plus-name { white-space:normal; min-width:120px; }
 .photo-gallery__grid[data-media-slider] > .photo-gallery__item { flex-basis:90%; }
 .application-form-section__layout { padding:20px; }.application-form-section form.application-form { padding:20px; }
 .application-form__fields { grid-template-columns:1fr; }
 .cookie-notice { padding:16px; gap:12px; align-items:stretch; flex-direction:column; max-height:65vh; overflow:auto; }
 .cookie-notice .button { min-height:44px; }.back-to-top { right:16px; }
 .legal-document__operator { padding:18px; }
}

.content-hero__image { position:static; inset:auto; opacity:1; } .content-hero__media::after { display:none; } .content-hero__inner { min-height:0; } .site-main .content-hero { min-height:0; } .photo-gallery__link { aspect-ratio:4/3; }
.application-form__privacy { margin:10px 0 0 32px; font-size:12px; color:var(--color-muted); } .application-form__privacy a { text-decoration:underline; }

/* Background hero, content carousel and application result pages. */
.site-main .content-hero { position:relative; isolation:isolate; min-height:380px; }
.content-hero__inner { display:flex; min-height:260px; position:static; }
.content-hero__content { z-index:2; max-width:800px; }
.content-hero__media { position:absolute; inset:0; width:100%; height:100%; margin:0; border-radius:inherit; z-index:-1; }
.content-hero__image { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; object-fit:cover; opacity:1; }
.content-hero__media::after { display:block; content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,35,23,.88),rgba(0,35,23,.4)); }
.image-text__media { margin:0; }
.photo-gallery__slider { max-width:100%; outline-offset:6px; }
.photo-gallery__slides { display:grid; gap:24px; }
.photo-gallery__slider .photo-gallery__item { margin:0; min-width:0; }
.photo-gallery__slider .photo-gallery__item[hidden],.photo-gallery__controls[hidden] { display:none; }
.photo-gallery__slider .photo-gallery__link { display:block; aspect-ratio:16/9; background:color-mix(in srgb,var(--color-green) 56%,black); border-radius:var(--radius-lg); }
.photo-gallery__slider .photo-gallery__image { width:100%; height:100%; aspect-ratio:auto; object-fit:contain; }
.photo-gallery__controls { display:flex; justify-content:center; align-items:center; gap:24px; margin-top:20px; }
.photo-gallery__arrow { display:grid; place-items:center; width:48px; height:48px; border:1px solid var(--color-green); border-radius:50%; background:#fff; color:var(--color-green); font-size:24px; cursor:pointer; }
.photo-gallery__arrow:hover,.photo-gallery__arrow:focus-visible { background:var(--color-green); color:#fff; }
.photo-gallery__counter { min-width:64px; text-align:center; font-weight:700; font-variant-numeric:tabular-nums; }
.application-form__trap { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.application-result__card { max-width:820px; margin:auto; padding:clamp(24px,5vw,64px); border:1px solid var(--color-line); border-radius:var(--radius-lg); background:#fff; box-shadow:var(--shadow-soft); text-align:center; }
.application-result__icon { display:grid; place-items:center; width:80px; height:80px; margin:0 auto 24px; border-radius:50%; background:color-mix(in srgb,var(--color-green) 9%,white); color:var(--color-green); font-size:42px; font-weight:700; }
.application-result--error .application-result__icon { background:#fff0e7; color:#aa451a; }
.application-result__card h1 { margin:0 0 24px; font-size:clamp(30px,4vw,48px); line-height:1.15; color:var(--color-green-dark); }
.application-result__card p { line-height:1.7; }
.application-result__reference { color:var(--color-muted); font-size:14px; }
.application-result__actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:32px; }
@media(max-width:600px) { .site-main .content-hero { min-height:320px; } .content-hero__inner { min-height:240px; } .photo-gallery__slider .photo-gallery__link { aspect-ratio:4/3; } .application-result__actions .button { width:100%; } }
/* Player portraits, leaderboards, news and social links — September 2026. */
.player-portrait { display:block; position:relative; width:100%; height:100%; overflow:hidden; }
.player-card__media > .player-portrait,.player-page__photo > .player-portrait { position:absolute; inset:0; }
.player-portrait__image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center bottom; transition:opacity .65s ease,transform .65s ease; }
.player-portrait__image--second { opacity:0; }
.player-portrait__placeholder { display:grid; place-items:center; width:100%; height:100%; background:color-mix(in srgb,var(--color-green) 12%,white); color:var(--color-green); font-size:36px; font-weight:800; }
@media(hover:hover) { .player-card__link:hover .player-portrait--dual .player-portrait__image--second,.top-player:hover .player-portrait--dual .player-portrait__image--second { opacity:1; transform:scale(1.025); } }
.player-card__link:focus-visible .player-portrait--dual .player-portrait__image--second,.top-player:focus-visible .player-portrait--dual .player-portrait__image--second { opacity:1; }
@media(hover:hover) {
 .player-card__link:hover .player-portrait--dual .player-portrait__image:not(.player-portrait__image--second),
 .top-player:hover .player-portrait--dual .player-portrait__image:not(.player-portrait__image--second) { opacity:0; }
}
.player-card__link:focus-visible .player-portrait--dual .player-portrait__image:not(.player-portrait__image--second),
.top-player:focus-visible .player-portrait--dual .player-portrait__image:not(.player-portrait__image--second) { opacity:0; }
.player-portrait--cycle .player-portrait__image { animation:player-photo-primary 5s ease-in-out infinite; }
.player-portrait--cycle .player-portrait__image--second { animation-name:player-photo-secondary; }
@keyframes player-photo-primary {
 0%,40%,100% { opacity:1; }
 50%,90% { opacity:0; }
}
@keyframes player-photo-secondary {
 0%,40%,100% { opacity:0; transform:scale(1); }
 50%,90% { opacity:1; transform:scale(1.025); }
}
.top-players__tabs { display:flex; flex-wrap:wrap; gap:10px; padding:8px; margin:0 0 24px; border-radius:20px; background:color-mix(in srgb,var(--color-green) 11%,white); }
.top-players__tab { flex:1 1 140px; padding:14px 20px; border:0; border-radius:14px; background:transparent; color:var(--color-green-dark); font:700 16px/1.3 var(--font-body); cursor:pointer; }
.top-players__tab[aria-selected=true] { background:var(--color-green); color:white; box-shadow:var(--shadow-soft); }
.top-players__tab:focus-visible,.top-player:focus-visible { outline:3px solid #cfa646; outline-offset:3px; }
.top-players__panel[hidden],.top-players__tabs[hidden] { display:none; }
.top-players.is-enhanced .top-players__category { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.top-players__list { display:grid; gap:12px; }
.top-player { display:flex; align-items:center; gap:20px; padding:16px 24px; border:1px solid var(--color-line); border-radius:20px; background:#fff; color:var(--color-text); box-shadow:var(--shadow-soft); transition:background .2s,transform .2s; }
.top-player:hover { background:color-mix(in srgb,var(--color-green) 6%,white); transform:translateY(-2px); }
.top-player__rank { width:24px; flex-shrink:0; font-weight:800; color:var(--color-muted); }
.top-player__photo { flex:0 0 76px; height:84px; overflow:hidden; border-radius:12px; background:color-mix(in srgb,var(--color-green) 11%,white); }
.top-player__identity { display:grid; gap:7px; min-width:0; flex:1; }
.top-player__identity strong { font-size:clamp(16px,2vw,22px); overflow-wrap:anywhere; }
.top-player__identity > span { color:var(--color-muted); font-size:14px; }
.top-player__score { min-width:56px; padding:10px; border-radius:12px; background:color-mix(in srgb,var(--color-green) 11%,white); color:var(--color-green); font-size:28px; text-align:center; font-weight:800; }
.top-players__empty { padding:28px; border-radius:20px; background:color-mix(in srgb,var(--color-green) 9%,white); }
.news-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.news-card { display:flex; flex-direction:column; overflow:hidden; min-width:0; border:1px solid var(--color-line); border-radius:var(--radius-lg); background:white; box-shadow:var(--shadow-soft); transition:transform .25s,box-shadow .25s; }
.news-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-card); }
.news-card__media { display:block; overflow:hidden; aspect-ratio:16/10; background:color-mix(in srgb,var(--color-green) 11%,white); }
.news-card__image { display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.news-card:hover .news-card__image { transform:scale(1.035); }
.news-card__content { display:flex; flex:1; flex-direction:column; align-items:flex-start; gap:14px; padding:28px; }
.news-card__date { color:var(--color-muted); font-size:13px; }
.news-card__title { margin:0; font-size:24px; line-height:1.25; overflow-wrap:anywhere; color:var(--color-green-dark); }
.news-card__excerpt { margin:0; line-height:1.65; color:var(--color-muted); }
.news-card__link { margin-top:auto; padding-top:8px; color:var(--color-green); font-weight:700; text-decoration:underline; text-underline-offset:5px; }
.news-list-section__footer { margin-top:var(--space-action); }
.photo-gallery__slider[data-media-slider] { display:flex; gap:24px; }
.photo-gallery__slider[data-media-slider] .photo-gallery__link { aspect-ratio:4/3; border-radius:20px; }
.photo-gallery__slider[data-media-slider] .photo-gallery__image { width:100%; height:100%; object-fit:cover; }
.social-links { display:flex; flex-wrap:wrap; gap:12px; }
.social-links:empty { display:none; }
.social-links__link { display:inline-flex; gap:16px; align-items:center; padding:12px 18px; border:1px solid currentColor; border-radius:12px; color:var(--color-green); font-weight:700; transition:background .2s; }
.social-links__link:hover { background:color-mix(in srgb,var(--color-green) 11%,white); }
.site-footer .social-links { margin:16px 0; }
.site-footer .social-links__link { color:inherit; }
.site-footer .social-links__link:hover { background:#ffffff18; }
@media(max-width:900px) { .news-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } }
@media(max-width:600px) { .news-list { grid-template-columns:1fr; } .news-card__content { padding:22px; } .top-player { gap:10px; padding:12px; } .top-player__photo { flex-basis:56px; height:68px; } .top-player__rank { width:16px; } .top-player__score { min-width:40px; font-size:24px; padding:8px; } .top-players__tab { padding:12px 8px; flex-basis:40%; } }
@media(prefers-reduced-motion:reduce) { .player-portrait__image,.news-card,.news-card__image,.top-player { transition:none; animation:none; } }

@media(prefers-reduced-motion:reduce) {
 .player-portrait--cycle .player-portrait__image { animation:none; transition:none; }
 .player-portrait--cycle .player-portrait__image:not(.player-portrait__image--second) { opacity:1; }
 .player-portrait--cycle .player-portrait__image--second { opacity:0; }
}
.player-portrait {
    z-index: 1;
}
/* School settings and competition layouts. */
.news-card,.match-card,.tournament-card,.player-card,.top-player,.tournament-header,.match-header,.application-form-section__layout,.school-fixture,.school-pair {border-radius:var(--radius-lg)}
.school-schedule__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.school-fixture,.school-pair,.school-location{padding:24px;background:white;border:1px solid var(--color-line);border-radius:var(--radius-lg)}.school-fixture time{color:var(--color-green);font-weight:700}.school-fixture h3{margin:12px 0}.school-bracket{display:flex;gap:24px;overflow-x:auto;padding-bottom:16px;align-items:center}.school-bracket__stage{flex:1 0 260px}.school-pair{margin:24px 0;display:grid;gap:12px}.school-pair .is-winner{font-weight:800;color:var(--color-green)}.school-pair small{color:var(--color-muted)}.school-pair a{color:var(--color-green)}@media(max-width:600px){.school-schedule__list{grid-template-columns:1fr}.school-bracket{display:block}.school-bracket__stage{margin-bottom:32px}}
