/*
Theme Name: Rijbewijs van Toen
Theme URI: https://rijbewijsvantoen.nl/
Author: Rijbewijs van Toen
Description: Zelfstandige nostalgische WordPress-website met historische verkeersquiz en bewegende filmstrook.
Version: 2.6.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rijbewijsvantoen
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#111a18;color:#f3e7d3;font-family:Georgia,serif}.top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px clamp(18px,4vw,70px);background:#0b1514;border-bottom:1px solid #a69b80}.top a{color:#f2e6cf;text-decoration:none}.brand{font-size:clamp(18px,2vw,29px);font-weight:900;letter-spacing:1px}.brand span{font-size:.75em}.top nav{display:flex;flex-wrap:wrap;gap:clamp(10px,2vw,35px);font-size:12px;letter-spacing:1px}.hero{position:relative;isolation:isolate;min-height:620px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;background:#111614}
.hero::before{content:"";position:absolute;inset:0;background-image:url('assets/hero.webp');background-repeat:no-repeat;background-position:center center;background-size:contain;opacity:.82;z-index:-2}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0a0e0c8c,#17151230 35%,#17151230 65%,#0a0e0c8c),linear-gradient(0deg,#0b100d72,transparent 35%);z-index:-1;pointer-events:none}
.hero-content{position:relative;z-index:1;padding:35px 14px 70px;width:min(100%,730px)}.overline{letter-spacing:7px;font-size:14px}.hero h1{font-size:clamp(49px,7.2vw,105px);line-height:.86;margin:20px 0;color:#f3e5c9;text-shadow:3px 5px 1px #13100c;letter-spacing:2px}.hero h1 span{font-size:.76em}.tagline{font-size:clamp(16px,2vw,23px);margin:30px 0}.intro-card{width:min(100%,510px);margin:auto;background:#f4e6c9;color:#231b13;padding:25px 27px;border:6px double #988568;box-shadow:0 12px 32px #0008;border-radius:13px}.intro-card label{font-weight:bold;font-size:15px;letter-spacing:1px}.hero-year{display:flex;align-items:center;gap:15px;margin-top:20px}.hero-year input{flex:1;min-width:0;accent-color:#aa2723;height:35px;cursor:pointer}.hero-year output{font-size:28px;font-weight:bold}.range-ends{display:flex;justify-content:space-between;padding-right:67px;font-size:12px}.btn{background:#a92723;color:white;border:0;padding:16px 25px;cursor:pointer;font:700 16px Georgia,serif}.btn:hover{background:#85211e}.btn.secondary{background:#625a4f}.btn:disabled{opacity:.45;cursor:not-allowed}.hero-btn{width:100%;margin-top:20px}.intro-card p{font-size:12px;margin:12px 0 0}.video-link{position:absolute;bottom:20px;right:25px;z-index:2;color:#fff3df;font:700 11px Georgia,serif;letter-spacing:1px;text-decoration:none;display:flex;align-items:center;gap:12px;max-width:280px}.play{border:2px solid #fff3df;border-radius:50%;width:53px;height:53px;display:grid;place-items:center;font-size:20px}.topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#f2e5cb;color:#211b16;padding:25px clamp(20px,4vw,65px)}.topics article{padding:10px 25px;border-right:1px solid #b8a68b}.topics article:last-child{border:0}.topic-num{display:inline-grid;place-items:center;border-radius:50%;width:36px;height:36px;background:#141b1b;color:white;font-size:21px}.topics h2{font-size:clamp(18px,2vw,24px);margin:10px 0 3px}.topic-sub{font-size:12px;font-weight:bold;color:#a52523;letter-spacing:1px}.topics article>p:last-child{line-height:1.6}.panel,.info{max-width:920px;margin:35px auto;padding:35px;background:#f1e4cb;color:#29231c;border:5px double #8b785b;box-shadow:0 8px 32px #0005}.info{background:#ded0b6}.eyebrow{letter-spacing:3px;font-size:12px;text-align:center}h1,h2,h3{line-height:1.2}.panel h1{font-size:clamp(27px,4vw,43px)}.panel h2{font-size:28px}p{line-height:1.6}.info a,.result a{color:#76291f}.disclaimer,.muted,.note{font-size:13px;color:#645849}.year-picker{display:flex;align-items:center;gap:20px;margin:20px 0 2px}.year-picker input[type=range]{width:100%;min-width:0;accent-color:#a92723;cursor:pointer;min-height:44px}.year-picker output{min-width:75px;text-align:center;font-size:2rem;font-weight:800}.year-ticks{display:flex;justify-content:space-between;padding-right:95px;margin-bottom:20px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.answers{display:grid;gap:10px}.option{text-align:left;background:#fff7e7;color:#211b15;border:2px solid #ab9876;padding:16px;cursor:pointer;font:inherit}.option.selected{background:#dfd0b0;border-color:#922b20}.progress{height:10px;background:#c4b596}.progress>div{height:100%;background:#922b20}.result{padding:15px 0;border-bottom:1px solid #b6a483}.pill{background:#4e4435;color:#fff;padding:4px 8px;font-size:12px}.correct{color:#1e6b37}.wrong{color:#a72b23}.score{font-size:64px;font-weight:bold}.board-gallery{display:flex;flex-wrap:wrap;gap:14px;margin:18px 0 22px}.board{margin:0;padding:12px;background:#f4eddb;border:1px solid #bcae92;border-radius:9px;width:155px;text-align:center}.board img{width:125px;height:125px;object-fit:contain}.board figcaption{font-size:12px;color:#352e25;margin-top:6px}.board figcaption small{display:block;color:#815b4e;font-size:10px;margin-top:5px}footer{text-align:center;padding:30px;font-size:12px;color:#c1b29b}footer a{color:inherit}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #f6b943;outline-offset:4px}@media(max-width:760px){.top{flex-direction:column;text-align:center}.top nav{justify-content:center}.hero{min-height:670px}.hero-content{padding-top:20px}.topics{grid-template-columns:1fr}.topics article{border-right:0;border-bottom:1px solid #b8a68b}.topics article:last-child{border-bottom:0}.panel,.info{margin:15px 9px;padding:20px}.video-link{bottom:8px;right:12px;font-size:9px}.play{width:36px;height:36px}}

/* v1.0: afbeelding behoudt zijn oorspronkelijke verhoudingen; geen vervorming. */
@media(min-width:1100px){.hero{min-height:660px}.hero::before{background-size:auto 100%;background-position:center center}}
@media(max-width:760px){.hero::before{background-size:cover;background-position:52% center}.hero h1{font-size:clamp(46px,12vw,78px)}.hero-content{padding-bottom:95px}.intro-card{padding:19px 15px}.hero-year output{font-size:24px}}

/* v1.1: compact, image keeps its aspect ratio via cover; no stretched image */
.hero{min-height:clamp(405px,56vh,515px);align-items:center}
.hero::before{background-size:cover;background-position:64% 43%;opacity:.83}
.hero-content{padding:13px 12px 25px;width:min(100%,620px)}
.hero h1{font-size:clamp(43px,5.2vw,72px);margin:9px 0 6px;line-height:.86}
.hero h1 span{font-size:.76em}
.overline{font-size:11px;letter-spacing:5px;margin:0}
.tagline{font-size:clamp(14px,1.5vw,18px);margin:13px 0}
.intro-card{width:min(100%,445px);padding:12px 19px;border-width:4px}
.intro-card label{font-size:12px}
.hero-year{margin-top:5px}
.hero-year output{font-size:23px}
.hero-btn{margin-top:8px;padding:11px}
.intro-card p{margin:7px 0 0}
.video-link{bottom:10px;right:18px}
.play{width:38px;height:38px}
.topics{padding:10px clamp(12px,3vw,45px)}
.topics article{padding:5px 16px}
.topics h2{font-size:clamp(15px,1.5vw,19px);margin:4px 0 1px}
.topics article>p:last-child{font-size:13px;line-height:1.35;margin:5px 0}
.topic-sub{font-size:10px;margin:4px 0}
.topic-num{width:28px;height:28px;font-size:17px}
.board-missing{background:#fff4e1;border-style:dashed}
.board-missing::before{content:'Afbeelding nog niet toegevoegd';display:block;font-size:12px;color:#8b3429}
@media(max-width:700px){.hero{min-height:490px}.hero::before{background-position:60% center}.hero-content{padding:14px 12px 65px}.video-link{bottom:10px}.topics{grid-template-columns:1fr}.topics article{border-right:0;border-bottom:1px solid #b8a68b;padding:9px 12px}.topics article:last-child{border-bottom:0}}

/* v1.4 — filmstrook: ononderbroken van beneden naar boven */
.quiz-layout{align-items:stretch}
.filmstrip{position:relative;min-width:0;min-height:650px;background:#171614;color:#e9d7b6;border:2px solid #7d6b4d;box-shadow:0 8px 32px #0006;display:flex;flex-direction:column;overflow:hidden}
.filmstrip-head{z-index:2;position:relative;background:#171614;text-align:center;padding:16px 7px 12px;border-bottom:1px solid #6d5c42;font-size:13px;font-weight:bold;letter-spacing:2px}
.filmstrip-head small{display:block;font-size:9px;letter-spacing:1px;margin-top:5px;color:#c3a881}
.filmstrip-frames{position:relative;flex:1;min-height:0;overflow:hidden;background:#171614}
.filmstrip-frames::before,.filmstrip-frames::after{content:"";position:absolute;z-index:2;top:0;bottom:0;width:11px;background:repeating-linear-gradient(to bottom,#d7c39b 0,#d7c39b 11px,transparent 11px,transparent 22px);pointer-events:none}
.filmstrip-frames::before{left:5px}.filmstrip-frames::after{right:5px}
.filmstrip-track{position:absolute;top:0;left:0;right:0;display:flex;flex-direction:column;will-change:transform;animation:film-roll var(--film-duration,120s) linear infinite}
.filmstrip-group{display:flex;flex-direction:column;gap:14px;padding:7px 22px;box-sizing:border-box}
@keyframes film-roll{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.film-frame{margin:0;background:#e2d5bb;padding:6px 6px 8px;border:1px solid #9b8a69;box-shadow:0 4px 12px #0009;overflow:hidden}
.film-frame img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;filter:grayscale(1) contrast(1.13) sepia(.12)}
.film-frame figcaption{color:#3c3327;font-size:10px;text-align:center;padding-top:5px;letter-spacing:.5px}
.filmstrip-foot{position:relative;z-index:2;background:#171614;padding:12px 5px;text-align:center;font-size:9px;letter-spacing:1px;color:#c6ac83}
.filmstrip-empty{font-size:12px;text-align:center;line-height:1.6;padding:22px;color:#d6c29c}
.filmstrip:hover .filmstrip-track,.filmstrip:focus-within .filmstrip-track{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.filmstrip-track{animation:none;position:relative}.filmstrip-frames{max-height:680px;overflow-y:auto}.filmstrip-group[aria-hidden="true"]{display:none}}
@media(max-width:760px){.quiz-layout{grid-template-columns:minmax(0,1fr);margin:15px auto;padding:0 9px;gap:10px}.filmstrip{order:2;height:280px;min-height:280px}.quiz-layout .panel{order:1}.filmstrip-head{padding:8px}.filmstrip-foot{display:none}.filmstrip-group{display:flex;flex-direction:row;width:max-content;gap:12px;padding:12px}.filmstrip-track{position:absolute;flex-direction:row;width:max-content;animation-name:film-roll-horizontal}.film-frame{flex:0 0 150px}.filmstrip-frames::before,.filmstrip-frames::after{display:none}@keyframes film-roll-horizontal{from{transform:translateX(0)}to{transform:translateX(-50%)}}}

/* v1.5: ECHTE tweekolomsindeling. Filmstrook blijft smal links. */
.quiz-layout{display:grid;grid-template-columns:clamp(145px,16vw,210px) minmax(0,1fr);gap:22px;align-items:stretch;width:min(100% - 32px,1160px);margin:30px auto 38px;padding:0}
.quiz-layout>.filmstrip{grid-column:1;grid-row:1;width:100%;min-width:0;min-height:600px;height:auto;margin:0}
.quiz-layout>.panel{grid-column:2;grid-row:1;min-width:0;max-width:none;width:100%;margin:0;align-self:stretch}
.quiz-layout .filmstrip-head{font-size:10px;letter-spacing:1px;padding:12px 4px}
.quiz-layout .filmstrip-head small{font-size:8px}
.quiz-layout .filmstrip-group{gap:12px;padding:7px 19px}
.quiz-layout .film-frame{padding:4px 4px 6px}
.quiz-layout .film-frame figcaption{font-size:8px}
.quiz-layout .filmstrip-frames::before,.quiz-layout .filmstrip-frames::after{width:8px}
.quiz-layout .filmstrip-frames::before{left:4px}
.quiz-layout .filmstrip-frames::after{right:4px}
@media(max-width:760px){
 .quiz-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:calc(100% - 18px);margin:16px auto;padding:0}
 .quiz-layout>.panel{grid-column:1;grid-row:1;margin:0;width:100%}
 .quiz-layout>.filmstrip{grid-column:1;grid-row:2;width:100%;height:220px;min-height:220px}
 .quiz-layout .filmstrip-group{flex-direction:row;width:max-content;padding:10px;gap:12px}
 .quiz-layout .film-frame{flex:0 0 155px}
}
@media(min-width:761px) and (max-width:900px){.quiz-layout{grid-template-columns:145px minmax(0,1fr);gap:12px}.quiz-layout>.panel{padding:22px}}

.wp-content{max-width:1000px;margin:40px auto;min-height:55vh}.wp-content .panel{max-width:none}.admin-bar .top{top:32px}

/* v2.1 — responsive layout correction, loaded after legacy rules */
:root{--rvt-film-width:clamp(118px,13vw,185px);--rvt-content-max:1040px}
html,body{max-width:100%;overflow-x:clip}
img{max-width:100%;height:auto}
.hero{min-height:clamp(440px,64svh,680px);height:auto;overflow:hidden;isolation:isolate}
.hero::before{background-size:cover;background-position:35% 45%;transform:none}
.hero::after{background:linear-gradient(90deg,rgba(8,13,12,.48),rgba(8,13,12,.30) 38%,rgba(8,13,12,.55)),linear-gradient(0deg,rgba(8,13,12,.58),transparent 60%)}
.hero-content{width:min(100% - 32px,610px);padding:clamp(24px,3vw,42px) 0 clamp(68px,6vw,92px)}
.hero h1{font-size:clamp(40px,5.6vw,76px);overflow-wrap:normal}
.intro-card{width:min(100%,480px)}
/* Film occupies the left edge of the viewport; question panel remains centered in remaining space. */
.quiz-layout{display:grid;grid-template-columns:var(--rvt-film-width) minmax(0,1fr);column-gap:clamp(12px,2vw,30px);width:100%;max-width:none;margin:28px 0 38px;padding:0 clamp(14px,2vw,30px) 0 0;align-items:stretch}
.quiz-layout>.filmstrip{grid-column:1;grid-row:1;width:100%;min-width:0;min-height:620px;max-width:none;margin:0;border-left:0;border-radius:0 7px 7px 0}
.quiz-layout>.panel{grid-column:2;grid-row:1;width:min(100%,var(--rvt-content-max));max-width:var(--rvt-content-max);margin:0 auto;min-width:0;align-self:stretch}
.quiz-layout .filmstrip-group{gap:10px;padding:7px 16px}
.quiz-layout .film-frame{padding:4px}
.quiz-layout .film-frame img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
@media(min-width:1600px){.hero::before{background-position:35% 43%}.quiz-layout{--rvt-film-width:185px}}
@media(max-width:900px) and (min-width:701px){.quiz-layout{--rvt-film-width:125px;column-gap:12px;padding-right:12px}.quiz-layout>.panel{padding:22px}.quiz-layout .filmstrip-group{padding:6px 13px}.hero::before{background-position:30% 45%}}
@media(max-width:700px){
 .top{padding:12px 14px;gap:10px}.top nav{gap:9px 16px;font-size:11px}
 .hero{min-height:0;height:auto}.hero::before{background-position:28% 48%;background-size:cover;opacity:.7}
 .hero::after{background:linear-gradient(0deg,rgba(8,13,12,.82),rgba(8,13,12,.46) 70%,rgba(8,13,12,.62))}
 .hero-content{width:calc(100% - 24px);padding:26px 0 80px}
 .hero h1{font-size:clamp(38px,10vw,66px);line-height:.94;letter-spacing:0}
 .overline{font-size:11px;letter-spacing:3px}.tagline{font-size:clamp(15px,4vw,19px);margin:16px 0}
 .intro-card{padding:15px 12px;border-width:4px}.intro-card label{font-size:12px}
 .hero-year{gap:8px}.hero-year output{font-size:22px}.hero-year input{min-width:0}
 .video-link{bottom:10px;right:10px;left:10px;justify-content:flex-end;font-size:9px}
 .topics{grid-template-columns:1fr;padding:12px 15px}.topics article{padding:10px 4px}
 .quiz-layout{display:flex;flex-direction:column;width:100%;margin:16px 0 26px;padding:0 10px;gap:12px}
 .quiz-layout>.panel{order:1;width:100%;max-width:100%;margin:0;padding:clamp(14px,4vw,25px)}
 .quiz-layout>.filmstrip{order:2;width:100%;height:188px;min-height:188px;max-height:188px;border:2px solid #7d6b4d;border-radius:6px}
 .quiz-layout .filmstrip-head{padding:6px;font-size:10px}.quiz-layout .filmstrip-foot{display:none}
 .quiz-layout .filmstrip-track{position:absolute;top:0;left:0;right:auto;display:flex;flex-direction:row;width:max-content;animation:film-roll-horizontal var(--film-duration,120s) linear infinite}
 .quiz-layout .filmstrip-group{display:flex;flex-direction:row;gap:10px;width:max-content;padding:7px}
 .quiz-layout .film-frame{flex:0 0 140px}.quiz-layout .filmstrip-frames::before,.quiz-layout .filmstrip-frames::after{display:none}
 .year-picker{gap:10px}.year-picker output{min-width:60px;font-size:1.5rem}.year-ticks{padding-right:70px}
 .panel,.info{max-width:100%;margin:14px 10px;padding:18px}
 .option{min-height:48px;overflow-wrap:anywhere}
}
@media(max-width:380px){.hero h1{font-size:36px}.top .brand{font-size:17px}.intro-card{padding:12px 9px}}
@media(prefers-reduced-motion:reduce){.quiz-layout .filmstrip-track{animation:none!important}}

/* v2.2 — unified responsive grid, film visible from top of home page */
:root{--rvt-film:clamp(124px,12vw,182px)}
.rvt-page{display:grid;grid-template-columns:var(--rvt-film) minmax(0,1fr);grid-auto-rows:auto;align-items:stretch;width:100%;min-width:0}
.rvt-page>.filmstrip{grid-column:1;grid-row:1 / span 5;min-width:0;width:100%;height:100%;min-height:0;margin:0;border-left:0;border-radius:0;align-self:stretch;z-index:3}
.rvt-page>.hero,.rvt-page>.topics,.rvt-page>.quiz-layout,.rvt-page>.info{grid-column:2;min-width:0}
.rvt-page>.hero{grid-row:1;min-height:clamp(440px,65svh,690px);height:auto}
.rvt-page>.topics{grid-row:2}
.rvt-page>.quiz-layout{grid-row:3;display:block;width:min(100% - 36px,1050px);max-width:1050px;margin:26px auto 34px;padding:0}
.rvt-page>.quiz-layout>.panel{display:block;width:100%;max-width:none;margin:0;min-width:0}
.rvt-page>.info{width:min(100% - 36px,1050px);max-width:1050px;margin:18px auto 24px}
.rvt-page>.filmstrip .filmstrip-frames{min-height:0}
.rvt-page>.filmstrip .filmstrip-group{padding:7px 16px;gap:12px}
.rvt-page>.filmstrip .film-frame{padding:4px 4px 6px}
.rvt-page>.filmstrip .filmstrip-head{font-size:10px;letter-spacing:1px;padding:12px 5px}
.rvt-page>.filmstrip .filmstrip-foot{font-size:8px}
/* Hero image never stretches: cover crops rather than distorts. */
.rvt-page>.hero::before{background-size:cover;background-position:32% 45%;transform:none}
.rvt-page>.hero-content{width:min(100% - 32px,610px)}
.rvt-page>.hero h1{font-size:clamp(39px,5.2vw,73px)}
@media(min-width:1500px){.rvt-page>.hero::before{background-position:35% 42%}}
@media(min-width:701px) and (max-width:1000px){:root{--rvt-film:122px}.rvt-page>.filmstrip .filmstrip-group{padding:7px 12px}.rvt-page>.hero{min-height:500px}.rvt-page>.hero::before{background-position:28% 50%}}
@media(max-width:700px){
 .rvt-page{display:flex;flex-direction:column;width:100%}
 .rvt-page>.hero{order:1;min-height:0;height:auto}
 .rvt-page>.hero::before{background-size:cover;background-position:30% 48%}
 .rvt-page>.hero-content{width:calc(100% - 24px);padding:24px 0 74px}
 .rvt-page>.hero h1{font-size:clamp(37px,10vw,58px)}
 .rvt-page>.filmstrip{order:2;grid-column:auto;grid-row:auto;width:100%;height:170px;min-height:170px;max-height:170px;border:2px solid #7d6b4d;border-radius:0;flex:0 0 170px}
 .rvt-page>.filmstrip .filmstrip-head{padding:5px;font-size:9px}
 .rvt-page>.filmstrip .filmstrip-foot{display:none}
 .rvt-page>.filmstrip .filmstrip-frames{min-height:0}
 .rvt-page>.filmstrip .filmstrip-track{position:absolute;top:0;left:0;right:auto;display:flex;flex-direction:row;width:max-content;animation:film-roll-horizontal var(--film-duration,120s) linear infinite}
 .rvt-page>.filmstrip .filmstrip-group{display:flex;flex-direction:row;width:max-content;gap:10px;padding:7px}
 .rvt-page>.filmstrip .film-frame{flex:0 0 132px}
 .rvt-page>.filmstrip .filmstrip-frames::before,.rvt-page>.filmstrip .filmstrip-frames::after{display:none}
 .rvt-page>.topics{order:3;grid-column:auto;grid-row:auto}
 .rvt-page>.quiz-layout{order:4;grid-column:auto;grid-row:auto;display:block;width:calc(100% - 20px);max-width:none;margin:16px auto 24px;padding:0}
 .rvt-page>.quiz-layout>.panel{width:100%;max-width:none;margin:0;padding:clamp(15px,4vw,24px)}
 .rvt-page>.info{order:5;grid-column:auto;grid-row:auto;width:calc(100% - 20px);margin:10px auto 20px;padding:18px}
}
@media(prefers-reduced-motion:reduce){.rvt-page>.filmstrip .filmstrip-track{animation:none!important}}

/* v2.3: single final responsive layout, overrides legacy v1.x-v2.2 rules */
:root{--rvt-rail:clamp(132px,11vw,176px)}
html{scroll-padding-top:72px}html,body{width:100%;max-width:100%;overflow-x:clip}
.top{position:relative;z-index:10;min-height:70px;display:flex;align-items:center;justify-content:space-between;flex-direction:row;gap:16px;padding:12px clamp(16px,3vw,52px)}
.top .brand{font-size:clamp(19px,2.1vw,30px);white-space:normal}
.top nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:clamp(10px,1.8vw,32px)}
.menu-toggle{display:none;appearance:none;border:1px solid #b7a482;background:#17211e;color:#f4e5c9;border-radius:4px;font:700 15px Georgia,serif;padding:11px 14px;cursor:pointer}
.rvt-page{display:grid;grid-template-columns:var(--rvt-rail) minmax(0,1fr);grid-template-rows:auto auto auto auto auto;align-items:stretch;width:100%;min-width:0}
.rvt-page>.filmstrip{grid-column:1;grid-row:1 / -1;position:relative;width:100%;height:100%;min-height:0;max-height:none;margin:0;align-self:stretch;border-left:0;border-radius:0;z-index:2}
.rvt-page>.hero,.rvt-page>.topics,.rvt-page>.quiz-layout,.rvt-page>.info{grid-column:2;min-width:0}
.rvt-page>.hero{grid-row:1;min-height:clamp(490px,64svh,670px);height:auto;isolation:isolate}
.rvt-page>.hero::before{background-image:url('assets/hero.webp');background-size:cover;background-repeat:no-repeat;background-position:50% 45%;transform:none}
.rvt-page>.hero-content{width:min(calc(100% - 32px),610px);padding:clamp(22px,3vh,44px) 0 82px}
.rvt-page>.hero h1{font-size:clamp(42px,5.1vw,77px);line-height:.92;margin:15px 0}
.rvt-page>.hero .tagline{margin:17px 0}
.rvt-page>.hero .intro-card{padding:16px 22px;width:min(100%,480px)}
.rvt-page>.hero .hero-btn{margin-top:12px}
.rvt-page>.topics{grid-row:2;padding:13px clamp(12px,2.4vw,42px);grid-template-columns:repeat(3,minmax(0,1fr))}
.rvt-page>.topics article{padding:8px clamp(8px,1.2vw,20px)}
.rvt-page>.topics h2{font-size:clamp(17px,1.5vw,22px);margin:5px 0 2px}
.rvt-page>.topics p{margin:6px 0;line-height:1.35;font-size:clamp(12px,.92vw,15px)}
.rvt-page>.topics .topic-sub{font-size:11px}
.rvt-page>.quiz-layout{grid-row:3;display:block;width:min(calc(100% - 32px),1040px);max-width:1040px;margin:24px auto 30px;padding:0}
.rvt-page>.quiz-layout>.panel{width:100%;max-width:none;margin:0;padding:clamp(18px,3vw,35px)}
.rvt-page>.info{width:min(calc(100% - 32px),1040px);max-width:1040px;margin:15px auto 22px}
.rvt-page>.filmstrip .filmstrip-group{padding:6px 17px;gap:10px}
.rvt-page>.filmstrip .film-frame{min-width:0;padding:4px}
.rvt-page>.filmstrip .film-frame img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.rvt-page>.filmstrip .filmstrip-head{font-size:10px;padding:12px 4px}
.rvt-page>.filmstrip .filmstrip-foot{font-size:8px}
@media(min-width:1700px){.rvt-page>.hero::before{background-position:50% 45%}}
@media(max-width:1050px) and (min-width:761px){:root{--rvt-rail:122px}.rvt-page>.filmstrip .filmstrip-group{padding:6px 12px}.rvt-page>.hero{min-height:510px}.rvt-page>.hero h1{font-size:clamp(42px,5vw,61px)}.rvt-page>.topics{padding:12px 10px}.rvt-page>.topics article{padding:8px 10px}}
@media(max-width:760px){
 .top{min-height:62px;flex-direction:row;flex-wrap:wrap;gap:8px;padding:10px 14px}
 .top .brand{font-size:clamp(18px,4.8vw,25px);flex:1;min-width:0}
 .menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
 .top nav{display:none;flex-basis:100%;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:6px 0 2px}
 .top nav.is-open{display:flex}
 .top nav a{display:block;padding:14px 8px;border-top:1px solid #5c5747;font-size:14px}
 .rvt-page{display:flex;flex-direction:column;min-width:0;width:100%}
 .rvt-page>.hero{order:1;min-height:0;height:auto;width:100%}
 .rvt-page>.hero::before{background-size:cover;background-position:52% 42%;opacity:.8}
 .rvt-page>.hero::after{background:linear-gradient(0deg,rgba(8,13,12,.85),rgba(8,13,12,.46) 65%,rgba(8,13,12,.6))}
 .rvt-page>.hero-content{width:calc(100% - 28px);padding:26px 0 80px}
 .rvt-page>.hero h1{font-size:clamp(38px,10vw,64px);line-height:.96;margin:14px 0}
 .rvt-page>.hero .overline{font-size:10px;letter-spacing:3px}
 .rvt-page>.hero .tagline{font-size:clamp(15px,4vw,19px);margin:14px 0}
 .rvt-page>.hero .intro-card{padding:15px 13px;border-width:4px;width:min(100%,470px)}
 .rvt-page>.hero .intro-card label{font-size:clamp(11px,3.1vw,14px)}
 .rvt-page>.hero .hero-year output{font-size:23px}
 .rvt-page>.hero .video-link{right:12px;left:12px;bottom:12px;justify-content:flex-end;max-width:none;font-size:9px}
 .rvt-page>.hero .play{width:35px;height:35px;flex:0 0 35px}
 .rvt-page>.filmstrip{order:2;grid-column:auto;grid-row:auto;position:relative;flex:0 0 177px;width:100%;height:177px;min-height:177px;max-height:177px;border:2px solid #7d6b4d;border-radius:0;align-self:auto}
 .rvt-page>.filmstrip .filmstrip-head{font-size:9px;padding:5px 8px}
 .rvt-page>.filmstrip .filmstrip-head small{display:none}
 .rvt-page>.filmstrip .filmstrip-foot{display:none}
 .rvt-page>.filmstrip .filmstrip-frames{flex:1;min-height:0;max-height:none;overflow:hidden}
 .rvt-page>.filmstrip .filmstrip-track{position:absolute;display:flex;flex-direction:row;top:0;left:0;right:auto;width:max-content;animation:film-roll-horizontal var(--film-duration,120s) linear infinite}
 .rvt-page>.filmstrip .filmstrip-group{display:flex;flex-direction:row;flex:0 0 auto;width:max-content;gap:10px;padding:7px}
 .rvt-page>.filmstrip .film-frame{flex:0 0 132px;width:132px;margin:0;padding:4px}
 .rvt-page>.filmstrip .film-frame img{aspect-ratio:4/3}
 .rvt-page>.filmstrip .filmstrip-frames::before,.rvt-page>.filmstrip .filmstrip-frames::after{display:none}
 .rvt-page>.topics{order:3;display:grid;grid-template-columns:1fr;width:100%;padding:10px 16px}
 .rvt-page>.topics article{padding:12px 4px;border-right:0;border-bottom:1px solid #b8a68b}
 .rvt-page>.topics article:last-child{border-bottom:0}
 .rvt-page>.topics h2{font-size:20px}
 .rvt-page>.topics p{font-size:14px}
 .rvt-page>.quiz-layout{order:4;display:block;width:calc(100% - 20px);max-width:none;margin:16px auto 22px;padding:0}
 .rvt-page>.quiz-layout>.panel{width:100%;margin:0;padding:clamp(14px,4vw,24px)}
 .rvt-page>.info{order:5;width:calc(100% - 20px);max-width:none;margin:10px auto 18px;padding:18px}
 .year-picker{gap:10px}.year-picker output{min-width:58px;font-size:24px}
 .year-ticks{padding-right:70px}
 .option{min-height:48px;overflow-wrap:anywhere}
}
@media(max-width:380px){.top .brand{font-size:17px}.rvt-page>.hero h1{font-size:36px}.rvt-page>.hero .intro-card{padding:12px 9px}.rvt-page>.hero .video-link{font-size:8px}}
@media(prefers-reduced-motion:reduce){.rvt-page>.filmstrip .filmstrip-track{animation:none!important}}

/* v2.4 — vrijwillige bijdrage, alleen op de resultatenpagina */
.donation-card{margin:34px 0 22px;padding:clamp(20px,3vw,34px);text-align:center;background:#e8d6b3;border:5px double #947c57;box-shadow:0 5px 18px #0002;color:#282019}
.donation-card .donation-kicker{font-size:12px;font-weight:700;letter-spacing:2.5px;color:#8e2922;margin:0 0 10px}
.donation-card h2{font-size:clamp(22px,3vw,31px);margin:0 0 12px}
.donation-card>p:not(.donation-kicker){max-width:620px;margin:12px auto 20px;line-height:1.55}
.donation-button{display:inline-block;max-width:100%;background:#a92723;color:#fff!important;text-decoration:none;font-weight:700;font-size:clamp(15px,2vw,19px);padding:15px 25px;min-height:48px;transition:background .2s}
.donation-button:hover,.donation-button:focus-visible{background:#7e1d1a;color:#fff!important}
.donation-card .donation-foot{font-size:12px;color:#5c5040;margin:14px auto 0!important}
@media(max-width:600px){.donation-card{margin:26px 0 18px;padding:18px 14px}.donation-button{display:block;width:100%;padding:15px 12px}}

/* v2.5 vraagmeldingen */
.rvt-feedback-entry{text-align:right;margin:10px 0 22px}.rvt-feedback-trigger{border:0;background:none;color:#765a43;text-decoration:underline;cursor:pointer;font:inherit;font-size:14px;padding:10px}.rvt-feedback-trigger:focus-visible{outline:2px solid #94352c}
.rvt-feedback-overlay{position:fixed;inset:0;z-index:99999;background:#17130fb8;display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto}
.rvt-feedback-dialog{position:relative;background:#f2e6d0;color:#241d15;border:4px double #977b53;max-width:550px;width:100%;max-height:calc(100dvh - 32px);overflow-y:auto;padding:clamp(18px,3vw,32px);box-shadow:0 10px 35px #0005}
.rvt-feedback-dialog h2{font-size:clamp(21px,4vw,28px);margin:0 25px 14px 0}.rvt-feedback-question{font-style:italic;line-height:1.45}.rvt-feedback-dialog label{display:block;font-weight:700;margin:16px 0 6px}.rvt-feedback-dialog select,.rvt-feedback-dialog textarea{box-sizing:border-box;display:block;width:100%;font:inherit;font-size:16px;padding:10px;background:#fffaf0;color:#251e17;border:1px solid #947c57;border-radius:2px}.rvt-feedback-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.rvt-feedback-dialog .btn{min-height:44px}.rvt-feedback-close{position:absolute;right:14px;top:10px;background:none;border:0;font-size:30px;cursor:pointer;color:#30251a}.rvt-feedback-hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}.rvt-feedback-msg{min-height:20px;font-weight:600}.rvt-feedback-dialog :focus-visible{outline:3px solid #b14633;outline-offset:2px}
@media(max-width:600px){.rvt-feedback-dialog{padding:18px 15px}.rvt-feedback-buttons{flex-direction:column}.rvt-feedback-buttons .btn{width:100%}}
