/* Ontwerplaag november 2026: rustiger vlakken, lichte kop, tabbalk op de telefoon en de nieuwe startpagina.
   Laadt als laatste in bundle.css, zodat deze regels de oudere lagen (site, opknap, donker) overschrijven.
   Licht is standaard; donker alleen na een keuze met de themaknop (html[data-theme="dark"]). */

/* Lettertypes staan in fonts/fonts.css; build-assets neemt dat bestand vooraan in de bundel mee. */

:root {
    --paper: #f4f4f2;
    --line: #e2e2df;
    --muted: #5b5b63;
    --red-text: #a80710;
    --surface: var(--white, #fff);
    --hero: #151518;
    --on-ink-muted: #b9b9c2;
    --chart-line: #77777f;
    --field-line: #8a8a92;
    --prize: #8a6416;
    --on-prize: #ffffff;
    --radius: 14px;
    --radius-sm: 8px;
    --font-display: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --font-body: "DM Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
    --header-h: 60px;
}
html[data-theme="dark"] {
    --paper: #121316;
    --line: #34363d;
    --muted: #a9a9b2;
    --field-line: #6a6d76;
    --red-text: #ff5c63;
    --hero: #0c0c0e;
    --chart-line: #6f6f78;
    --prize: #e9b949;
    --on-prize: #151518;
}

body { font-family: var(--font-body); background: var(--paper); }

/* De kop blijft bovenaan staan: plakkende onderdelen en springlinks beginnen onder de kop */
:root { --sticky-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
html { scroll-padding-top: calc(var(--sticky-top) + 12px); }
.player-biography > .legacy-image-gallery, .story-aside { top: calc(var(--sticky-top) + 16px); }
.match-jump, .decade-jump, .review-bulk, .gaps-table thead th { top: var(--sticky-top); }
.admin-sidebar { top: calc(var(--sticky-top) + 16px); max-height: calc(100vh - var(--sticky-top) - 32px); }
h1, h2, h3, .section-heading h2 { font-family: var(--font-display); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.eyebrow { color: var(--red-text); font-size: 12px; letter-spacing: .14em; }

/* Kop: licht en rustig, met het menu rechts. Op de telefoon neemt de tabbalk de hoofdroutes over. */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.site-header {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 25;
    height: var(--header-h); min-height: var(--header-h);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none;
}
.site-header::before, .site-header::after { content: none; }
.site-header .header-inner { width: min(1180px, calc(100% - 32px)); height: var(--header-h); min-height: var(--header-h); padding: 0; gap: 16px; flex-wrap: nowrap; }
.site-header .brand-logo-wrap { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.site-header .brand-logo { height: 36px; }
.site-header .header-search { order: 3; flex: 0 1 220px; margin: 0; }
.site-header .header-search input { height: 40px; border: 1px solid var(--line); border-right: 0; border-radius: 999px 0 0 999px; background: var(--paper); color: var(--ink); font-size: 15px; padding: 0 14px; }
.site-header .header-search input::placeholder { color: var(--muted); }
.site-header .header-search button { height: 40px; width: 44px; flex-basis: 44px; border: 1px solid var(--line); border-left: 0; border-radius: 0 999px 999px 0; background: var(--paper); color: var(--ink); }
.site-header .header-search button:hover { color: var(--red-text); }
.site-header .desktop-navigation { margin-left: auto; gap: 2px; }
.site-header nav a, .site-header .nav-group summary { color: var(--muted); font-size: 15px; font-weight: 500; border: 0; padding: 9px 11px; border-radius: var(--radius-sm); }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header .nav-group summary:hover { color: var(--ink); background: var(--paper); border-color: transparent; }
.site-header nav a[aria-current="page"] { color: var(--ink); background: transparent; box-shadow: none; }
.site-header .nav-group-menu { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(21, 21, 24, .12); padding: 6px; }
.site-header .nav-group-menu a { display: block; color: var(--ink); padding: 10px 12px; }
.site-header .nav-group-menu a:hover { background: var(--paper); }
.site-header .theme-toggle { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); }
.site-header .theme-toggle:hover { background: var(--paper); }
.site-header .theme-toggle svg { width: 20px; height: 20px; }
@media (max-width: 980px) {
    .site-header .header-search { display: none; }
    .site-header .mobile-navigation summary { border: 1px solid var(--line); border-radius: 999px; color: var(--ink); padding: 9px 14px; min-height: 44px; font-size: 15px; font-weight: 500; }
    .site-header .mobile-navigation summary span { color: var(--red-text); }
    .site-header .mobile-navigation nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(21, 21, 24, .16); }
    .site-header .mobile-navigation nav a, .site-header .mobile-navigation nav summary { color: var(--ink); }
    .site-header .mobile-navigation nav .nav-mobile-quick a { background: var(--paper); color: var(--ink); }
    .site-header .mobile-navigation nav a[aria-current="page"] { background: var(--paper); color: var(--red-text); box-shadow: inset 3px 0 0 var(--red); }
    .site-header .mobile-navigation nav .nav-mobile-home { color: var(--muted); border-top-color: var(--line); }
    .site-header .theme-toggle-mobile { margin-left: auto; }
    .site-header .mobile-navigation { margin-left: 4px; }
}

/* Tabbalk op telefoon en tablet: de vijf routes die het meest gebruikt worden, onder de duim */
.tab-bar { display: none; }
@media (max-width: 980px) {
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
    .tab-bar {
        position: fixed; inset: auto 0 0; z-index: 24; display: grid; grid-template-columns: repeat(5, 1fr);
        background: color-mix(in srgb, var(--surface) 94%, transparent);
        -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
        border-top: 1px solid var(--line);
        padding: 4px max(6px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
    }
    .tab-bar a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; color: var(--muted); font-size: 11px; font-weight: 500; text-decoration: none; border-radius: var(--radius-sm); }
    .tab-bar a[aria-current="page"] { color: var(--red-text); }
    .tab-bar svg { width: 24px; height: 24px; }
    .back-to-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media print { .tab-bar { display: none !important; } }

/* Vlakken: wit op papier, zonder rand of schaduw; de afronding is overal dezelfde */
.analytics-consent, .birth-year-card, .birth-year-list, .career-chart-figure, .club-record-feature, .coach-list, .coach-timeline,
.data-methodology-card, .decade-card, .directory-card, .directory-search, .empty-state, .global-search-section, .history-archive,
.history-card, .history-contents, .history-day-form, .history-day-panel, .history-mode, .history-period-links, .history-route-chapter,
.history-search-form, .history-search-result, .honour-figure, .honour-item, .legend-card,
.logo-era, .match-chronology-link, .match-context-card, .match-list, .match-related-card, .match-story, .media-library-card,
.media-library-filters, .not-found-page, .opponent-about, .opponent-profile, .oranje-decade, .player-bio, .player-card,
.player-compare-card, .player-compare-form, .player-season-timeline, .quality-card, .season-chart, .season-chart-figure,
.season-chart-filter, .season-navigation-link, .season-squad-group, .season-stats-list, .season-story, .source-card,
.source-register-card, .stadium-filters, .story-box, .story-timeline, .suggestion-form, .suggestion-inline, .topic-mentions, .tournament-card, .uefa-final-block, .weekly-match, .stats-table,
.detail-grid > div, .match-timeline-copy {
    border-color: transparent;
    border-radius: var(--radius);
    box-shadow: none;
}
.match-timeline-copy { border-radius: var(--radius-sm); }
.directory-card:hover strong, .history-card:hover strong, .match-related-card:hover strong { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* Koppen van secties: geen gekleurd streepje meer eronder; de kop zelf draagt de hiërarchie */
.section-heading::after, .section-heading h2::after, .detail-section > h2::after { content: none !important; display: none !important; }
.section-heading { border-bottom: 0; }

/* Knoppen: pil met clubrood voor de hoofdactie */
.button { border-radius: 999px; font-size: 15px; font-weight: 700; min-height: 44px; }
.button:hover { transform: none; }
.button-secondary { border-radius: 999px; }

/* Uitslag als blokje: hetzelfde op elke pagina, cijfers op één lijn */
.score-cell { font-variant-numeric: tabular-nums; }

/* Voet: effen inkt, zonder streep erboven */
.site-footer { background: var(--hero); color: var(--on-ink-muted); border-top: 0; margin-top: 72px; }
.site-footer::before { content: none; }
.footer-column strong { color: #fff; font-size: 15px; letter-spacing: 0; text-transform: none; font-family: var(--font-display); }
.footer-column a, .footer-brand p { color: var(--on-ink-muted); font-size: 15px; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { font-size: 13px; color: var(--on-ink-muted); }

/* ---------- Startpagina ---------- */
.home-v2 { display: block; }
.home-v2 .wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
main.container:has(> .home-v2) { width: 100%; max-width: none; padding: 0; margin: 0; }

.hv-hero { background: var(--hero); color: #fff; position: relative; }
.hv-hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: linear-gradient(90deg, var(--red) 50%, #fff 50%); }
.hv-hero .wrap { display: grid; gap: 40px; padding-block: 56px 48px; }
@media (min-width: 900px) { .hv-hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; padding-block: 80px 64px; } }
.hv-hero h1 { font: 800 clamp(34px, 6vw, 58px)/1.04 var(--font-display); letter-spacing: -.01em; max-width: 13ch; margin: 0; color: #fff; }
.hv-lead { color: var(--on-ink-muted); max-width: 52ch; margin: 18px 0 28px; font-size: 18px; line-height: 1.55; }
.hv-lead strong { color: #fff; font-weight: 500; }
.hv-search { display: flex; align-items: center; gap: 10px; background: #fff; color: #151518; border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 520px; position: relative; }
.hv-search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 17px; background: transparent; color: inherit; height: 44px; }
.hv-search input:focus, .hv-search input:focus-visible { outline: none; box-shadow: none; border: 0; }
.hv-search:focus-within { box-shadow: 0 0 0 3px var(--red); }
.hv-search button { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 15px var(--font-body); cursor: pointer; }
.hv-search button:hover { background: #c40511; }
.hv-search .search-suggestions { top: calc(100% + 8px); left: 0; right: 0; width: auto; z-index: 30; text-align: left; }
.hv-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hv-quick a { color: #fff; font-size: 15px; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); min-height: 44px; display: inline-flex; align-items: center; }
.hv-quick a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.hv-today { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.hv-today .eyebrow { color: #ff7a80; display: block; margin-bottom: 12px; }
.hv-today h2 { font: 700 22px/1.25 var(--font-display); color: #fff; margin: 0; }
.hv-today p { color: var(--on-ink-muted); font-size: 15px; line-height: 1.55; margin: 12px 0 18px; }
.hv-fixture { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 18px; font: 700 16px var(--font-display); }
.hv-fixture > :first-child { text-align: right; }
.hv-score { background: var(--red); color: #fff; border-radius: var(--radius-sm); padding: 6px 12px; font: 800 22px/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hv-link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.hv-hero .hv-link { color: #fff; }

.hv-block { padding-block: 56px 0; }
.hv-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.hv-head h2 { font: 800 clamp(26px, 3.4vw, 34px)/1.1 var(--font-display); margin: 0; letter-spacing: -.01em; }
.hv-head p { margin: 6px 0 0; color: var(--muted); }
.hv-head .eyebrow { display: block; margin-bottom: 10px; }
.hv-stepper { display: flex; flex-wrap: wrap; gap: 8px; }
.hv-stepper a { font-size: 15px; font-weight: 500; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.hv-stepper a:hover { border-color: var(--muted); }
.hv-cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .hv-cols { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; } }

.hv-group { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.hv-group > li { padding-left: 20px; }
.hv-group > li + li > * { border-top: 1px solid var(--line); }
.hv-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 20px 14px 0; min-height: 64px; }
a.hv-row:hover .hv-match { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.hv-year { font: 700 15px var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.hv-match { font-weight: 500; }
.hv-row small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }
.hv-res { font: 700 16px var(--font-display); font-variant-numeric: tabular-nums; padding: 4px 10px; border-radius: 6px; background: var(--paper); min-width: 52px; text-align: center; white-space: nowrap; }
.hv-res.is-win { background: var(--ink); color: var(--paper); }
.hv-res.is-big { background: var(--red); color: #fff; }
.hv-summary { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.hv-summary b { color: var(--ink); }
.hv-after { margin-top: 14px; font-size: 15px; }
.hv-side h3 { font: 700 18px var(--font-display); margin: 0 0 12px; }
.hv-side .hv-group + h3 { margin-top: 28px; }
.hv-side .hv-group > li { padding-left: 16px; }

.hv-person { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 0; font-size: 15px; }
.hv-person a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.hv-person a:hover { text-decoration-color: var(--red); }
.hv-person span { color: var(--muted); text-align: right; }

.hv-feature { display: grid; gap: 20px; }
@media (min-width: 900px) { .hv-feature { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.hv-story { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: grid; }
@media (min-width: 640px) { .hv-story { grid-template-columns: 1.15fr 1fr; } }
.hv-story img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; display: block; }
.hv-story-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.hv-story h3 { font: 800 24px/1.2 var(--font-display); margin: 0; }
.hv-story p { margin: 0; color: var(--muted); line-height: 1.55; }
.hv-story .hv-link { margin-top: auto; padding-top: 6px; }

.hv-chart { background: var(--surface); border-radius: var(--radius); padding: 24px 20px 16px; margin: 0; }
.hv-chart-scroll { overflow-x: auto; }
.hv-chart svg { display: block; width: 100%; min-width: 640px; height: auto; }
.hv-chart .grid { stroke: var(--line); stroke-width: 1; }
.hv-chart .axis { fill: var(--muted); font: 500 12px var(--font-body); }
.hv-chart .line { fill: none; stroke: var(--chart-line); stroke-width: 2; stroke-linejoin: round; }
.hv-chart .pos { fill: var(--surface); stroke: var(--chart-line); stroke-width: 2; }
.hv-chart .title { fill: var(--red); stroke: var(--surface); stroke-width: 2; }
.hv-chart a:hover circle, .hv-chart a:focus circle { stroke: var(--ink); stroke-width: 3; }

.hv-chapters { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.hv-chapter { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.hv-chapter img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hv-plate { aspect-ratio: 4 / 3; background: var(--hero); color: #fff; display: flex; align-items: flex-end; padding: 20px; font: 800 64px/.9 var(--font-display); letter-spacing: -.03em; }
.hv-plate span { color: var(--red); }
.hv-chapter-body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.hv-when { font: 700 13px var(--font-body); color: var(--red-text); font-variant-numeric: tabular-nums; }
.hv-chapter h3 { font: 800 20px var(--font-display); margin: 0; }
.hv-chapter p { margin: 0; color: var(--muted); font-size: 15px; }
.hv-chapter:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

.hv-updates { columns: 2 300px; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.hv-updates li { break-inside: avoid; }
.hv-updates a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hv-updates a:hover .hv-match { text-decoration: underline; text-decoration-color: var(--red); }
.hv-updates small { display: block; color: var(--muted); font-size: 13px; }
.hv-updates .hv-s { font-weight: 700; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-transparency: reduce) { .site-header, .tab-bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); } }

/* Zoekvelden met suggesties: de lijst valt onder het veld, even breed */
.global-search-form, .history-search-controls { position: relative; }
.global-search-form .search-suggestions, .history-search-controls .search-suggestions { left: 0; right: 0; width: auto; max-width: 680px; text-align: left; }

/* Goud alleen voor prijzen: een effen gouden lijn op prijskaarten, gouden labels bij titels; overige kaarten zonder sierstreep */
.club-record-feature::before { content: none; }
.europe-finals .europe-prize { border-top: 0; }
.club-record-feature.europe-prize { overflow: hidden; }
.club-record-feature.europe-prize::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--prize); }
html body .season-card-position.is-first { background: var(--prize); color: var(--on-prize); }
.europe-stats > div { border-color: transparent; border-radius: var(--radius); }
.season-recap::before { background: linear-gradient(180deg, var(--red) 0 50%, #fff 50% 100%); }
/* Kopblok van seizoenen en overzichten: geen grote sierletter of cirkels meer */
.hero::before, .hero::after { content: none; }
/* Geen sierbolletje voor labels en geen vaste minimumhoogte voor kopblokken */
.live-dot { display: none; }
.hero { min-height: 0; }

/* Voet: de linkgroepen zijn op de telefoon inklapbaar (dicht bij het laden), op grotere schermen altijd open */
.footer-column > summary { list-style: none; color: #fff; font: 700 15px var(--font-display); margin-bottom: 4px; }
.footer-column > summary::-webkit-details-marker { display: none; }
.footer-column > nav { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
@media (min-width: 761px) { .footer-column > summary { pointer-events: none; } }
@media (max-width: 760px) {
    .footer-grid { gap: 0; }
    .footer-brand { margin-bottom: 20px; }
    .footer-column { border-top: 1px solid rgba(255, 255, 255, .12); }
    .footer-column { align-items: stretch; }
    .footer-column > summary { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 52px; margin: 0; cursor: pointer; }
    .footer-column > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
    .footer-column[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
    .footer-column > nav { padding: 4px 0 18px; gap: 0; }
    .footer-column > nav a { display: block; width: 100%; padding: 10px 0; }
}

/* Wedstrijd- en spelerspagina op de telefoon: compacter bovenaan, de uitslag als blikvanger */
@media (max-width: 600px) {
    .breadcrumbs { margin: 10px 0 8px; }
    .breadcrumbs ol { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
    .breadcrumbs li[aria-current="page"] { display: none; }
    .match-topbar { margin-bottom: 8px; }
    .match-topbar .suggestion-inline { display: none; }
    .match-top-pager a { min-height: 40px; display: inline-flex; align-items: center; }
    .match-hero { margin: 8px 0 14px; padding: 20px 18px 18px 26px; border-radius: var(--radius); box-shadow: none; }
    .match-hero:has(.scoreboard) h1 { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    .match-hero .match-meta { margin-bottom: 16px; }
    .match-hero .scoreboard { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: start; }
    .match-hero .team-name { flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 14px; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
    .match-hero .scoreboard-logo { width: 44px; height: 44px; }
    .match-hero .big-score { font-size: 46px; padding: 2px 0 0; letter-spacing: -.02em; }
    .match-hero .hero-scorers { font-size: 13px; text-align: center; margin: 4px 0 0; padding: 0; }
    .match-hero .badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
    .match-hero .badge { font-size: 13px; padding: 5px 10px; }
    .match-hero .share-button { min-height: 36px; padding: 0 14px; font-size: 14px; }
    .match-jump { margin-top: 0; }
}
@media (max-width: 600px) {
    .player-hero { margin: 8px 0 14px; padding: 20px 18px 18px 26px; border-radius: var(--radius); box-shadow: none; }
    .player-hero::after { display: none; }
    .player-hero.has-portrait { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: end; }
    .player-hero.has-portrait .player-hero-main { display: contents; }
    .player-hero-portrait { grid-column: 1; grid-row: 1 / span 2; width: 84px; margin: 0; align-self: start; }
    .player-hero-portrait img { width: 84px; height: 104px; object-fit: cover; border-radius: 10px; }
    .player-hero .eyebrow { grid-column: 2; font-size: 11px; align-self: end; }
    .player-hero h1 { grid-column: 2; font-size: 26px; line-height: 1.08; margin: 6px 0 0; letter-spacing: -.02em; align-self: start; }
    .player-hero-facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
    .player-hero-facts li { font-size: 13px; padding: 5px 10px; }
    .player-hero-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: 14px; }
    .player-hero-actions a[href^="/aanvulling"] { display: none; }
    .player-hero-actions .share-button { min-height: 36px; padding: 0 14px; font-size: 14px; }
    .player-stat-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
    .player-stat-grid > div { padding: 10px 12px; min-height: 0; display: flex; flex-direction: column; gap: 2px; justify-content: flex-start; }
    .player-stat-grid strong { font-size: 24px; }
    .player-stat-grid span, .player-stat-grid small { font-size: 12px; margin: 0; }
}

/* Prijzenkast: elftalfoto bij een landstitel */
.honour-item:has(.honour-team) { grid-template-columns: 110px 1fr 128px; }
.honour-team { display: block; align-self: center; }
.honour-team img { display: block; width: 128px; height: 86px; object-fit: cover; border-radius: 8px; }
.honour-ticket img { object-fit: contain; border-radius: 4px; }
.honour-trophy img { object-fit: contain; background: color-mix(in srgb, currentColor 6%, transparent); padding: 4px; box-sizing: border-box; }
@media (max-width: 560px) {
  .honour-item:has(.honour-team) { grid-template-columns: 1fr; }
  .honour-team img { width: 100%; max-width: 280px; height: auto; aspect-ratio: 3 / 2; }
}

/* Review 4 november 2026 (toegankelijkheid). Staat bewust onderaan, zodat deze regels de oudere lagen overschrijven. */

/* A2: geen tekst meer onder 13 pixels (de tabbalk 12 pixels) */
.global-search-list span,
.global-search-list small,
.eyebrow,
.hero-stats span,
.field-label,
.list-head,
.date-cell small,
.type-cell small,
.badge,
.detail-grid dt,
.player-stat-grid span,
.season-stats-head,
.directory-search label,
.source-register-hero > span:last-child,
.source-status-legend,
.source-type-note,
.season-source-group a,
.source-match-count,
.source-category-badge,
.source-type-origin,
.source-register-links small,
.source-card > small,
.source-status,
.directory-card small,
.directory-count,
.season-chart-heading,
.season-chart-heading small,
.season-chart-table .season-chart-name,
.season-chart-table thead .season-chart-name,
.season-chart-table thead .season-chart-total,
.season-chart-table thead .season-chart-year span,
.season-chart-total,
.opponent-record span,
.opponent-record small,
.opponent-split-legend,
.opponent-split > span,
.opponent-extreme > span,
.opponent-split small,
.opponent-extreme small,
.opponent-top-scorers li a::before,
.opponent-top-appearances li a::before,
.opponent-decade-legend,
.opponent-decade-label,
.opponent-decade-label small,
.history-card .eyebrow,
.history-card small,
.season-recap-stat small,
.season-recap-campaign > small,
.season-squad-group h3 span,
.season-photo figcaption,
.legacy-standings th,
.stats-table-head,
.photo-grid figcaption,
.player-photo-strip figcaption,
.collection-grid .collection-context-note,
.player-card h4,
.match-pitch-label,
.match-pitch-player,
.match-pitch-player small,
.player-card li span,
.share-query-status,
.player-compare-card dt,
.season-chart-scroll-hint,
.stats-table-row,
.result-count,
.team-cell,
.submission-photos figcaption,
.match-context-list span,
.match-timeline-copy > strong,
.match-timeline-minute,
.match-chronology-link small,
.season-team-roster-note,
.season-team-roster-group small,
.player-season-timeline-year,
.story-box .eyebrow,
.story-stat-grid span,
.story-note,
.story-matches small,
.logo-era-text small,
.history-period-columns small,
.history-tabs a,
.history-article-uefa-stats .uefa-stat-line strong,
.history-article-uefa-reactions > p.uefa-reaction-intro,
.media-library-card .eyebrow,
.team-name,
.season-navigation-link small,
.detail-section > .section-heading .eyebrow,
.day-highlight-badge,
.adt-edition-winner small,
.adt-pager small,
.search-suggestions-heading,
.player-directory-filters span,
.stadium-filters label,
.venue-facts dt,
.song-video summary span,
.week-day small,
.week-match small,
.europe-table thead th,
.history-index-toc small,
.story-aside-list small,
.decade-season-honour,
.youtube-links-only .youtube-play,
.player-hero .eyebrow { font-size: 13px; }
.tab-bar a { font-size: 12px; }

/* A1: invoervelden op de telefoon minstens 16 pixels, anders zoomt iOS Safari in */
@media (max-width: 980px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea { font-size: 16px; }
}

/* A3: zichtbare randen van invoervelden (3:1). Alleen de kleur, zodat velden zonder rand ook zonder rand blijven. */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea { border-color: var(--field-line); }
.hv-search { border-color: var(--field-line); }

/* A4: kopjes in het mobiele menu leesbaar (6,7:1) */

/* A5: letterbalk A-Z met klikvlakken van 44 pixels */
.letter-bar { gap: 6px; }
.letter-bar a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 6px; }

/* S3: inzendknoppen onderaan de spelerspagina */
.player-help p { max-width: 65ch; }
.player-help-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.player-help-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.player-help-links a:hover { border-color: var(--red); color: var(--red-text); }

/* Verhalen en themapagina's (november 2026): foto's als afdrukken, om en om links en rechts,
   een liggende openingsfoto over de volle breedte, sterkere tussenkoppen en een beginletter. */
:root { --oranje: #c2410c; --oranje-text: #9a3412; --oranje-soft: #fff1e6; }
html[data-theme="dark"] { --oranje: #fb923c; --oranje-text: #fdba74; --oranje-soft: #2a1d14; }

.history-article { font-size: 16.5px; line-height: 1.75; }
.history-article h2 { position: relative; margin: 1.8em 0 .5em; padding: 0; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; letter-spacing: -.01em; }
.history-article h2::before { content: ""; display: block; width: 36px; height: 4px; margin-bottom: 10px; border-radius: 2px; background: var(--red); }
.history-article > h2:first-child, .history-article > figure:first-child + h2 { margin-top: .2em; }
/* beginletter in de eerste alinea van het verhaal */
.history-article > h2:first-child + p::first-letter,
.history-article > .story-figure.is-lead + p::first-letter,
.history-article > h2:first-child + .story-figure + p::first-letter {
    float: left; margin: .06em .1em 0 0; font: 800 3.4em/.82 var(--font-display); color: var(--red-text);
}

/* foto's: een afdruk met witte rand, een lichte schaduw en een kleine kanteling die rechttrekt bij aanwijzen */
.history-article .story-figure { width: 300px; max-width: 44%; margin: .35em 0 1.2em; padding: 0; border: 0; background: none; }
.history-article .story-figure.is-left { float: left; clear: both; margin-right: 28px; margin-left: 0; }
.history-article .story-figure.is-right { float: right; clear: both; margin-left: 28px; margin-right: 0; }
.history-article .story-figure > a.photo-popup-trigger {
    display: block; padding: 7px 7px 9px; border-radius: 4px; background: var(--surface);
    box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 12px 28px -14px rgba(0,0,0,.45);
    transform: rotate(var(--tilt, 0deg)); transition: transform .25s ease, box-shadow .25s ease;
}
.history-article .story-figure.is-right { --tilt: 1.1deg; }
.history-article .story-figure.is-left { --tilt: -1.1deg; }
.history-article .story-figure.is-left:nth-of-type(4n+3) { --tilt: -.5deg; }
.history-article .story-figure.is-right:nth-of-type(4n) { --tilt: .6deg; }
.history-article .story-figure > a.photo-popup-trigger:hover,
.history-article .story-figure > a.photo-popup-trigger:focus-visible { --tilt: 0deg; box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 18px 36px -16px rgba(0,0,0,.5); }
.history-article .story-figure img { border-radius: 2px; max-height: 420px; background: var(--paper); }
.history-article .story-figure figcaption { padding: 10px 2px 0 12px; border-left: 2px solid var(--red); margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
html[data-theme="dark"] .history-article .story-figure > a.photo-popup-trigger { background: #26272c; box-shadow: 0 12px 28px -14px rgba(0,0,0,.8); }

/* liggende openingsfoto en brede foto's: geen kanteling, over de volle tekstbreedte */
.history-article .story-figure.is-wide { float: none; clear: both; width: 100%; max-width: none; margin: 6px 0 26px; --tilt: 0deg; }
.history-article .story-figure.is-wide > a.photo-popup-trigger { padding: 0; background: none; box-shadow: none; border-radius: var(--radius); overflow: hidden; }
.history-article .story-figure.is-wide img { width: 100%; max-height: 620px; object-fit: contain; border-radius: var(--radius); background: var(--paper); }
/* staande foto in een brede reeks: smaller en gecentreerd, nooit bijgesneden */
.history-article .story-figure.is-wide.is-portrait { width: min(100%, 460px); margin-left: auto; margin-right: auto; }
.history-article .story-figure.is-wide.is-portrait img { max-height: 640px; }
.history-article .story-figure.is-wide figcaption { margin-top: 12px; }
/* video's en kleine afbeeldingen (logo's, bekers) zonder afdrukrand */
.history-article .story-figure.story-video > a.photo-popup-trigger, .history-article .story-figure.is-small > a.photo-popup-trigger { padding: 0; background: none; box-shadow: none; --tilt: 0deg; }
.history-article .story-figure.is-small { width: 180px; }

@media (prefers-reduced-motion: reduce) { .history-article .story-figure > a.photo-popup-trigger { transition: none; } }
@media (max-width: 700px) {
    .history-article { font-size: 16px; }
    .history-article .story-figure, .history-article .story-figure.is-left, .history-article .story-figure.is-right { float: none; width: auto; max-width: 100%; margin: 1.1em 0 1.4em; }
    .history-article .story-figure > a.photo-popup-trigger { --tilt: 0deg; }
    .history-article .story-figure.is-small { width: 180px; }
}

/* Feyenoorders in Oranje: oranje accenten, namen als labels en een balk per aantal interlands */
.directory-hero.is-oranje { background: linear-gradient(115deg, var(--hero) 62%, #7c2d12 62.2%, var(--oranje) 100%); }
.oranje-decades { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.oranje-decade { position: relative; padding: 18px 18px 16px; border-radius: var(--radius); border-top: 4px solid var(--oranje); }
.oranje-decade h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 12px; font-size: 22px; }
.oranje-decade h3 small { padding: 2px 9px; border-radius: 999px; background: var(--oranje-soft); color: var(--oranje-text); font: 700 12px/1.6 var(--font-body); white-space: nowrap; }
.oranje-names { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.oranje-names a { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13.5px; line-height: 1.4; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.oranje-names a:hover, .oranje-names a:focus-visible { border-color: var(--oranje); background: var(--oranje-soft); color: var(--oranje-text); }
.oranje-table td.oranje-caps { width: 116px; min-width: 116px; font-variant-numeric: tabular-nums; }
.oranje-caps-cell { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.oranje-caps-cell span:last-child { min-width: 2.2em; text-align: right; font-weight: 700; }
.oranje-bar { display: block; flex: 0 0 auto; width: 64px; height: 8px; overflow: visible; }
.oranje-bar rect { fill: var(--oranje); opacity: .85; }
.oranje-table tbody tr:nth-child(-n+3) th a { color: var(--oranje-text); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .oranje-names a { transition: none; } }

/* Vorige / volgende onderaan de verhalen: kolommen mogen krimpen, lange titels breken af */
.history-route-nav { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.history-route-nav strong { overflow-wrap: anywhere; }
@media (max-width: 720px) { .history-route-nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Luisterblok en liedtekst in de verhalen (kampioenslied 1923) */
.history-article .story-audio { clear: both; margin: 22px 0; padding: 18px 20px; border-radius: var(--radius); background: var(--hero); color: #f3f3f5; }
.history-article .story-audio figcaption { display: grid; gap: 4px; margin-bottom: 12px; padding: 0; border: 0; color: inherit; font-size: 14px; line-height: 1.55; }
.history-article .story-audio figcaption strong { font: 800 17px/1.3 var(--font-display); }
.history-article .story-audio figcaption span { color: #c9c9d1; }
.history-article .story-audio audio { display: block; width: 100%; height: 44px; }
.history-article .song-lyrics { clear: both; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 28px; margin: 6px 0 26px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-family: var(--font-display); }
.history-article .song-lyrics p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; }
.history-article .song-lyrics p::first-letter { all: unset; }
.history-article .song-lyrics b { color: var(--red-text); margin-right: 4px; }

/* Typografie gelijkgetrokken (nov 2026): één maat per rol.
   Paginatitel 48px, sectiekop 27px/800, tussenkop in verhalen 24px/800, bijschrift 12,5px, lopende tekst 16,5px (lang) of 15px/13px (kort).
   De startpagina houdt bewust zijn eigen, grotere koppen. */
.hero h1,
.match-hero h1,
.history-article-heading h1 { font-size: clamp(32px, 5vw, 48px); }
.player-season-timeline-heading h2,
.history-day-panel-heading h2,
.match-info-heading h2,
.detail-section > .section-heading.match-info-heading h2,
.history-period-links h2,
.honours-other h3,
.rival-head h2,
.legend-era { font: 800 clamp(21px, 2.5vw, 27px)/1.15 var(--font-display); letter-spacing: -.045em; }
.history-article h2 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; }
.bio-side-photos figcaption,
.photo-grid figcaption,
.player-photo-strip figcaption,
.career-chart-figure figcaption { font-size: 12.5px; }
.coach-dates,
.coach-note,
.coach-honours,
.story-contribute { font-size: 15px; }
.coach-legend { font-size: 13px; }
.match-story p { font-size: 16.5px; }

/* Moderne kleurenfoto bij een stadion: geen grijsfilter. */
.venue-photo--kleur img { filter: none; }

/* Lange woorden in koppen (zoals "Bloedtransfusiewedstrijd") mogen op een smal scherm afbreken in plaats van de pagina te verbreden. */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

/* Terugknop naar de vorige pagina (mobiel en app-modus) */
.back-to-origin { position: fixed; left: max(12px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 900; display: inline-flex; align-items: center; gap: 6px; max-width: min(70vw, 320px); min-height: 44px; padding: 0 16px 0 10px; border: 0; border-radius: 22px; background: rgba(20, 20, 20, .9); color: #fff; font: 600 14px/1.2 inherit; font-family: inherit; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.back-to-origin span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.back-to-origin svg { flex: none; }
.back-to-origin:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 900px) { .back-to-origin { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }
@media print { .back-to-origin { display: none; } }
.history-article-heading .save-pdf-button { margin-top: 12px; }
@media print { .share-button, .save-pdf-button { display: none !important; } }

/* Afdrukken / opslaan als pdf: alleen de inhoud, geen navigatie, knoppen of lege kaders */
@media print {
    .player-hero-actions, .player-help, .topic-mentions, .player-country-flag, .back-to-origin, .back-to-top, .tab-bar, .site-footer, .breadcrumb, nav[aria-label="Kruimelpad"] { display: none !important; }
    main:has(.player-hero) .story-aside { display: none !important; }
    .player-hero, .player-hero * { border-color: transparent !important; box-shadow: none !important; }
    .player-hero { border: 1px solid #bbb !important; }
    .player-hero-facts li { padding-left: 0 !important; }
    .story-layout { display: block !important; }
    a { color: inherit !important; text-decoration: none !important; }
}
/* Homepage: krantenknipsel van de week naast de wedstrijd van de week (23-11-2026) */
.hv-clip { padding: 26px 28px; border-radius: 16px; background: var(--white); }
.hv-clip h3 { margin: 8px 0 4px; font: 800 clamp(22px, 2.2vw, 28px)/1.15 Manrope, sans-serif; }
.hv-clip h3 a { color: inherit; text-decoration: none; }
.hv-clip h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hv-clip-date, .hv-clip-source { margin: 0; color: var(--muted); font-size: 14px; }
.hv-clip-paper { display: block; margin: 16px 0 8px; padding: 14px; background: #ebe7dc; border: 1px solid #ddd7c8; border-radius: 6px; }
.hv-clip-paper img { display: block; width: 100%; max-height: 280px; object-fit: cover; object-position: top; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.hv-clip > p:not([class]) { margin: 14px 0 16px; color: var(--muted); line-height: 1.6; }
html[data-theme="dark"] .hv-clip-paper { background: #2a2925; border-color: #3a3832; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .hv-clip-paper { background: #2a2925; border-color: #3a3832; } }
.player-hero-portrait.is-focus-right img { object-position: 82% 30%; }
.player-hero-portrait.is-focus-left img { object-position: 18% 30%; }
