/*
Theme Name: De Jonge Schrijver
Theme URI: https://example.com/
Author: Rinus van Hagen
Description: Frisse, speelse en kindvriendelijke leeromgeving voor De Jonge Schrijver.
Version: 1.4.13
Text Domain: jonge-schrijver
*/
:root{
  --ink:#17324d;
  --ink2:#31546d;
  --cream:#fff9ec;
  --paper:#ffffff;
  --sand:#f3dfb3;
  --aqua:#bfeee8;
  --sky:#d9f0ff;
  --sun:#ffd86b;
  --coral:#ff9b78;
  --purple:#8d83d8;
  --green:#71c59b;
  --shadow:0 12px 30px rgba(23,50,77,.12);
  --radius:24px;
}
*{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
html{scroll-behavior:smooth}
body{
 margin:0; color:var(--ink); background:
 radial-gradient(circle at 10% 10%,rgba(255,216,107,.30),transparent 22rem),
 radial-gradient(circle at 90% 18%,rgba(191,238,232,.40),transparent 24rem),
 var(--cream);
 font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 line-height:1.65;
}
a{color:inherit}
.site-header{
 position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);
 backdrop-filter:blur(12px);border-bottom:3px solid rgba(23,50,77,.07)
}
.header-inner{width:100%;max-width:1500px;margin:auto;padding:12px clamp(16px,3vw,42px);display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{font-weight:900;font-size:1.35rem;text-decoration:none;display:flex;align-items:center;gap:10px}
.brand-mark{width:44px;height:44px;border-radius:14px;background:var(--sun);display:grid;place-items:center;box-shadow:inset 0 -4px rgba(0,0,0,.07);font-size:1.45rem}
.nav{display:flex;gap:10px;flex-wrap:wrap}
.nav a{text-decoration:none;font-weight:800;padding:9px 14px;border-radius:999px}
.nav a:hover{background:var(--sky)}
.container{width:100%;max-width:none;margin:0;padding:0 0 80px}
.hero{
 width:100%; margin-top:0;padding:48px 34px;border-radius:34px;position:relative;overflow:hidden;
 background:linear-gradient(135deg,#fff 0%,#fff6d9 45%,#dff7f4 100%);
 box-shadow:var(--shadow)
}
.hero:after{content:"𒀀 𒀭 𒂊 𒆠";position:absolute;right:-20px;bottom:-22px;font-size:5rem;letter-spacing:12px;opacity:.09;transform:rotate(-8deg)}
.eyebrow{font-weight:900;text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;color:#7a5a00}
h1,h2,h3{line-height:1.12;margin-top:0}
h1{font-size:clamp(2.4rem,6vw,4.8rem);max-width:850px}
h2{font-size:clamp(1.8rem,3vw,2.8rem)}
.lead{font-size:1.2rem;max-width:760px}
.btn{
 display:inline-block;text-decoration:none;border:0;cursor:pointer;font-weight:900;
 padding:13px 20px;border-radius:999px;background:var(--ink);color:#fff;box-shadow:0 6px 0 #0b1d2d;
 transition:.15s transform,.15s box-shadow
}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 0 #0b1d2d}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:var(--paper);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow);border:2px solid rgba(23,50,77,.05)}
.card:hover{transform:translateY(-3px);transition:.2s}
.path-card{min-height:250px;display:flex;flex-direction:column;justify-content:space-between}
.path-8{background:linear-gradient(145deg,#fff,#fff0b8)}
.path-12{background:linear-gradient(145deg,#fff,#dff5ff)}
.icon{font-size:3rem}
.lesson{
 background:#fff;border-radius:30px;padding:clamp(24px,5vw,55px);box-shadow:var(--shadow);
 max-width:950px;margin:28px auto
}
.lesson h1{font-size:clamp(2.3rem,5vw,4rem)}
.sign{
 background:linear-gradient(145deg,#f7ead0,#fffaf0);border:3px solid #ead39e;
 border-radius:28px;text-align:center;padding:28px;margin:28px 0
}
.sign-glyph{font-family:"Noto Sans Cuneiform","Segoe UI Symbol",sans-serif;font-size:7rem;line-height:1}
.quiz{background:var(--ink);color:#fff;border-radius:28px;padding:28px;margin-top:32px}
.quiz button{
 display:block;width:100%;text-align:left;border:0;margin:10px 0;padding:15px 17px;
 border-radius:16px;background:#fff;color:var(--ink);font-weight:800;cursor:pointer
}
.quiz button:hover{background:var(--sun)}
.qr{
 display:grid;place-items:center;text-align:center;margin:35px 0;padding:30px;
 border-radius:28px;background:linear-gradient(135deg,var(--aqua),var(--sky))
}
.qr-box{width:180px;height:180px;background:#fff;border-radius:18px;display:grid;place-items:center;font-size:.8rem;color:#666;border:10px solid white;box-shadow:var(--shadow)}
.pill{display:inline-block;padding:6px 12px;border-radius:999px;background:var(--sun);font-weight:900}
.footer{background:var(--ink);color:#fff;padding:38px 22px;margin-top:40px}
.footer-inner{width:min(100%,1500px);margin:auto;padding:0 clamp(16px,3vw,42px)}
.notice{padding:18px 20px;border-radius:20px;background:#fff5c9;border-left:8px solid var(--sun);margin:22px 0}
.progress{height:14px;background:#e7eef2;border-radius:99px;overflow:hidden}
.progress span{display:block;height:100%;width:12%;background:linear-gradient(90deg,var(--green),var(--aqua))}

/* Full-width layout helpers */
.container > section:not(.hero-banner){width:min(100%,1500px);margin-left:auto;margin-right:auto;padding-left:clamp(16px,3vw,42px);padding-right:clamp(16px,3vw,42px)}
.adventure-map{border-radius:0;box-shadow:none}
.adventure-map .map-title{padding-top:4px}
.site-header{box-shadow:0 4px 18px rgba(23,50,77,.08)}
.menu-toggle{display:none;border:0;background:var(--sun);color:var(--ink);width:46px;height:46px;border-radius:14px;font-size:1.35rem;font-weight:900;cursor:pointer}
.mobile-nav{display:none}
@media(max-width:800px){
  .site-header{position:sticky}
  .header-inner{padding:10px 14px;gap:10px}
  .brand{font-size:1rem;min-width:0}
  .brand-mark{width:40px;height:40px;flex:0 0 40px}
  .menu-toggle{display:grid;place-items:center;flex:0 0 46px}
  .nav{display:none}
  .mobile-nav{display:none;background:#fff;border-top:1px solid rgba(23,50,77,.08);padding:8px 14px 14px}
  .mobile-nav.open{display:grid}
  .mobile-nav a{padding:13px 14px;border-radius:14px;text-decoration:none;font-weight:850}
  .mobile-nav a:hover,.mobile-nav a:focus{background:var(--sky)}
  .hero-banner{min-height:560px;background-position:60% center}
  .hero-banner-content{padding:24px 18px 30px;width:100%}
  .hero-banner-content .lead{font-size:1.02rem;line-height:1.5}
  .hero-banner-content h1{font-size:clamp(2.1rem,11vw,3.25rem);max-width:100%}
  .hero-banner .btn{width:100%;text-align:center}
  .container > section:not(.hero-banner){padding-left:14px;padding-right:14px}
  .adventure-intro{margin-top:28px}
  .adventure-map{padding:22px 14px 26px}
  .map-stop{width:100%;max-width:390px;min-height:0;padding:17px}
  .map-stop .stop-icon{font-size:2.2rem}
  .map-legend{gap:8px}
  .legend-pill{font-size:.76rem;padding:7px 10px}
  .lesson-list{grid-template-columns:1fr}
  .card{padding:21px;border-radius:20px}
  .grid{gap:14px}
  h2{font-size:clamp(1.65rem,8vw,2.35rem)}
}
@media(min-width:801px){
  .hero-banner-content{padding-left:clamp(30px,6vw,90px);padding-right:clamp(30px,6vw,90px)}
  .adventure-map{padding-left:clamp(30px,5vw,80px);padding-right:clamp(30px,5vw,80px)}
}

@media(max-width:800px){.grid{grid-template-columns:1fr}.header-inner{align-items:flex-start}.nav{display:none}.hero{padding:34px 24px}.container{padding-inline:14px}.lesson{padding:24px 18px}.sign-glyph{font-size:5rem}}

/* Hero banner — De Jonge Schrijver */
.hero-banner{
  width:100%;
  position:relative;
  min-height:clamp(390px,48vw,650px);
  border-radius:0;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  background-image:linear-gradient(90deg,rgba(11,35,53,.82) 0%,rgba(11,35,53,.48) 34%,rgba(11,35,53,.05) 72%),url('assets/jonge-schrijver-hero.png');
  background-size:cover;
  background-position:center center;
  box-shadow:0 18px 45px rgba(23,50,77,.18);
}
.hero-banner-content{
  position:relative;
  width:min(100%,1500px);
  margin:0 auto;
  z-index:2;
  max-width:680px;
  padding:clamp(28px,5vw,58px);
  color:#fff;
}
.hero-banner-content .eyebrow{color:#ffe28a;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.hero-banner-content h1{color:#fff;text-shadow:0 3px 12px rgba(0,0,0,.25);margin-bottom:16px}
.hero-banner-content .lead{color:#fff;font-weight:650;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.hero-banner .hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:#ffd86b;color:#17324d;border-radius:999px;
  padding:8px 14px;font-weight:900;margin-bottom:16px;
  box-shadow:0 5px 0 rgba(0,0,0,.12)
}
.hero-banner .btn{background:#fff;color:#17324d;box-shadow:0 6px 0 rgba(0,0,0,.28)}
.hero-banner .btn:hover{box-shadow:0 8px 0 rgba(0,0,0,.28)}
.hero-decoration{
  position:absolute;right:22px;top:20px;z-index:1;
  font-size:2.5rem;letter-spacing:10px;color:#fff;opacity:.8;
  transform:rotate(7deg);text-shadow:0 3px 12px rgba(0,0,0,.25)
}
@media(max-width:700px){
  .hero-banner{
    min-height:520px;
    align-items:flex-end;
    background-position:58% center;
    background-image:linear-gradient(0deg,rgba(11,35,53,.88) 0%,rgba(11,35,53,.55) 48%,rgba(11,35,53,.08) 78%),url('assets/jonge-schrijver-hero.png');
  }
  .hero-banner-content{padding:25px 22px 28px}
  .hero-banner-content h1{font-size:clamp(2.25rem,12vw,3.4rem)}
  .hero-decoration{font-size:1.4rem;right:12px;top:12px}
}

/* Avonturenkaart — 8–12 jaar */
.adventure-intro{margin:42px 0 24px}
.adventure-map{
  width:100%;
  position:relative; overflow:hidden; border-radius:34px; padding:34px;
  background:
    radial-gradient(circle at 15% 15%,rgba(255,255,255,.8),transparent 18rem),
    linear-gradient(145deg,#dff5e9 0%,#bfe9df 45%,#f8e6b8 100%);
  box-shadow:0 18px 45px rgba(23,50,77,.14);
  min-height:760px;
}
.adventure-map:before{
 content:"";position:absolute;inset:0;opacity:.22;
 background-image:radial-gradient(#fff 1px,transparent 1px);
 background-size:24px 24px;pointer-events:none
}
.map-title{position:relative;z-index:2;text-align:center;max-width:680px;margin:0 auto 25px}
.map-title h2{font-size:clamp(2rem,4vw,3.2rem);margin-bottom:8px}
.map-path{
 position:absolute;left:12%;right:12%;top:51%;height:170px;
 border-top:8px dashed rgba(23,50,77,.18);
 border-radius:50%;transform:rotate(-7deg);pointer-events:none
}
.map-stop{
 position:absolute;z-index:3;width:190px;min-height:150px;padding:18px;
 border-radius:25px;background:#fff;box-shadow:0 10px 24px rgba(23,50,77,.16);
 border:3px solid rgba(23,50,77,.08);text-decoration:none;
 transition:transform .18s,box-shadow .18s
}
.map-stop:hover{transform:translateY(-7px) rotate(-1deg);box-shadow:0 17px 32px rgba(23,50,77,.2)}
.map-stop .stop-icon{font-size:2.6rem;display:block}
.map-stop .stop-no{font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;opacity:.65}
.map-stop h3{font-size:1.15rem;margin:5px 0}
.map-stop p{font-size:.88rem;margin:0;line-height:1.35}
.stop-1{left:5%;top:14%;background:#fff3bd}
.stop-2{left:35%;top:8%;background:#fff}
.stop-3{right:5%;top:19%;background:#dff5ff}
.stop-4{right:15%;top:53%;background:#ffe1d5}
.stop-5{left:39%;top:66%;background:#eee9ff}
.stop-6{left:7%;top:55%;background:#e0f5df}
.map-legend{position:absolute;bottom:22px;left:34px;right:34px;display:flex;gap:10px;flex-wrap:wrap;justify-content:center;z-index:4}
.legend-pill{background:rgba(255,255,255,.82);padding:8px 13px;border-radius:999px;font-weight:800;font-size:.82rem}
.lesson-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:25px}
.lesson-mini{background:#fff;padding:17px;border-radius:20px;text-decoration:none;box-shadow:0 7px 18px rgba(23,50,77,.08);border:2px solid rgba(23,50,77,.05)}
.lesson-mini:hover{border-color:var(--sun);transform:translateY(-2px)}
.lesson-mini strong{display:block}
.lesson-mini small{opacity:.7}
@media(max-width:850px){
 .adventure-map{min-height:auto;padding:25px}
 .map-path{display:none}
 .map-stop{position:relative;left:auto!important;right:auto!important;top:auto!important;margin:14px auto;width:min(100%,360px)}
 .map-legend{position:relative;left:auto;right:auto;bottom:auto;margin-top:20px}
 .lesson-list{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){.lesson-list{grid-template-columns:1fr}}

/* Les 1 interactieve digitale schrijversproef */
.digital-lesson{max-width:1050px;margin:35px auto}
.digital-hero{
 position:relative;overflow:hidden;border-radius:34px;padding:clamp(28px,5vw,55px);
 background:linear-gradient(135deg,#fff7d5,#dff7f4);box-shadow:var(--shadow)
}
.digital-hero:after{content:"𒀀 𒀭 𒂊";position:absolute;right:-10px;bottom:-25px;font-size:7rem;opacity:.08;transform:rotate(-8deg)}
.digital-hero h1{max-width:800px}
.stepbar{display:flex;gap:8px;margin:22px 0;flex-wrap:wrap}
.step{padding:7px 12px;border-radius:999px;background:#e8eef2;font-weight:850;font-size:.82rem}
.step.active{background:var(--sun)}
.digital-card{background:#fff;border-radius:28px;padding:clamp(22px,4vw,38px);box-shadow:var(--shadow);margin:20px 0}
.question{display:none}
.question.active{display:block;animation:fadeUp .3s ease}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.quiz-option{
 border:3px solid #e7edf0;background:#fff;border-radius:18px;padding:17px;
 text-align:left;font-weight:850;font-size:1rem;cursor:pointer;color:var(--ink)
}
.quiz-option:hover{border-color:var(--sun);background:#fffaf0}
.quiz-option.correct{border-color:var(--green);background:#e4f8ed}
.quiz-option.wrong{border-color:var(--coral);background:#fff0eb}
.feedback{min-height:30px;font-weight:800;margin:14px 0}
.next-btn{margin-top:10px}
.result{display:none;text-align:center}
.score-badge{
 width:130px;height:130px;margin:20px auto;border-radius:50%;
 display:grid;place-items:center;background:var(--sun);
 box-shadow:0 10px 0 rgba(23,50,77,.12);font-size:3.4rem
}
.badge-card{
 background:linear-gradient(145deg,#fff8d0,#fff);border:3px dashed #e5bd45;
 border-radius:25px;padding:25px;max-width:520px;margin:25px auto
}
.progress-big{height:18px;background:#e6edf0;border-radius:99px;overflow:hidden;margin:15px 0}
.progress-big span{display:block;height:100%;width:3.33%;background:linear-gradient(90deg,var(--green),var(--aqua))}
.mission{
 display:grid;grid-template-columns:90px 1fr;gap:20px;align-items:center;
 background:#eef8ff;border-radius:22px;padding:20px
}
.mission-icon{font-size:3.3rem;text-align:center}
@media(max-width:650px){
 .option-grid{grid-template-columns:1fr}
 .mission{grid-template-columns:1fr;text-align:center}
}

/* v1.4.5 — Mobile-first avonturenkaart: no absolute-positioned stops */
@media (max-width: 850px) {
  .adventure-intro {margin: 28px 0 16px;}
  .adventure-map {box-sizing:border-box; width:100%; min-height:0; height:auto; padding:22px 14px 20px; border-radius:22px; overflow:visible; display:flex; flex-direction:column; gap:0;}
  .adventure-map .map-title {margin:0 0 18px; padding:0 5px; width:100%; box-sizing:border-box;}
  .adventure-map .map-title h2 {font-size:clamp(1.4rem,6vw,2rem);line-height:1.16; overflow-wrap:anywhere;}
  .adventure-map .map-title p {font-size:.94rem;}
  .adventure-map .map-path {display:none !important;}
  .adventure-map .map-stop {position:relative !important; inset:auto !important; top:auto !important; bottom:auto !important; left:auto !important; right:auto !important; transform:none !important; box-sizing:border-box; display:grid; grid-template-columns:52px minmax(0,1fr); grid-template-rows:auto auto auto; column-gap:12px; align-items:start; width:100% !important; max-width:none !important; min-width:0; min-height:0; margin:0 0 17px !important; padding:16px 13px; border-radius:18px; border-width:2px; text-align:left; overflow-wrap:anywhere;}
  .adventure-map .map-stop:not(.stop-6)::after {content:''; position:absolute; top:100%; left:37px; height:19px; width:0; border-left:4px dashed #477b77; opacity:.65; pointer-events:none;}
  .adventure-map .map-stop .stop-icon {grid-column:1;grid-row:1 / span 3;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.6);font-size:1.75rem;line-height:1;}
  .adventure-map .map-stop .stop-no {grid-column:2;grid-row:1; font-size:.72rem;line-height:1.3;letter-spacing:.035em;opacity:.8;}
  .adventure-map .map-stop h3 {grid-column:2;grid-row:2;font-size:1.08rem;line-height:1.2;margin:4px 0 5px;}
  .adventure-map .map-stop p {grid-column:2;grid-row:3;font-size:.88rem;line-height:1.45;margin:0;}
  .adventure-map .map-legend {position:static !important; inset:auto !important; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; width:100%; box-sizing:border-box; margin:3px 0 0; padding:0;}
  .adventure-map .legend-pill {display:flex;align-items:center;justify-content:center;min-width:0; padding:10px 7px; font-size:.76rem; text-align:center; border-radius:12px; white-space:normal;}
}
@media (max-width:380px) {
  .adventure-map {padding:18px 10px;}
  .adventure-map .map-stop {grid-template-columns:42px minmax(0,1fr);column-gap:9px;padding:13px 10px;}
  .adventure-map .map-stop .stop-icon {width:40px;height:40px;font-size:1.45rem;}
  .adventure-map .map-stop:not(.stop-6)::after {left:29px;}
  .adventure-map .map-legend {grid-template-columns:1fr 1fr;}
}


/* v1.4.6 — Avonturenkaart opnieuw ontworpen: rustig, duidelijk en echt als een route */
.adventure-map{
  min-height:0;
  padding:clamp(28px,4vw,46px);
  border-radius:32px;
  background:
    radial-gradient(circle at 12% 18%,rgba(255,255,255,.85),transparent 17rem),
    radial-gradient(circle at 88% 78%,rgba(255,246,190,.75),transparent 20rem),
    linear-gradient(135deg,#dff7ef 0%,#c9eee5 48%,#f7e8bb 100%);
}
.adventure-map:before{
  opacity:.16;
  background-size:28px 28px;
}
.adventure-map .map-title{
  max-width:820px;
  margin:0 auto 34px;
  text-align:center;
}
.adventure-map .map-title h2{
  margin-bottom:8px;
  font-size:clamp(2rem,4vw,3.1rem);
}
.adventure-map .map-title p{
  margin:0;
  font-size:1.05rem;
}
.map-route{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-areas:
    "one two three"
    "six five four";
  gap:26px;
  max-width:1120px;
  margin:0 auto;
}
.map-route:before{
  content:"";
  position:absolute;
  left:8%;right:8%;top:50%;
  height:4px;
  background:repeating-linear-gradient(90deg,rgba(23,50,77,.22) 0 12px,transparent 12px 22px);
  border-radius:99px;
  z-index:0;
}
.map-stop{
  position:relative !important;
  inset:auto !important;
  width:auto !important;
  min-width:0;
  min-height:215px;
  margin:0 !important;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  border:3px solid rgba(23,50,77,.08);
  border-radius:26px;
  box-shadow:0 10px 0 rgba(23,50,77,.06),0 16px 28px rgba(23,50,77,.12);
  overflow:visible;
  transform:none !important;
  z-index:1;
}
.map-stop:hover{
  transform:translateY(-6px) !important;
  box-shadow:0 16px 0 rgba(23,50,77,.05),0 22px 34px rgba(23,50,77,.16);
}
.map-stop:before{
  content:attr(data-stop);
  position:absolute;
  top:-14px;left:18px;
  min-width:38px;height:38px;
  padding:0 9px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--ink);
  color:#fff;
  font-size:.78rem;
  font-weight:950;
  box-shadow:0 4px 0 rgba(0,0,0,.14);
}
.stop-1{grid-area:one;background:#fff3bd}
.stop-2{grid-area:two;background:#fff}
.stop-3{grid-area:three;background:#dff5ff}
.stop-4{grid-area:four;background:#ffe1d5}
.stop-5{grid-area:five;background:#eee9ff}
.stop-6{grid-area:six;background:#e0f5df}
.map-stop .stop-icon{
  width:58px;height:58px;
  display:grid;place-items:center;
  margin-bottom:14px;
  border-radius:18px;
  background:rgba(255,255,255,.58);
  font-size:2.15rem;
  line-height:1;
}
.map-stop .stop-no{font-size:.73rem;letter-spacing:.06em;line-height:1.3}
.map-stop h3{font-size:1.25rem;margin:6px 0 7px}
.map-stop p{font-size:.92rem;line-height:1.45;margin:0}
.map-legend{
  position:relative !important;
  left:auto !important;right:auto !important;bottom:auto !important;
  z-index:3;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:30px auto 0;
  max-width:1000px;
}
.legend-pill{
  background:rgba(255,255,255,.9);
  border:1px solid rgba(23,50,77,.06);
  padding:9px 14px;
  box-shadow:0 5px 12px rgba(23,50,77,.07);
}

@media(max-width:850px){
  .adventure-map{padding:26px 16px 20px;border-radius:24px}
  .adventure-map .map-title{margin-bottom:28px}
  .adventure-map .map-title h2{font-size:clamp(1.7rem,8vw,2.3rem)}
  .map-route{
    display:flex;
    flex-direction:column;
    gap:18px;
    max-width:560px;
  }
  .map-route:before{
    left:26px;right:auto;top:18px;bottom:18px;
    width:4px;height:auto;
    background:repeating-linear-gradient(180deg,rgba(23,50,77,.22) 0 12px,transparent 12px 22px);
  }
  .map-stop{
    width:calc(100% - 18px) !important;
    margin-left:18px !important;
    min-height:0;
    padding:18px 16px 18px 20px;
    border-radius:21px;
  }
  .map-stop:before{
    left:-34px;top:22px;
    width:34px;height:34px;min-width:34px;padding:0;
    font-size:.72rem;
  }
  .map-stop .stop-icon{width:50px;height:50px;font-size:1.85rem;margin-bottom:11px}
  .map-stop h3{font-size:1.12rem}
  .map-stop p{font-size:.88rem}
  .map-legend{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:24px}
  .legend-pill{font-size:.75rem;padding:10px 7px;text-align:center}
}
@media(max-width:420px){
  .adventure-map{padding:22px 12px 18px}
  .map-route:before{left:22px}
  .map-stop{width:calc(100% - 14px) !important;margin-left:14px !important;padding:16px 13px 16px 17px}
  .map-stop:before{left:-29px;width:30px;height:30px;min-width:30px;top:20px;font-size:.68rem}
  .map-stop .stop-icon{width:46px;height:46px;font-size:1.65rem}
}


/* v1.4.7 — De Avonturenkaart wordt een echte Mesopotamische avonturenwereld */
.mesopotamia-map{
  position:relative;
  isolation:isolate;
  min-height:920px;
  padding:34px clamp(24px,4vw,52px) 34px;
  overflow:hidden;
  border-radius:34px;
  color:#fff;
  background-image:url('assets/mesopotamie-avonturenkaart.jpg');
  background-size:cover;
  background-position:center center;
  box-shadow:0 22px 55px rgba(23,50,77,.25);
}
.mesopotamia-map:before{
  content:"";
  position:absolute;inset:0;z-index:-2;
  background:linear-gradient(180deg,rgba(10,35,49,.10),rgba(10,35,49,.18) 45%,rgba(10,35,49,.28));
}
.mesopotamia-map:after{
  content:"";
  position:absolute;inset:0;z-index:-1;
  background:radial-gradient(circle at 50% 45%,transparent 0 28%,rgba(8,35,48,.10) 100%);
  pointer-events:none;
}
.map-heading{
  position:relative;z-index:5;
  max-width:820px;margin:0 auto 38px;text-align:center;
  text-shadow:0 3px 12px rgba(0,0,0,.45);
}
.map-ribbon{
  display:inline-block;
  background:#ffd86b;color:#17324d;
  padding:8px 16px;border-radius:999px;
  font-weight:950;letter-spacing:.04em;
  box-shadow:0 5px 0 rgba(0,0,0,.18);
  text-shadow:none;
}
.map-heading h2{font-size:clamp(2.1rem,4.5vw,4rem);margin:14px 0 7px;color:#fff}
.map-heading p{font-size:1.08rem;font-weight:700;margin:0;color:#fff}
.map-route-world{
  position:relative;z-index:5;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-areas:"one two three" "six five four";
  gap:32px 34px;
  max-width:1160px;margin:0 auto;
}
.map-route-world:before{
  content:"";
  position:absolute;z-index:-1;
  left:8%;right:8%;top:49%;height:90px;
  border-top:7px dashed rgba(255,249,220,.92);
  border-radius:50%;transform:rotate(-7deg);
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
.map-route-world .map-stop{
  position:relative !important;inset:auto !important;
  width:auto !important;min-height:225px;margin:0 !important;
  padding:22px 22px 20px;
  border:3px solid rgba(255,255,255,.75);
  border-radius:24px;
  background:rgba(255,247,218,.94);
  color:#3d2b19;
  box-shadow:0 9px 0 rgba(66,39,17,.20),0 18px 32px rgba(0,0,0,.22);
  backdrop-filter:blur(2px);
  text-decoration:none;
  overflow:visible;
  transform:rotate(-1deg);
  transition:transform .18s,box-shadow .18s;
}
.map-route-world .map-stop:nth-child(even){transform:rotate(1deg)}
.map-route-world .map-stop:hover{transform:translateY(-7px) rotate(0deg) !important;box-shadow:0 14px 0 rgba(66,39,17,.18),0 25px 38px rgba(0,0,0,.25)}
.map-route-world .map-stop:before{
  content:attr(data-stop);position:absolute;top:-19px;left:-13px;
  width:48px;height:48px;display:grid;place-items:center;
  border-radius:50%;background:#d98b27;color:#fff;
  border:5px solid #fff8dc;font-size:1.05rem;font-weight:950;
  box-shadow:0 4px 10px rgba(0,0,0,.25);z-index:2;
}
.map-route-world .map-stop .stop-icon{
  width:58px;height:58px;display:grid;place-items:center;
  margin-bottom:12px;border-radius:18px;
  background:rgba(255,255,255,.72);font-size:2.15rem;
  box-shadow:inset 0 -3px rgba(95,58,20,.10)
}
.map-route-world .map-stop .stop-no{font-size:.74rem;font-weight:950;letter-spacing:.07em;color:#775126}
.map-route-world .map-stop h3{font-family:Georgia,serif;font-size:1.38rem;margin:5px 0 7px;color:#3a2819}
.map-route-world .map-stop p{font-size:.94rem;line-height:1.4;margin:0;color:#4a3621}
.map-route-world .stop-1{grid-area:one}.map-route-world .stop-2{grid-area:two}.map-route-world .stop-3{grid-area:three}.map-route-world .stop-4{grid-area:four}.map-route-world .stop-5{grid-area:five}.map-route-world .stop-6{grid-area:six}
.map-route-world .stop-1:before{background:#c78a2b}.map-route-world .stop-2:before{background:#c95f38}.map-route-world .stop-3:before{background:#367fb5}.map-route-world .stop-4:before{background:#5e9b55}.map-route-world .stop-5:before{background:#7359b5}.map-route-world .stop-6:before{background:#d99a1c}
.river-label,.city-label,.map-compass{position:absolute;z-index:3;font-weight:950;text-shadow:0 2px 8px rgba(0,0,0,.5);pointer-events:none}
.river-label{font-family:Georgia,serif;font-size:1.25rem;letter-spacing:.18em;color:#fff;transform:rotate(12deg);opacity:.9}
.river-tigris{right:23%;top:43%}.river-euphrates{left:11%;top:58%;transform:rotate(15deg)}
.city-label{background:rgba(255,241,193,.92);color:#5a3b1b;padding:6px 11px;border-radius:8px;font-family:Georgia,serif;box-shadow:0 4px 8px rgba(0,0,0,.18)}
.city-uruk{right:9%;top:23%}.city-lagash{left:9%;bottom:23%}.city-ur{right:9%;bottom:17%}
.map-compass{right:25px;bottom:92px;width:70px;height:70px;border:2px solid rgba(255,247,220,.85);border-radius:50%;display:grid;place-items:center;font-size:2.3rem;color:#fff}
.map-compass span{position:absolute;top:-19px;font-size:.72rem}
.map-legend-world{position:relative !important;z-index:6;left:auto!important;right:auto!important;bottom:auto!important;margin:34px auto 0;display:flex;justify-content:center;flex-wrap:wrap;gap:10px;max-width:1000px}
.map-legend-world .legend-pill{background:rgba(255,249,225,.94);color:#3b2b1c;border:2px solid rgba(255,255,255,.8);box-shadow:0 5px 12px rgba(0,0,0,.18);font-weight:900}
@media(max-width:850px){
  .mesopotamia-map{min-height:0;padding:24px 14px 20px;border-radius:24px;background-image:url('assets/mesopotamie-avonturenkaart-mobile.jpg');background-position:center center;background-size:cover}
  .mesopotamia-map:before{background:linear-gradient(180deg,rgba(10,35,49,.10),rgba(10,35,49,.26) 45%,rgba(10,35,49,.36))}
  .map-heading{margin-bottom:30px}
  .map-heading h2{font-size:clamp(2rem,9vw,3rem)}
  .map-heading p{font-size:.94rem}
  .map-route-world{display:flex;flex-direction:column;gap:18px;max-width:560px;margin:0 auto;padding-left:20px}
  .map-route-world:before{left:3px;right:auto;top:15px;bottom:15px;width:5px;height:auto;border:0;border-radius:99px;transform:none;background:repeating-linear-gradient(180deg,rgba(255,249,220,.95) 0 13px,transparent 13px 24px)}
  .map-route-world .map-stop{width:100%!important;min-height:0;padding:18px 16px 18px 20px;border-radius:21px;transform:rotate(0deg)!important}
  .map-route-world .map-stop:before{top:20px;left:-38px;width:36px;height:36px;border-width:4px;font-size:.78rem}
  .map-route-world .map-stop .stop-icon{width:48px;height:48px;font-size:1.75rem;margin-bottom:9px}
  .map-route-world .map-stop h3{font-size:1.22rem}
  .map-route-world .map-stop p{font-size:.9rem}
  .river-label{font-size:.82rem;opacity:.8}
  .river-tigris{right:7%;top:30%}.river-euphrates{left:5%;top:67%}
  .city-label{display:none}.map-compass{display:none}
  .map-legend-world{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:26px}
  .map-legend-world .legend-pill{font-size:.76rem;text-align:center;padding:10px 7px}
}
@media(max-width:420px){
  .mesopotamia-map{padding-left:10px;padding-right:10px}
  .map-route-world{padding-left:17px}
  .map-route-world:before{left:1px}
  .map-route-world .map-stop:before{left:-33px;width:32px;height:32px;top:19px}
  .map-heading h2{font-size:2rem}
  .map-heading p{font-size:.88rem}
}


/* v1.4.8 — Interactief boek direct herkenbaar op de homepage */
.hero-interactive-badge{
  font-size:clamp(.86rem,1.6vw,1.05rem);
  letter-spacing:.035em;
  padding:11px 17px !important;
  margin-bottom:18px !important;
}
.hero-interactive-badge span{opacity:.55;margin:0 2px}
.hero-interactive-note{
  display:inline-block;
  max-width:620px;
  margin:0 0 20px;
  padding:10px 14px;
  border-radius:15px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
  font-size:.98rem;
  line-height:1.45;
  backdrop-filter:blur(5px);
}
.interactive-book-intro{
  margin-top:34px;
  padding:34px clamp(20px,4vw,48px);
  border-radius:30px;
  background:linear-gradient(135deg,#fffdf5 0%,#fff4c9 48%,#e2f7f4 100%);
  box-shadow:0 14px 34px rgba(23,50,77,.10);
  border:3px solid rgba(23,50,77,.06);
}
.interactive-book-heading{
  max-width:850px;
  margin:0 auto 26px;
  text-align:center;
}
.interactive-pill{
  font-size:.88rem;
  background:var(--sun);
  box-shadow:0 4px 0 rgba(23,50,77,.10);
}
.interactive-book-heading h2{margin:13px 0 9px}
.interactive-book-heading p{margin:0 auto;max-width:760px;font-size:1.08rem}
.interactive-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
  max-width:1120px;
  margin:0 auto;
}
.interactive-step{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:13px;
  align-items:start;
  padding:19px;
  background:rgba(255,255,255,.84);
  border-radius:21px;
  border:2px solid rgba(23,50,77,.06);
}
.interactive-step-number{
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  background:var(--ink);color:#fff;font-weight:950;font-size:1.1rem;
}
.interactive-step h3{font-size:1.08rem;margin:1px 0 5px}
.interactive-step p{font-size:.91rem;line-height:1.45;margin:0}
@media(max-width:850px){
  .interactive-steps{grid-template-columns:1fr}
  .interactive-book-intro{padding:28px 17px;border-radius:24px}
}
@media(max-width:700px){
  .hero-interactive-badge{display:flex;justify-content:center;flex-wrap:wrap;text-align:center;line-height:1.35}
  .hero-interactive-note{width:100%;font-size:.92rem}
}

/* v1.4.12 — Schone boekpresentatie: geen brede nep-pagina's */
.book-author-showcase{
  margin-top:42px;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);
  gap:clamp(32px,5vw,78px);
  align-items:center;
  padding:clamp(30px,5vw,60px);
  border-radius:34px;
  background:linear-gradient(135deg,#fffdf6 0%,#fff2c6 48%,#dff5f4 100%);
  border:3px solid rgba(23,50,77,.06);
  box-shadow:0 18px 45px rgba(23,50,77,.12);
  overflow:hidden;
}
.book-showcase-copy h2{margin:14px 0 12px;max-width:760px}
.book-showcase-lead{font-size:1.08rem;max-width:760px;margin:0 0 24px}
.book-pill{background:#ffd86b;box-shadow:0 4px 0 rgba(23,50,77,.10)}
.book-features{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0 25px}
.book-features>div{background:rgba(255,255,255,.84);border:2px solid rgba(23,50,77,.06);border-radius:20px;padding:16px;min-height:145px}
.book-features span{display:block;font-size:1.9rem;margin-bottom:7px}
.book-features strong{display:block;font-size:.98rem}
.book-features small{display:block;margin-top:5px;line-height:1.4;color:#4e6371}
.author-mini{display:flex;align-items:center;gap:15px;max-width:650px;padding:13px 16px;background:rgba(23,50,77,.94);color:#fff;border-radius:22px;box-shadow:0 7px 0 rgba(23,50,77,.12)}
.author-mini-photo{width:78px;height:78px;flex:0 0 78px;border-radius:50%;overflow:hidden;border:3px solid #ffd86b;background:#d8b184}
.author-mini-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 24%}
.author-mini .author-label{display:block;text-transform:uppercase;letter-spacing:.09em;font-size:.68rem;font-weight:900;color:#ffe28a;margin-bottom:2px}
.author-mini strong{display:block;font-size:1.08rem}
.author-mini p{margin:3px 0 0;color:#e9f4f7;font-size:.83rem;line-height:1.35}

.book-3d-wrap{
  text-align:center;
  padding:8px 10px 6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0;
}
/* v1.4.13 — hover over the book to reveal the supplied back cover. */
.book-3d{
  position:relative;
  width:min(340px,82vw);
  aspect-ratio:2/3;
  margin:0 auto;
  perspective:1200px;
  filter:drop-shadow(16px 20px 15px rgba(33,42,45,.18));
  outline:none;
}
.book-flipper{
  position:absolute;
  inset:0;
  transform-style:preserve-3d;
  transition:transform .72s cubic-bezier(.2,.72,.2,1);
}
.book-3d:hover .book-flipper,
.book-3d:focus .book-flipper,
.book-3d:focus-within .book-flipper{
  transform:rotateY(180deg);
}
.book-3d:focus-visible{
  border-radius:12px;
  box-shadow:0 0 0 4px rgba(49,84,109,.28);
}
.book-face{
  position:absolute;
  inset:0;
  overflow:hidden;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  border-radius:9px 10px 10px 9px;
  background:#d4a064;
  box-shadow:inset 0 0 0 1px rgba(87,48,15,.14),0 2px 0 rgba(255,255,255,.35);
}
.book-face:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 12px rgba(41,25,10,.10);
}
.book-face img{width:100%;height:100%;display:block;object-fit:cover}
.book-back{transform:rotateY(180deg)}
.book-hover-hint{
  margin-top:10px;
  padding:6px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:#31546d;
  font-size:.72rem;
  font-weight:800;
  box-shadow:0 2px 8px rgba(33,42,45,.08);
}
.book-3d-caption{display:flex;flex-direction:column;gap:3px;margin:11px auto 0;color:#3e2b1b}
.book-3d-caption strong{font-family:Georgia,serif;font-size:1.22rem}
.book-3d-caption span{font-weight:800;color:#7b4d24}
.book-3d-caption small{font-size:.82rem;color:#53616a;margin-top:3px}
.book-format-label{display:inline-block;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#31546d;margin-bottom:2px}
@media (prefers-reduced-motion: reduce){
  .book-flipper{transition:none}
}
@media(max-width:950px){
  .book-author-showcase{grid-template-columns:1fr;text-align:center}
  .book-showcase-copy h2,.book-showcase-lead{margin-left:auto;margin-right:auto}
  .book-features{max-width:760px;margin-left:auto;margin-right:auto}
  .author-mini{text-align:left;margin:0 auto}
  .book-3d-wrap{order:-1}
}
@media(max-width:650px){
  .book-author-showcase{padding:25px 17px;border-radius:25px;gap:22px}
  .book-features{grid-template-columns:1fr;gap:10px}
  .book-features>div{min-height:0;text-align:left;display:grid;grid-template-columns:43px 1fr;column-gap:10px;align-items:center;padding:13px}
  .book-features span{grid-row:span 2;margin:0;font-size:1.65rem}
  .book-features strong{align-self:end}
  .book-features small{align-self:start;margin-top:2px}
  .author-mini{padding:11px 12px;gap:11px;border-radius:18px}
  .author-mini-photo{width:62px;height:62px;flex-basis:62px}
  .author-mini strong{font-size:.98rem}
  .author-mini p{font-size:.76rem}
  .book-3d{width:min(300px,78vw)}
}
