/*
Theme Name: FC Foleja
Theme URI: https://fcfoleja.com
Author: FC Foleja
Description: Theme zyrtare dygjuhëshe për FC Foleja, me menaxhim të kryesisë, stafit, lojtarëve, sponsorëve, ndeshjeve dhe tabelës.
Version: 1.0.10
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: fc-foleja
*/

:root {
  --gold: #f4b53f;
  --gold-strong: #ffbf3f;
  --ink: #080908;
  --ink-soft: #11130f;
  --paper: #f3f0e9;
  --muted: #a5a69f;
  --line: rgba(244, 181, 63, 0.2);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #f8f7f2;
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 88px; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding-block: 120px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 88px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(5, 6, 5, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 58px; height: 62px; object-fit: contain; }
.brand span { display: grid; gap: 2px; }
.brand strong { font-size: 18px; letter-spacing: 0.07em; }
.brand small { color: var(--gold); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 26px); margin-left: auto; }
.desktop-nav a { color: #cdcec9; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; transition: color .2s; }
.desktop-nav a:hover { color: var(--gold); }
.header-cta { border: 1px solid var(--gold); padding: 12px 16px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.header-cta span { margin-left: 8px; }
.language-switch { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid rgba(244,181,63,.38); border-radius: 999px; background: #0c0d0a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.025); }
.language-switch button { width: 34px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: #777971; font-size: 10px; font-weight: 900; letter-spacing: .08em; cursor: pointer; transition: color .2s, background .2s, box-shadow .2s; }
.language-switch button:hover { color: #fff; }
.language-switch button[aria-pressed="true"] { color: #080908; background: var(--gold); box-shadow: 0 3px 14px rgba(244,181,63,.25); }
.language-switch span { display: none; }
.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu summary { list-style: none; width: 44px; height: 44px; display: grid; align-content: center; gap: 7px; padding: 11px; border: 1px solid var(--line); cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; height: 2px; background: var(--gold); }
.mobile-menu nav { position: absolute; right: 0; top: 55px; width: min(82vw, 330px); padding: 12px; background: #0c0d0b; border: 1px solid var(--line); box-shadow: 0 24px 70px #000; }
.mobile-menu nav a { display: block; padding: 14px; border-bottom: 1px solid rgba(255,255,255,.06); font-weight: 700; }

.hero { position: relative; min-height: 700px; padding-top: 88px; overflow: hidden; isolation: isolate; background: #060706; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,6,5,.9) 0 23%, rgba(5,6,5,.58) 48%, rgba(5,6,5,.08) 78%, rgba(5,6,5,.42) 100%), linear-gradient(0deg, rgba(5,6,5,.72) 0, transparent 34%); }
.hero-art { position: absolute; inset: 88px 0 0; z-index: -3; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-video { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .92; }
.hero-slides::before, .hero-slide { content: ""; position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; filter: saturate(.9) contrast(1.06) brightness(1.08); }
.hero-slides::before { background-image: var(--hero-slide-1); background-position: 68% center; opacity: .82; }
.hero-slide { opacity: 0; animation: hero-crossfade 30s infinite ease-in-out both; }
.hero-slide-1 { background-image: var(--hero-slide-1); background-position: 68% center; }
.hero-slide-2 { background-image: var(--hero-slide-2); background-position: 52% center; }
.hero-slide-3 { background-image: var(--hero-slide-3); background-position: 60% center; }
.hero-slide-4 { background-image: var(--hero-slide-4); background-position: 50% center; }
.hero-slide-5 { background-image: var(--hero-slide-5); background-position: 62% center; }
@keyframes hero-crossfade {
  0% { opacity: 0; }
  3%, 17% { opacity: .84; }
  21%, 100% { opacity: 0; }
}
.hero-glow { position: absolute; width: 680px; height: 680px; right: 4%; top: 2%; background: radial-gradient(circle, rgba(244,181,63,.2), transparent 65%); filter: blur(20px); }
.hero-grid { position: absolute; inset: 88px 0 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.023) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.023) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to right, black, transparent 60%); }
.hero-content { min-height: 610px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding-top: 40px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid rgba(244,181,63,.35); border-radius: 999px; color: #d5d4ce; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; background: rgba(0,0,0,.3); }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.hero h1 { margin: 0 0 22px; font-size: clamp(46px, 5.6vw, 80px); line-height: .88; letter-spacing: -.055em; text-transform: uppercase; font-weight: 900; }
.hero h1 .accent { color: var(--gold); }
.hero-title-line { display: block; opacity: 0; transform: translateY(28px); filter: blur(8px); animation: title-line-reveal 1.55s cubic-bezier(.2,.72,.2,1) forwards; }
.hero-title-line:nth-child(2) { animation-delay: .28s; }
.hero-title-line:nth-child(3) { animation-delay: .56s; }
@keyframes title-line-reveal {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-copy > p { width: min(560px, 100%); margin: 0; color: #bbbcb6; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 30px; padding: 0 22px; border: 1px solid transparent; font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #080908; background: var(--gold); }
.button.ghost { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(0,0,0,.2); }
.button.outline { border-color: var(--gold); color: var(--gold); }
.button.centered { margin: 42px auto 0; width: max-content; }
.hero-crest { justify-self: end; position: relative; width: min(355px, 34vw); aspect-ratio: 1/1; display: grid; place-items: center; }
.hero-crest::before { content: ""; position: absolute; inset: 5%; border: 1px solid rgba(244,181,63,.32); border-radius: 50%; box-shadow: 0 0 100px rgba(244,181,63,.12); }
.hero-crest::after { content: ""; position: absolute; inset: 18%; border: 1px dashed rgba(244,181,63,.28); border-radius: 50%; animation: rotate 24s linear infinite; }
.hero-crest img { position: relative; z-index: 2; height: 78%; width: 78%; object-fit: contain; filter: drop-shadow(0 30px 45px #000); }
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-stats { min-height: 88px; display: grid; grid-template-columns: 1fr; border: 1px solid rgba(244,181,63,.18); background: rgba(14,15,12,.9); backdrop-filter: blur(18px); }
.hero-stats > div { padding: 22px 30px; border-right: 1px solid rgba(255,255,255,.08); }
.hero-stats strong { display: block; color: var(--gold); font-size: 27px; }
.hero-stats span { color: #a7a8a2; font-size: 12px; letter-spacing: .04em; }
.hero-stats > a { display: flex; align-items: center; justify-content: space-between; padding: 22px 30px; background: var(--gold); color: #090a08; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.hero-stats > a span { color: #090a08; }
.hero-stats b { font-size: 24px; }

.section-heading { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #b07714; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold); }
.section-heading h2 { margin: 16px 0; color: #10110e; font-size: clamp(40px, 5vw, 66px); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.section-heading p { margin: 0; color: #777871; font-size: 17px; line-height: 1.6; }
.category-only { margin-bottom: 42px; }

.story-section, .staff-section, .sponsors-section { color: #11120f; background: var(--paper); }
.story-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 82px; align-items: center; }
.story-visual { min-height: 560px; position: relative; display: flex; align-items: flex-end; background: #11120f var(--history-image) center / cover no-repeat; border: 1px solid rgba(177,119,18,.28); overflow: hidden; isolation: isolate; }
.story-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 34%, rgba(5,6,5,.2) 55%, rgba(5,6,5,.92) 100%), linear-gradient(90deg, rgba(5,6,5,.12), transparent 60%); }
.story-photo-caption { padding: 38px; display: grid; gap: 10px; color: #fff; }
.story-photo-caption small { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.story-photo-caption strong { max-width: 360px; font-size: 34px; line-height: 1.05; letter-spacing: -.025em; text-transform: uppercase; }
.year-card { position: relative; z-index: 2; text-align: center; display: grid; }
.year-card small { color: var(--gold); letter-spacing: .18em; text-transform: uppercase; }
.year-card strong { color: #fff; font-size: 94px; letter-spacing: -.08em; line-height: 1.1; }
.year-card span { color: #95968f; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.story-copy > p { color: #5f605b; font-size: 18px; line-height: 1.75; }
.story-copy blockquote { margin: 34px 0; padding: 4px 0 4px 25px; border-left: 3px solid var(--gold); color: #252621; font-size: 20px; font-weight: 700; line-height: 1.5; }
.text-link { color: #95640c; font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { margin-left: 12px; }

.dark-section { background: #0d0f0c; }
.dark-section .section-heading h2, .players-section .section-heading h2, .contact-section .section-heading h2 { color: #fff; }
.dark-section .section-heading p { color: #8f908a; }
.leadership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 58px; }
.leader-card { position: relative; border: 1px solid rgba(244,181,63,.18); background: linear-gradient(150deg, #171914, #0b0c0a); overflow: hidden; }
.leader-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -60px; top: -70px; border: 1px solid rgba(244,181,63,.1); border-radius: 50%; }
.card-index { position: absolute; z-index: 4; top: 20px; right: 20px; color: rgba(255,255,255,.46); font-size: 12px; }
.leader-photo { width: 100%; aspect-ratio: 5 / 4; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, rgba(244,181,63,.14), transparent 45%), #12140f; border-bottom: 1px solid rgba(244,181,63,.18); overflow: hidden; }
.leader-photo::before { content: ""; width: 82px; height: 82px; position: absolute; top: 21%; border-radius: 50%; background: #242720; border: 1px solid rgba(244,181,63,.24); }
.leader-photo::after { content: ""; width: 58%; height: 38%; position: absolute; bottom: 0; border-radius: 50% 50% 0 0; background: #242720; border-top: 1px solid rgba(244,181,63,.18); }
.leader-photo img { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.leader-info { min-height: 126px; padding: 26px 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.leader-card small { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.leader-card h3 { margin: 7px 0 0; font-size: 22px; }
.corner-arrow { position: absolute; right: 26px; bottom: 26px; color: var(--gold); font-size: 22px; }

.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 80px; }
.split-heading > p { width: 380px; margin: 0 0 8px; color: #6f706a; line-height: 1.7; }
.staff-section { padding-block: 72px; }
.staff-category { margin-bottom: 24px; }
.staff-list { margin-top: 0; border-top: 1px solid #d3cfc4; }
.staff-list article { display: grid; grid-template-columns: 70px minmax(280px, .85fr) 1fr; align-items: center; gap: 28px; min-height: 120px; border-bottom: 1px solid #d3cfc4; }
.staff-number { color: #b5b0a5; font-size: 13px; }
.staff-list small { color: #9a670b; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.staff-list h3 { margin: 5px 0 0; font-size: 25px; }
.staff-line { height: 1px; background: linear-gradient(90deg, #d2cec3, transparent); }

.players-section { background: #11130f; }
.split-heading.light > p { color: #8f9089; }
.players-category-heading { padding-bottom: 24px; border-bottom: 1px solid rgba(244,181,63,.16); }
.players-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.player-card { position: relative; min-height: 390px; background: #171a15; border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.player-number { position: absolute; right: 18px; top: 6px; color: rgba(244,181,63,.13); font-size: 98px; font-weight: 900; letter-spacing: -.08em; }
.player-silhouette { height: 285px; position: relative; display: grid; place-items: end center; background: radial-gradient(circle at 50% 38%, rgba(244,181,63,.15), transparent 45%), linear-gradient(135deg, #1c1e19, #0c0d0b); }
.player-silhouette::before { content: ""; width: 108px; height: 108px; position: absolute; top: 55px; border-radius: 50%; background: #242720; border: 1px solid rgba(244,181,63,.22); }
.player-silhouette::after { content: ""; width: 225px; height: 130px; position: absolute; bottom: 0; border-radius: 48% 48% 0 0; background: #242720; border-top: 1px solid rgba(244,181,63,.18); }
.player-silhouette .player-upload { position: relative; z-index: 3; margin-bottom: 42px; display: grid; justify-items: center; color: var(--gold); }
.player-upload b { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(244,181,63,.45); border-radius: 50%; background: rgba(7,8,6,.7); font-size: 25px; font-weight: 400; }
.player-info { padding: 24px; border-top: 2px solid var(--gold); }
.player-info small { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.player-info h3 { margin: 5px 0 0; font-size: 21px; }

.sponsors-section { text-align: center; }
.sponsors-section .section-heading { margin-inline: auto; }
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 52px; }
.sponsor-card { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 14px; border: 1px solid #d6d2c7; background: #f8f6f1; color: #77776f; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sponsor-mark { color: #181914; font-size: 38px; line-height: 1; }
.sponsor-invite { margin: 35px 0 0; color: #77776f; }
.sponsor-invite a { color: #97650b; font-weight: 900; }

.sponsor-table-section { color: #11120f; background: var(--paper); }
.sponsor-table-section .section-heading { max-width: 780px; }
.sponsor-showcase { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sponsor-showcase-card { min-width: 0; border: 1px solid #d8d5ce; background: #fff; transition: transform .18s, border-color .18s; }
.sponsor-showcase-card:hover { transform: translateY(-2px); border-color: #bda66f; }
.sponsor-logo-stage { min-height: 0; aspect-ratio: 1; padding: clamp(20px, 2.4vw, 34px); position: relative; display: grid; place-items: center; background: #fbfaf7; overflow: hidden; }
.sponsor-logo-stage::before, .sponsor-logo-stage::after { display: none; }
.sponsor-logo-stage img { position: relative; z-index: 1; width: 100%; height: 100%; max-width: 86%; max-height: 86%; object-fit: contain; object-position: center; transform: scale(var(--logo-scale, 1)); transition: transform .18s ease; }
.sponsor-logo-stage b { position: relative; z-index: 1; font-size: 58px; line-height: 1; color: #1b1c17; }
.sponsor-table-section .sponsor-invite { text-align: center; }

.contact-section { padding-block: 120px; position: relative; background: #0a0b09; overflow: hidden; }
.contact-section::before { content: "FOLEJA"; position: absolute; right: -30px; bottom: -48px; color: transparent; -webkit-text-stroke: 1px rgba(244,181,63,.06); font-size: 190px; font-weight: 900; letter-spacing: -.07em; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; position: relative; z-index: 2; }
.contact-copy > p { color: #9b9c96; line-height: 1.7; font-size: 17px; }
.contact-details { display: grid; gap: 16px; margin-top: 40px; }
.contact-details > * { display: flex; align-items: center; gap: 15px; }
.contact-details > * > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(244,181,63,.3); color: var(--gold); }
.contact-details div div, .contact-details a div { display: grid; }
.contact-details small { color: #71736c; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.contact-details strong { margin-top: 3px; font-size: 15px; }
.contact-form { padding: 38px; display: grid; gap: 22px; background: #141611; border: 1px solid rgba(244,181,63,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 9px; color: #c9cac5; font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.11); border-radius: 0; outline: none; background: #0c0d0a; color: #fff; padding: 14px 15px; font-size: 14px; letter-spacing: normal; text-transform: none; transition: border-color .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.form-note { color: #73756d; line-height: 1.5; }

.site-footer { background: #050605; border-top: 1px solid var(--line); }
.footer-main { min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.footer-brand img { width: 55px; height: 64px; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; color: #a7a8a3; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.social-links { justify-self: end; display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(244,181,63,.28); color: var(--gold); font-weight: 900; }
.footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.07); color: #666861; font-size: 11px; }

/* Language state */
span.lang-en { display: none; }
body.lang-en .lang-sq { display: none; }
body.lang-en .lang-en { display: inline; }
.lang-block { display: block; }
body.lang-en .lang-block.lang-en { display: block; }
body.admin-bar .site-header { top: 32px; }

/* WordPress image output */
.leader-photo.has-image::before, .leader-photo.has-image::after,
.player-silhouette.has-image::before, .player-silhouette.has-image::after { display: none; }
.player-silhouette img { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.staff-person { display: flex; align-items: center; gap: 14px; }
.staff-thumb { flex: 0 0 56px; width: 56px; height: 56px; border: 1px solid #d4b06d; overflow: hidden; background: #171914; }
.staff-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.staff-person > span:last-child { min-width: 0; }

/* Matches */
.matches-section { background: #0b0d0a; }
.light-heading h2 { color: #fff; }
.matches-category { margin-bottom: 0; }
.next-match { margin-top: 48px; border: 1px solid rgba(244,181,63,.3); background: radial-gradient(circle at 50% 50%, rgba(244,181,63,.1), transparent 48%), linear-gradient(145deg, #171a14, #080908); }
.match-kicker { min-height: 62px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(244,181,63,.16); color: #9b9d95; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.match-kicker span { color: var(--gold); font-weight: 900; }
.match-teams { min-height: 285px; padding: 44px; display: grid; grid-template-columns: 1fr 170px 1fr; align-items: center; gap: 30px; text-align: center; }
.match-teams > div:not(.match-time) { display: grid; justify-items: center; gap: 18px; }
.match-teams h3 { margin: 0; font-size: clamp(24px, 3vw, 42px); text-transform: uppercase; }
.team-mark { width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid rgba(244,181,63,.45); border-radius: 50%; color: var(--gold); font-size: 20px; font-weight: 900; }
.team-mark.away { color: #c5c6c0; border-color: rgba(255,255,255,.2); }
.match-time { display: grid; justify-items: center; gap: 4px; }
.match-time strong { color: var(--gold); font-size: 52px; line-height: 1; }
.match-time span { color: #92948c; font-size: 12px; letter-spacing: .1em; }
.match-venue { padding: 18px 24px; border-top: 1px solid rgba(244,181,63,.16); color: #9b9d95; text-align: center; }
.upcoming-list, .results-block { margin-top: 42px; }
.upcoming-list > h3, .results-block > h3 { margin: 0 0 16px; color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.upcoming-list article { min-height: 72px; padding: 16px 20px; display: grid; grid-template-columns: 120px 1fr 180px; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); }
.upcoming-list time { color: var(--gold); font-weight: 800; }
.upcoming-list strong { font-size: 17px; }
.upcoming-list strong span { color: #6e7069; padding-inline: 8px; }
.upcoming-list small { color: #858780; text-align: right; }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.results-grid article { padding: 22px; border: 1px solid rgba(255,255,255,.09); background: #131510; }
.results-grid article > small { color: var(--gold); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.results-grid article > div { margin-top: 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.results-grid article > div span:last-child { text-align: right; }
.results-grid strong { color: #fff; font-size: 25px; }
.empty-state { margin-top: 40px; color: #979991; }

/* League table */
.standings-section { color: #11120f; background: #f3f0e9; }
.standings-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 80px; align-items: start; }
.standings-intro { position: sticky; top: 125px; }
.standings-title-row { margin-top: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.standings-intro h2 { margin: 0; max-width: 520px; font-size: clamp(34px, 4vw, 50px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.standings-logos { display: flex; align-items: center; gap: 8px; }
.standings-league-logo { flex: 0 0 76px; width: 76px; height: 76px; padding: 6px; display: grid; place-items: center; overflow: hidden; border: 1px solid #d6d2c7; background: #fff; color: #124fa4; font-weight: 900; }
.standings-league-logo img { width: 100%; height: 100%; object-fit: contain; }
.standings-table-wrap { overflow-x: auto; border: 1px solid #d6d2c7; background: #faf8f3; }
.standings-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.standings-table th, .standings-table td { height: 68px; padding: 10px 13px; border-bottom: 1px solid #dedad0; text-align: center; }
.standings-table th { height: 48px; color: #8d8c84; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.standings-table th:nth-child(2), .standings-table td:nth-child(2) { text-align: left; }
.standings-table td:nth-child(2) { display: flex; align-items: center; gap: 12px; }
.standings-table tbody tr:last-child td { border-bottom: 0; }
.standings-table .is-foleja { background: #151711; color: #fff; }
.standings-table .is-foleja td { border-color: rgba(244,181,63,.18); }
.standings-table .is-foleja td:first-child, .standings-table .is-foleja td:last-child { color: var(--gold); }
.table-club-mark { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border: 1px solid #d4b06d; border-radius: 50%; color: #9a670b; font-size: 11px; font-weight: 900; }
.table-club-mark img { width: 100%; height: 100%; object-fit: contain; }
.form-success { margin: 0; padding: 12px 14px; color: #111; background: var(--gold); font-weight: 700; }
.generic-page { min-height: 70vh; padding-top: 160px; }

@media (max-width: 1080px) {
  .desktop-nav, .header-cta { display: none; }
  .language-switch { margin-left: auto; }
  .mobile-menu { display: block; margin-left: 0; }
  .hero-content { grid-template-columns: 1fr .55fr; }
  .story-layout, .contact-layout { gap: 60px; }
  .leadership-grid { grid-template-columns: 1fr; }
  .leader-card { display: grid; grid-template-columns: minmax(280px, .8fr) 1fr; }
  .leader-photo { height: 280px; aspect-ratio: auto; border-right: 1px solid rgba(244,181,63,.18); border-bottom: 0; }
  .leader-info { min-height: 280px; }
  .standings-layout { grid-template-columns: 1fr; gap: 42px; }
  .standings-intro { position: static; }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .shell { width: min(calc(100% - 30px), var(--max)); }
  section[id] { scroll-margin-top: 76px; }
  .section { padding-block: 58px; }
  .site-header { height: 76px; padding-inline: 15px; }
  .brand img { width: 46px; height: 50px; }
  .brand strong { font-size: 15px; }
  .hero { min-height: auto; padding-top: 76px; }
  .hero-art { top: 76px; opacity: .7; }
  .hero-slides::before, .hero-slide { inset: 0; background-size: cover; }
  .hero-slides::before, .hero-slide-1 { background-position: 60% center; }
  .hero-slide-2 { background-position: 50% center; }
  .hero-slides::before, .hero-slide-1 { background-image: var(--hero-mobile-1); }
  .hero-slide-2 { background-image: var(--hero-mobile-2); }
  .hero-slide-3 { background-image: var(--hero-mobile-3); background-position: 50% center; }
  .hero-slide-4 { background-image: var(--hero-mobile-4); background-position: 50% center; }
  .hero-slide-5 { background-image: var(--hero-mobile-5); background-position: 50% center; }
  .hero-content { min-height: 620px; display: flex; align-items: flex-end; padding-bottom: 42px; }
  .hero-copy { position: relative; z-index: 4; }
  .hero-crest { display: none; }
  .hero h1 { font-size: clamp(38px, 13.2vw, 56px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { gap: 8px; margin-top: 26px; }
  .button { gap: 18px; }
  .hero-stats { width: 100%; grid-template-columns: 1fr; border-inline: 0; }
  .hero-stats > div { padding: 18px 12px; }
  .hero-stats strong { font-size: 21px; }
  .hero-stats span { font-size: 9px; }
  .hero-stats > a { grid-column: 1 / -1; min-height: 65px; padding: 18px; }
  .story-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .story-section { padding-block: 0; background: #090a08; }
  .story-section .story-layout { width: 100%; }
  .story-visual { display: none; }
  .story-copy { position: relative; z-index: 0; min-height: 680px; padding: 54px 24px 48px; background: #090a08 var(--history-image) center / cover no-repeat; overflow: hidden; isolation: isolate; }
  .story-copy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,5,4,.58), rgba(4,5,4,.82) 52%, rgba(4,5,4,.96)); }
  .story-copy .section-heading h2 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.42); }
  .story-copy > p { color: rgba(255,255,255,.78); }
  .story-copy blockquote { color: #fff; }
  .story-copy .text-link { color: var(--gold); }
  .year-card strong { font-size: 72px; }
  .outline-word { font-size: 76px; }
  .split-heading { display: block; }
  .split-heading > p { width: auto; margin-top: 20px; }
  .category-only { margin-bottom: 28px; }
  .leadership-grid { margin-top: 0; gap: 12px; }
  .leader-card { display: block; }
  .leader-photo { height: auto; aspect-ratio: 5 / 4; border-right: 0; border-bottom: 1px solid rgba(244,181,63,.18); }
  .leader-info { min-height: 112px; padding: 22px 24px 26px; }
  .staff-thumb { flex-basis: 72px; width: 72px; height: 72px; }
  .staff-list article { grid-template-columns: 42px 1fr; gap: 12px; }
  .staff-section { padding-block: 48px; }
  .staff-category { margin-bottom: 16px; }
  .staff-list article { min-height: 112px; }
  .staff-line { display: none; }
  .players-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .players-category-heading { padding-bottom: 18px; }
  .players-grid { margin-top: 32px; }
  .player-card { min-height: 320px; }
  .player-silhouette { height: 225px; }
  .player-silhouette::before { top: 42px; width: 82px; height: 82px; }
  .player-silhouette::after { width: 160px; height: 105px; }
  .player-number { font-size: 66px; }
  .player-info { padding: 18px; }
  .sponsor-grid { grid-template-columns: 1fr 1fr; }
  .sponsor-table-section .section-heading h2 { margin-bottom: 0; }
  .sponsor-showcase { margin-top: 32px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sponsor-logo-stage { min-height: 0; aspect-ratio: 1; padding: 16px; }
  .sponsor-logo-stage b { font-size: 42px; }
  .sponsor-invite { margin-top: 24px; line-height: 1.55; }
  .next-match { margin-top: 30px; }
  .match-kicker { padding: 14px 16px; }
  .match-teams { min-height: 0; padding: 30px 14px; grid-template-columns: 1fr 82px 1fr; gap: 8px; }
  .match-teams h3 { font-size: 17px; }
  .team-mark { width: 58px; height: 58px; font-size: 14px; }
  .match-time strong { font-size: 34px; }
  .match-time span { font-size: 9px; }
  .upcoming-list article { grid-template-columns: 86px 1fr; gap: 9px 12px; }
  .upcoming-list small { grid-column: 2; text-align: left; }
  .upcoming-list strong { font-size: 14px; }
  .results-grid { grid-template-columns: 1fr; }
  .results-grid article > div { gap: 10px; }
  .standings-layout { gap: 28px; }
  .standings-title-row { gap: 14px; }
  .standings-intro h2 { font-size: 30px; line-height: 1.05; }
  .standings-logos { gap: 6px; }
  .standings-league-logo { flex-basis: 58px; width: 58px; height: 58px; padding: 4px; }
  .standings-table th, .standings-table td { height: 58px; padding: 8px 10px; }
  .contact-section { padding-block: 62px; }
  .contact-details { margin-top: 30px; gap: 12px; }
  .contact-form { padding: 22px 18px; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding-block: 34px; gap: 28px; text-align: center; }
  .footer-brand { justify-self: center; }
  .social-links { justify-self: center; }
  .footer-bottom { padding-block: 20px; gap: 10px; flex-direction: column; text-align: center; }
}

@media (max-width: 430px) {
  .players-grid { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .section-heading h2 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-crest::after { animation: none; }
  .hero-slide { animation: none; }
  .hero-slide:not(.hero-slide-1) { display: none; }
  .hero-video { display: none; }
  .hero-title-line { opacity: 1; transform: none; filter: none; animation: none; }
  * { transition-duration: 0.01ms !important; }
}
