/* Emerald & gold identity. Existing geometry and typography are retained. */
:root{--ink:#173b30;--forest:#146344;--forest-2:#093d2d;--moss:#397b57;--charcoal:#173b30;--gold:#c39a3d;--gold-deep:#765618;--gold-soft:#f6e8bc;--paper:#fffdf8;--cream:#f6f0e2;--muted:#53675c;--line:#d8e3d9}
body{background:#fffdf8;color:#173b30}
.site-header{background:#fffdf8;border-color:#dfc788;box-shadow:0 6px 20px rgba(24,61,43,.06)}
.community-wordmark,.site-header nav a{color:#173b30}.community-wordmark small,.site-header nav a.active{color:#146344}
.header-logo,.footer-logo{object-fit:contain;filter:none!important;opacity:1!important;background:#fffdf8}
.header-donate,.primary-cta,.campaign-give-button{background:#176346;color:#fff;border-color:#176346}
.header-donate:hover,.primary-cta:hover,.campaign-give-button:hover{background:#0c4932;color:#fff}
/* A bright editorial campaign cover, with an architectural image wash. */
body[data-page="home"] .hero-reference{background:linear-gradient(90deg,#f8f2e4 0%,rgba(248,242,228,.98) 49%,rgba(232,239,220,.78) 74%,rgba(19,79,51,.26) 100%),url('mosque-hero.webp') center / cover no-repeat;box-shadow:inset 0 3px 0 #b89036}
body[data-page="home"] .hero-reference h1.hero-message-title{color:#173b30;text-shadow:none}
body[data-page="home"] .hero-reference .eyebrow,body[data-page="home"] .hero-reference .hero-vision-line{color:#765618}
body[data-page="home"] .hero-reference .hero-future-copy,body[data-page="home"] .hero-reference .hero-legacy-note{color:#405d4c}
body[data-page="home"] .hero-reference .hero-secondary-cta{background:#fffdf8;color:#175a40;border-color:#83a28c}
body[data-page="home"] .campaign-giving{background:#103f2e;color:#fff}
body[data-page="home"] .campaign-giving > div > span,body[data-page="home"] .campaign-giving p{color:#dae7db}
body[data-page="home"] .campaign-giving > div > strong{color:#f2d580}
body[data-page="home"] .campaign-giving nav a{background:#fffdf8;color:#174a34;border-color:#d7bf7a}
body[data-page="home"] .campaign-giving nav a:hover{background:#f2d580;color:#163c2d}
body[data-page="home"] .campaign-give-button{background:#f2d580;color:#173b30;border-color:#f2d580}
body[data-page="home"] .home-updates.section-pad{background:#edf2f6}
body[data-page="home"] .home-update-card:nth-child(1){background:#e7eff8;border-color:#a9bfd7}
body[data-page="home"] .home-update-card:nth-child(2){background:#e7f1e8;border-color:#acc8b2}
body[data-page="home"] .home-update-card:nth-child(3){background:#faf0d7;border-color:#dec88f}
.home-update-card h2,.home-update-card h3{color:#173b30}.home-update-card p{color:#4a5e56}.home-update-card a{color:#145c40}
body[data-page="home"] .future-bridge{background:#f1edf5}
body[data-page="home"] .future-bridge-steps article{border-color:#95819f}
body[data-page="home"] .appeal-section{background:#faf0e3;border-color:#e3c89f}
body[data-page="home"] .appeal-section + .appeal-section{background:#e9f2ed;border-color:#b9d3c4}
.quote-strip{background:#fff8e4;border-color:#c39a3d}
body[data-page="home"] .kindness-statement{background:linear-gradient(120deg,#493c58,#302a40)}
.kindness-statement h2,.kindness-statement h2 span,.kindness-statement p{color:#fff9eb}
body[data-page="home"] .vision-section{background:#eaf2f6}
.vision-controls{background:#24485a}.future-pillars,.future-pillars > div{background:#fffdf8;border-color:#c4d6df}
.plan-section{background:linear-gradient(120deg,#104932,#1d6046)}
.plan-card{background:rgba(255,255,255,.06);border-color:#ad985e}
.final-cta{background:#f5e5b9}.final-cta h2,.final-cta p{color:#173b30}
.vision-button,.bridge-donate,.contact-submit,.service-enquiry-button,.final-cta .final-button{background:#176346;color:#fff;border-color:#176346}
body[data-page="donate"] .compact-donation-page{background:#f7f2e6}
body[data-page="donate"] .compact-paypal-panel{background:linear-gradient(145deg,#176346,#0c3c2b)}
body[data-page="donate"] .donation-video-panel{background:#284f65}
body[data-page="donate"] .compact-paypal-panel .paypal-donate-button,body[data-page="donate"] .compact-paypal-panel .donate-amount.selected{background:#f2d580;color:#173b30;border-color:#f2d580}
.donation-slider-panel{background:#493c58}.donation-progress-panel{background:#144d37}
.subpage-hero{background:linear-gradient(90deg,rgba(13,65,43,.96),rgba(13,65,43,.67)),url('mosque-hero.webp') center / cover no-repeat}
.contact-page-shell,.prayer-board{background:#eaf2f6}.services-intro,.ceremony-details{background:#f7f0e3}
.contact-form,.next-prayer,.prayer-card.next,.contact-donate-panel{background:#144d37}
.marriage-process{background:#493c58}.service-final-cta,.islam-section.dark-section{background:#144d37}
.site-footer{background:#e9eeea;color:#173b30;border-color:#cfb26c}
.site-footer .footer-identity,.site-footer .footer-contact a,.site-footer .footer-links a{background:#fffdf8;border-color:#c9d7ce}
.site-footer a,.footer-identity > p,.footer-notice,.site-footer .copyright{color:#405b4c}
.supporter-popup.popup-emerald{--popup-bg:#145137}.supporter-popup.popup-navy{--popup-bg:#284f65}.supporter-popup.popup-plum{--popup-bg:#493c58}.supporter-popup.popup-copper{--popup-bg:#705035}
@media(max-width:800px){body[data-page="home"] .hero-reference{background:linear-gradient(90deg,rgba(248,242,228,.98),rgba(248,242,228,.90)),url('mosque-hero.webp') center / cover no-repeat}}

/* Footer identity panel sized to the supplied reference. */
.site-footer .footer-identity { box-sizing:border-box; width:365px; max-width:100%; min-height:134px; padding:18px 24px; border-radius:24px; justify-content:center; }
.site-footer .footer-identity .footer-logo { width:140px; height:94px; max-width:100%; max-height:94px; object-fit:contain; }
@media(max-width:520px) { .site-footer .footer-identity { width:min(365px,100%); } }
