/* =====================================================================
   App-schil v5 (23-11-2026): schoolplatform in plaats van bedrijfsdashboard.
   - Kopbalk in schoolblauw met logo, school, zoeken, meldingen, account (Magister).
   - Smalle menubalk met icoon en label eronder (Magister, Teams, Classroom).
   - Inhoud op een lichtgrijze ondergrond, witte kaarten.
   Eigen klassen (ae-*), zodat oude schilregels (.app, .zij, .werk) niet meer meespelen.
   ===================================================================== */
/* Kopbalk v6 (23-11 nacht): wit en rustig zoals Classroom en het inlogscherm, geen blauwe balk.
   Logo in kleur, school als gewone tekst, grijs zoekveld, grijze bel, rond accounticoon in kobalt. */
:root { --ae-kop: #1F4FD1; --ae-kop-h: 64px; --ae-rail: 84px; --ae-grond: #F5F6F8;
  --ae-inkt: #14213A; --ae-tekst: #3F4A5C; --ae-zacht: #6B7586; --ae-lijn: #E3E6EB; --ae-vlak: #F1F3F6; --ae-vlak-hover: #E8EBEF; }

body { background: var(--ae-grond); }
.ae-kop { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 8px; height: var(--ae-kop-h); padding: 0 16px 0 20px; border-bottom: 1px solid var(--ae-lijn); background: #FFF; color: var(--ae-inkt); }
.ae-merk { display: flex; align-items: center; height: 100%; padding-right: 12px; }
.ae-logo { display: block; width: 128px; height: auto; }
.ae-school { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 20px; border-left: 1px solid var(--ae-lijn); color: var(--ae-tekst); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.ae-school[hidden] { display: none; }
.ae-school img { width: 28px; height: 28px; object-fit: contain; }

.ae-zoek { position: relative; display: flex; align-items: center; gap: 10px; width: min(520px, 38vw); height: 42px; margin: 0 auto; padding: 0 8px 0 14px; border: 1px solid transparent; border-radius: 8px; background: var(--ae-vlak); color: var(--ae-zacht); cursor: text; transition: background .15s, border-color .15s, box-shadow .15s; }
.ae-zoek:hover { background: var(--ae-vlak-hover); }
.ae-zoek:focus-within { border-color: var(--ae-kop); background: #FFF; box-shadow: 0 0 0 3px rgba(31, 79, 209, .14); }
.ae-zoek > svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ae-kop .ae-zoek input { flex: 1; min-width: 0; height: 100% !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--ae-inkt) !important; font: 400 14.5px var(--ds-font) !important; outline: none; }
.ae-kop .ae-zoek input::placeholder { color: var(--ae-zacht); }
.ae-zoek kbd { padding: 1px 6px; border: 1px solid var(--ae-lijn); border-radius: 4px; background: #FFF; color: var(--ae-zacht); font: 500 11px var(--ds-font); }
.ae-zoek:focus-within kbd { display: none; }
.ae-zoek-lijst { position: absolute; top: calc(100% + 6px); right: 0; left: 0; z-index: 70; max-height: min(420px, 70vh); border: 1px solid var(--ae-lijn); border-radius: 10px; background: #FFF; box-shadow: 0 10px 30px rgba(16, 24, 40, .12); }
.ae-zoek-lijst small { margin-left: auto; color: var(--ae-zacht); font-size: 12.5px; }
.ae-zoek-lijst[hidden] { display: none !important; }
.ae-kop .dn-bel:focus-visible, .ae-kop .account:focus-visible { outline: 2px solid var(--ae-kop); outline-offset: 2px; }

/* meldingen */
.ae-kop .ae-bel { position: relative; margin: 0 !important; }
.ae-kop .ae-bel[hidden] { display: none; }
.ae-kop .dn-bel { position: relative; display: grid !important; place-items: center; width: 40px !important; height: 40px !important; padding: 0 !important; border: 0; border-radius: 50% !important; background: none; color: var(--ae-tekst) !important; cursor: pointer; }
.ae-kop .dn-bel::after { content: none !important; }
.ae-kop .dn-bel:hover { background: var(--ae-vlak) !important; color: var(--ae-inkt) !important; }
.ae-kop .dn-bel .ic { width: 21px !important; height: 21px !important; color: currentColor; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ae-kop .dn-bel b { position: absolute !important; top: 4px; right: 4px; min-width: 17px; height: 17px; margin: 0; padding: 0 4px; border: 2px solid #FFF !important; border-radius: 999px; background: #D92D20; color: #FFF; font-size: 10px; line-height: 13px; text-align: center; }
.ae-kop .dn-bel-paneel { position: absolute !important; top: calc(100% + 10px) !important; right: 0 !important; bottom: auto !important; left: auto !important; color: var(--ds-text); }

/* account rechts */
.ae-ik { position: relative; }
.ae-kop .account { display: flex !important; align-items: center; gap: 10px; width: auto !important; height: 46px !important; padding: 0 10px 0 4px !important; border: 0 !important; border-radius: 8px !important; background: none !important; color: var(--ae-inkt) !important; cursor: pointer; }
.ae-kop .account:hover, .ae-kop .account[aria-expanded="true"] { background: var(--ae-vlak) !important; }
.ae-kop .account .initialen { display: grid !important; place-items: center; width: 36px !important; height: 36px !important; border-radius: 50% !important; background: var(--ae-kop) !important; color: #FFF !important; font-size: 13px !important; font-weight: 600 !important; }
.ae-kop .account-tekst { display: grid !important; text-align: left; line-height: 1.25; }
.ae-kop .account-tekst b { color: var(--ae-inkt) !important; font-size: 14px !important; font-weight: 600 !important; white-space: nowrap; }
.ae-kop .account-tekst small { max-width: 200px; overflow: hidden; color: var(--ae-zacht) !important; font-size: 12.5px !important; white-space: nowrap; text-overflow: ellipsis; }
.ae-kop .account-pijl { width: 16px; height: 16px; fill: none; stroke: var(--ae-zacht) !important; stroke-width: 2; transform: rotate(180deg); }
.ae-kop .account-menu { position: absolute !important; top: calc(100% + 8px) !important; right: 0 !important; bottom: auto !important; left: auto !important; z-index: 60; display: grid; min-width: 260px; padding: 6px !important; border: 1px solid var(--ds-border) !important; border-radius: 10px !important; background: var(--ds-surface) !important; box-shadow: 0 10px 30px rgba(16, 24, 40, .12) !important; color: var(--ds-text); }
.ae-kop .account-menu[hidden] { display: none !important; }
.ae-kop .account-info { padding: 10px 10px 12px !important; margin-bottom: 4px; border-bottom: 1px solid var(--ds-divider); color: var(--ds-text-2) !important; font-size: 13px !important; line-height: 1.45; }
.ae-kop .account-info b { color: var(--ds-text); font-size: 14px; }
.ae-kop .account-menu a, .ae-kop .account-uit { display: block; width: 100%; padding: 9px 10px !important; border: 0; border-radius: 6px; background: none; color: var(--ds-text) !important; font: 400 14px var(--ds-font); text-align: left; text-decoration: none; cursor: pointer; }
.ae-kop .account-menu a:hover, .ae-kop .account-uit:hover { background: var(--ds-hover) !important; }
.ae-kop .account-uit { margin-top: 4px; border-top: 1px solid var(--ds-divider); border-radius: 0 0 6px 6px; color: var(--ds-err) !important; }

/* romp: menubalk + inhoud */
.ae-romp { display: grid; grid-template-columns: var(--ae-rail) minmax(0, 1fr); min-height: calc(100vh - var(--ae-kop-h)); }
.ae-rail { position: sticky; top: var(--ae-kop-h); align-self: start; display: flex; flex-direction: column; gap: 2px; height: calc(100vh - var(--ae-kop-h)); padding: 10px 6px; overflow-y: auto; border-right: 1px solid var(--ds-border); background: var(--ds-surface); scrollbar-width: none; }
.ae-rail .menu-groep { height: 1px; margin: 8px 14px; padding: 0; background: var(--ds-divider); font-size: 0; }
.ae-rail .menu-groep:first-child { display: none; }
.ae-rail .menu-groep span { display: none; }
.ae-rail a { display: grid; justify-items: center; gap: 3px; padding: 7px 2px 8px; border-radius: 10px; color: var(--ds-text-2); text-decoration: none; text-align: center; }
.ae-rail a svg { width: 40px; height: 30px; padding: 4px 9px; border-radius: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: background .15s, color .15s; }
.ae-rail a .lang { display: none; }
.ae-rail a .kort { font-size: 11.5px; font-weight: 500; line-height: 1.15; letter-spacing: 0; }
.ae-rail a:hover { color: var(--ds-text); }
.ae-rail a:hover svg { background: var(--ds-hover); }
.ae-rail a.is-aan { color: var(--ds-navy); }
.ae-rail a.is-aan svg { background: var(--ds-navy-soft); color: var(--ds-navy); }
.ae-rail a.is-aan .kort { font-weight: 650; }
.ae-rail a:focus-visible { outline: none; box-shadow: var(--ds-focus); }
.ae-rail .alleen-mobiel { display: none; }

.ae-inhoud { min-width: 0; outline: none; }
.ae-inhoud > [data-pagina] { max-width: 1280px; margin: 0 auto; padding: 28px 32px 16px; }
.ae-demo { max-width: 1280px; margin: 0 auto; padding: 0 32px 32px; color: var(--ds-text-3); font-size: 12px; }

/* inloggen, platformpoort en oefenmodus: geen schil */
body.is-inlog .ae-kop, body.is-inlog .ae-rail, body.is-inlog .ae-demo, body.is-oefenen .ae-kop, body.is-oefenen .ae-rail { display: none !important; }
body.is-inlog .ae-romp, body.is-oefenen .ae-romp { display: block; min-height: 0; }
body.is-inlog .ae-inhoud > [data-pagina] { max-width: none; padding: 0; }
body.is-chat .ae-inhoud > [data-pagina] { max-width: none; padding: 16px 20px 0; }

/* meekijkbalk boven de kopbalk */
body.is-meekijk .ae-kop { top: 37px; }
body.is-meekijk .ae-rail { top: calc(var(--ae-kop-h) + 37px); height: calc(100vh - var(--ae-kop-h) - 37px); }

/* tablet */
@media (max-width: 1100px) {
  .ae-kop .account-tekst, .ae-kop .account-pijl { display: none !important; }
  .ae-zoek kbd { display: none; }
  .ae-zoek { width: min(360px, 34vw); }
  .ae-inhoud > [data-pagina] { padding: 24px 22px 12px; }
}
/* mobiel: kopbalk smal, menu als tabbalk onderin */
@media (max-width: 760px) {
  :root { --ae-kop-h: 56px; }
  .ae-kop { gap: 6px; padding: 0 8px 0 12px; }
  .ae-logo { width: 108px; }
  .ae-school { display: none !important; }
  .ae-zoek { flex: 1; width: auto; min-width: 0; margin: 0 4px 0 8px; height: 38px; padding: 0 8px 0 10px; }
  .ae-romp { display: block; }
  .ae-rail { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 45; flex-direction: row; justify-content: space-around; height: auto; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ds-border); border-right: 0; overflow: visible; }
  .ae-rail .menu-groep, .ae-rail .extra-mobiel { display: none !important; }
  .ae-rail .alleen-mobiel { display: grid; }
  .ae-rail a { flex: 1; max-width: 88px; padding: 4px 2px; }
  .ae-rail a svg { width: 52px; height: 30px; padding: 4px 15px; }
  .ae-inhoud > [data-pagina] { padding: 18px 16px 12px; }
  .ae-demo { padding: 0 16px 96px; }
  body.is-meekijk .ae-kop { top: 0; }
}
@media (prefers-reduced-motion: reduce) { .ae-rail a svg, .ae-zoek { transition: none; } }
@media (max-width: 760px) { .ae-kop .ae-bel:not([hidden]) { display: block !important; } .ae-kop .dn-bel-paneel { position: fixed !important; top: 62px !important; right: 8px !important; left: 8px !important; right: 8px; left: 8px; width: auto; } }

/* =====================================================================
   Vandaag: rooster (Magister), te doen (itslearning), vak- en klaskaarten (Classroom)
   ===================================================================== */
.vd { display: grid; gap: 22px; }
.vd-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.vd-kop h1 { margin: 0; font-size: 28px; font-weight: 650; letter-spacing: -.015em; color: var(--ds-text); outline: none; }
.vd-datum { margin: 0 0 2px; color: var(--ds-text-2); font-size: 14px; }
.vd-kop .licht-knop { display: inline-flex; align-items: center; gap: 6px; }
.vd-kop .licht-knop svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vd-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.vd-kolom { display: grid; gap: 20px; min-width: 0; }
.vd-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; align-items: start; }
.vd-kaart { min-width: 0; border: 1px solid var(--ds-border); border-radius: 12px; background: var(--ds-surface); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); overflow: hidden; }
.vd-kaart > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 12px; border-bottom: 1px solid var(--ds-divider); }
.vd-kaart > header h2 { margin: 0; font-size: 16px; font-weight: 650; color: var(--ds-text); }
.vd-kaart > :not(header) { margin: 0; }
.vd-kaart > .wp-rijen, .vd-kaart > .td, .vd-kaart > .rs { margin: 0; padding: 6px 8px; }
.vd-kaart > .wp-cijfers { margin: 14px 18px; }
.vd-kaart > .wp-meta, .vd-kaart > .vd-leeg, .vd-kaart > table + .wp-meta { padding: 0 18px 14px; }
.vd-kaart > .tabel { width: calc(100% - 36px); margin: 10px 18px; }
.vd-kaart.is-bericht > header { background: #EEF3FC; border-bottom-color: #D7E2F6; }
.vd-klein { color: var(--ds-text-3); font-size: 13px; font-weight: 500; }
.vd-leeg { margin: 0; padding: 18px; color: var(--ds-text-3); font-size: 14px; }
.vd-sectie { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 2px -8px; }
.vd-sectie h2 { margin: 0; font-size: 18px; font-weight: 650; color: var(--ds-text); }

/* rooster */
.rs { list-style: none; }
.rs li { position: relative; display: grid; grid-template-columns: 54px 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 8px; }
.rs li + li { margin-top: 2px; }
.rs-les::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: 76px; width: 0; }
.rs-tijd { display: grid; color: var(--ds-text); font-variant-numeric: tabular-nums; line-height: 1.2; }
.rs-tijd b { font-size: 14px; font-weight: 600; }
.rs-tijd small { color: var(--ds-text-3); font-size: 12px; }
.rs-uur { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--vk); color: #FFF; font-size: 12.5px; font-weight: 700; }
.rs-tekst { display: grid; gap: 1px; min-width: 0; }
.rs-tekst b { overflow: hidden; color: var(--ds-text); font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.rs-tekst small { overflow: hidden; color: var(--ds-text-2); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.rs-les.is-nu { background: #EEF3FC; box-shadow: inset 3px 0 0 var(--ae-kop); }
.rs-nu { padding: 3px 9px; border-radius: 999px; background: var(--ae-kop); color: #FFF; font-size: 12px; font-weight: 600; }
.rs-les.is-voorbij { opacity: .55; }
.rs-vrij { min-height: 30px !important; }
.rs-vrij .rs-tekst { grid-column: 3 / -1; color: var(--ds-text-3); font-size: 13px; font-style: italic; }

/* te doen */
.td { list-style: none; }
.td li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 10px 10px; border-radius: 8px; }
.td li + li { border-top: 1px solid var(--ds-divider); border-radius: 0; }
.td-vink { position: relative; display: block; width: 20px; height: 20px; margin-top: 1px; cursor: pointer; }
.td-vink input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.td-vink input:disabled { cursor: default; }
.td-vink span[aria-hidden] { display: block; width: 20px; height: 20px; border: 2px solid #B8C1CE; border-radius: 6px; background: #FFF; transition: background .12s, border-color .12s; }
.td-vink input:disabled + span[aria-hidden] { border-style: dashed; border-color: #C9D1DC; }
.td-vink input:checked + span[aria-hidden] { border-color: #12723A; background: #12723A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.td-vink input:focus-visible + span[aria-hidden] { box-shadow: var(--ds-focus); }
.td-tekst { display: grid; gap: 2px; min-width: 0; }
.td-tekst b, .td-tekst a { color: var(--ds-text); font-size: 14.5px; font-weight: 550; text-decoration: none; }
.td-tekst a:hover { color: var(--ds-link); text-decoration: underline; }
.td-tekst small { color: var(--ds-text-2); font-size: 13px; }
.td-stip { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--vk); vertical-align: 0; }
.td-datum { padding: 2px 8px; border-radius: 999px; background: var(--ds-hover); color: var(--ds-text-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.td-datum.is-vandaag { background: #EEF3FC; color: var(--ae-kop); }
.td-datum.is-laat { background: #FDEEEC; color: #B42318; }
.td li.is-af .td-tekst b, .td li.is-af .td-tekst a { color: var(--ds-text-3); text-decoration: line-through; }

/* vak- en klaskaarten */
.vk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.vk { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; border: 1px solid var(--ds-border); border-radius: 12px; background: var(--ds-surface); overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: box-shadow .15s, transform .15s; }
.vk:hover { box-shadow: 0 6px 18px rgba(16, 24, 40, .1); }
.vk-kop { position: relative; display: grid; gap: 2px; min-height: 92px; padding: 16px 18px; background: var(--vk); color: #FFF; text-decoration: none; overflow: hidden; }
.vk-kop::after { content: ""; position: absolute; right: -24px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.vk-kop b { font-size: 19px; font-weight: 650; line-height: 1.2; }
.vk-kop small { color: rgba(255, 255, 255, .86); font-size: 13.5px; }
.vk-kop:hover b { text-decoration: underline; }
.vk-kop:focus-visible { outline: 3px solid var(--ds-navy); outline-offset: -3px; }
.vk-body { padding: 14px 18px 6px; min-height: 64px; }
.vk-body p { margin: 0; color: var(--ds-text); font-size: 14px; }
.vk-label { margin-bottom: 2px !important; color: var(--ds-text-3) !important; font-size: 12.5px !important; font-weight: 500; }
.vk-rust { color: var(--ds-text-3) !important; }
.vk-chip { display: inline-block; margin: 4px 6px 0 0; padding: 2px 9px; border-radius: 999px; background: var(--ds-hover); color: var(--ds-text-2); font-size: 12.5px; font-weight: 500; }
.vk-voet { display: flex; justify-content: flex-end; gap: 2px; padding: 6px 8px; border-top: 1px solid var(--ds-divider); }
.vk-voet a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ds-text-2); }
.vk-voet a:hover { background: var(--ds-hover); color: var(--ds-text); }
.vk-voet svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* laadskelet */
.vd-skelet { display: grid; gap: 20px; }
.vd-skelet i { display: block; height: 150px; border-radius: 12px; background: linear-gradient(90deg, #ECEFF3 0, #F5F7FA 40%, #ECEFF3 80%) 0 0 / 200% 100%; animation: skelet 1.2s linear infinite; }
.vd-skelet i:first-child { width: 220px; height: 36px; }
@keyframes skelet { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .vd-skelet i { animation: none; } .vk { transition: none; } }

@media (max-width: 1000px) { .vd-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .vd { gap: 16px; }
  .vd-kop h1 { font-size: 24px; }
  .vk-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .vk-kop { min-height: 76px; padding: 12px 14px; }
  .vk-kop b { font-size: 16px; }
  .vk-body { padding: 10px 14px 4px; }
  .rs li { grid-template-columns: 46px 24px minmax(0, 1fr) auto; gap: 10px; padding: 6px; }
  .vd-raster { grid-template-columns: 1fr; }
}
.palet-lijst[hidden] { display: none !important; }


/* Menu: één kleur voor alle onderdelen (29-11, onderwijs-klassiek). De kleur zit in stijl/klassiek.css. */

/* rooster: altijd goed leesbaar; elke les licht getint in de vakkleur */
.rs-les.is-voorbij { opacity: 1; }
.rs-les.is-voorbij .rs-tijd b, .rs-les.is-voorbij .rs-tijd small { color: var(--ds-text-3); }
.rs-les { background: color-mix(in srgb, var(--vk) 7%, #FFF); box-shadow: inset 3px 0 0 var(--vk); }
.rs li.rs-les + li.rs-les { margin-top: 4px; }
.rs-les.is-nu { background: color-mix(in srgb, var(--vk) 14%, #FFF); box-shadow: inset 4px 0 0 var(--vk), 0 0 0 1px color-mix(in srgb, var(--vk) 40%, #FFF); }
.rs-tekst small { color: var(--ds-text-2); }

/* te doen: vakkleur als streep links */
.td li { position: relative; }
.td li:has(.td-stip)::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 0; width: 3px; border-radius: 2px; background: var(--vk, transparent); }

/* kaartkoppen: dun gekleurd icoonvlak per kaart */
.vd-kaart.is-rooster > header h2::before, .vd-kaart > header h2::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 3px; background: var(--kk, #1F4FD1); vertical-align: 1px; }
.vd-kaart.is-rooster { --kk: #1F4FD1; }

/* soort lijst bij Oefenen */
.soort-keuze { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.soort-keuze legend { margin-bottom: 6px; padding: 0; font-size: 13.5px; font-weight: 500; }
.soort-keuze label { position: relative; display: block; cursor: pointer; }
.soort-keuze input { position: absolute; opacity: 0; }
.soort-keuze label > span { display: grid; gap: 2px; height: 100%; padding: 10px 12px; border: 1px solid var(--ds-border); border-radius: 8px; background: #FFF; }
.soort-keuze b { font-size: 14px; font-weight: 600; }
.soort-keuze small { color: var(--ds-text-3); font-size: 12.5px; line-height: 1.35; }
.soort-keuze input:checked + span { border-color: #DB2777; background: #FDF2F8; box-shadow: inset 0 0 0 1px #DB2777; }
.soort-keuze input:focus-visible + span { box-shadow: var(--ds-focus); }
[data-talen][hidden] { display: none !important; }
@media (max-width: 760px) { .soort-keuze { grid-template-columns: 1fr; } }
.vd-kolom > .vd-kaart:first-child { --kk: #15803D; }
.vk-kop::after { display: none; }

/* laptop (lage schermen): minder lucht boven de inhoud */
@media (min-width: 761px) and (max-height: 900px) {
  .ae-inhoud > [data-pagina] { padding-top: 20px; }
  .vd { gap: 18px; }
  .vd-kop h1 { font-size: 25px; }
  .rs li { min-height: 46px; padding: 4px 10px; }
  .vk-kop { min-height: 78px; padding: 13px 16px; }
}


/* Coverfoto op vakkaarten (Vandaag en Vakken) */
.vk-foto { position: relative; height: 112px; overflow: hidden; background: var(--vk); }
.vk-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vf-bron { position: absolute; right: 6px; bottom: 4px; max-width: 92%; overflow: hidden; color: rgba(255, 255, 255, .92); font-size: 10px; line-height: 1.3; text-decoration: none; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.vf-bron:hover { text-decoration: underline; }
.vk-foto + .vk-kop { min-height: 0; padding-top: 12px; padding-bottom: 12px; }
.vo-kaarten { padding: 14px 16px 18px; }
.vk-voet-tekst { justify-content: space-between !important; align-items: center; padding: 8px 14px !important; }
.vk-voet-tekst a { width: auto !important; height: auto !important; border-radius: 0 !important; color: var(--vk) !important; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.vk-voet-tekst a:hover { background: none !important; text-decoration: underline; }
.vk-voet-tekst span { color: var(--ds-text-3); font-size: 12.5px; }
@media (min-width: 761px) and (max-height: 900px) { .vk-foto { height: 96px; } }
@media (max-width: 760px) { .vk-foto { height: 84px; } }


/* YouTube in ARGOS (video.js) */
.yt-rij { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 6px 0 18px; }
.yt { margin: 0; overflow: hidden; border: 1px solid var(--ds-border); border-radius: 12px; background: #FFF; }
.yt-start { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #0F1B2D; cursor: pointer; }
.yt-start img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt-knop { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 44px; border-radius: 12px; background: #E62117; transform: translate(-50%, -50%); transition: transform .15s; }
.yt-knop svg { width: 24px; height: 24px; fill: #FFF; }
.yt-start:hover .yt-knop { transform: translate(-50%, -50%) scale(1.08); }
.yt-start:focus-visible { outline: 3px solid var(--ds-navy); outline-offset: -3px; }
.yt-speler { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.yt figcaption { display: grid; gap: 2px; padding: 10px 12px 12px; }
.yt figcaption b { color: var(--ds-text); font-size: 14px; font-weight: 600; line-height: 1.35; }
.yt figcaption small { color: var(--ds-text-3); font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .yt-knop { transition: none; } }

.yt-paneel { max-width: 720px; margin: 10px 0 6px; overflow: hidden; border: 1px solid var(--ds-border); border-radius: 12px; background: #000; }
.yt-paneel-onder { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #FFF; }
.yt-paneel-onder span { display: grid; gap: 1px; min-width: 0; }
.yt-paneel-onder b { overflow: hidden; color: var(--ds-text); font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.yt-paneel-onder small { color: var(--ds-text-3); font-size: 12.5px; }
.yt-sluit { flex: none; height: 32px; padding: 0 12px; border: 1px solid var(--ds-border); border-radius: 8px; background: #FFF; color: var(--ds-text); font: 600 13px var(--ds-font); cursor: pointer; }
.yt-sluit:hover { background: var(--ds-hover); }
button.vo-video, button.vo-par-link { font-family: inherit; line-height: inherit; cursor: pointer; }
button.vo-par-link { padding: 0; border: 0; background: none; }
.vo-video[aria-pressed="true"], .vo-par-link[aria-pressed="true"] { border-color: var(--vk, var(--ds-navy)) !important; background: color-mix(in srgb, var(--vk, #1F4FD1) 12%, #FFF) !important; }
