/* ==========================================================================
   AjaxClub.nl — huisstijl
   Opbouw geïnspireerd op grote nieuwssites: rode topbalk, heldere navigatie,
   hoofdkolom + zijbalk, compacte lijsten. Geen framework, geen JS nodig.
   ========================================================================== */

/* Inter (variabel, 400–900), zelf gehost: geen verzoeken naar Google en geen extra
   blokkerende stylesheet. latin-ext alleen voor namen met bijv. ć, š of ł. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --red: #d2122e;
  --red-dark: #a50e24;
  --red-soft: #fdecef;
  --ink: #15151e;
  --ink-2: #33333f;
  --muted: #6b6b78;
  --line: #e8e8ea;
  --soft: #f6f6f7;
  --bg: #ffffff;
  --win: #16a34a;
  --draw: #a3a3ad;
  --loss: #d2122e;
  --radius: 6px;
  --shadow: 0 1px 2px rgb(21 21 30 / 6%), 0 4px 16px rgb(21 21 30 / 6%);
  --wrap: 1140px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 15px/1.55 var(--font);
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: 'cv11', 'ss01';
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }

/* ── Topbalk ─────────────────────────────────────────────────────────────── */
.topbar { background: var(--red); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 44px; gap: 1rem; }
.topbar a { color: #fff; opacity: .92; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar__next { font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__next b { font-weight: 800; }
.topbar__links { display: flex; gap: 1rem; font-size: .82rem; font-weight: 600; }

/* ── Header + navigatie ──────────────────────────────────────────────────── */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header .wrap { display: flex; align-items: center; gap: 2rem; height: 64px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.logo span { color: var(--red); }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a {
  font-weight: 600; font-size: .95rem; padding: .5rem .75rem; border-radius: var(--radius);
  position: relative;
}
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: .75rem; right: .75rem; bottom: -13px; height: 3px; background: var(--red);
}
.nav-toggle { display: none; }
.nav-btn { display: none; margin-left: auto; cursor: pointer; padding: .5rem; border-radius: var(--radius); }
.nav-btn span, .nav-btn span::before, .nav-btn span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: '';
}
.nav-btn span::before { position: absolute; top: -7px; }
.nav-btn span::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .nav-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: .5rem 16px 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .topbar__links { display: none; }
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.page { padding-block: 24px 56px; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 32px; align-items: start; }
.grid > aside { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 84px; }
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; }
  .grid > aside { position: static; }
}
.stack > * + * { margin-top: 32px; }

.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs li { list-style: none; }
.crumbs li + li::before { content: '›'; margin-right: .35rem; }
.crumbs ol { display: contents; }

/* Sectiekop met rode tab, zoals op nieuwssites */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-bottom: 2px solid var(--red); margin-bottom: 14px;
}
.section-head h2, .section-head .h {
  background: var(--red); color: #fff; margin: 0; font-size: 1.02rem; font-weight: 750;
  padding: .45rem 1.6rem .45rem .9rem; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}
.section-head h2 a, .section-head .h a { color: #fff; }
.section-head .more { font-size: .85rem; font-weight: 650; color: var(--red); padding-bottom: .35rem; }
.section-head--plain { border-bottom: 1px solid var(--line); }
.section-head--plain h2 { background: none; color: var(--ink); padding: 0 0 .5rem; clip-path: none; font-size: 1.15rem; }

/* ── Posterkaarten (typografisch, zonder rechtenvrije foto's nodig) ─────── */
.poster {
  position: relative; overflow: hidden; border-radius: var(--radius); color: #fff;
  background:
    repeating-linear-gradient(90deg, transparent 0 46%, rgb(255 255 255 / 7%) 46% 54%, transparent 54% 100%),
    linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  isolation: isolate;
}
.poster::before {
  content: attr(data-mark); position: absolute; right: -.08em; bottom: -.28em; z-index: -1;
  font-size: clamp(6rem, 18vw, 13rem); font-weight: 900; letter-spacing: -.06em; line-height: 1;
  color: rgb(255 255 255 / 11%);
}
.poster--ink { background: repeating-linear-gradient(90deg, transparent 0 46%, rgb(255 255 255 / 5%) 46% 54%, transparent 54% 100%), linear-gradient(135deg, #22222d, #0e0e14); }
.poster--soft { background: linear-gradient(135deg, #fff, var(--red-soft)); color: var(--ink); }
.poster--soft::before { color: rgb(210 18 46 / 9%); }

.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.hero__main { min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.hero__side { display: grid; gap: 16px; }
.hero__side .poster { padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 172px; }
.hero h2, .hero h3 { color: #fff; margin: .35rem 0 .5rem; }
.hero__main h2 { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.2rem); font-weight: 800; }
.hero a:hover h2, .hero a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.hero .meta { color: rgb(255 255 255 / 85%); }
.kicker {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: #fff; color: var(--red); padding: .2rem .5rem; border-radius: 3px;
}
.poster--soft .kicker { background: var(--red); color: #fff; }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero__main { min-height: 280px; padding: 20px; }
}

.meta { font-size: .8rem; color: var(--muted); display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.meta svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: .2rem; }

/* ── Nieuwslijsten ───────────────────────────────────────────────────────── */
.list { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 148px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.item:first-child { padding-top: 4px; }
.item__thumb {
  aspect-ratio: 3 / 2; border-radius: var(--radius); display: grid; place-items: center;
  font-weight: 900; font-size: 1.6rem; letter-spacing: -.03em; color: #fff; overflow: hidden;
}
.item__title { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.35; margin: 0 0 .35rem; }
.item a:hover .item__title { color: var(--red); }
.item__src { font-weight: 650; color: var(--ink-2); }
.item__ext::after { content: ' ↗'; font-size: .8em; color: var(--muted); }
@media (max-width: 560px) {
  .item { grid-template-columns: 96px 1fr; gap: 12px; }
  .item__thumb { font-size: 1.1rem; }
  .item__title { font-size: .95rem; }
}

/* Tijdlijn in de zijbalk */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; border-left: 2px dashed var(--line); }
.timeline li { position: relative; padding: 0 0 14px; }
.timeline li::before {
  content: ''; position: absolute; left: -22px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink);
}
.timeline time { font-size: .76rem; color: var(--muted); display: block; }
.timeline a { font-weight: 650; font-size: .92rem; line-height: 1.35; display: block; }

/* Genummerde "meest gelezen"-lijst */
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ranked li::before {
  content: counter(r); width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff;
  font-weight: 800; font-size: .8rem; display: grid; place-items: center;
}
.ranked a { font-weight: 650; font-size: .92rem; line-height: 1.35; }

.btn {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); border: 0; cursor: pointer;
}
.btn:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--red); padding-inline: 0; }
.btn--ghost:hover { background: transparent; color: var(--red-dark); }
.center { text-align: center; }

/* ── Kaarten & widgets ───────────────────────────────────────────────────── */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card__body { padding: 16px; }
.widget-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .7rem; }

/* Wapenbadge */
.crest {
  --c-bg: #999; --c-fg: #fff;
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50% 50% 46% 46% / 42% 42% 58% 58%;
  background: var(--c-bg); color: var(--c-fg); display: inline-grid; place-items: center;
  font-weight: 900; font-size: .64rem; letter-spacing: -.02em; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 35%);
}
.crest--sm { width: 24px; height: 24px; font-size: .5rem; }
.crest--lg { width: 72px; height: 72px; font-size: 1.1rem; }

/* Volgende wedstrijd */
.next-match { padding: 18px; text-align: center; }
.next-match .comp { font-size: .78rem; font-weight: 700; color: rgb(255 255 255 / 85%); text-transform: uppercase; letter-spacing: .05em; }
.next-match .teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 14px 0; }
.next-match .team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 750; font-size: .95rem; }
.next-match .vs { font-weight: 900; font-size: 1.1rem; opacity: .85; }
.next-match .when { font-weight: 800; font-size: 1.05rem; }
.next-match .where { font-size: .8rem; opacity: .85; }
.next-match a.btn { background: #fff; color: var(--red); margin-top: 12px; }
.next-match a.btn:hover { background: var(--red-soft); }

/* ── Tabellen ────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { font-size: .9rem; }
.table th {
  text-align: left; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); padding: .55rem .5rem; border-bottom: 2px solid var(--line); white-space: nowrap;
}
.table td { padding: .6rem .5rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .pos { width: 2.4rem; font-weight: 800; text-align: center; }
.table .team-cell { display: flex; align-items: center; gap: .6rem; font-weight: 650; }
.table tr.is-us td { background: var(--red-soft); font-weight: 750; }
.table tr.is-us .team-cell { color: var(--red-dark); }
.table .pts { font-weight: 850; }
.zone { border-left: 4px solid transparent; }
.zone--cl { border-left-color: #1d4ed8; }
.zone--clq { border-left-color: #60a5fa; }
.zone--el { border-left-color: #f59e0b; }
.zone--ecl { border-left-color: #16a34a; }
.zone--po { border-left-color: #fb923c; }
.zone--rel { border-left-color: #dc2626; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .78rem; color: var(--muted); margin-top: .8rem; }
.legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .35rem; vertical-align: -1px; background: var(--c); }
.table--mini td, .table--mini th { padding: .42rem .35rem; font-size: .84rem; }

/* Vorm-bolletjes W/G/V */
.form { display: inline-flex; gap: 3px; }
.form i { width: 18px; height: 18px; border-radius: 3px; font-style: normal; font-size: .66rem; font-weight: 800; color: #fff; display: grid; place-items: center; }
.form .W { background: var(--win); } .form .G { background: var(--draw); } .form .V { background: var(--loss); }

/* ── Wedstrijden ─────────────────────────────────────────────────────────── */
.matches { list-style: none; margin: 0; padding: 0; }
.match-row {
  display: grid; grid-template-columns: 110px 1fr auto 1fr 28px; align-items: center; gap: 12px;
  padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 4px;
}
.match-row:hover { background: var(--soft); color: inherit; }
.match-row .date { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.match-row .date b { display: block; color: var(--ink); font-size: .85rem; }
.match-row .home, .match-row .away { display: flex; align-items: center; gap: .6rem; font-weight: 650; min-width: 0; }
.match-row .home { justify-content: flex-end; text-align: right; }
.match-row .home span, .match-row .away span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-row .score {
  min-width: 64px; text-align: center; font-weight: 850; font-variant-numeric: tabular-nums;
  background: var(--ink); color: #fff; border-radius: 4px; padding: .3rem .5rem;
}
.match-row .score--time { background: var(--soft); color: var(--ink); font-weight: 750; font-size: .88rem; }
.match-row .res { width: 24px; height: 24px; border-radius: 4px; color: #fff; font-weight: 800; font-size: .72rem; display: grid; place-items: center; }
.res.W { background: var(--win); } .res.G { background: var(--draw); } .res.V { background: var(--loss); }
.is-ajax { color: var(--red-dark); font-weight: 800 !important; }
.month { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 18px 8px 6px; }
@media (max-width: 600px) {
  .match-row { grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 12px 4px; }
  .match-row .date { grid-column: 1 / -1; display: flex; gap: .5rem; }
  .match-row .date b { display: inline; }
  .match-row .res { display: none; }
  .match-row .crest { display: none; }
}

.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { font-size: .85rem; font-weight: 700; padding: .45rem .8rem; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.tabs a[aria-current="true"], .tabs a:hover { background: var(--red); color: #fff; }

/* Wedstrijdkop (scorebord) */
.scoreboard { padding: 28px 20px; text-align: center; }
.scoreboard .comp { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.scoreboard .sb { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 18px 0 10px; }
.scoreboard .team { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.scoreboard .big { font-size: clamp(2.4rem, 1.6rem + 4vw, 4rem); font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.scoreboard .status { display: inline-block; margin-top: 6px; font-size: .78rem; font-weight: 800; background: rgb(255 255 255 / 18%); padding: .2rem .6rem; border-radius: 999px; }
.scoreboard .scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: .85rem; opacity: .95; margin-top: 12px; }
.scoreboard .scorers div:first-child { text-align: right; }
.scoreboard .info { margin-top: 14px; font-size: .84rem; opacity: .9; }

.events { list-style: none; margin: 0; padding: 0; }
.events li { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.events .min { text-align: center; font-weight: 800; color: var(--muted); font-size: .82rem; }
.events .l { text-align: right; padding-right: 8px; }
.events .r { padding-left: 8px; }
.ev-ico { display: inline-block; width: 12px; height: 16px; border-radius: 2px; vertical-align: -3px; margin-inline: .25rem; }
.ev-ico--yc { background: #facc15; } .ev-ico--rc { background: #dc2626; }
.ev-sub { color: var(--muted); font-size: .82rem; }

.statbars { display: grid; gap: 12px; }
.statbar__label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.statbar__label span:nth-child(2) { font-weight: 600; color: var(--muted); }
.statbar__track { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--line); gap: 2px; }
.statbar__track i { display: block; height: 100%; }
.statbar__track i:first-child { background: var(--red); }
.statbar__track i:last-child { background: var(--ink); }

.lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lineups ul { list-style: none; margin: 0; padding: 0; }
.lineups li { display: flex; gap: .6rem; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.lineups .no { width: 24px; text-align: right; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .lineups { grid-template-columns: 1fr; } }

/* ── Selectie & spelers ──────────────────────────────────────────────────── */
.squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.player-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; background: #fff; transition: border-color .15s, transform .15s;
}
.player-card:hover { border-color: var(--red); transform: translateY(-2px); color: inherit; }
.player-card__top {
  height: 96px; position: relative;
  background: repeating-linear-gradient(90deg, transparent 0 44%, rgb(255 255 255 / 9%) 44% 56%, transparent 56% 100%), linear-gradient(135deg, var(--red), var(--red-dark));
}
.player-card__no { position: absolute; left: 14px; bottom: -4px; font-size: 3.6rem; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.05em; }
.player-card__flag { position: absolute; right: 12px; top: 10px; font-size: .72rem; font-weight: 700; color: #fff; background: rgb(0 0 0 / 22%); padding: .1rem .45rem; border-radius: 3px; }
.player-card__body { padding: 12px 14px 14px; }
.player-card__name { font-weight: 800; font-size: 1rem; line-height: 1.25; }
.player-card__pos { font-size: .8rem; color: var(--muted); }
.player-card__stats { display: flex; gap: 12px; margin-top: 8px; font-size: .78rem; color: var(--ink-2); }
.player-card__stats b { font-weight: 850; }
.player-card__badge { position: absolute; right: 10px; top: 70px; background: #fff; color: var(--red); font-size: .66rem; font-weight: 850; padding: .15rem .45rem; border-radius: 3px; box-shadow: var(--shadow); text-transform: uppercase; letter-spacing: .04em; }

.profile { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: end; padding: 28px; }
.profile__no { font-size: 8rem; font-weight: 900; line-height: .8; letter-spacing: -.06em; color: rgb(255 255 255 / 92%); }
.profile h1 { color: #fff; margin: .4rem 0 .3rem; }
.profile__sub { font-weight: 600; opacity: .92; }
.profile__quick { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .88rem; }
.profile__quick b { display: block; font-size: 1.15rem; font-weight: 850; }
@media (max-width: 640px) {
  .profile { grid-template-columns: 1fr; padding: 20px; }
  .profile__no { font-size: 5rem; }
}

.facts { width: 100%; font-size: .9rem; }
.facts th { text-align: left; font-weight: 650; color: var(--muted); padding: .55rem .75rem .55rem 0; width: 42%; vertical-align: top; }
.facts td { padding: .55rem 0; font-weight: 650; }
.facts tr + tr th, .facts tr + tr td { border-top: 1px solid var(--line); }

.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.stat { background: var(--soft); border-radius: var(--radius); padding: 14px; text-align: center; }
.stat b { display: block; font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: .76rem; color: var(--muted); font-weight: 650; }

/* ── Artikel / lopende tekst ─────────────────────────────────────────────── */
.article-head { margin-bottom: 20px; }
.article-head .lead { font-size: 1.12rem; color: var(--ink-2); font-weight: 500; }
.prose { font-size: 1.05rem; line-height: 1.72; color: #22222c; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.5em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.2em; border-left: 4px solid var(--red); font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.prose table { font-size: .92rem; margin: 1em 0 1.4em; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .5rem .5rem; text-align: left; }
.prose th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom-width: 2px; }
.prose .table-wrap { margin-bottom: 1.4em; }
.prose img { border-radius: var(--radius); }
.toc { background: var(--soft); border-radius: var(--radius); padding: 14px 18px; font-size: .92rem; margin-bottom: 24px; }
.toc b { display: block; margin-bottom: .4rem; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 24px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.byline { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); padding: 12px 0; border-block: 1px solid var(--line); margin-bottom: 22px; }
.byline b { color: var(--ink); }
.byline .crest { background: var(--red); }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 28px 12px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 8px; font-size: 1.4rem; font-weight: 500; color: var(--red); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 14px; color: var(--ink-2); }

.notice { font-size: .82rem; color: var(--muted); background: var(--soft); border-radius: var(--radius); padding: .6rem .8rem; }
.notice--warn { background: #fff7ed; color: #9a3412; }
.pill { display: inline-block; font-size: .72rem; font-weight: 750; padding: .12rem .5rem; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.pill--red { background: var(--red-soft); color: var(--red-dark); }

.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-weight: 700; }
.pager span { color: var(--muted); font-weight: 600; font-size: .9rem; }

.linkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.linkgrid a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; }
.linkgrid a small { display: block; color: var(--muted); font-weight: 500; margin-top: 2px; }
.linkgrid a:hover { border-color: var(--red); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #c9c9d2; font-size: .88rem; padding-block: 44px 28px; }
.footer a { color: #fff; }
.footer a:hover { color: #ffb3bf; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer .logo { color: #fff; margin-bottom: .8rem; }
.footer__bottom { border-top: 1px solid #2c2c38; margin-top: 32px; padding-top: 18px; font-size: .78rem; color: #8b8b98; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ── Aanvullingen ────────────────────────────────────────────────────────── */
.poster .crest { box-shadow: 0 0 0 3px rgb(255 255 255 / 90%); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }
.seo-text { color: var(--ink-2); font-size: .95rem; background: var(--soft); border-radius: var(--radius); padding: 20px 22px; }
.seo-text h2 { font-size: 1.15rem; }
.seo-text p:last-child { margin: 0; }
.sources { font-size: .8rem; color: var(--muted); }
.sources ol { padding-left: 1.2em; }
.sources a { word-break: break-all; color: var(--muted); text-decoration: underline; }
.infobox { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.infobox h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: #fff; margin: 0; padding: .7rem 1rem; }
.infobox .facts { padding: 0 1rem .4rem; display: block; }
.infobox .facts tbody { display: table; width: 100%; }
.updated { font-size: .8rem; color: var(--muted); margin-top: 8px; }
/* Compacte wedstrijdrijen in smalle kolommen */
.two-col .match-row { grid-template-columns: 58px minmax(0, 1fr) auto minmax(0, 1fr) 22px; gap: 8px; padding-inline: 4px; }
.two-col .match-row .crest { display: none; }
.two-col .match-row .date span, .two-col .match-row .date { font-size: .74rem; }
.two-col .match-row .score { min-width: 52px; font-size: .88rem; }
.two-col .match-row .res { width: 20px; height: 20px; }
.ev-ico--goal { width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 30%, var(--ink) 31% 45%, #fff 46%); box-shadow: inset 0 0 0 1.5px var(--ink); vertical-align: -2px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .header, .footer, aside { display: none !important; } .grid { display: block; } }
.sources summary { cursor: pointer; font-weight: 600; }
.sources[open] summary { margin-bottom: .3em; }

/* ── Home: volgende wedstrijd als hoofdblok ─────────────────────────────── */
.hero__teams { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 1.6rem; font-weight: 800; color: rgb(255 255 255 / 60%); }
.countdown { display: flex; gap: 10px; margin: .2rem 0 1rem; }
.countdown span { display: grid; min-width: 68px; padding: 8px 10px; border-radius: 6px; background: rgb(255 255 255 / 10%); text-align: center; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgb(255 255 255 / 75%); }
.countdown b { font-size: 1.9rem; font-weight: 900; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
@media (max-width: 720px) {
  .hero__teams .crest--lg { width: 52px; height: 52px; }
  .countdown span { min-width: 58px; }
  .countdown b { font-size: 1.5rem; }
}
.section-head h2 a::after { content: ' ›'; }
.home-title { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; }
