/* Approved illustrated RDM system. The art stays bright and unobscured.
   Live text is placed in the artwork's reserved space, then stacked on small screens. */
body.language-hub .story-shell{width:min(1500px,94%)}
.story-shell section,.story-shell [id]{scroll-margin-top:120px}
.story-shell h2,.story-shell h3{font-family:'Fraunces',serif;text-align:left;color:#ffdf97;line-height:1.15}
.story-shell h2{font-size:clamp(28px,3vw,44px);margin:12px 0 20px}
.story-shell h3{font-size:24px;margin:12px 0}
.story-shell p{color:#fff0d9;line-height:1.75}
.story-eyebrow{font-size:11px;letter-spacing:.13em;font-weight:700;color:#ffca6c!important;margin:0 0 10px}
.story-scene{position:relative;display:block;margin:32px 0;overflow:hidden;border:1px solid #c89547;border-radius:20px;background:#071529;box-shadow:0 16px 40px #0006;isolation:isolate}
.story-art{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover}
.story-copy{position:absolute;top:50%;transform:translateY(-50%)}
.story-copy-left{left:6.5%;width:32%}
.story-copy-right{left:56%;width:36%}
.story-copy>p{font-size:clamp(14px,1.13vw,17px);margin:0 0 15px}
.story-copy .story-cheer{color:#8beefa;font-weight:700}
.story-copy .button{display:inline-block;font-size:14px;margin-top:4px;border:1px solid #ffe2a0;box-shadow:0 4px 15px #0005}
.story-introduction .story-eyebrow{font-size:10px;letter-spacing:.1em}
.story-comparison h2{font-size:clamp(26px,2.65vw,40px);margin:8px 0 18px}
.story-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 20px}
.story-tabs button{font:600 14px 'DM Sans',sans-serif;color:#ffdfa0;padding:10px 12px;border:1px solid #b88e4a;border-radius:10px;background:#112841;cursor:pointer;min-height:42px}
.story-tabs button:hover{background:#26496c}
.story-tabs button[aria-selected=true]{background:linear-gradient(135deg,#f6ca6c,#c9832b);color:#211205;border-color:#ffdf90}
.story-topic[hidden]{display:none!important}
.story-topic h3{font-size:clamp(21px,1.7vw,26px);margin:0 0 10px}
.story-topic p{font-size:clamp(14px,1.05vw,16px);line-height:1.7;margin:0 0 12px}
.story-topic .story-example{font-size:clamp(16px,1.3vw,20px);color:#8eedf7;border-left:2px solid #e0a342;padding-left:14px;line-height:1.65;margin:15px 0}
.story-topic .story-aside{color:#edc788;font-size:13px;line-height:1.6;margin-bottom:0}
body.language-hub .story-game{display:grid;grid-template-columns:minmax(180px,.65fr) 1.35fr;gap:0;align-items:stretch;border:1px solid #d3a249;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at right top,#322445,#08172a 80%);margin:32px 0;padding:0;box-shadow:0 15px 40px #0005}
.story-game-host{display:block;width:100%;height:100%;max-height:520px;object-fit:cover;object-position:center}
.story-game-copy{align-self:center;padding:clamp(24px,4vw,56px)}
.story-game h2{font-size:clamp(26px,2.7vw,40px);margin:8px 0 16px}
.story-game .game-answers{margin:22px 0}
.story-game .game-answers button{font-size:17px;min-height:48px;padding:12px 22px}
.story-game p.game-feedback{color:#ffdb8c;min-height:3.5em;font-size:16px}
.story-hint{margin-top:16px}.story-hint summary{color:#ffd381!important;cursor:pointer;font-size:15px;line-height:1.5}
.story-hint p,.story-hint li{color:#f2e2cb;font-size:14px;line-height:1.7}
.story-hint ol{padding-left:22px}
.story-video{border-block:1px solid #bb8a4155;margin:25px 0 48px;padding:22px 12px;color:#f4d9ab}
.story-video summary{cursor:pointer;color:#f4d9ab!important;font-size:15px;line-height:1.6}
.story-video summary span{color:#ecae54;margin-right:8px}
.story-video p{max-width:900px;font-size:15px}
.story-paths{margin:46px 0}.story-path-header{margin-bottom:22px}
.story-path-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px;align-items:start}
.story-path-choice{position:relative;border:1px solid #b98b45;border-radius:18px;padding:25px;background:linear-gradient(140deg,#111e2d,#081017);box-shadow:0 9px 25px #0005}
.story-path-choice:nth-child(2){border-color:#a371b9}
.story-path-choice>img{width:130px;height:115px;object-fit:contain;display:block;margin:0 auto 14px}
.story-path-choice h3{font-size:27px;margin:12px 0}
.story-path-choice p{font-size:15px;line-height:1.8}
.story-status{font-size:10px!important;letter-spacing:.08em;color:#f2c377!important;font-weight:700;line-height:1.7!important;margin:0 0 10px}
.story-small{font-size:12px!important;line-height:1.7!important;color:#cfc3b3!important}
.story-path-choice .button{display:inline-block;margin:12px 0 4px;font-size:14px}
.story-resources{margin:65px 0}.story-section-heading{text-align:center;margin:0 auto 30px;max-width:800px}
.story-section-heading h2{text-align:center;font-size:clamp(32px,4vw,50px);margin:10px 0 18px}
.story-section-heading>p:last-child{font-size:16px;color:#eedfc6}
.story-resource-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.story-resource-card{border:1px solid #b58b45;border-radius:18px;overflow:hidden;background:#0b1521;box-shadow:0 10px 25px #0005}
.story-resource-card:nth-child(2){border-color:#b97ed4}.story-resource-card:nth-child(3){border-color:#f0ab41}.story-resource-card:nth-child(4){border-color:#57d1dd}.story-resource-card:nth-child(5){border-color:#e07fb0}
.story-resource-card>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.story-resource-card>div{padding:22px 18px}
.story-resource-card h3{font-size:23px;margin:10px 0}
.story-resource-card p{font-size:14px;line-height:1.75}
.story-link{display:inline-block;color:#ffce75;text-decoration:underline;text-underline-offset:5px;font-size:14px;line-height:1.7;font-weight:700}
.story-link:hover{color:#83ecf5}
.story-next{display:flex;align-items:center;justify-content:center;gap:35px;padding:35px 6%;margin:40px 0 55px;border-block:1px solid #b58b4555;background:radial-gradient(ellipse at center,#13263e,transparent 75%)}
.story-next img{width:170px;height:auto}.story-next h2{font-size:32px;margin:0 0 10px}.story-next p{font-size:15px;max-width:650px}.story-next .button{display:inline-block;margin:10px 0}
/* Illustration frames the content. No separate empty artwork rows. */
.story-path-heading{display:flex;align-items:center;gap:28px;margin:0 0 26px;padding:20px 0}
.story-path-heading>img{width:130px;height:auto;flex:none}
.story-path-heading h2{margin:6px 0 12px}
.story-path-heading p{margin:0;max-width:760px}
.story-copy>.story-eyebrow{font-size:10px;letter-spacing:.1em}
.story-introduction .story-copy-left{left:6.5%;width:32%}
.czech-hub .story-introduction .story-copy-left,.spanish-hub .story-introduction .story-copy-left{left:10%;width:28%}
.story-comparison .story-copy-right{left:58.5%;width:33.5%;top:45%}
.story-comparison h2{font-size:clamp(25px,2.45vw,36px);margin:8px 0 15px}
.story-comparison .story-tabs{grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:16px}
.story-comparison .story-tabs button{font-size:13px;padding:9px 5px;min-height:38px}
.story-comparison .story-topic h3{font-size:clamp(19px,1.7vw,23px)}
@media(min-width:881px) and (max-width:1100px){
 .story-introduction .story-copy>p{font-size:13px;line-height:1.6;margin-bottom:10px}
 .story-introduction h2{font-size:29px;margin:8px 0 12px}
 .story-introduction .story-copy>.story-eyebrow{font-size:8px}
 .story-introduction .button{font-size:12px;padding:10px 12px}
 .story-comparison .story-copy-right{top:47%;left:57%;width:35%}
 .story-comparison h2{font-size:24px;line-height:1.15;margin-bottom:12px}
 .story-comparison .story-copy>.story-eyebrow{font-size:8px;margin-bottom:7px}
 .story-comparison .story-tabs{gap:4px;margin-bottom:12px}
 .story-comparison .story-tabs button{font-size:11px;padding:8px 3px;min-height:34px}
 .story-comparison .story-topic h3{font-size:18px;margin-bottom:8px}
 .story-comparison .story-topic p{font-size:12px;line-height:1.5;margin-bottom:8px}
 .story-comparison .story-topic .story-example{font-size:15px;line-height:1.5;margin:10px 0}
 .story-comparison .story-topic .story-aside{font-size:11px;line-height:1.45}
}
@media(max-width:1200px){.story-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:880px){
 /* Narrow screens use a small creature beside the actual content. The large
    artwork is not displayed as a separate image with an empty text recess. */
 .story-scene{border-radius:16px;margin:25px 0}
 .story-introduction .story-art,.story-comparison .story-art{display:none}
 .story-introduction .story-copy-left,.czech-hub .story-introduction .story-copy-left,.spanish-hub .story-introduction .story-copy-left,.story-comparison .story-copy-right{position:relative;top:auto;left:auto;transform:none;width:auto;padding:28px;background:#08182e}
 .story-introduction:before,.story-comparison:before{content:'';position:absolute;top:25px;right:20px;width:105px;height:95px;background:url('czech/assets/mascot-peeking.webp') center/contain no-repeat;z-index:2;pointer-events:none}
 .story-introduction h2,.story-comparison h2{font-size:29px;margin:12px 105px 24px 0;min-height:72px}
 .story-introduction .story-copy>.story-eyebrow,.story-comparison .story-copy>.story-eyebrow{font-size:9px;margin-right:95px}
 .story-copy>p{font-size:16px;line-height:1.75}
 .story-introduction .button{font-size:14px}
 .story-tabs{grid-template-columns:repeat(2,1fr)!important;gap:8px!important;margin-bottom:22px!important}
 .story-tabs button{font-size:14px!important;padding:10px!important;min-height:44px!important}
 .story-topic h3{font-size:23px!important}.story-topic p{font-size:16px;line-height:1.7}.story-topic .story-example{font-size:19px}.story-topic .story-aside{font-size:14px}
 body.language-hub .story-game{grid-template-columns:110px 1fr;align-items:start}
 .story-game-host{height:auto;object-fit:contain;margin-top:30px;border-radius:10px}
 .story-game-copy{padding:25px 22px}
 .story-game h2{font-size:27px}
 .story-game .game-answers{gap:9px}.story-game .game-answers button{font-size:16px;padding:12px 15px}
 .story-path-heading{gap:20px}.story-path-heading>img{width:95px}.story-path-heading h2{font-size:29px}
 .story-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .story-resource-card>div{padding:18px 14px}.story-resource-card h3{font-size:21px}
 .story-next{gap:20px;padding:30px 5%}.story-next img{width:105px}.story-next h2{font-size:27px}
}
@media(max-width:480px){
 .story-introduction .story-copy-left,.czech-hub .story-introduction .story-copy-left,.spanish-hub .story-introduction .story-copy-left,.story-comparison .story-copy-right{padding:24px}
 .story-introduction h2,.story-comparison h2{font-size:27px;margin-right:85px}
 .story-introduction:before,.story-comparison:before{width:90px;right:16px}
 body.language-hub .story-game{display:block;position:relative}
 .story-game-host{position:absolute;top:20px;right:18px;width:85px;height:85px;margin:0;border-radius:12px}
 .story-game-copy{padding:24px}.story-game h2{margin-right:90px;font-size:26px;min-height:90px}
 .story-game .story-eyebrow{margin-right:90px;font-size:9px}
 .story-path-heading>img{width:80px}.story-path-heading h2{font-size:27px}
 .story-resource-grid{grid-template-columns:1fr}.story-resource-card{display:grid;grid-template-columns:110px 1fr}.story-resource-card>img{align-self:start;margin-top:20px}
 .story-next{gap:15px}.story-next img{width:80px}.story-next h2{font-size:25px}
}
@media(prefers-reduced-motion:reduce){.story-shell *{scroll-behavior:auto;transition:none!important}}
