/*
 * Mama Habiba Madarasada — visual refresh v27
 * Presentation only: no content or behaviour is changed by this file.
 */

:root{
  --mh-navy:#18364a;
  --mh-emerald:#0f4b3a;
  --mh-emerald-2:#176451;
  --mh-teal:#2f7e79;
  --mh-gold:#d6a942;
  --mh-gold-soft:#f1d990;
  --mh-ivory:#fbf8f1;
  --mh-sand:#f3ecdd;
  --mh-white:#fffefa;
  --mh-text:#20322c;
  --mh-muted:#64726c;
  --mh-line:rgba(24,54,74,.13);
  --mh-shadow:0 24px 70px rgba(15,75,58,.12);
  --mh-shadow-sm:0 12px 34px rgba(24,54,74,.09);
  --mh-radius:28px;
  --mh-radius-sm:18px;
}

html{scroll-padding-top:90px}
body{
  background:var(--mh-ivory);
  color:var(--mh-text);
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body::selection{background:var(--mh-gold-soft);color:var(--mh-navy)}
.wrap{width:min(100% - 48px,1220px);max-width:1220px;padding:0}
section{padding:clamp(62px,6vw,82px) 0}
h1,h2,h3,.display{letter-spacing:-.035em}
.section-head{max-width:730px;margin-bottom:clamp(30px,3.5vw,44px)}
.section-head h2{font-size:clamp(2.15rem,4vw,3.6rem);line-height:1.04;text-wrap:balance}
.section-head p{max-width:650px;font-size:1.06rem;line-height:1.8}
.eyebrow,.hero-eyebrow{
  letter-spacing:.17em;
  font-size:.73rem;
  font-weight:800;
}
.eyebrow .rule,.hero-eyebrow .rule{width:42px}

/* Header: confident, balanced, and always one line on wide screens. */
header{
  background:rgba(255,254,250,.9);
  border-bottom:1px solid rgba(24,54,74,.09);
  box-shadow:0 4px 24px rgba(24,54,74,.035);
  backdrop-filter:blur(18px) saturate(150%);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
}
header nav{min-height:80px;padding:10px 0}
header .brand{gap:12px;color:var(--mh-navy);font-size:1.08rem;letter-spacing:-.025em}
header .brand img{
  width:48px;height:48px;padding:5px;
  border-radius:15px;background:var(--mh-sand);
  box-shadow:inset 0 0 0 1px rgba(24,54,74,.06);
}
header .brand small{color:var(--mh-teal);letter-spacing:.08em}
header .lang-switch{background:#e9f1ef;border:1px solid rgba(47,126,121,.09);padding:4px}
header .lang-btn{min-width:36px;padding:7px 11px}
header .lang-btn.active{background:var(--mh-navy);color:#fff;box-shadow:0 5px 13px rgba(24,54,74,.2)}
header .nav-dropdown-menu{
  background:rgba(255,254,250,.98)!important;
  border-color:var(--mh-line)!important;
  border-radius:18px!important;
  padding:9px!important;
  box-shadow:0 22px 55px rgba(24,54,74,.16)!important;
}
header .nav-dropdown-menu a{border-radius:12px!important}
header .nav-dropdown-menu a:hover{background:#eaf3f0!important}
header .menu-toggle{
  width:44px;height:44px;border-radius:14px;
  background:var(--mh-navy);color:#fff;
  box-shadow:0 8px 20px rgba(24,54,74,.17);
}
header .menu-toggle svg{stroke:#fff!important;color:#fff!important}
@media (min-width:1241px){
  header .wrap{width:min(100% - 48px,1600px)!important}
  header .nav-links > a,header .nav-dropdown-toggle{
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
    min-height:44px!important;
    font-size:.91rem!important;
    padding:10px 14px!important;
  }
  header .nav-links > a:hover,header .nav-dropdown-toggle:hover,header .nav-dropdown.open .nav-dropdown-toggle{
    background:#eaf3f0!important;
    border-color:rgba(47,126,121,.12)!important;
  }
  header .nav-links > .nav-madrasa,header .nav-links > a[href*="admin"]{
    background:var(--mh-sand)!important;
    border-color:rgba(24,54,74,.09)!important;
  }
  header .nav-links > .nav-cta{
    background:var(--mh-teal)!important;
    color:#fff!important;
    border-radius:14px!important;
    box-shadow:0 9px 22px rgba(47,126,121,.22)!important;
  }
}

/* Hero */
.hero{
  min-height:590px;
  display:flex;align-items:center;
  padding:clamp(78px,8vw,108px) 0 clamp(108px,10vw,134px);
  background:
    radial-gradient(circle at 78% 22%,rgba(214,169,66,.18),transparent 26%),
    radial-gradient(circle at 92% 86%,rgba(47,126,121,.34),transparent 30%),
    linear-gradient(135deg,#102f2b 0%,#0f4b3a 55%,#18364a 125%);
}
.hero::before{
  content:"";position:absolute;inset:24px 24px auto auto;width:min(38vw,520px);aspect-ratio:1;
  border:1px solid rgba(241,217,144,.16);border-radius:50%;
  box-shadow:0 0 0 56px rgba(241,217,144,.03),0 0 0 112px rgba(241,217,144,.025);
}
.hero::after{
  content:"";position:absolute;left:-8%;bottom:-32%;width:42%;aspect-ratio:1;
  border-radius:50%;background:rgba(47,126,121,.13);filter:blur(1px)
}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(300px,.72fr);gap:clamp(30px,4vw,56px);align-items:center}
.hero .wrap>:not(img){grid-column:1}
.hero h1{font-size:clamp(3.15rem,6.1vw,5.5rem);line-height:.98;max-width:850px;margin-bottom:28px;text-wrap:balance}
.hero .tagline{font-size:clamp(1.18rem,2vw,1.5rem);margin-bottom:20px}
.hero p.lede{max-width:720px;font-size:1.08rem;line-height:1.85;margin-bottom:34px}
.hero-eyebrow{margin-bottom:26px;color:var(--mh-gold-soft)}
.hero img[src*="waxbarasho-bilaash"]{
  grid-column:2;grid-row:1 / span 6;
  width:100%!important;max-height:500px;object-fit:cover;
  border-radius:140px 140px 28px 28px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 32px 80px rgba(0,0,0,.28)!important;
  margin:0!important;
}
.hero-actions{gap:12px}
.btn{
  border-radius:14px;padding:14px 24px;min-height:50px;
  display:inline-flex;align-items:center;justify-content:center;
  box-shadow:none;font-weight:700;letter-spacing:-.01em;
}
.btn-gold{background:var(--mh-gold);color:#173126;box-shadow:0 12px 28px rgba(214,169,66,.22)}
.btn-outline{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.055);backdrop-filter:blur(8px)}
.btn:hover{transform:translateY(-3px)}

/* Statistics float into the first content section. */
.stats{position:relative;z-index:4;margin-top:-54px;background:transparent;border:0}
.stats-grid{
  background:rgba(255,254,250,.97);border:1px solid rgba(255,255,255,.6);
  border-radius:26px;box-shadow:var(--mh-shadow);overflow:hidden;
}
.stat{padding:30px 18px;border-color:var(--mh-line)}
.stat .num{color:var(--mh-navy);font-size:clamp(1.55rem,2.3vw,2.2rem);line-height:1.1}
.stat .lbl{font-weight:600;color:var(--mh-muted);margin-top:7px}

/* About and joined community */
#kusaabsan{padding-top:clamp(88px,9vw,116px);background:var(--mh-ivory)}
#kusaabsan .about-body{
  max-width:900px!important;padding:clamp(26px,4vw,46px);
  border:1px solid var(--mh-line);border-radius:var(--mh-radius);
  background:var(--mh-white);box-shadow:var(--mh-shadow-sm);
}
#kusaabsan .about-body p{font-size:1.08rem;line-height:1.9}
.join{background:linear-gradient(180deg,var(--mh-ivory),var(--mh-sand))}
.join-panel{
  border-radius:34px!important;overflow:hidden;
  background:linear-gradient(135deg,var(--mh-navy),var(--mh-emerald))!important;
  box-shadow:0 35px 90px rgba(24,54,74,.18)!important;
  border:1px solid rgba(255,255,255,.1)!important;
  padding:0!important;gap:18px!important;
}
.join-panel>div{padding:clamp(32px,5vw,64px)!important}
.join-panel h2{font-size:clamp(2rem,3.8vw,3.4rem)!important;line-height:1.06!important}
.join-list>div{border-color:rgba(255,255,255,.15)!important}
.teacher-volunteer-link{
  display:block;margin-top:24px;padding:18px 20px;border-radius:16px;
  background:var(--mh-gold);color:var(--mh-navy)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.16);
  transition:transform .2s ease,background .2s ease;
}
.teacher-volunteer-link:hover{transform:translateY(-3px);background:var(--mh-gold-soft)}
.teacher-volunteer-link strong,.teacher-volunteer-link span{display:block}
.teacher-volunteer-link strong{font-family:'Fraunces',serif;font-size:1.06rem;line-height:1.35}
.teacher-volunteer-link span{margin-top:5px;font-size:.86rem;line-height:1.55;font-weight:600}
.join-form{
  background:rgba(255,255,255,.075)!important;
  border-left:1px solid rgba(255,255,255,.12)!important;
  backdrop-filter:blur(18px);
  padding:clamp(26px,3vw,40px)!important;
}
.join-form h3{color:#fff!important}
.join-form input,.join-form textarea,.join-form select,
.ev-register-fields input,.form-section input,.form-section textarea,.form-section select,
.fasal-search input{
  border:1px solid rgba(24,54,74,.16)!important;
  border-radius:13px!important;background:#fff!important;
  min-height:48px;padding:12px 14px!important;
  box-shadow:0 4px 14px rgba(24,54,74,.04);
  transition:border-color .2s ease,box-shadow .2s ease;
}
.join-form input:focus,.join-form textarea:focus,.join-form select:focus,
.form-section input:focus,.form-section textarea:focus,.form-section select:focus,
.fasal-search input:focus{
  outline:0;border-color:var(--mh-teal)!important;
  box-shadow:0 0 0 4px rgba(47,126,121,.12)!important;
}

/* Mission and objectives */
.mission{background:var(--mh-white)}
.mission-grid{grid-template-columns:.85fr 1.15fr;gap:28px}
.mission-quote,.mission-body{
  padding:clamp(30px,4vw,48px);border-radius:var(--mh-radius);
  border:1px solid var(--mh-line);background:var(--mh-ivory);
}
.mission-quote{border-left:5px solid var(--mh-gold);font-size:clamp(1.45rem,2.5vw,2.05rem);box-shadow:var(--mh-shadow-sm)}
.mission-body{background:var(--mh-sand)}
.objectives{background:var(--mh-sand)}
.obj-grid{gap:18px}
.obj-card{
  position:relative;border:1px solid var(--mh-line);border-radius:22px;
  padding:clamp(26px,3vw,38px);background:var(--mh-white);
  box-shadow:0 8px 28px rgba(24,54,74,.045);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.obj-card:hover{transform:translateY(-5px);box-shadow:var(--mh-shadow-sm);border-color:rgba(47,126,121,.25)}
.obj-num{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:#e7f1ee;color:var(--mh-emerald);font-size:1rem;
}

/* Program areas */
.programs{
  background:
    radial-gradient(circle at 90% 10%,rgba(214,169,66,.11),transparent 25%),
    linear-gradient(145deg,#0c3d31,#173b39 58%,#18364a);
}
.programs+.programs{padding-top:20px}
.track-grid{gap:16px;background:transparent;border:0;margin-bottom:16px}
.track{
  border:1px solid rgba(255,255,255,.13);border-radius:22px;
  padding:clamp(28px,3vw,40px);background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px rgba(255,255,255,.06);
  transition:transform .25s ease,background .25s ease,border-color .25s ease;
}
.track:hover{transform:translateY(-5px);background:rgba(255,255,255,.085);border-color:rgba(241,217,144,.3)}
.track h3{font-size:1.4rem}
.track li{padding:11px 0;line-height:1.6}
.free-badge{background:var(--mh-gold);color:#173126}
.prog-card-full{
  border-radius:22px;border-color:rgba(255,255,255,.14);
  padding:clamp(28px,3vw,40px);background:rgba(0,0,0,.08)
}
.poster-callout{
  border-radius:24px!important;overflow:hidden!important;
  border:1px solid rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.07)!important;
  box-shadow:0 22px 52px rgba(0,0,0,.15)!important;
  transition:transform .25s ease,background .25s ease;
}
.poster-callout:hover{transform:translateY(-5px);background:rgba(255,255,255,.1)!important}
.poster-callout img,.poster-media img{border-radius:18px;object-fit:cover}

/* Events: current work leads; completed lectures stay compact. */
.events{background:var(--mh-sand)}
.ev-audio-promo{
  border-radius:28px!important;overflow:hidden;
  border:1px solid rgba(255,255,255,.1)!important;
  background:linear-gradient(135deg,var(--mh-emerald),var(--mh-navy))!important;
  box-shadow:var(--mh-shadow-sm)!important;
}
.ev-audio-img{object-fit:cover!important}
.ev-audio-body{padding:clamp(30px,4vw,52px)!important}
.ev-audio-promo h3{color:#fff!important}
.ev-audio-promo .ev-speaker{color:var(--mh-gold-soft)!important}
.ev-audio-promo .ev-lede,.ev-audio-promo .ev-audio-eplist{color:rgba(255,255,255,.82)!important}
.ev-audio-eplist>*{border-radius:13px!important}
.ev-past-wrap{
  margin-top:34px!important;padding:24px!important;
  border:1px solid var(--mh-line);border-radius:24px;background:rgba(255,255,255,.54)
}
.ev-past-label{letter-spacing:.14em;font-weight:800;color:var(--mh-muted)}
.ev-card{border-radius:18px;border-color:var(--mh-line);box-shadow:0 10px 28px rgba(24,54,74,.06)}
.ev-poster{border-radius:14px 0 0 14px}
.ev-body{padding:clamp(24px,3vw,38px)}
.ev-badge{border-radius:999px}
.ev-meta{gap:12px}
.ev-register{border-radius:16px!important;padding:18px!important}
.ev-extra{gap:16px}
.ev-repeat{border-radius:22px;background:linear-gradient(135deg,var(--mh-emerald),var(--mh-navy));padding:32px}
.ev-thumb{border-radius:16px}

/* Values and photography */
.values{background:var(--mh-white)}
.val-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.val-pill{
  justify-content:flex-start;min-height:70px;padding:18px 22px;
  border-radius:18px;background:var(--mh-ivory);font-size:.96rem;
  box-shadow:0 6px 20px rgba(24,54,74,.04)
}
.val-pill svg{width:26px;height:26px;padding:5px;border-radius:8px;background:#e7f1ee;color:var(--mh-emerald)}
.gallery{background:var(--mh-navy)}
.gallery .section-head h2{color:#fff}
.gallery .section-head p{color:rgba(255,255,255,.7)}
.gallery .eyebrow{color:var(--mh-gold-soft)}
.gal-grid{gap:14px!important}
.gal-item,.gal-note{border-radius:22px!important;overflow:hidden;border:1px solid rgba(255,255,255,.13)!important}
.gal-item img{transition:transform .5s ease,filter .4s ease}
.gal-item:hover img{transform:scale(1.045);filter:saturate(1.08)}
.gal-note{background:linear-gradient(145deg,var(--mh-emerald),#102f2b)!important;padding:28px!important}

/* Location and footer */
.location{background:var(--mh-ivory)}
.loc-grid{gap:18px!important}
.loc-panel,.madrasa-panel{
  border-radius:26px!important;border:1px solid var(--mh-line)!important;
  box-shadow:var(--mh-shadow-sm);overflow:hidden;
}
.loc-panel{
  background:linear-gradient(145deg,var(--mh-emerald),var(--mh-navy))!important;
  padding:clamp(28px,4vw,44px)!important;color:#fff!important
}
.loc-panel h3{color:#fff!important}
.loc-panel .row{color:rgba(255,255,255,.8)!important}
.madrasa-panel{background:linear-gradient(145deg,var(--mh-emerald),var(--mh-navy))!important;padding:clamp(28px,4vw,48px)!important}
.madrasa-panel h3{color:#fff!important}
.madrasa-panel p{color:rgba(255,255,255,.78)!important}
.madrasa-cta{padding-bottom:clamp(58px,6vw,78px)!important}
footer{background:#0c2a26!important;border-top:1px solid rgba(255,255,255,.08);padding-top:74px!important}
footer .footer-grid{gap:40px!important}
footer .footer-brand img{border-radius:16px;background:var(--mh-sand);padding:6px}
footer a{transition:color .2s ease,opacity .2s ease}
footer a:hover{color:var(--mh-gold-soft)!important}

/* Leadership page */
.team-grid{grid-template-columns:repeat(3,1fr);gap:18px}
.team-card{
  padding:0;border:1px solid var(--mh-line);border-radius:24px;
  overflow:hidden;background:var(--mh-white);box-shadow:0 8px 28px rgba(24,54,74,.05);
}
.team-card:hover{transform:translateY(-7px);box-shadow:var(--mh-shadow)}
.team-card-featured{grid-column:span 2!important}
.team-photo{aspect-ratio:4/3;overflow:hidden;background:var(--mh-sand)}
.team-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.team-card:hover .team-photo img{transform:scale(1.035)}
.team-text{padding:26px!important;text-align:left}
.team-bio{line-height:1.75;color:var(--mh-muted)}

/* Enrollment page */
.grid4{gap:16px!important}
.grid4 .card,.schedule-wrap,.quote-block,.form-section form{
  border-radius:22px!important;border:1px solid var(--mh-line)!important;
  box-shadow:0 8px 28px rgba(24,54,74,.05);
}
.grid4 .card{background:var(--mh-white)!important;padding:28px!important}
.quote-block{background:linear-gradient(135deg,var(--mh-emerald),var(--mh-navy))!important;padding:clamp(30px,5vw,58px)!important}
.schedule-wrap{background:linear-gradient(135deg,var(--mh-emerald),var(--mh-navy))!important;overflow:hidden;color:#fff!important}
.sched-item{padding:24px!important}
.quote-block{background:var(--mh-white)!important}
.quote-block .ar{color:var(--mh-navy)!important}
.quote-block .so{color:var(--mh-muted)!important}
.form-section{
  background:linear-gradient(145deg,var(--mh-emerald),var(--mh-navy))!important;
  color:#fff!important;
}
.form-section .section-label{color:var(--mh-gold-soft)!important}
.form-section h2.section-title{color:#fff!important}
.form-section form{background:var(--mh-white)!important;padding:clamp(26px,4vw,44px)!important}
.form-section .poster-inline{
  border-radius:20px!important;overflow:hidden;
  background:rgba(255,255,255,.07)!important;
  border-color:rgba(241,217,144,.34)!important;
  box-shadow:0 14px 38px rgba(0,0,0,.14)!important;
}
.form-section .poster-dl{color:var(--mh-gold-soft)!important;border-color:rgba(241,217,144,.7)!important}

/* Classroom directory */
.fasal-hero{
  background:
    radial-gradient(circle at 85% 15%,rgba(214,169,66,.18),transparent 27%),
    linear-gradient(135deg,var(--mh-emerald),var(--mh-navy))!important;
  padding:clamp(80px,10vw,130px) 0!important;
}
.fasal-hero h1{font-size:clamp(2.8rem,6vw,5rem)!important;line-height:1!important;max-width:850px}
.ardayda-section{background:var(--mh-ivory)!important}
.fasal-toolbar{
  position:sticky;top:94px;z-index:20;
  padding:14px!important;border-radius:20px!important;
  background:rgba(8,47,40,.44)!important;border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 14px 38px rgba(0,0,0,.12);backdrop-filter:blur(16px)
}
.fasal-tabs{gap:7px!important}
.fasal-tab{border-radius:12px!important;padding:10px 15px!important;color:#fff!important}
.fasal-tab.active{background:var(--mh-gold)!important;color:var(--mh-navy)!important;box-shadow:0 8px 18px rgba(0,0,0,.16)}
.fasal-search{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.24)!important;color:#fff!important}
.fasal-search::placeholder{color:rgba(255,255,255,.7)!important}
.ardayda-grid{gap:16px!important}
.student-card,.arday-card{
  border-radius:20px!important;overflow:hidden;border:1px solid var(--mh-line)!important;
  background:var(--mh-white)!important;box-shadow:0 8px 24px rgba(24,54,74,.045)!important;
  transition:transform .25s ease,box-shadow .25s ease!important;
}
.student-card:hover,.arday-card:hover{transform:translateY(-5px);box-shadow:var(--mh-shadow-sm)!important}
.card-body{padding:18px!important}

/* Awareness page */
.wacyi-dark{background:linear-gradient(145deg,var(--mh-emerald),var(--mh-navy))!important;color:#fff!important}
.wacyi-dark .poster-callout h3{color:#fff!important}
.wacyi-dark .poster-callout p{color:rgba(255,255,255,.8)!important}
.audio-series{background:var(--mh-ivory)!important}
.audio-list{gap:16px!important}
.audio-card{
  border:1px solid var(--mh-line)!important;border-radius:22px!important;
  overflow:hidden;background:var(--mh-white)!important;box-shadow:0 8px 28px rgba(24,54,74,.05)!important;
  transition:transform .25s ease,box-shadow .25s ease;
}
.audio-card:hover{transform:translateY(-5px);box-shadow:var(--mh-shadow-sm)!important}
.audio-thumb{border-radius:16px!important;overflow:hidden}

/* Responsive */
@media (max-width:1100px){
  .hero .wrap{grid-template-columns:1fr .62fr;gap:36px}
  .hero h1{font-size:clamp(3rem,6.5vw,4.8rem)}
  .val-strip{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .wrap{width:min(100% - 36px,760px)}
  header nav{min-height:74px}
  header .nav-links{top:74px!important;background:rgba(255,254,250,.98)!important}
  .hero{min-height:auto;padding:72px 0 104px}
  .hero .wrap{display:block}
  .hero .wrap>:not(img),.hero img[src*="waxbarasho-bilaash"]{grid-column:auto;grid-row:auto}
  .hero img[src*="waxbarasho-bilaash"]{width:min(100%,520px)!important;max-height:none;margin:44px auto 0!important;border-radius:26px}
  .stats{margin-top:-44px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat{border-bottom:1px solid var(--mh-line)}
  .stat:last-child{grid-column:1/-1;border-bottom:0}
  .mission-grid,.join-panel,.loc-grid{grid-template-columns:1fr!important}
  .join-form{border-left:0!important;border-top:1px solid rgba(255,255,255,.12)!important}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .team-card-featured{grid-column:span 2!important}
  .fasal-toolbar{position:relative;top:auto}
}
@media (max-width:700px){
  section{padding:54px 0}
  .section-head h2{font-size:2.35rem}
  .hero h1{font-size:clamp(2.65rem,12vw,4.2rem)}
  .hero p.lede{font-size:1rem}
  .stats-grid{grid-template-columns:1fr 1fr}
  .stat{padding:24px 12px}
  .track-grid,.obj-grid,.val-strip,.team-grid{grid-template-columns:1fr!important}
  .join-panel{gap:0!important}
  .join-panel>div:first-child{padding:30px 24px 24px!important}
  .join-panel .join-form{padding:28px 24px!important}
  .team-card-featured{grid-column:auto!important}
  .ev-card{grid-template-columns:1fr!important}
  .ev-poster{min-height:240px;border-radius:14px 14px 0 0}
  .ev-extra,.ev-thumbs{grid-template-columns:1fr!important}
  .poster-callout{flex-direction:column!important;align-items:stretch!important}
  .poster-callout img{width:100%!important;max-height:360px;object-fit:cover}
}
@media (max-width:520px){
  .wrap{width:min(100% - 28px,480px)}
  header .brand{font-size:.98rem}
  header .brand img{width:43px;height:43px}
  .hero{padding-top:58px}
  .hero-actions{display:grid;grid-template-columns:1fr}
  .btn{width:100%}
  .stats{margin-top:-34px}
  .stats-grid{border-radius:20px}
  .stat .num{font-size:1.5rem}
  #kusaabsan .about-body,.mission-quote,.mission-body{padding:26px}
  .ev-past-wrap{padding:12px!important}
  .ev-recap-grid{grid-template-columns:repeat(2,1fr)!important}
  .loc-panel,.madrasa-panel{padding:26px!important}
  .madrasa-panel .btn{width:100%}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}
