/* Mahabba editorial homepage 0.7.1 — isolated from donations, project and admin layouts. */
.mh-home{--mh-forest:#263b2f;--mh-dark:#1a3026;--mh-olive:#646c3d;--mh-gold:#c7a15f;--mh-muted:#676d5e;--mh-warm:#f6f3eb;--mh-line:#e9e7dd;background:#fff;color:var(--mh-forest);overflow:hidden}
.mh-home-container{width:min(1280px,calc(100% - 72px));margin-inline:auto}
.mh-home :is(h1,h2,h3,p,figure){margin-block:0}
.mh-home img{display:block;width:100%}
.mh-home a:focus-visible,.mh-home button:focus-visible{outline:3px solid #d4ac69;outline-offset:4px}
.mh-home .mh-eyebrow{display:inline-flex;gap:12px;align-items:center;font-size:.78rem;font-weight:850;letter-spacing:.015em;color:#7f835c}
.mh-home .mh-eyebrow i{height:1px;width:30px;background:var(--mh-gold)}
.mh-section{padding-block:clamp(75px,9vw,132px)}
.mh-section-heading{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(250px,.65fr);gap:40px;align-items:end;margin-bottom:39px}
.mh-section-heading h2,.mh-process-lead h2,.mh-principles-copy h2{font-size:clamp(2.25rem,4vw,4.4rem);line-height:1.35;letter-spacing:-.045em;font-weight:850;margin-top:17px}
html[dir=rtl] .mh-section-heading h2,html[dir=rtl] .mh-process-lead h2,html[dir=rtl] .mh-principles-copy h2{letter-spacing:0;line-height:1.55}
.mh-section-heading p{color:var(--mh-muted);font-size:1.025rem;line-height:2;max-width:40ch}
/* New editorial opening */
.mh-home-hero{background:#f7f5ee;padding:clamp(22px,2.4vw,34px) 0 0;position:relative}
.mh-home-hero:before{content:"";position:absolute;top:0;inset-inline-end:0;width:45%;height:100%;background:radial-gradient(circle,#ddd9c7 1px,transparent 1.3px) 0 0/25px 25px;opacity:.18;pointer-events:none}
.mh-hero-frame{display:grid;grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);min-height:clamp(580px,54vw,720px);background:#f7f5ee;position:relative}
.mh-hero-editorial{padding:clamp(44px,5.7vw,88px) clamp(16px,3.5vw,62px) clamp(32px,4vw,62px) 0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;z-index:2}
html[dir=ltr] .mh-hero-editorial{padding-right:0;padding-left:clamp(16px,3.5vw,62px)}
.mh-hero-label{display:flex;align-items:center;gap:13px;color:#6a7256;font-size:.77rem;font-weight:800;margin-bottom:29px}
.mh-label-line{height:1px;width:38px;background:#b79b58}
.mh-hero-editorial h1{font-size:clamp(3.1rem,5.8vw,6rem);font-weight:850;line-height:1.19;letter-spacing:-.048em;max-width:11ch;margin:0 0 27px}
.mh-hero-editorial h1 span,.mh-hero-editorial h1 em{display:block;font-style:normal}
.mh-hero-editorial h1 em{color:#a8894f}
html[dir=rtl] .mh-hero-editorial h1{font-size:clamp(2.65rem,5.05vw,5rem);line-height:1.52;letter-spacing:0;max-width:13ch}
.mh-hero-lead{font-size:clamp(.99rem,1.15vw,1.08rem);color:#596553;line-height:2.13;max-width:43ch}
.mh-hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:35px}
.mh-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;border-radius:7px;min-height:57px;padding:13px 25px;font-size:.97rem;font-weight:850;transition:transform .2s ease,background .2s ease;color:#263b2f;text-decoration:none}
.mh-button-gold{background:#cfaa67;color:#25392b;box-shadow:0 8px 26px rgba(187,150,78,.13)}.mh-button-gold:hover{background:#dfbb78;color:#25392b;transform:translateY(-2px)}
.mh-button span,.mh-text-button span{font-size:1.2rem;font-family:system-ui,sans-serif}
.mh-text-button{font-weight:850;color:#314b37;display:inline-flex;gap:13px;align-items:center;border-bottom:1px solid #c3cbb8;padding:7px 0}.mh-text-button:hover{color:#9c7845}
.mh-hero-signature{display:flex;align-items:center;gap:11px;margin-top:38px;letter-spacing:.24em;font-family:system-ui,sans-serif;color:#a1a78f}.mh-hero-signature span{font-size:.85rem;font-weight:750}.mh-hero-signature i{height:3px;width:3px;background:#c3ab80;border-radius:100%}.mh-hero-signature small{font-size:.53rem;letter-spacing:.17em}
.mh-hero-photo-panel{position:relative;min-height:580px;overflow:hidden;background:#26392f;border-radius:5px 5px 0 0}
.mh-cover-viewport{position:absolute;inset:0}.mh-cover-slide{position:absolute;inset:0;overflow:hidden;opacity:0;pointer-events:none;transition:opacity 900ms ease}.mh-cover-slide[hidden]{display:none!important}.mh-cover-slide.is-current{opacity:1;pointer-events:auto;z-index:1}
.mh-cover-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,26,19,.77) 0%,rgba(8,26,19,.1) 47%,rgba(8,26,19,.0) 85%);pointer-events:none}
.mh-cover-slide img,.mh-cover-slide .mh-cover-photo,.mh-cover-slide .mahabba-hero-image,.mh-cover-slide .mahabba-project-image{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center;max-width:none;min-height:0;position:absolute;inset:0;transition:transform 7500ms ease;transform:scale(1.045)}
.mh-cover-slide.is-current img{transform:scale(1)}
.mh-cover-caption{position:absolute;bottom:38px;inset-inline-start:35px;inset-inline-end:145px;color:#fff;z-index:2;display:grid;gap:6px}
.mh-cover-caption-label{font-size:.78rem;font-weight:800;color:#ecd6a6}
.mh-cover-caption-link,.mh-cover-caption strong{color:#fff;font-size:clamp(1.05rem,1.65vw,1.45rem);line-height:1.5;font-weight:800;display:inline-flex;gap:12px;align-items:center}
.mh-cover-caption-link:hover{color:#f8dfa7}.mh-cover-caption-link span{font-family:system-ui,sans-serif;font-size:1.15rem}
.mh-cover-stamp{position:absolute;z-index:3;top:25px;inset-inline-end:25px;width:100px;height:100px;border:1px solid rgba(255,255,255,.7);border-radius:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;transform:rotate(-14deg);background:rgba(19,38,26,.19);backdrop-filter:blur(6px)}
.mh-cover-stamp span{font-size:1.04rem;font-weight:900}.mh-cover-stamp small{font-family:system-ui,sans-serif;font-size:.52rem;letter-spacing:.15em}
.mh-cover-navigation{position:absolute;bottom:32px;inset-inline-end:22px;z-index:4;display:flex;align-items:center;gap:8px;color:#fff}
.mh-cover-navigation button{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.58);background:rgba(0,0,0,.2);color:#fff;border-radius:50%;cursor:pointer;font-size:24px;line-height:1}
.mh-cover-navigation button:hover{background:rgba(255,255,255,.27)}.mh-cover-count{font-family:system-ui,sans-serif;font-size:.8rem;direction:ltr;display:flex;gap:4px;margin-inline-end:8px}.mh-cover-count b{color:#fff}.mh-cover-count span{color:#e0dfd1}
.mh-trust-ribbon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e4e1d5;margin-inline:0;position:relative;padding-block:19px 26px}
.mh-trust-ribbon>div{display:flex;align-items:center;justify-content:center;gap:13px;color:#5e6956;font-weight:800;font-size:.86rem}
.mh-trust-ribbon>div+div{border-inline-start:1px solid #dddacc}.mh-trust-symbol{font-family:Georgia,serif;color:#af915e;font-size:1.35rem;line-height:1}
/* Program visual grid */
.mh-home-programs{background:#fff}
.mh-program-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:235px;gap:16px}
.mh-program-card{position:relative;overflow:hidden;border-radius:9px;background:#314237;isolation:isolate;min-width:0}
.mh-program-card.is-featured{grid-column:span 2;grid-row:span 2}
.mh-program-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 750ms ease;filter:saturate(.88)}
.mh-program-card:hover .mh-program-image{transform:scale(1.055)}
.mh-program-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,31,23,.92),rgba(15,31,23,.35) 44%,transparent 80%)}
.mh-program-info{position:absolute;z-index:1;inset-inline:25px;bottom:22px;color:#fff;display:flex;gap:14px;align-items:flex-start}
.mh-program-index{font-family:system-ui,sans-serif;font-size:.72rem;border-top:1px solid #e3c081;padding-top:4px;color:#e3c081;min-width:28px}
.mh-program-info h3{font-size:clamp(1.18rem,1.62vw,1.65rem);line-height:1.35}.mh-program-info p{color:#f0f0e7;line-height:1.65;font-size:.83rem;margin-top:5px}
.mh-program-card.is-featured .mh-program-info{inset-inline:36px;bottom:35px}.mh-program-card.is-featured h3{font-size:clamp(1.7rem,2.6vw,2.7rem)}
.mh-program-footnote{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:23px;color:#838676;font-size:.83rem;align-items:center}
.mh-program-footnote a{font-weight:900;color:#466043;display:inline-flex;gap:9px;align-items:center}
/* Featured story */
.mh-home-feature{background:#f8f6f0;padding-block:85px}
.mh-feature-layout{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(40px,7vw,105px)}
.mh-feature-visual{height:clamp(400px,44vw,555px);position:relative;border-radius:8px;overflow:visible}
.mh-feature-primary-image{height:100%;width:100%;object-fit:cover;border-radius:8px}
.mh-feature-visual:after{content:"";position:absolute;inset-inline-start:-23px;top:26px;width:100%;height:100%;border:1px solid #d4c6ad;border-radius:8px;z-index:0;pointer-events:none}
.mh-feature-photo-label{position:absolute;inset-inline-end:-26px;bottom:32px;background:#fff;box-shadow:0 8px 34px rgba(35,44,24,.08);border-radius:6px;z-index:1;padding:17px 21px;display:flex;align-items:center;gap:11px;color:#677052;font-weight:800;font-size:.84rem}.mh-photo-star{font-size:1.6rem;color:#c3a46a}
.mh-feature-copy h2{font-size:clamp(2.5rem,4.3vw,4.8rem);line-height:1.31;font-weight:850;max-width:13ch;margin:25px 0 25px;letter-spacing:-.045em}
html[dir=rtl] .mh-feature-copy h2{letter-spacing:0;line-height:1.55}
.mh-feature-copy p{max-width:48ch;font-size:1.07rem;color:#626c5d;line-height:2.13}
.mh-round-link{display:inline-flex;gap:16px;align-items:center;margin-top:36px;font-weight:850;color:#304935}.mh-round-link b{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#314b3d;color:white;font-family:system-ui,sans-serif;font-size:1.15rem}.mh-round-link:hover b{background:#b9985b}
.mh-feature-decor{margin-top:42px;font:700 .65rem system-ui,sans-serif;letter-spacing:.2em;color:#c5c5b4}.mh-feature-decor span{color:#b4975f;margin:0 8px}
/* Field stories */
.mh-home-stories{background:#fff}
.mh-stories-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.mh-story-card{min-width:0;margin:0}.mh-story-visual{position:relative;display:block;height:260px;overflow:hidden;background:#f0eee8;border-radius:8px}
.mh-story-image{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.mh-story-card:hover .mh-story-image{transform:scale(1.05)}
.mh-story-expand{position:absolute;inset-inline-end:14px;top:14px;width:37px;height:37px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#20372ba8;backdrop-filter:blur(4px);font-size:1.1rem}
.mh-story-details{padding:20px 4px 0}.mh-story-details span{font-size:.77rem;color:#8d917c}.mh-story-details h3{font-size:1.22rem;line-height:1.5;margin-top:5px}.mh-story-details a{color:#2f4435}.mh-story-details a:hover{color:#a77f46}
.mh-story-archive-mark{position:absolute;top:14px;inset-inline-start:13px;background:#f9f7f0e5;border-radius:3px;font-size:.7rem;font-weight:850;padding:5px 10px;color:#344c37}
/* Process */
.mh-home-process{background:#283d32;color:white;position:relative;overflow:hidden}
.mh-home-process:before{content:"";position:absolute;inset-inline-end:-130px;top:-200px;width:590px;height:590px;border:1px solid rgba(229,209,164,.13);border-radius:50%;box-shadow:0 0 0 70px rgba(255,255,255,.015),0 0 0 140px rgba(255,255,255,.013)}
.mh-process-lead{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end}.mh-process-lead h2{max-width:15ch}.mh-process-lead p{max-width:45ch;color:#c8d1c5;line-height:2}
.mh-home-process .mh-eyebrow{color:#d1bc8c}.mh-process-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;margin-top:56px;border-top:1px solid rgba(255,255,255,.23)}
.mh-process-step{padding-top:28px;position:relative}.mh-process-step:before{content:"";position:absolute;top:-5px;inset-inline-start:0;width:10px;height:10px;border-radius:50%;background:#cfac71}
.mh-process-number{font-family:system-ui,sans-serif;color:#d2b67d;font-size:1.05rem;font-weight:750}.mh-process-step h3{font-size:1.5rem;margin:14px 0 9px}.mh-process-step p{color:#c2cec0;line-height:1.88;max-width:35ch;font-size:.94rem}
/* Principles */
.mh-principles-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,8vw,125px);align-items:start}
.mh-principles-copy h2{max-width:11ch}.mh-principles-copy p{margin-top:23px;max-width:43ch;color:#6e7867;line-height:2}
.mh-principle-list{border-top:1px solid #e3e7dd}.mh-principle-item{display:grid;grid-template-columns:54px 1fr;gap:20px;padding:24px 0;border-bottom:1px solid #e3e7dd}
.mh-principle-id{font:700 .8rem system-ui,sans-serif;color:#b4a175;margin-top:7px}.mh-principle-item h3{font-size:1.35rem;margin-bottom:5px}.mh-principle-item p{font-size:.96rem;color:#6a7467;line-height:1.8}
/* Giving */
.mh-home-final{padding-bottom:clamp(65px,9vw,120px);background:#fff}.mh-final-card{position:relative;background:#eae7dc;border-radius:9px;overflow:hidden;min-height:340px;display:flex;align-items:center;padding:clamp(36px,6vw,80px)}
.mh-final-pattern{position:absolute;inset-inline-end:-55px;top:50%;transform:translateY(-50%);width:440px;height:440px;border:1px solid #b8b69a;border-radius:50%;box-shadow:0 0 0 46px #eae7dc,0 0 0 47px #c1c1a9,0 0 0 94px #eae7dc,0 0 0 95px #d0cdba;opacity:.7}
.mh-final-content{position:relative;z-index:1;max-width:720px}.mh-final-content h2{font-size:clamp(2.2rem,4.2vw,4.5rem);line-height:1.39;margin:19px 0 9px}.mh-final-content p{color:#5e6d5a;font-size:1.05rem;line-height:2;max-width:56ch}
.mh-final-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:25px}.mh-final-link{border-bottom:1px solid #939d84;padding:6px 0;font-weight:850;color:#3a5540}
/* desktop-header polish only on homepage */
body.home .site-header{border-bottom:1px solid #e9e8de;box-shadow:none;background:rgba(255,255,255,.97)}
body.home .primary-nav a:hover{color:#ad8d53}
body.home .donate-header{background:#2e4838;border-radius:6px;padding:11px 23px;min-height:45px}
body.home .donate-header:hover{background:#b08d53}
body.home .mahabba-languages summary{border-radius:6px;border-color:#e5e6db}
body.home .site-footer{margin-top:0}
@media(max-width:1100px){.mh-hero-editorial h1{font-size:clamp(2.7rem,5.2vw,4.8rem)}.mh-home-container{width:min(1280px,calc(100% - 48px))}.mh-program-grid{grid-auto-rows:210px}.mh-program-info{inset-inline:16px;bottom:14px}.mh-program-info p{font-size:.75rem}}
@media(max-width:840px){.mh-hero-frame{grid-template-columns:1fr;min-height:0}.mh-hero-editorial{padding:50px 16px 43px;max-width:750px}.mh-hero-editorial h1{max-width:15ch}.mh-hero-photo-panel{height:480px;min-height:480px}.mh-hero-stamp{display:none}.mh-section-heading,.mh-process-lead,.mh-principles-layout{grid-template-columns:1fr;gap:18px}.mh-section-heading p{max-width:65ch}.mh-program-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:220px}.mh-program-card.is-featured{grid-row:span 2;grid-column:span 1}.mh-feature-layout{grid-template-columns:1fr;gap:55px}.mh-feature-visual{height:480px}.mh-feature-copy{padding:10px}.mh-stories-grid{gap:13px}.mh-story-visual{height:210px}.mh-home-process:before{display:none}}
@media(max-width:590px){.mh-home-container{width:calc(100% - 32px)}.mh-section{padding-block:65px}.mh-home-hero{padding-top:0}.mh-hero-editorial{padding:38px 5px 36px}.mh-hero-label{font-size:.68rem;margin-bottom:19px}.mh-hero-editorial h1{font-size:clamp(2.55rem,10.4vw,3.65rem);margin-bottom:15px}.mh-hero-lead{font-size:.95rem;line-height:2}.mh-hero-actions{gap:15px;margin-top:24px}.mh-button{min-height:49px;padding:11px 16px;gap:12px;font-size:.88rem}.mh-text-button{font-size:.86rem}.mh-hero-signature{margin-top:25px}.mh-hero-photo-panel{height:420px;min-height:420px}.mh-cover-stamp{width:69px;height:69px;top:13px;inset-inline-end:13px}.mh-cover-stamp span{font-size:.78rem}.mh-cover-stamp small{font-size:.43rem}.mh-cover-caption{bottom:27px;inset-inline-start:19px;inset-inline-end:122px}.mh-cover-caption-link,.mh-cover-caption strong{font-size:.94rem}.mh-cover-caption-label{font-size:.68rem}.mh-cover-navigation{bottom:18px;inset-inline-end:11px;gap:5px}.mh-cover-navigation button{height:30px;width:30px;font-size:18px}.mh-cover-count{font-size:.67rem;margin-inline-end:3px}.mh-trust-ribbon{grid-template-columns:1fr;gap:0;padding:10px 0}.mh-trust-ribbon>div{padding:8px;justify-content:flex-start;font-size:.78rem}.mh-trust-ribbon>div+div{border:0}.mh-section-heading{margin-bottom:24px}.mh-section-heading h2,.mh-process-lead h2,.mh-principles-copy h2{font-size:clamp(2rem,8vw,2.8rem);line-height:1.45}.mh-section-heading p{font-size:.93rem}.mh-program-grid{gap:9px;grid-auto-rows:188px}.mh-program-card.is-featured{grid-column:span 2;grid-row:span 1;min-height:250px}.mh-program-info{inset-inline:13px;bottom:12px;gap:7px}.mh-program-card.is-featured .mh-program-info{inset-inline:17px;bottom:19px}.mh-program-info h3{font-size:1.03rem}.mh-program-info p{font-size:.69rem}.mh-program-card.is-featured h3{font-size:1.5rem}.mh-program-index{font-size:.6rem;min-width:20px}.mh-feature-visual{height:340px}.mh-feature-visual:after{inset-inline-start:-8px;top:11px}.mh-feature-photo-label{inset-inline-end:0;bottom:16px;font-size:.73rem;padding:10px 11px}.mh-feature-copy{padding:0}.mh-feature-copy h2{font-size:clamp(2.1rem,8vw,3rem)}.mh-feature-copy p{font-size:.94rem}.mh-stories-grid{grid-template-columns:1fr;gap:30px}.mh-story-visual{height:240px}.mh-process-steps{grid-template-columns:1fr;gap:14px;margin-top:33px}.mh-process-step{padding-top:23px}.mh-process-step h3{margin:7px 0}.mh-principle-item{gap:10px;grid-template-columns:35px 1fr}.mh-final-card{min-height:0;padding:36px 23px}.mh-final-content h2{font-size:clamp(2rem,7.8vw,3rem)}.mh-final-pattern{opacity:.22}.mh-final-actions{align-items:flex-start;flex-direction:column;gap:14px}.mh-final-content p{font-size:.94rem}}
@media(prefers-reduced-motion:reduce){.mh-home *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Horizontal identity in the homepage header; the original uploaded logo remains unmodified. */
body.home .brand-wrap{display:flex;align-items:center;gap:12px;min-width:0}
body.home .brand-wrap :is(.mahabba-brand,.custom-logo-link){display:flex;align-items:center;flex:none}
body.home .brand-wrap :is(.mahabba-brand img,.custom-logo){width:auto;height:65px;max-height:65px;max-width:70px;object-fit:contain}
body.home .mh-header-wordmark{display:flex;flex-direction:column;justify-content:center;line-height:1.35;gap:3px;white-space:nowrap}
body.home .mh-header-wordmark strong{color:#304634;font-size:1.1rem;font-weight:900}
body.home .mh-header-wordmark small{font:700 .54rem system-ui,sans-serif;color:#a68b55;letter-spacing:.11em}
@media(max-width:650px){body.home .brand-wrap{gap:5px}body.home .brand-wrap :is(.mahabba-brand img,.custom-logo){height:50px;max-height:50px;max-width:50px}body.home .mh-header-wordmark strong{font-size:.86rem}body.home .mh-header-wordmark small{font-size:.42rem;letter-spacing:.06em}body.home .header-inner{min-height:70px;gap:9px}}

.mh-cover-play-toggle{position:absolute;z-index:4;top:23px;inset-inline-start:23px;display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff99;border-radius:50%;color:#fff;background:#16352877;font-size:1rem;cursor:pointer;backdrop-filter:blur(8px)}
.mh-cover-play-toggle:hover{background:#163528bb}
@media(max-width:590px){.mh-cover-play-toggle{top:13px;inset-inline-start:13px;width:34px;height:34px}}


/* v0.7.1 — Mobile integrity and legibility. Keep the large featured image,
   but give it a real first grid track: a min-height on the item alone caused
   it to paint over the next 188px implicit row on narrow phones. */
@media (max-width: 590px) {
  .mh-home-programs .mh-program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(254px, auto);
    grid-auto-rows: minmax(205px, auto);
    grid-auto-flow: row;
    gap: 12px;
    align-items: stretch;
  }
  .mh-home-programs .mh-program-card {
    min-width: 0;
    min-height: 0;
    height: 100%;
    align-self: stretch;
    display: block;
    overflow: hidden;
  }
  .mh-home-programs .mh-program-card.is-featured {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 0;
    height: 100%;
  }
  .mh-home-programs .mh-program-info {
    inset-inline: 14px;
    bottom: 15px;
    gap: 7px;
    min-width: 0;
    align-items: flex-end;
  }
  .mh-home-programs .mh-program-info > div { min-width: 0; }
  .mh-home-programs .mh-program-card.is-featured .mh-program-info {
    inset-inline: 20px;
    bottom: 22px;
  }
  .mh-home-programs .mh-program-info h3 {
    font-size: clamp(.95rem, 3.7vw, 1.2rem);
    line-height: 1.5;
    overflow-wrap: normal;
    hyphens: auto;
  }
  .mh-home-programs .mh-program-info p {
    font-size: clamp(.66rem, 2.7vw, .79rem);
    line-height: 1.55;
    color: #f5f5ef;
    margin-top: 5px;
    overflow-wrap: normal;
    hyphens: auto;
  }
  .mh-home-programs .mh-program-card.is-featured h3 {
    font-size: clamp(1.45rem, 5.2vw, 2rem);
  }
  .mh-home-programs .mh-program-shade {
    background: linear-gradient(0deg, rgba(12,29,20,.95), rgba(12,29,20,.34) 58%, transparent 93%);
  }
  /* The text remains inside each image card at all text lengths. */
  .mh-home-programs .mh-program-card :is(h3,p) { max-width: 100%; }
  .mh-home-programs .mh-program-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Cleaner top-of-page rhythm on phones. */
  .mh-home-hero .mh-hero-editorial { padding-top: 24px; padding-bottom: 28px; }
  .mh-home-hero .mh-hero-editorial h1 { font-size: clamp(2.2rem, 9.5vw, 3.3rem); line-height: 1.46; }
  .mh-home-hero .mh-hero-lead { line-height: 1.85; }
  .mh-home-hero .mh-hero-actions { margin-top: 18px; }
  .mh-home-programs.mh-section { padding-top: 53px; }
  /* Compact header: logo and wordmark on one side, controls on the other. */
  body.home .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px auto;
    gap: 9px;
    align-items: center;
    min-height: 72px;
  }
  body.home .brand-wrap { margin: 0; min-width: 0; gap: 6px; }
  body.home .brand-wrap :is(.mahabba-brand, .custom-logo-link) { min-width: 0; }
  body.home .brand-wrap :is(.mahabba-brand img, .custom-logo) {
    width: auto;
    height: 48px;
    max-height: 48px;
    max-width: 49px;
  }
  body.home .mh-header-wordmark { min-width: 0; white-space: normal; gap: 0; }
  body.home .mh-header-wordmark strong { font-size: clamp(.80rem, 3.1vw, .93rem); line-height: 1.45; }
  body.home .mh-header-wordmark small { font-size: .40rem; letter-spacing: .045em; }
  body.home .menu-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 9px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
  }
  body.home .menu-toggle:hover, body.home .menu-toggle[aria-expanded="true"] { background: #f1f2ea; }
  body.home .mahabba-languages { justify-self: end; }
  body.home .mahabba-languages summary { min-height: 44px; min-width: 48px; display: grid; place-items: center; padding: 7px 9px; }
  body.home .primary-nav.is-open {
    inset-inline: 14px;
    padding: 17px;
    max-height: min(75dvh, 560px);
    overflow-y: auto;
  }
  body.home .menu-toggle:focus-visible,
  body.home .mahabba-languages summary:focus-visible { outline: 3px solid #c7a15f; outline-offset: 2px; }
}
@media (max-width: 365px) {
  .mh-home-programs .mh-program-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(246px,auto);
    grid-auto-rows: minmax(180px,auto);
    gap: 11px;
  }
  .mh-home-programs .mh-program-card.is-featured { grid-column: 1; }
  .mh-home-programs .mh-program-info h3 { font-size: 1.12rem; }
  .mh-home-programs .mh-program-info p { font-size: .78rem; }
  body.home .header-inner { grid-template-columns: minmax(0,1fr) 40px 45px; gap: 4px; }
  body.home .menu-toggle { width: 40px; }
  body.home .mh-header-wordmark strong { font-size: .73rem; }
  body.home .brand-wrap :is(.mahabba-brand img,.custom-logo) { height: 42px; max-height: 42px; max-width: 43px; }
}
/* A compact donate action after the hero scrolls out of view. It uses the
   existing internal donation page, never a new checkout or Stripe route. */
.mh-mobile-donate { display: none; }
@media (max-width: 590px) {
  .mh-mobile-donate {
    position: fixed;
    inset-inline-start: 15px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 39;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: min(220px, calc(100vw - 44px));
    min-height: 46px;
    padding: 9px 17px;
    border-radius: 999px;
    border: 1px solid #cfb076;
    background: #2d4738;
    color: #fff;
    box-shadow: 0 9px 25px rgba(18,43,29,.18);
    font-weight: 800;
    font-size: .86rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .mh-mobile-donate.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .mh-mobile-donate:hover { background: #44634f; color: #fff; }
  .mh-mobile-donate:focus-visible { outline: 3px solid #d4ac69; outline-offset: 3px; }
  .mh-mobile-donate .mh-donate-heart { font-size: 1rem; color: #e4c687; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-mobile-donate { transition: none; transform: none; }
}

/* Mahabba v0.7.2 — story-led content links; retain all v0.7.1 mobile grid fixes. */
.mh-program-inner{display:block;position:relative;height:100%;width:100%;color:inherit;text-decoration:none;overflow:hidden}
.mh-program-card.has-link a:focus-visible{outline:3px solid #d3b77a;outline-offset:-4px;border-radius:8px}
.mh-program-card.has-link .mh-program-info{pointer-events:none}
.mh-story-excerpt{font-size:.88rem;line-height:1.85;color:#69746c;margin:7px 0 0;max-width:46ch}
.mh-stories-all{display:flex;justify-content:center;margin:34px 0 0}
.mh-stories-all a{border-bottom:1px solid #8e805d;padding:7px 0;color:#395344;font-weight:700;text-decoration:none}
.mh-stories-all a:hover,.mh-stories-all a:focus-visible{color:#785d2f;border-bottom-color:#785d2f}
@media (max-width:590px){.mh-story-excerpt{font-size:.84rem;margin-top:6px}.mh-stories-all{margin-top:24px}}

/* 0.7.3 — real published campaigns: active and historical archives, linked without payment assumptions. */
.mh-home-published{background:#f9f7f1}
.mh-home-published-empty{height:0;padding:0;margin:0;overflow:hidden}
.mh-published-heading{margin-bottom:29px}
.mh-published-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.mh-published-card{min-width:0;overflow:hidden;border-radius:11px;background:#fff;box-shadow:0 9px 30px rgba(27,47,32,.055);display:flex;flex-direction:column}
.mh-published-visual{display:block;position:relative;overflow:hidden;aspect-ratio:4/3;background:#e6e8df}
.mh-published-img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.mh-published-visual:hover .mh-published-img{transform:scale(1.045)}
.mh-published-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#69806b;font-size:3.1rem;background:radial-gradient(circle at 70% 20%,#f2eddf,#dfe8df)}
.mh-published-placeholder small{font-size:.7rem;letter-spacing:.15em;font-weight:800}
.mh-published-card-content{padding:19px 19px 22px;display:flex;flex-direction:column;gap:10px;flex:1}
.mh-published-status{align-self:flex-start;font-size:.72rem;font-weight:900;letter-spacing:.01em;color:#42644b;background:#eaf2eb;border-radius:99px;padding:4px 10px}
.mh-published-status.is-completed{background:#eeeae0;color:#6c6553}
.mh-published-card-content h3{font-size:1.18rem;line-height:1.55;margin:0;color:#2b4534}
.mh-published-card-content h3 a{color:inherit;text-decoration:none}
.mh-published-card-content h3 a:hover{color:#986f34}
.mh-published-card-content p{font-size:.85rem;line-height:1.85;color:#6a7469;margin:0;flex:1}
.mh-published-details{display:inline-flex;align-items:center;gap:9px;font-size:.82rem;font-weight:900;color:#405b44;text-decoration:none;margin-top:auto;padding-top:4px}
.mh-published-details:hover{color:#a47c48}
.mh-published-all{text-align:center;margin-top:24px}
.mh-published-all a{display:inline-flex;align-items:center;gap:11px;border-bottom:1px solid #90a48f;padding:8px 3px;color:#344e3e;font-weight:900;text-decoration:none}
.mh-program-card.has-link .mh-program-inner{display:block;position:absolute;inset:0;color:inherit;text-decoration:none}
.mh-program-card.has-link .mh-program-inner:focus-visible{outline:3px solid #e0bd73;outline-offset:-4px}
@media(max-width:1080px){.mh-published-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}}
@media(max-width:590px){.mh-published-grid{grid-template-columns:1fr;gap:15px}.mh-published-card{display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);align-items:stretch}.mh-published-visual{height:100%;min-height:160px;aspect-ratio:auto}.mh-published-card-content{padding:13px 12px;gap:5px}.mh-published-card-content h3{font-size:.98rem}.mh-published-card-content p{font-size:.76rem;line-height:1.6}.mh-published-status{font-size:.66rem}.mh-published-details{font-size:.77rem}.mh-published-all{margin-top:17px}}
@media(max-width:345px){.mh-published-card{grid-template-columns:1fr}.mh-published-visual{height:185px}.mh-published-card-content{padding:15px}}

/* Balanced layout even when only one historical campaign has been published. */
.mh-published-grid.is-single{grid-template-columns:minmax(0,1fr);max-width:980px;margin-inline:auto}
.mh-published-grid.is-single .mh-published-card{display:grid;grid-template-columns:minmax(0,52%) minmax(0,48%);min-height:305px}
.mh-published-grid.is-single .mh-published-visual{height:100%;aspect-ratio:auto}
.mh-published-grid.is-single .mh-published-card-content{justify-content:center;padding:32px}
.mh-published-grid.is-single .mh-published-card-content h3{font-size:clamp(1.25rem,2vw,1.8rem)}
.mh-published-grid.is-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.mh-published-grid.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1080px){.mh-published-grid.is-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:590px){
 .mh-published-grid.is-single,.mh-published-grid.is-two,.mh-published-grid.is-three{grid-template-columns:1fr}
 .mh-published-grid.is-single .mh-published-card{grid-template-columns:minmax(0,38%) minmax(0,62%);min-height:0}
 .mh-published-grid.is-single .mh-published-card-content{justify-content:flex-start;padding:13px 12px}
 .mh-published-grid.is-single .mh-published-card-content h3{font-size:.98rem}
}
@media(max-width:345px){.mh-published-grid.is-single .mh-published-card{grid-template-columns:1fr}.mh-published-grid.is-single .mh-published-visual{height:185px}}
