/* theorie.rijsim.nl WOW design for the mock exam (/proefexamen/), the course (/cursus/) and the lesson screen
   (/cursus/les/), 17.11.2026. Same house style and motion system as the home (theorie-motion.css/.js): dark, one orange
   accent, clay chapter art, reveals only for what starts below the fold, nothing moves with prefers-reduced-motion. */
[dir=rtl] .ts-wbar i{transform-origin:right}

/* ================= mock exam ================= */
.px-hero{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:clamp(24px,5vw,64px);align-items:center;margin-bottom:26px}
.px-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.02;letter-spacing:-.025em;text-wrap:balance;margin:8px 0 12px}
.px-hero .lead{max-width:46ch}
.px-stats{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,auto);justify-content:start;gap:0}
.px-stats li{padding:4px 22px 4px 0;margin-inline-end:22px;border-inline-end:1px solid var(--line)}
.px-stats li:last-child{border:0;margin:0;padding-inline-end:0}
.px-stats b{display:block;font-size:clamp(30px,3.6vw,44px);font-weight:900;letter-spacing:-.03em;color:var(--accent-ink,var(--accent));line-height:1;font-variant-numeric:tabular-nums}
.px-stats span{display:block;color:var(--muted);font-size:14px;margin-top:6px;max-width:12ch;line-height:1.25}
.px-phone{position:relative;margin:0;width:100%;aspect-ratio:1/2;border-radius:40px;padding:9px;background:linear-gradient(160deg,#2a3342,#141a23);box-shadow:0 40px 80px -30px rgba(0,0,0,.85),inset 0 0 0 1px rgb(var(--ink,255 255 255) / .08);animation:px-float 6s ease-in-out infinite}
.px-scr{width:100%;height:100%;border-radius:32px;overflow:hidden;background:var(--bg,#0b0f14)}
.px-scr img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.px-badge{position:absolute;display:flex;align-items:center;gap:8px;padding:8px 13px 8px 9px;border-radius:999px;background:rgba(21,28,38,.92);border:1px solid rgb(var(--ink,255 255 255) / .12);box-shadow:0 16px 30px -12px rgba(0,0,0,.8);font-weight:800;font-size:15px;backdrop-filter:blur(6px)}
.px-b1{left:-38px;top:18%;animation:px-bob 5s ease-in-out infinite}
.px-b2{right:-26px;bottom:20%;color:var(--good);padding-inline-start:13px;animation:px-bob 5s ease-in-out -2.5s infinite}
.px-badge svg{width:28px;height:28px;transform:rotate(-90deg)}
.px-badge circle{fill:none;stroke:rgb(var(--ink,255 255 255) / .14);stroke-width:4}
.px-badge .px-sweep{stroke:var(--accent);stroke-linecap:round;stroke-dasharray:94.25;animation:px-sweep 9s linear infinite}
@keyframes px-float{50%{transform:translateY(-8px)}}
@keyframes px-bob{50%{transform:translateY(-6px)}}
@keyframes px-sweep{from{stroke-dashoffset:0}to{stroke-dashoffset:94.25}}
@media (max-width:700px){
  .px-hero{grid-template-columns:minmax(0,1fr) 118px;gap:8px 16px;align-items:end;margin-bottom:18px}
  .px-htxt{display:contents}
  .px-htxt>*:not(.px-stats){grid-column:1/-1}
  .px-hero .lead{margin-bottom:0}
  .px-go{grid-row:5;margin-top:4px}   /* phone: Start comes before the 4 numbers (round 9) */
  .px-stats{grid-column:1;grid-row:6;grid-template-columns:1fr 1fr;gap:14px 10px;margin-top:10px;align-self:center}
  .px-stats li{padding:0;margin:0;border:0}
  .px-stats b{font-size:32px}.px-stats span{font-size:13px}
  .px-phone{grid-column:2;grid-row:6;border-radius:24px;padding:6px;margin-top:10px}
  .px-scr{border-radius:19px}
  .px-badge{font-size:12.5px;padding:5px 9px 5px 6px;gap:5px}.px-badge svg{width:20px;height:20px}
  .px-b1{left:-30px;top:10%}.px-b2{right:-6px;bottom:8%;padding-inline-start:9px}
}

/* the three ways to practise */
.tsp .ts-modes{gap:14px}
.tsp .ts-mode{position:relative;padding:18px;border-radius:18px;transition:transform .35s cubic-bezier(.16,1,.3,1),border-color .25s,box-shadow .35s}
.tsp .ts-mode.px-m-full{background:linear-gradient(160deg,rgba(255,159,26,.14),rgba(255,159,26,.03) 60%);border:1px solid rgba(255,159,26,.55);box-shadow:0 24px 50px -30px rgba(255,159,26,.45)}
.px-ic{display:block;width:46px;height:46px;margin-bottom:10px}
.px-ic svg{width:100%;height:100%;fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.px-ic .fill{fill:rgba(255,159,26,.25);stroke:none}
.px-m-short .px-ic svg,.px-m-prac .px-ic svg{stroke:#cdd4de}.px-m-short .px-ic .fill{fill:rgb(var(--ink,255 255 255) / .12)}
.px-m-full .hand{transform-origin:24px 27px;animation:px-tick 4s steps(8) infinite}
.px-m-prac .hand{stroke:var(--good);stroke-dasharray:30;animation:px-draw 3.2s cubic-bezier(.6,0,.2,1) infinite}
@keyframes px-tick{to{transform:rotate(360deg)}}
@keyframes px-draw{0%{stroke-dashoffset:30}35%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:-30}}
.px-tag{position:absolute;top:16px;inset-inline-end:16px;background:var(--accent);color:#141414;font-weight:800;font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;padding:3px 9px;border-radius:999px}
@media (hover:hover){.tsp .ts-mode:hover{transform:translateY(-5px);border-color:rgba(255,159,26,.6);box-shadow:0 26px 50px -24px rgba(0,0,0,.9)}}
.tsp .ts-rules{list-style:none;margin:6px 0 14px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}
.tsp .ts-rules li{position:relative;padding-inline-start:26px;margin:0;font-size:15px}
.tsp .ts-rules li:before{content:"";position:absolute;inset-inline-start:0;top:4px;width:16px;height:16px;border-radius:50%;background:rgba(47,210,122,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%232fd27a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
@media (max-width:700px){.tsp .ts-rules{grid-template-columns:1fr}}

/* while an exam or practice round runs: the page steps back, only the question counts */
body.px-run .px-hero{grid-template-columns:1fr;margin-bottom:12px}
body.px-run .px-hero .lead,body.px-run .px-stats,body.px-run .px-phone,body.px-run .px-hero .kicker,body.px-run .px-after,body.px-run .px-chs,body.px-run .px-faq{display:none}
body.px-run .px-hero h1{font-size:clamp(24px,3vw,30px);margin:4px 0 0}
/* Lane B 25.11.2026 (B102): on a phone the drawing (335 px) + its button row pushed the question text and the answers under the
   screen (375x740: scene questions' last answer at 821 px, A/B questions' text at 936 px), so every question meant scrolling to see
   what was asked; 110 full starts -> 50 reach question 10 -> 52 finish (almost everyone past q10 finishes). Only during the free
   mock exam: drawings at most 32% of the screen height (scaled, not cropped), Situatie A/B side by side like on a computer. */
@media (max-width:560px){
body.px-run .px-q .cs-fig:not(.cs-ab):not(.photo):not(.signs):not(.cs-hot) svg{max-height:32vh;width:auto;max-width:100%}
body.px-run .px-q .cs-fig.cs-ab{grid-template-columns:1fr 1fr;gap:8px}
}
/* Lane B 26.11.2026 (B124): on short phones (375x667) the 32vh drawing + text + answers still put the last answer under the sticky
   Vorige/Volgende row (NL q2 574-626 vs row 607). There the drawing takes at most 25% and a photo 23% (both scaled, not cropped; tap-on-the-photo questions unchanged). */
@media (max-width:560px) and (max-height:760px){
body.px-run .px-q .cs-fig:not(.cs-ab):not(.photo):not(.signs):not(.cs-hot) svg{max-height:25vh}
body.px-run .px-q .cs-fig.photo:not(.cs-spotfig)>img{max-height:23vh;width:auto;max-width:100%;margin-left:auto;margin-right:auto;display:block;object-fit:contain}
}
/* Lane B 26.11.2026 (B125): a single road sign (110 px) + its own 'Voorlezen' row still put the 4th answer under the sticky row
   (live EN q10 375x667: D fully hidden). On short phones the sign is 84 px and 'Voorlezen' sits beside it, not on a row of its own. */
@media (max-width:560px) and (max-height:760px){
body.px-run .px-q .cs-fig.signs:not(.cs-hot) img{width:84px;height:84px}
body.px-run .px-q .cs-fig.signs:not(.cs-hot):has(>img:only-child)+.cs-qbar{margin-top:-44px;pointer-events:none}
body.px-run .px-q .cs-fig.signs:not(.cs-hot):has(>img:only-child)+.cs-qbar>*{pointer-events:auto}
/* Lane B 26.11.2026 (B126): question 2 of the exam is always a moving scene (square drawing, 167 px at 375x667, ~84 px empty on each
   side) and its 'Bewegend beeld / Nog eens afspelen / Voorlezen' row wrapped to 2 lines (50 px) under it: the last answer of 4 of the
   6 longest EN scenes ended under the sticky row (up to 67 px). On short phones those controls sit in the empty space beside the drawing. */
body.px-run .px-q .cs-qbar:has(>.cs-moving){display:grid;grid-template-columns:74px 1fr 74px;grid-template-rows:1fr auto;align-items:end;row-gap:4px;height:84px;margin-top:-90px;pointer-events:none}
body.px-run .px-q .cs-qbar:has(>.cs-moving)>*{pointer-events:auto}
body.px-run .px-q .cs-qbar>.cs-moving{grid-column:1;grid-row:1;margin:0!important;font-size:10.5px!important;letter-spacing:.02em!important;line-height:1.2;align-self:end!important}
body.px-run .px-q .cs-qbar:has(>.cs-moving)>.cs-mini{grid-row:2;width:100%;font-size:12px;line-height:1.15;padding:4px 3px;margin:0}
body.px-run .px-q .cs-qbar:has(>.cs-moving)>.cs-replay{grid-column:1}
body.px-run .px-q .cs-qbar:has(>.cs-moving)>.cs-say{grid-column:3}
}
.ts-mclock{display:inline-flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}
.px-ring-s{width:26px;height:26px;transform:rotate(-90deg)}
.px-ring-s circle{fill:none;stroke:rgb(var(--ink,255 255 255) / .14);stroke-width:4}
.px-ring-s #mring{stroke:var(--accent);stroke-dasharray:94.25;stroke-linecap:round;transition:stroke-dashoffset 1s linear}
.px-ring-s #mring.slow{stroke:#ff6b5a}
.ts-mini .prog i{transition:width .45s cubic-bezier(.16,1,.3,1)}
.px-q{animation:px-qin .42s cubic-bezier(.16,1,.3,1)}
.px-q.back{animation-name:px-qback}
@keyframes px-qin{from{opacity:0;transform:translateX(26px)}}
@keyframes px-qback{from{opacity:0;transform:translateX(-26px)}}
[dir=rtl] .px-q{animation-name:px-qback}[dir=rtl] .px-q.back{animation-name:px-qin}
.ts-grid button{animation:px-pop .4s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--i,0) * 12ms)}
@keyframes px-pop{from{opacity:0;transform:scale(.7)}}

/* the result */
.px-resbox{display:flex;align-items:center;gap:20px;padding:20px}
.px-restxt{min-width:0}
.px-score{position:relative;flex:none;width:128px;height:128px}
.px-score svg{width:100%;height:100%}
.px-score circle{fill:none;stroke:rgb(var(--ink,255 255 255) / .1);stroke-width:10}
.px-score .px-arc{stroke:var(--accent);stroke-linecap:round;stroke-dasharray:326.7;stroke-dashoffset:326.7;transform:rotate(-90deg);transform-origin:60px 60px;transition:stroke-dashoffset 1.2s cubic-bezier(.33,1,.68,1)}
.px-score.in .px-arc{stroke-dashoffset:var(--to)}
.px-resbox.ok .px-arc{stroke:var(--good)}
.px-score .px-mark{stroke:#eef1f5;stroke-width:3;stroke-linecap:round}
.px-score b{position:absolute;inset:0 0 18px;display:grid;place-items:center;font-size:40px;font-weight:900;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.px-score span{position:absolute;left:0;right:0;bottom:30px;text-align:center;font-size:12px;color:var(--muted);font-weight:700}
@media (max-width:520px){.px-resbox{flex-direction:column;align-items:flex-start;gap:12px}.px-score{width:112px;height:112px}.px-score b{font-size:34px}.px-score span{bottom:26px}}

/* after you hand in + every chapter */
.px-after{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:clamp(24px,5vw,60px);align-items:center;margin-top:56px}
.px-after h2,.px-chs h2{font-size:clamp(26px,3.6vw,38px);letter-spacing:-.02em;line-height:1.08;margin:0 0 8px}
.px-steps{list-style:none;margin:20px 0 0;padding:0}
.px-steps li{display:flex;gap:14px;margin:0 0 18px}
.px-n{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:900;background:rgba(255,159,26,.14);color:var(--accent-ink,var(--accent));border:1px solid rgba(255,159,26,.45)}
.px-steps b{display:block;font-size:18px;margin-top:4px}.tsp .px-steps p{margin:4px 0 0;color:var(--copy,#c4ccd7)}
.px-res{margin:0;border-radius:30px;padding:8px;background:linear-gradient(160deg,#2a3342,#141a23);box-shadow:0 40px 80px -30px rgba(0,0,0,.85);transform:rotate(3deg);transition:transform .6s cubic-bezier(.16,1,.3,1)}
.px-res img{display:block;width:100%;height:auto;border-radius:23px}
@media (hover:hover){.px-res:hover{transform:rotate(0) translateY(-4px)}}
@media (max-width:700px){.px-after{grid-template-columns:minmax(0,1fr) 96px;gap:14px;margin-top:36px;align-items:start}.px-res{border-radius:16px;padding:4px;margin-top:44px}.px-res img{border-radius:12px}
  .px-steps{margin-top:12px}.px-steps li{gap:10px;margin-bottom:12px}.px-n{width:28px;height:28px;font-size:14px}.px-steps b{font-size:16px;margin-top:2px}.tsp .px-steps p{font-size:14.5px;line-height:1.45}}
.px-chs{margin-top:56px}
.px-chs ul{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.px-chs li{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;font-size:14px;font-weight:700;line-height:1.25}
.px-chs img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.px-chs span{display:block;padding:9px 11px 11px}
@media (hover:hover){.px-chs li:hover img{transform:scale(1.06)}}
/* phones: one row that scrolls sideways, so the page stays short */
@media (max-width:700px){.px-chs{margin-top:36px}.px-chs ul{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:14px -20px 0;padding:0 20px 8px;scrollbar-width:none}
  .px-chs ul::-webkit-scrollbar{display:none}.px-chs li{flex:none;width:136px;scroll-snap-align:start;font-size:13px}}
/* round 16: each chapter tile starts practice for that chapter; a short FAQ under the tiles */
.px-chs a{display:block;color:inherit;text-decoration:none;height:100%}.px-chs a:focus-visible{outline:2px solid var(--accent,#ff9f1a);outline-offset:-2px;border-radius:14px}
.px-faq{margin-top:56px;max-width:760px}.px-faq h2{font-size:clamp(24px,3.2vw,32px);letter-spacing:-.02em;line-height:1.1;margin:0 0 6px}
.px-faq summary{min-height:44px;align-items:center;font-size:17px}
.px-faq details p{margin:10px 0 0;color:var(--copy,#cdd4de);line-height:1.55}
@media (max-width:700px){.px-faq{margin-top:40px}.px-faq summary{font-size:16px}}

/* ================= course overview (/cursus/) ================= */
/* desktop: the art spans the page from the top (absolute against the page, not 100vw, so no sideways scroll) */
body:has(.cx-hero){--cxh:clamp(600px,86vh,700px)}
.cx-hero{margin-top:-96px;padding:110px 0 40px;min-height:var(--cxh);display:flex;align-items:center}
.cx-htxt{position:relative;z-index:1;max-width:440px}
.cx-hero h1{font-size:clamp(36px,4.8vw,56px);line-height:1.03;letter-spacing:-.025em;text-wrap:balance}
.cx-hero .lead{color:var(--copy,#dfe5ee)}
.cx-art{position:absolute;top:0;left:0;right:0;height:var(--cxa,var(--cxh));z-index:0;overflow:hidden;background:var(--raise2,#212939);pointer-events:none}
.cx-art img,.cx-art video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:100% 52%;transform:translate3d(12%,calc(var(--hy,0px) * .6),0)}
.cx-art video{opacity:0;transition:opacity .9s cubic-bezier(.16,1,.3,1)}
.cx-art video.on{opacity:1}
/* the fade to the page colour is the TOP layer, so the bottom has no hard edge under the left shade (round 10: line spilled out) */
.cx-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgb(var(--bg-rgb,11 15 20) / .6) 0,rgba(33,41,57,0) 20%,rgba(33,41,57,0) 62%,var(--bg) 100%),linear-gradient(90deg,#212939 0,rgba(33,41,57,.94) 40%,rgba(33,41,57,0) 64%)}
.cx-stats{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,auto);justify-content:start}
.cx-stats li{padding-inline-end:18px;margin-inline-end:18px;border-inline-end:1px solid rgb(var(--ink,255 255 255) / .14)}
.cx-stats li:last-child{border:0;margin:0;padding:0}
.cx-stats b{display:block;font-size:clamp(28px,3vw,38px);font-weight:900;letter-spacing:-.03em;color:var(--accent-ink,var(--accent));line-height:1;font-variant-numeric:tabular-nums}
.cx-stats span{display:block;font-size:13px;color:var(--copy,#b9c2ce);margin-top:6px;max-width:12ch;line-height:1.25;hyphens:manual;-webkit-hyphens:manual;overflow-wrap:normal}
@media (max-width:700px){
  .cx-hero{display:block;margin-top:0;padding:0;height:auto}
  .cx-htxt{max-width:none}
  .cx-art{position:relative;left:auto;right:auto;height:auto;aspect-ratio:4/3;border-radius:18px;margin:18px 0 4px;box-shadow:0 24px 50px -20px rgba(0,0,0,.8),0 0 0 1px rgb(var(--ink,255 255 255) / .06)}
  .cx-art img,.cx-art video{object-position:50% 50%;transform:none}
  .cx-art:after{background:linear-gradient(180deg,rgba(33,41,57,0) 70%,rgb(var(--bg-rgb,11 15 20) / .35) 100%)}
  /* round 20: a clean 2x2 on phones (four columns squeezed "vragen per proefexamen" into 3 lines and the numbers into the edges) */
  .cx-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
  .cx-stats li,.cx-stats li:last-child{display:flex;align-items:center;gap:10px;min-width:0;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:rgb(var(--ink,255 255 255) / .03)}
  .cx-stats b{flex:none;font-size:24px}.cx-stats span{margin:0;font-size:12.5px;max-width:none;min-width:0}
}
/* the readiness ring fills once */
@property --p{syntax:"<number>";inherits:false;initial-value:0}
.cs-ring{transition:--p 1.3s cubic-bezier(.33,1,.68,1)}
/* chapters: the clay art of every chapter, lift on hover, the bar grows in */
.cs-ch{grid-template-columns:84px 1fr auto;transition:border-color .25s,transform .35s cubic-bezier(.16,1,.3,1),background .25s}
.cs-ch .n.cx-n{position:relative;width:84px;height:47px;border-radius:10px;overflow:hidden;background:var(--sunk,#0d1219);color:var(--text)}
.cx-n img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.cx-n i{position:absolute;left:4px;bottom:4px;min-width:20px;height:20px;padding:0 5px;border-radius:6px;background:rgb(var(--bg-rgb,11 15 20) / .82);font-style:normal;font-size:12px;font-weight:800;display:grid;place-items:center;line-height:1}
.cs-ch .bar i{transform-origin:left;animation:cx-grow 1s cubic-bezier(.16,1,.3,1) both}
@media (hover:hover){.cs-chd>summary.cs-ch:hover{transform:translateY(-2px);border-color:rgba(255,159,26,.55);background:var(--raise,#18202b)}.cs-chd>summary.cs-ch:hover .cx-n img{transform:scale(1.08)}}
@media (max-width:520px){.cs-ch{grid-template-columns:52px 1fr auto;gap:10px;padding:12px 12px}.cs-ch .n.cx-n{width:52px;height:42px;border-radius:9px}.cx-n i{left:3px;bottom:3px;height:17px;min-width:17px;font-size:11px}}
.cs-chd[open]>.cs-card{animation:px-qin .4s cubic-bezier(.16,1,.3,1)}
/* the pass box: a fan of chapter art */
.cx-fan{display:flex;justify-content:center;margin:2px 0 14px;height:64px}
.cx-fan img{width:96px;height:54px;object-fit:cover;border-radius:10px;border:2px solid #1d2531;box-shadow:0 14px 26px -12px rgba(0,0,0,.9);margin:0 -14px;transform:rotate(calc((var(--k) - 2) * 7deg)) translateY(calc(var(--d) * 1px));transition:transform .5s cubic-bezier(.16,1,.3,1)}
.cx-fan img:nth-child(1){--k:0;--d:8}.cx-fan img:nth-child(2){--k:1;--d:2}.cx-fan img:nth-child(3){--k:2;--d:0;z-index:1}.cx-fan img:nth-child(4){--k:3;--d:2}.cx-fan img:nth-child(5){--k:4;--d:8}
@media (hover:hover){.cs-lockbox:hover .cx-fan img{transform:rotate(calc((var(--k) - 2) * 10deg)) translateY(calc(var(--d) * 1px - 4px))}}
@media (max-width:420px){.cx-fan img{width:76px;height:43px;margin:0 -12px}}
@keyframes cx-grow{from{transform:scaleX(0)}}
/* round 9 (18.11.2026): the price in plain words, "verder waar je was" in the hero, a little more life on scroll.
   Reveals only ever touch blocks that start below the fold (theorie-motion.js), so screenshots and no-JS see everything. */
.cx-price{margin:2px auto 10px;max-width:560px;line-height:1.45;color:var(--copy,#dfe5ee)}
.cx-price b{display:block;font-size:clamp(22px,3vw,26px);font-weight:900;letter-spacing:-.02em;color:var(--text)}
.cx-price span{font-size:15px}
.cx-resume{margin-top:22px;background:rgba(19,25,34,.88);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:cx-up .6s cubic-bezier(.16,1,.3,1) both}
.cx-resume .btn{flex:none}
@keyframes cx-up{from{transform:translateY(10px)}}
html.wm #pas.rv-pre .cx-fan img{transform:rotate(0) translateY(10px)}
html.wm #pas.rv-in .cx-fan img{transition-delay:.25s}
html.wm .cs-chd.rv-pre .cx-n img{transform:scale(1.25)}
html.wm .cs-chd.rv-in .cx-n img{transition-delay:calc(var(--i,0) * 55ms + .1s)}
/* desktop, returning visitor: title, numbers and the way back in; the pitch they already read makes room for it */
@media (min-width:701px){.cx-resume{flex-wrap:nowrap;width:min(520px,calc(100vw - 40px));padding:14px 18px;margin-top:26px}.cx-resume>div{flex:1 1 auto;min-width:0}
  .cx-resume .t{font-size:16.5px}.cx-resume .btn{min-height:46px;padding:0 20px;font-size:15.5px}
  .cx-htxt:has(.cx-resume:not([hidden]))>p{display:none}}
@media (max-width:700px){.cx-resume{margin-top:16px}}
/* round 14 student (23.11.2026): on a phone the course hero is one line + one big free-start button; the 50/30/44 detail
   stays in the numbers row below. Round 16 (25.11.2026): 'Gratis proefexamen' is a full-width ghost button again, as on desktop */
.cx-lead-m{display:none}
@media (max-width:700px){.cx-hero .cx-lead-d{display:none}.cx-hero .cx-lead-m{display:block;margin-bottom:0}}
/* course hub chapter: one 'wat je leert' line under 'x lessen, ca. y min' (round 16); an opened chapter shows its full intro instead */
.cs-ch .lrn{font-size:13.5px;line-height:1.35;color:var(--muted);margin-top:3px}
.cs-chd[open] .cs-ch .lrn{display:none}


/* ================= lesson screen (/cursus/les/) ================= */
.lx-ch{display:inline-block;width:30px;height:20px;object-fit:cover;border-radius:5px;vertical-align:-5px;margin-inline-end:6px}
.lx-dots{display:inline-flex;gap:4px;margin-inline-start:10px;vertical-align:1px}
.lx-dots i{width:7px;height:7px;border-radius:50%;background:rgb(var(--ink,255 255 255) / .16)}
.lx-dots i.done{background:var(--good)}
.lx-dots i.on{width:18px;border-radius:9px;background:var(--accent);box-shadow:0 0 0 3px rgba(255,159,26,.18)}
/* the chapter diorama breathes slowly (a scale on its own layer, nothing reflows) */
.cs-art:before{content:"";position:absolute;inset:0;background:inherit;animation:lx-kb 22s ease-in-out infinite alternate;will-change:transform}
@keyframes lx-kb{from{transform:scale(1)}to{transform:scale(1.07) translate3d(-1%,-1%,0)}}
/* progress: one segment per screen, the fill glides and glows */
.les-bar{position:relative;height:8px}
.les-bar i{transition:width .5s cubic-bezier(.16,1,.3,1);background:linear-gradient(90deg,#ffb84d,var(--accent));box-shadow:0 0 12px rgba(255,159,26,.55)}
.les-bar:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(100% / var(--n,1) - 3px),var(--bg) calc(100% / var(--n,1) - 3px),var(--bg) calc(100% / var(--n,1)))}
/* a new screen slides in from the side you go to */
.cs-lesson[data-dir] .les-screen{animation:lx-in .45s cubic-bezier(.16,1,.3,1)}
.cs-lesson[data-dir=b] .les-screen{animation-name:lx-back}
@keyframes lx-in{from{opacity:0;transform:translateX(28px)}}
@keyframes lx-back{from{opacity:0;transform:translateX(-28px)}}
/* things to do: a pop when right, a shake when wrong; the remember box lands like a stamp */
.les-play{box-shadow:0 18px 40px -28px rgba(77,163,255,.6)}
.les-btns button,.les-sign,.les-mean{transition:transform .15s,background .2s,border-color .2s}
.les-btns button:active:not([disabled]),.les-sign:active,.les-mean:active{transform:scale(.97)}
@media (hover:hover){.les-btns button:hover:not([disabled]),.les-sign:hover:not([disabled]),.les-mean:hover:not([disabled]){border-color:rgba(255,255,255,.35);background:rgb(var(--ink,255 255 255) / .1)}}
.les-btns button.ok,.les-sign.ok,.les-mean.ok{animation:lx-pop .45s cubic-bezier(.16,1,.3,1)}
.les-btns button.no,.les-mean.no{animation:lx-shake .4s}
.les-out.good,.les-out.bad{animation:lx-up .4s cubic-bezier(.16,1,.3,1)}
@keyframes lx-pop{40%{transform:scale(1.05)}}
@keyframes lx-shake{20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
@keyframes lx-up{from{opacity:0;transform:translateY(6px)}}
.les-onthoud{position:relative;box-shadow:0 20px 44px -26px rgba(255,159,26,.7);animation:lx-stamp .6s .2s cubic-bezier(.16,1,.3,1) both}
@keyframes lx-stamp{from{opacity:0;transform:scale(1.06) rotate(-1deg)}}
.les-streak{animation:lx-up .5s .2s both}
.les-nav .les-go{transition:transform .18s cubic-bezier(.16,1,.3,1),box-shadow .25s}
@media (hover:hover){.les-nav .les-go:hover{transform:translateX(3px)}}
.cs-next .btn:not(.ghost){box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 0 var(--edge),0 14px 28px -10px rgba(255,159,26,.55)}

/* round 9 critics (18.11.2026): rewarding feedback. Right = a check that pops + one green pulse round the box (~400 ms),
   wrong = a gentle shake and the explanation; the same for the questions inside a lesson (.cs-fb) */
.les-play{transition:border-color .3s}
.les-play.is-ok{border-color:rgba(47,210,122,.65);animation:lx-pulse .5s ease-out}
.les-play.is-no{border-color:rgba(255,122,124,.55);animation:lx-nudge .38s ease-in-out}
.les-mark{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;margin-inline-end:8px;vertical-align:-6px;font-size:15px;font-weight:900;line-height:1}
.les-out.good .les-mark{background:var(--good);color:#06240f;box-shadow:0 0 0 4px rgba(47,210,122,.18);animation:lx-check .42s cubic-bezier(.34,1.56,.64,1) both}
.les-out.bad .les-mark{background:rgba(255,122,124,.18);color:#ff8a8a;border:1px solid rgba(255,122,124,.5)}
.cs-lesson .cs-fb.ok .v{transform-origin:0 50%;animation:lx-v .42s cubic-bezier(.34,1.56,.64,1) both}
@keyframes lx-v{0%{transform:scale(.7);opacity:0}60%{transform:scale(1.08)}100%{transform:none;opacity:1}}
.cs-lesson .cs-fb.ok{animation:lx-pulse .5s ease-out}
.cs-lesson .cs-fb.ko{animation:lx-nudge .38s ease-in-out}
@keyframes lx-check{0%{transform:scale(0) rotate(-30deg);opacity:0}60%{transform:scale(1.18) rotate(0)}100%{transform:scale(1);opacity:1}}
@keyframes lx-pulse{0%{box-shadow:0 0 0 0 rgba(47,210,122,.55)}100%{box-shadow:0 0 0 14px rgba(47,210,122,0)}}
@keyframes lx-nudge{20%,60%{transform:translateX(-4px)}40%,80%{transform:translateX(4px)}}
/* mini check: one dot per question, green or red as you go */
.les-mdots{display:flex;gap:6px;margin:4px 0 10px}
.les-mdots i{width:12px;height:12px;border-radius:50%;background:rgb(var(--ink,255 255 255) / .14)}
.les-mdots i.ok{background:var(--good);animation:lx-check .42s cubic-bezier(.34,1.56,.64,1)}
.les-mdots i.no{background:#ff7a7c;animation:lx-check .42s ease-out}
/* end of a lesson: chapter progress (one segment per lesson, this one fills when you finish) + next lesson card */
.cs-next:has(.les-end){display:block}
.les-end{display:grid;gap:14px}
.les-prog{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 16px}
.les-ptop{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;align-items:baseline;margin-bottom:10px}
.les-ptop b{font-size:16px}.les-pn{font-size:14px;font-weight:800;color:var(--good)}
.les-prog.grew .les-pn{animation:lx-check .45s .45s cubic-bezier(.34,1.56,.64,1) both}
.les-segs{display:flex;gap:5px}
.les-segs i{position:relative;flex:1;height:10px;border-radius:6px;background:rgb(var(--ink,255 255 255) / .1);overflow:hidden}
.les-segs i b{position:absolute;inset:0;width:0;background:var(--good);border-radius:inherit}
.les-segs i.done b{width:100%}
.les-segs i.cur{outline:2px solid rgba(255,159,26,.75);outline-offset:2px}
.les-prog.grew .les-segs i.cur b{transition:width .7s cubic-bezier(.16,1,.3,1);box-shadow:0 0 12px rgba(47,210,122,.7)}
.les-pall{margin:10px 0 0;font-size:14px;color:var(--muted)}
.les-nextc{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 14px;text-decoration:none;color:#141414;background:linear-gradient(135deg,#ffb84d,var(--accent));border-radius:18px;padding:16px 20px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 0 var(--edge,#b86a00),0 16px 30px -12px rgba(255,159,26,.6);transition:transform .18s cubic-bezier(.16,1,.3,1)}
.les-nextc .k{grid-column:1;font-size:12.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.75}
.les-nextc b{grid-column:1;font-size:clamp(18px,4.6vw,22px);line-height:1.25}
.les-nextc .arr{grid-column:2;grid-row:1/3;font-size:28px;font-weight:800;transition:transform .18s}
@media (hover:hover){.les-nextc:hover{transform:translateY(-2px)}.les-nextc:hover .arr{transform:translateX(4px)}}
.les-nextc:focus-visible{outline:3px solid #fff;outline-offset:3px}
.les-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.les-more{display:flex;flex-wrap:wrap;gap:10px}
@media (max-width:560px){.les-more .btn{flex:1 1 100%;justify-content:center}}

/* ================= reduced motion: these pages stand still ================= */
@media (prefers-reduced-motion:reduce){
  .px-phone,.px-badge,.px-badge .px-sweep,.px-ic *,.px-q,.ts-grid button,.cs-art:before,.cs-lesson .les-screen,.les-onthoud,.les-streak,.les-out,.les-play,.les-mark,.cs-lesson .cs-fb,.cs-lesson .cs-fb.ok .v,.les-mdots i,.les-pn,.les-btns button,.les-sign,.les-mean,.cs-ch .bar i,.cs-chd[open]>.cs-card,.cx-resume{animation:none!important}
  .cx-art video{display:none}.cx-art img{transform:translate3d(12%,0,0)}
  .cs-ring,.les-bar i,.les-segs i b,.les-nextc,.les-nextc .arr,.les-play,.px-score .px-arc,.cx-n img,.cs-ch,.cx-fan img,.px-res{transition:none!important}
}
@media (prefers-reduced-motion:reduce) and (max-width:700px){.cx-art img{transform:none}}
/* the full-bleed hero art and the sliding screens never make the page scroll sideways */
.cs-lesson,.ts-mini{overflow-x:clip}
.px-go{margin:18px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}.px-go .btn{font-size:1.05rem;padding:14px 22px}
/* next to Start: exam language + read aloud (round 9, 18.11.2026) */
.px-opts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:14px;color:var(--muted)}
.px-lang{display:inline-flex;align-items:center;gap:4px}.px-lang a{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);text-decoration:none;font-weight:700;font-size:13px}
.px-lang a[aria-current]{color:var(--text);border-color:rgba(255,159,26,.6);background:rgba(255,159,26,.12)}.px-lang a:hover{color:var(--text)}
.px-say{display:inline-flex;align-items:center;gap:7px;cursor:pointer;min-height:32px}.px-say[hidden]{display:none}.px-say input{width:18px;height:18px;margin:0;accent-color:var(--accent)}
body.px-run .px-go{display:none}

/* "Toon in mijn taal" (round 9 critics, 18.11.2026; site/assets/les-taal.js): the lesson in an e-book language, under the title */
.lx-taal{margin:0 0 14px}
.lx-tl{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;font-size:14px;color:var(--muted)}
.lx-chip{font:inherit;display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:rgb(var(--ink,255 255 255) / .05);color:var(--copy,#e3e8ef);font-size:14px;font-weight:700;cursor:pointer;text-decoration:none}
.lx-chip:hover,.lx-chip[aria-pressed=true]{border-color:var(--accent);background:rgba(255,159,26,.14)}
.lx-tp{margin-top:12px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px 18px;line-height:1.6;animation:lx-up .35s cubic-bezier(.16,1,.3,1)}
.lx-tp .lx-th b{font-size:12.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-ink,var(--accent))}
.lx-tp h2{font-size:clamp(20px,4.6vw,26px);margin:4px 0 10px}.lx-tp h3{font-size:18px;margin:16px 0 6px}.lx-tp p{margin:8px 0}.lx-tp ul{margin:8px 0;padding-inline-start:22px}
.lx-terms{background:rgb(var(--ink,255 255 255) / .04);border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:6px 0 12px}
.lx-terms .k{font-size:12.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.lx-terms ul{margin:6px 0 0;padding-inline-start:20px}
.lx-tp .lx-note{font-size:13.5px;color:var(--muted);margin-top:14px}
.lx-tp .lx-keep{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}.lx-tp .lx-keep .lx-x{flex:none}
@media (prefers-reduced-motion:reduce){.lx-tp{animation:none!important}}
/* course hub: free-start CTA in the hero + offer mid-list (gate round 11, 23.11.2026) */
.cx-cta{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 0}
.cx-cta[hidden]{display:none}
.cx-midpas{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(90deg,rgba(255,140,40,.10),rgba(255,140,40,.03));font-size:15px;line-height:1.4}
.cx-midpas b{color:var(--text)}
.cx-midpas span{flex:1 1 320px}
.cx-cta .btn,.cx-midpas .btn{display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;flex:none}
@media (max-width:700px){.cx-cta .btn{flex:1 1 100%;width:100%}.cx-midpas{font-size:14.5px}}
/* course hub phone: chapters as 2-column picture tiles (gate round 12: "one long list of 15 near-identical cards"); an opened chapter spans the full width */
@media (max-width:520px){
  /* r35ebook: minmax(0,1fr), not 1fr: a 1fr track never shrinks below its longest word, so /de/cursus/ ('Fahrstreifenwechsel')
     pushed the right column ~13 px past a 375 px screen; the word now breaks inside its tile instead */
  #chapters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  #chapters>.cx-midpas,#chapters>.cs-chd[open]{grid-column:1/-1}
  #chapters>.cx-midpas{margin:2px 0}
  #chapters>.cs-chd:not([open])>summary.cs-ch{grid-template-columns:1fr;align-content:start;gap:5px;padding:0 0 11px;height:100%;box-sizing:border-box;overflow:hidden}
  #chapters>.cs-chd:not([open])>summary .n.cx-n{width:100%;height:auto;aspect-ratio:16/9;border-radius:0;margin-bottom:4px}
  #chapters>.cs-chd:not([open]) .cx-n i{left:7px;top:7px;bottom:auto;height:24px;min-width:24px;font-size:13px;border-radius:12px}
  #chapters>.cs-chd:not([open])>summary>span:not(.n){padding:0 11px}
  #chapters>.cs-chd:not([open]) .cs-ch .t{font-size:15px;line-height:1.25;overflow-wrap:anywhere;hyphens:auto}
  #chapters>.cs-chd:not([open]) .cs-ch .s{font-size:12.5px}
  #chapters>.cs-chd:not([open]) .cs-ch .lrn{font-size:12.5px;line-height:1.3}
  #chapters>.cs-chd:not([open]) .cs-ch .pct{text-align:left;min-width:0;font-size:14px}
  #chapters>.cs-chd:not([open]) .cs-ch .bar{grid-column:1;margin:0 11px}
}
/* mock exam page desktop: site.css gives every section 88px top + bottom plus a 56px margin = ~230px of empty dark between blocks
   (gate round 12, newcomer + instructor: "large empty dark gaps") */
@media (min-width:701px){
  section.px-hero{padding-top:44px;padding-bottom:40px}
  section.px-after{margin-top:24px;padding:48px 0}
  section.px-chs{margin-top:0;padding:40px 0 48px}
}
/* round 13 newcomer: no automatic hyphenation on phones ("oefenvra-gen" is hard to read at B1); long words still wrap without overflow */
.cs-main{hyphens:manual!important;-webkit-hyphens:manual!important}
/* course meter ring for free visitors: test size or intake score instead of a bare "?" (round 13 student) */
.cs-ring b small{display:block;font-size:11px;font-weight:600;color:var(--muted);line-height:1.1;margin-top:1px}
/* course hub: one real lesson screen as a preview above the chapter list (round 13 instructor) */
.cx-lesprev{display:flex;align-items:center;gap:16px;margin:14px 0 4px;padding:12px 16px 12px 12px;border:1px solid var(--line);border-radius:14px;background:var(--card);text-decoration:none;color:var(--text)}
.cx-lesprev:hover{border-color:rgba(255,159,26,.55)}
.cx-lp-ph{flex:none;width:92px;height:132px;border-radius:14px;border:3px solid #2a3442;overflow:hidden;background:var(--sunk,#0d1219)}
.cx-lp-ph img{display:block;width:100%;height:auto}
.cx-lesprev>span:last-child{display:flex;flex-direction:column;gap:4px;font-size:14.5px;line-height:1.35}
.cx-lesprev b{font-size:17px}
.cx-lp-go{color:var(--accent-ink,var(--accent));font-weight:700;margin-top:2px}

/* question 1 live in the proefexamen hero (23.11.2026): replaces the phone screenshot once the free questions are loaded */
.px-hero{grid-template-columns:minmax(0,1fr) minmax(0,420px);align-items:start}
.px-hero .px-htxt{padding-top:24px}
.px-hero .px-phone{max-width:250px;justify-self:center}
.px-q1{background:var(--card,#151c26);border:1px solid var(--line);border-radius:22px;padding:16px 16px 14px;box-shadow:0 30px 60px -30px rgba(0,0,0,.8);animation:px-q1in .35s ease-out both}
.px-q1h{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}.px-q1h b{font-size:15px;letter-spacing:.02em;color:var(--accent-ink,var(--accent))}.px-q1h span{font-size:13.5px;color:var(--muted);line-height:1.3}
.px-q1 .cs-qt{font-size:1rem;margin:8px 0}.px-q1 .cs-fig img,.px-q1 .cs-fig svg{max-height:200px;object-fit:cover}.px-q1 .cs-opts button{padding-block:9px}
.px-q1go{margin:12px 0 0}.px-q1go .btn{width:100%}.px-q1go .btn:disabled{opacity:.45;cursor:default}
@keyframes px-q1in{from{opacity:0;transform:translateY(8px)}}
body.px-run .px-q1{display:none}
@media (max-width:700px){
  .px-hero{grid-template-columns:minmax(0,1fr) 118px}
  .px-hero.q1 .px-stats{grid-column:1/-1}
  .px-hero .px-htxt{padding-top:0}
  /* round 14 student: on a phone question 1 comes right under the start button; it takes the stats' place (no layout shift) */
  .px-hero.q1 .px-stats{display:none}
  .px-q1{grid-column:1/-1;grid-row:6;margin-top:14px;padding:12px}
  .px-q1 .cs-fig img,.px-q1 .cs-fig svg{max-height:none}
}
@media (prefers-reduced-motion:reduce){.px-q1{animation:none}}
/* lane B 01.12.2026 (B143, live slow 4G 375x667): Start showed at y422 for ~1.5 s, then question 1 arrived above it and pushed it to
   y1086 (CLS 0.22 NL / 0.26 EN; a tap aimed at Start landed on the photo). With JS on, a phone keeps question 1's place free from the
   first paint (same rows as .q1; height of a photo question at this width); .q1-no (theorie.js q1Off) gives the old layout back. */
@media (max-width:700px) and (scripting:enabled){
  .px-hero:not(.q1):not(.q1-no) .ts-crumb{grid-row:1}.px-hero:not(.q1):not(.q1-no) .kicker{grid-row:2}
  .px-hero:not(.q1):not(.q1-no) h1{grid-row:3;margin-bottom:4px}
  .px-hero:not(.q1):not(.q1-no) .lead{grid-row:5;margin-top:10px}
  .px-hero:not(.q1):not(.q1-no) .px-go{grid-row:6}
  .px-hero:not(.q1):not(.q1-no) .px-prev{grid-row:7}
  .px-hero:not(.q1):not(.q1-no) .px-stats,.px-hero:not(.q1):not(.q1-no) .px-phone{display:none}
  .px-hero:not(.q1):not(.q1-no)::before{content:"";grid-column:1/-1;grid-row:4;margin-top:4px;min-height:calc(47vw + 265px);border:1px solid var(--line);border-radius:22px;background:var(--card,#151c26);animation:px-q1wait 1.1s ease-in-out infinite alternate}
  body.px-run .px-hero::before{display:none}
}
@keyframes px-q1wait{to{opacity:.55}}
@media (prefers-reduced-motion:reduce){.px-hero::before{animation:none!important}}
/* round 14 newcomer + instructor (23.11): one line under Start about the result, jump to the sample result screen */
.px-prev{margin:12px 0 0;font-size:14.5px;line-height:1.4;color:var(--muted);max-width:46ch}
.px-prev a{color:var(--text);font-weight:700;white-space:nowrap}
body.px-run .px-prev,body.px-done .px-prev{display:none}
@media (max-width:700px){.px-prev{grid-column:1/-1;grid-row:7;margin-top:10px;font-size:14px}}


/* cursus hero: language chips -> first lesson opened in that language (round 14 newcomer, 23.11) */
.cx-taal{margin:10px 0 0}
.cx-taal p.muted{margin:0;font-size:14.5px}
.cx-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.cx-chip{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border:1px solid rgb(var(--ink,255 255 255) / .22);border-radius:999px;color:var(--text);text-decoration:none;font-size:15px;background:rgb(var(--ink,255 255 255) / .04)}
.cx-chip:hover,.cx-chip:focus-visible{border-color:var(--accent,#f59e0b);background:rgba(245,158,11,.12)}
/* round 17 (25.11): /proefexamen/ on a phone. Question 1 sits right under the H1 (before the lead and Start), and the empty dark
   stretches from site.css section padding (56 px top + bottom per section, plus main + footer padding) are gone, also before
   'Wie maakt dit?' */
@media (max-width:700px){
  section.px-hero{padding-top:16px;padding-bottom:8px}
  .px-hero.q1 .ts-crumb{grid-row:1}.px-hero.q1 .kicker{grid-row:2}.px-hero.q1 h1{grid-row:3;margin-bottom:4px}
  .px-hero.q1 .px-q1{grid-row:4;margin-top:4px}
  .px-hero.q1 .lead{grid-row:5;margin-top:10px}
  .px-hero.q1 .px-go{grid-row:6}
  .px-hero.q1 .px-prev{grid-row:7}
  section.px-after{margin-top:24px;padding:24px 0 8px}
  section.px-chs{margin-top:0;padding:24px 0 8px}
  section.px-faq{margin-top:0;padding:24px 0 8px}
  .tsp main:has(.px-hero){padding-bottom:8px}
  .tsp:has(.px-hero) footer.foot{padding-top:24px}
  .tsp:has(.px-hero) footer .ts-trust{padding-top:0}
}
/* /cursus/ phone fold (round 17 fix 6): first 5 chapters, then 'Toon alle 15 hoofdstukken'; the offer card mid-list waits until unfolded */
.cs-more{display:none}
@media (max-width:480px){#chapters.cs-fold>.cs-xtra,#chapters.cs-fold>.cx-midpas{display:none}.cs-more{display:flex;justify-content:center;width:100%;margin:12px 0 0}}
/* Round 23 (1.12.2026, 4 of 6 blind critics + designer, phone 375x667): once the exam runs, the 'Extra tijd' / 'Licht examenscherm'
   switches (read at the start; the light switch is also in the Overzicht) left the hero and stopped pushing question 1 under the fold,
   and the breadcrumb goes too. The exam head and the Vorige / Markeer / Volgende row fit in one line down to 320 px (the Overzicht
   button was cut off at the right edge, at 320 the row wrapped to two lines), and anything scrolled into view keeps clear of the
   sticky row. */
body.px-run .px-xo{display:none}
@media (max-width:560px){
body.px-run .px-hero .ts-crumb{display:none}body.px-run section.px-hero{padding-top:0}
html:has(body.px-run){scroll-padding-bottom:84px}
body.px-run .ts-mhead{gap:6px}
body.px-run .ts-mhead>span:nth-child(2){font-size:15px;min-width:0}
body.px-run .ts-mhead #mov{padding:8px 10px;font-size:14px;min-width:0}
body.px-run .ts-mhead #mov .px-gi{margin-right:5px}
body.px-run .px-q+.ts-mnav{flex-wrap:nowrap;gap:8px}
body.px-run .px-q+.ts-mnav>.btn{flex:1 1 auto;min-width:0;padding:10px 8px;white-space:nowrap;text-align:center;justify-content:center}
}
@media (max-width:374px){
body.px-run .ts-mhead>span:nth-child(2){white-space:normal;font-size:14px;line-height:1.15;text-align:center}
body.px-run .ts-mhead #mov{padding:8px 8px;font-size:13.5px}
body.px-run .px-q+.ts-mnav{gap:6px}
body.px-run .px-q+.ts-mnav>.btn{padding:10px 5px;font-size:13.5px}
}
/* Round 24 (2.12.2026, 5 of 6 blind critics, desktop 1280x800 / 1366x768): the drawing (420 px square), the A/B pair and the photo
   (858x490) sat above the question, so the question text and the answers began at 700-770 px, under the fold. On a wide screen the
   picture now stands left and the question, its buttons and the answers right of it (picture scaled down, never up or cropped, at most
   the screen height minus the exam head). A tap-the-hazard photo stays on top (the photo is the answer) but is narrowed so it ends on
   the first screen. Phone (r23px unchanged): the page title is kept for screen readers only once the exam runs, so at scroll 0 the
   exam head sits right under the site header and the last answer clears the sticky Vorige / Markeer / Volgende row. */
@media (min-width:900px){
body.px-run .px-q .cs-q:has(>.cs-fig:not(.signs):not(.cs-spotfig)){display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr;column-gap:24px;align-items:start}
body.px-run .px-q .cs-q:has(>.cs-fig:not(.signs):not(.cs-spotfig))>*{grid-column:2;min-width:0}
body.px-run .px-q .cs-q:has(>.cs-fig:not(.signs):not(.cs-spotfig))>.cs-fig{grid-column:1;grid-row:1/-1;margin:0;align-self:start}
body.px-run .px-q .cs-q:has(>.cs-fig:not(.signs):not(.cs-spotfig))>.cs-qbar{margin:0 0 6px;justify-content:flex-start;flex-wrap:wrap}
body.px-run .px-q .cs-q:has(>.cs-fig:not(.signs):not(.cs-spotfig))>.cs-qt{margin-top:0}
body.px-run .px-q .cs-fig:not(.cs-ab):not(.photo):not(.signs):not(.cs-hot) svg{max-height:calc(100vh - 250px);width:auto;max-width:100%}
body.px-run .px-q .cs-fig.photo:not(.cs-spotfig)>img{max-height:calc(100vh - 250px);width:auto!important;max-width:100%;margin:0 auto}
body.px-run .px-q .cs-fig.cs-spotfig{max-width:calc((100vh - 380px) * 1.75);min-width:min(100%,480px);margin-left:auto;margin-right:auto}
}
@media (max-width:560px){
body.px-run .px-hero h1{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
body.px-run section.px-hero{padding-bottom:0;margin-bottom:0}body.px-run.tsp .ts-main{padding-top:84px}
}
