/* Oudersenzo – zachte kleuren uit Instructies.docx */
:root {
  --creme: #FAF7F1;
  --zand: #D6B78B;
  --zand-licht: #E8D3B3;
  --zand-zacht: #F3E9DA;
  --salie: #9CA98A;
  --salie-zacht: #E6EADF;
  --olijf: #687455;
  --terra: #D88F70;
  --terra-donker: #B86A4B;
  --geel: #EBCB8B;
  --tekst: #403D38;
  --tekst-zacht: #6E6860;
  --wit: #FFFFFF;
  --rond: 14px;
  --schaduw: 0 1px 2px rgba(64, 61, 56, .06), 0 6px 20px rgba(64, 61, 56, .07);
  --breed: 1240px;
  --kopfont: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, sans-serif;
  --tekstfont: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--creme); color: var(--tekst); font: 17px/1.65 var(--tekstfont); }
img { max-width: 100%; height: auto; }
a { color: var(--terra-donker); text-underline-offset: .15em; }
a:hover { color: var(--olijf); }
h1, h2, h3, h4 { font-family: var(--kopfont); color: var(--olijf); line-height: 1.25; margin: 1.6em 0 .5em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); margin-top: .3em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); }
h3 { font-size: 1.2rem; }
small { font-size: .7em; color: var(--tekst-zacht); font-weight: normal; }
.wrap { max-width: var(--breed); margin: 0 auto; padding: 0 1rem; }
.smal { max-width: 760px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--olijf); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 4px; }
.klein { font-size: .85rem; color: var(--tekst-zacht); }

/* ---------- kop ---------- */
.topbalk { background: var(--olijf); font-size: .85rem; }
.topbalk ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
.topbalk a { color: #fff; text-decoration: none; display: inline-block; padding: .35rem 0; opacity: .92; }
.topbalk a:hover { opacity: 1; text-decoration: underline; color: #fff; }
.kop { background: var(--wit); border-bottom: 1px solid var(--zand-licht); }
.kop-inner { display: flex; align-items: center; gap: 1.2rem; padding-top: .6rem; padding-bottom: .6rem; }
.logo img { display: block; height: 110px; width: auto; }
.tagline { margin: 0; color: var(--tekst-zacht); font-family: var(--kopfont); font-size: 1.05rem; font-style: italic; flex: 1; }
.zoek { display: flex; align-items: center; background: var(--creme); border: 1px solid var(--zand); border-radius: 999px; padding: .15rem .2rem .15rem .9rem; min-width: 0; }
.zoek input { border: 0; background: transparent; font: inherit; font-size: .95rem; padding: .45rem 0; width: 15rem; min-width: 0; color: var(--tekst); }
.zoek input:focus { outline: none; }
.zoek:focus-within { outline: 3px solid var(--geel); }
.zoek button { border: 0; background: var(--terra); color: #fff; border-radius: 999px; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; cursor: pointer; }
.zoek button:hover { background: var(--terra-donker); }
.zoek.groot { max-width: 34rem; margin: 1.5rem 0 2rem; }
.zoek.groot input { width: 100%; flex: 1; }
.zoek.groot button { width: auto; padding: 0 1.1rem; font: inherit; }

/* hoofdmenu (desktop) met uitklappanelen */
.hoofdmenu { border-top: 1px solid var(--zand-zacht); position: relative; }
.hm { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.hm > li > a { display: block; padding: .75rem .7rem; color: var(--olijf); text-decoration: none; font-family: var(--kopfont); font-weight: 600; font-size: .98rem; border-bottom: 3px solid transparent; }
.hm > li:hover > a, .hm > li:focus-within > a { border-bottom-color: var(--terra); color: var(--terra-donker); }
.hm > li { position: relative; }
.mega { display: none; position: absolute; left: 0; top: 100%; min-width: 270px; max-width: 340px; background: var(--wit); border: 1px solid var(--zand-licht); border-top: 3px solid var(--terra); border-radius: 0 0 12px 12px; box-shadow: 0 16px 28px rgba(64, 61, 56, .13); z-index: 20; }
.hm > li:last-child .mega, .hm > li:nth-last-child(2) .mega { left: auto; right: 0; }
.hm > li:hover > .mega, .hm > li:focus-within > .mega { display: block; }
.mega-kolommen { list-style: none; margin: 0; padding: .4rem 0; }
.mega-kop { display: block; padding: .5rem 1.1rem; color: var(--tekst); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.mega-kop:hover, .mega-kop:focus-visible { background: var(--zand-zacht); color: var(--terra-donker); }

/* mobiel menu */
.mobielmenu { display: none; }
.mobielmenu > summary { list-style: none; cursor: pointer; padding: .7rem 1rem; font-family: var(--kopfont); font-weight: 700; color: var(--olijf); display: flex; align-items: center; gap: .6rem; border-top: 1px solid var(--zand-zacht); }
.mobielmenu > summary::-webkit-details-marker { display: none; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; }
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.mm { list-style: none; margin: 0; padding: 0; }
.mm-0 { padding: 0 1rem 1rem; }
.mm li { border-bottom: 1px solid var(--zand-zacht); }
.mm a, .mm summary { display: block; padding: .6rem 0; color: var(--tekst); text-decoration: none; cursor: pointer; }
.mm summary { font-weight: 600; color: var(--olijf); list-style: none; display: flex; justify-content: space-between; }
.mm summary::-webkit-details-marker { display: none; }
.mm summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--terra); }
.mm details[open] > summary::after { content: "–"; }
.mm .mm { padding-left: 1rem; }
.mm-alles { font-size: .9rem; color: var(--terra-donker) !important; }

/* ---------- homepage ---------- */
.welkom { background: linear-gradient(135deg, var(--salie-zacht), var(--zand-zacht)); border-bottom: 1px solid var(--zand-licht); }
.welkom-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; padding-top: 2rem; padding-bottom: 2rem; }
.welkom h1 { margin: 0 0 .4rem; }
.welkom p { margin: 0; font-size: 1.08rem; }
.fasen p { font-family: var(--kopfont); font-weight: 700; color: var(--olijf); margin: 0 0 .5rem; }
.fasen ul, .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.fasen a { display: inline-block; background: var(--wit); border: 1px solid var(--zand); color: var(--olijf); padding: .45rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
.fasen a:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.sectie-kop { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.sectie-kop h2 { margin: 0 0 1rem; }
.sectie-kop p { margin: 0 0 1rem; color: var(--tekst-zacht); }
.home-duo { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin: 2.5rem 0; }
.handig { background: var(--wit); border: 1px solid var(--zand-licht); border-radius: var(--rond); padding: 1.2rem 1.4rem; align-self: start; }
.handig h2 { margin-top: 0; }
.handig ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.handig a { display: block; padding: .45rem 0; border-bottom: 1px dashed var(--zand-licht); text-decoration: none; font-weight: 600; }
.handig a::before { content: "→ "; color: var(--salie); }
.archief { margin-bottom: 3rem; }

/* ---------- kaarten ---------- */
.kaarten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.kaart { background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.kaart:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(64, 61, 56, .08), 0 12px 28px rgba(64, 61, 56, .12); }
.kaart-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.kaart-beeld { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--zand-zacht); }
.kaart-leeg { background: linear-gradient(135deg, var(--zand-licht), var(--salie-zacht)); }
.kaart-tekst { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.kaart h3 { font-size: 1.05rem; margin: .35rem 0 .4rem; color: var(--olijf); }
.kaart-link:hover h3 { color: var(--terra-donker); }
.kaart p { font-size: .9rem; margin: 0 0 .6rem; color: var(--tekst-zacht); line-height: 1.5; }
.kaart time { margin-top: auto; font-size: .8rem; color: var(--tekst-zacht); }
.label { align-self: flex-start; background: var(--salie-zacht); color: var(--olijf); font-size: .75rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }
.chips a { display: inline-block; background: var(--salie-zacht); color: var(--olijf); font-size: .85rem; font-weight: 600; padding: .25rem .8rem; border-radius: 999px; text-decoration: none; }
.chips a:hover { background: var(--salie); color: #fff; }

/* bladeren */
.bladeren { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 2rem 0 1rem; }
.bladeren a, .bladeren span { min-width: 2.4rem; padding: .45rem .75rem; border-radius: 10px; text-align: center; text-decoration: none; }
.bladeren a { background: var(--wit); border: 1px solid var(--zand-licht); color: var(--olijf); }
.bladeren a:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.bladeren .huidig { background: var(--olijf); color: #fff; }

/* meest gelezen */
.meest-gelezen h2 { margin-top: 0; }
.meest-gelezen ol { list-style: none; margin: 0; padding: 0; counter-reset: mg; display: grid; gap: .6rem; }
.meest-gelezen li { counter-increment: mg; }
.meest-gelezen a { display: grid; grid-template-columns: 2rem 96px 1fr; gap: .75rem; align-items: center; color: var(--tekst); text-decoration: none; font-weight: 600; line-height: 1.35; }
.meest-gelezen a::before { content: counter(mg); font-family: var(--kopfont); font-size: 1.5rem; font-weight: 800; color: var(--zand); text-align: center; }
.meest-gelezen a:not(:has(img)) { grid-template-columns: 2rem 1fr; }
.meest-gelezen img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; }
.meest-gelezen a:hover span { color: var(--terra-donker); text-decoration: underline; }
.home-duo .meest-gelezen ol { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }

/* ---------- bericht ---------- */
.leesvoortgang { position: fixed; top: 0; left: 0; height: 4px; width: 100%; background: var(--terra); transform-origin: 0 50%; transform: scaleX(0); z-index: 30; }
@supports (animation-timeline: scroll()) {
  .leesvoortgang { animation: lees linear both; animation-timeline: scroll(root); }
  @keyframes lees { to { transform: scaleX(1); } }
}
@supports not (animation-timeline: scroll()) { .leesvoortgang { display: none; } }
.bericht-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; margin-top: 1.2rem; margin-bottom: 3rem; }
.bericht { min-width: 0; max-width: 780px; }
.kruimel ol { list-style: none; padding: 0; margin: 1rem 0 .8rem; display: flex; flex-wrap: wrap; font-size: .85rem; color: var(--tekst-zacht); }
.kruimel li + li::before { content: "›"; margin: 0 .45rem; color: var(--zand); }
.kruimel a { color: var(--tekst-zacht); }
.bericht-kop .chips { margin-bottom: .6rem; }
.bericht-meta { color: var(--tekst-zacht); font-size: .9rem; margin: 0 0 1.2rem; }
.uitgelicht { margin: 0 0 1.5rem; }
.uitgelicht img { width: 100%; border-radius: var(--rond); aspect-ratio: 16 / 9; object-fit: cover; }
.inhoudsopgave { background: var(--wit); border: 1px solid var(--zand-licht); border-left: 5px solid var(--salie); border-radius: var(--rond); padding: .8rem 1.2rem; margin: 0 0 1.8rem; }
.inhoudsopgave summary { cursor: pointer; font-family: var(--kopfont); font-weight: 700; color: var(--olijf); }
.inhoudsopgave ol { margin: .6rem 0 .2rem; padding-left: 1.3rem; }
.inhoudsopgave li { margin: .15rem 0; }

.inhoud { font-size: 1.06rem; overflow-wrap: break-word; }
.inhoud > :first-child { margin-top: 0; }
.inhoud p, .inhoud ul, .inhoud ol { margin: 0 0 1.1em; }
.inhoud img { border-radius: 10px; }
.inhoud figure { margin: 1.5em 0; }
.inhoud figcaption, .inhoud .wp-element-caption, .bijschrift { font-size: .85rem; color: var(--tekst-zacht); text-align: center; margin-top: .4rem; }
.inhoud .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 45%; }
.inhoud .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 45%; }
.inhoud .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.inhoud h2, .inhoud h3 { clear: both; }
.inhoud blockquote, .inhoud .wp-block-quote { margin: 1.5em 0; padding: .8em 1.3em; background: var(--zand-zacht); border-left: 5px solid var(--geel); border-radius: 0 var(--rond) var(--rond) 0; font-style: italic; }
.inhoud hr, hr.lijn { clear: both; border: 0; height: 2px; margin: 2em auto; max-width: 180px; background: linear-gradient(90deg, transparent, var(--zand), transparent); }
.inhoud .video { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; }
.inhoud .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--rond); }
.inhoud iframe { max-width: 100%; }
.tabel-scroll { overflow-x: auto; margin: 1.5em 0; }
.inhoud table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--wit); }
.inhoud th, .inhoud td { border: 1px solid var(--zand-licht); padding: .5em .7em; text-align: left; vertical-align: top; }
.inhoud tr:nth-child(even) td { background: var(--creme); }
.inhoud th, .inhoud thead td { background: var(--salie-zacht); color: var(--olijf); }
/* themapagina's: tabellen met plaatjes worden tegels */
.tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.1rem; margin: 1.5em 0; clear: both; }
.tegel { background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw); overflow: hidden; transition: transform .15s ease; }
.tegel:hover { transform: translateY(-3px); }
.tegel a { display: block; color: var(--olijf); text-decoration: none; font-family: var(--kopfont); line-height: 1.3; }
.tegel img { display: block; width: 100% !important; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; margin: 0; }
.tegel strong, .tegel a > :not(img) { display: block; padding: .6rem 1.1rem .85rem; }
.tegel-titel { font-size: .95rem; font-weight: 700; line-height: 1.3; }
.tegel a:hover { color: var(--terra-donker); }
.tegel > :not(a) { padding: 0 .9rem; }

.tags { margin: 2rem 0 1rem; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.tags span { color: var(--tekst-zacht); }
.tags a { background: var(--wit); border: 1px solid var(--zand-licht); border-radius: 999px; padding: .15rem .7rem; text-decoration: none; color: var(--tekst); }
.tags a:hover { border-color: var(--terra); color: var(--terra-donker); }
.vorige-volgende { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.vorige-volgende a { background: var(--wit); border: 1px solid var(--zand-licht); border-radius: var(--rond); padding: .8rem 1rem; text-decoration: none; color: var(--olijf); font-weight: 600; line-height: 1.35; }
.vorige-volgende small { display: block; font-size: .78rem; margin-bottom: .2rem; }
.vorige-volgende .volgende { text-align: right; }
.vorige-volgende a:hover { border-color: var(--terra); }
.lees-ook { border-top: 2px solid var(--zand-licht); margin-top: 2rem; }
.kaarten-4 { grid-template-columns: repeat(2, 1fr); }
.zijbalk .meest-gelezen { background: var(--wit); border: 1px solid var(--zand-licht); border-radius: var(--rond); padding: 1.2rem; margin-top: 3.2rem; }
.zijbalk .meest-gelezen h2 { font-size: 1.25rem; }
.zijbalk .meest-gelezen a { grid-template-columns: 1.6rem 72px 1fr; font-size: .9rem; }
.zijbalk .meest-gelezen img { width: 72px; height: 41px; }

/* overzichten */
.archief-kop { margin-bottom: 1.5rem; }
.archief-kop h1 { margin-bottom: .4rem; }
.archief-intro { max-width: 760px; color: var(--tekst-zacht); }
.archief-kop .chips { margin-top: 1rem; }
.leeg { font-size: 1.1rem; margin: 2rem 0; }

/* formulieren (contact, rekenhulp) */
.contact, .rekenhulp { background: var(--wit); border: 1px solid var(--zand-licht); border-radius: var(--rond); padding: 1.4rem 1.5rem; margin: 2rem 0; }
.contact h2, .rekenhulp h3 { margin-top: 0; }
.formulier, .rekenhulp { display: grid; gap: .9rem; }
.formulier label, .rekenhulp label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.formulier input, .formulier textarea, .rekenhulp input { font: inherit; font-weight: normal; padding: .6rem .75rem; border: 1px solid var(--zand); border-radius: 10px; background: var(--creme); color: var(--tekst); width: 100%; }
.formulier input.kort, .rekenhulp input[type=number] { max-width: 8rem; }
.rekenhulp input[type=date] { max-width: 14rem; }
.formulier button, .rekenhulp button { justify-self: start; font: inherit; font-weight: 700; background: var(--terra); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.6rem; cursor: pointer; }
.formulier button:hover, .rekenhulp button:hover { background: var(--terra-donker); }
.formulier-fout, .rekenhulp-fout { background: #FBE9E2; border-left: 4px solid var(--terra); padding: .6rem .9rem; border-radius: 8px; margin: 0; }
.rekenhulp-resultaat:empty { display: none; }
.rekenhulp-resultaat { background: var(--salie-zacht); border-radius: 10px; padding: .9rem 1.1rem; }
.rekenhulp-uitkomst { font-size: 1.15rem; margin: 0 0 .4rem; }
.rekenhulp-resultaat ul { margin: 0 0 .5rem; padding-left: 1.2rem; }

/* ---------- voet ---------- */
.voet { background: var(--olijf); color: #F1EEE6; margin-top: 3rem; font-size: .92rem; }
.voet-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; padding-top: 2rem; padding-bottom: 1.5rem; }
.voet-over { display: flex; gap: 1rem; align-items: flex-start; }
.voet-over img { border-radius: 10px; background: var(--creme); }
.voet-over p { margin: 0; }
.voet-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.voet a { color: #fff; }
.voet-copy { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .2); opacity: .85; }

/* ---------- smallere schermen ---------- */
@media (max-width: 1100px) {
  .kaarten { grid-template-columns: repeat(3, 1fr); }
  .bericht-grid { grid-template-columns: 1fr; gap: 1rem; }
  .bericht { max-width: 780px; margin: 0 auto; width: 100%; }
  .zijbalk { max-width: 780px; margin: 0 auto; width: 100%; }
  .zijbalk .meest-gelezen { position: static; margin-top: 0; }
  .hm > li > a { padding: .7rem .5rem; font-size: .92rem; }
}
@media (max-width: 900px) {
  .hoofdmenu { display: none; }
  .mobielmenu { display: block; }
  .tagline { display: none; }
  .kop-inner { justify-content: space-between; }
  .welkom-inner, .home-duo { grid-template-columns: 1fr; }
  .kaarten { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbalk ul { gap: 0 .9rem; font-size: .8rem; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .topbalk ul::-webkit-scrollbar { display: none; }
  .logo img { height: 72px; }
  .zoek input { width: 8.5rem; }
  .kaarten, .kaarten-4 { grid-template-columns: 1fr; }
  .home-duo .meest-gelezen ol { grid-template-columns: 1fr; }
  .inhoud .alignleft, .inhoud .alignright { float: none; margin: 1em 0; max-width: 100%; }
  .vorige-volgende { grid-template-columns: 1fr; }
  .vorige-volgende .volgende { text-align: left; }
  .voet-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kaart, .tegel { transition: none; }
}

/* ---------- quiz ---------- */
.quiz { counter-reset: q; margin: 2rem 0; }
.quiz-vraag { background: var(--wit); border: 1px solid var(--zand-licht); border-radius: var(--rond); padding: 1.1rem 1.3rem; margin: 0 0 1.2rem; scroll-margin-top: 1rem; }
.quiz-vraag h3 { margin: 0 0 .8rem; font-size: 1.15rem; }
.quiz-vraag h3 span { color: var(--terra); }
.quiz-opties { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .45rem; }
.quiz-opties li { margin: 0; }
.quiz-optie { width: 100%; display: flex; gap: .7rem; align-items: center; text-align: left; font: inherit; color: var(--tekst); background: var(--creme); border: 2px solid var(--zand-licht); border-radius: 12px; padding: .55rem .8rem; cursor: pointer; transition: border-color .12s, background .12s; }
.quiz-optie:hover:not(:disabled) { border-color: var(--terra); background: #FFF6F1; }
.quiz-optie:disabled { cursor: default; }
.quiz-optie .letter { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--zand-licht); font-weight: 700; color: var(--olijf); }
.quiz-opties li.juist .quiz-optie { border-color: var(--salie); background: var(--salie-zacht); }
.quiz-opties li.juist .letter { background: var(--olijf); color: #fff; }
.quiz-opties li.fout .quiz-optie { border-color: var(--terra); background: #FBE9E2; }
.quiz-opties li.fout .letter { background: var(--terra); color: #fff; }
.quiz-vraag.klaar .quiz-opties li:not(.juist):not(.fout) .quiz-optie { opacity: .6; }
.quiz-antwoord summary { cursor: pointer; color: var(--terra-donker); font-weight: 600; }
.quiz-vraag.is-goed .quiz-antwoord summary { color: var(--olijf); }
.quiz-antwoord[open] summary { margin-bottom: .5rem; }
.quiz-antwoord p:last-child { margin-bottom: 0; }
.quiz-volgende { display: inline-block; margin-top: .7rem; font-weight: 600; }
.quiz-score { position: sticky; bottom: .8rem; z-index: 5; background: var(--olijf); color: #fff; border-radius: var(--rond); padding: .7rem 1.1rem; box-shadow: var(--schaduw); }
.quiz-score p { margin: 0; }
.quiz-score p + p { margin-top: .3rem; }
.quiz-opnieuw { margin-top: .5rem; font: inherit; font-weight: 700; background: var(--terra); color: #fff; border: 0; border-radius: 999px; padding: .4rem 1.1rem; cursor: pointer; }

/* ondertekening onder een artikel ("Liefs Marion"), was vroeger een plaatje */
@font-face { font-family: "Dancing Script"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/dancing-script-latin-600-normal.woff2") format("woff2"); }
.groet { font-family: "Dancing Script", "Segoe Script", cursive; font-weight: 600; font-size: 2.1rem; line-height: 1.2; color: var(--olijf); margin: 1.4em 0 1em; }
.groet::after { content: " \2665"; font-family: var(--tekstfont); font-size: .55em; color: var(--terra); vertical-align: .35em; }

/* letterbalk bij alfabetische lijsten */
.letterbalk { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.5em 0 2em; }
.letterbalk a, .letterbalk span { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 9px; font-family: var(--kopfont); font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.letterbalk a { background: var(--terra); color: #fff; box-shadow: 0 2px 0 var(--terra-donker); }
.letterbalk a:nth-child(3n+2) { background: var(--salie); box-shadow: 0 2px 0 var(--olijf); }
.letterbalk a:nth-child(3n) { background: var(--geel); color: var(--tekst); box-shadow: 0 2px 0 var(--zand); }
.letterbalk a:hover, .letterbalk a:focus-visible { background: var(--olijf); color: #fff; transform: translateY(-1px); }
.letterbalk span { background: var(--zand-zacht); color: var(--zand); }
.letterkop { scroll-margin-top: 1rem; }
@media (max-width: 600px) { .letterbalk a, .letterbalk span { width: 2rem; height: 2rem; font-size: .95rem; } }

/* banner (affiliate) onderaan berichten */
.banner { margin: 2.2rem 0 1rem; text-align: center; }
.banner img { max-width: 100%; height: auto; border-radius: 6px; }
.banner img[width="1"] { position: absolute; width: 1px; height: 1px; }

/* knop "Aanpassen" voor de beheerder (alleen zichtbaar na inloggen in het beheer) */
.aanpassen { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; background: var(--olijf); color: #fff; font-weight: 700; text-decoration: none; padding: .6rem 1.1rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.aanpassen:hover { background: var(--terra-donker); color: #fff; }
.voet-partners { grid-column: 1 / -1; font-size: .88rem; opacity: .95; }
.voet-partners span:first-child { font-weight: 700; margin-right: .3rem; }
.sociaal { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; gap: .5rem; }
.sociaal a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }
.sociaal a:hover { background: var(--terra); color: #fff; }

/* extra blokken in de zijkolom (eigen producten) */
.zijblokken { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
.zijblok { background: var(--wit); border: 1px solid var(--zand-licht); border-radius: var(--rond); padding: 1.1rem 1.2rem 1.2rem; }
.zijblok h2 { font-size: 1.1rem; margin: 0 0 .8rem; }
.zijblok ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem .7rem; }
/* één product (de app): plaatje half zo breed met de tekst ernaast */
.zijblok li:only-child { grid-column: 1 / -1; }
.zijblok li:only-child a { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-items: center; }
.zijblok li:only-child span { margin-top: 0; }
.zijblok a { display: block; text-decoration: none; }
.zijblok img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: var(--schaduw); transition: transform .15s ease; }
.zijblok a:hover img { transform: translateY(-2px); }
.zijblok span { display: block; font-size: .78rem; line-height: 1.3; margin-top: .3rem; color: var(--terra-donker); font-weight: 600; }
@media (max-width: 1100px) { .zijblok ul { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } }
