/* =====================================================================
   Α.Ο. Κορωπίου 1903 — site styles
   Identity: the crest's navy-and-white stripes, used as structure.
   Type: Inter (one family, display cuts at heavy weights).
   ===================================================================== */
:root {
  --navy: #1d3768;          /* crest blue */
  --navy-deep: #112448;     /* panels, footer */
  --navy-ink: #0e1c38;      /* body text */
  --white: #ffffff;
  --cloud: #f1f4f9;         /* quiet section ground */
  --line: #d8dfeb;
  --line-dark: rgba(255,255,255,.14);
  --muted: #56627a;
  --muted-dark: #a9b6cf;
  --gold: #c79a2c;          /* crest rim and star; used sparingly */
  --win: #1f7a4d; --draw: #7d879a; --loss: #b8332b;

  --font: "Inter", "Inter Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --s-1: .8125rem; --s0: 1rem; --s1: 1.1875rem; --s2: 1.5rem;
  --s3: clamp(1.75rem, 2.6vw, 2.25rem);
  --s4: clamp(2.25rem, 4.4vw, 3.5rem);
  --s5: clamp(3rem, 8.5vw, 7.25rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --header-h: 76px;
  --r-sm: 4px; --r-md: 10px;
  --ease: cubic-bezier(.2,.75,.15,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--navy-ink); font: 400 var(--s0)/1.6 var(--font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.05; letter-spacing: -.025em; }
h2 { font-size: var(--s4); }
h3 { font-size: var(--s2); letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 400; background: var(--white); color: var(--navy); padding: 10px 16px; font-weight: 700; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.35em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .975rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--cloud); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(255,255,255,.12); }
.on-light .btn-line:hover, .btn-line.dark:hover { background: var(--cloud); }
.btn-sm { min-height: 40px; padding: 0 1.05em; font-size: .9rem; }
.link { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; text-decoration-color: rgba(29,55,104,.3); }
.link:hover { text-decoration-color: var(--navy); }

/* =====================================================================
   Header
   ===================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--navy-ink); background: var(--white); border-bottom: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.site-header.over-hero:not(.scrolled) { background: transparent; color: var(--white); border-color: transparent; }
.site-header.over-hero:not(.scrolled)::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(10,22,46,.55), transparent); pointer-events: none; z-index: -1; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: auto; }
.brand-text { line-height: 1.1; }
.brand-name { display: block; font-weight: 800; font-size: 1.06rem; letter-spacing: -.01em; }
.brand-year { display: block; font-size: .78rem; font-weight: 600; opacity: .7; }
.tabs { display: none; margin-left: auto; }
.tabs ul { display: flex; gap: 2px; }
.tab { position: relative; display: block; padding: 10px 14px; border: 0; background: none; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; border-radius: var(--r-sm); }
.tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.tab:hover::after, .tab[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: flex; flex: none; gap: 4px; padding: 3px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px; }
.lang button { flex: none; display: flex; align-items: center; gap: 6px; padding: 5px 9px 5px 6px; border: 0; border-radius: 999px; background: none; font-size: .8rem; font-weight: 700; cursor: pointer; opacity: .65; }
.lang button img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang button[aria-pressed="true"] { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.lang button:hover { opacity: 1; }
.header-tickets { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 700; cursor: pointer; }
.over-hero:not(.scrolled) .menu-btn { background: var(--white); color: var(--navy); }
.menu-btn .bars { display: grid; gap: 4px; }
.menu-btn .bars i { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-btn .bars i:nth-child(2) { width: 12px; }
@media (min-width: 1180px) { .tabs { display: block; } .header-tickets { display: inline-flex; } }
@media (max-width: 560px) {
  .brand-text { display: none; }
  .lang button span { display: none; }
  .lang button { padding: 5px 6px; }
  .menu-btn .label { display: none; }
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
}

/* =====================================================================
   Right-side drawer menu
   ===================================================================== */
.drawer-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(8,18,38,.55); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(820px, 100%); background: var(--navy-deep); color: var(--white); transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; display: flex; flex-direction: column; }
.drawer { box-shadow: -30px 0 80px rgba(8,18,38,.35); }
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open .drawer-scrim { opacity: 1; visibility: visible; }
.drawer-top { display: flex; align-items: center; gap: 14px; height: var(--header-h); padding: 0 24px 0 34px; border-bottom: 1px solid var(--line-dark); flex: none; }
.drawer-top img { width: 36px; }
.drawer-top strong { font-size: 1rem; }
.drawer-close { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: 999px; background: none; color: var(--white); font-weight: 700; cursor: pointer; }
.drawer-close:hover { background: rgba(255,255,255,.08); }
.drawer-close svg { width: 16px; height: 16px; }
.drawer-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: auto; }
.drawer-groups { padding: 28px 24px 28px 34px; border-right: 1px solid var(--line-dark); }
.drawer-groups li + li { border-top: 1px solid var(--line-dark); }
.group-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 4px; border: 0; background: none; color: inherit; text-align: left; font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; cursor: pointer; opacity: .5; transition: opacity .2s; }
.group-btn:hover, .group-btn[aria-expanded="true"] { opacity: 1; }
.group-btn svg { width: 22px; height: 22px; flex: none; transition: transform .25s var(--ease); }
.group-btn[aria-expanded="true"] svg { transform: translateX(4px); }
.drawer-panels { padding: 40px 34px; }
.drawer-panel h3 { font-size: 1rem; font-weight: 600; color: var(--muted-dark); letter-spacing: 0; margin-bottom: 18px; }
.drawer-panel a { display: block; padding: 10px 0; font-size: 1.15rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.drawer-panel a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
.drawer-panel a.primary { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.drawer-foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 24px 24px 34px; border-top: 1px solid var(--line-dark); }
.drawer-foot .socials { margin-left: auto; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); }
.socials a:hover { background: rgba(255,255,255,.1); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.drawer-sub { display: none; }
@media (max-width: 760px) {
  .drawer-body { display: block; }
  .drawer-groups { border: 0; padding: 12px 20px 12px 30px; }
  .drawer-panels { display: none; }
  .drawer-sub { display: block; padding: 0 4px 16px; }
  .drawer-sub[hidden] { display: none !important; }
  .drawer-sub a { display: block; padding: 9px 0; font-size: 1.05rem; font-weight: 600; text-decoration: none; opacity: .9; }
  .group-btn svg { transform: rotate(90deg); }
  .group-btn[aria-expanded="true"] svg { transform: rotate(-90deg); }
  .drawer-top { padding-left: 30px; }
  .drawer-foot { padding-left: 30px; }
  .drawer-foot .socials { margin-left: 0; width: 100%; }
}

/* =====================================================================
   Home hero — the crest's stripes laid over the Antonis Priftis ground
   ===================================================================== */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: var(--white); background: var(--navy-deep); overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,36,72,.55), rgba(17,36,72,.15) 70%); }
.hero-stripes { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(9, 1fr); pointer-events: none; }
.hero-stripes span { background: var(--navy); mix-blend-mode: multiply; opacity: .92; transform-origin: top; }
.hero-stripes span:nth-child(even) { background: transparent; }
.hero-stripes span:nth-child(9) { background: transparent; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; z-index: -1; background: linear-gradient(transparent, rgba(10,22,46,.78)); }
.hero-content { position: relative; width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: 150px; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: clamp(20px, 4vw, 56px); }
.hero-crest { width: clamp(110px, 14vw, 190px); filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
.hero h1 { text-shadow: 0 2px 30px rgba(10,22,46,.35); font-size: var(--s5); line-height: .92; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.hero-sub { text-shadow: 0 1px 12px rgba(10,22,46,.6); margin: 18px 0 28px; font-size: var(--s1); font-weight: 500; max-width: 34ch; color: rgba(255,255,255,.9); }
.hero-sub .star { display: inline-block; width: .8em; height: .8em; margin-right: .45em; vertical-align: -.05em; fill: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) {
  .hero { min-height: 640px; }
  .hero-content { grid-template-columns: 1fr; padding-bottom: 120px; }
  .hero-crest { width: 96px; }
  .hero-stripes { grid-template-columns: repeat(5, 1fr); }
  .hero-stripes span:nth-child(n+6) { display: none; }
  .hero-stripes span:nth-child(5) { background: transparent; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-stripes span { animation: stripe-in 1s var(--ease) both; }
  .hero-stripes span:nth-child(3) { animation-delay: .08s; } .hero-stripes span:nth-child(5) { animation-delay: .16s; } .hero-stripes span:nth-child(7) { animation-delay: .24s; }
  @keyframes stripe-in { from { transform: scaleY(0); } }
}

/* ---------- inner page header ---------- */
.page-head { position: relative; padding: calc(var(--header-h) + 64px) 0 56px; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, transparent 0 calc(100%/9), rgba(255,255,255,.055) calc(100%/9) calc(200%/9)); }
.page-head h1 { font-size: var(--s5); line-height: .95; letter-spacing: -.045em; }
.page-head p { margin: 18px 0 0; font-size: var(--s1); max-width: 52ch; color: rgba(255,255,255,.85); }
.crumbs { display: flex; gap: 8px; margin-bottom: 20px; font-size: .9rem; color: rgba(255,255,255,.7); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* =====================================================================
   Sections
   ===================================================================== */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding-top: clamp(40px, 5vw, 64px); }
.section.cloud { background: var(--cloud); }
.section.navy { background: var(--navy); color: var(--white); }
.section.deep { background: var(--navy-deep); color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin: 12px 0 0; color: var(--muted); max-width: 56ch; }
.navy .section-head p, .deep .section-head p { color: var(--muted-dark); }

/* ---------- Matchday band (overlaps hero) ---------- */
.matchday { position: relative; z-index: 5; margin-top: -88px; }
.matchday-card { display: grid; grid-template-columns: 1.1fr 1.35fr .8fr; background: var(--white); border-radius: var(--r-md); box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(14,28,56,.45); overflow: hidden; }
.md-cell { padding: 26px 28px; min-width: 0; }
.md-cell + .md-cell { border-left: 1px solid var(--line); }
.md-label { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.md-label a { color: var(--navy); font-weight: 700; text-decoration: none; } .md-label a:hover { text-decoration: underline; }
.fx { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.fx-team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-weight: 700; font-size: .92rem; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cloud); color: var(--navy); font-weight: 800; font-size: .85rem; letter-spacing: -.02em; flex: none; }
.badge.us { background: transparent; }
.badge.us img { width: 42px; }
.fx-score { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.fx-score .sep { opacity: .3; margin: 0 .08em; }
.fx-vs { text-align: center; }
.fx-vs b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.fx-vs small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; }
.md-meta { margin-top: 16px; font-size: .88rem; color: var(--muted); text-align: center; }
.result-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--white); }
.result-tag.w { background: var(--win); } .result-tag.d { background: var(--draw); } .result-tag.l { background: var(--loss); }
.countdown { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.countdown div { min-width: 56px; padding: 6px 4px; border-radius: var(--r-sm); background: var(--cloud); text-align: center; }
.countdown b { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.1; }
.countdown small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.md-actions { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pos-big { font-size: 4.5rem; font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--navy); }
.pos-big sup { font-size: .38em; letter-spacing: 0; vertical-align: top; margin-left: 2px; }
.pos-pts { margin: 10px 0 14px; font-weight: 600; }
.form { display: flex; gap: 5px; }
.form span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--white); font-size: .72rem; font-weight: 800; }
.form .w { background: var(--win); } .form .d { background: var(--draw); } .form .l { background: var(--loss); }
.md-empty { color: var(--muted); }
@media (max-width: 980px) {
  .matchday-card { grid-template-columns: 1fr 1fr; }
  .md-cell.md-next { grid-column: 1 / -1; grid-row: 1; border-left: 0; border-bottom: 1px solid var(--line); }
  .md-cell.md-last { border-left: 0; }
}
@media (max-width: 600px) {
  .matchday { margin-top: -64px; }
  .matchday-card { grid-template-columns: 1fr; }
  .md-cell { padding: 22px 18px; }
  .md-cell + .md-cell, .md-cell.md-last { border-left: 0; border-top: 1px solid var(--line); }
  .md-cell.md-next { border-top: 0; }
  .fx-score { font-size: 2.2rem; }
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; }
.news-side { display: grid; gap: 28px; align-content: start; }
.story { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.story-img { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r-md); background: var(--navy); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover .story-img img { transform: scale(1.04); }
.story-meta { display: flex; gap: 12px; margin: 16px 0 8px; font-size: .86rem; color: var(--muted); font-weight: 600; }
.story-cat { color: var(--navy); }
.story h3 { font-size: 1.3rem; line-height: 1.2; text-wrap: pretty; }
.story.lead h3 { font-size: var(--s3); line-height: 1.08; }
.story p { margin: 10px 0 0; color: var(--muted); }
.story:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.news-side .story { display: grid; grid-template-columns: 42% 1fr; gap: 18px; align-items: start; }
.news-side .story-meta { margin-top: 0; }
.news-side .story-img { aspect-ratio: 4/3; }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; font-size: .92rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .news-list { grid-template-columns: 1fr; }
  .news-side .story { grid-template-columns: 38% 1fr; gap: 14px; }
  .news-side .story h3 { font-size: 1.05rem; }
}
/* Generated cover for posts without a photo: score/fixture on stripes */
.cover { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); background: repeating-linear-gradient(90deg, var(--navy) 0 11.11%, #24427a 11.11% 22.22%); text-align: center; padding: 16px; }
.cover b { display: block; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.cover small { display: block; margin-top: 8px; font-weight: 600; opacity: .85; font-size: .9rem; }
.news-side .cover b { font-size: 1.9rem; }
.news-side .cover small { font-size: .75rem; }

/* ---------- Article ---------- */
.article-body { font-size: 1.125rem; line-height: 1.7; }
.article-body p { margin-bottom: 1.2em; }
.article-body h2 { font-size: var(--s2); margin: 1.6em 0 .6em; }
.article-hero { margin: -40px 0 40px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/8; position: relative; background: var(--navy); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Standings ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); }
table.standings { width: 100%; border-collapse: collapse; font-size: .95rem; }
.standings th, .standings td { padding: 12px 10px; text-align: center; white-space: nowrap; }
.standings th { font-size: .8rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--cloud); }
.standings td { border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.standings tr:last-child td { border-bottom: 0; }
.standings .team { text-align: left; font-weight: 600; white-space: normal; min-width: 180px; }
.standings .pos { width: 44px; font-weight: 700; color: var(--muted); }
.standings .pts { font-weight: 800; }
.standings tr.us td { background: var(--navy); color: var(--white); border-color: var(--navy); }
.standings tr.us .pos { color: var(--white); }
.standings .hide-sm { }
@media (max-width: 640px) { .standings .hide-sm { display: none; } .standings th, .standings td { padding: 11px 6px; } .standings .team { min-width: 0; } }
.table-note { margin-top: 12px; font-size: .86rem; color: var(--muted); }

.mc-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .mc-grid { grid-template-columns: 1fr; } }
.fixture-list li { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fixture-list li:first-child { border-top: 1px solid var(--line); }
.fl-date { text-align: center; line-height: 1.1; }
.fl-date b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.fl-date small { font-size: .76rem; color: var(--muted); font-weight: 600; }
.fl-teams { font-weight: 600; font-size: .95rem; line-height: 1.3; min-width: 0; }
.fl-teams .us { font-weight: 800; color: var(--navy); }
.fl-teams small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; margin-top: 2px; }
.fl-score { font-weight: 800; font-size: 1.1rem; white-space: nowrap; text-align: right; }
.fl-score .result-tag { margin-left: 6px; vertical-align: 2px; }
.ha { display: table; margin-bottom: 4px; min-width: 44px; padding: 1px 6px; border-radius: 4px; background: var(--cloud); color: var(--muted); font-size: .7rem; font-weight: 800; text-align: center; }
.data-stamp { margin-top: 18px; font-size: .84rem; color: var(--muted); }
.round-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.round-nav select { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-weight: 600; }

/* ---------- Players ---------- */
.squad-group + .squad-group { margin-top: 64px; }
.squad-group h2 { font-size: var(--s3); margin-bottom: 24px; display: flex; align-items: baseline; gap: 12px; }
.squad-group h2 small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 42vw), 1fr)); gap: 24px 20px; }
.player { position: relative; }
.player-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--r-md); background: var(--cloud); }
.player-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.player-no { position: absolute; left: 12px; bottom: 6px; font-size: 3.4rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--white); text-shadow: 0 2px 18px rgba(14,28,56,.35); }
.player h3 { margin-top: 14px; font-size: 1.12rem; line-height: 1.2; }
.player h3 span { display: block; }
.player h3 .last { font-weight: 800; }
.player h3 .first { font-weight: 500; font-size: .95rem; color: var(--muted); letter-spacing: 0; }
.captain-tag { position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--navy-ink); font-size: .75rem; font-weight: 800; }
.player-facts { display: flex; gap: 14px; margin-top: 6px; font-size: .88rem; color: var(--muted); }
.player-facts b { color: var(--navy-ink); font-weight: 700; }
.players-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.players-row .player { scroll-snap-align: start; }
.notice { display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); background: #fff7e3; border: 1px solid #ecd9a6; color: #5b4510; font-size: .95rem; margin-bottom: 32px; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: var(--gold); }
.staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 28px; }
.staff li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.staff b { display: block; font-size: 1.05rem; }
.staff span { color: var(--muted); font-size: .92rem; }

/* ---------- Feature bands ---------- */
.band-stripes { position: relative; isolation: isolate; overflow: hidden; }
.band-stripes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, transparent 0 calc(100%/9), rgba(255,255,255,.05) calc(100%/9) calc(200%/9)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.lead-text { font-size: var(--s1); line-height: 1.55; }
.navy .lead-text, .deep .lead-text { color: rgba(255,255,255,.88); }
.age-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-md); overflow: hidden; }
.age-groups li { padding: 18px 20px; background: var(--navy); }
.age-groups b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.age-groups span { font-size: .9rem; color: var(--muted-dark); }
.age-groups li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.on-light .age-groups { background: var(--line); border-color: var(--line); }
.on-light .age-groups li { background: var(--white); }
.on-light .age-groups span { color: var(--muted); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.panel { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-md); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px; min-height: 340px; }
.panel h3 { font-size: var(--s3); line-height: 1.05; }
.panel p { margin: 0; max-width: 42ch; }
.panel .btn { align-self: flex-start; margin-top: auto; }
.panel.tickets { background: var(--navy); color: var(--white); }
.panel.tickets::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/stadium-800.webp") center/cover; opacity: .22; }
.panel.support { background: var(--white); border: 2px solid var(--navy); }
.panel.support p { color: var(--muted); }
.panel .big-num { font-size: 4rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; }

/* ---------- History timeline ---------- */
.history-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: 56px; }
.year-mark { font-size: clamp(5rem, 16vw, 13rem); font-weight: 800; letter-spacing: -.07em; line-height: .78; color: var(--navy); }
.year-mark span { color: var(--gold); }
@media (max-width: 700px) { .history-head { grid-template-columns: 1fr; } }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 2px solid var(--navy); }
.timeline li { position: relative; padding: 24px 20px 8px 0; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); }
.timeline b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.timeline span { display: block; margin-top: 6px; font-size: .94rem; color: var(--muted); line-height: 1.45; }

/* ---------- Stadium ---------- */
.stadium { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: var(--r-md); overflow: hidden; background: var(--navy-deep); color: var(--white); }
.stadium-img { min-height: 380px; }
.stadium-img picture { display: block; height: 100%; }
.stadium-img img { width: 100%; height: 100%; object-fit: cover; }
.stadium-info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.stadium-info h3 { font-size: var(--s3); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.facts b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.facts span { font-size: .88rem; color: var(--muted-dark); }
@media (max-width: 860px) { .stadium { grid-template-columns: 1fr; } .stadium-img { min-height: 240px; } }

/* ---------- Sponsors ---------- */
.sponsor-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.sponsor-strip > * { display: grid; place-items: center; min-height: 120px; padding: 20px; background: var(--white); text-decoration: none; text-align: center; }
.sponsor-strip img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.sponsor-strip a:hover img { filter: none; opacity: 1; }
.sponsor-slot { color: var(--muted); font-weight: 600; font-size: .92rem; border: 0; }
.sponsor-slot:hover { color: var(--navy); background: var(--cloud) !important; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 14px; background: var(--white); }
.tier.main { border: 2px solid var(--navy); }
.tier h3 { font-size: 1.5rem; }
.tier ul { display: grid; gap: 10px; margin: 4px 0 10px; }
.tier li { position: relative; padding-left: 24px; color: var(--muted); }
.tier li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--navy); }
.tier .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Tickets ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); }
.plan.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.plan h3 { font-size: 1.35rem; }
.plan .price { font-size: 3rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 600; letter-spacing: 0; opacity: .7; }
.plan p { color: var(--muted); margin: 0; }
.plan.featured p { color: var(--muted-dark); }
.plan .btn { margin-top: auto; }

/* ---------- Bank / donations ---------- */
.bank { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.bank-row { display: grid; grid-template-columns: 170px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.bank-row:last-child { border-bottom: 0; }
.bank-row span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.bank-row b { font-weight: 700; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.copy-btn { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .84rem; font-weight: 700; cursor: pointer; }
.copy-btn:hover { border-color: var(--navy); }
@media (max-width: 560px) { .bank-row { grid-template-columns: 1fr auto; } .bank-row span { grid-column: 1 / -1; } }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.amounts button { min-width: 76px; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--white); font-weight: 800; font-size: 1.1rem; cursor: pointer; }
.amounts button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; padding: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #b9c4d8; border-radius: var(--r-sm); background: var(--white); font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(29,55,104,.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--loss); }
.field .err { font-size: .82rem; color: var(--loss); font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--win); } .form-status.bad { color: var(--loss); }
.age-out { padding: 10px 14px; border-radius: var(--r-sm); background: var(--cloud); font-weight: 600; font-size: .92rem; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; fill: var(--navy); margin-top: 3px; }
.contact-list span { display: block; color: var(--muted); font-size: .88rem; font-weight: 600; }
.contact-list a, .contact-list b { font-weight: 700; font-size: 1.05rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.map { margin-top: 28px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--cloud); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* ---------- Prose ---------- */
.prose { font-size: 1.08rem; line-height: 1.7; }
.prose h2 { font-size: var(--s2); margin: 1.8em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--navy-deep); color: var(--white); padding: 72px 0 32px; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: repeating-linear-gradient(90deg, var(--navy) 0 calc(100%/9), var(--white) calc(100%/9) calc(200%/9)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; }
.foot-brand img { width: 64px; }
.foot-brand p { margin: 10px 0 0; color: var(--muted-dark); font-size: .94rem; max-width: 36ch; }
.foot-brand strong { font-size: 1.15rem; }
.site-footer h4 { font-size: .95rem; font-weight: 700; color: var(--muted-dark); letter-spacing: 0; margin-bottom: 14px; }
.site-footer li a, .site-footer address a { display: inline-block; padding: 5px 0; text-decoration: none; font-weight: 500; }
.site-footer li a:hover, .site-footer address a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; color: rgba(255,255,255,.85); line-height: 1.7; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .86rem; color: var(--muted-dark); }
.foot-bottom a { color: inherit; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.lost { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.lost b { display: block; font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; letter-spacing: -.07em; line-height: .9; color: var(--navy); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 140%); padding: 12px 20px; border-radius: 999px; background: var(--navy-ink); color: var(--white); font-weight: 600; transition: transform .3s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { .site-header, .drawer, .drawer-scrim, .site-footer { display: none; } .page-head { padding-top: 24px; } }

/* ---------- Support: where the money goes ---------- */
.where li { padding: 18px 0 18px 22px; border-left: 3px solid var(--navy); }
.where li + li { border-top: 1px solid var(--line); }
.where b { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.where span { display: block; margin-top: 4px; color: var(--muted); }

#mp-summary .facts { grid-template-columns: repeat(4, 1fr); border: 0; padding: 0; }
@media (max-width: 640px) { #mp-summary .facts { grid-template-columns: 1fr 1fr; } }
#staff { margin-top: 72px; }
@media (max-width: 480px) { .player-no { font-size: 2.4rem; } .player h3 { font-size: 1rem; } .players-row { grid-auto-columns: 160px; } }

/* =====================================================================
   v2 additions: social logos, external links, store, position views, motto
   ===================================================================== */
.socials a { overflow: hidden; }
.socials svg.brand { width: 100%; height: 100%; }
.socials a.social-facebook, .socials a.social-instagram { border: 0; padding: 0; width: 38px; height: 38px; }
.socials a.social-instagram svg { border-radius: 10px; }
.socials a.social-facebook:hover, .socials a.social-instagram:hover { background: none; transform: translateY(-1px); }
.header-socials { display: none; gap: 6px; }
.header-socials a.social-facebook, .header-socials a.social-instagram { width: 30px; height: 30px; }
.header-socials a.social-instagram svg { border-radius: 8px; }
@media (min-width: 1600px) { .header-socials { display: flex; } }
svg.ext { width: .8em; height: .8em; margin-left: .35em; vertical-align: -.05em; opacity: .7; }
.drawer-panel a svg.ext, .drawer-sub a svg.ext { width: .7em; height: .7em; }

/* header: 7 tabs need more room */
.tab { padding: 10px 11px; }
.tab::after { left: 11px; right: 11px; }
@media (min-width: 1180px) { .tabs { display: none; } .header-tickets { display: none; } }
@media (min-width: 1240px) { .tabs { display: block; } }
@media (min-width: 1520px) { .header-tickets { display: inline-flex; } }

/* motto */
.hero-motto { margin: 22px 0 30px; text-shadow: 0 1px 14px rgba(10,22,46,.6); }
.hero-motto > span:first-child { display: block; font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.hero-motto-2 { display: flex; align-items: center; gap: .5em; margin-top: 8px; font-size: var(--s1); font-weight: 500; color: rgba(255,255,255,.88); }
.hero-motto-2 .star { width: .85em; height: .85em; fill: var(--gold); }
.foot-motto { font-weight: 700; color: var(--white) !important; line-height: 1.45 !important; }

/* filter chips that are links */
a.chip { text-decoration: none; display: inline-block; }
a.chip[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
#squad .squad-group:first-child, #squad .notice + .squad-group { margin-top: 0; }
#squad .notice + .squad-group, #squad > p { margin-top: 8px; }
.squad-group { scroll-margin-top: calc(var(--header-h) + 24px); }
a.player { display: block; text-decoration: none; color: inherit; }
a.player:hover h3 .last { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }

/* store */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 42vw), 1fr)); gap: 32px 22px; }
.product { display: flex; flex-direction: column; gap: 8px; }
.product-img { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--cloud); margin-bottom: 6px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--navy-ink); font-size: .75rem; font-weight: 800; }
.product h3 { font-size: 1.08rem; line-height: 1.25; }
.product-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.product-meta .num { color: var(--navy-ink); font-weight: 800; font-size: 1rem; }
.product .btn { align-self: flex-start; margin-top: auto; }
.md-label a { white-space: nowrap; }

/* v3: crest level with the club name; EPSANA call-out on Matches news */
.hero-content { align-items: start; }
.hero-crest { margin-top: .4em; }
@media (max-width: 720px) { .hero-crest { margin-top: 0; } }
.epsana-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 36px; padding: 22px 26px; border-radius: var(--r-md); background: var(--navy); color: var(--white); }
.epsana-cta b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.epsana-cta span { color: var(--muted-dark); }
.epsana-cta .btn { background: var(--white); color: var(--navy); }
.epsana-cta .btn svg.ext { opacity: 1; }
.timeline { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* v4: opponent logos */
.badge.logo { background: transparent; border-radius: 0; }
.badge.logo img { width: 100%; height: 100%; object-fit: contain; }
.badge.lg.logo { width: 52px; height: 52px; }
.badge.sm { width: 26px; height: 26px; font-size: .58rem; letter-spacing: -.03em; }
.team-cell { display: inline-flex; align-items: center; gap: 10px; vertical-align: middle; }
.standings tr.us .badge.logo { background: var(--white); border-radius: 50%; padding: 2px; }
.fl-match { display: inline; }
.fl-side { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.fl-side .badge.sm { width: 22px; height: 22px; }
.fl-side.us { font-weight: 800; color: var(--navy); }
.fl-dash { margin: 0 6px; color: var(--muted); }
@media (max-width: 600px) {
  .fl-match { display: flex; flex-direction: column; gap: 4px; }
  .fl-dash { display: none; }
}
#home-centre .fl-match { display: flex; flex-direction: column; gap: 4px; }
#home-centre .fl-dash { display: none; }

/* v5: club logos on news match covers */
.cover { flex-direction: column; display: flex; align-items: center; justify-content: center; }
.cover-row { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 28px); }
.cover-logo { display: grid; place-items: center; flex: none; width: clamp(54px, 7vw, 84px); height: clamp(54px, 7vw, 84px); border-radius: 50%; background: var(--white); box-shadow: 0 6px 18px rgba(8,18,38,.35); }
.cover-logo .badge.lg.logo { width: 72%; height: 72%; }
.cover-logo .badge:not(.logo) { background: transparent; }
.cover small { margin-top: 12px; }
.news-side .cover-logo { width: 40px; height: 40px; }
.news-side .cover-row { gap: 8px; }
.news-side .cover small { margin-top: 6px; }
.article-hero .cover-logo { width: clamp(70px, 10vw, 120px); height: clamp(70px, 10vw, 120px); }
.news-list .cover.has-logos b { font-size: clamp(2rem, 3.2vw, 3.1rem); }
.news-list .cover-logo { width: clamp(50px, 4.6vw, 66px); height: clamp(50px, 4.6vw, 66px); }
.news-list .cover-row { gap: clamp(10px, 1.2vw, 18px); }
.cover { overflow: hidden; }

/* v6: sponsor logos in full colour */
.sponsor-strip { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.sponsor-strip > * { min-height: 0; aspect-ratio: 3 / 2; padding: 12px; }
.sponsor-strip img { width: 100%; height: 100%; max-height: none; object-fit: contain; filter: none; opacity: 1; border-radius: 4px; }
a.sponsor img { transition: transform .2s; }
a.sponsor:hover img { transform: scale(1.04); }
.sponsor-strip.compact { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.sponsor-strip.compact > * { padding: 8px; }
@media (max-width: 560px) {
  .sponsor-strip, .sponsor-strip.compact { grid-template-columns: repeat(3, 1fr); }
  .sponsor-strip > *, .sponsor-strip.compact > * { padding: 6px; }
}
.sponsor-strip { gap: 0; background: var(--white); }
.sponsor-strip > * { position: relative; box-shadow: inset -1px -1px 0 var(--line); }
.sponsor-strip img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
.sponsor-strip.compact img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
@media (max-width: 560px) { .sponsor-strip img, .sponsor-strip.compact img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); } }
