*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:12px}body{margin:0;background:#fafbf7;color:#102e49;font:17px/1.65 system-ui,"Noto Naskh Arabic",sans-serif}h1,h2,.brand{font-family:"Noto Nastaliq Urdu","Noto Naskh Arabic",Georgia,serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,select{font:inherit;cursor:pointer}button{border:1px solid #b6c9b4;border-radius:99px;background:white;color:#174d2b;padding:.35rem 1rem}html[lang=ur] .en,html[lang=en] .ur{display:none}header,footer,.actions,.tools,.sources,.newshead,.filter,.grade-row,.grade-row div{display:flex;align-items:center;gap:14px}header{padding:8px max(4%,calc((100% - 1250px)/2));background:white;justify-content:space-between;border-bottom:1px solid #dae3d9}header nav{display:flex;gap:clamp(12px,3vw,44px);flex-wrap:wrap}header nav a:hover{color:green}.brand{display:flex;align-items:center;gap:14px;font-size:1.65rem;white-space:nowrap}.brand img{width:76px;height:76px}main{max-width:1440px;margin:auto}.hero{display:grid;grid-template-columns:1fr 1fr;background:#fbf9ef;align-items:stretch}.copy{padding:clamp(24px,4vw,70px);align-self:center}.scene{width:100%;height:100%;max-height:410px;min-height:270px;object-fit:cover;border-end-start-radius:30% 90%;border-inline-start:8px solid #80b340}.hero h1{font-size:clamp(32px,4vw,67px);line-height:1.6;margin:0}.hero em{font-style:normal;color:#297326}.hero p,.tutors p{color:#506254}.actions{flex-wrap:wrap}.button{display:inline-block;padding:9px 19px;border-radius:9px;background:#246822;color:white}.navy,.newshead,footer{background:#102f50;color:white}.tools,.panels,.news{width:min(1200px,94%);margin:22px auto}.tools,.panel,.news{border:1px solid #d6dfd1;border-radius:16px;background:white}.tools{justify-content:space-around;padding:15px;flex-wrap:wrap}.tools a{display:flex;align-items:center;gap:10px;font-weight:650}.tools i{font:28px Georgia;color:#337234}.panels{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.panel{padding:20px 26px}.panel h2,.news h2{margin:0 0 10px;font-size:1.55rem}.grade-row{justify-content:space-between;padding:6px 0;border-top:1px solid #edf0e9}.grade-row div{gap:5px;flex-wrap:wrap}.grade-row a{min-width:34px;text-align:center;background:#edf5ea;padding:3px 9px;border-radius:7px;color:#194e25}.tutors{background:#f3f7ed}.tutors .actions{margin:22px 0}.tutors hr{border:0;border-top:1px solid #d1dec9;margin:20px 0}.news{overflow:hidden}.newshead{justify-content:space-between;padding:10px 22px}.newshead h2{margin:0}.filter,.sources,#story,#feedStatus{margin:12px 22px}.filter select{padding:4px 12px;border:1px solid #c7d6c6;border-radius:8px;background:white;color:#102e49}#story{min-height:80px}#story a{display:block;font-weight:bold;font-size:1.22rem}#story small,#feedStatus{font-size:.83rem;color:#51675a}.sources{flex-wrap:wrap;border-top:1px solid #d6dfd1;padding:12px 0;gap:20px;color:#205831}footer{padding:18px 4%;justify-content:center;flex-wrap:wrap;font-size:.9rem}:focus-visible{outline:3px solid #5b8a29;outline-offset:3px}@media(max-width:720px){header{flex-wrap:wrap;padding:8px 4%;gap:4px}.brand img{width:52px;height:52px}header nav{order:3;width:100%;justify-content:space-between;font-size:14px;padding:6px 0}.hero,.panels{grid-template-columns:1fr}.scene{grid-row:1;height:165px;min-height:0;border:0;border-bottom:4px solid #83b54a;border-radius:0;object-position:50% 40%}.copy{padding:16px 5% 22px}.hero p{margin:6px 0 12px}.tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.panel{padding:17px}.grade-row{flex-wrap:wrap}.tools,.panels,.news{margin:14px auto}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.news-controls{display:flex;gap:6px}.news-controls button{font-size:.85rem}.newshead{flex-wrap:wrap}#story a{line-height:1.75}#story small{display:block;color:#245e31}@media(prefers-reduced-motion:no-preference){#story a{animation:headline-in .38s ease-out}@keyframes headline-in{from{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:none}}}
@font-face{font-family:IlmNastaliq;src:url(nastaliq.woff) format("woff");font-display:swap}
:root{--leaf:#205f20;--navy:#092d4b;--cream:#fbfaf3;--edge:#dce3d5}
body{background:#fff;color:#10273c}html[lang=ur] .ur,html[lang=ur] #story a:dir(rtl){font-family:IlmNastaliq,serif;font-weight:400;line-height:2.15}
header{max-width:1540px;margin:auto;padding:8px 4%;height:96px;border:0;gap:25px}header nav{flex:1;justify-content:space-evenly;align-items:center;gap:12px}header nav a:first-child{color:var(--leaf);border-bottom:3px solid var(--leaf)}.brand img{width:95px;height:95px;position:relative;top:8px;z-index:1}#language{background:#f4f7f0;color:#194c27;font:600 15px system-ui;padding:8px 20px}
main{max-width:1600px}.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--cream);grid-template-columns:48% 52%}.copy{text-align:center;padding:32px 4%}.hero h1{font-size:clamp(34px,4.2vw,69px);white-space:nowrap}.hero p{margin:5px 0 24px;font-size:clamp(16px,1.6vw,24px);color:#33432e}.scene{max-height:none;min-height:300px;height:clamp(300px,28vw,448px);border:0;border-inline-start:12px solid #85b53c;border-start-start-radius:0;border-end-start-radius:23% 100%;object-position:center}.actions{justify-content:center}.button{min-width:38%;text-align:center;border-radius:11px;padding:5px 16px;background:linear-gradient(125deg,#397e13,#19581a);box-shadow:0 3px 8px #284e2614}.button:after{content:"‹";font:24px system-ui;margin-inline-start:14px}.navy,.newshead{background:linear-gradient(115deg,#12486a,#082643)}.tools,.panels,#classes{width:min(1380px,94%);margin:18px auto}.tools{display:grid;grid-template-columns:repeat(4,1fr);padding:13px 0;background:#fbfcf8;gap:0}.tools a{justify-content:center;min-height:43px}.tools a+a{border-inline-start:1px solid #c4ceb9}.tools svg,.tutors svg{width:32px;color:var(--leaf)}.newshead svg{width:23px;vertical-align:middle;margin-inline-end:10px}.panels{grid-template-columns:1.14fr 1fr;align-items:stretch}.panels>.news{margin:0;width:auto}.tutors{background:linear-gradient(140deg,#f6f8ec,#f3f6ec);text-align:center}.tutors h2 svg{width:43px;vertical-align:middle;margin-inline-end:16px}.tutors .actions{margin:12px 0}.tutors>a{display:inline-block;font-size:.85rem;margin:4px 9px;color:#215b26}.tutors a:last-child{border:1px solid #d1dcc6;background:#fff;border-radius:40px;padding:0 14px}.newshead{padding:8px 17px}.newshead h2{font-size:1.23rem}.news-controls button{padding:2px 9px}button:disabled{opacity:.6;cursor:default}.filter{gap:6px;flex-wrap:wrap}.filter label{font-size:.85rem}.filter select{font-size:.84rem}.sources{gap:6px 13px;font-size:.82rem}.panel,.news{box-shadow:0 4px 18px #203c2208}.grade-row{justify-content:flex-start;gap:20px}.grade-row strong{min-width:8em}.grade-row a{min-width:42px}footer{border-top:5px solid #88ac4e;margin-top:26px}.news-controls:has(button:disabled) button:disabled{display:none}#story{min-height:70px}#story small{direction:ltr;text-align:start}#feedStatus{margin-block:6px}
@media(max-width:850px){header{height:auto;min-height:68px;flex-wrap:wrap;gap:4px}.brand img{height:60px;width:60px;top:0}header nav{order:3;flex:0 0 100%;justify-content:space-between;flex-wrap:nowrap;overflow:auto;white-space:nowrap;padding:5px 0;font-size:14px}.hero h1{white-space:normal}.panels{grid-template-columns:1fr}.tools svg{width:27px}}
@media(max-width:720px){.hero{grid-template-columns:1fr}.scene{height:clamp(155px,45vw,265px);min-height:0;border:0;border-bottom:5px solid #85b53c;border-radius:0 0 16% 0}.copy{padding:8px 4% 19px}.hero h1{font-size:clamp(28px,7.6vw,46px)}.hero p{margin:2px 0 12px}.tools{grid-template-columns:1fr 1fr;padding:5px}.tools a{min-height:53px}.tools a:nth-child(3){border-inline-start:0}.tools a:nth-child(n+3){border-top:1px solid var(--edge)}.newshead{gap:4px}.grade-row{gap:5px}.hero .actions{gap:10px}.panel h2{font-size:1.35rem}.brand{margin-inline-end:auto}}
