/* Public-centre design: hierarchy, proximity, readable type and calm controls. */
:root{--af-paper:#f7f5ee;--af-surface:#fffef9;--af-ink:#203d32;--af-muted:#4d5f52;--af-line:#d8ddcf;--af-green:#214c3b;--af-soft:#eaf0e4;--af-gold:#725722;--af-gold-light:#dfc68d;--paper:var(--af-paper);--ink:var(--af-ink);--muted:var(--af-muted);--gold:var(--af-gold);--line:var(--af-line)}
html{scroll-padding-top:104px;scroll-behavior:smooth}
html body{background:var(--af-paper);color:var(--af-ink);font:16px/1.65 "Segoe UI",Arial,sans-serif}
html :is(input,select,textarea,button){font-family:inherit;letter-spacing:normal}
html :focus-visible{outline:3px solid var(--af-gold);outline-offset:4px}
html .wrap{width:min(1240px,calc(100% - 64px))}
html :is(h1,h2,h3,h4){color:var(--af-ink);text-wrap:balance}
html :is(h1,h2){font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.035em;line-height:1.15}
html h1{font-size:clamp(38px,4.6vw,64px)}
html h2{font-size:clamp(30px,3.2vw,44px)}
html h3{font-size:23px;line-height:1.35}
html :is(h1,h2,h3) em{font-weight:inherit;color:inherit}
html :is(p,li){overflow-wrap:anywhere}
html .eyebrow{font:600 11px/1.5 "Segoe UI",Arial,sans-serif;letter-spacing:.12em;color:var(--af-gold)}
html .text-link{font-size:14px;line-height:1.5;letter-spacing:0;font-weight:600;color:var(--af-green);gap:12px;text-underline-offset:4px}
html .text-link:hover{text-decoration:underline}
html .source-note{font-size:13px;line-height:1.65;color:var(--af-muted)}
html .button{min-height:48px;padding:13px 20px;gap:12px;border:1px solid var(--af-green);border-radius:7px;background:var(--af-green);color:#fffdf5;font:600 14px/1.4 "Segoe UI",Arial,sans-serif;letter-spacing:0;box-shadow:none;transform:none;white-space:normal;justify-content:center;text-align:center}
html .button:hover{background:#163d2d;color:#fffdf5;border-color:#163d2d;box-shadow:none;transform:none}
html .button.ghost,html .button.light{background:var(--af-surface);border-color:var(--af-line);color:var(--af-green)}
html .button.ghost:hover,html .button.light:hover{background:var(--af-soft);border-color:var(--af-green)}
html :is(.section,.community-editorial,.visit-editorial,.zakah-impact,.essentials-steps-section,.trustees-section,.sisters-spaces,.causes-example){padding-block:64px}
html :is(.section,.community-editorial,.visit-editorial,.photo-tint,.history-investment,.about-aims,.essentials-steps-section,.trustees-section,.sisters-spaces,.causes-example){background:var(--af-paper);color:var(--af-ink)}
html .section-heading{gap:28px;align-items:end;margin-bottom:25px}
html .section-heading h2{font-size:clamp(30px,3.2vw,44px);margin:9px 0 0}
html :is(.section-heading>p,.intro,.page-intro p,.about-intro p,.history-opening p,.support-about p,.support-intro p,.zakah-impact p,.essentials-intro p,.sisters-intro p,.trustees-intro p){font-size:16px;line-height:1.75;color:var(--af-muted);max-width:66ch}
html .section-heading>p{max-width:44ch}
html .intro{margin:0 0 24px}
/* A short utility line and a navigation organised around visitors' tasks. */
html .testing-notice{background:#ece8d8;color:#4e4c3c}
html .testing-notice>.wrap{padding-block:6px;font-size:11px;line-height:1.5;gap:14px}
html .testing-notice strong{font-size:10px;letter-spacing:.08em}
html .topline{background:#18382b;border:0}
html .topline>.wrap{min-height:40px;padding-block:6px;gap:18px}
html .utility-identity{font-size:10px;letter-spacing:.04em;color:#eee9d9}
html .utility-identity small{display:none}
html .utility-clock{display:flex;align-items:center;gap:8px}
html .utility-clock [data-live-date]{font-size:11px;color:#d4ddcf}
html .utility-clock time{font-size:14px;letter-spacing:.02em;margin:0;color:#fffdf5}
html .utility-clock .uk-time{font-size:10px;letter-spacing:0;color:#d4ddcf}
html .utility-links{font-size:12px}
html header{background:var(--af-surface);border-bottom:1px solid var(--af-line);box-shadow:none;backdrop-filter:none}
html .nav{min-height:88px;gap:25px}
html .nav .logo{width:158px;height:69px;object-fit:contain}
html .nav nav{gap:5px;font-size:14px;align-items:center}
html .nav nav>a:not(.button),html .nav-dropdown summary{padding:12px 11px;min-height:44px;font:500 14px/1.5 "Segoe UI",Arial,sans-serif;color:var(--af-ink);border-radius:6px}
html .nav nav>a[aria-current=page],html .nav-dropdown:has([aria-current=page])>summary{background:var(--af-soft);color:var(--af-green)}
html .nav nav>a:not(.button):hover,html .nav-dropdown summary:hover,html .nav-dropdown[open]>summary{background:var(--af-soft);color:var(--af-green)}
html .nav nav>a:not(.button):after,html .nav-dropdown summary:after{display:none}
html .nav .button.small{min-height:44px;font-size:14px;padding:11px 18px;margin-left:7px;gap:12px}
html .nav-dropdown-links{background:var(--af-surface);border:1px solid var(--af-line);border-radius:9px;padding:8px;box-shadow:0 12px 30px #1b33231a;min-width:255px}
html .nav-dropdown-links a{font-size:14px;line-height:1.5;padding:12px;min-height:46px;border-radius:5px;color:var(--af-ink);transform:none}
html .nav-dropdown-links a:hover{transform:none;background:var(--af-soft)}
html .nav-dropdown-links small{font-size:12px;color:var(--af-muted);margin-top:3px}
html .menu-toggle{min-height:46px;background:var(--af-surface);color:var(--af-ink);border-color:var(--af-line);border-radius:6px;font-size:14px}
/* Prayer times remain part of the opening, rather than a lower-page task. */
html .home-lead{width:min(1320px,calc(100% - 64px));margin:26px auto 0;grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr);border:1px solid var(--af-line);border-radius:12px;box-shadow:none;background:var(--af-green);overflow:hidden}
html .home-lead .heritage-hero{padding:44px 36px;min-height:560px}
html .home-lead .hero-photo{background:linear-gradient(90deg,#12382def,#12382dc0 60%,#12382d60),url('/centre.jpg') center/cover}
html .home-lead .hero-location{font-size:10px;color:#dfd9bc;letter-spacing:.08em}
html .home-lead .hero-bismillah{font-size:19px;margin:22px 0 0;color:#e0e8d8}
html .home-lead .hero-centre h1{font-size:clamp(42px,4.4vw,62px);line-height:1.12;margin:22px 0;color:#fffdf5;letter-spacing:-.04em}
html .home-lead .hero-description{font-size:17px;line-height:1.75;margin-bottom:26px;color:#e6eadf}
html .home-lead .actions{gap:10px;align-items:center;flex-wrap:wrap}
html .home-lead .actions .button{font-size:14px;min-height:48px;padding:12px 17px;background:#f0e3be;border-color:#f0e3be;color:#203d32;gap:12px}
html .home-lead .actions .button.ghost{background:#153d3260;color:#fffdf5;border-color:#dce5cd80}
html .home-lead .actions .button.whatsapp-enquiry{background:transparent;color:#fffdf5;border-color:#dce5cd80}
html .home-prayer-panel{padding:28px;background:var(--af-surface);color:var(--af-ink);border:0}
html .home-prayer-heading{padding-bottom:15px;border-bottom:1px solid var(--af-line)}
html .home-prayer-heading h2{font-size:29px;margin:8px 0 14px;color:var(--af-ink)}
html .home-prayer-heading .eyebrow{font-size:10px;color:var(--af-gold)}
html .prayer-datetime{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px}
html .prayer-datetime p{font-size:13px;color:var(--af-muted);margin:0}
html .prayer-datetime time{font-size:16px;color:var(--af-ink)}
html .prayer-datetime>span{display:none}
html .next-jamaat{font-size:13px;padding:9px 11px;border-radius:5px;background:var(--af-soft);color:var(--af-green);margin:14px 0 7px}
html .daily-prayer-table{margin:8px 0;font-size:14px;border-collapse:collapse}
html .daily-prayer-table th,html .daily-prayer-table td{padding:10px 9px;border-color:var(--af-line);font-variant-numeric:tabular-nums}
html .daily-prayer-table thead th{font-size:11px;color:var(--af-muted);letter-spacing:.04em}
html .daily-prayer-table tbody th{color:var(--af-ink)}
html .daily-prayer-table tbody td:last-child{background:#f0f3e9;color:var(--af-green)}
html .daily-prayer-table tbody th,html .daily-prayer-table tbody td{padding:8px 9px;font-size:15px;line-height:1.4;color:var(--af-muted);border-color:var(--af-line)}
html .daily-prayer-table tbody th{font-size:15px;font-weight:600;color:var(--af-ink)}
html .daily-prayer-table tbody td:last-child{font-size:18px;font-weight:600;letter-spacing:0;color:var(--af-green)}
html .daily-prayer-table tbody tr.is-next-prayer>*,html .daily-prayer-table tbody tr.is-next-prayer:hover>*{background:var(--af-soft);color:var(--af-green);border-color:var(--af-line)}
html .daily-prayer-table tbody tr:hover>*{background:#eef2e7;color:var(--af-ink)}
html .home-lead .hero-location{justify-content:flex-start;text-align:left}
html .daily-prayer-table .is-next-prayer{background:var(--af-soft)}
html .home-jumuah{margin:14px 0;padding:12px 0;font-size:12px;color:var(--af-muted);border-color:var(--af-line)}
html .home-jumuah strong{color:var(--af-ink);font-size:14px}
html .home-prayer-panel>.button{min-height:46px;font-size:14px}
html .home-prayer-download{font-size:12px;margin-top:12px;color:var(--af-green)}
html .visitor-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:20px auto 0;background:var(--af-surface);border:1px solid var(--af-line);border-radius:9px;overflow:hidden}
html .visitor-links a{display:flex;flex-direction:column;gap:5px;padding:18px 20px;border-right:1px solid var(--af-line);color:var(--af-ink)}
html .visitor-links a:last-child{border-right:0}.visitor-links strong{font-size:15px;font-weight:600}.visitor-links span{font-size:12px;color:var(--af-muted)}
html .visitor-links a:hover{background:var(--af-soft)}
html .featured-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:16px 20px;background:#eee8d7;border:1px solid #d9ceb2;border-radius:8px;color:var(--af-ink)}
html .featured-notice strong{font-size:14px;font-weight:600;display:block}.featured-notice .eyebrow{font-size:10px;display:block;margin-bottom:5px}
html .featured-notice button{flex-shrink:0;min-height:44px}
/* A single card language across programmes, causes, people and news. */
html :is(.programme-card,.fatwa-card,.causes-grid>article,.video-card,.managed-updates>a,.support-choices>a,.about-links>a,.trustee-grid>article,.essentials-steps>article){background:var(--af-surface);color:var(--af-ink);border:1px solid var(--af-line);border-radius:9px;box-shadow:none;transform:none}
html :is(.programme-card,.fatwa-card,.causes-grid>article,.video-card,.managed-updates>a,.support-choices>a,.about-links>a):hover{transform:none;box-shadow:none;border-color:#a0af98}
html :is(.fatwa-card p,.programme-copy p,.causes-grid p,.video-card p,.managed-updates>a p,.support-choices p,.about-links p,.essentials-steps p){font-size:15px;line-height:1.7;color:var(--af-muted)}
html :is(.fatwa-card h3,.programme-copy h3,.causes-grid h3,.managed-updates>a h3){font:400 25px/1.3 Georgia,serif;letter-spacing:-.02em;color:var(--af-ink);margin:13px 0}
html :is(.fatwa-card .eyebrow,.cause-number,.website-label){color:var(--af-gold);font-size:11px;letter-spacing:.06em}
html .fatwa-card{padding:25px}.fatwa-card .read{color:var(--af-green);font-size:13px;margin-top:auto;padding-top:12px}
html .programme-copy{padding:25px}.programme-card .programme-cta{font-size:14px;color:var(--af-green)}
html .programme-card img{aspect-ratio:1.8;object-fit:cover;object-position:top;max-height:310px}
html .website-label{background:var(--af-soft);border-bottom:1px solid var(--af-line);padding:10px 15px}
html .managed-updates{gap:20px}.managed-updates>a{padding:20px}.managed-updates>a img{border-radius:6px;object-fit:cover}
html .managed-updates>a>span{font-size:12px;color:var(--af-muted)}
html :is(.updates-empty,.updates-actions){font-size:14px;color:var(--af-muted)}
html .updates-empty:has(+.updates-actions){line-height:1.7}
html .chapter-band{background:var(--af-green);color:#eee5c9;border:0}
html .chapter-band .wrap{font-size:11px;letter-spacing:.07em;gap:16px;padding-block:18px}
html .essentials-home,html .zakah-band,html .sisters-committee,html .team-learning,html .regular-giving{background:var(--af-soft);color:var(--af-ink);border-color:var(--af-line);padding-block:48px}
html :is(.essentials-home h2,.zakah-band h2,.team-learning h2,.regular-giving h2){font-size:clamp(30px,3.2vw,44px);color:var(--af-ink)}
html :is(.essentials-home p,.zakah-band p,.team-learning p,.regular-giving p){font-size:16px;line-height:1.75;color:var(--af-muted)}
html .community-story{gap:40px}.community-story h2{font-size:clamp(30px,3.2vw,44px)}
html .community-story p{font-size:16px;line-height:1.75;color:var(--af-muted)}
html .community-story figure{height:360px;border-radius:9px;overflow:hidden}.community-story figcaption{font-size:12px}
html .support-links{margin-top:30px}.support-links a{padding:20px 0;border-color:var(--af-line);color:var(--af-ink);gap:18px}
html .support-links h3{font-size:22px;color:var(--af-ink)}.support-links p{font-size:14px;color:var(--af-muted)}
html .calendar-frame{background:var(--af-surface);border:1px solid var(--af-line);border-radius:9px;padding:8px;box-shadow:none}
html .calendar-frame iframe{border-radius:5px;height:680px}
html .latest-videos-section{border-top:1px solid var(--af-line)}
html .video-grid{gap:18px}.video-card{padding:0;overflow:hidden}.video-card h3{padding:0 17px 18px;font:600 16px/1.55 "Segoe UI",Arial,sans-serif;color:var(--af-ink)}
html .video-card h3 a{color:inherit}.video-frame{border-radius:0}.video-frame button{min-height:48px}
html .causes-grid{gap:20px}.causes-grid>article{padding:26px}.causes-grid .text-link{margin-top:20px}.causes-note{font-size:14px;color:var(--af-muted)}
html .impact-report{border-color:var(--af-line);background:var(--af-soft);box-shadow:none;color:var(--af-ink);border-radius:9px}
html .impact-report :is(h3,strong){color:var(--af-ink)}
html .breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-top:24px;font-size:13px;color:var(--af-muted)}
html .breadcrumbs a{color:var(--af-green);text-decoration:underline;text-underline-offset:4px}
html .page-intro{padding-top:30px;padding-bottom:34px}.page-intro h1{font-size:clamp(37px,4.6vw,60px);margin:16px 0 23px;max-width:950px}
html .article{max-width:880px;padding-top:30px}.article h1{font-size:clamp(34px,4vw,49px);line-height:1.2}.article .back,.article-byline{font-size:13px;color:var(--af-muted)}
html .answer-copy p{font-size:17px;line-height:1.95;color:var(--af-ink)}.answer-copy h2{font-size:30px;color:var(--af-ink)}
html .library .search-label{font-size:14px;font-weight:600;color:var(--af-ink)}
html .search-wrap input{background:var(--af-surface);color:var(--af-ink);border:1px solid var(--af-line);font-size:16px;min-height:52px;padding:13px 50px 13px 16px}
html .search-wrap input::placeholder{color:var(--af-muted)}.search-wrap>span{color:var(--af-green)}
html .library-categories{margin:18px 0;border-bottom:1px solid var(--af-line);padding-bottom:12px}
html .library-categories summary{cursor:pointer;font-size:14px;font-weight:600;min-height:44px;padding:10px 0;color:var(--af-ink)}
html .filters{gap:8px;margin:12px 0}.filter{font-size:13px;min-height:42px;padding:9px 14px;border:1px solid var(--af-line);border-radius:6px;background:var(--af-surface);color:var(--af-ink)}
html .filter.active{background:var(--af-green);color:#fffdf5;border-color:var(--af-green)}
html .library .fatwa-grid{display:block;border-top:1px solid var(--af-line)}
html .library .fatwa-card{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:8px 25px;border:0;border-bottom:1px solid var(--af-line);border-radius:0;padding:25px 4px;background:transparent}
html .library .fatwa-card .eyebrow,html .library .fatwa-card p{grid-column:1;margin:0}.library .fatwa-card h3{grid-column:1;margin:0;font-size:25px}.library .fatwa-card .read{grid-column:2;grid-row:1/4;align-self:center;margin:0;padding:0}
html .library .fatwa-card:hover{background:var(--af-soft)}
/* Forms retain their submission and payment behaviour. */
html :is(.complaint-form,.donation-panel,.essentials-panel,.visit-note,.gift-aid-box){background:var(--af-surface);color:var(--af-ink);border-color:var(--af-line);border-radius:10px;box-shadow:none}
html :is(.complaint-form,.donation-panel) label{color:var(--af-ink);font-size:14px;font-weight:600;line-height:1.6}
html :is(.complaint-form,.donation-panel) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--af-surface);color:var(--af-ink);border:1px solid #bbc7b4;border-radius:6px;min-height:48px;padding:12px;font-size:16px;line-height:1.5;box-shadow:none}
html :is(.complaint-form,.donation-panel) textarea{min-height:140px}
html :is(.complaint-form,.donation-panel) :is(p,small){color:var(--af-muted);font-size:13px;line-height:1.7}
html :is(.donation-tabs,.donation-amounts) button{min-height:46px;border:1px solid var(--af-line);border-radius:6px;background:var(--af-surface);color:var(--af-ink);font-size:14px;box-shadow:none}
html :is(.donation-tabs,.donation-amounts) button[aria-pressed=true]{background:var(--af-soft);color:var(--af-green);border-color:var(--af-green);box-shadow:inset 0 0 0 1px var(--af-green)}
html input[type=checkbox]{accent-color:var(--af-green)}
html .giving{background:#1c4433;color:#fffdf5;border:0;padding-block:60px}
html .giving :is(h2,.giving-copy h3){color:#fffdf5}.giving .eyebrow{color:var(--af-gold-light)}.giving-copy p{font-size:15px;line-height:1.75;color:#e2e7db}
html .giving .donation-panel h3{color:var(--af-ink)}.giving .donation-panel p{color:var(--af-muted)}
html .masjid-donation-form :is(.gift-aid-declaration,p,small){font-size:14px;line-height:1.75;color:var(--af-muted)}
html :is(.contact-grid,.support-about,.sisters-intro,.about-vision) :is(p,li){font-size:16px;line-height:1.8;color:var(--af-muted)}
html .contact-line a{font-size:17px;color:var(--af-green)}.contact-line span{font-size:11px;color:var(--af-gold)}
html :is(.poster-dialog,.motion-dialog){background:var(--af-surface);color:var(--af-ink);border:1px solid var(--af-line);border-radius:12px;box-shadow:0 20px 70px #102d273b;max-height:90dvh}
html .poster-dialog h2{font:400 29px/1.25 Georgia,serif;color:var(--af-ink)}.poster-dialog p{font-size:15px;line-height:1.75;color:var(--af-muted)}
html :is(.poster-close,.motion-dialog-close){min-height:46px;min-width:46px;border-radius:50%;background:var(--af-soft);color:var(--af-green);border:1px solid var(--af-line)}
html .visit-editorial h2{font-size:clamp(38px,4vw,56px)}.visit-editorial p,.visit-socials a{font-size:15px;color:var(--af-muted)}
html footer{background:#17382b;color:#e6e8d9;border:0;padding:52px 0 24px}
html .footer-grid{gap:35px}.footer-grid h3{font:600 14px/1.4 "Segoe UI",Arial,sans-serif;color:#fff8e4;margin-bottom:18px}.footer-grid a{font-size:13px;color:#d1ddca;line-height:1.55;margin:10px 0}.footer-grid p{font-size:13px;line-height:1.8;color:#d1ddca}.footer-grid img{filter:brightness(0) invert(1);width:170px}
html .footer-bottom{border-color:#a7b6a330;font-size:11px;color:#bdcbb6;padding-top:22px;margin-top:30px}
html :is(.donate-float,.whatsapp-float){box-shadow:0 4px 18px #17382b26}
html .donate-float{right:auto;display:inline-flex;width:auto;min-width:106px;max-width:calc(100vw - 105px);font-size:13px;padding:12px 18px;border-radius:7px;background:var(--af-green);color:#fffdf5}
html .motion-card,html .motion-card:hover{transform:none;box-shadow:none}
@media(max-width:1050px){html .wrap{width:calc(100% - 40px)}html .nav{min-height:82px;gap:15px}html .nav .logo{width:142px}html .nav nav>a:not(.button),html .nav-dropdown summary{padding:11px 8px;font-size:13px}html .home-lead{width:calc(100% - 40px);grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr)}html .home-lead .heritage-hero{padding:35px 27px}html .home-lead .hero-centre h1{font-size:48px}html .home-prayer-panel{padding:25px}html .visitor-links a{padding:17px}}
@media(max-width:800px){html{scroll-padding-top:90px}html .topline>.wrap{justify-content:space-between;min-height:35px}html .utility-identity,html .utility-clock [data-live-date]{display:none}html .utility-clock time{font-size:13px}html .utility-links{font-size:12px}html .nav{min-height:78px;justify-content:space-between}html .nav .logo{width:145px;height:62px}html .menu-toggle{display:flex}html .nav nav{display:none;top:78px;background:var(--af-surface);border-bottom:1px solid var(--af-line);padding:12px 20px;gap:3px;align-items:stretch}html .nav nav.open{display:flex;max-height:calc(100dvh - 90px);overflow:auto}html .nav nav>a:not(.button),html .nav-dropdown summary{padding:13px 11px;font-size:15px;min-height:48px}html .nav .button.small{margin:8px 0 0}html .nav-dropdown-links{position:static;min-width:0;box-shadow:none;margin:0 8px 9px;background:var(--af-paper);border:0}html .nav-dropdown-links a{font-size:14px;padding:12px}html .home-lead{display:flex;flex-direction:column;margin-top:18px}html .home-prayer-panel{order:-1;padding:24px;border-bottom:1px solid var(--af-line)}html .home-prayer-heading{display:block}html .home-prayer-heading h2{font-size:28px;margin:5px 0 12px}html .home-lead .heritage-hero{min-height:380px;padding:34px 27px}html .home-lead .hero-centre h1{font-size:clamp(40px,7vw,55px)}html .home-lead .hero-description{font-size:16px}html .daily-prayer-table th,html .daily-prayer-table td{padding:9px 11px}html .visitor-links{grid-template-columns:1fr 1fr}html .visitor-links a{padding:16px;border-bottom:1px solid var(--af-line)}html .visitor-links a:nth-child(2){border-right:0}html .visitor-links a:nth-child(n+3){border-bottom:0}html .featured-notice{align-items:start;flex-direction:column;gap:12px;padding:17px}html :is(.section,.community-editorial,.visit-editorial,.zakah-impact,.essentials-steps-section,.trustees-section,.sisters-spaces,.causes-example){padding-block:44px}html .section-heading{align-items:start;gap:18px}html .community-story{gap:27px}html .community-story figure{height:300px}html .calendar-frame iframe{height:650px}html .footer-grid{grid-template-columns:1fr 1fr;gap:28px}html .video-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){html .wrap{width:calc(100% - 32px)}html .testing-notice>.wrap{font-size:11px;align-items:start;gap:10px}html .testing-notice strong{font-size:9px}html .testing-notice b{font-weight:500}html .home-lead{width:calc(100% - 24px);border-radius:9px}html .home-prayer-panel{padding:21px 18px}html .prayer-datetime time{font-size:20px}html .home-lead .heritage-hero{padding:30px 22px;min-height:370px}html .home-lead .hero-centre h1{font-size:43px}html .home-lead .hero-location{font-size:9px}html .home-lead .actions{gap:9px}html .home-lead .actions .button{font-size:13px;padding:12px 15px}html .home-jumuah{font-size:12px}html .visitor-links{margin-top:14px}html .visitor-links a{padding:15px 13px}html .visitor-links strong{font-size:14px}html .visitor-links span{font-size:12px}html .featured-notice{margin-top:14px}html h2,html .section-heading h2{font-size:33px}html .page-intro h1{font-size:39px}html .article h1{font-size:35px}html .answer-copy p{font-size:16px}html .library .fatwa-card{grid-template-columns:1fr;padding:23px 4px}html .library .fatwa-card .read{grid-column:1;grid-row:auto;justify-content:start;gap:15px;margin-top:7px}html .library .fatwa-card h3{font-size:24px}html .filter{min-height:44px;font-size:13px}html .programme-copy{padding:21px}html .programme-copy h3{font-size:26px}html .programme-card img{aspect-ratio:1.65}html .video-grid{grid-template-columns:1fr}html .video-card h3{font-size:16px}html .community-story h2{font-size:34px}html .footer-grid{gap:25px}html .footer-grid>div:first-child{grid-column:1/-1}html .poster-dialog{padding:23px 18px;width:calc(100% - 24px)}html .poster-dialog h2{font-size:25px}html .donate-float{bottom:18px;left:16px}html .whatsapp-float{right:16px;bottom:18px}html .breadcrumbs{font-size:12px;padding-top:20px}html .giving-inner{gap:28px}html .donation-panel{padding:23px 18px}html .donation-tabs{gap:5px}html .donation-tabs button{font-size:13px}html .contact-line a{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}html *,html *:before,html *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

html .nav-dropdown summary{display:flex;align-items:center;justify-content:flex-start;gap:8px}
html .nav-dropdown summary>.nav-disclosure{display:inline-block;width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s ease}
html .nav-dropdown[open]>summary>.nav-disclosure{transform:translateY(1px) rotate(225deg)}
html .winter-reminder{max-width:660px;color:var(--af-ink)}
html .winter-reminder>p:first-child{color:#465c60;font-size:15px;line-height:1.7;margin-bottom:20px}
html .fasting-days,html .qiyam-reminder{margin:18px 0;padding:18px 20px;border:1px solid #d2dfe4;border-radius:10px;background:linear-gradient(145deg,#f4f6f7,#eaf1f5)}
html .fasting-days .eyebrow,html .qiyam-reminder .eyebrow{margin:0 0 3px;color:#607581;font-size:9px;letter-spacing:.12em}
html .fasting-days h3,html .qiyam-reminder h3{margin:0 0 12px;color:#203d4b;font-size:19px;letter-spacing:-.01em}
html .fasting-date-row{display:flex;align-items:center;gap:12px;margin:9px 0}
html .fasting-day-label{flex:0 0 68px;color:#314c59;font-size:12px;font-weight:700}
html .fasting-date-chips{display:flex;flex-wrap:wrap;gap:6px}
html .fasting-date-chips time{display:inline-flex;min-width:44px;justify-content:center;padding:3px 7px;border-radius:999px;background:#dce9f1;color:#244659;font-size:11px;font-weight:700;line-height:1.5}
html .qiyam-reminder{background:linear-gradient(145deg,#e9f0f4,#dce9ef)}
html .qiyam-reminder .qiyam-time-line{margin:0 0 7px;color:#183f52;font-size:16px;font-weight:700}
html .qiyam-reminder>p:not(.eyebrow){margin:0 0 9px;color:#405963;font-size:13px;line-height:1.65}
html .qiyam-reminder .qiyam-question{margin-top:12px;font-size:15px;font-weight:700;color:#193c4d}
html .qiyam-reminder .qiyam-message{margin:0;color:#516b75;font-size:12px}
@media(max-width:700px){html .fasting-days,html .qiyam-reminder{padding:16px}html .fasting-date-row{align-items:flex-start;flex-direction:column;gap:5px}html .fasting-date-chips{gap:5px}}

/* Explicit text colours for light surfaces. Pale gold is reserved for dark surfaces. */
html .programme-adults :is(h3,.programme-cta){color:var(--af-ink)}
html .programme-adults .eyebrow{color:var(--af-gold)}
html .programme-adults p:not(.eyebrow){color:var(--af-muted)}
html :is(.essentials-home,.regular-giving) :is(h2,h2 em){color:var(--af-ink);-webkit-text-fill-color:currentColor}
html :is(.essentials-home,.regular-giving) .eyebrow{color:var(--af-gold)}
html .essentials-home .text-link{color:var(--af-green);border-color:var(--af-green)}
html .monthly-giving-options a{background:var(--af-surface);border:1px solid #a1ac96;color:var(--af-ink);border-radius:8px}
html .monthly-giving-options strong{color:var(--af-green)}
html .monthly-giving-options span{color:var(--af-muted)}
html .monthly-giving-options small{color:var(--af-green);font-size:14px;font-weight:600}
html .monthly-giving-options a:hover{background:var(--af-soft);border-color:var(--af-green)}
html .home-lead .hero-centre h1 em{color:#f0ddb0}
html .support-links{grid-template-columns:repeat(2,minmax(0,1fr))}
html .source-note a{color:var(--af-green);text-decoration:underline;text-underline-offset:3px}
html .about-aims span,html .about-links>a>span{color:var(--af-gold)}
html .complaint-privacy,html .donation-data-note,html .donation-report-date{color:var(--af-muted)}
html .donation-report-month{color:var(--af-gold)}
html .monthly-impact :is(h3,h3 em){color:#fffdf5}
html .monthly-impact .eyebrow{color:var(--af-gold-light)}
html .giving .donation-impact-link{color:#f0ddb0;border-color:#d8c696}
html .impact-programmes ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
html .impact-programmes li{display:flex;flex-direction:column;gap:5px;padding:12px 14px;border-color:#ffffff24;border-radius:5px}
html .impact-programmes li strong{color:#efdbad;font-weight:600;font-size:13px;text-transform:capitalize}
html .impact-programmes li span{color:#d3dfd0;font-size:12px;line-height:1.6}
@media(max-width:640px){html .impact-programmes ul{grid-template-columns:1fr}}
html .live-payment-notice{background:#eee4c8;color:#303d2f;border:1px solid #b4a17a}
html .live-payment-notice strong{color:inherit}
html .history-invitation :is(h2,h2 em),html .sisters-hero :is(h1,h1 em){color:#fffdf5;-webkit-text-fill-color:currentColor}
html .sisters-hero .eyebrow{color:var(--af-gold-light)}
html .sisters-committee p{color:var(--af-muted)}
html .team-learning-links span{color:var(--af-ink)}
html .team-learning-links small{color:var(--af-green)}
html .scholar-index{color:var(--af-gold)}
@media(max-width:800px){html .visitor-links{grid-template-columns:1fr}html .visitor-links a{border-right:0;border-bottom:1px solid var(--af-line)}html .visitor-links a:nth-child(n+3){border-bottom:0}html .support-links{grid-template-columns:1fr}}

/* Consistent giving choices and schedule controls */
html .monthly-giving-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
html .monthly-giving-options a{min-height:170px;display:flex;flex-direction:column;justify-content:space-between;padding:22px 24px;text-decoration:none}
html .monthly-giving-options strong{font-size:clamp(30px,3vw,40px);line-height:1.1}
html .monthly-giving-options .monthly-giving-other strong{font-family:var(--sans);font-size:24px;font-weight:650;letter-spacing:0}
html .monthly-giving-options small{margin-top:18px}
html .donation-schedule{margin:4px 0 18px}
html .donation-schedule[hidden]{display:none}
html .masjid-donation-form .donation-schedule label{display:block;margin:14px 0 6px;font-size:13px;color:#234b4e}
html .masjid-donation-form .donation-schedule select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #203b3d33;border-radius:7px;background:#fffdf6;color:#173a40;font-size:16px}
@media(max-width:700px){html .monthly-giving-options{grid-template-columns:1fr}}
html .fasting-schedule{margin:20px 0 22px;padding:20px 22px;border:1px solid #d5dfe4;border-radius:10px;background:#f7f8f8}
html .fasting-schedule>.eyebrow{margin:0 0 3px;color:#607581;font-size:9px;letter-spacing:.12em}
html .fasting-schedule h3{margin:0 0 14px;color:#203d4b;font-size:20px;letter-spacing:-.01em}
html .next-fast{display:flex;flex-direction:column;gap:3px;margin-bottom:14px;padding:12px 15px;border-radius:7px;background:#20475d;color:#fff}
html .next-fast[hidden]{display:none}
html .next-fast span{color:#d6e4ea;font-size:11px;letter-spacing:.03em}
html .next-fast time{color:#fff;font-size:19px;font-weight:700;line-height:1.35}
html .fasting-month-grid{border-top:1px solid #d7e0e4}
html .fasting-month-row{display:grid;grid-template-columns:88px 1fr;gap:12px;padding:9px 1px;border-bottom:1px solid #d7e0e4;font-size:13px;line-height:1.5}
html .fasting-month-row:last-child{border-bottom:0;padding-bottom:1px}
html .fasting-month-row strong{color:#274b5d}
html .fasting-month-row span{color:#4b5e66}
html .qiyam-reminder{position:relative;isolation:isolate;min-height:310px;margin:20px 0 26px;padding:0;overflow:hidden;border:0;border-radius:10px;background:#102539;color:#fff}
html .qiyam-reminder .qiyam-photo{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:72% center;filter:brightness(.62)}
html .qiyam-reminder .qiyam-shade{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(8,22,36,.94) 0%,rgba(8,22,36,.82) 48%,rgba(8,22,36,.4) 100%)}
html .qiyam-reminder .qiyam-content{position:relative;max-width:76%;padding:24px 24px 22px}
html .qiyam-reminder .eyebrow{margin:0 0 6px;color:#d6e4ec;font-size:9px;letter-spacing:.12em}
html .qiyam-reminder h3{margin:0 0 13px;color:#fff;font-size:23px;letter-spacing:-.01em}
html .qiyam-reminder p{margin:0 0 10px;color:#f0f3f5;font-size:13px;line-height:1.65}
html .qiyam-reminder .qiyam-time-line{color:#fff;font-size:16px;font-weight:700}
html .qiyam-reminder .qiyam-question{margin-top:15px;margin-bottom:4px;color:#fff;font-size:15px;font-weight:700}
html .qiyam-reminder .qiyam-message{margin:0;color:#d6e4ec;font-size:12px}
html .winter-copy{margin-top:28px;max-width:660px}
html .winter-copy p{margin-bottom:17px;color:#586c52;font-size:15px;line-height:1.85}
html .winter-copy .winter-reminder-highlight{padding-left:16px;border-left:3px solid #ab9155;color:#365c3b;font-size:17px;font-weight:700}
@media(max-width:700px){html .fasting-schedule{padding:17px}html .fasting-month-row{grid-template-columns:78px 1fr;gap:8px;font-size:12px}html .qiyam-reminder{min-height:300px}html .qiyam-reminder .qiyam-content{max-width:86%;padding:20px}html .qiyam-reminder h3{font-size:21px}}
@media(max-width:700px){html .winter-download>.winter-timetable-preview{order:-1}}

/* Secondary navigation for the centre's main service areas. */
html .section-nav{position:relative;z-index:30;background:#e8eee7;border-bottom:1px solid #d2dbd0}
html .service-nav{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:48px}
html .section-nav-dropdown{position:relative}
html .section-nav-dropdown>summary,html .section-nav-empty{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 13px;border-radius:5px;color:#203d32;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer;list-style:none;white-space:nowrap}
html .section-nav-dropdown>summary::-webkit-details-marker{display:none}
html .section-nav-dropdown>summary:hover,html .section-nav-dropdown[open]>summary{background:#dbe5da;color:#173d2d}
html .section-nav-dropdown .nav-disclosure{display:inline-block;width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s ease}
html .section-nav-dropdown[open] .nav-disclosure{transform:translateY(1px) rotate(225deg)}
html .section-nav-empty{color:#718174;cursor:default}
html .section-nav-links{position:absolute;top:calc(100% + 7px);left:0;z-index:50;display:grid;min-width:250px;padding:7px;border:1px solid #d8ddcf;border-radius:8px;background:#fffef9;box-shadow:0 14px 30px #1b33231a}
html .section-nav-links a{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:5px;color:#203d32;font-size:14px;line-height:1.45}
html .section-nav-links a:hover{background:#eaf0e4}
html .section-nav-links small{color:#5b6b5f;font-size:12px}
html .relief-page{padding-block:30px 70px}
html .relief-banner{position:relative;isolation:isolate;min-height:620px;overflow:hidden;border-radius:12px;background:#18382b}
html .relief-banner:after{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#10281ec7 0%,#10281e70 44%,#10281e05 100%);content:""}
html .relief-banner img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%}
html .relief-banner-copy{position:absolute;left:clamp(24px,7vw,92px);bottom:clamp(32px,8vw,88px);max-width:650px;color:white}
html .relief-banner-copy .eyebrow{color:#e2d3a8}
html .relief-banner-copy h1{margin:8px 0 18px;color:#fffdf5;font-size:clamp(44px,7vw,84px);letter-spacing:-.035em}
html .coming-soon-label{display:inline-block;padding:8px 12px;border:1px solid #ffffff8c;border-radius:4px;color:#fff;font-size:13px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
html .relief-intro{max-width:740px;margin:24px auto 0}
html .relief-intro p{color:#536458;font-size:17px}
html .appeal-page,.coming-soon-page,.project-page{padding-block:70px 90px}
html .appeal-page>p,.coming-soon-page>p,.project-page>p{max-width:680px}
html .project-cost-card{display:flex;flex-direction:column;gap:4px;width:min(100%,380px);margin:26px 0;padding:19px 22px;border:1px solid #d8ddcf;border-left:4px solid #b19b60;border-radius:7px;background:#fffef9}
html .project-cost-card span{color:#58685c;font-size:13px}
html .project-cost-card strong{color:#203d32;font:400 36px/1.2 Georgia,"Times New Roman",serif}
html .project-cost-card small{color:#657166;font-size:12px}
html .project-donation-note{margin-top:18px;color:#58685c;font-size:13px}
@media(max-width:800px){
 html .service-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding-block:7px}
 html .section-nav-dropdown>summary,html .section-nav-empty{width:100%;min-height:42px;padding:8px 9px;font-size:12px;white-space:normal}
 html .section-nav-dropdown[open]{grid-column:1/-1}
 html .section-nav-links{position:static;min-width:0;width:100%;margin:2px 0 6px;box-shadow:none}
 html .relief-page{padding-block:20px 46px}
 html .relief-banner{min-height:470px}
 html .relief-banner-copy{left:24px;right:24px;bottom:30px}
 html .appeal-page,html .coming-soon-page,html .project-page{padding-block:48px 60px}
}
@media(max-width:480px){html .relief-banner{min-height:390px}html .relief-banner img{object-position:56% center}}

/* Local Zakah and relief stories. */
html .zakah-page-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#173d31 0%,#24513f 58%,#344b37 100%);color:#fffaf0}
html .zakah-page-hero:after{position:absolute;right:-140px;bottom:-260px;width:650px;height:650px;border:1px solid #e2d1a244;border-radius:50%;content:""}
html .zakah-page-hero-inner{position:relative;z-index:1;padding-block:82px 76px;max-width:1080px}
html .zakah-page-hero .eyebrow{color:#e2d1a2}
html .zakah-page-hero h1{margin:18px 0 24px;color:#fffaf0;font:400 clamp(52px,7vw,88px)/1.04 var(--display);letter-spacing:-.045em}
html .zakah-page-hero h1 em{color:#e6d4a9;font-weight:400}
html .zakah-page-hero-inner>p:not(.eyebrow){max-width:770px;color:#f2f2e9;font-size:19px;line-height:1.8}
html .zakah-page-hero .zakah-hero-note{margin-top:15px;color:#fff;font-weight:600}
html .zakah-page-hero .support-actions{margin-top:28px}
html .zakah-page-hero .button{background:#ead8a9;border-color:#ead8a9;color:#183b30}
html .zakah-page-hero .text-link{color:#fffaf0;border-color:#ffffff85}
html .zakah-explainer{display:grid;grid-template-columns:.75fr 1.25fr;gap:80px;padding-block:84px}
html .zakah-explainer h2,html .zakah-calculator-intro h2,html .zakah-recipients h2,html .zakah-give-card h2,html .relief-story h2,html .relief-history h2,html .relief-closing h2{font-family:var(--display);font-weight:400;letter-spacing:-.04em;line-height:1.12;color:#203f32}
html .zakah-explainer h2,html .zakah-calculator-intro h2,html .zakah-recipients h2,html .zakah-give-card h2,html .relief-story h2,html .relief-history h2,html .relief-closing h2{font-size:clamp(40px,5vw,62px)}
html .zakah-explainer h2 em,html .zakah-calculator-intro h2 em,html .zakah-recipients h2 em,html .zakah-give-card h2 em,html .relief-story h2 em,html .relief-history h2 em,html .relief-closing h2 em{font-style:italic;color:#637855}
html .zakah-explainer-copy p,html .zakah-calculator-intro p,html .zakah-recipients>div>p,html .zakah-give-card p,html .relief-story p,html .relief-history-heading>p:not(.eyebrow),html .relief-closing p{font-size:17px;line-height:1.85;color:#405747;margin:0 0 18px}
html .zakah-explainer-copy a,html .zakah-calculator-intro a,html .zakah-guidance a{color:#315a3d;text-decoration:underline;text-underline-offset:4px}
html .zakah-calculator-section{padding-block:80px;background:#eef1e9;border-block:1px solid #d8dfd2}
html .zakah-calculator-layout{display:grid;grid-template-columns:.78fr 1.22fr;gap:66px;align-items:start}
html .zakah-calculator-intro h2{margin:16px 0 22px}
html .zakah-calculator-intro .nisab-note{padding:15px 17px;border-left:3px solid #b09a60;background:#fffdf5;font-size:14px;line-height:1.75;color:#394d40}
html .zakah-calculator{padding:28px;background:#fffefa;border:1px solid #d3ddcf;border-radius:8px;box-shadow:0 14px 34px #1c3d2c0b}
html .zakah-calculator fieldset{border:0;padding:0;margin:0 0 21px}
html .zakah-calculator legend{margin-bottom:12px;color:#203f32;font-size:15px;font-weight:700}
html .nisab-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:19px}
html .nisab-options label{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #cbd6c9;border-radius:5px;cursor:pointer}
html .nisab-options label:has(input:checked){border-color:#315944;background:#edf3eb;box-shadow:inset 0 0 0 1px #315944}
html .nisab-options input{width:18px;height:18px;margin:2px 0 0;accent-color:#244b39;flex:none}
html .nisab-options span{display:grid;gap:4px;color:#203f32}
html .nisab-options strong{font-size:15px}
html .nisab-options small{font-size:13px;line-height:1.4;color:#506451}
html .zakah-calc-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}
html .zakah-field{display:grid;gap:8px;color:#263f32;font-size:14px;font-weight:600;line-height:1.5}
html .zakah-field input{width:100%;min-height:48px;padding:10px 12px;border:1px solid #becbbb;border-radius:4px;background:#fff;color:#20392e;font:400 16px/1.4 var(--sans)}
html .zakah-calc-help{margin:16px 0 19px;color:#506451;font-size:14px;line-height:1.7}
html .zakah-result{padding:19px;background:#183f32;color:#fffaf0;border-radius:5px}
html .zakah-result>div{display:flex;justify-content:space-between;gap:20px;align-items:baseline;padding:9px 0;border-bottom:1px solid #ffffff35}
html .zakah-result span{font-size:14px;color:#edf0e8}
html .zakah-result strong{font-size:20px;font-weight:600;white-space:nowrap;color:#f0d8a1;font-variant-numeric:tabular-nums}
html .zakah-result p{margin:14px 0 0;color:#fffaf0;font-size:14px;line-height:1.6}
html .zakah-recipients{padding-block:82px}
html .zakah-recipients>div:first-child{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;align-items:end;margin-bottom:32px}
html .zakah-recipient-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
html .zakah-recipient-grid article{padding:19px;background:#f0f2eb;border:1px solid #d9dfd3;border-top:3px solid #ac9660}
html .zakah-recipient-grid h3{margin:0 0 9px;color:#254637;font:500 19px/1.3 var(--sans)}
html .zakah-recipient-grid p{margin:0;color:#475c4b;font-size:14px;line-height:1.65}
html .zakah-category-note{margin:21px 0 0;color:#4d604f;font-size:14px;line-height:1.75}
html .zakah-guidance{padding-block:60px;background:#203f32;color:#fffaf0}
html .zakah-guidance-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px}
html .zakah-guidance .eyebrow{color:#e6d5a8}
html .zakah-guidance blockquote{margin:17px 0;padding-left:20px;border-left:2px solid #d6c18c;color:#fffaf0;font:400 24px/1.55 var(--display)}
html .zakah-guidance cite{display:block;margin-top:12px;color:#e6d5a8;font:600 13px/1.6 var(--sans);font-style:normal}
html .zakah-guidance p{font-size:15px;line-height:1.8;color:#f1f1e9}
html .zakah-guidance a{color:#f4e4b9}
html .zakah-give-section{padding-block:66px}
html .zakah-give-card{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:35px;background:#f2f3ed;border:1px solid #d8dfd3;border-left:4px solid #b29c62}
html .zakah-give-card>div{max-width:670px}
html .zakah-give-card h2{margin:14px 0 19px}
html .zakah-give-card .button{flex:none}
html .relief-hero{position:relative;isolation:isolate;min-height:min(76vh,710px);display:flex;align-items:center;overflow:hidden;background:#183f32;color:#fffaf0}
html .relief-hero>img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}
html .relief-hero-shade{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#142f26ed 0%,#173c30c7 44%,#173c304d 100%),linear-gradient(0deg,#173c3073,#173c3000 50%)}
html .relief-hero-copy{padding-block:80px}
html .relief-hero-copy .eyebrow{color:#e6d5a8}
html .relief-hero-copy h1{max-width:800px;margin:18px 0 20px;color:#fffaf0;font:400 clamp(52px,7vw,91px)/1.03 var(--display);letter-spacing:-.04em}
html .relief-hero-copy h1 em{color:#e6d5a8}
html .relief-hero-copy>p:not(.eyebrow){max-width:650px;font-size:19px;line-height:1.75;color:#fff}
html .relief-hero-copy .button{margin-top:16px;background:#e6d5a8;border-color:#e6d5a8;color:#1e4032}
html .relief-image-credit{position:absolute;right:20px;bottom:15px;padding:5px 9px;background:#11261cbf;color:#fff;font-size:13px;border-radius:3px}
html .relief-story{display:grid;grid-template-columns:.9fr 1.1fr;gap:32px 80px;align-items:start;padding-block:80px}
html .relief-story h2{grid-row:span 3;margin:10px 0}
html .relief-history{padding-block:74px;background:#eff1e9}
html .relief-history-heading{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px 55px;align-items:end;margin-bottom:32px}
html .relief-history-heading h2{grid-row:span 2;margin:0}
html .relief-history-heading>p:not(.eyebrow){margin:0}
html .relief-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
html .relief-gallery figure{margin:0;background:#fff;border:1px solid #d7ded1;box-shadow:0 10px 28px #1b37250f}
html .relief-gallery img{display:block;width:100%;height:350px;object-fit:cover;object-position:center 38%}
html .relief-gallery figure:last-child img{object-position:center 30%}
html .relief-gallery figcaption{display:grid;gap:6px;padding:17px 18px 20px;color:#294938}
html .relief-gallery figcaption strong{font-size:17px}
html .relief-gallery figcaption span{font-size:14px;line-height:1.6;color:#4c5e50}
html .relief-closing{padding-block:75px 90px;max-width:820px}
html .relief-closing h2{margin:14px 0 22px}
html .relief-closing .coming-soon-label{border-color:#9b8b63;color:#3f513e}
@media(max-width:850px){html .zakah-explainer,html .zakah-calculator-layout,html .zakah-recipients>div:first-child,html .relief-story,html .relief-history-heading{grid-template-columns:1fr;gap:25px}html .zakah-explainer h2,html .zakah-recipients h2,html .relief-story h2,html .relief-history-heading h2{grid-row:auto}html .zakah-recipient-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html .relief-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}html .relief-gallery figure:last-child{grid-column:1/-1;max-width:calc(50% - 9px)}}
@media(max-width:600px){html .zakah-page-hero-inner{padding-block:52px 55px}html .zakah-page-hero-inner>p:not(.eyebrow),html .relief-hero-copy>p:not(.eyebrow){font-size:17px}html .zakah-explainer,html .zakah-recipients{padding-block:55px}html .zakah-calculator-section{padding-block:52px}html .zakah-calculator{padding:19px}html .zakah-calc-fields{grid-template-columns:1fr}html .zakah-recipient-grid{grid-template-columns:1fr}html .zakah-guidance-grid{grid-template-columns:1fr;gap:25px}html .zakah-give-card{display:grid;padding:24px}html .relief-hero{min-height:600px}html .relief-hero-copy{padding-block:52px}html .relief-hero-shade{background:linear-gradient(90deg,#142f26e8 0%,#173c30a6 100%),linear-gradient(0deg,#173c3073,#173c3000 50%)}html .relief-story{padding-block:55px}html .relief-history{padding-block:55px}html .relief-gallery{grid-template-columns:1fr}html .relief-gallery figure:last-child{grid-column:auto;max-width:none}html .relief-gallery img{height:340px}html .relief-closing{padding-block:54px 65px}}

html .af-feature{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);align-items:center;gap:clamp(28px,5vw,72px);padding-block:clamp(32px,6vw,82px)}
html .af-feature-copy h1,html .af-service h1{font:400 clamp(2.8rem,5.2vw,5rem)/1.05 var(--display);letter-spacing:-.035em;margin:14px 0 25px;color:#203f32}
html .af-feature-copy p:not(.eyebrow),html .af-reading p:not(.eyebrow),html .af-archive>p{font-size:1.1rem;line-height:1.8;color:#364d40;max-width:70ch;margin:0 0 18px}
html .af-feature figure,html .af-drawings figure,html .af-photo-grid figure{margin:0}
html .af-feature img,html .af-drawings img,html .af-photo-grid img{display:block;width:100%;height:auto}
html .af-feature figure:not(.af-plan)>img{aspect-ratio:3/2;object-fit:cover}
html .af-feature-copy .af-estimate{display:grid;gap:2px;padding-block:14px;border-block:1px solid #c5cebd;font-size:.95rem;margin-block:22px}
html .af-estimate strong{font:400 2.4rem/1.1 var(--display);color:#204a36}
html .af-feature figcaption,html .af-drawings figcaption,html .af-photo-grid figcaption{font-size:.95rem;line-height:1.65;color:#3c5242;margin-top:10px}
html .af-reading,html .af-archive{padding-block:clamp(30px,4vw,60px);border-top:1px solid #ced6c7}
html .af-reading h2,html .af-archive h2{font:400 clamp(1.75rem,3vw,2.75rem)/1.18 var(--display);color:#203f32;margin:0 0 15px;letter-spacing:-.02em}
html .af-reading p+h2{margin-top:32px}
html .af-photo-grid,html .af-drawings{display:grid;gap:24px;margin:28px 0;grid-template-columns:repeat(3,minmax(0,1fr))}
html .af-photo-grid img{aspect-ratio:4/3;object-fit:cover}
html .af-photo-grid figcaption strong{display:block;color:#203f32}
html .af-drawings{grid-template-columns:repeat(2,minmax(0,1fr))}
html .af-service{padding-block:clamp(48px,8vw,108px)}
html .af-reading p a,html .af-source a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:720px){html .af-feature,html .af-photo-grid,html .af-drawings{grid-template-columns:1fr;gap:24px}html .af-relief-feature figure{order:-1}html .af-photo-grid img{aspect-ratio:auto;max-height:540px;object-fit:contain;background:#f0eee6}}
html .appeal-checkout,html .trace-story{padding-block:clamp(32px,5vw,74px);scroll-margin-top:110px}
html .appeal-checkout{display:grid;grid-template-columns:1fr minmax(280px,520px);gap:clamp(24px,5vw,68px);align-items:start}
html .appeal-checkout form{display:grid;gap:13px;padding:clamp(18px,3vw,32px);background:#fffdf8;border:1px solid #c9d2c7;color:#203d32}
html .appeal-checkout fieldset{padding:0;border:0;min-width:0}
html .appeal-checkout legend{margin-bottom:10px}
html .appeal-checkout label{display:grid;gap:7px}
html .appeal-checkout input:not([type=checkbox]),html .appeal-checkout select{width:100%;padding:11px 12px;border:1px solid #809885;background:white;color:#18382a;font:inherit}
html .appeal-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
html .appeal-amounts button{min-height:44px;background:#fff;border:1px solid #b7c6b9;color:#214a39;cursor:pointer}
html .appeal-amounts button[aria-pressed=true]{color:white;background:#214a39}
html .appeal-checkout .trace-toggle{display:flex;align-items:flex-start;gap:12px;padding-block:12px}
html .trace-toggle input{width:20px;height:20px;flex:none;accent-color:#214a39}
html .trace-toggle small{display:block;margin-top:4px;font-size:14px}
html .trace-story ol{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;list-style:decimal inside;margin:24px 0;padding:0}
html .trace-story li{padding:18px 0;border-top:2px solid #a78a48}
html .trace-story li p{margin:10px 0}
html .appeal-checkout [data-feedback]:empty{display:none}
html [data-use-estimate][hidden]{display:none}
@media(max-width:720px){html .appeal-checkout,html .trace-story ol{grid-template-columns:1fr;gap:14px}}

@font-face {font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url('/type/cormorant-garamond-italic-500.woff') format('woff')}
@font-face {font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('/type/cormorant-garamond-normal-500.woff') format('woff')}
@font-face {font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url('/type/cormorant-garamond-normal-600.woff') format('woff')}
@font-face {font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/type/dm-sans-normal-400.woff') format('woff')}
@font-face {font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/type/dm-sans-normal-500.woff') format('woff')}
@font-face {font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/type/dm-sans-normal-600.woff') format('woff')}
@font-face {font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('/type/dm-sans-normal-700.woff') format('woff')}

/* Editorial type and recurring page furniture. */
:root {
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
}
html body, html .button, html .eyebrow, html .nav nav>a:not(.button),
html .nav-dropdown summary, html .service-nav, html .section-nav-dropdown summary,
html .section-nav-empty, html .nav-dropdown-links a, html .video-card h3 {
  font-family: var(--sans);
}
html main :is(h1,h2), html .af-feature h1, html .section-heading h2,
html .community-story h2, html .essentials-home h2, html .visit-editorial h2,
html .programme-copy h3, html .causes-grid h3, html .support-links h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.028em;
}
html .section-heading h2, html .community-story h2, html .essentials-home h2 {
  font-size: clamp(2.6rem, 4.7vw, 4.35rem);
  line-height: 1.02;
}
html .eyebrow {font-size:.79rem;font-weight:600;letter-spacing:.08em}
html .section-heading>p, html .community-story p, html .af-reading p {line-height:1.75;text-wrap:pretty}
html :is(.section,.community-editorial,.visit-editorial) {padding-block:clamp(3rem,6vw,6rem)}
html .section-heading {margin-bottom:clamp(1.6rem,3vw,3rem)}
html .section-heading h2 em, html .community-story h2 em {color:var(--af-gold)}
html .programme-copy h3, html .causes-grid h3 {font-size:clamp(1.8rem,2.7vw,2.6rem);line-height:1.07}
html .home-lead {margin-top:0;width:100%;max-width:none;border-radius:0;border:0;border-bottom:1px solid var(--af-line)}
html .home-lead .heritage-hero {display:flex;align-items:flex-end;min-height:520px;padding:clamp(2rem,5vw,5.5rem)}
html .home-lead .hero-photo {
  background:linear-gradient(90deg,#102d2355,transparent 88%),linear-gradient(0deg,rgba(12,36,27,.97) 0%,rgba(16,42,31,.78) 38%,rgba(16,42,31,.14) 82%),
    var(--editor-hero-photo, url('/history-exterior-26.webp')) center 45%/cover no-repeat;
  opacity:1;filter:none;transform:none;
}
html .home-lead .hero-lines {display:none}
html .home-lead .hero-centre {width:100%;max-width:650px;padding:0;margin:0;text-align:left}
html .home-lead .hero-location {text-transform:none;font:500 .95rem/1.4 var(--sans);letter-spacing:.025em;color:#fff9e7}
html .home-lead .hero-centre h1 {font:500 clamp(3.8rem,6.2vw,6.4rem)/.91 var(--display);letter-spacing:-.035em;margin:1rem 0 1.2rem}
html .home-lead .hero-centre h1 em {color:#f0dbab}
html .home-lead .hero-description {font:400 clamp(1rem,1.3vw,1.16rem)/1.6 var(--sans);color:white;max-width:40ch}
html .home-lead .actions {justify-content:flex-start}
html .home-lead .actions .button.whatsapp-enquiry {background:transparent;border:0;padding-inline:0;text-decoration:underline;text-underline-offset:.28em}
html .home-prayer-panel {align-self:stretch;padding:clamp(1.6rem,3vw,3.5rem);border-top:3px solid #b39558}
html .home-prayer-heading h2 {font:500 clamp(2.4rem,3.5vw,3.55rem)/1.05 var(--display)}
html .home-prayer-heading .eyebrow {display:none}
html .support-links a {display:flex}
html .programme-card,.video-card,.causes-grid>article {border-radius:3px;box-shadow:none}
html .video-card h3 {line-height:1.45}
html .visitor-links {margin-block:0;border-bottom:1px solid var(--af-line);background:transparent}
html .visitor-links a {padding-block:1.5rem}
html .visitor-links strong {font:600 clamp(1.4rem,2vw,1.85rem)/1.2 var(--display)}
html .programme-card>img {border-radius:0}
html .relief-banner {position:relative;isolation:isolate;display:grid;align-items:end;min-height:clamp(420px,40vw,690px);background:#18382b;color:white;overflow:hidden}
html .relief-film {position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}
html .relief-banner::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#102d23f5 0%,#102d23ce 26%,#102d2394 42%,transparent 66%),linear-gradient(0deg,#102d2352,transparent 38%)}
html .relief-banner-inner {width:min(1240px,calc(100% - 64px));margin-inline:auto;padding-block:clamp(3.5rem,6vw,7rem)}
html .relief-banner-copy {max-width:min(46%,33rem)}
html .relief-banner-copy .eyebrow {color:#ead7ab;margin:0 0 1.35rem}
html .relief-banner-copy h1 {font:500 clamp(4rem,6.4vw,7rem)/.98 var(--display);color:#fffdf5;letter-spacing:-.035em;margin:0}
html .relief-banner-copy em {display:block;color:#efd9a7}
html .relief-banner-copy>p:not(.eyebrow) {font:400 clamp(1rem,1.3vw,1.18rem)/1.65 var(--sans);color:#fffdf5;margin:1.3rem 0;max-width:37ch}
html .relief-archive-link {display:inline-block;color:#fff8e6;text-decoration:underline;text-underline-offset:.35em;font-weight:500;padding-block:.6rem}
html .relief-playback {position:absolute;right:clamp(1rem,3vw,3rem);bottom:1.25rem;padding:.65rem 1rem;min-height:44px;border:1px solid #e3ddca;border-radius:3rem;background:#17382be6;color:white;font:500 .9rem var(--sans);cursor:pointer}
html .relief-playback[hidden] {display:none}
html .relief-caption {background:#163b2d;color:#eee8db;padding:.75rem 0}
html .relief-caption p {color:#eee8db;margin:0 auto;font:400 .82rem/1.55 var(--sans)}
html .relief-letter {display:grid;grid-template-columns:1fr 1.12fr;gap:8%;padding-block:clamp(3.5rem,7.5vw,8rem)}
html .relief-letter .eyebrow {margin:0 0 1.2rem}
html .relief-letter h2, html .relief-archive h2 {font:500 clamp(2.8rem,4.8vw,4.8rem)/1.01 var(--display);margin:0}
html .relief-letter h2 em {color:var(--af-gold)}
html .relief-letter p:not(.eyebrow) {font-size:1.06rem;line-height:1.75;max-width:55ch;margin:0 0 1rem}
html .relief-letter>div+div>p:first-child {font:500 clamp(1.65rem,2.3vw,2.2rem)/1.22 var(--display);margin-bottom:1.2rem}
html .relief-archive>p {margin-top:1rem}
html .relief-archive figcaption strong {font:600 1.55rem/1.3 var(--display)}
@media (min-width:801px) {
  html .home-lead {grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr)}
}
@media (max-width:800px) {
  html .home-lead {width:100%;border-radius:0}
  html .home-lead .heritage-hero {min-height:27rem;padding:2rem clamp(1.2rem,5vw,2.6rem)}
  html .home-lead .hero-centre h1 {font-size:clamp(3.6rem,10vw,5rem)}
  html .relief-banner {display:flex;flex-direction:column;align-items:stretch;min-height:0;background:#163b2d}
  html .relief-film {position:relative;inset:auto;z-index:0;display:block;aspect-ratio:2.35/1;height:auto;object-position:68% center}
  html .relief-banner::before {display:none}
  html .relief-banner-inner {padding-block:1.65rem;width:calc(100% - 40px)}
  html .relief-banner-copy {max-width:37rem}
  html .relief-banner-copy h1 {font-size:clamp(3rem,9vw,4.5rem)}
  html .relief-banner-copy h1 em {display:inline}
  html .relief-banner-copy .eyebrow {margin-bottom:.65rem}
  html .relief-banner-copy>p:not(.eyebrow) {margin:.9rem 0 .6rem}
  html .relief-playback {bottom:auto;top:.7rem;right:.7rem}
  html .relief-caption {border-top:1px solid #496455}
  html .relief-letter {grid-template-columns:1fr;gap:1.8rem}
}
html .service-nav .section-nav-empty {color:#41564a;opacity:1}
html .relief-banner {border-radius:0}
html .relief-banner::after {content:none}
html .relief-banner-copy {position:static}

/* Relief archive slideshow, review strip and visitor guide. */
html .relief-stills {
  position:absolute;inset:0;z-index:-2;overflow:hidden;
}
html .relief-stills img {
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
}
html .relief-stills img+img {opacity:0}
html .relief-banner.is-moving .relief-stills img+img {animation:relief-photo-cycle 15s ease-in-out infinite}
@keyframes relief-photo-cycle {
  0%,39%,100% {opacity:0}
  49%,89% {opacity:1}
}
html .topline .utility-clock {margin-inline-start:auto}
html .reviews-heading {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}
html .reviews-heading h2 {margin:0}
html .reviews-heading button[hidden] {display:none}
html .review-window {overflow-x:auto;overscroll-behavior-inline:contain}
html .review-track,html .review-set {display:flex;width:max-content}
html .review-set {gap:1rem;padding:0 1rem 0 0}
html .review-set[aria-hidden] {display:none}
html .review-window:not(:focus-within):not(:hover) .review-track {will-change:transform}
html .is-moving .review-window:not(:focus-within) {overflow:hidden}
html .is-moving .review-track {animation:review-cycle 48s linear infinite}
html .is-moving .review-track:hover {animation-play-state:paused}
html .review-window:focus-within .review-track {animation:none}
html .is-moving .review-set[aria-hidden] {display:flex}
html .review-set figure {
  margin:0;display:flex;flex-direction:column;width:min(23rem,80vw);padding:1.45rem;
  background:var(--af-surface);border:1px solid var(--af-line);border-radius:5px;
}
html .review-set p {line-height:1.6;margin:.7rem 0 1rem}
html .review-stars {color:var(--af-gold);font-size:1rem;letter-spacing:.1em}
html .review-set figcaption {margin-top:auto;font-weight:600;color:var(--af-ink)}
html .review-source {font-size:.875rem;margin-top:1.2rem}
@keyframes review-cycle {to {transform:translateX(-50%)}}
html .islam-reverts {background:var(--af-soft);border:1px solid var(--af-line);padding:clamp(1.35rem,4vw,3rem);border-radius:5px}
html .islam-reading h2:not(:first-child) {margin-top:2.5rem}
html .islam-pillars {max-width:70ch;margin:0}
html .islam-pillars div {padding:.85rem 0;border-bottom:1px solid var(--af-line)}
html .islam-pillars dt {font-weight:700}
html .islam-pillars dd {margin:.3rem 0 0}
@media(max-width:800px) {
  html .relief-stills {position:relative;inset:auto;z-index:0;aspect-ratio:2.35/1}
  html .topline .utility-clock {margin-inline-start:0}
}

html .wudhu-tally {
  max-width:32rem;margin:1.5rem 0;padding:1rem 1.15rem;border:1px solid #cbd6cd;
  border-radius:.4rem;background:var(--af-surface);
}
html .wudhu-tally-label {display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;flex-wrap:wrap}
html .wudhu-tally-label strong {font-size:1.35rem;color:var(--af-green)}
html .wudhu-tally progress {display:block;width:100%;height:.85rem;margin:.55rem 0;accent-color:var(--af-green)}
html .wudhu-tally p {font-size:.85rem;margin:0;color:var(--af-muted)}
html .appeal-checkout .donation-choice {display:flex;align-items:flex-start;gap:.55rem}
html .appeal-checkout .donation-choice input {width:1rem;height:1rem;flex:0 0 auto;margin-top:.3rem}
html .appeal-checkout .gift-aid-box small {display:block}
html .appeal-checkout [data-gift-aid-fields]:not([hidden]) {display:grid;gap:.8rem}
html .giving-transparency {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.4rem;
  margin-block:2.2rem;padding:clamp(1.35rem,4vw,3rem);background:var(--af-soft);border-left:4px solid var(--af-green);
}
html .giving-transparency h2 {margin:.25rem 0 .6rem}
html .giving-transparency p {max-width:64ch;margin:0}
html .giving-transparency .actions {margin:0;align-items:center}
html .causes-section .giving-transparency {width:100%}

html .wudhu-timeline {list-style:none;margin:1.3rem 0;padding:0;border-left:2px solid var(--af-line)}
html .wudhu-timeline li {padding:.6rem 0 .6rem 1.15rem}
html .wudhu-timeline li strong {color:var(--af-green)}
html .wudhu-timeline li p {margin:.15rem 0 0}
html .appeal-checkout .trace-toggle:has(input[name="trace"]) {
  padding:.85rem 1rem;background:var(--af-soft);border:1px solid var(--af-line);border-radius:.4rem;
}

.centre-page-update {margin-block:2rem;padding:1.5rem clamp(1rem,4vw,2.5rem);border-left:4px solid #947335;background:#ecf1e9;color:#163c30}
.centre-page-update h2 {margin:0 0 .45rem;font-size:1.65rem}
.centre-page-update p {margin:0;font-size:1.05rem}
.complaint-form [hidden]{display:none!important}
.complaint-form select{padding:.7rem;border:1px solid #839589;border-radius:4px;background:white;font:inherit;color:#163c30}

.footer-grid .footer-logins{margin-top:1.5rem}.footer-grid .footer-logins h3{margin-bottom:.5rem}.footer-grid .footer-logins a{display:block;font-size:.94rem}

/* Clearer public navigation and editorial photographs. */
html .page-intro h1,html .about-intro h1 {font-size:clamp(3rem,6.2vw,6rem);line-height:.99;text-wrap:balance}
html .nav nav>a:not(.button),html .nav-dropdown summary,
html .section-nav-dropdown>summary,html .section-nav-empty {font-size:1rem;font-weight:600}
@media(min-width:801px) {
 html .section-nav-links,html .nav-dropdown-links {top:100%;margin-top:0}
}
html .centre-posters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.75rem,2.3vw,1.75rem);margin:0}
.centre-posters>button {display:flex;align-items:center;justify-content:center;padding:0;background:#eaece5;border:1px solid #d5ddd3;border-radius:5px;cursor:zoom-in;overflow:hidden}
.centre-posters img {display:block;width:100%;height:auto;max-height:450px;object-fit:contain}
.centre-poster-view {position:fixed;max-width:min(94vw,780px);max-height:94vh;margin:auto;border:0;border-radius:8px;padding:.85rem;background:#f7f7f0}
.centre-poster-view::backdrop {background:#10251de5}
.centre-poster-view img {display:block;width:auto;height:auto;max-width:100%;max-height:81vh;margin:auto}
.centre-poster-view button {display:block;margin:0 0 .65rem auto;padding:.35rem .7rem;color:#173f30;background:#e0e8dd;border-radius:4px}
html .editor-gallery {padding-block:clamp(2rem,5vw,4rem)}
.editor-gallery-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}
.editor-gallery img {display:block;width:100%;max-height:460px;object-fit:contain;background:#ecf0e8;border-radius:5px}
@media(max-width:650px) {html .centre-posters {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px) {html .centre-posters {grid-template-columns:minmax(0,1fr)}}

/* Keep giving visible in both the full navigation and the mobile header. */
html .nav .nav-donate,html .donate-float.donate-cta {
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;flex:none;
  min-width:144px;min-height:52px;padding:.7rem 1.35rem;border-radius:7px;
  border:1px solid #ad8c4a;background:#f0d394;color:#234032;
  font:700 1rem/1.18 var(--sans);text-decoration:none;letter-spacing:0;white-space:nowrap;
}
html .donate-cta>span {font-size:1.4rem;line-height:1}
html .nav .nav-donate:hover,html .donate-float.donate-cta:hover {background:#e9c477;color:#173729;border-color:#967235;transform:none}
html .nav-donate:focus-visible,html .donate-float:focus-visible,.news-channel-link:focus-visible {
  outline:3px solid #1e4b3a;outline-offset:3px;
}
html .nav-donate[aria-current=page] {border-color:#234032}
html .donate-float.donate-cta {left:clamp(12px,2vw,24px);right:auto}
html .nav nav {margin-left:auto}
html .nav .menu-toggle {margin-left:auto}
@media(max-width:800px) {
  html .nav .nav-donate,html .donate-float.donate-cta {min-width:110px;min-height:46px;padding:.55rem .8rem;font-size:.94rem}
  html .nav {gap:.65rem}
}
@media(max-width:390px) {
  html .nav .logo {width:108px}
  html .nav .menu-toggle {gap:.5rem;padding-inline:.65rem}
  html .nav .nav-donate {min-width:96px;padding-inline:.6rem}
}

.news-channel {
  display:flex;align-items:center;justify-content:space-between;gap:1.25rem 2rem;
  margin-bottom:clamp(1.25rem,3vw,2.4rem);padding-bottom:clamp(1rem,2.6vw,1.75rem);
  border-bottom:1px solid #abbcaf;
}
.news-channel h2 {margin:0;font-size:clamp(2.6rem,4.7vw,4.35rem);line-height:1.02}
.news-channel p {margin:.65rem 0 0;max-width:48ch;color:var(--af-muted);line-height:1.55}
html .news-channel-link {
  display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:49px;
  padding:.75rem 1.25rem;border-radius:6px;background:#194d3a;border:1px solid #194d3a;
  color:#fffaf1;font:700 .97rem/1.2 var(--sans);text-decoration:none;white-space:nowrap;
}
html .news-channel-link:hover {background:#123a2c;color:#fffaf1}
.centre-poster-actions {display:flex;justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:.65rem}
html .centre-poster-actions button {margin:0 0 0 auto;min-height:44px}
@media(max-width:680px) {
  .news-channel {display:grid;justify-content:start}
  .news-channel .news-channel-link {justify-self:start}
}

/* Wudhu appeal walk-through and comparison. */
html .wudhu-project-story {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(1.5rem,5vw,4rem);align-items:start}
html .wudhu-project-story h2,html .wudhu-existing h2 {font-size:clamp(2.1rem,4.1vw,3.6rem);line-height:1.04;margin-top:0}
.wudhu-project-story h3 {margin:1.2rem 0 .7rem}
.wudhu-visual {margin:0;background:#f2f3eb;border:1px solid #c9d4c7;border-radius:8px;padding:clamp(.9rem,2.25vw,1.4rem)}
.wudhu-visual h3 {margin-top:0}
.wudhu-visual .wudhu-comparison {aspect-ratio:3/4}
.wudhu-visual .history-comparison-labels,.wudhu-visual figcaption {font-size:.9rem;color:#3c5242}
.wudhu-visual figcaption {margin-top:.8rem}
.wudhu-film {margin-top:1.6rem}
.wudhu-film video {display:block;width:100%;max-width:270px;height:auto;aspect-ratio:9/16;background:#163f32;border-radius:7px}
.wudhu-existing .af-photo-grid {grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}
.wudhu-existing .af-photo-grid img {aspect-ratio:3/4;object-fit:cover}
figure>a[data-full-photo] {display:block;cursor:zoom-in}
figure>a[data-full-photo]:focus-visible {outline:3px solid #205641;outline-offset:4px}
@media(max-width:760px) {
  html .wudhu-project-story {grid-template-columns:minmax(0,1fr)}
  .wudhu-visual {max-width:540px}
}

@media(max-width:800px) {
  html .section-nav {display:none}
  html:has(.mobile-drawer[open]) {overflow:hidden}
  html .mobile-drawer {
    position:fixed;inset:0 0 0 auto;margin:0;box-sizing:border-box;
    width:min(82vw,24rem);height:100vh;height:100dvh;max-height:none;max-width:none;
    padding:0;border:0;border-left:2px solid #d5b46b;
    background:#19382e;color:#fbf8ed;overscroll-behavior:contain;
  }
  .mobile-drawer::backdrop {background:#0c2019a3}
  @media(prefers-reduced-motion:no-preference) {
    .mobile-drawer[open] {animation:mobile-drawer-enter .22s ease-out}
  }
  @keyframes mobile-drawer-enter {from {transform:translateX(100%)}}
  .mobile-drawer-body {min-height:100%;padding:0 1.15rem max(1.5rem,env(safe-area-inset-bottom))}
  .mobile-drawer-heading {display:flex;align-items:center;justify-content:space-between;padding:1rem 0 .6rem}
  html .mobile-drawer h2 {margin:0;color:#fbf8ed;font:650 1.1rem/1.25 var(--sans)}
  html .mobile-drawer-close {
    display:grid;place-items:center;width:44px;height:44px;padding:0;
    border:1px solid #71877a;border-radius:6px;background:transparent;color:#fbf8ed;font-size:1.6rem;
  }
  .mobile-drawer-group + .mobile-drawer-group {margin-top:1.15rem}
  html .mobile-drawer-group > *,html .mobile-drawer details > summary {margin:0;border-radius:0}
  html .mobile-drawer-group > * + * {border-top:1px solid #527063}
  html .mobile-drawer-group > a,html .mobile-drawer details > summary,html .mobile-drawer .section-nav-empty {
    display:flex;align-items:center;justify-content:space-between;gap:.75rem;
    min-height:3.25rem;padding:.65rem .2rem;color:#fbf8ed;background:transparent;
    font:600 .98rem/1.35 var(--sans);text-decoration:none;list-style:none;white-space:normal;
  }
  html .mobile-drawer .section-nav-empty {color:#bdd1c4}
  html .mobile-drawer [aria-current=page],html .mobile-drawer details[open]>summary {color:#f0d394}
  html .mobile-drawer .nav-disclosure {color:#d3dfd5;margin-right:.45rem}
  html .mobile-drawer .mobile-subnav {padding:0 0 .6rem .85rem}
  html .mobile-drawer .mobile-subnav a {
    display:flex;min-height:44px;flex-direction:column;justify-content:center;
    padding:.5rem .35rem;color:#fbf8ed;font-size:.9rem;text-decoration:none;
  }
  html .mobile-drawer .mobile-subnav small {color:#c8d8cd}
  html .mobile-drawer-group > a[href="/donate/"] {color:#f0d394}
  html .mobile-drawer :is(a,button,summary):focus-visible {outline:2px solid #f0d394;outline-offset:2px}
}

/* The campaign artwork and prayer timetable share the homepage's opening row. */
html .home-lead.home-campaigns {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  max-width:none;
  margin:0;
  background:var(--af-surface);
}
html .home-campaigns .home-prayer-panel {
  order:0;
}
html .home-lead.home-welcome {
  display:block;
}
html .home-welcome .heritage-hero {
  min-height:0;
  padding:clamp(2rem,4vw,4rem) 0;
}
html .home-welcome .hero-centre {
  width:min(1240px,calc(100% - 40px));
  max-width:none;
  margin-inline:auto;
}
html .home-welcome .hero-centre h1 {
  font-size:clamp(2.7rem,5vw,4.25rem);
  line-height:1.02;
}
html .home-featured {
  --featured-background:#091827;
  display:flex;
  flex-direction:column;
  min-width:0;
  background:var(--featured-background);
  color:#fffdf5;
}
html .home-featured[data-active-slide="home-wudhu"] {
  --featured-background:#142d23;
}
html .home-featured-slides {
  flex:1;
}
html .home-featured[data-active-slide] .home-featured-slides {
  display:grid;
}
html .home-featured[data-active-slide] .home-featured-slide {
  grid-area:1/1;
}
html .home-featured-slide[inert] {
  visibility:hidden;
}
html .home-featured-scholars {
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#091827;
}
html .home-featured-scholars picture,
html .home-featured-scholars img {
  display:block;
  width:100%;
}
html .home-featured-scholars img {
  height:auto;
  aspect-ratio:1122/1402;
}
html .home-featured-update {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:.35rem 1rem;
  padding:.75rem 1rem .15rem;
  text-align:center;
}
html .home-featured-update p,
html .home-featured-update a {
  margin:0;
  color:#fffdf5;
  font-size:1rem;
}
html .home-featured-update a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:#96ecff;
  font-weight:650;
  text-decoration:underline;
  text-underline-offset:.2em;
}
html .home-featured-wudhu {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:25rem;
  overflow:hidden;
  background:#142d23;
  padding:clamp(1.25rem,5vw,5rem);
}
html .home-featured-wudhu::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,#0d2219fb 0%,#0d2219e8 33%,#0d221980 64%,#0d22191a 100%),
    linear-gradient(0deg,#0d2219d9,transparent 29%);
}
html .home-featured-wudhu-photo {
  position:absolute;
  z-index:-2;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:60% 53%;
}
html .home-featured-copy {
  max-width:min(72%,35rem);
}
html .home-featured-copy h2 {
  color:#fffdf5;
  font-size:clamp(3rem,6.5vw,6rem);
  line-height:.99;
  margin:.55rem 0 1rem;
}
html .home-featured-copy p {
  margin:0 0 1rem;
  max-width:37ch;
  color:#fffdf5;
  font-size:clamp(1rem,1.5vw,1.2rem);
  line-height:1.55;
}
html .home-featured-copy .home-featured-kicker {
  color:#f6d99d;
  font-size:1rem;
  font-weight:650;
}
html .home-featured-copy .button {
  margin-top:.35rem;
  background:#f0d499;
  border-color:#f0d499;
  color:#102422;
}
html .home-featured-copy .button:hover {
  background:#fffdf5;
  border-color:#fffdf5;
  color:#102422;
}
html .home-featured-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin:.35rem 0 0 .75rem;
  color:#fffdf5;
  font-size:1rem;
  text-decoration:underline;
  text-underline-offset:.2em;
}
html .home-featured-caption {
  position:absolute;
  inset:auto 1.25rem .8rem;
  margin:0;
  color:#fffdf5;
  font-size:.875rem;
  text-align:right;
}
html .home-featured-controls {
  display:flex;
  justify-content:center;
}
html .home-featured-controls button {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:0;
  background:transparent;
  color:#fffdf5;
  cursor:pointer;
}
html .home-featured-controls button::before {
  content:"";
  width:10px;
  height:10px;
  border:1px solid currentColor;
  border-radius:50%;
}
html .home-featured-controls button[aria-pressed="true"]::before,
html .home-featured-controls button:hover::before {
  background:currentColor;
}
html .home-featured :focus-visible {
  outline-color:#fffdf5;
  outline-offset:-3px;
}
@media (min-width:641px) {
  html .home-featured-scholars img {aspect-ratio:1440/940}
}
@media (min-width:1041px) {
  html .home-lead.home-campaigns {
    grid-template-columns:minmax(0,1fr) clamp(305px,24vw,420px);
  }
  html .home-campaigns .home-prayer-panel {
    border-top:0;
    border-inline-start:1px solid var(--af-line);
    padding:clamp(1.15rem,2vw,2.25rem);
  }
  html .home-campaigns .home-prayer-heading h2 {font-size:clamp(1.85rem,2.5vw,3rem)}
}
@media (max-width:640px) {
  html .home-featured-update {flex-direction:column;gap:0}
  html .home-featured-wudhu {
    justify-content:flex-end;
    padding:1.35rem 1.25rem 3.05rem;
  }
  html .home-featured-wudhu::before {
    background:linear-gradient(0deg,#0d2219 0%,#0d2219f5 36%,#0d2219ce 60%,#0d22192e 100%);
  }
  html .home-featured-copy {max-width:none}
  html .home-featured-caption {text-align:left}
}
