/* Gegenereerd door build.py — niet hier bewerken.
   Kleuren/maten: design-system/tokens.json · componenten: design-system/components.css · aanvullingen: static/site.css */

/* Lettertypes: zelf gehost (geen verbinding met Google nodig). Licentie: SIL OFL, zie /fonts. */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  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: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  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; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2-variations");
  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: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations");
  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; }

/* ---- tokens (uit design-system/tokens.json) ---- */
:root {
  color-scheme: light dark;
  --surface: #ffffff;
  --surface-panel: #ffffff;
  --surface-sunken: #f4f2ee;
  --surface-raised: #ebe8e2;
  --line: #e4e1db;
  --line-strong: #7a7d86;
  --ink: #111318;
  --ink-muted: #5b5f69;
  --orange: #ff6a13;
  --on-orange: #111318;
  --orange-text: #b03b00;
  --orange-soft: #fff0e5;
  --night: #0b1528;
  --on-night: #ffffff;
  --ok: #137341;
  --bad: #c4161c;
  --caution: #7a5c00;
  --focus: #b03b00;
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 20px;
  --radius-full: 999px;
  --shadow-card: 0 1px 2px rgba(17,19,24,0.06), 0 8px 24px rgba(17,19,24,0.08);
  --tilt: -3deg;
  --content-max: 1200px;
  --prose-max: 680px;
  --aside-w: 320px;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  --surface: #0b1528;
  --surface-panel: #122039;
  --surface-sunken: #07101f;
  --surface-raised: #1c2a45;
  --line: #22314f;
  --line-strong: #6e7fa0;
  --ink: #f4f2ee;
  --ink-muted: #a9b3c6;
  --orange-text: #ff8a3d;
  --orange-soft: #3a2412;
  --night: #07101f;
  --ok: #4fd68f;
  --bad: #ff6b61;
  --caution: #ffd43b;
  --focus: #ff8a3d;
  --shadow-card: 0 8px 24px rgba(0,0,0,0.35);
}
}
:root[data-theme="dark"] {
  --surface: #0b1528;
  --surface-panel: #122039;
  --surface-sunken: #07101f;
  --surface-raised: #1c2a45;
  --line: #22314f;
  --line-strong: #6e7fa0;
  --ink: #f4f2ee;
  --ink-muted: #a9b3c6;
  --orange-text: #ff8a3d;
  --orange-soft: #3a2412;
  --night: #07101f;
  --ok: #4fd68f;
  --bad: #ff6b61;
  --caution: #ffd43b;
  --focus: #ff8a3d;
  --shadow-card: 0 8px 24px rgba(0,0,0,0.35);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ---- componenten (design-system/components.css) ---- */
/* MaxKampioen.nl — componentstijlen (v2: "tribune-krant").
   Vereist tokens.css (custom properties uit tokens.json) en de Google Fonts Archivo (wdth 62–125)
   en Schibsted Grotesk. Alles is gescoped onder .mk (zet class="mk" op <body>). */

.mk {
  background: var(--surface); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk img { max-width: 100%; display: block; }
.mk a { color: inherit; }
.mk :is(a, button, input, select, summary):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-s); }
.mk .num, .mk .pts { font-variant-numeric: tabular-nums; }

/* ---------- Typografie ---------- */
.mk h1, .mk h2, .mk h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
.mk h1 { font-weight: 800; font-stretch: 125%; font-size: clamp(38px, 6vw, 60px); line-height: .98; letter-spacing: -.02em; }
.mk h2 { font-weight: 800; font-stretch: 112%; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.mk h3 { font-weight: 700; font-size: 19px; line-height: 1.25; }
.mk .lead, .mk .sub { font-size: 20px; line-height: 1.5; color: var(--ink); margin: 0; max-width: 60ch; }
.mk .note { font-size: 15px; line-height: 1.5; color: var(--ink-muted); margin: 0; max-width: 70ch; }
.mk .kicker { font-size: 14px; font-weight: 700; line-height: 18px; color: var(--orange-text); margin: 0; }
.mk .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.mk .meta > * + *::before { content: "•"; margin-right: 8px; }

/* Markeerstreep: een met de hand getrokken oranje streep onder één woord */
.mk em.marker { font-style: normal; position: relative; z-index: 0; white-space: nowrap; }
.mk em.marker::after {
  content: ""; position: absolute; z-index: -1; left: -.06em; right: -.08em; bottom: .02em; height: .32em;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15C38 7 92 4 197 8l-1 7C128 12 66 14 6 21c-3 .3-5-5-3-6z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15C38 7 92 4 197 8l-1 7C128 12 66 14 6 21c-3 .3-5-5-3-6z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- Header ---------- */
.mk .site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.mk .site-head .in {
  max-width: var(--content-max); margin: 0 auto; padding: 14px var(--space-8);
  display: flex; align-items: center; gap: var(--space-8);
}
.mk .logo {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 22px; line-height: 1;
  letter-spacing: -.02em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 3px;
}
.mk .logo b {
  font-weight: 900; font-stretch: 125%; background: var(--orange); color: var(--on-orange);
  padding: 5px 7px 4px; border-radius: var(--radius-s); letter-spacing: -.01em;
}
.mk .nav { display: flex; gap: var(--space-6); margin-right: auto; }
.mk .nav a {
  font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); padding: 6px 0;
  border-bottom: 3px solid transparent;
}
.mk .nav a:hover { color: var(--orange-text); }
.mk .nav a[aria-current="page"] { color: var(--orange-text); border-bottom-color: var(--orange); }
.mk .subnav { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-8) 12px; display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; }

/* Chips (subnavigatie en scenario-presets) */
.mk .chip {
  font: 600 14px/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer;
  padding: 9px 14px; border-radius: var(--radius-full); border: 0;
  background: var(--surface-sunken); color: var(--ink);
}
.mk .chip:hover { background: var(--orange-soft); }
.mk .chip[aria-current="page"], .mk .chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); }

/* Live-label */
.mk .live {
  display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 var(--font-body);
  padding: 7px 11px; border-radius: var(--radius-full); background: var(--surface-sunken); color: var(--ink); text-decoration: none;
}
.mk .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); animation: mk-pulse 1.6s ease-in-out infinite; }
@keyframes mk-pulse { 50% { opacity: .35; } }

/* ---------- Ticker ---------- */
.mk .ticker {
  background: var(--surface-sunken); font-size: 14px; display: flex; align-items: center; gap: var(--space-4);
  padding: 10px var(--space-8); overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.mk .ticker strong { font-weight: 700; }
.mk .ticker .tick-label { background: var(--orange); color: var(--on-orange); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: var(--radius-full); }
.mk .ticker ol { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.mk .ticker li span { color: var(--ink-muted); margin-right: 4px; font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.mk main { max-width: var(--content-max); margin: 0 auto; padding: var(--space-8) var(--space-8) var(--space-16); display: grid; gap: var(--space-12); }
.mk .layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside-w); gap: var(--space-8); align-items: start; }
.mk .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-8); }
.mk .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.mk .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 960px) { .mk .layout, .mk .cols { grid-template-columns: 1fr; } .mk .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .mk main, .mk .site-head .in, .mk .subnav, .mk .ticker { padding-left: var(--space-4); padding-right: var(--space-4); }
  .mk .grid3, .mk .grid2 { grid-template-columns: 1fr; }
  .mk .nav { display: none; }
}

/* Sectie: kop met "meer"-link, gescheiden door ruimte en een haarlijn — geen kader */
.mk .panel { min-width: 0; }
.mk .panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-3); margin-bottom: var(--space-4); border-bottom: 2px solid var(--ink); }
.mk .panel-head a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--orange-text); white-space: nowrap; }
.mk .panel-head a::after { content: " ›"; }

/* ---------- Scorebord (verdict) ---------- */
.mk .verdict {
  background: var(--orange); color: var(--on-orange); border-radius: var(--radius-l);
  padding: var(--space-8); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6) var(--space-8); align-items: end;
}
.mk .verdict .kicker { color: inherit; opacity: .8; font-weight: 600; }
.mk .verdict .answer { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -.02em; margin: 8px 0 12px; }
.mk .verdict p { margin: 0; max-width: 52ch; font-size: 17px; }
.mk .verdict .score { text-align: right; }
.mk .verdict .score b { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(84px, 11vw, 120px); line-height: .85; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mk .verdict .score span { font-size: 15px; font-weight: 600; }
.mk .verdict.no { background: var(--night); color: var(--on-night); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mk .verdict.no .answer { color: var(--on-night); }
.mk .verdict.maybe { background: var(--surface-sunken); color: var(--ink); }
.mk .verdict.maybe .answer { color: var(--caution); }
@media (max-width: 640px) { .mk .verdict { grid-template-columns: 1fr; padding: var(--space-6); } .mk .verdict .score { text-align: left; } }

/* ---------- Cijfers ---------- */
.mk .stats { display: flex; flex-wrap: wrap; margin: 0; }
.mk .stat { display: grid; gap: 6px; padding: 4px var(--space-6); border-left: 1px solid var(--line); }
.mk .stat:first-child { padding-left: 0; border-left: 0; }
.mk .stat .k { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.mk .stat .v { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.mk .stat .v.up { color: var(--ok); }
.mk .stat .v.down { color: var(--bad); }

/* ---------- Puntenbaan ---------- */
.mk .track { position: relative; padding: 46px 0 30px; }
.mk .track-line { height: 6px; border-radius: var(--radius-full); background: var(--surface-raised); position: relative; }
.mk .track-range {
  position: absolute; top: 0; bottom: 0; left: var(--from); width: calc(var(--to) - var(--from));
  background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 10px); border-radius: var(--radius-full);
}
.mk .track-dot { position: absolute; left: var(--at); top: 46px; transform: translate(-50%, -3px); display: grid; justify-items: center; }
.mk .track-dot i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--surface); }
.mk .track-dot span { position: absolute; bottom: 18px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.mk .track-dot.below span { bottom: auto; top: 18px; font-weight: 500; color: var(--ink-muted); }
.mk .track-dot.max i { width: 18px; height: 18px; background: var(--orange); border-color: var(--surface); margin-top: -3px; }
.mk .track-dot.max span { color: var(--orange-text); }
.mk .track-dot.end i { background: var(--surface); border: 2px dashed var(--orange); }
.mk .track-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; margin-top: 8px; }

/* ---------- Tabellen ---------- */
.mk .scroll { overflow-x: auto; }
.mk table { width: 100%; border-collapse: collapse; font-size: 16px; }
.mk th { font-size: 13px; font-weight: 500; color: var(--ink-muted); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.mk td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mk tbody tr:hover td { background: var(--surface-sunken); }
.mk tr.max td { background: var(--orange-soft); }
.mk tr.max .driver { color: var(--orange-text); }
.mk td.r, .mk th.r { text-align: right; }
.mk td.pos { width: 2.4em; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 20px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.mk tr.max td.pos { color: var(--orange-text); }
.mk .driver { font-weight: 700; line-height: 1.25; }
.mk .team { display: block; font-size: 14px; font-weight: 400; color: var(--ink-muted); }
.mk .pts { font-weight: 700; }
.mk .state { font-size: 14px; font-weight: 700; white-space: nowrap; }
.mk .state.ok { color: var(--ok); }
.mk .state.bad { color: var(--bad); }

/* ---------- Formulier ---------- */
.mk input[type="number"], .mk select {
  font: 600 15px/1.2 var(--font-body); font-variant-numeric: tabular-nums; padding: 7px 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); color: var(--ink);
}
.mk input[type="number"] { width: 5.4em; text-align: right; }

/* ---------- Knoppen ---------- */
.mk .btns { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.mk button:not(.chip), .mk .btn {
  font: 700 15px/1 var(--font-body); padding: 12px 18px; border-radius: var(--radius-s);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background-color 120ms, border-color 120ms;
}
.mk button:not(.chip):hover, .mk .btn:hover { border-color: var(--ink); }
.mk button.primary, .mk .btn.primary { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.mk button.primary:hover, .mk .btn.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.mk button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Labels ---------- */
.mk .label { display: inline-block; font: 700 13px/1 var(--font-body); padding: 5px 9px; border-radius: var(--radius-s); background: var(--surface-raised); color: var(--ink); }
.mk .label.ok { color: var(--ok); }
.mk .label.bad { color: var(--bad); }
.mk .label.orange, .mk .tag { background: var(--orange); color: var(--on-orange); }
.mk .tag { display: inline-block; font: 800 11px/1 var(--font-display); font-stretch: 125%; padding: 4px 6px 3px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }

/* ---------- Projectie ---------- */
.mk .proj { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-8); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 2px solid var(--ink); }
.mk .proj .outcome { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 24px; }

/* ---------- Nieuwskaarten ---------- */
.mk .posts { list-style: none; margin: 0; padding: 0; }
.mk .post-card { position: relative; display: grid; gap: 8px; align-content: start; }
.mk .post-card .ph, .mk .post-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: var(--radius-m); margin-bottom: 4px; }
.mk .post-card h3 a, .mk .post-card > a { text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--ink); }
.mk .post-card h3 a::before, .mk .post-card > a::before { content: ""; position: absolute; inset: 0; }
.mk .post-card:hover h3 a, .mk .post-card:hover > a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.mk .post-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
/* Overlay: kop over de foto */
.mk .post-card.overlay { border-radius: var(--radius-m); overflow: hidden; color: var(--on-night); }
.mk .post-card.overlay .ph, .mk .post-card.overlay img { margin: 0; aspect-ratio: 16 / 9; border-radius: 0; }
.mk .post-card.overlay .cap { position: absolute; inset: auto 0 0 0; padding: 64px var(--space-6) var(--space-6); background: linear-gradient(to top, rgb(7 16 31 / .92), rgb(7 16 31 / 0)); display: grid; gap: 6px; }
.mk .post-card.overlay h3 a { color: var(--on-night); font-size: clamp(22px, 2.6vw, 30px); font-stretch: 112%; font-weight: 800; }
.mk .post-card.overlay .kicker { color: var(--on-night); opacity: .85; }
/* Fotoplaceholder (tot er echte, eigen foto's zijn) */
.mk .ph { background: var(--surface-raised); display: grid; place-items: center; color: var(--ink-muted); font-size: 13px; }
.mk .post-card.overlay .ph { background: linear-gradient(160deg, #2a3a5c, #0b1528); }

/* ---------- Laatste nieuws ---------- */
.mk .latest { background: var(--surface-sunken); border-radius: var(--radius-m); padding: var(--space-6); }
.mk .latest h2 { font-size: 20px; margin-bottom: var(--space-4); }
.mk .latest ol { list-style: none; margin: 0; padding: 0; }
.mk .latest li { position: relative; padding: 0 0 var(--space-4) 22px; }
.mk .latest li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.mk .latest li::after { content: ""; position: absolute; left: 6.5px; top: 19px; bottom: 2px; width: 1px; background: var(--line-strong); }
.mk .latest li:last-child::after { display: none; }
.mk .latest li.max::before { background: var(--orange); }
.mk .latest a { display: block; font-weight: 700; font-size: 16px; line-height: 1.35; text-decoration: none; margin-top: 2px; }
.mk .latest a:hover { color: var(--orange-text); }

/* ---------- Fotofeature (oranje blok achter de foto) ---------- */
.mk .feature { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; padding: var(--space-6) 0; }
.mk .feature-photo { position: relative; z-index: 0; }
.mk .feature-photo::before { content: ""; position: absolute; z-index: -1; inset: -14px 18px 18px -14px; background: var(--orange); border-radius: var(--radius-l); transform: rotate(var(--tilt)); }
.mk .feature-photo .ph, .mk .feature-photo img { aspect-ratio: 4 / 3; border-radius: var(--radius-l); width: 100%; object-fit: cover; }
.mk .feature-card {
  position: relative; margin-left: -64px; background: var(--surface-panel); border-radius: var(--radius-m);
  padding: var(--space-8); box-shadow: var(--shadow-card); display: grid; gap: var(--space-3); justify-items: start;
}
.mk .feature-card h2 { font-size: 28px; }
@media (max-width: 760px) { .mk .feature { grid-template-columns: 1fr; } .mk .feature-card { margin: -48px var(--space-4) 0; } }

/* ---------- Artikel ---------- */
.mk .article { max-width: var(--prose-max); width: 100%; justify-self: center; display: grid; gap: var(--space-4); }
.mk .article h1 { font-size: clamp(30px, 4.5vw, 40px); font-stretch: 112%; line-height: 1.05; }
.mk .article figure { margin: var(--space-2) 0; }
.mk .article figure .ph, .mk .article figure img { aspect-ratio: 16 / 9; border-radius: var(--radius-m); width: 100%; object-fit: cover; }
.mk .article figcaption { font-size: 14px; color: var(--ink-muted); margin-top: 8px; }
.mk .prose > * { margin: 0 0 1.1em; }
.mk .prose h2 { margin: 1.5em 0 .5em; }
.mk .prose a { color: var(--orange-text); text-underline-offset: 3px; }
.mk .prose blockquote {
  margin: 1.4em 0; padding: 0; font-family: var(--font-display); font-weight: 700; font-stretch: 112%;
  font-size: 28px; line-height: 1.2; letter-spacing: -.01em; position: relative; padding-top: 34px;
}
.mk .prose blockquote::before { content: "„"; position: absolute; top: -34px; left: -4px; font-size: 96px; line-height: 1; color: var(--orange); font-stretch: 100%; }
.mk .prose blockquote cite { display: block; margin-top: 10px; font: 500 15px/1.4 var(--font-body); color: var(--ink-muted); }
.mk .factbox { background: var(--surface-sunken); border-radius: var(--radius-m); padding: var(--space-6); }
.mk .factbox h2 { font-size: 18px; margin: 0 0 var(--space-3); }
.mk .factbox dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; font-size: 16px; }
.mk .factbox dt { color: var(--ink-muted); }
.mk .factbox dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Advertenties ---------- */
.mk .ad-band { background: var(--surface-sunken); padding: var(--space-4) var(--space-4) var(--space-8); display: grid; justify-items: center; gap: 8px; }
.mk .ad-band.full { margin-inline: calc(50% - 50vw); }
.mk .ad-label { font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.mk .ad-slot { background: var(--surface-raised); display: grid; place-items: center; font-size: 12px; color: var(--ink-muted); max-width: 100%; }
.mk .ad-slot.leaderboard { width: 728px; height: 90px; }
.mk .ad-slot.billboard { width: 970px; height: 250px; }
.mk .ad-slot.rectangle { width: 300px; height: 250px; }
.mk .ad-slot.mobile { width: 320px; height: 100px; }
.mk .ad-box { background: var(--surface-sunken); border-radius: var(--radius-m); padding: 10px 10px 10px; display: grid; justify-items: center; gap: 8px; }
.mk .ad-anchor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line); display: flex; justify-content: center; padding: 6px 40px 6px; }
.mk .ad-anchor .ad-slot { width: 320px; height: 50px; }
.mk .ad-anchor button.close { position: absolute; right: 8px; top: 8px; padding: 6px 9px; font-size: 13px; }

/* ---------- Footer ---------- */
.mk .site-foot { background: var(--night); color: var(--on-night); font-size: 15px; }
.mk .site-foot .in { max-width: var(--content-max); margin: 0 auto; padding: var(--space-12) var(--space-8) var(--space-8); display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: var(--space-8); }
.mk .site-foot .logo { color: var(--on-night); }
.mk .site-foot h4 { margin: 0 0 var(--space-3); font: 700 14px/1 var(--font-body); opacity: .7; }
.mk .site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mk .site-foot a { color: var(--on-night); text-decoration: none; }
.mk .site-foot a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.mk .site-foot .legal { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / .15); padding-top: var(--space-4); font-size: 13px; opacity: .75; }
@media (max-width: 640px) { .mk .site-foot .in { grid-template-columns: 1fr; padding-inline: var(--space-4); } }

@media (prefers-reduced-motion: reduce) {
  .mk *, .mk *::before, .mk *::after { transition: none !important; animation: none !important; }
}

/* ---- site (static/site.css) ---- */
/* MaxKampioen.nl — sitespecifieke aanvullingen op design-system/components.css.
   Alleen tokens gebruiken (var(--...)); nieuwe kleuren of maten horen in het design system. */

html { scroll-behavior: smooth; }
body { margin: 0; }
.mk .skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--surface); padding: 10px 14px; border-radius: var(--radius-s); }
.mk .skip:focus { left: 8px; }
.mk .muted { color: var(--ink-muted); }

/* Header: themaknop rechts */
.mk .theme-toggle { margin-left: auto; padding: 8px 12px !important; font-size: 14px !important; }
.mk .nav + .theme-toggle { margin-left: 0; }

/* Homepage: kop, scorebord, cijfers en puntenbaan als één blok */
.mk .hero { display: grid; gap: var(--space-6); }
.mk .intro { display: grid; gap: var(--space-4); }
.mk .stack { display: grid; gap: var(--space-12); min-width: 0; }
.mk .side { display: grid; gap: var(--space-6); }
.mk .latest .panel-head { border: 0; padding: 0; margin-bottom: var(--space-4); }
.mk .latest .panel-head h2 { margin: 0; }
.mk .scroll table select { max-width: 100%; }

/* Openingsstuk zonder foto: grote kop, geen kader */
.mk .lead-story { position: relative; display: grid; gap: var(--space-3); max-width: 860px; }
.mk .lead-story h3 a { text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; letter-spacing: -.015em; }
.mk .lead-story h3 a::before { content: ""; position: absolute; inset: 0; }
.mk .lead-story:hover h3 a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.mk .lead-story p.lead { color: var(--ink-muted); font-size: 18px; }

/* Kaarten zonder foto krijgen iets meer lucht */
.mk .posts.grid3 > li, .mk .posts.grid2 > li { padding-top: var(--space-4); border-top: 1px solid var(--line); }

/* Blogoverzicht */
.mk .page-head { display: grid; gap: var(--space-4); }
.mk .filters { margin-bottom: var(--space-6); }

/* Artikel */
.mk .article > header { display: grid; gap: var(--space-3); }
.mk .prose table { font-size: 15px; }
.mk .prose h3 { font-size: 20px; margin: 1.3em 0 .4em; }
.mk .prose ul { padding-left: 1.2em; }
.mk .prose li + li { margin-top: .3em; }
.mk .article .ad-band { margin: var(--space-4) 0 var(--space-8); border-radius: var(--radius-m); }
.mk .related { max-width: var(--prose-max); width: 100%; justify-self: center; }

/* Advertenties: leaderboard alleen op desktop, billboard krimpt op mobiel */
@media (max-width: 760px) {
  .mk .ad-band.desktop { display: none; }
  .mk .ad-slot.billboard, .mk .ad-slot.leaderboard { width: 320px; height: 100px; }
}
.mk .ad-slot ins { display: block; width: 100%; height: 100%; }

/* Footer op mobiel: logo-kolom en links */
.mk .site-foot .about { display: grid; gap: var(--space-3); align-content: start; }
.mk .site-foot .about p { margin: 0; opacity: .8; max-width: 40ch; }

/* Mobiel: cijfers 2×2, puntenbaan zonder botsende labels, datums op één regel */
.mk td.num { white-space: nowrap; }
@media (max-width: 640px) {
  .mk .stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .mk .stat, .mk .stat:first-child { border-left: 0; padding: 0; }
  .mk .track-dot.below:not(.end) span, .mk .track-scale span:last-child { display: none; }
  .mk .track-dot.end span { right: -4px; }
  .mk .theme-toggle { margin-left: auto; }
}

/* Volgende race (zijkolom homepage) */
.mk .next-race { background: var(--orange); color: var(--on-orange); border-radius: var(--radius-m); padding: var(--space-6); display: grid; gap: var(--space-2); }
.mk .next-race .kicker { color: inherit; opacity: .8; }
.mk .next-race h2 { font-size: 22px; }
.mk .next-race h2 a { color: inherit; text-decoration: none; }
.mk .next-race .when { margin: 0; font-size: 15px; font-weight: 600; }
.mk .next-race .when b { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 48px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mk .next-race .more { font-size: 14px; font-weight: 700; color: inherit; }
.mk .next-race .more::after { content: " ›"; }
.mk .ics { margin-top: var(--space-6); }
