/* Salam School — section styles (Oct 23, 2026 revamp)
   Built on the unified Salam Games system: Nunito, navy #173653 headings,
   violet #6d28d9 primary actions, white rounded cards, pastel topic tints. */
.sch-wrap{max-width:1100px;margin:0 auto;padding:18px 14px 90px}
.sch-hero{background:#fff;border:3px solid #e0f2fe;border-radius:32px;padding:30px 26px;box-shadow:0 14px 34px rgba(23,54,83,.10);margin-bottom:22px}
.sch-eyebrow{display:inline-block;background:#ede9fe;color:#5b21b6;border-radius:999px;padding:6px 14px;font-weight:1000;font-size:.78rem;letter-spacing:.07em;text-transform:uppercase}
.sch-hero h1{font-size:clamp(2rem,6vw,3.1rem);line-height:1.04;margin:14px 0 10px;color:#173653;font-weight:1000}
.sch-hero h1 .vio{color:#6d28d9}
.sch-lead{font-size:1.08rem;font-weight:700;color:#3f4c63;max-width:760px;margin:0 0 18px}
.sch-cta{display:flex;flex-wrap:wrap;gap:10px}
.sch-btn{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;font-weight:1000;text-decoration:none;padding:13px 22px;border-radius:18px;box-shadow:0 5px 0 #5b21b6;font-size:1rem}
.sch-btn:active{transform:translateY(3px);box-shadow:0 2px 0 #5b21b6}
.sch-btn.soft{background:#fff;color:#173653;border:2px solid #ddd6fe;box-shadow:0 4px 0 #e9e4fb}
.sch-btn.gold{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 5px 0 #92400e}
.sch-h2{font-size:clamp(1.45rem,4vw,2rem);color:#173653;font-weight:1000;margin:34px 0 6px}
.sch-sub{color:#5b6b80;font-weight:700;margin:0 0 16px;max-width:820px}
.sch-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.sch-path{border-radius:26px;padding:20px;border:3px solid #fff;box-shadow:0 10px 24px rgba(23,54,83,.08)}
.sch-path.sky{background:linear-gradient(160deg,#e0f2fe,#f0f9ff)}
.sch-path.lav{background:linear-gradient(160deg,#ede9fe,#f5f3ff)}
.sch-path.mint{background:linear-gradient(160deg,#dcfce7,#f0fdf4)}
.sch-path h3{margin:0 0 6px;font-size:1.2rem;color:#173653;font-weight:1000}
.sch-path p{margin:0 0 10px;font-weight:700;color:#3f4c63;font-size:.95rem}
.sch-path ol{margin:0;padding-left:20px;font-weight:700;color:#33475c}
.sch-path ol li{margin:5px 0}
.sch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.sch-card{background:#fff;border:3px solid #eef2ff;border-radius:26px;padding:20px;box-shadow:0 10px 24px rgba(23,54,83,.07);display:flex;flex-direction:column;gap:8px}
.sch-card .band{height:10px;border-radius:99px;margin:-6px 0 4px}
.sch-card h3{margin:0;font-size:1.22rem;color:#173653;font-weight:1000;line-height:1.2}
.sch-card p{margin:0;font-weight:700;color:#3f4c63;font-size:.95rem;flex:1}
.sch-meta{display:flex;flex-wrap:wrap;gap:6px}
.sch-chip{background:#f1f5f9;color:#33475c;border-radius:999px;padding:4px 11px;font-size:.78rem;font-weight:900}
.sch-chip.topic{background:#ede9fe;color:#5b21b6}
.sch-card .sch-btn{align-self:flex-start;padding:10px 18px;font-size:.92rem;border-radius:14px}
.sch-cols{display:grid;grid-template-columns:1.9fr 1fr;gap:18px;align-items:start}
.sch-panel{background:#fff;border:3px solid #eef2ff;border-radius:26px;padding:22px;box-shadow:0 10px 24px rgba(23,54,83,.07);margin-bottom:16px}
.sch-panel h2{margin:0 0 10px;font-size:1.35rem;color:#173653;font-weight:1000}
.sch-panel h3{margin:18px 0 6px;font-size:1.08rem;color:#173653;font-weight:1000}
.sch-panel p,.sch-panel li{font-weight:650;color:#2e4156}
.sch-panel ul,.sch-panel ol{padding-left:22px;margin:8px 0}
.sch-panel li{margin:5px 0}
.sch-aside{position:sticky;top:14px}
.sch-glance{background:linear-gradient(165deg,#3b0764,#6d28d9 55%,#a21caf);color:#fff;border-radius:26px;padding:20px;box-shadow:0 12px 26px rgba(76,29,149,.28)}
.sch-glance h2{color:#fff;margin:0 0 10px;font-size:1.15rem;font-weight:1000}
.sch-glance dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:5px 12px;font-size:.92rem}
.sch-glance dt{font-weight:900;color:#fde68a}
.sch-glance dd{margin:0;font-weight:700}
.sch-glance a{color:#fde68a;font-weight:900}
.sch-steps{list-style:none;margin:6px 0;padding:0;counter-reset:schstep}
.sch-steps>li{display:flex;gap:14px;padding:15px 0;border-bottom:2px dashed #e2e8f0}
.sch-steps>li:last-child{border-bottom:0}
.sch-num{flex:0 0 auto;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;font-weight:1000;font-size:1.15rem;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 0 #5b21b6}
.sch-step-body{flex:1}
.sch-step-body h3{margin:0 0 4px}
.sch-time{display:inline-block;background:#fef3c7;color:#92400e;border-radius:999px;padding:2px 10px;font-size:.75rem;font-weight:1000;margin-left:8px;vertical-align:2px}
.sch-say{background:#f5f3ff;border-left:5px solid #7c3aed;border-radius:12px;padding:10px 14px;margin:8px 0;font-weight:750;color:#312e81}
.sch-dua{background:linear-gradient(160deg,#fffbeb,#fef3c7);border:3px solid #fde68a;border-radius:22px;padding:18px;margin:12px 0;text-align:center}
.sch-dua .ar{font-family:'Noto Naskh Arabic',serif;font-size:1.9rem;line-height:1.9;color:#173653;direction:rtl}
.sch-dua .tr{font-weight:900;color:#92400e;margin-top:6px}
.sch-dua .en{font-weight:700;color:#3f4c63}
.sch-dua .src{font-size:.8rem;font-weight:800;color:#92700c;margin-top:8px}
.sch-check{background:#ede9fe;border-radius:20px;padding:16px 18px;margin:12px 0}
.sch-check h3{margin:0 0 8px;color:#4c1d95}
.sch-check li{margin:7px 0;font-weight:700;color:#312e81}
.sch-check .ans{color:#5b21b6;font-weight:900}
.sch-diff{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sch-diff>div{border-radius:18px;padding:14px 16px}
.sch-diff .easy{background:#f0fdf4;border:2px solid #bbf7d0}
.sch-diff .deep{background:#eff6ff;border:2px solid #bfdbfe}
.sch-diff h4{margin:0 0 5px;font-weight:1000;color:#173653}
.sch-diff p{margin:0;font-size:.93rem}
.sch-home{background:#fff7ed;border:3px solid #fed7aa;border-radius:22px;padding:18px;margin:14px 0}
.sch-home h3{margin:0 0 6px;color:#9a3412}
.sch-note{background:#f0f9ff;border:2px solid #bae6fd;border-radius:18px;padding:14px 16px;font-weight:700;color:#0c4a6e;margin:14px 0}
.sch-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:3px solid #eef2ff;border-radius:22px;overflow:hidden;box-shadow:0 10px 24px rgba(23,54,83,.07)}
.sch-table th{background:#173653;color:#fff;text-align:left;padding:12px 14px;font-size:.9rem}
.sch-table td{padding:12px 14px;font-weight:650;color:#2e4156;border-top:2px solid #eef2ff;vertical-align:top}
.sch-table tr td:first-child{font-weight:900;color:#173653;white-space:nowrap}
.sch-table a{color:#6d28d9;font-weight:900}
.sch-crumbs{font-weight:800;color:#5b6b80;margin:2px 0 12px;font-size:.92rem}
.sch-crumbs a{color:#6d28d9;text-decoration:none;font-weight:900}
.sch-week{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.sch-day{background:#fff;border:3px solid #eef2ff;border-radius:18px;padding:13px}
.sch-day h4{margin:0 0 5px;color:#6d28d9;font-weight:1000;font-size:.95rem}
.sch-day p{margin:0;font-size:.88rem;font-weight:700;color:#3f4c63}
@media (max-width:900px){.sch-paths,.sch-grid{grid-template-columns:1fr 1fr}.sch-cols{grid-template-columns:1fr}.sch-aside{position:static}.sch-week{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.sch-paths,.sch-grid,.sch-diff,.sch-week{grid-template-columns:1fr}.sch-hero{padding:22px 18px}.sch-dua .ar{font-size:1.55rem}}
/* Print: lesson plans and guides print as clean handouts */
@media print{
  #sg-site-header,#sg-site-mobile,.site-footer,.loading-screen,#stars-canvas,.sch-cta,.sch-noprint{display:none!important}
  body{background:#fff!important}
  .sch-wrap{padding:0;max-width:none}
  .sch-hero,.sch-panel,.sch-card,.sch-glance,.sch-path{box-shadow:none;border:1.5px solid #bbb;break-inside:avoid}
  .sch-glance{background:#fff;color:#000}
  .sch-glance h2,.sch-glance dt{color:#000}
  .sch-glance a{color:#000}
  .sch-steps>li{break-inside:avoid}
  a{color:#000;text-decoration:none}
}
@media (max-width:560px){.sch-table th,.sch-table td{padding:9px 9px;font-size:.86rem}.sch-table tr td:first-child{white-space:normal}}

/* ART & FIGURES · Oct 23, 2026 (illustrations pass) */
.sch-art{width:100%;height:auto;border-radius:20px;display:block;box-shadow:0 12px 30px rgba(23,54,83,.16);margin:6px 0 4px}
.sch-card-img{width:100%;height:150px;object-fit:cover;display:block}
.figstrip{display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:12px;margin:14px 0 20px}
.figstrip.six{grid-template-columns:repeat(3,1fr)}
@media(max-width:640px){.figstrip.six{grid-template-columns:repeat(2,1fr)}}
.figcard{background:#f0f9ff;border:2px solid #dbeafe;border-radius:16px;padding:10px;text-align:center;margin:0;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.figcard.warm{background:#fff7e0;border-color:#fde68a}
.figcard.lilac{background:#f1effe;border-color:#ddd6fe}
.figcard svg{width:100%;height:auto;display:block}
.figcard figcaption b{display:block;color:#173653;margin-top:7px;font-size:.98rem}
.figcard figcaption span{display:block;color:#64748b;font-size:.84rem;margin-top:2px;line-height:1.35}
@media print{.figstrip{grid-template-columns:repeat(3,1fr)!important}.figcard{break-inside:avoid}}

/* photo cards + step numbers + credits (20261023-school3) */
.figcard.photo{padding:8px}
.figcard.photo img{width:100%;aspect-ratio:1/1.02;object-fit:cover;object-position:center 16%;border-radius:12px;display:block}
.figcard .stepnum{display:block;font-size:1.6rem;font-weight:1000;color:#b45309;line-height:1.1}
.figcard.lilac .stepnum{color:#6d28d9}
.sch-wide-photo{margin:6px 0 16px}
.sch-wide-photo img{width:100%;border-radius:18px;display:block;box-shadow:0 14px 30px rgba(23,54,83,.16)}
.sch-wide-photo figcaption{font-size:.85rem;color:#5c6b7a;margin-top:7px;text-align:center;font-weight:700}
.sch-credits{font-size:.78rem;color:#71808f;margin-top:12px;line-height:1.55}
.sch-credits a{color:#6d28d9}
