@font-face { font-family: Lato; src: url("/site/fonts/Lato-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Lato; src: url("/site/fonts/Lato-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Lato; src: url("/site/fonts/Lato-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
    --yellow: #ffd400;
    --ink: #202020;
    --muted: #777;
    --line: #e7e7e7;
    --paper: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Lato, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid #ececec; }
.site-header-inner { min-height: 116px; max-width: 1320px; margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; gap: 32px; }
.site-logo { flex: 0 0 auto; }
.site-logo img { width: 98px; max-height: 92px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 23px; flex: 1; text-transform: uppercase; font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.main-nav a { padding: 10px 0; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-color: var(--yellow); }
.ticket-link { padding: 13px 20px; background: var(--yellow); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; white-space: nowrap; }
.ticket-link:hover { background: #efc600; }

.home-hero { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); min-height: 480px; }
.home-hero-title { padding: 82px 9vw 50px 40px; background: var(--yellow); color: #161616; display: flex; flex-direction: column; justify-content: center; }
.home-hero-title p { margin: 0 0 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.home-hero-title h1 { margin: 0; font-size: clamp(56px, 8vw, 122px); text-transform: uppercase; line-height: .78; letter-spacing: -.08em; }
.home-hero-title span { margin-top: 21px; text-transform: uppercase; font-size: 20px; font-weight: 900; letter-spacing: .11em; }
.hero-news { position: relative; min-height: 480px; background: #252525; color: #fff; overflow: hidden; }
.hero-news img { height: 100%; width: 100%; position: absolute; inset: 0; object-fit: cover; opacity: .84; }
.hero-news::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.1) 80%); }
.hero-news-text { position: relative; z-index: 1; max-width: 640px; height: 100%; padding: 58px clamp(28px, 5vw, 76px); display: flex; align-items: flex-start; flex-direction: column; justify-content: flex-end; }
.hero-news-text time, .content-card time, .match-card time, .match-row time, .article-page > time, .match-page > time { color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-news h2 { margin: 10px 0; max-width: 560px; font-size: clamp(27px, 3.2vw, 48px); line-height: 1.02; text-transform: uppercase; }
.hero-news p { margin: 0 0 17px; max-width: 530px; line-height: 1.55; }
.hero-news-text > a { padding: 10px 0; border-bottom: 2px solid var(--yellow); text-transform: uppercase; font-size: 12px; font-weight: 900; }

.home-section, .listing-page, .article-page, .match-page, .person-page { max-width: 1220px; margin: 0 auto; padding: 70px 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.section-heading h2, .listing-page h1, .article-page h1, .match-page h1, .person-page h1 { margin: 0; color: #191919; font-size: clamp(30px, 4vw, 48px); text-transform: uppercase; line-height: 1; }
.section-heading a { color: #191919; border-bottom: 2px solid var(--yellow); text-transform: uppercase; font-size: 12px; font-weight: 900; }
.content-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.content-card { border-bottom: 3px solid var(--yellow); background: #fff; box-shadow: 0 2px 11px rgba(0,0,0,.05); }
.content-card-image { background: #eee; display: block; aspect-ratio: 1.5; overflow: hidden; }
.content-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.content-card:hover img { transform: scale(1.04); }
.content-card-placeholder { display: block; height: 100%; background: linear-gradient(135deg, #f0f0f0, #ddd); }
.content-card-body { padding: 18px 17px 20px; }
.content-card h3 { margin: 9px 0 10px; font-size: 18px; line-height: 1.15; text-transform: uppercase; }
.content-card p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.45; }

.match-strip { background: #f5f5f5; max-width: none; padding-left: max(28px, calc((100% - 1164px) / 2)); padding-right: max(28px, calc((100% - 1164px) / 2)); }
.match-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #ddd; }
.match-card { min-height: 170px; background: #262626; color: white; padding: 23px; display: grid; grid-template-columns: 1fr auto; gap: 11px; align-items: center; transition: background .2s; }
.match-card:hover { background: #111; }
.match-card time { grid-column: 1 / -1; }
.match-card strong { font-size: 14px; }
.match-score { color: var(--yellow); font-size: 25px; font-weight: 900; white-space: nowrap; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; color: #777; font-size: 13px; }
.breadcrumbs a { color: #333; border-bottom: 1px solid var(--yellow); }
.article-page { max-width: 940px; }
.article-page h1, .match-page h1 { margin: 14px 0 30px; }
.article-image { width: 100%; margin: 0 0 34px; }
.rich-text { color: #333; font-size: 18px; line-height: 1.72; }
.rich-text img { height: auto; margin: 24px auto; }
.rich-text iframe { max-width: 100%; }
.rich-text a { color: inherit; border-bottom: 2px solid var(--yellow); }
.rich-text h2, .rich-text h3 { color: #151515; line-height: 1.15; }

.listing-page h1 { margin-bottom: 34px; }
.matches-list { border-top: 1px solid var(--line); }
.match-row { display: grid; grid-template-columns: 150px 1fr auto 1fr; align-items: center; gap: 16px; padding: 23px 12px; border-bottom: 1px solid var(--line); font-size: 17px; }
.match-row:hover { background: #fafafa; }
.match-row strong { color: #161616; font-size: 23px; white-space: nowrap; }
.match-page { max-width: 1060px; }
.match-scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 40px; background: #252525; color: white; text-align: center; }
.match-scoreboard strong { font-size: clamp(18px, 3vw, 34px); text-transform: uppercase; }
.match-scoreboard b { color: var(--yellow); font-size: clamp(36px, 6vw, 72px); white-space: nowrap; }
.venue { margin: 18px 0 35px; color: #777; text-align: center; }
.person-page > div { display: grid; grid-template-columns: minmax(250px, 40%) 1fr; gap: 52px; align-items: start; }
.person-page > div > img { width: 100%; background: #eee; }
.person-number { display: block; color: var(--yellow); font-size: 58px; font-weight: 900; line-height: .9; }
.person-page h1 { margin: 15px 0; }
.person-position { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.site-footer { padding: 42px max(28px, calc((100% - 1264px) / 2)); background: #202020; color: #eee; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 34px; align-items: center; font-size: 13px; }
.site-footer p { margin: 5px 0; line-height: 1.5; }
.footer-logo { width: 54px; filter: grayscale(1) brightness(3); }
.site-footer nav { display: flex; gap: 15px; flex-wrap: wrap; justify-content: flex-end; font-weight: 800; }
.site-footer nav a { border-bottom: 2px solid var(--yellow); }

@media (max-width: 900px) {
    .site-header-inner { min-height: 86px; gap: 17px; padding: 8px 16px; }
    .site-logo img { width: 64px; max-height: 64px; }
    .main-nav { gap: 14px; overflow-x: auto; font-size: 11px; }
    .ticket-link { display: none; }
    .home-hero { grid-template-columns: 1fr; }
    .home-hero-title { min-height: 230px; padding: 42px 28px; }
    .hero-news { min-height: 390px; }
    .match-grid, .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .match-row { grid-template-columns: 1fr auto; }
    .match-row time { grid-column: 1 / -1; }
    .match-row span:nth-of-type(2) { text-align: right; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .main-nav a:nth-child(n+5) { display: none; }
    .home-section, .listing-page, .article-page, .match-page, .person-page { padding: 45px 18px; }
    .content-grid, .match-grid { grid-template-columns: 1fr; }
    .hero-news-text { padding: 35px 25px; }
    .person-page > div { grid-template-columns: 1fr; gap: 25px; }
    .match-scoreboard { gap: 13px; padding: 24px 13px; }
}

/* Сохранённая визуальная система исходной темы whckuban. */
@font-face { font-family: MyriadKuban; src: url("/site/fonts/MyriadProRegular.woff") format("woff"); font-weight: 400; }
@font-face { font-family: MyriadKuban; src: url("/site/fonts/MyriadProBold.woff") format("woff"); font-weight: 700; }
@font-face { font-family: MyriadKubanBlack; src: url("/site/fonts/MyriadProBlack.otf") format("opentype"); font-weight: 900; }

:root { --kuban-green: #013f1d; --kuban-green-light: #108441; --kuban-yellow: #ffcd01; }
body { background: #fff; font-family: MyriadKuban, Arial, sans-serif; }
.site-header { background: var(--kuban-green); border: 0; }
.legacy-header-width { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.legacy-top-line { height: 52px; background: #e3e3e3; }
.legacy-top-inner { height: 52px; display: flex; align-items: center; justify-content: space-between; }
.trophy-nav, .social-nav { display: flex; align-items: center; gap: 12px; }
.trophy { position: relative; display: block; width: 27px; height: 34px; background-image: url("/site/img/sprite.png"); opacity: .98; }
.trophy-1 { width: 34px; background-position: -106px -108px; }
.trophy-2 { width: 28px; background-position: 0 -165px; }
.trophy-3 { width: 23px; background-position: -71px -165px; }
.trophy-5 { width: 23px; background-position: -104px -165px; }
.social-icon { display: block; height: 18px; background-image: url("/site/img/sprite.png"); }
.social-icon.vk { width: 23px; background-position: -165px -207px; }
.social-icon.youtube { width: 23px; background-position: -247px -112px; }
.social-icon.telegram { width: 19px; background-position: -280px 0; }
.social-icon:hover, .trophy:hover { opacity: .72; }
.legacy-brand-panel { background: #00431e; }
.legacy-brand-row { min-height: 145px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-logo { display: flex; align-items: center; width: max-content; color: #fff; }
.site-logo img { width: 112px; max-height: 157px; object-fit: contain; margin: -27px 0 -27px; position: relative; z-index: 1; }
.site-logo span { margin-left: 25px; font-size: 13px; line-height: 1.15; text-transform: uppercase; text-shadow: 0 2px #006128; }
.site-logo strong, .site-logo em { display: block; font-style: normal; }
.site-logo strong { margin: 5px 0 14px; font-family: MyriadKubanBlack, MyriadKuban, sans-serif; font-size: 31px; letter-spacing: .02em; }
.site-logo em { color: #006128; font-family: MyriadKubanBlack, MyriadKuban, sans-serif; font-size: 21px; text-shadow: none; }
.team-perfect { width: 389px; max-width: 31vw; object-fit: contain; }
.ticket-link { justify-self: end; display: inline-flex; align-items: center; padding: 10px 14px; color: #084622; background: var(--kuban-yellow); font-family: MyriadKuban, sans-serif; font-size: 15px; font-weight: 700; text-transform: uppercase; box-shadow: 8px 0 0 var(--kuban-yellow); }
.ticket-link::before { content: ""; width: 25px; height: 24px; margin-right: 10px; background-image: url("/site/img/sprite.png"); background-position: -137px -165px; }
.ticket-link:hover { color: #fff; background: #1a843a; box-shadow: 8px 0 0 #1a843a; }
.legacy-main-nav { background: #084621; border-top: 1px solid rgba(255,255,255,.12); }
.legacy-main-nav > div { display: flex; justify-content: flex-end; min-height: 47px; align-items: stretch; }
.legacy-main-nav a { padding: 16px 19px 13px; color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; border-bottom: 4px solid transparent; }
.legacy-main-nav a:hover, .legacy-main-nav a.active { color: var(--kuban-yellow); border-bottom-color: var(--kuban-yellow); }
.site-footer { background: #013411; color: var(--kuban-yellow); padding: 30px max(28px, calc((100% - 1140px) / 2)); }
.footer-logo { filter: none; }
.site-footer nav a { border-color: var(--kuban-yellow); }

@media (max-width: 900px) {
    .legacy-brand-row { min-height: 122px; grid-template-columns: 1fr auto; }
    .team-perfect { display: none; }
    .site-logo img { width: 82px; margin: -17px 0; }
    .site-logo span { margin-left: 18px; }
    .legacy-main-nav > div { justify-content: flex-start; overflow-x: auto; }
}

@media (max-width: 560px) {
    .legacy-header-width { width: min(100% - 24px, 1140px); }
    .legacy-top-line, .legacy-top-inner { height: 36px; }
    .trophy-nav { gap: 7px; transform: scale(.8); transform-origin: left center; }
    .site-logo span { font-size: 10px; }
    .site-logo strong { font-size: 24px; margin: 3px 0 8px; }
    .site-logo em { color: var(--kuban-yellow); font-size: 16px; }
    .ticket-link { padding: 8px; font-size: 11px; box-shadow: none; }
    .ticket-link::before { display: none; }
    .legacy-main-nav a { padding: 14px 12px 10px; font-size: 12px; }
}

.legacy-featured-slider { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #013411; }
.legacy-featured-slide { min-height: 355px; position: relative; overflow: hidden; background: #0c4b24; }
.legacy-featured-slide > img { width: 100%; height: 100%; inset: 0; position: absolute; object-fit: cover; opacity: .82; }
.legacy-featured-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,38,14,.92), rgba(0,54,19,.04) 75%); }
.legacy-featured-copy { position: relative; z-index: 1; min-height: 355px; max-width: 660px; padding: 54px clamp(28px, 6vw, 100px); display: flex; align-items: flex-start; justify-content: flex-end; flex-direction: column; color: #fff; }
.legacy-featured-copy h1 { margin: 0 0 14px; font-family: MyriadKubanBlack, MyriadKuban, sans-serif; font-size: clamp(27px, 3.2vw, 48px); line-height: .98; text-transform: uppercase; color: var(--kuban-yellow); }
.legacy-featured-copy p { margin: 0 0 17px; font-size: 17px; line-height: 1.32; }
.legacy-read-more { color: var(--kuban-yellow); font-size: 14px; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.legacy-fixtures { background: #fff; padding: 40px max(28px, calc((100% - 1140px) / 2)); }
.legacy-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 3px solid var(--kuban-green-light); }
.legacy-section-heading h2 { margin: 0; color: var(--kuban-green); font-family: MyriadKubanBlack, MyriadKuban, sans-serif; font-size: 25px; text-transform: uppercase; }
.legacy-section-heading > a { color: var(--kuban-green); font-size: 14px; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid var(--kuban-yellow); }
.legacy-fixture-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid #d6d6d6; }
.legacy-fixture { min-height: 195px; padding: 20px 17px; display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-content: start; align-items: center; column-gap: 6px; border-right: 1px solid #d6d6d6; border-bottom: 1px solid #d6d6d6; color: #0a4a21; }
.legacy-fixture:hover { background: #f4f4f4; }
.legacy-fixture time { grid-column: 1 / -1; margin-bottom: 22px; color: #777; font-size: 13px; text-align: center; }
.legacy-fixture strong { color: #108441; font-size: 24px; }
.legacy-fixture b { padding: 0 2px; color: #777; }
.legacy-fixture span:first-of-type { text-align: right; }
.legacy-fixture small { grid-column: 1 / -1; margin-top: 19px; color: #777; font-size: 12px; text-align: center; }
.legacy-news-list { max-width: 1140px; margin: 0 auto; padding: 45px 0 70px; }
.legacy-news-list .legacy-section-heading { margin-bottom: 6px; }
.legacy-news-row { display: grid; grid-template-columns: 128px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid #dedede; }
.legacy-news-row time { padding-top: 3px; color: #0d612c; font-size: 14px; font-weight: 700; }
.legacy-news-row h3 { margin: 0 0 9px; color: #0a4a21; font-size: 23px; line-height: 1.05; text-transform: uppercase; }
.legacy-news-row p { margin: 0 0 9px; color: #555; font-size: 16px; line-height: 1.35; }
@media (max-width: 900px) {
    .legacy-featured-slider { grid-template-columns: 1fr; }
    .legacy-featured-slide, .legacy-featured-copy { min-height: 320px; }
    .legacy-fixture-grid { grid-template-columns: repeat(2, 1fr); }
    .legacy-news-list { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 560px) {
    .legacy-featured-copy { padding: 34px 22px; }
    .legacy-featured-copy p { font-size: 15px; }
    .legacy-fixtures { padding: 30px 12px; }
    .legacy-section-heading h2 { font-size: 19px; }
    .legacy-fixture-grid { grid-template-columns: 1fr; }
    .legacy-news-row { grid-template-columns: 1fr; gap: 7px; }
    .legacy-news-row h3 { font-size: 19px; }
}

/* Пропорции настольной версии исходной домашней страницы. */
body { background: #00431e; }
.site-header, main, .site-footer { width: min(1240px, 100%); margin-left: auto; margin-right: auto; }
.site-header { background: #00431e url("/site/img/hdr.webp") center top / cover no-repeat; }
.legacy-top-line { background: #e6e6e6; }
.legacy-top-inner { position: relative; }
.trophy-nav { position: absolute; left: 50%; transform: translateX(-50%); }
.social-nav { margin-left: auto; }
.legacy-brand-panel { background: transparent; }
.legacy-brand-row { min-height: 145px; }
.site-logo img { width: 145px; max-height: 204px; margin: -34px 0 -34px; }
.legacy-main-nav { background: transparent; border-top: 0; }
.legacy-main-nav > div { min-height: 41px; justify-content: center; }
.legacy-main-nav a { padding: 12px 20px 9px; font-family: Georgia, serif; font-size: 17px; font-weight: 400; text-transform: uppercase; border-bottom-width: 0; }
.legacy-main-nav a:hover, .legacy-main-nav a.active { color: #fff; border-bottom-color: transparent; }
main { background: #fff; padding: 0 56px; }
.legacy-featured-slider { display: block; margin: 0; padding-top: 0; background: #fff; }
.legacy-featured-slide { min-height: 400px; border: 1px solid #d6d6d6; }
.legacy-featured-copy { min-height: 400px; width: 57%; padding: 40px 30px; background: linear-gradient(90deg, rgba(0,19,9,.82), rgba(0,19,9,.5), transparent); }
.legacy-featured-copy h1 { color: var(--kuban-yellow); font-family: Georgia, serif; font-size: 28px; line-height: 1.05; text-transform: none; }
.legacy-featured-copy p { font-size: 16px; line-height: 1.42; }
.legacy-read-more { padding: 8px 12px; border: 1px solid #cbd6b8; font-family: Georgia, serif; font-size: 13px; font-weight: 400; text-transform: none; }
.legacy-fixtures { margin: 0; padding: 0 0 35px; background: #fff; }
.legacy-section-heading { min-height: 42px; margin: 0; padding: 10px 25px; align-items: center; background: #ffd84d; border: 0; border-radius: 0 0 16px 16px; }
.legacy-section-heading h2 { color: #1d3d25; font-size: 18px; text-align: center; flex: 1; }
.legacy-section-heading > a { color: #1d3d25; font-size: 12px; }
.legacy-fixture-grid { padding-top: 14px; grid-template-columns: repeat(4, 1fr); border: 0; gap: 8px; }
.legacy-fixture { min-height: 160px; border: 2px solid #22804a; border-radius: 15px 15px 0 0; font-family: Georgia, serif; }
.legacy-fixture time { margin-bottom: 16px; color: #123c20; font-size: 12px; font-weight: 700; }
.legacy-fixture strong { color: #123c20; font-size: 19px; }
.legacy-fixture small { margin-top: 13px; font-size: 11px; }
.legacy-news-list { max-width: none; padding: 12px 0 55px; }
.legacy-news-list .legacy-section-heading { margin-bottom: 12px; border-radius: 0; background: #fff; border-bottom: 2px solid #198342; }
.legacy-news-row { grid-template-columns: 110px 1fr; padding: 18px 0; }
.legacy-news-row h3 { font-size: 20px; }
.site-footer { margin-top: 0; }
@media (min-width: 1241px) { body { padding: 0 20px; } }
@media (max-width: 900px) {
    .site-header, main, .site-footer { width: 100%; }
    main { padding: 0; }
    .legacy-featured-copy { width: 100%; }
    .legacy-main-nav > div { justify-content: flex-start; }
}

/* Точное воспроизведение настольной главной WordPress-версии. */
body { background: #013411; }
.site-header { background: #013411 url("/site/img/hdr.png") center 0 / auto no-repeat; }
.legacy-main-nav a { font-family: MyriadKubanBlack, MyriadKuban, Arial, sans-serif; font-weight: 900; }
.trophy > b { position: absolute; right: -8px; top: 7px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 8px; color: #fff; background: #008b3c; font: 900 10px/14px Arial, sans-serif; text-align: center; box-shadow: 0 1px 1px rgba(0,0,0,.28); }
.trophy-3 > b { background: #777; }
.trophy-5 > b { background: #ec6d11; }

.legacy-featured-slider { position: relative; min-height: 400px; overflow: hidden; border: 1px solid #d0d0d0; background: #111; }
.legacy-featured-track { min-height: 400px; }
.legacy-featured-slide { display: none; min-height: 400px; position: relative; border: 0; background: #111; }
.legacy-featured-slide.is-active { display: block; }
.legacy-featured-slide > img { width: 100%; height: 400px; position: absolute; inset: 0; object-fit: cover; opacity: 1; }
.legacy-featured-slide::after { display: none; }
.legacy-featured-copy { position: relative; z-index: 1; width: 57%; max-width: 640px; min-height: 400px; padding: 37px 31px 32px; display: flex; align-items: flex-start; justify-content: flex-end; flex-direction: column; color: #fff; background: rgba(0,0,0,.77); }
.legacy-featured-copy h1 { margin: 0 0 15px; color: #ffdb00; font-family: MyriadKubanBlack, MyriadKuban, Arial, sans-serif; font-size: 29px; font-weight: 900; line-height: 1; text-transform: uppercase; }
.legacy-featured-copy p { max-width: 545px; margin: 0 0 18px; color: #fff; font-family: Arial, sans-serif; font-size: 15px; line-height: 1.45; }
.legacy-slider-more { padding: 7px 14px; color: #fff; border: 1px solid rgba(255,255,255,.64); font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; text-decoration: none; }
.legacy-slider-more:hover { color: #1a5d30; background: #ffdc22; border-color: #ffdc22; }
.legacy-slider-nav { position: absolute; z-index: 2; top: calc(50% - 23px); width: 45px; height: 46px; padding: 0; border: 0; color: #fff; background: rgba(0,0,0,.64); font: 40px/38px Arial, sans-serif; cursor: pointer; }
.legacy-slider-nav:hover { background: rgba(0,0,0,.88); }
.legacy-slider-prev { left: 0; }
.legacy-slider-next { right: 0; }
.legacy-slider-dots { position: absolute; z-index: 2; right: 22px; bottom: 15px; display: flex; gap: 7px; }
.legacy-slider-dots button { width: 21px; height: 5px; margin: 0; padding: 0; border: 0; background: #e4e4e4; cursor: pointer; }
.legacy-slider-dots button.is-active { background: #75b72c; }

.legacy-fixtures { position: relative; padding: 28px 0 38px; overflow: visible; }
.legacy-section-heading.legacy-match-heading { min-height: 0; padding: 0 0 13px; border-radius: 0; background: transparent; border-bottom: 1px solid #ddd; }
.legacy-section-heading.legacy-match-heading h2 { color: #1b7739; font: 900 19px/1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-align: left; }
.legacy-fixture-carousel { position: relative; padding: 15px 29px 0; }
.legacy-fixture-viewport { overflow: hidden; }
.legacy-fixture-grid { display: flex; gap: 12px; width: max-content; padding: 0; border: 0; transition: transform .28s ease; will-change: transform; }
.legacy-fixture { flex: 0 0 calc((1128px - 48px) / 5); width: calc((1128px - 48px) / 5); min-height: 157px; padding: 13px 15px 10px; display: block; border: 1px solid #d8d8d8; border-radius: 0; color: #202020; font-family: Arial, sans-serif; box-shadow: none; }
.legacy-fixture:hover { background: #fafafa; border-color: #1c8141; }
.legacy-fixture-date { margin-bottom: 12px; color: #666; font-size: 12px; font-weight: 700; }
.legacy-fixture-date span { float: right; }
.legacy-fixture-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 2px 0; color: #333; font-size: 14px; font-weight: 700; }
.legacy-fixture-row b { min-width: 16px; color: #1a7137; font-size: 16px; text-align: right; }
.legacy-fixture small { display: block; margin-top: 10px; color: #767676; font-size: 10px; line-height: 1.25; text-align: left; }
.legacy-fixture-nav { position: absolute; z-index: 1; top: 74px; width: 25px; height: 42px; padding: 0; border: 0; color: #fff; background: #17773a; font: 32px/36px Arial, sans-serif; cursor: pointer; }
.legacy-fixture-nav:hover { background: #0c5828; }
.legacy-fixture-prev { left: 0; }
.legacy-fixture-next { right: 0; }

.legacy-home-columns { display: grid; grid-template-columns: minmax(0, 1.63fr) minmax(270px, .82fr); gap: 32px; padding: 0 0 42px; }
.legacy-news-list { max-width: none; margin: 0; padding: 0; }
.legacy-section-heading.legacy-news-heading { min-height: 36px; margin: 0; padding: 0 0 9px; border-radius: 0; background: transparent; border-bottom: 2px solid #198342; }
.legacy-section-heading.legacy-news-heading h2 { color: #1c6f35; font: 900 22px/1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-align: left; }
.legacy-news-row { display: grid; grid-template-columns: 34% 1fr; gap: 17px; min-height: 150px; padding: 16px 0; border-bottom: 1px solid #ddd; }
.legacy-news-thumb { min-height: 116px; overflow: hidden; background: #f0f0f0; }
.legacy-news-thumb img { width: 100%; height: 116px; object-fit: cover; }
.legacy-news-content time { display: block; margin: 0 0 6px; color: #767676; font: 12px/1 Arial, sans-serif; }
.legacy-news-row h3 { margin: 0 0 9px; color: #3f3f3f; font: 700 18px/1.12 Arial, sans-serif; text-transform: none; }
.legacy-news-row h3:hover { color: #1b7839; }
.legacy-news-row p { margin: 0 0 9px; color: #555; font: 13px/1.35 Arial, sans-serif; }
.legacy-read-more { display: inline-block; padding: 5px 15px; border: 0; border-radius: 2px; color: #fff; background: #555; font: 13px/1.25 Arial, sans-serif; text-transform: none; }
.legacy-read-more:hover { color: #555; background: #f1f1f1; }

.legacy-side-matches { display: grid; align-content: start; gap: 22px; }
.legacy-side-match-widget { position: relative; padding: 13px 16px; border: 1px solid #d6d6d6; background: #fafafa; }
.legacy-side-match-widget h2 { margin: 0 0 9px; color: #1a7437; font: 900 16px/1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-align: center; }
.legacy-side-nav { display: block; width: 100%; height: 16px; padding: 0; border: 0; color: #207b3d; background: transparent; font-size: 11px; line-height: 14px; cursor: pointer; }
.legacy-side-match { padding: 9px 0; border-bottom: 1px solid #ddd; color: #444; font-family: Arial, sans-serif; }
.legacy-side-match:last-child { border-bottom: 0; }
.legacy-side-date { margin-bottom: 4px; color: #777; font-size: 11px; }
.legacy-side-date span { float: right; }
.legacy-side-match > div:not(.legacy-side-date) { display: flex; justify-content: space-between; gap: 10px; padding: 1px 0; font-size: 13px; }
.legacy-side-match b { color: #17713a; }
.legacy-side-match small { display: block; margin-top: 5px; color: #777; font-size: 10px; line-height: 1.25; }

.legacy-sponsors { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 19px 26px; padding: 20px 18px 32px; border-top: 1px solid #ddd; }
.legacy-sponsors a, .legacy-sponsors .legacy-sponsor-static { display: grid; width: 125px; height: 56px; place-items: center; }
.legacy-sponsors img { max-width: 100%; max-height: 50px; object-fit: contain; }

@media (max-width: 1200px) {
    .legacy-fixture { flex-basis: calc((100vw - 160px) / 5); width: calc((100vw - 160px) / 5); }
}
@media (max-width: 960px) {
    .legacy-featured-copy { width: 64%; }
    .legacy-fixture { flex-basis: calc((100vw - 130px) / 3); width: calc((100vw - 130px) / 3); }
    .legacy-home-columns { grid-template-columns: 1fr; }
    .legacy-side-matches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .legacy-featured-slider, .legacy-featured-track, .legacy-featured-slide, .legacy-featured-copy { min-height: 330px; }
    .legacy-featured-slide > img { height: 330px; }
    .legacy-featured-copy { width: 100%; padding: 28px 25px; background: linear-gradient(90deg, rgba(0,0,0,.79), rgba(0,0,0,.36)); }
    .legacy-featured-copy h1 { font-size: 24px; }
    .legacy-featured-copy p { font-size: 13px; }
    .legacy-fixture { flex-basis: calc(100vw - 112px); width: calc(100vw - 112px); }
    .legacy-home-columns { padding-bottom: 28px; }
    .legacy-side-matches { grid-template-columns: 1fr; }
    .legacy-news-row { grid-template-columns: 126px 1fr; gap: 12px; }
    .legacy-news-thumb, .legacy-news-thumb img { min-height: 88px; height: 88px; }
    .legacy-news-row h3 { font-size: 15px; }
    .legacy-news-row p { display: none; }
    .legacy-sponsors { gap: 11px; }
    .legacy-sponsors a, .legacy-sponsors .legacy-sponsor-static { width: 95px; }
}

/* Геометрия слайдера и блока календаря совпадает с текущей главной. */
.legacy-featured-copy { position: absolute; left: 0; bottom: 52px; width: 57%; min-height: 147px; height: 147px; padding: 25px 31px 18px; background: rgba(0,0,0,.77); }
.legacy-featured-copy h1 { margin-bottom: 10px; font-size: 26px; }
.legacy-featured-copy p { margin-bottom: 13px; font-size: 14px; line-height: 1.35; }
.legacy-slider-more { padding: 6px 12px; font-size: 11px; }
.legacy-section-heading.legacy-match-heading { min-height: 40px; padding: 11px 24px 9px; border: 0; border-radius: 0 0 15px 15px; background: #ffd64b; }
.legacy-section-heading.legacy-match-heading h2 { color: #243b26; font-size: 17px; text-align: center; }
.legacy-fixture-carousel { padding-top: 14px; }
.legacy-fixture { min-height: 182px; padding: 12px 14px; border: 2px solid #238247; border-radius: 15px 15px 0 0; background: #fff; }
.legacy-fixture-date { padding-bottom: 9px; margin-bottom: 7px; border-bottom: 1px solid #e5e5e5; color: #1d3e25; font-size: 12px; }
.legacy-fixture-row { padding: 4px 0; color: #1f3e26; font-size: 14px; }
.legacy-fixture-row b { color: #1e6e39; font-size: 17px; }
.legacy-fixture small { margin-top: 9px; font-size: 10px; }
.legacy-fixture-nav { top: 88px; background: #17773a; }
.legacy-news-row h3 { text-transform: uppercase; }
@media (max-width: 700px) {
    .legacy-featured-copy { bottom: 38px; width: 100%; min-height: 180px; height: 180px; }
}

/* Внутренние страницы используют ту же жёлтую шапку раздела, что и WordPress. */
.listing-page, .article-page, .match-page, .person-page { max-width: none; margin: 0; padding: 0 0 50px; }
.listing-page > h1, .article-page > h1, .match-page > h1, .person-page h1 { margin: 0 0 24px; padding: 0 28px; color: #1d6f35; font: 900 28px/1.1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-transform: uppercase; }
.legacy-page-title { margin: 0 -56px 28px; padding: 9px 56px 8px; background: #ffd64b; }
.legacy-page-title h1 { margin: 0; color: #202a1e; font: 900 22px/1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-transform: uppercase; }
.breadcrumbs { display: none; }
.article-page > time { display: block; margin: 0 28px 10px; color: #777; font: 12px/1 Arial, sans-serif; text-transform: none; }
.article-page .article-image { max-width: calc(100% - 56px); margin: 0 28px 24px; }
.article-page .rich-text { max-width: none; margin: 0 28px; font: 16px/1.55 Arial, sans-serif; }
.match-page .rich-text { max-width: 850px; margin: 0 28px; font: 16px/1.55 Arial, sans-serif; }
.article-page .rich-text iframe { display: block; width: 100% !important; max-width: none; border: 0; }
.content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 28px; gap: 22px; }
.content-card { border: 1px solid #ddd; box-shadow: none; }
.content-card-body { padding: 16px; }
.content-card h3 { color: #1d7136; font-family: MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-transform: uppercase; }
.matches-list { padding: 0 28px; }
.match-row { grid-template-columns: 130px 1fr auto 1fr; padding: 15px 17px; border: 1px solid #ddd; border-bottom: 0; font-family: Arial, sans-serif; }
.match-row:last-child { border-bottom: 1px solid #ddd; }
.match-row strong { color: #1c7138; font-size: 18px; }
.match-page .match-scoreboard, .match-page .venue { margin-left: 28px; margin-right: 28px; }
@media (max-width: 900px) {
    .legacy-page-title { margin-left: 0; margin-right: 0; padding-left: 22px; padding-right: 22px; }
    .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 22px; }
}

/* Корректировки по эталонной WordPress-версии. */
body { background: #013411 url("/site/img/hdr.png") center 0 / auto no-repeat fixed; }
.trophy > b { right: 1px; top: 5px; }

.legacy-featured-copy {
    box-sizing: border-box;
    left: 0;
    bottom: 0;
    width: 57%;
    max-width: 640px;
    min-height: 200px;
    height: auto;
    padding: 27px 30px 26px;
}
.legacy-featured-copy h1 { margin-bottom: 12px; }
.legacy-featured-copy p { margin-bottom: 15px; }

.legacy-fixture-carousel { padding: 14px 23px 0; }
.legacy-fixture-grid { gap: 8px; }
.legacy-fixture {
    flex: 0 0 calc((1128px - 32px) / 5);
    width: calc((1128px - 32px) / 5);
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid #00843d;
    border-radius: 14px;
    background: #fff;
}
.legacy-fixture:hover { border-color: #ffd600; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.legacy-fixture-head { display: flex; justify-content: space-between; gap: 10px; padding: 2px 10px; background: #ffd600; color: #181817; font: 600 12px/1.15 MyriadKuban, Arial, sans-serif; }
.legacy-fixture-date, .legacy-fixture-time { white-space: nowrap; }
.legacy-fixture-date { margin: 0; padding: 0; border: 0; color: inherit; font: inherit; }
.legacy-fixture-date span { float: none; }
.legacy-fixture-teams { padding: 3px 10px; }
.legacy-fixture-row { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 8px; align-items: center; padding: 4px 0; color: #181817; font: 800 14px/1.12 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-transform: uppercase; }
.legacy-fixture-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legacy-fixture-row b { min-width: 0; color: #00843d; font: 900 14px/1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; }
.legacy-fixture small { display: block; min-height: 26px; margin: 0; padding: 5px 10px; overflow: hidden; color: #fff; background: #00843d; font: 500 11px/1.15 MyriadKuban, Arial, sans-serif; letter-spacing: .015em; text-align: left; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.legacy-fixture-nav { top: 0; bottom: 0; width: 15px; height: auto; border: 0; border-radius: 12px; color: #00843d; background: #fff; font-size: 22px; line-height: 1; }
.legacy-fixture-nav:hover { color: #00843d; background: rgba(255,214,0,.18); }

.legacy-section-heading.legacy-news-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.legacy-all-news { color: #1a7437; font: 900 14px/1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-decoration: none; text-transform: uppercase; }
.legacy-all-news:hover { color: #111; }

.legacy-side-nav:disabled { opacity: .35; cursor: default; }
.legacy-side-match[hidden] { display: none; }

@media (max-width: 1200px) {
    .legacy-fixture { flex-basis: calc((100vw - 124px) / 5); width: calc((100vw - 124px) / 5); }
}
@media (max-width: 960px) {
    .legacy-fixture { flex-basis: calc((100vw - 96px) / 3); width: calc((100vw - 96px) / 3); }
}
@media (max-width: 700px) {
    .legacy-featured-copy { width: 100%; min-height: 190px; padding: 24px 25px; }
    .legacy-fixture { flex-basis: calc(100vw - 88px); width: calc(100vw - 88px); }
}

/* Счётчики достижений нанесены на чаши так же, как в исходной теме. */
.trophy { height: 32px; }
.trophy > b {
    right: auto;
    left: 0;
    bottom: auto;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
    font: 10px/1 Arial, sans-serif;
}
.trophy-1 > b, .trophy-2 > b { top: 5px; }
.trophy-3 > b, .trophy-5 > b { top: auto; bottom: 5px; }

/* Три зоны подвала занимают всю ширину контейнера. */
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: 30px 56px;
}
.site-footer > div { flex: 0 0 54px; }
.site-footer > p { flex: 1 1 auto; margin: 0; text-align: center; }
.site-footer nav { flex: 0 0 auto; justify-content: flex-end; }

@media (max-width: 900px) {
    .site-footer { display: grid; padding: 30px 28px; }
    .site-footer > p { text-align: left; }
}

/* Выпадающее главное меню повторяет структуру исходного сайта. */
.legacy-main-nav > div { display: block; min-height: 47px; }
.legacy-main-menu, .legacy-submenu { margin: 0; padding: 0; list-style: none; }
.legacy-main-menu { display: flex; justify-content: flex-end; align-items: stretch; min-height: 47px; }
.legacy-nav-item { position: relative; }
.legacy-main-nav .legacy-main-menu > .legacy-nav-item > a { display: flex; align-items: center; height: 47px; padding: 0 19px; }
.legacy-submenu { position: absolute; top: 100%; left: 0; z-index: 20; min-width: 222px; padding: 6px 0; background: linear-gradient(to bottom, rgba(11,94,44,.98), rgba(5,100,42,.98)); box-shadow: 0 8px 18px rgba(0,0,0,.24); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease; }
.legacy-nav-item:hover > .legacy-submenu, .legacy-nav-item:focus-within > .legacy-submenu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.legacy-main-nav .legacy-submenu a, .legacy-main-nav .legacy-submenu a.active { display: block; padding: 10px 18px; border: 0; color: #fff; font: 700 14px/1.15 MyriadKuban, Arial, sans-serif; text-align: left; text-transform: uppercase; white-space: nowrap; }
.legacy-main-nav .legacy-submenu a:hover, .legacy-main-nav .legacy-submenu a.active { color: #ffd600; background: rgba(0,0,0,.16); }

/* Постраничная навигация новостей. */
.legacy-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 32px 28px 0; color: #1d7136; font: 700 15px/1 Arial, sans-serif; }
.legacy-pagination a, .legacy-pagination .is-current { display: grid; min-width: 34px; height: 34px; padding: 0 8px; place-items: center; border: 1px solid #198342; color: #1d7136; text-decoration: none; }
.legacy-pagination a:hover, .legacy-pagination .is-current { color: #fff; background: #198342; }
.legacy-pagination-arrow { font-size: 25px; font-weight: 400; }
.legacy-pagination-ellipsis { padding: 0 2px; }

@media (max-width: 900px) {
    .legacy-main-nav > div { overflow: visible; }
    .legacy-main-menu { justify-content: flex-start; flex-wrap: wrap; }
    .legacy-main-nav .legacy-main-menu > .legacy-nav-item > a { padding: 0 14px; white-space: nowrap; }
}

@media (max-width: 560px) {
    .legacy-pagination { gap: 4px; margin-left: 22px; margin-right: 22px; }
    .legacy-pagination a, .legacy-pagination .is-current { min-width: 30px; height: 30px; padding: 0 6px; }
}

/* Перенесённые фотографии, галереи и видео. */
.rich-text img, .rich-text figure img { max-width: 100% !important; height: auto !important; }
.rich-text figure { max-width: 100% !important; margin: 0 0 24px; }
.content-card-video-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #08351d, #0e7940); }
.content-card-video-placeholder b { display: grid; width: 54px; height: 54px; place-items: center; border: 2px solid #ffd600; border-radius: 50%; color: #ffd600; font: 20px/1 Arial, sans-serif; text-indent: 2px; }
.media-player { position: relative; width: calc(100% - 56px); aspect-ratio: 16 / 9; margin: 0 28px 28px; overflow: hidden; background: #09130c; }
.media-player iframe, .media-player video { display: block; width: 100% !important; height: 100% !important; border: 0; }
.legacy-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px; }
.legacy-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #edf1ed; }
.legacy-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.legacy-gallery a:hover img { transform: scale(1.035); }

/* Составы команд, импортированные из списков SportsPress. */
.team-page { max-width: none; margin: 0; padding: 0 0 50px; }
.team-roster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0 28px; }
.team-player-card { position: relative; display: block; min-width: 0; overflow: hidden; border: 1px solid #d5dfd7; color: #183d26; background: #fff; text-decoration: none; }
.team-player-card:hover { border-color: #00843d; box-shadow: 0 7px 18px rgba(11,72,35,.12); }
.team-player-card img, .team-player-placeholder { display: block; width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; background: linear-gradient(135deg, #e8eee9, #cbdace); }
.team-player-card-body { display: grid; gap: 5px; min-height: 80px; padding: 12px 14px; }
.team-player-card strong { color: #1d7136; font: 900 18px/1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-transform: uppercase; }
.team-player-card small { color: #5d6b60; font: 13px/1.2 Arial, sans-serif; }
.team-player-number { position: absolute; top: 10px; right: 10px; display: grid; min-width: 30px; height: 30px; padding: 0 6px; place-items: center; border-radius: 50%; color: #fff; background: #00843d; font: 900 15px/1 Arial, sans-serif; }

@media (max-width: 900px) {
    .team-roster { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 22px; }
    .legacy-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 22px; margin-right: 22px; }
    .media-player { width: calc(100% - 44px); margin-left: 22px; margin-right: 22px; }
}
@media (max-width: 560px) {
    .team-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .team-player-card-body { min-height: 70px; padding: 10px; }
    .team-player-card strong { font-size: 15px; }
    .legacy-gallery { grid-template-columns: 1fr; }
}


/* Компактные карточки каталогов сохраняют исходную высоту и не обрезают портреты. */
.content-grid .content-card-portrait .content-card-image {
    display: grid;
    aspect-ratio: 1.5;
    place-items: center;
    background: linear-gradient(145deg, #edf4ed, #dbe8dd);
}
.content-grid .content-card-portrait .content-card-image img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
    object-position: center;
}
.content-grid .content-card-portrait:hover img { transform: none; }

/* Страница партнёров строится из блока CMS: каждая карточка ведёт на сайт партнёра. */
.sponsors-page { padding-bottom: 58px; }
.sponsors-page-lead { margin: 0 28px 25px; color: #526156; font: 18px/1.45 MyriadKuban, Arial, sans-serif; }
.sponsor-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 0 28px;
}
.sponsor-showcase-card {
    display: flex;
    min-height: 218px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #d9e2da;
    border-bottom: 4px solid #00843d;
    color: #183d26;
    background: #fff;
    box-shadow: 0 3px 14px rgba(13, 62, 31, .06);
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.sponsor-showcase-card:hover {
    border-bottom-color: #ffd600;
    box-shadow: 0 9px 22px rgba(13, 62, 31, .15);
    transform: translateY(-3px);
}
.sponsor-showcase-logo {
    display: grid;
    min-height: 162px;
    padding: 25px 28px 16px;
    place-items: center;
}
.sponsor-showcase-logo img { max-width: 100%; max-height: 118px; object-fit: contain; }
.sponsor-showcase-fallback { color: #1d7136; font: 900 22px/1.05 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-align: center; text-transform: uppercase; }
.sponsor-showcase-name {
    min-height: 49px;
    padding: 12px 16px;
    border-top: 1px solid #edf1ee;
    color: #1d7136;
    font: 900 15px/1.08 MyriadKubanBlack, MyriadKuban, Arial, sans-serif;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .sponsor-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 22px; }
    .sponsors-page-lead { margin-left: 22px; margin-right: 22px; }
}
@media (max-width: 560px) {
    .sponsor-showcase { grid-template-columns: 1fr; gap: 14px; }
    .sponsor-showcase-card { min-height: 190px; }
}

/* Эмблемы команд всегда показываются полностью в компактной карточке. */
.team-directory-grid .content-card-image {
    display: grid;
    aspect-ratio: 1.5;
    place-items: center;
    overflow: hidden;
}
.team-directory-grid .content-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}
.team-directory-grid .content-card-image { position: relative; }
.team-directory-grid .content-card-image img {
    position: absolute !important;
    inset: 0;
    margin: auto;
}

/* Выпадающий список достижений в шапке, как в WordPress-версии. */
.trophy-nav { z-index: 80; }
.trophy-menu { position: relative; display: flex; align-items: center; height: 34px; }
.trophy-submenu { position: absolute; top: calc(100% - 2px); left: 50%; z-index: 90; min-width: 176px; margin: 0; padding: 6px 0; list-style: none; border: 1px solid rgba(0, 86, 35, .16); background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); opacity: 0; pointer-events: none; transform: translate(-50%, -5px); transition: opacity .16s ease, transform .16s ease; }
.trophy-menu:hover .trophy-submenu, .trophy-menu:focus-within .trophy-submenu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.trophy-submenu a { display: block; padding: 7px 11px; color: #0a5728; font: 700 12px/1.15 Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.trophy-submenu a:hover, .trophy-submenu a:focus-visible { color: #111; background: #ffd600; outline: 0; }

/* Состав показывается по амплуа, а подробности игрока редактируются в CMS. */
.team-position-group { margin: 0 0 38px; }
.team-position-group > h2 { margin: 0 28px 15px; padding-bottom: 10px; border-bottom: 2px solid #198342; color: #1d7136; font: 900 23px/1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-transform: uppercase; }
.player-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 25px; background: #dbe4dc; }
.player-details > div { display: grid; grid-template-columns: minmax(105px, .8fr) 1.2fr; gap: 11px; padding: 10px 12px; background: #f8fbf8; }
.player-details dt { color: #68756a; font-weight: 700; }
.player-details dd { margin: 0; color: #183d26; }
.player-career { margin-top: 30px; }
.player-career h2 { margin: 0 0 12px; color: #1d7136; font: 900 22px/1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-transform: uppercase; }

/* «Сезон»: отдельные турниры, составы и эмблемы соперников. */
.season-tournaments { padding: 0 28px; }
.season-tournament { margin: 0 0 36px; }
.season-tournament > h2 { margin: 0; padding: 12px 17px 10px; border-bottom: 3px solid #198342; color: #1d7136; background: #f4f8f4; font: 900 22px/1.1 MyriadKubanBlack, MyriadKuban, Arial, sans-serif; text-transform: uppercase; }
.season-tournament .matches-list { padding: 0; border-top: 0; }
.match-row.season-match-row { grid-template-columns: 134px minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; }
.season-team { display: flex; min-width: 0; align-items: center; gap: 10px; color: #183d26; font-weight: 700; }
.season-team-home { justify-content: flex-end; text-align: right; }
.season-team > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.season-team img { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; }
.season-team-home img { order: 2; }
.season-squad { grid-column: 2 / -1; color: #718174; font: 12px/1 Arial, sans-serif; }

@media (max-width: 900px) {
    .team-position-group > h2, .season-tournaments { margin-left: 22px; margin-right: 22px; }
    .season-tournaments { padding: 0; }
    .match-row.season-match-row { grid-template-columns: 110px minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 620px) {
    .trophy-submenu { left: 0; transform: translate(0, -5px); }
    .trophy-menu:hover .trophy-submenu, .trophy-menu:focus-within .trophy-submenu { transform: translate(0, 0); }
    .player-details { grid-template-columns: 1fr; }
    .match-row.season-match-row { grid-template-columns: 1fr auto; }
    .season-match-row time { grid-column: 1 / -1; }
    .season-team-home { justify-content: flex-start; text-align: left; }
    .season-team-home img { order: 0; }
    .season-match-row strong { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
    .season-squad { grid-column: 1 / -1; }
}

.legacy-sponsors .legacy-sponsor-radio { width: 150px; }
.legacy-sponsors .legacy-sponsor-radio img { max-height: 56px; }
