/* Illustrated information belongs on the grade pages; the generator opens
   with a compact heading and its existing controls. */
body.spelling-generator-page .spelling-hero.app-header{align-items:center;gap:20px;margin-bottom:20px}
body.spelling-generator-page .spelling-brand h1{margin:0;font-size:30px;line-height:1.15}
.spelling-info-menu{position:relative;flex:none;font-size:13px;color:#176c55}
.spelling-info-menu summary{padding:11px 15px;border:1px solid #c8ddd4;border-radius:10px;background:#fff;cursor:pointer;font-weight:700}
.spelling-info-menu nav{position:absolute;right:0;z-index:20;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:240px;margin-top:8px;padding:10px;border:1px solid #c8ddd4;border-radius:12px;background:#fff;box-shadow:0 8px 24px #123f351a}
.spelling-info-menu:not([open]) nav{display:none}
.spelling-info-menu nav a{display:block;padding:10px;border-radius:8px;background:#edf6f0;color:#176c55;text-decoration:none;font-weight:700;text-align:center}
body.spelling-group-page .spelling-seo-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;min-height:0;padding:32px}
body.spelling-group-page .spelling-seo-hero::before,body.spelling-group-page .spelling-seo-hero::after{display:none}
body.spelling-group-page .spelling-seo-hero>div{min-width:0;grid-column:1;grid-row:1}
body.spelling-group-page .spelling-seo-hero h1{font-size:44px;font-size:clamp(32px,3.5vw,46px);line-height:1.08}
body.spelling-group-page .spelling-seo-figure{min-width:0;margin:0;grid-column:2;grid-row:1}
.spelling-seo-figure>a{display:block}
.spelling-seo-figure img{display:block;width:100%;height:auto;aspect-ratio:30/19;border:1px solid #eadccf;border-radius:16px}
.spelling-seo-figure figcaption{margin-top:12px;font-size:12px;line-height:1.55;color:#466357}
.spelling-seo-figure figcaption strong{display:block;margin-bottom:3px;color:#123f35;font-size:13px}
body.spelling-group-page .spelling-seo-figure figcaption p{margin:0;font-size:13px;line-height:1.55;color:#466357}
body.spelling-group-page .spelling-seo-featured{margin-top:38px}
body.spelling-group-page .spelling-seo-featured>h2{margin-bottom:8px;font-size:30px;line-height:1.2}
.spelling-seo-featured>p{margin:0;color:#60736c;line-height:1.6}
.spelling-seo-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}
body.spelling-group-page .spelling-seo-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #d7e3db;border-radius:18px;background:#fff;color:#123f35;text-decoration:none}
.spelling-seo-card:hover{border-color:#82ac97;box-shadow:0 5px 18px #123f3510}
.spelling-seo-card-picture{display:flex;align-items:center;justify-content:center;height:210px;padding:15px;background:#edf5ed}
.spelling-seo-card:nth-child(2) .spelling-seo-card-picture{background:#fbede3}
.spelling-seo-card:nth-child(3) .spelling-seo-card-picture{background:#eaf1f8}
.spelling-seo-card-picture img{display:block;width:100%;height:100%;object-fit:contain}
.spelling-seo-card-copy{display:flex;flex:1;flex-direction:column;gap:10px;padding:20px}
body.spelling-group-page .spelling-seo-card h3{margin:0;font-size:22px;line-height:1.2;color:#123f35}
.spelling-seo-card-copy p{flex:1;margin:0;color:#60736c;font-size:14px;line-height:1.55}
.spelling-seo-card-copy>span{display:block;margin-top:4px;color:#176c55;font-size:13px;font-weight:700}
.spelling-seo-all{display:inline-block;margin-top:18px;color:#176c55;font-size:14px;font-weight:700;text-underline-offset:3px}
.spelling-info-menu a:focus-visible,.spelling-info-menu summary:focus-visible,.spelling-seo-featured a:focus-visible,.spelling-seo-figure a:focus-visible{outline:3px solid #bd633f;outline-offset:4px}
#spelling-generator,#categorieen{scroll-margin-top:24px}
@media(max-width:900px){
 body.spelling-group-page .spelling-seo-hero{display:block;padding:26px}
 body.spelling-group-page .spelling-seo-figure{margin-top:24px}
 .spelling-seo-figure{max-width:640px}
 .spelling-seo-cards{gap:12px}
 .spelling-seo-card-picture{height:180px}
 .spelling-seo-card-copy{padding:16px}
}
@media(max-width:700px){
 body.spelling-generator-page .spelling-hero.app-header{display:flex;align-items:flex-start;flex-direction:column;gap:12px}
 body.spelling-generator-page .spelling-brand h1{font-size:27px}
 .spelling-info-menu nav{right:auto;left:0;max-width:calc(100vw - 48px)}
 body.spelling-group-page .spelling-seo-hero{padding:22px;gap:24px}
 body.spelling-group-page .spelling-seo-hero h1{font-size:32px;line-height:1.1}
 .spelling-seo-cards{grid-template-columns:minmax(0,1fr)}
 .spelling-seo-card-picture{height:220px}
 body.spelling-group-page .spelling-seo-featured>h2{font-size:27px}
}
@media print{.spelling-info-menu,.spelling-seo-figure,.spelling-seo-featured{display:none!important}}
