/* ==========================================================================
   ADOfans.nl — af-2026.css  (reskin-01, oktober 2026)
   Vervangt af-2024-08.css. Stylet de nieuwe shell (header, menu, kolommen,
   footer) én de bestaande markup van templates en cron-fragmenten
   (.mainleft, .includemodule, .tabelhead, .acss-table, ...), zodat de hele
   site in één keer de nieuwe stijl krijgt zonder template-wijzigingen.
   ========================================================================== */

:root {
  /* 2026-10 colors-01: officiële ADO Den Haag-kleuren (Pantone) */
  --af-green: #006242;        /* Pantone 3425 – header, knoppen */
  --af-green-2: #00843D;      /* Pantone 348  – hover knoppen, accenten */
  --af-gold: #FFD100;         /* Pantone 109  – gele lijnen, hover-markering */
  --af-lime: #C5D900;         /* Pantone 382  – focus, menu-hover */
  --af-ink: #154734;          /* Pantone 3435 – tekst, topbalk, footer ("géén zwart") */
  --af-paper: #f3f1ea;
  --af-card: #ffffff;
  --af-line: #e4e1d6;
  --af-muted: #5f6b63;
  --af-link: #00843D;        /* Pantone 348 */
  --af-radius: 12px;
  --af-shadow: 0 1px 3px rgba(20, 26, 22, .08);
  --af-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --af-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --af-bar: #154734;          /* Pantone 3435 – menubalk, kopbalken, datumlabels */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--af-paper);
  /* bg-01: stadionachtergrond (zoals op test.adofans.nl toegevoegd, 2026-10-12); schaalt mee op grote schermen */
  background-image: url("../CMS/img/banners/website-background-1971-G-G.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  color: var(--af-ink);
  font: 400 16px/1.55 var(--af-font);
}

a { color: var(--af-link); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--af-gold); outline-offset: 2px; }

img { max-width: 100%; height: auto; border: 0; }
iframe, video, embed, object { max-width: 100%; }
table { border-collapse: collapse; }
hr { border: 0; border-top: 1px solid var(--af-line); margin: 12px 0; }

.af-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--af-gold); color: var(--af-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.af-skip:focus { left: 8px; }

/* utility-klassen uit de oude CSS (veel gebruikt in fragmenten) */
.txt-right { text-align: right; }
.txt-left { text-align: left; }
.txt-center { text-align: center; }

/* ---------- container & layout ------------------------------------------ */

.af_container { max-width: 1320px; margin: 0 auto; background: var(--af-paper); min-height: 100vh; display: flex; flex-direction: column; }

.afmiddel {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "content" "left";
  gap: 24px;
  padding: 24px 16px 40px;
  flex: 1;
}
.af-content { grid-area: content; min-width: 0; }
.af_left { grid-area: left; min-width: 0; }

@media (min-width: 1100px) {
  .afmiddel {
    grid-template-columns: 200px minmax(0, 1fr);
    grid-template-areas: "left content";
    padding: 28px 24px 48px;
  }
}

/* Binnen de content: de templates zetten een hoofdblok (.mainleft e.d.) en een
   rechterkolom (.afright_main) naast elkaar; soms in een extra .af_main. */
.af-content { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.af-content > .af_main { display: contents; }
.mainleft, .newsarchive, .newsarticle { flex: 1 1 520px; min-width: 0; }
.previousseasons { flex: 0 0 170px; }
.afright_main { flex: 1 1 100%; min-width: 0; }
@media (min-width: 900px) {
  .afright_main { flex: 0 0 300px; }
}

/* ---------- header ------------------------------------------------------- */

.af-header { background: var(--af-green); color: #fff; }

.af-topbar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--af-ink); color: #c9c4b6; font-size: 12px; letter-spacing: .03em;
  padding: 7px 24px;
}
.af-topbar a { color: #c9c4b6; }

.af-brandbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 24px;
}
.af-brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.af-brand:hover { text-decoration: none; }
.af-brand-banner { display: block; width: 503px; max-width: 100%; height: auto; border-radius: 6px; }
.af-brand-mark {
  flex: none; width: 54px; height: 54px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--af-gold); color: var(--af-green);
  font: 800 24px/1 var(--af-display);
}
.af-brand-text { display: flex; flex-direction: column; }
.af-brand-name { font: 800 34px/1 var(--af-display); letter-spacing: .01em; color: #fff; }
.af-brand-name em { font-style: normal; color: var(--af-gold); }
.af-brand-tag { font-size: 13px; color: #cfe2d6; margin-top: 4px; }

.af_headerads { max-width: 100%; }
.af_headerads table { width: auto !important; max-width: 100%; }
.af_headerads img { display: block; max-height: 90px; width: auto; border-radius: 6px; }

/* ---------- hoofdmenu ---------------------------------------------------- */

.af-nav { background: var(--af-bar); border-top: 1px solid rgba(255,255,255,.08); }
.af-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.af-nav-button {
  display: none; cursor: pointer; color: #fff; font-weight: 600; padding: 12px 24px;
}
.af-nav-list { list-style: none; margin: 0; padding: 0 16px; display: flex; flex-wrap: wrap; }
.af-nav-list a {
  display: block; padding: 13px 12px; color: #e3eee7; font-size: 15px; font-weight: 600;
  border-bottom: 3px solid transparent;
}
.af-nav-list a:hover { color: #fff; text-decoration: none; border-bottom-color: var(--af-lime); }
.af-nav-list a[aria-current="page"] { color: #fff; border-bottom-color: var(--af-gold); }
.af-nav-external { margin-left: auto; }
.af-nav-external a { color: var(--af-gold); }

@media (max-width: 860px) {
  .af-nav-button { display: block; }
  .af-nav-list { display: none; flex-direction: column; padding: 0 0 8px; }
  .af-nav-toggle:checked ~ .af-nav-list { display: flex; }
  .af-nav-toggle:focus-visible + .af-nav-button { outline: 3px solid var(--af-gold); outline-offset: -3px; }
  .af-nav-list a { padding: 11px 24px; border-bottom: 0; border-left: 4px solid transparent; }
  .af-nav-list a[aria-current="page"] { border-left-color: var(--af-gold); }
  .af-nav-external { margin-left: 0; }
  .af-brandbar { padding: 14px 16px; }
  .af-brand-name { font-size: 28px; }
  .af-brand-mark { width: 46px; height: 46px; font-size: 20px; }
  .af-topbar { padding: 6px 16px; }
}

/* ---------- kaarten: hoofdblokken en modules ------------------------------ */

.mainleft, .newsarchive, .previousseasons, .newsarticle, .includemodule {
  background: var(--af-card);
  border-radius: var(--af-radius);
  box-shadow: var(--af-shadow);
}
.mainleft, .newsarchive, .previousseasons { padding: 20px 24px 24px; }
.includemodule { padding: 16px 18px 18px; margin-bottom: 20px; overflow: hidden; }
.includemodule:empty { display: none; }

/* Koppen: .tabelhead is overal de titelbalk van een blok */
.tabelhead, .tabelhead-left {
  font: 700 12px/1.3 var(--af-font); letter-spacing: .06em; text-transform: uppercase;
  color: var(--af-ink); margin: 0 0 12px; padding-left: 12px; border-left: 4px solid var(--af-gold);
  text-align: left;
}
.tabelhead:empty { display: none; }
.tabelhead h1, .tabelhead h2, .tabelhead h3 { font: inherit; letter-spacing: inherit; margin: 0; }

/* Paginatitel bovenaan een hoofdblok: groot */
.mainleft > .tabelhead, .newsarchive > .tabelhead, .previousseasons > .tabelhead {
  border-left: 0; padding: 0; margin-bottom: 16px;
}
.mainleft > .tabelhead h1, .mainleft > .tabelhead h2,
.newsarchive > .tabelhead h1, .previousseasons > .tabelhead h1 {
  font: 800 30px/1.05 var(--af-display); letter-spacing: .01em; text-transform: none; color: var(--af-ink);
}
.previousseasons > .tabelhead h1 { font-size: 22px; }
.mainleft > .tabelhead::after, .newsarchive > .tabelhead::after, .previousseasons > .tabelhead::after {
  content: ""; display: block; width: 48px; height: 4px; background: var(--af-gold); border-radius: 2px; margin-top: 10px;
}

/* ---------- nieuwslijsten (actueel nieuws, archief) ---------------------- */

.mainleft h3, .newsarchive h3 {
  font: 600 12px/1.3 var(--af-font); letter-spacing: .05em; text-transform: uppercase;
  color: var(--af-muted); margin: 18px 0 6px;
}
.mainleft h2, .newsarchive h2 { font: 600 17px/1.35 var(--af-font); margin: 0 0 6px; }
.mainleft h2 a, .newsarchive h2 a { color: var(--af-ink); }
.mainleft h2 a:hover, .newsarchive h2 a:hover { color: var(--af-link); }
.mainleft > hr, .newsarchive > hr { margin: 16px 0 0; }
.mainleft > h3:first-of-type, .newsarchive > h3:first-of-type { margin-top: 0; }

.previousseasons hr { margin: 6px 0; }
.previousseasons h3 { font: 600 15px/1.4 var(--af-font); margin: 0; }

/* ---------- tabellen ------------------------------------------------------ */

.acss-table, .table-left { width: 100%; font-size: 14px; }
.acss-table td, .acss-table th, .table-left td, .table-left th {
  padding: 7px 6px; border-bottom: 1px solid var(--af-line); vertical-align: top;
}
.acss-table tr:last-child td, .table-left tr:last-child td { border-bottom: 0; }
.acss-table th, .table-left th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--af-muted); text-align: left; }
.acss-table a { color: var(--af-ink); }
.acss-table a:hover { color: var(--af-link); }

.table-left caption {
  caption-side: top; text-align: left;
  font: 700 12px/1.3 var(--af-font); letter-spacing: .06em; text-transform: uppercase;
  padding-left: 12px; border-left: 4px solid var(--af-gold); margin-bottom: 10px;
}
.table-left td, .table-left th { padding: 5px 4px; }
.table-left td:nth-child(2) { font-weight: 600; }

/* Wedstrijdschema: logo's en ploegnamen in de tabel */
.mainleft .acss-table h2 { font: 600 14px/1.3 var(--af-font); margin: 4px 0 0; }
.mainleft .acss-table td { vertical-align: middle; }

/* Volgende wedstrijd (cron-fragment met tabel bgcolor="#006400") */
.afright_main table[bgcolor] { background: transparent; width: 100%; }
.afright_main table[bgcolor] td { padding: 4px; border: 0; text-align: center; }
.afright_main table[bgcolor] img { max-height: 64px; }

/* ---------- rechterkolom ------------------------------------------------- */

.afright_main > hr { display: none; }
.afright_main .includemodule { font-size: 14px; }
.afright_main img { border-radius: 8px; }

/* ---------- linkerkolom (sociale media, banners, stand, advertenties) ---- */

.af_left .includemodule { padding: 14px; }
.af_left img { display: block; margin: 0 auto; }
@media (max-width: 1099px) {
  .af_left { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; align-items: start; }
  .af_left .includemodule { margin-bottom: 0; }
}

/* ---------- artikelpagina ------------------------------------------------ */

.newsarticle { padding: 24px 28px 32px; max-width: 820px; font-size: 13px; color: var(--af-muted); }
.newsarticle h1 {
  font: 800 38px/1.05 var(--af-display); color: var(--af-ink); margin: 14px 0 12px; letter-spacing: .005em;
}
.newsarticle h1 b, .newsarticle h2 b { font-weight: inherit; }
.newsarticle h2 { font: 600 19px/1.5 var(--af-font); color: var(--af-ink); margin: 0 0 18px; }
/* Het template zet de artikeltekst in een <h3>: hier terug naar gewone tekst */
.newsarticle h3 { font: 400 17px/1.7 var(--af-font); color: var(--af-ink); margin: 0; }
.newsarticle h3 p, .newsarticle h3 div { margin: 0 0 .9em; }
.newsarticle h3 img { display: block; margin: 16px 0; border-radius: 8px; }
.newsarticle h3 iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; margin: 16px 0; }
.newsarticle h3 table { max-width: 100%; display: block; overflow-x: auto; }
.newsarticle > a img { max-height: 40px; width: auto; margin: 4px 0 0; }

@media (max-width: 600px) {
  .newsarticle { padding: 18px 16px 24px; }
  .newsarticle h1 { font-size: 30px; }
  .mainleft, .newsarchive, .previousseasons { padding: 16px; }
}

/* ---------- formulieren, zoeken ----------------------------------------- */

input[type="text"], input[type="email"], textarea, select {
  font: inherit; border: 1px solid var(--af-line); border-radius: 8px; padding: 8px 10px; max-width: 100%;
}

/* ---------- footer ------------------------------------------------------- */

.afbottom { background: var(--af-ink); color: #c9c4b6; margin-top: auto; }
.affooter {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 28px 24px;
}
.af-footer-brand { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.af-footer-brand .af-brand-name { font-size: 22px; }
.af-footer-copy { font-size: 13px; color: #8d978f; }
.af-footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; font-size: 14px; }
.af-footer-links a { color: #c9c4b6; }
.af-footer-links a:hover { color: #fff; }

/* ---------- downloads/weblinks: twee kolommen ---------------------------- */

.mainleft .left_column, .mainleft .right_column { display: inline-block; vertical-align: top; width: calc(50% - 14px); min-width: 240px; margin: 0 10px 16px 0; }
@media (max-width: 600px) {
  .mainleft .left_column, .mainleft .right_column { display: block; width: auto; margin-right: 0; }
}

/* ---------- ADO-Post archief: uitklapbare boom (details/summary) --------- */

details.tree { margin: 0 0 6px; border: 1px solid var(--af-line); border-radius: 8px; padding: 0 12px; background: #fbfaf6; }
details.tree > summary { list-style: none; cursor: pointer; font-weight: 600; padding: 9px 0; }
details.tree > summary::-webkit-details-marker { display: none; }
details.tree > summary::before { content: "\25B8"; display: inline-block; width: 1.2em; color: var(--af-green-2); transition: transform .15s; }
details.tree[open] > summary::before { transform: rotate(90deg); }
details.tree details.tree { background: #fff; }
div.tree { padding: 6px 0 6px 1.2em; }

/* ---------- cookiebalk (jquery.cookiebar.js) ----------------------------- */

#cookie-bar {
  background: var(--af-ink); color: #eee; text-align: center; padding: 10px 16px; font-size: 14px; line-height: 1.5;
}
#cookie-bar.fixed { position: fixed; left: 0; right: 0; top: 0; z-index: 50; }
#cookie-bar.fixed.bottom { top: auto; bottom: 0; }
#cookie-bar p { margin: 0; }
#cookie-bar a {
  display: inline-block; margin-left: 10px; padding: 4px 12px; border-radius: 6px;
  color: var(--af-ink); background: var(--af-gold); font-weight: 600; text-decoration: none;
}
#cookie-bar a.cb-disable { background: #c9c4b6; }
#cookie-bar a.cb-policy { background: transparent; color: #fff; text-decoration: underline; }

/* ==========================================================================
   reskin-02: cron-fragmenten en sociale media
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Actueel nieuws: per dag een lijst */
.af-newslist { margin: 0; }
.af-newsday { padding: 14px 0 12px; border-top: 1px solid var(--af-line); }
.af-newsday:first-child { border-top: 0; padding-top: 0; }
.af-newsday h2 {
  font: 600 12px/1.3 var(--af-font); letter-spacing: .05em; text-transform: uppercase;
  color: var(--af-muted); margin: 0 0 6px;
}
.af-newsday ul { list-style: none; margin: 0; padding: 0; }
.af-newsday li { margin: 0 0 6px; }
.af-newsday li:last-child { margin-bottom: 0; }
.af-newsday a { font: 600 17px/1.35 var(--af-font); color: var(--af-ink); }
.af-newsday a:hover { color: var(--af-link); }

/* Lijsten in de rechterkolom: volledige titel in de HTML, hier op 2 regels afgekapt */
.af-linklist { list-style: none; margin: 0; padding: 0; }
.af-linklist li { padding: 8px 0; border-bottom: 1px solid var(--af-line); }
.af-linklist li:last-child { border-bottom: 0; }
.af-linklist a {
  color: var(--af-ink); line-height: 1.4;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.af-linklist a:hover { color: var(--af-link); }
.af-linklist-wide a { -webkit-line-clamp: unset; line-clamp: unset; display: inline; }
.mainleft .includemodule { box-shadow: none; padding: 0; margin: 0; }
@media (max-width: 1099px) { .af-social-list a { width: 40px; height: 40px; } }
.af-linklist-num { counter-reset: af-top; }
.af-linklist-num li { counter-increment: af-top; display: flex; gap: 10px; align-items: baseline; }
.af-linklist-num li::before {
  content: counter(af-top); flex: none; width: 1.6em; text-align: right;
  font: 800 16px/1 var(--af-display); color: var(--af-green-2);
}
.af-year {
  display: inline-block; margin-right: 4px; padding: 1px 6px; border-radius: 4px;
  background: var(--af-paper); color: var(--af-muted); font-size: 12px; font-weight: 600; vertical-align: 1px;
}
.af-random { margin: 0; }
.af-random .af-meta { display: block; font-size: 12px; color: var(--af-muted); margin-bottom: 4px; }
.af-random a { color: var(--af-ink); font-weight: 600; }

/* Volgende wedstrijd */
.af-match { text-align: center; }
.af-match .tabelhead { text-align: left; }
.af-match-when { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--af-muted); }
.af-match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.af-match-team { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; line-height: 1.2; }
.af-match-team img { width: 48px; height: auto; border-radius: 0; }
.af-match-vs { font: 800 18px/1 var(--af-display); color: var(--af-muted); }
.af-match-where { margin: 12px 0 0; font-size: 13px; color: var(--af-muted); }
.af-match-link {
  display: block; margin-top: 14px; padding: 9px 12px; border-radius: 8px;
  background: var(--af-green); color: #fff; font-weight: 600; font-size: 14px;
}
.af-match-link:hover { background: var(--af-green-2); text-decoration: none; }

/* Competitiestand */
.af-standings-table abbr { text-decoration: none; cursor: help; }
.af-standings-table thead th { font-size: 11px; }
.af-standings-table td.af-pts { font-weight: 700; }
.af-standings-table tr.af-ado td { background: #fbf3d6; font-weight: 700; color: var(--af-green); }
.af-standings-table tr.af-ado td:first-child { box-shadow: inset 3px 0 0 var(--af-gold); }

/* Sociale media: iconen uit de bestaande sprite /img/af-socialmedia-new.gif (140x27) */
.af-social-list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; justify-content: center; }
.af-social-list a {
  display: grid; place-items: center; width: 31px; height: 31px; border-radius: 6px; background: #f6f4ee;
}
.af-social-list a:hover { background: #ebe7da; }
.af-social-list a::before {
  content: ""; width: 27px; height: 27px;
  background: url(/img/af-socialmedia-new.gif) no-repeat 0 0;
}
.af-social-x::before   { background-position:    0   0 !important; }
.af-social-fb::before  { background-position:  -29px 0 !important; }
.af-social-rss::before { background-position:  -58px 0 !important; }
.af-social-li::before  { background-position:  -87px 0 !important; }
.af-social-ig::before  { background-position: -113px 0 !important; }

/* ==========================================================================
   share-01: deelknoppen op artikelpagina's
   Iconen uit /img/af-socialmedia-new.gif (zelfde afbeelding als het blok "Volg ADOfans.nl")
   ========================================================================== */
.af-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 20px; }
.af-share-title { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--af-muted); margin-right: 4px; }
.af-share-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px;
  border: 1px solid var(--af-line); border-radius: 999px; background: var(--af-card);
  font: 600 14px/1 var(--af-font); color: var(--af-ink); cursor: pointer; text-decoration: none;
}
.af-share-btn:hover { background: var(--af-paper); text-decoration: none; }
.af-share-btn::before { content: ""; flex: none; width: 27px; height: 27px; border-radius: 6px; background: url(/img/af-socialmedia-new.gif) no-repeat 0 0; }
.af-share-x::before  { background-position:    0   0; }
.af-share-fb::before { background-position:  -29px 0; }
.af-share-ig::before { background-position: -113px 0; }
/* zonder deelmenu (computer) wordt het "Link kopiëren": dan geen Instagram-icoon tonen */
.af-share-copy::before { display: none; }
.af-share-copy { padding-left: 14px; min-height: 41px; }
.newsarticle h3 + br + .af-share, .newsarticle > .af-share:last-of-type { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--af-line); }
@media print { .af-share { display: none !important; } }

/* ==========================================================================
   consent-01: cookietoestemming (popup, instellingen, plaatsaanduidingen)
   ========================================================================== */
#afc-backdrop { position: fixed; inset: 0; background: rgba(20, 26, 22, .55); z-index: 9998; }
#afc { position: fixed; z-index: 9999; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  padding: 28px 28px 22px; font-family: var(--af-font); color: var(--af-ink); }
#afc[hidden], #afc-backdrop[hidden] { display: none; }
#afc::before { content: ""; display: block; height: 5px; width: 56px; border-radius: 3px; background: var(--af-gold); margin-bottom: 16px; }
#afc h2 { font: 800 30px/1.05 var(--af-display); margin: 0 0 12px; color: var(--af-ink); }
#afc p { font-size: 15px; line-height: 1.55; margin: 0 0 20px; color: #2b332e; }
#afc a { color: var(--af-link); }
.afc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.afc-btn { font: 700 15px/1 var(--af-font); padding: 14px 12px; border-radius: 10px; cursor: pointer;
  border: 2px solid var(--af-green); background: var(--af-green); color: #fff; }
.afc-btn:hover { filter: brightness(1.12); }
.afc-link { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--af-link);
  font: 600 14px var(--af-font); text-decoration: underline; cursor: pointer; }
.afc-settings { display: none; }
#afc.show-settings .afc-main { display: none; }
#afc.show-settings .afc-settings { display: block; }
.afc-cat { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--af-line); }
.afc-cat:last-of-type { border-bottom: 1px solid var(--af-line); margin-bottom: 18px; }
.afc-cat strong { display: block; font-size: 15px; }
.afc-cat span { display: block; font-size: 13px; color: var(--af-muted); margin-top: 2px; }
.afc-sw { appearance: none; -webkit-appearance: none; flex: none; width: 46px; height: 26px; border-radius: 13px;
  background: #c9c4b6; position: relative; cursor: pointer; margin: 0; }
.afc-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; }
.afc-sw:checked { background: var(--af-green); }
.afc-sw:checked::after { left: 23px; }
.afc-sw:disabled { opacity: .55; cursor: default; }
html.afc-open { overflow: hidden; }
@media (max-width: 600px) {
  #afc { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 90vh; border-radius: 16px 16px 0 0; padding: 22px 18px 18px; }
  #afc h2 { font-size: 26px; }
  .afc-btns { grid-template-columns: 1fr; }
}
/* plaatsaanduidingen voor tegengehouden inhoud */
.afc-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  border: 2px dashed var(--af-line); border-radius: 10px; padding: 14px; color: var(--af-muted); font-size: 13px; line-height: 1.4; }
.afc-ph button { font: 600 13px var(--af-font); padding: 7px 12px; border-radius: 8px; border: 0; background: var(--af-green); color: #fff; cursor: pointer; }
.afc-ph a { font-size: 12px; }
.afc-ph-ad { width: 120px; min-height: 240px; margin: 0 auto; }
.afc-ph-search { padding: 10px; }
.afc-ph-media { margin: 16px 0; min-height: 160px; background: var(--af-paper); }
.afc-released { display: contents; }
[hidden], iframe[hidden], .newsarticle h3 iframe[hidden] { display: none !important; }
@media print { #afc, #afc-backdrop, .afc-ph { display: none !important; } }

/* ==========================================================================
   headers-01: blokkoppen als groene balk in de kleur van de menubalk
   ========================================================================== */
.includemodule > .tabelhead, .includemodule > .tabelhead-left {
  margin: -16px -18px 14px; padding: 11px 18px 10px;
  background: var(--af-bar); color: #fff; border-left: 0;
  border-radius: var(--af-radius) var(--af-radius) 0 0;
  border-bottom: 3px solid var(--af-gold);
  font: 700 12.5px/1.3 var(--af-font); letter-spacing: .06em;
}
.af_left .includemodule > .tabelhead { margin: -14px -14px 12px; padding: 10px 14px 9px; }
.includemodule > .tabelhead h1, .includemodule > .tabelhead h2 { color: #fff; }
/* binnen een paginablok (bv. /ralong) geen balk: daar is de kop gewone tekst */
.mainleft .includemodule > .tabelhead { margin: 0 0 12px; padding: 0 0 0 12px; background: none; color: var(--af-ink);
  border-radius: 0; border-bottom: 0; border-left: 4px solid var(--af-gold); }
.mainleft .includemodule > .tabelhead h1, .mainleft .includemodule > .tabelhead h2 { color: var(--af-ink); }
/* competitiestand: de kop is een <caption> in de tabel */
.af-standings { padding-top: 0 !important; }
.af-standings-table caption {
  background: var(--af-bar); color: #fff; border-left: 0; text-align: left;
  padding: 10px 14px 9px; margin: 0 -14px 10px; width: calc(100% + 28px);
  border-radius: var(--af-radius) var(--af-radius) 0 0; border-bottom: 3px solid var(--af-gold);
}

/* ==========================================================================
   stand-01 (oktober 2026)
   D7  alle groene kopbalken gelijk: lettertype/grootte van de menubalk, hoofdletters
   D6  competitiestand: rijen afwisselend donker/lichter groen, ADO-rij geel
   D8  gele lijn tussen meerdere berichten op dezelfde dag
   D9  datum als klein groen label
   + uitlijning kolomkoppen competitiestand
   ========================================================================== */
:root { --af-bar-font: 600 15px/1.3 var(--af-font); }

/* D7: paginakoppen van de hoofdblokken als groene balk */
.mainleft > .tabelhead, .newsarchive > .tabelhead, .previousseasons > .tabelhead {
  margin: -20px -24px 18px; padding: 12px 24px 10px;
  background: var(--af-bar); border-radius: var(--af-radius) var(--af-radius) 0 0;
  border-bottom: 3px solid var(--af-gold);
}
.mainleft > .tabelhead::after, .newsarchive > .tabelhead::after, .previousseasons > .tabelhead::after { display: none; }
/* D7: blokkoppen en stand-kop: zelfde hoogte */
.includemodule > .tabelhead, .includemodule > .tabelhead-left { padding: 12px 18px 10px; }
.af_left .includemodule > .tabelhead { padding: 12px 14px 10px; }
.af-standings-table caption { padding: 12px 14px 10px; }
/* D7: één lettertype en één grootte voor alle balken (= menubalk) */
.mainleft > .tabelhead, .mainleft > .tabelhead h1, .mainleft > .tabelhead h2,
.newsarchive > .tabelhead, .newsarchive > .tabelhead h1,
.previousseasons > .tabelhead, .previousseasons > .tabelhead h1,
.includemodule > .tabelhead, .includemodule > .tabelhead h1, .includemodule > .tabelhead h2, .includemodule > .tabelhead-left,
.af-standings-table caption {
  font: var(--af-bar-font) !important; letter-spacing: .04em !important; text-transform: uppercase; color: #fff !important;
}
/* binnen een paginablok (bv. /ralong) blijft een blokkop gewone tekst */
.mainleft .includemodule > .tabelhead, .mainleft .includemodule > .tabelhead h1, .mainleft .includemodule > .tabelhead h2 { color: var(--af-ink) !important; }
@media (max-width: 600px) {
  .mainleft > .tabelhead, .newsarchive > .tabelhead, .previousseasons > .tabelhead { margin: -16px -16px 16px; padding-left: 16px; padding-right: 16px; }
}

/* D6: competitiestand, variant B */
.af-standings-table tbody tr td { border-bottom: 0; padding-top: 7px; padding-bottom: 7px; color: #fff; }
.af-standings-table tbody tr:nth-child(odd) td  { background: #006242; }   /* Pantone 3425 */
.af-standings-table tbody tr:nth-child(even) td { background: #00843D; }   /* Pantone 348  */
.af-standings-table tbody tr td:first-child { padding-left: 8px; }
.af-standings-table tbody tr td:last-child  { padding-right: 8px; }
.af-standings-table abbr { color: inherit; }
.af-standings-table tr.af-ado td { background: #FFD100 !important; color: #154734 !important; font-weight: 800; box-shadow: none !important; }  /* ADO: Pantone 109 */
/* uitlijning: kolomkoppen boven de getallen */
.af-standings-table th.txt-right, .af-standings-table td.txt-right { text-align: right; }

/* D8: gele lijn tussen meerdere berichten op dezelfde dag (home + archief) */
.af-newsday li { margin-bottom: 0; }
.af-newsday li + li { border-top: 2px solid var(--af-gold); margin-top: 8px; padding-top: 8px; }
.newsarchive h2 + h2 { border-top: 2px solid var(--af-gold); margin-top: 8px; padding-top: 8px; }

/* D9: datum als klein groen label */
.af-newsday h2, .newsarchive > h3 {
  display: inline-block; margin: 0 0 8px; padding: 4px 10px 3px;
  background: var(--af-bar); color: #fff; border-radius: 6px 6px 0 0; border-bottom: 2px solid var(--af-gold);
  font: 600 12px/1.3 var(--af-font); letter-spacing: .05em;
}
.af-newsday h2 time { color: #fff; }
.newsarchive > h3 { margin-top: 14px; }

/* ==========================================================================
   hover-01: links worden geel bij aanwijzen
   - op lichte achtergrond: gele markering achter de tekst, tekst blijft donker
     (gele tekst op wit is onleesbaar: contrast 1,6:1)
   - op donkere achtergrond (menu, topbalk, footer): de tekst wordt geel
   Knoppen, afbeeldingslinks en de deelknoppen houden hun eigen stijl.
   ========================================================================== */
.af-content a:hover, .af-content a:focus-visible,
.af_left a:hover, .af_left a:focus-visible {
  background: var(--af-gold); color: var(--af-ink) !important; text-decoration: none;
  box-shadow: 0 0 0 2px var(--af-gold); border-radius: 2px;
}
/* uitzonderingen: knoppen, afbeeldingslinks, deelknoppen, sociale iconen, plaatsaanduidingen */
.af-content a.af-match-link:hover, .af_left a.af-match-link:hover { background: var(--af-green-2); color: #fff !important; box-shadow: none; }
.af-content a.af-share-btn:hover { background: var(--af-paper); color: var(--af-ink) !important; box-shadow: none; }
.af-content a:has(img):hover, .af_left a:has(img):hover { background: none; box-shadow: none; }
.af_left .af-social-list a:hover { background: #ebe7da; box-shadow: none; }
.afc-ph a:hover { background: none; box-shadow: none; text-decoration: underline; }
/* donkere achtergrond: gele tekst */
.af-nav-list a:hover, .af-nav-list a:focus-visible { color: var(--af-gold); }
.af-topbar a:hover, .af-topbar a:focus-visible { color: var(--af-gold); text-decoration: none; }
.af-footer-links a:hover, .af-footer-links a:focus-visible { color: var(--af-gold); text-decoration: none; }

/* bg-01: op telefoons/tablets geen 'fixed' achtergrond (iOS ondersteunt dat niet goed en het kost rekenkracht) */
@media (max-width: 1024px) { body { background-attachment: scroll; } }

/* casper-01: Support Casper-blok in de rechterkolom */
.af-casper a { display: block; border-radius: 8px; overflow: hidden; }
.af-casper img { display: block; width: 100%; height: auto; }
.af-casper a:hover { box-shadow: none !important; background: none !important; }

/* ==========================================================================
   header-02 (D13/D14/D15)
   ========================================================================== */
/* D13: logo gecentreerd, max 840 px (mobiel volle breedte) */
.af-brandbar { display: block; text-align: center; }
.af-brand { display: inline-block; }
.af-brand-banner { width: 840px; max-width: 100%; height: auto; border-radius: 8px; margin: 0 auto; }
/* D14: sociale iconen in de topbalk (sprite /img/af-socialmedia-new.gif, 140x27) */
.af-topbar { display: flex; align-items: center; }
.af-topbar-date { margin-right: auto; }
.af-top-social { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; align-items: center; }
.af-top-social a { display: block; width: 24px; height: 24px; border-radius: 5px; overflow: hidden; opacity: .92; }
.af-top-social a:hover, .af-top-social a:focus-visible { opacity: 1; box-shadow: 0 0 0 2px var(--af-gold); }
.af-top-social a::before { content: ""; display: block; width: 24px; height: 24px;
  background: url(/img/af-socialmedia-new.gif) no-repeat 0 0; background-size: 124.4px 24px; }
.af-top-social .af-ts-x::before   { background-position:    0    0; }
.af-top-social .af-ts-fb::before  { background-position: -25.8px 0; }
.af-top-social .af-ts-rss::before { background-position: -51.6px 0; }
.af-top-social .af-ts-li::before  { background-position: -77.3px 0; }
.af-top-social .af-ts-ig::before  { background-position: -100.4px 0; }
.af-top-social .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
  .af-top-social { gap: 7px; }
  .af-top-social a, .af-top-social a::before { width: 27px; height: 27px; }
  .af-top-social a::before { background-size: 140px 27px; }
  .af-top-social .af-ts-fb::before  { background-position: -29px 0; }
  .af-top-social .af-ts-rss::before { background-position: -58px 0; }
  .af-top-social .af-ts-li::before  { background-position: -87px 0; }
  .af-top-social .af-ts-ig::before  { background-position: -113px 0; }
  .af-brand-banner { border-radius: 6px; }
}
/* search-01: zoekresultaten van Google in de middenkolom */
#zoekresultaten .gsc-control-cse { padding: 0; border: 0; background: transparent; font-family: var(--af-font); }
#zoekresultaten .gsc-result .gs-title, #zoekresultaten .gsc-result .gs-title * { font-family: var(--af-font); font-size: 17px; }

/* side-01: geen Google-watermerk ("Geoptimaliseerd door Google") in het zoekveld.
   Volgens de Programmable Search branding-richtlijnen is dat watermerk optioneel;
   de vermelding bij de zoekresultaten blijft. */
input.gsc-input, .gsc-input-box input.gsc-input { background-image: none !important; text-indent: 0 !important; }
input.gsc-input::placeholder { color: transparent; }

/* ==========================================================================
   banner-01: banner met klikbare sociale iconen
   Klikvlakken in % van de afbeelding (origineel 2576x555; cirkels op x=1744..2485, y=458, r=50)
   ========================================================================== */
.af-brand-wrap { position: relative; display: inline-block; max-width: 100%; vertical-align: top; }
.af-brand-wrap .af-brand { display: block; }
.af-bsoc { position: absolute; top: 73.51%; width: 3.88%; height: 18.02%; border-radius: 50%; }
.af-bsoc:hover, .af-bsoc:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--af-bar); background: rgba(255,255,255,.18) !important; outline: none; }
.af-bsoc-fb { left: 65.76%; } .af-bsoc-x { left: 70.61%; } .af-bsoc-ig { left: 75.47%; } .af-bsoc-yt { left: 80.32%; }
.af-bsoc-li { left: 85.17%; } .af-bsoc-rss { left: 90.02%; } .af-bsoc-mail { left: 94.53%; }
.af-bsoc .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* topbalk-iconen alleen op mobiel; op grotere schermen staan ze in de banner */
@media (min-width: 601px) { .af-top-social { display: none; } }
/* op mobiel zijn de banner-iconen te klein om aan te tikken: daar niet klikbaar, de topbalk-iconen nemen het over */
@media (max-width: 600px) { .af-bsoc { display: none; } }

/* hover-02: uitklapbare seizoenen (<details><summary>, bv. ADO-Post-archief) krijgen dezelfde gele markering als links */
.af-content details > summary { cursor: pointer; border-radius: 2px; }
.af-content details > summary:hover, .af-content details > summary:focus-visible {
  background: var(--af-gold); color: var(--af-ink) !important; box-shadow: 0 0 0 2px var(--af-gold); outline: none;
}

/* ==========================================================================
   share-03: deelknoppen met dezelfde ronde iconen als de banner (X, Facebook, Instagram)
   Iconen transparant uitgesneden uit de banner: /img/share/share-*.png (32 px + 64 px)
   ========================================================================== */
.af-share-btn::before { width: 28px; height: 28px; border-radius: 0; background-size: 28px 28px !important; background-position: 0 0 !important; }
.af-share-x::before  { background-image: url(/img/share/share-x.png);  background-image: image-set(url(/img/share/share-x.png) 1x, url(/img/share/share-x@2x.png) 2x); }
.af-share-fb::before { background-image: url(/img/share/share-fb.png); background-image: image-set(url(/img/share/share-fb.png) 1x, url(/img/share/share-fb@2x.png) 2x); }
.af-share-ig::before { background-image: url(/img/share/share-ig.png); background-image: image-set(url(/img/share/share-ig.png) 1x, url(/img/share/share-ig@2x.png) 2x); }
/* sinds share-02 is er één deelbalk (onder de titel): geen lijn/extra ruimte erboven */
.newsarticle > .af-share:last-of-type, .newsarticle h3 + br + .af-share { margin-top: 4px; padding-top: 0; border-top: 0; }

/* colors-01: lopende tekst iets zachter dan de koppen; focusrand in ADO-lime */
body { color: #1d3328; }
:focus-visible { outline-color: var(--af-lime); }

/* 404-01: pagina niet gevonden, met de ooievaar */
.af-404 { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 24px; align-items: center; }
.af-404 img { display: block; width: 100%; height: auto; border-radius: 10px; }
.af-404-text p { margin: 0 0 10px; }
.af-404-text ul { margin: 12px 0 0; padding-left: 18px; }
.af-404-text li { margin: 6px 0; }
@media (max-width: 700px) { .af-404 { grid-template-columns: 1fr; } .af-404 img { max-width: 360px; margin: 0 auto; } }

/* ---------- print -------------------------------------------------------- */

@media print {
  .af-header, .af_left, .afright_main, .afbottom, .af_headerads, .adsbygoogle { display: none !important; }
  .afmiddel { display: block; padding: 0; }
  .mainleft, .newsarticle { box-shadow: none; max-width: none; }
}
