:root{--green:#153c32;--gold:#b59656;--cream:#faf8f2;--ink:#253b34}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Georgia,serif}a{color:inherit;text-decoration:none}header{background:var(--green);color:white;padding:16px max(22px,calc((100vw - 1080px)/2));display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-size:21px;font-weight:bold}.brand small{display:block;font:10px Arial;letter-spacing:.15em;color:#e1c88e;margin-top:5px}nav{display:flex;flex-wrap:wrap;gap:16px}nav a{font:14px Arial;color:#f5ead6}.wrap{max-width:1080px;margin:auto;padding:45px 22px 90px}.crumb{font:12px Arial;color:#748078;margin-bottom:25px}.crumb a{text-decoration:underline}h1{font-size:clamp(32px,5vw,47px);font-weight:normal;margin:5px 0 12px}h2{font-weight:normal}p{line-height:1.8}.lead{font:16px/1.7 Arial;color:#617068;max-width:730px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:30px}.card{display:block;background:white;border:1px solid #e5dfd2;border-radius:12px;padding:25px;box-shadow:0 4px 14px #123b3008}.card:hover{border-color:var(--gold)}.card h2{font-size:24px;margin:8px 0}.card p{font:14px/1.65 Arial;color:#617068}.tag{font:700 11px Arial;letter-spacing:.07em;color:#866a30;text-transform:uppercase}.btn{display:inline-block;border:0;border-radius:5px;padding:12px 18px;background:var(--green);color:white;font:600 14px Arial;cursor:pointer}.btn.secondary{background:#eee8d9;color:var(--green)}.btn:disabled{opacity:.45;cursor:not-allowed}.stack{display:grid;gap:14px;margin-top:24px}.chapter{background:white;border:1px solid #e5dfd2;padding:24px;border-radius:10px}.chapter h2{margin-top:0}.chapter a{display:block;padding:12px 0;border-top:1px solid #eee;font:15px/1.5 Arial;color:#285848}.muted{color:#65736a;font:14px/1.7 Arial}.reader{background:#fff;border:1px solid #e6e0d3;padding:clamp(22px,5vw,65px);border-radius:12px;max-width:820px;margin:30px auto}.reader h2{font-size:26px;margin-top:38px}.reader p{font-size:18px;line-height:1.95}.reader .arabic{font-size:27px;text-align:center;direction:rtl;line-height:1.9}.reader .verse{text-align:center;font-style:italic}.reader .source{text-align:center;color:#68776d;font:13px Arial}.question{background:white;border:1px solid #e5dfd2;padding:24px;border-radius:10px;margin:18px 0}.question label{display:block;font:15px/1.6 Arial;padding:8px 0}.question textarea{width:100%;min-height:125px;padding:12px;border:1px solid #c9cec7;border-radius:5px;font:15px Arial}.result{background:#eef4ee;border-left:4px solid #4b8568;padding:18px;margin:15px 0;font:15px/1.7 Arial}.footer{background:var(--green);color:white;text-align:center;padding:28px;font:13px Arial}.empty{border:1px dashed #b9b5a9;border-radius:8px;padding:22px;color:#67736b;font:15px/1.6 Arial;margin-top:24px}@media(max-width:600px){header{align-items:flex-start;flex-direction:column}.grid{grid-template-columns:1fr}.wrap{padding-top:28px}.reader p{font-size:17px}}

.featured{margin-top:45px;padding-top:20px;border-top:1px solid #e5dfd2}.featured h2{font-size:29px}.card:focus-visible,nav a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

.child-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:25px 0}.child-illustration{height:160px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:12px;background:#e9efe1;color:#a47c3e;font-size:65px}.child-illustration span{font-size:42px}.child-story{background:white;border:1px solid #e6e0d3;border-radius:14px;padding:clamp(22px,5vw,48px);max-width:820px;margin:22px auto}.child-story p{font:19px/1.85 Arial;color:#32483e}.child-story h2{font-size:27px;color:#153c32}.child-tip{background:#edf2e8;border-left:4px solid #a98b50;padding:18px;border-radius:6px;font:17px/1.6 Arial}.child-answer{display:block;margin:10px 0;padding:14px;border:1px solid #d9dece;border-radius:9px;cursor:pointer;background:white}.child-answer:has(input:checked){background:#eaf3e9;border-color:#588368}.child-answer input{margin-right:9px}.child-art{display:block;width:min(100%,520px);height:auto;margin:16px auto}.child-quiz{max-width:760px;margin:22px auto}.child-quiz fieldset{border:1px solid #dedccc;border-radius:12px;padding:20px;margin:18px 0;background:white}.child-quiz legend{font:700 17px/1.5 Arial;padding:0 8px}.child-quiz button{margin-top:12px}.child-quiz .result{display:none}.child-quiz .result.show{display:block}@media(max-width:700px){.child-grid{grid-template-columns:1fr}.child-story p{font-size:17px}}
/* Illustrated children's learning pathway — adult pages unchanged */
body.children-theme{background:#fffaf1;color:#183c34}
.children-theme header{background:#fffaf2;color:#17392f;border-bottom:1px solid #efe5d1}
.children-theme header .brand{color:#17392f}
.children-theme header .brand small{color:#a47d40}
.children-theme nav a{color:#27483e}
.children-theme .wrap{max-width:1140px}
.children-theme h1{font-size:clamp(38px,7vw,70px);line-height:1.07}
.children-theme .lead{font-size:clamp(16px,2.3vw,20px);color:#4c6259}
.children-theme .card{border-radius:22px;overflow:hidden;box-shadow:0 8px 26px #4d362015;transition:transform .2s}
.children-theme .card:hover{transform:translateY(-3px)}
.children-theme .card img{width:100%;height:220px;object-fit:cover;border-radius:15px}
.children-theme .chapter{border-radius:20px}
.children-theme .footer{background:#173c32}
.child-hero{background:linear-gradient(90deg,#173c32 0%,#173c32e8 45%,#173c3200 100%),url('images/storybook-children.jpg') right center / cover;min-height:370px;border-radius:26px;display:flex;align-items:center;padding:clamp(25px,5vw,60px);margin:24px 0 28px;color:white}
.child-hero .hero-copy{max-width:530px}.child-hero h1{color:white}.child-hero .lead{color:#fff6e7}.child-hero .tag{color:#ffdfa1}
.child-hero .btn{background:#fff7e8;color:#173c32;margin-top:12px}
.child-story{max-width:1050px;border-radius:24px;box-shadow:0 10px 30px #705d3712}
.child-story h2{font-size:clamp(26px,4vw,39px)}
.child-story p{font-size:clamp(17px,2vw,20px)}
.child-feature{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center;background:#fffaf0;border:1px solid #f1e5cb;border-radius:22px;padding:20px;margin:18px 0 28px}
.child-feature img{width:100%;height:260px;object-fit:cover;border-radius:17px}
.child-feature h2{margin-top:0}
.lesson-pictures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:24px 0}
.lesson-pictures figure{margin:0;text-align:center}
.lesson-pictures img{width:100%;height:155px;object-fit:cover;border-radius:13px}
.lesson-pictures strong{display:block;margin:10px 0 5px;font-size:18px}
.lesson-pictures figcaption{font:14px/1.6 Arial;color:#506258}
.child-callout{border:1px solid #eed39a;border-radius:16px;background:#fff9ed;padding:18px 22px;margin:20px 0;font:17px/1.65 Arial}
.child-next{display:inline-block;background:#173c32;color:#fff;border-radius:30px;padding:16px 24px;font:700 16px Arial;margin-top:12px}
.child-quiz fieldset{border-radius:19px}.child-answer{border-radius:13px}
@media(max-width:700px){.child-hero{min-height:430px;background:linear-gradient(0deg,#173c32f5 0%,#173c3266 70%),url('images/storybook-children.jpg') center top / cover;align-items:flex-end;padding:25px}.child-feature{grid-template-columns:1fr}.lesson-pictures{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-pictures img{height:130px}.children-theme nav{gap:10px}.children-theme nav a{font-size:12px}.children-theme .wrap{padding:26px 16px 70px}}
