:root {
  --forest: #103c32;
  --forest-deep: #082c25;
  --green: #1e624e;
  --green-soft: #e6eee8;
  --gold: #e5bc6b;
  --gold-deep: #c49642;
  --ink: #17372e;
  --muted: #65746c;
  --paper: #f6f7f3;
  --white: #fff;
  --line: #dce3dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1180px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body, button, input, textarea { font-family: var(--sans); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--forest-deep); background: #f3d991; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; color: white; background: var(--forest); border-radius: 5px; }
.skip-link:focus { transform: translateY(0); }
.section { width: var(--page); max-width: 1180px; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.3; }
.eyebrow-dark { color: #668276; }
.eyebrow-light { color: #c9d9cf; }
.eyebrow-gold { color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
h1 em, h2 em { color: var(--gold); font-weight: 500; }
h2 { font-size: clamp(38px, 4.5vw, 58px); margin-bottom: 18px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #2e2b20; background: var(--gold); }
.button-gold:hover { background: #f0cb7b; }
.button-dark { color: #fff; background: var(--forest); }
.button-dark:hover { background: #1d5a47; }
.button-light { color: var(--forest); background: white; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.45); background: transparent; }
.button-outline-light:hover { border-color: white; background: rgba(255,255,255,.08); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 13px; font-weight: 700; border-bottom: 1px solid #b5c8bc; padding-bottom: 3px; transition: gap .2s ease; }
.text-link:hover { gap: 15px; }
.text-link-light { color: white; border-color: rgba(255,255,255,.35); }

/* Utility strip and navigation */
.utility-bar { position: relative; z-index: 30; color: #edf3ee; background: var(--forest-deep); font-size: 11px; }
.utility-inner { width: var(--page); min-height: 42px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.utility-prayer, .daily-hadith { display: flex; align-items: center; gap: 11px; min-width: 0; }
.utility-location { white-space: nowrap; color: #c4d6ca; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: #9cc783; box-shadow: 0 0 0 3px rgba(156,199,131,.14); }
.utility-divider { width: 1px; height: 17px; background: rgba(255,255,255,.2); }
.next-prayer-label, .hadith-label { color: #9db7a8; font-size: 9px; letter-spacing: .12em; }
.utility-prayer strong { color: #fff; }
.countdown { color: var(--gold); font-variant-numeric: tabular-nums; }
.utility-link { padding: 0; border: 0; color: #fff; background: none; font-size: 11px; cursor: pointer; }
.utility-link:hover { color: var(--gold); }
.daily-hadith { max-width: 53%; }
.hadith-mark { color: var(--gold); }
.daily-hadith p { overflow: hidden; margin: 0; color: #cddbd1; text-overflow: ellipsis; white-space: nowrap; }
.daily-hadith a { flex: none; color: var(--gold); font-size: 10px; }
.site-header { position: sticky; z-index: 25; top: 0; background: rgba(250,251,248,.97); border-bottom: 1px solid rgba(21,59,47,.08); backdrop-filter: blur(14px); }
.header-inner { width: var(--page); min-height: 84px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-symbol { width: 36px; height: 36px; position: relative; display: grid; place-items: center; transform: rotate(45deg); border: 1px solid #b69a59; border-radius: 2px; }
.brand-symbol::before, .brand-symbol::after { position: absolute; content: ""; width: 21px; height: 21px; border: 1px solid var(--green); border-radius: 2px; }
.brand-symbol::after { width: 7px; height: 7px; background: var(--gold); border: 0; }
.brand-symbol span { display: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 12px; letter-spacing: .13em; }
.brand-name small { margin-top: 5px; color: #73847a; font-size: 8px; letter-spacing: .19em; }
.primary-nav { display: flex; align-items: stretch; align-self: stretch; gap: clamp(12px, 2.2vw, 28px); }
.primary-nav > a, .nav-group > summary { display: inline-flex; align-items: center; gap: 5px; color: #3d574d; font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.primary-nav > a:hover, .nav-group > summary:hover, .nav-group[open] > summary { color: var(--green); }
.nav-group { position: relative; display: flex; align-items: stretch; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary span { color: #839388; font-size: 14px; }
.nav-menu { position: absolute; z-index: 10; top: calc(100% - 7px); left: -14px; width: 220px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; background: white; box-shadow: 0 16px 40px rgba(13,43,33,.13); }
.nav-menu a { display: block; padding: 10px 11px; border-radius: 3px; color: #43564c; font-size: 12px; }
.nav-menu a:hover { color: var(--forest); background: var(--green-soft); }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-contact { font-size: 12px; font-weight: 600; color: #52665b; }
.header-donate { min-height: 40px; padding-inline: 16px; font-size: 12px; }
.menu-toggle, .mobile-nav-actions { display: none; }
.app-banner { display: none; }

/* Hero */
.hero { min-height: max(620px, calc(100svh - 126px)); position: relative; display: flex; overflow: hidden; color: white; background: #143f33; }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,37,29,.95) 0%, rgba(7,37,29,.78) 37%, rgba(7,37,29,.26) 75%, rgba(7,37,29,.17) 100%), linear-gradient(0deg, rgba(4,27,21,.42), transparent 45%), url("/assets/iac-community-gathering.jpg"); background-position: center, center, center 75%; background-size: cover; transition: background-image .35s ease; }
.hero::after { position: absolute; inset: 0; content: ""; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40Z' fill='none' stroke='%23e5bc6b' stroke-width='.45'/%3E%3C/svg%3E"); background-size: 108px 108px; mask-image: linear-gradient(90deg, transparent 20%, #000 100%); }
.hero-shape { position: absolute; z-index: 1; border: 1px solid rgba(226,190,112,.36); transform: rotate(45deg); pointer-events: none; }
.hero-shape-one { width: 410px; height: 410px; top: 12%; right: -120px; border-color: rgba(226,190,112,.22); }
.hero-shape-two { width: 310px; height: 310px; top: 20%; right: -70px; border-color: rgba(226,190,112,.13); }
.hero-inner { position: relative; z-index: 2; width: var(--page); max-width: 1180px; margin: auto; padding-block: 72px 54px; display: grid; grid-template-columns: minmax(0, 1fr) 210px; align-items: center; gap: 50px; }
.hero-copy { max-width: 650px; }
.hero-eyebrow { color: #efd28f; letter-spacing: .14em; }
.hero-eyebrow span:first-child { width: 24px; height: 1px; background: var(--gold); }
.hero h1 { margin: 25px 0 16px; font-size: clamp(58px, 8vw, 104px); line-height: .99; color: white; }
.hero h1 em { color: var(--gold); }
.hero-description { max-width: 430px; margin-bottom: 26px; color: #e1e8e2; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pagination { display: flex; align-items: center; gap: 12px; margin-top: 55px; }
.hero-arrow { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.43); border-radius: 50%; color: white; background: transparent; cursor: pointer; transition: background .2s ease; }
.hero-arrow:hover { background: rgba(255,255,255,.13); }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { width: 22px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.42); cursor: pointer; }
.hero-dot.is-active { background: var(--gold); }
.hero-count { margin-left: 8px; color: #cad5cd; font-size: 10px; letter-spacing: .14em; }
.hero-side-note { align-self: center; display: flex; gap: 13px; color: #dbe4dd; font-family: var(--serif); font-size: 14px; line-height: 1.65; }
.hero-side-note strong { color: var(--gold); font-weight: 500; }
.side-note-line { width: 1px; min-height: 72px; background: var(--gold); }
.hero-location { position: absolute; right: 0; bottom: 38px; display: flex; align-items: center; gap: 10px; color: #e2e7e2; font-size: 10px; line-height: 1.5; }
.location-pin { color: var(--gold); font-size: 22px; }
.quick-actions { position: relative; z-index: 3; width: 100%; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: white; border-bottom: 1px solid #e2e9e2; }
.quick-action { min-height: 100px; padding: 20px 22px; display: flex; align-items: center; gap: 14px; border-right: 1px solid #e8ece7; transition: background .2s ease; }
.quick-action:last-child { border-right: 0; }
.quick-action:hover { background: #f2f6f1; }
.quick-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: none; border-radius: 50%; color: var(--green); background: #eaf1ec; }
.quick-icon svg, .service-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.quick-action small { display: block; margin-bottom: 3px; color: #87938b; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.quick-action strong { display: block; color: var(--ink); font-size: 12px; line-height: 1.25; }
.quick-arrow { margin-left: auto; color: #9aab9f; font-size: 14px; }

/* Prayer and programs */
.prayer-section { width: var(--page); max-width: 1050px; margin: 100px auto 112px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(45px, 9vw, 120px); }
.prayer-intro h2 { margin: 15px 0; font-size: clamp(38px, 4.2vw, 52px); }
.prayer-intro p { max-width: 370px; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.prayer-card { padding: 30px 34px 22px; color: white; background: var(--forest); box-shadow: 0 22px 48px rgba(9,51,39,.17); }
.prayer-card-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 19px; border-bottom: 1px solid rgba(255,255,255,.16); }
.prayer-card-head h3 { margin: 7px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.prayer-date { padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); color: #d6e3d8; font-size: 10px; }
.prayer-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.prayer-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #dce7de; font-size: 12px; }
.prayer-row strong { color: white; font-variant-numeric: tabular-nums; }
.prayer-row.is-next { color: var(--gold); }
.prayer-row.is-next strong { color: var(--gold); }
.prayer-note { margin: 15px 0 0; color: #b8cbbd; font-size: 10px; }
.programs-section { padding-block: 45px 108px; }
.section-heading { margin-bottom: 34px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading h2 { margin: 12px 0 0; }
.section-heading > p { max-width: 370px; margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.tabs { display: flex; gap: 25px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 12px 0 14px; border: 0; color: #819087; background: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.tab::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; content: ""; }
.tab.is-active { color: var(--forest); }
.tab.is-active::after { background: var(--gold-deep); }
.tab-panel[hidden] { display: none; }
.schedule-list { border-top: 1px solid var(--line); }
.schedule-card { min-height: 105px; display: grid; grid-template-columns: 78px minmax(190px,1fr) 135px 150px; align-items: center; gap: 20px; padding: 17px 5px; border-bottom: 1px solid var(--line); }
.schedule-day { width: 58px; height: 57px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #e9efe9; }
.schedule-day small { color: #75877b; font-size: 8px; letter-spacing: .12em; }
.schedule-day strong { color: var(--forest); font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.event-type { display: inline-block; margin-bottom: 4px; color: #698175; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.schedule-info h3 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.schedule-info p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.schedule-meta { display: flex; flex-direction: column; gap: 3px; }
.schedule-meta strong { color: var(--forest); font-size: 12px; }
.schedule-meta span { color: #849188; font-size: 10px; }
.calendar-button { min-height: 37px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d7e0d8; border-radius: 3px; color: #456355; background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.calendar-button:hover { background: #edf3ed; }
.calendar-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.schedule-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 0; color: #88958c; font-size: 11px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-pill { padding: 8px 14px; border: 1px solid var(--line); border-radius: 50px; color: #607168; background: white; font-size: 11px; cursor: pointer; }
.filter-pill:hover, .filter-pill.is-active { border-color: var(--forest); color: white; background: var(--forest); }
.special-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.special-card { min-height: 230px; padding: 23px 20px; border: 1px solid var(--line); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.special-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,60,45,.08); }
.special-card[hidden] { display: none; }
.special-icon { display: block; margin-bottom: 17px; color: var(--gold-deep); font-size: 23px; }
.special-card .event-type { font-size: 8px; }
.special-card h3 { margin: 8px 0; font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.25; }
.special-card p { min-height: 50px; color: var(--muted); font-size: 11px; }
.special-card .text-link { font-size: 10px; }
.programs-disclaimer { margin: 16px 0 0; color: #829087; font-size: 10px; }

/* About and learning */
.about-section { min-height: 500px; padding: 85px max(32px, calc((100% - 1180px)/2)); display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: clamp(55px, 8vw, 110px); color: white; background: var(--forest); }
.about-image-wrap { position: relative; height: 390px; }
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.image-caption { position: absolute; right: 15px; bottom: 15px; left: 15px; padding: 12px 14px; color: white; background: rgba(9,39,30,.76); font-family: var(--serif); font-size: 14px; }
.about-seal { position: absolute; top: -22px; right: -22px; width: 76px; height: 76px; display: grid; place-content: center; border: 1px solid #e4c273; border-radius: 50%; color: var(--gold); background: var(--forest); text-align: center; font-family: var(--serif); font-size: 19px; line-height: 1.1; }
.about-seal small { font-family: var(--sans); font-size: 7px; letter-spacing: .12em; }
.about-copy { max-width: 520px; }
.about-copy h2 { margin: 15px 0 19px; font-size: clamp(38px, 4.3vw, 56px); }
.about-copy > p { color: #d0ded4; font-size: 13px; }
.about-values { display: flex; flex-wrap: wrap; gap: 12px 21px; margin: 28px 0; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.about-values span { color: #e3ebe4; font-size: 10px; }
.about-values b { margin-right: 6px; color: var(--gold); font-size: 9px; }
.education-section { padding-block: 105px 115px; }
.education-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 15px; }
.education-card { position: relative; overflow: hidden; background: #173f34; }
.education-card-tall { grid-row: span 2; }
.education-card-wide { grid-column: span 2; }
.education-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.education-card:hover img { transform: scale(1.045); }
.education-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,28,21,.9), rgba(5,28,21,.02) 80%); }
.education-card-content { position: absolute; right: 22px; bottom: 20px; left: 22px; color: white; }
.card-number { color: #d9c391; font-size: 8px; letter-spacing: .13em; }
.education-card h3 { max-width: 320px; margin: 7px 0 3px; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.education-card p { margin: 0; color: #e0e8e1; font-size: 11px; }
.circle-arrow { position: absolute; right: 0; bottom: 1px; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--gold); font-size: 15px; }
.circle-arrow:hover { background: white; }

/* Services, scholar, media */
.services-section { color: white; background: #0c352b; }
.services-inner { padding-block: 100px 78px; }
.services-section .section-heading { margin-bottom: 38px; }
.services-section .section-heading > p { color: #c1d1c5; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.service-card { position: relative; min-height: 255px; padding: 25px 22px 23px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.035); transition: background .2s ease, transform .2s ease; }
.service-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.service-index { position: absolute; top: 17px; right: 17px; color: #7d9a89; font-size: 9px; }
.service-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 21px; border: 1px solid rgba(228,192,116,.5); border-radius: 50%; color: var(--gold); }
.service-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.25; }
.service-card p { min-height: 55px; margin-bottom: 17px; color: #c4d2c8; font-size: 11px; }
.service-card > a { color: var(--gold); font-size: 10px; font-weight: 600; }
.service-mini-row { display: flex; align-items: center; justify-content: space-between; margin-top: 27px; color: #c9d7cc; font-size: 12px; }
.service-mini-row .button { min-height: 39px; font-size: 11px; }
.scholar-section { padding-block: 95px; }
.scholar-card { display: grid; grid-template-columns: 1fr .8fr; overflow: hidden; color: white; background: #174a3b; }
.scholar-copy { padding: clamp(32px,5vw,66px); }
.scholar-copy h2 { margin: 14px 0; font-size: clamp(42px, 5vw, 60px); }
.scholar-copy > p { max-width: 420px; color: #d3dfd6; font-size: 13px; }
.simple-form { display: grid; gap: 10px; margin-top: 22px; }
.simple-form > label { color: #e4ede5; font-size: 11px; }
.simple-form textarea, .simple-form input, .contact-form input, .contact-form textarea, .newsletter-form input { width: 100%; border: 1px solid rgba(255,255,255,.24); border-radius: 2px; outline: none; color: white; background: rgba(255,255,255,.07); font-size: 12px; }
.simple-form textarea, .simple-form input { padding: 12px; }
.simple-form textarea::placeholder, .simple-form input::placeholder, .contact-form input::placeholder, .contact-form textarea::placeholder { color: #b8c8bd; }
.simple-form textarea:focus, .simple-form input:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.simple-form .button { justify-self: start; margin-top: 5px; }
.form-feedback { min-height: 15px; margin: 0; color: #f0d38f; font-size: 10px; }
.scholar-image { min-height: 450px; position: relative; }
.scholar-image img { width: 100%; height: 100%; object-fit: cover; }
.scholar-image-quote { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; color: white; background: rgba(10,45,34,.83); }
.scholar-image-quote > span { color: var(--gold); font-family: var(--serif); font-size: 43px; line-height: .7; }
.scholar-image-quote p { margin: 0; font-family: var(--serif); font-size: 15px; }
.media-section { padding-block: 10px 106px; }
.media-carousel { overflow: hidden; }
.media-track { display: grid; grid-auto-columns: 32%; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.media-track::-webkit-scrollbar { display: none; }
.media-tile { position: relative; min-height: 285px; overflow: hidden; scroll-snap-align: start; background: var(--forest); }
.media-tile-featured { grid-column: span 1; }
.media-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.media-tile:hover img { transform: scale(1.05); }
.media-tile::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(5,29,22,.93), rgba(5,29,22,.02) 77%); }
.media-play { position: absolute; z-index: 1; top: 18px; right: 18px; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: white; font-size: 11px; }
.media-caption { position: absolute; z-index: 1; right: 20px; bottom: 19px; left: 20px; display: flex; flex-direction: column; color: white; }
.media-caption small { margin-bottom: 7px; color: var(--gold); font-size: 8px; letter-spacing: .15em; }
.media-caption strong { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.media-caption > span { margin-top: 10px; color: #d7e3d9; font-size: 10px; }
.media-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; }
.media-note { color: #78877e; font-size: 10px; }
.media-controls > div { display: flex; gap: 8px; }
.carousel-button { width: 35px; height: 35px; border: 1px solid #cbd7ce; border-radius: 50%; color: var(--forest); background: transparent; cursor: pointer; }
.carousel-button:hover { color: white; background: var(--forest); }

/* Resources, giving, contact, footer */
.resources-section { color: white; background: #143f33; }
.resources-inner { padding-block: 94px 100px; }
.resources-section .section-heading > p { color: #c9d7cd; }
.resources-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 15px; }
.resource-block { padding: 32px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.resource-label { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.resource-block h3 { margin: 10px 0 18px; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.resource-block ul { margin: 0; padding: 0; list-style: none; }
.resource-block li { border-top: 1px solid rgba(255,255,255,.13); }
.resource-block li a { display: flex; justify-content: space-between; padding: 10px 0; color: #d4e0d7; font-size: 11px; }
.resource-block li a:hover { color: var(--gold); }
.resource-community p { max-width: 520px; color: #c8d7cc; font-size: 12px; }
.community-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.community-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.22); color: #e2ebe3; font-size: 9px; }
.resource-community .button { min-height: 40px; font-size: 10px; }
.giving-section { position: relative; overflow: hidden; padding: 93px max(32px, calc((100% - 1050px)/2)); background: #e8eee7; }
.giving-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .95fr; gap: 90px; align-items: center; }
.giving-inner h2 { margin: 14px 0; font-size: clamp(40px, 4.6vw, 58px); }
.giving-inner > div:first-child > p { max-width: 390px; color: #5e7065; font-size: 13px; }
.giving-inner .button { margin-top: 7px; }
.giving-ornament { position: absolute; top: -130px; right: -80px; width: 400px; height: 400px; border: 1px solid rgba(28,83,63,.1); transform: rotate(45deg); }
.giving-ornament::before, .giving-ornament::after { position: absolute; inset: 28px; border: 1px solid rgba(28,83,63,.1); content: ""; }
.giving-ornament::after { inset: 68px; }
.giving-options { padding: 24px 27px; border: 1px solid #ced9d0; background: rgba(255,255,255,.56); }
.giving-options-title { color: #7e8e82; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.giving-option { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid #dce4dc; }
.giving-option strong { font-size: 11px; }
.giving-option span { color: #738279; font-size: 10px; text-align: right; }
.giving-options > .text-link { margin-top: 15px; font-size: 10px; }
.newsletter-section { padding: 29px max(32px, calc((100% - 1050px)/2)); display: grid; grid-template-columns: 54px 1fr minmax(250px, .8fr); gap: 20px; align-items: center; color: white; background: var(--forest-deep); }
.newsletter-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(229,188,107,.5); border-radius: 50%; color: var(--gold); font-size: 18px; }
.newsletter-copy .eyebrow { font-size: 8px; }
.newsletter-copy h2 { margin: 3px 0; font-family: var(--serif); font-size: 25px; letter-spacing: -.02em; }
.newsletter-copy p { margin: 0; color: #b9c9bd; font-size: 10px; }
.newsletter-form { position: relative; display: flex; }
.newsletter-form input { height: 43px; padding: 0 12px; border-color: rgba(255,255,255,.28); }
.newsletter-form button { flex: none; padding: 0 15px; border: 0; color: #2e2b20; background: var(--gold); font-size: 11px; font-weight: 700; cursor: pointer; }
.newsletter-form .form-feedback { position: absolute; top: 100%; left: 0; }
.contact-section { padding-block: 105px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; }
.contact-heading h2 { margin: 14px 0; font-size: clamp(39px, 4.3vw, 54px); }
.contact-heading > p { max-width: 380px; color: var(--muted); font-size: 13px; }
.contact-details { display: grid; gap: 13px; margin-top: 27px; }
.contact-details > a { display: flex; align-items: center; gap: 13px; }
.contact-symbol { width: 37px; height: 37px; display: grid; place-items: center; flex: none; border-radius: 50%; color: var(--green); background: #e6eee8; }
.contact-details small { display: block; margin-bottom: 2px; color: #819086; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.contact-details strong { display: block; color: #314d40; font-size: 11px; font-weight: 600; line-height: 1.45; }
.parking-note { margin: 20px 0 0; color: #839087; font-size: 10px !important; }
.contact-map { min-height: 390px; position: relative; overflow: hidden; background: #e2e9e2; }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.72); }
.map-directions { position: absolute; right: 15px; bottom: 15px; left: 15px; min-height: 43px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--forest); font-size: 11px; font-weight: 600; }
.contact-form-section { padding: 80px max(32px, calc((100% - 1050px)/2)); display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; color: white; background: #173f34; }
.volunteer-copy h2 { margin: 13px 0; font-size: clamp(38px, 4.2vw, 53px); }
.volunteer-copy > p { max-width: 390px; color: #cbd9ce; font-size: 13px; }
.contact-form { display: grid; gap: 13px; }
.contact-form label > span { display: block; margin-bottom: 6px; color: #d7e3d9; font-size: 10px; }
.contact-form input, .contact-form textarea { padding: 11px 12px; }
.contact-form .form-row label { display: block; }
.contact-form .button { justify-self: start; }
.site-footer { color: #d7e2d9; background: #082b23; }
.footer-main { width: var(--page); max-width: 1180px; margin-inline: auto; padding-block: 58px 45px; display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 48px; }
.footer-brand { max-width: 255px; }
.brand-footer .brand-name strong { color: white; }
.brand-footer .brand-name small { color: #9aafa1; }
.footer-brand > p { margin: 20px 0; color: #adc0b3; font-size: 11px; }
.social-links { display: flex; flex-wrap: wrap; gap: 7px; }
.social-links a { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #e0e9e1; font-size: 9px; font-weight: 700; }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
.footer-column { display: flex; flex-direction: column; gap: 9px; align-items: start; }
.footer-column h3 { margin: 5px 0 10px; color: white; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a, .footer-column span { color: #adc0b3; font-size: 10px; }
.footer-column a:hover { color: var(--gold); }
.footer-bottom { min-height: 54px; padding: 13px max(32px, calc((100% - 1180px)/2)); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.13); color: #92a99a; font-size: 9px; }
.mobile-dock { display: none; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: min(410px, calc(100% - 44px)); padding: 13px 17px; border-left: 3px solid var(--gold); color: white; background: var(--forest-deep); box-shadow: 0 14px 40px rgba(0,0,0,.22); font-size: 12px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1000px) {
  :root { --page: min(100% - 48px, 820px); }
  .daily-hadith { max-width: 45%; }
  .primary-nav { gap: 13px; }
  .primary-nav > a, .nav-group > summary { font-size: 11px; }
  .header-inner { gap: 16px; }
  .header-contact { display: none; }
  .quick-actions { width: 100%; grid-template-columns: repeat(4,1fr); }
  .prayer-section { gap: 45px; }
  .schedule-card { grid-template-columns: 62px minmax(160px,1fr) 115px 125px; gap: 12px; }
  .special-grid { grid-template-columns: repeat(2,1fr); }
  .about-section { gap: 50px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card { min-height: 225px; }
  .footer-main { grid-template-columns: 1.2fr repeat(3,1fr); gap: 24px; }
}
@media (max-width: 920px) {
  :root { --page: calc(100% - 40px); }
  html { scroll-padding-top: 70px; }
  body { padding-bottom: 62px; font-size: 15px; }
  .utility-inner { width: 100%; min-height: 36px; padding-inline: 15px; }
  .utility-prayer { gap: 7px; font-size: 10px; }
  .utility-location { display: none; }
  .utility-divider { display: none; }
  .next-prayer-label { font-size: 8px; }
  .utility-link { display: none; }
  .daily-hadith { display: none; }
  .site-header { top: 0; }
  .header-inner { width: var(--page); min-height: 68px; }
  .brand-symbol { width: 31px; height: 31px; }
  .brand-name strong { font-size: 11px; }
  .brand-name small { font-size: 7px; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 9px; border: 1px solid #d4ded5; border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 100%; height: 1.5px; background: var(--forest); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 10px 20px 20px; align-items: stretch; gap: 0; border-top: 1px solid var(--line); background: #fbfcf9; box-shadow: 0 18px 22px rgba(13,43,33,.12); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > a, .nav-group > summary { min-height: 44px; width: 100%; justify-content: space-between; border-bottom: 1px solid #e9eee9; font-size: 13px; }
  .nav-group { display: block; }
  .nav-group > summary { display: flex; }
  .nav-menu { position: static; width: auto; padding: 0 0 7px 12px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .nav-menu a { padding: 8px; }
  .mobile-nav-actions { display: flex; gap: 10px; padding-top: 15px; }
  .mobile-nav-actions .button { flex: 1; min-height: 42px; }
  .header-actions { display: none; }
  .app-banner { position: relative; display: flex; align-items: center; gap: 9px; padding: 9px 43px 9px 13px; color: #365446; background: #e7efe8; font-size: 9px; line-height: 1.3; }
  .app-banner-mark { color: var(--gold-deep); }
  .app-banner > a { flex: none; color: var(--green); font-weight: 700; }
  .app-banner-close { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); border: 0 !important; font-size: 19px !important; }
  .app-banner.is-dismissed { display: none; }
  .hero { min-height: max(570px, calc(100svh - 139px)); }
  .hero-image { background-position: center, center, 58% center; }
  .hero-inner { width: var(--page); padding-block: 56px 48px; display: block; }
  .hero h1 { margin-top: 21px; font-size: clamp(60px, 15vw, 88px); }
  .hero-description { max-width: 350px; font-size: 14px; }
  .hero-pagination { margin-top: 44px; }
  .hero-side-note { display: none; }
  .hero-location { right: 0; bottom: 20px; left: auto; justify-content: flex-end; text-align: right; }
  .hero-shape-one { right: -240px; }
  .hero-shape-two { right: -200px; }
  .quick-actions { width: 100%; grid-template-columns: repeat(2,1fr); }
  .quick-action:nth-child(2) { border-right: 0; }
  .quick-action:nth-child(-n+2) { border-bottom: 1px solid #e8ece7; }
  .quick-action { min-height: 86px; padding: 14px 12px; gap: 9px; }
  .quick-icon { width: 35px; height: 35px; }
  .quick-icon svg { width: 17px; height: 17px; }
  .quick-action small { font-size: 7px; }
  .quick-action strong { font-size: 10px; }
  .quick-arrow { font-size: 11px; }
  .prayer-section { width: var(--page); margin-block: 74px; display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .prayer-intro h2 { font-size: 42px; }
  .prayer-card { padding: 24px 20px 19px; }
  .prayer-list { column-gap: 25px; }
  .programs-section { padding-block: 5px 75px; }
  .section-heading-row { display: block; }
  .section-heading > p { margin-top: 18px; }
  h2 { font-size: 43px; }
  .tabs { gap: 18px; }
  .tab { font-size: 11px; }
  .schedule-card { position: relative; grid-template-columns: 50px minmax(0,1fr) 128px; gap: 9px 14px; padding: 16px 0; }
  .schedule-day { width: 47px; height: 50px; grid-row: span 2; }
  .schedule-info h3 { font-size: 18px; }
  .schedule-meta { grid-column: 2; flex-direction: row; align-items: center; gap: 8px; }
  .schedule-meta span::before { content: "· "; }
  .calendar-button { position: static; grid-column: 3; grid-row: 1 / span 2; width: 100%; min-height: 36px; align-self: center; overflow: visible; gap: 6px; padding-inline: 7px; white-space: nowrap; font-size: 9px; }
  .calendar-button svg { flex: none; }
  .schedule-footer { align-items: start; flex-direction: column; gap: 12px; }
  .special-grid { grid-template-columns: 1fr; }
  .special-card { min-height: 195px; }
  .special-card p { min-height: 0; }
  .about-section { padding: 70px 20px; display: flex; flex-direction: column; align-items: stretch; gap: 38px; }
  .about-image-wrap { height: 280px; margin-right: 16px; }
  .about-seal { right: -17px; width: 65px; height: 65px; }
  .about-copy h2 { font-size: 43px; }
  .about-values { gap: 9px 14px; }
  .education-section { padding-block: 75px; }
  .education-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px 190px; gap: 10px; }
  .education-card-tall { grid-column: span 2; grid-row: auto; }
  .education-card-wide { grid-column: span 2; }
  .education-card-content { right: 13px; bottom: 14px; left: 13px; }
  .education-card h3 { font-size: 19px; }
  .education-card p { max-width: calc(100% - 28px); font-size: 9px; }
  .circle-arrow { width: 28px; height: 28px; font-size: 12px; }
  .services-inner { padding-block: 75px 55px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .service-card { min-height: 235px; padding: 17px 13px; }
  .service-card h3 { font-size: 18px; }
  .service-card p { min-height: 70px; font-size: 10px; }
  .service-icon { width: 34px; height: 34px; margin-bottom: 15px; }
  .service-mini-row { align-items: start; flex-direction: column; gap: 12px; }
  .scholar-section { padding-block: 65px; }
  .scholar-card { grid-template-columns: 1fr; }
  .scholar-copy { padding: 29px 22px; }
  .scholar-image { min-height: 300px; max-height: 360px; }
  .media-section { padding-block: 0 75px; }
  .media-track { grid-auto-columns: 82%; gap: 11px; }
  .media-tile { min-height: 260px; }
  .resources-inner { padding-block: 72px; }
  .resources-grid { grid-template-columns: 1fr; gap: 10px; }
  .resource-block { padding: 24px 20px; }
  .giving-section { padding: 70px 20px; }
  .giving-inner { grid-template-columns: 1fr; gap: 30px; }
  .giving-options { padding: 21px 18px; }
  .giving-option { align-items: start; flex-direction: column; gap: 3px; }
  .giving-option span { text-align: left; }
  .newsletter-section { padding: 27px 20px 36px; grid-template-columns: 44px 1fr; gap: 12px; }
  .newsletter-icon { width: 39px; height: 39px; }
  .newsletter-copy h2 { font-size: 21px; }
  .newsletter-form { grid-column: 1/-1; margin-top: 8px; }
  .contact-section { padding-block: 74px; grid-template-columns: 1fr; gap: 30px; }
  .contact-map { min-height: 290px; }
  .contact-form-section { padding: 65px 20px; grid-template-columns: 1fr; gap: 32px; }
  .contact-form .form-row { gap: 8px; }
  .footer-main { width: var(--page); padding-block: 47px; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: span 2; }
  .footer-apps { grid-column: span 2; }
  .footer-bottom { min-height: 54px; padding: 13px 20px; align-items: start; flex-direction: column; gap: 5px; }
  .mobile-dock { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; min-height: 60px; padding: 7px 12px max(7px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #dce5dc; background: rgba(251,252,249,.97); backdrop-filter: blur(14px); }
  .mobile-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #456153; font-size: 9px; font-weight: 600; }
  .mobile-dock a span { font-size: 16px; line-height: 1; }
  .mobile-dock a:nth-child(2) { color: #846328; }
  .mobile-dock a:nth-child(2) span { color: var(--green); }
  .toast { right: 14px; bottom: 74px; }
}
@media (max-width: 380px) {
  :root { --page: calc(100% - 30px); }
  .hero { min-height: 570px; }
  .hero h1 { font-size: 56px; }
  .quick-action { padding-inline: 8px; gap: 7px; }
  .quick-icon { width: 31px; height: 31px; }
  .quick-action strong { font-size: 9px; }
  .prayer-row { font-size: 10px; }
  .service-card h3 { font-size: 16px; }
}
@media (max-width: 500px) {
  .schedule-card { grid-template-columns: 44px minmax(0,1fr) 36px; gap: 8px 10px; }
  .schedule-day { width: 42px; height: 47px; }
  .calendar-button { width: 34px; padding: 0; overflow: hidden; gap: 0; font-size: 0; }
}

/* Homepage hierarchy and service emphasis */
.hero { height: max(430px, 60svh); min-height: 0; }
.hero-inner { padding-block: 38px 30px; }
.hero h1 { margin: 18px 0 12px; font-size: clamp(64px, 7.4vw, 92px); line-height: .96; }
.hero-description { margin-bottom: 20px; font-size: 15px; }
.hero-pagination { margin-top: 28px; }
.hero-location { bottom: 20px; font-size: 11px; }

.prayer-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 78px max(32px, calc((100% - 1180px) / 2));
  grid-template-columns: minmax(285px, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 82px);
  background: radial-gradient(ellipse at 91% 3%, rgba(229,188,107,.12), transparent 36%), linear-gradient(110deg, #edf2ec, #f5f6f1 56%, #e9f0e9);
  border-block: 1px solid #e0e8df;
}
.prayer-intro h2 { margin: 14px 0 18px; font-size: clamp(46px, 5vw, 60px); }
.prayer-intro p { max-width: 420px; margin-bottom: 24px; font-size: 16px; }
.prayer-intro > .text-link { font-size: 14px; }
.prayer-card { padding: 34px 38px 25px; }
.prayer-card-head h3 { font-size: 29px; }
.prayer-date { font-size: 12px; }
.prayer-row { padding-block: 15px; font-size: 14px; }
.prayer-note { font-size: 12px; line-height: 1.55; }

.services-inner { padding-block: 96px 86px; }
.services-section .section-heading { margin-bottom: 42px; }
.services-section .section-heading > p { max-width: 420px; font-size: 15px; }
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 310px; padding: 31px 25px 27px; display: flex; flex-direction: column; }
.service-index { top: 19px; right: 19px; font-size: 11px; }
.service-icon { width: 48px; height: 48px; margin-bottom: 25px; }
.service-icon svg { width: 23px; height: 23px; }
.service-card h3 { margin-bottom: 11px; font-size: 24px; }
.service-card p { min-height: 76px; margin-bottom: 22px; font-size: 14px; line-height: 1.55; }
.service-card > a {
  min-height: 46px;
  margin-top: auto;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(229,188,107,.45);
  color: #f2d38f;
  font-size: 13px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.service-card > a:hover { border-color: var(--gold); color: white; background: rgba(229,188,107,.12); }
.service-mini-row { font-size: 14px; }
.service-mini-row .button { min-height: 44px; font-size: 13px; }

@media (min-width: 601px) and (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero { height: max(430px, 60svh); }
  .hero-inner { width: var(--page); padding-block: 34px 62px; display: block; }
  .hero h1 { font-size: clamp(58px, 10vw, 76px); }
  .hero-pagination { margin-top: 25px; }
  .hero-side-note { display: none; }
  .hero-location { right: 0; bottom: 17px; }
  .prayer-section { padding: 64px max(24px, calc((100% - 760px) / 2)); display: flex; flex-direction: column; align-items: stretch; gap: 30px; }
  .prayer-intro h2 { font-size: 52px; }
  .prayer-card { padding: 29px 30px 23px; }
  .services-inner { padding-block: 76px 64px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .service-card { min-height: 290px; padding: 25px 22px 22px; }
  .service-card h3 { font-size: 22px; }
  .service-card p { min-height: 72px; font-size: 13px; }
}
@media (max-width: 600px) {
  .hero { height: max(430px, 60svh); }
  .hero-inner { padding-block: 30px 60px; }
  .hero h1 { max-width: 360px; font-size: clamp(53px, 13vw, 64px); }
  .hero-description { max-width: 350px; font-size: 14px; }
  .hero-pagination { margin-top: 23px; }
  .hero-location { font-size: 10px; }
  .prayer-section { padding: 54px 20px; gap: 25px; }
  .prayer-intro h2 { font-size: 45px; }
  .prayer-intro p { font-size: 15px; }
  .prayer-card { padding: 25px 20px 21px; }
  .prayer-card-head h3 { font-size: 25px; }
  .prayer-list { column-gap: 18px; }
  .prayer-row { gap: 10px; padding-block: 13px; font-size: 13px; }
  .prayer-note { font-size: 11px; }
  .services-inner { padding-block: 66px 56px; }
  .services-section .section-heading { margin-bottom: 28px; }
  .services-grid { grid-template-columns: 1fr; gap: 11px; }
  .service-card { min-height: 0; padding: 25px 21px 20px; }
  .service-icon { width: 43px; height: 43px; margin-bottom: 19px; }
  .service-card h3 { font-size: 23px; }
  .service-card p { min-height: 0; margin-bottom: 20px; font-size: 14px; }
  .service-card > a { width: 100%; }
}
@media (max-width: 380px) {
  .hero { height: max(430px, 60svh); min-height: 0; }
  .hero h1 { font-size: clamp(48px, 13.5vw, 54px); }
  .prayer-section { padding-inline: 15px; }
  .prayer-row { font-size: 12px; }
  .service-card { padding-inline: 18px; }
  .service-card h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Interior pages share the home page shell and a calmer editorial rhythm. */
.nav-group > summary:focus-visible { outline-offset: -4px; }
.interior-hero { min-height: 390px; position: relative; display: flex; align-items: center; overflow: hidden; color: white; background: var(--forest-deep); }
.interior-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7,37,29,.94), rgba(7,37,29,.75) 48%, rgba(7,37,29,.42)), linear-gradient(0deg, rgba(6,32,25,.38), transparent 72%), var(--interior-image) center 42% / cover; }
.interior-hero::after { position: absolute; inset: 0; content: ""; opacity: .065; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40Z' fill='none' stroke='%23e5bc6b' stroke-width='.45'/%3E%3C/svg%3E"); background-size: 108px; }
.interior-hero-inner { position: relative; z-index: 1; width: var(--page); max-width: 1180px; margin: 0 auto; padding: 47px 0 63px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 38px; color: #cedbd2; font-size: 11px; }
.breadcrumbs a { color: white; }
.breadcrumbs a:hover { color: var(--gold); }
.interior-eyebrow { color: #efd28f; letter-spacing: .14em; }
.interior-eyebrow > span { width: 22px; height: 1px; background: var(--gold); }
.interior-hero h1 { max-width: 760px; margin: 18px 0 15px; color: white; font-size: clamp(48px, 6.8vw, 82px); line-height: .99; white-space: normal; }
.interior-hero p { max-width: 600px; margin: 0; color: #e1e8e2; font-size: 15px; }
.interior-location { position: absolute; z-index: 1; right: max(32px, calc((100% - 1180px)/2)); bottom: 24px; color: #dbe6dd; font-size: 9px; letter-spacing: .14em; }
.page-section { width: var(--page); max-width: 1120px; margin-inline: auto; padding-block: 76px; }
.section-wash { width: 100%; max-width: none; padding-inline: max(32px, calc((100% - 1120px)/2)); background: #edf1eb; }
.page-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 33px; }
.page-section-heading h2 { margin: 10px 0 0; font-size: clamp(36px, 4.2vw, 52px); }
.page-section-heading > p { max-width: 390px; margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.muted-copy { color: var(--muted); font-size: 14px; }
.small-note, .pricing-note { color: #77847c; font-size: 11px; }
.event-list { border-top: 1px solid var(--line); }
.event-row { min-height: 108px; display: grid; grid-template-columns: 66px minmax(0,1fr) 130px 148px; align-items: center; gap: 23px; border-bottom: 1px solid var(--line); }
.event-date { width: 54px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--forest); background: #e8eee8; }
.event-date small { color: #829087; font-size: 8px; letter-spacing: .12em; }
.event-date strong { font-size: 14px; letter-spacing: .08em; }
.event-row h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.event-row p { margin: 1px 0 0; color: var(--muted); font-size: 12px; }
.event-type { color: #71867a; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.event-time { display: flex; flex-direction: column; gap: 2px; }
.event-time strong { font-size: 13px; }
.event-time small { color: var(--muted); font-size: 10px; }
.calendar-button { min-height: 37px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid #d2ddd3; border-radius: 3px; color: var(--forest); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.calendar-button:hover { border-color: var(--green); background: #edf3ee; }
.callout-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 18px 21px; color: #53695d; background: #edf1eb; font-size: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.feature-card { min-height: 210px; padding: 27px 26px; border: 1px solid #e0e7df; background: #fff; }
.feature-card h3 { margin: 13px 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.feature-card p { margin-bottom: 15px; color: var(--muted); font-size: 12px; }
.feature-card .text-link { font-size: 11px; }
.feature-symbol { display: block; margin-bottom: 16px; color: var(--gold-deep); font-size: 27px; }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 38px; padding: 27px 30px; background: #fff; border: 1px solid #e0e7df; }
.page-cta h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.page-cta p { margin: 0; color: var(--muted); font-size: 12px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.page-cta .button-row { justify-content: end; }
.page-prayer-section { max-width: 1080px; }
.prayer-page-intro { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(35px, 7vw, 80px); }
.prayer-page-intro h2 { margin: 11px 0 15px; font-size: clamp(37px, 4.5vw, 54px); }
.prayer-page-intro h2 em { color: var(--gold-deep); }
.next-prayer-card { max-width: 270px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 5px 15px; margin-top: 30px; padding: 17px 19px; border-left: 3px solid var(--gold); background: #e9eee8; }
.next-prayer-card small { grid-column: 1 / -1; color: #71867a; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.next-prayer-card strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.next-prayer-card > span { color: var(--green); font-size: 12px; font-variant-numeric: tabular-nums; }
.prayer-page-card { box-shadow: 0 20px 48px rgba(9,51,39,.13); }
.source-note { padding-top: 20px; }
.source-note h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.source-note p { max-width: 880px; color: var(--muted); font-size: 12px; }
.source-note .button-row { margin-top: 18px; }
.source-note .text-link { font-size: 11px; }
.calendar-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.calendar-toolbar h2 { margin: 8px 0 0; font-size: clamp(35px, 4vw, 48px); }
.calendar-controls { display: flex; gap: 8px; }
.calendar-arrow { width: 42px; height: 42px; border: 1px solid #d6dfd6; border-radius: 50%; color: var(--forest); background: white; font-size: 18px; cursor: pointer; }
.calendar-arrow:hover { color: white; background: var(--forest); }
.calendar-status { min-height: 24px; margin: 13px 0 16px; color: var(--muted); font-size: 11px; }
.hijri-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: white; }
.calendar-weekday { padding: 11px 8px; color: #6e8377; background: #edf1eb; font-size: 10px; font-weight: 700; text-align: center; }
.calendar-day { min-height: 103px; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-day.is-empty { background: #f8f9f6; }
.calendar-day > strong { color: var(--ink); font-size: 19px; font-weight: 600; }
.calendar-day > span { color: var(--green); font-size: 10px; }
.calendar-day > small { color: #88938c; font-size: 9px; }
.calendar-day.is-hijri-month-start { background: #fbf5e8; }
.calendar-day.is-hijri-month-start > span { font-weight: 700; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; color: var(--muted); font-size: 10px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 13px; height: 13px; border-radius: 50%; background: #e8eee8; }
.calendar-legend b { width: 15px; height: 15px; display: inline-grid; place-items: center; border-radius: 50%; color: #846328; background: #f2e8d2; font-size: 9px; }
.hall-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hall-card { overflow: hidden; border: 1px solid #e0e7df; background: white; }
.hall-card > img, .hall-image-small { width: 100%; height: 225px; object-fit: cover; }
.hall-image-small { display: grid; place-items: center; color: #f5e6bd; background: radial-gradient(circle at 70% 10%, rgba(226,190,112,.3), transparent 34%), linear-gradient(135deg, #456b59, #103b30 72%); font-size: 10px; letter-spacing: .2em; }
.hall-card-copy { padding: 26px; }
.hall-card-copy h3 { margin: 8px 0 15px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.hall-details { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-block: 1px solid #e7ebe6; color: #738179; font-size: 10px; }
.hall-details strong { display: inline-block; margin-right: 4px; color: var(--ink); font-size: 15px; }
.hall-price { text-align: right; }
.hall-price small { display: block; }
.hall-card-copy > p { min-height: 42px; margin: 14px 0 20px; color: var(--muted); font-size: 12px; }
.pricing-note { margin: 18px 0 0; }
.app-feature { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 60px; }
.app-feature h2, .school-copy h2, .giving-main h2, .membership-copy h2, .contact-inquiry h2 { margin: 10px 0 16px; font-size: clamp(38px, 4.4vw, 53px); }
.app-feature p, .school-copy > p, .giving-main > p, .membership-copy > p { max-width: 650px; color: var(--muted); font-size: 14px; }
.app-feature .button-row { margin-top: 24px; }
.app-feature-mark { min-height: 270px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--forest); background: #e8eee8; }
.app-feature-mark .brand-symbol { width: 64px; height: 64px; }
.app-feature-mark > strong { font-family: var(--serif); font-size: 48px; font-weight: 500; }
.app-feature-mark > small { color: #71867a; font-size: 8px; letter-spacing: .18em; }
.school-page { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 55px; }
.school-copy .button-row { margin-block: 23px 18px; }
.school-image { width: 100%; min-height: 420px; max-height: 510px; object-fit: cover; }
.school-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 26px 0; }
.school-facts > div { padding: 13px; background: #edf1eb; }
.school-facts small { display: block; margin-bottom: 7px; color: #76877d; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.school-facts strong { font-size: 11px; line-height: 1.5; }
.contact-page { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.contact-page-details h2 { margin: 9px 0 15px; font-size: 42px; }
.contact-info-list { display: grid; gap: 12px; margin: 24px 0 17px; }
.contact-info-list a { display: grid; gap: 3px; padding: 14px 16px; background: #edf1eb; }
.contact-info-list small { color: #71867a; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.contact-info-list strong { font-size: 13px; }
.contact-page-map { min-height: 430px; overflow: hidden; background: #e1e8e1; }
.contact-page-map iframe { width: 100%; height: 100%; min-height: 430px; border: 0; }
.contact-page-details .button-row { margin-top: 20px; }
.contact-inquiry { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; }
.contact-inquiry > div > p { color: var(--muted); font-size: 13px; }
.page-contact-form { max-width: none; display: flex; flex-direction: column; gap: 14px; padding: 25px; background: #fff; }
.page-contact-form label { display: grid; gap: 5px; color: #53665c; font-size: 11px; font-weight: 600; }
.page-contact-form input, .page-contact-form textarea { width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid #d8e0d8; border-radius: 2px; background: #fbfcf9; font: inherit; font-size: 12px; }
.page-contact-form textarea { resize: vertical; }
.page-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.page-contact-form .form-feedback { margin: 0; color: var(--green); font-size: 11px; }
.donate-page, .membership-page { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; }
.giving-main .button-dark { margin-block: 10px 15px; }
.membership-side { min-height: 275px; padding: 35px; color: #e5eee7; background: var(--forest); }
.membership-side .feature-symbol { color: var(--gold); }
.membership-side h3 { margin: 0 0 10px; color: white; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.membership-side p { max-width: 380px; margin-bottom: 20px; color: #c9d8ce; font-size: 13px; }
.membership-side .text-link { color: white; border-color: rgba(255,255,255,.35); }

@media (max-width: 920px) {
  .interior-hero { min-height: 375px; }
  .interior-hero-inner { width: var(--page); padding-block: 30px 56px; }
  .breadcrumbs { margin-bottom: 31px; }
  .interior-hero h1 { font-size: clamp(48px, 11vw, 68px); }
  .interior-hero p { max-width: 540px; font-size: 13px; }
  .interior-location { right: 20px; bottom: 15px; font-size: 7px; }
  .page-section { padding-block: 58px; }
  .section-wash { padding-inline: 20px; }
  .page-section-heading { display: block; }
  .page-section-heading > p { margin-top: 14px; }
  .feature-grid { grid-template-columns: 1fr; gap: 11px; }
  .feature-card { min-height: 0; padding: 22px; }
  .feature-symbol { margin-bottom: 8px; }
  .event-row { grid-template-columns: 48px minmax(0,1fr) 94px; gap: 10px 13px; padding: 15px 0; }
  .event-date { width: 45px; height: 49px; grid-row: span 2; }
  .event-row h3 { font-size: 20px; }
  .event-time { grid-column: 2; grid-row: 2; flex-direction: row; gap: 8px; }
  .event-time small::before { content: "· "; }
  .event-row .calendar-button { grid-column: 3; grid-row: 1 / span 2; min-height: 35px; padding-inline: 6px; white-space: nowrap; font-size: 0; }
  .event-row .calendar-button span { display: none; }
  .event-row .calendar-button::after { content: "Add"; font-size: 9px; }
  .callout-row, .page-cta { align-items: flex-start; flex-direction: column; }
  .page-cta .button-row { justify-content: start; }
  .prayer-page-intro { grid-template-columns: 1fr; gap: 27px; }
  .next-prayer-card { margin-top: 19px; }
  .hall-grid, .app-feature, .school-page, .contact-page, .contact-inquiry, .donate-page, .membership-page { grid-template-columns: 1fr; gap: 27px; }
  .hall-card > img, .hall-image-small { height: 190px; }
  .app-feature-mark { min-height: 220px; }
  .school-image { min-height: 270px; max-height: 330px; }
  .school-facts { grid-template-columns: 1fr; }
  .contact-page-map, .contact-page-map iframe { min-height: 310px; }
  .contact-inquiry { padding-inline: 20px; }
}
@media (max-width: 600px) {
  .interior-hero { min-height: 395px; }
  .interior-hero::before { background-position: center, center, 62% center; }
  .interior-hero h1 { max-width: 380px; font-size: clamp(46px, 13vw, 60px); }
  .interior-hero p { max-width: 450px; font-size: 12px; }
  .interior-location { left: 20px; right: auto; }
  .page-section { padding-block: 48px; }
  .page-section-heading h2, .calendar-toolbar h2 { font-size: 36px; }
  .event-row { grid-template-columns: 42px minmax(0,1fr) 34px; gap: 8px 10px; }
  .event-date { width: 40px; height: 46px; }
  .event-date strong { font-size: 12px; }
  .event-row h3 { font-size: 18px; }
  .event-type { font-size: 7px; }
  .event-row p { font-size: 10px; }
  .event-time { font-size: 11px; }
  .event-row .calendar-button { width: 33px; min-width: 33px; padding: 0; }
  .event-row .calendar-button::after { content: "+"; font-size: 17px; }
  .callout-row { padding: 14px; font-size: 10px; }
  .calendar-toolbar { align-items: center; }
  .calendar-arrow { width: 36px; height: 36px; }
  .hijri-calendar-grid { border-left: 0; }
  .calendar-weekday { padding: 9px 1px; font-size: 8px; }
  .calendar-day { min-height: 72px; padding: 7px 4px; border-left: 1px solid var(--line); }
  .calendar-day > strong { font-size: 15px; }
  .calendar-day > span { font-size: 8px; line-height: 1.15; }
  .calendar-day > small { display: none; }
  .calendar-legend { gap: 12px; font-size: 9px; }
  .hall-card-copy { padding: 20px; }
  .page-contact-form { padding: 17px; }
  .page-contact-form .form-row { grid-template-columns: 1fr; }
  .button-row > .button { width: 100%; }
}

/* Service pages supplied by IAC: scripture, full service details, and portrait-ready scholar cards. */
.service-content-page { padding-top: 58px; }
.devotional-opening { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-bottom: 27px; color: #708275; font-family: var(--serif); font-size: 15px; }
.scripture-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; margin-bottom: 53px; }
.scripture-card { padding: 29px 31px; border: 1px solid #e0e7df; border-top: 2px solid var(--gold-deep); background: #f5f6f1; }
.scripture-card blockquote { margin: 16px 0 0; color: #34483d; font-family: var(--serif); font-size: 17px; line-height: 1.62; }
.scripture-arabic { margin: 20px 0 0; color: var(--forest-deep); font-family: "Noto Naskh Arabic", "Amiri", "Geeza Pro", Georgia, serif; font-size: 25px; line-height: 1.9; text-align: right; }
.scripture-card-quote { max-width: 890px; margin-bottom: 53px; }
.scripture-card-quote .scripture-arabic { font-size: 28px; }
.scripture-translation { margin: 18px 0 0; color: #526459; font-family: var(--serif); font-size: 16px; line-height: 1.6; }
.service-prose { max-width: 850px; display: grid; gap: 9px; }
.service-prose h2 { margin: 0 0 7px; font-family: var(--serif); font-size: clamp(33px, 4vw, 46px); font-weight: 500; line-height: 1.12; }
.service-prose p { margin: 0; color: #53635a; font-size: 15px; line-height: 1.82; }
.service-catalog { margin-top: 48px; }
.service-section-heading { max-width: 780px; margin-bottom: 22px; }
.service-section-heading h2, .hall-amenities h2, .hall-listing-heading h2 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 42px); font-weight: 500; line-height: 1.16; }
.service-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.service-list-card { min-height: 190px; padding: 25px 26px; border: 1px solid #e0e7df; background: #fff; }
.service-list-card .feature-symbol { margin-bottom: 8px; font-size: 23px; }
.service-list-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.24; }
.service-list-card p { margin: 0; color: #65746b; font-size: 13px; line-height: 1.7; }
.service-list-card .text-link { display: inline-block; margin-top: 13px; font-size: 11px; }
.service-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 44px; padding: 31px 34px; border-left: 3px solid var(--gold); background: #edf1eb; }
.service-contact-panel > div { max-width: 720px; }
.service-contact-panel h2 { margin: 5px 0 9px; font-family: var(--serif); font-size: clamp(25px, 3vw, 34px); font-weight: 500; line-height: 1.2; }
.service-contact-panel p { margin: 0; color: #627268; font-size: 13px; line-height: 1.7; }
.service-contact-panel > .button { flex: 0 0 auto; max-width: 370px; text-align: center; }
.funeral-verse { margin: 4px 0 48px; padding: 31px; border: 1px solid #e0e7df; background: #f5f6f1; text-align: center; }
.funeral-arabic { margin: 0; color: var(--forest-deep); font-family: "Noto Naskh Arabic", "Amiri", "Geeza Pro", Georgia, serif; font-size: clamp(28px, 4vw, 39px); line-height: 1.65; }
.funeral-verse blockquote { margin: 10px 0 0; color: #4f6056; font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.funeral-verse blockquote span { display: inline-block; color: #7b877f; font-size: 14px; }
.service-emergency-panel { background: #f3eee5; }
.consultation-verse { max-width: 900px; margin-bottom: 42px; }
.consultation-verse blockquote { font-size: 16px; }
.consultation-copy { max-width: 930px; }
.expert-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.expert-profile-card { padding: 31px 27px; border: 1px solid #e0e7df; background: #f8f8f4; text-align: center; }
.portrait-slot { width: 174px; height: 174px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; overflow: hidden; margin: 0 auto 23px; border: 1px solid rgba(202,169,96,.68); border-radius: 50%; color: #e7d19b; background: radial-gradient(circle at 50% 40%, rgba(231,209,155,.16), transparent 42%), linear-gradient(145deg, #315d49, #0c352b 72%); }
.portrait-slot::before, .portrait-slot::after { position: absolute; content: ""; border: 1px solid rgba(231,209,155,.28); border-radius: 50%; pointer-events: none; }
.portrait-slot::before { inset: 11px; }
.portrait-slot::after { inset: 20px; }
.portrait-placeholder-mark { z-index: 1; font-size: 30px; line-height: 1; }
.portrait-slot small { z-index: 1; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.expert-profile-card h3 { margin: 8px 0 7px; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.expert-profile-card > p { min-height: 42px; margin: 0 0 18px; color: #68776e; font-size: 12px; line-height: 1.6; }
.expert-profile-card > .button { min-height: 44px; }
.appointment-note { margin-top: 13px; text-align: center; }
.hall-intro { max-width: 970px; }
.hall-intro p { font-size: 16px; }
.hall-amenities { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 40px; margin-top: 39px; padding: 27px 30px; background: #edf1eb; }
.hall-amenities ul { display: grid; gap: 10px; margin: 0; padding: 0; color: #53635a; font-size: 13px; line-height: 1.6; list-style: none; }
.hall-amenities li { position: relative; padding-left: 22px; }
.hall-amenities li::before { position: absolute; left: 0; color: var(--gold-deep); content: "✦"; }
.hall-listing-heading { margin: 49px 0 21px; }
.hall-card-copy > .button { width: 100%; min-height: 49px; margin-top: 20px; padding: 10px 13px; font-size: 11px; line-height: 1.45; text-align: center; }
.hall-booking-note { margin-top: 16px; }

@media (max-width: 920px) {
  .service-contact-panel { align-items: flex-start; flex-direction: column; }
  .service-contact-panel > .button { max-width: 100%; }
}
@media (max-width: 760px) {
  .scripture-grid, .service-list-grid, .expert-profile-grid, .hall-amenities { grid-template-columns: 1fr; }
  .scripture-grid { gap: 11px; margin-bottom: 39px; }
  .scripture-card { padding: 24px; }
  .service-list-grid { gap: 10px; }
  .service-list-card { min-height: 0; padding: 21px; }
  .service-catalog { margin-top: 38px; }
  .service-contact-panel { margin-top: 31px; padding: 24px; }
  .hall-amenities { gap: 20px; margin-top: 30px; padding: 23px; }
  .hall-listing-heading { margin-top: 39px; }
  .expert-profile-card { padding: 27px 22px; }
}
@media (max-width: 600px) {
  .service-content-page { padding-top: 41px; }
  .devotional-opening { gap: 8px 18px; margin-bottom: 20px; font-size: 13px; }
  .scripture-arabic { margin-top: 15px; font-size: 22px; }
  .scripture-card blockquote { font-size: 15px; }
  .scripture-card-quote { margin-bottom: 37px; }
  .scripture-card-quote .scripture-arabic { font-size: 23px; }
  .scripture-translation { font-size: 14px; }
  .service-prose p { font-size: 14px; line-height: 1.72; }
  .funeral-verse { margin-bottom: 36px; padding: 22px 16px; }
  .funeral-verse blockquote { font-size: 16px; }
  .hall-card-copy > .button { font-size: 10px; }
  .portrait-slot { width: 158px; height: 158px; }
}
@media (min-width: 921px) {
  .services-grid .service-card:nth-child(5) { grid-column: 2; }
  .services-grid .service-card:nth-child(6) { grid-column: 3; }
}
/* October content and navigation refinement */
.site-header{z-index:100;isolation:isolate;background:#fbfcf8}
.header-inner{width:min(1440px,calc(100% - 48px));min-height:96px;gap:20px}
.brand-name strong{font-family:var(--sans);font-size:21px;letter-spacing:-.035em;font-weight:750;white-space:nowrap}
.brand-name small{font-size:10px;letter-spacing:.03em;margin-top:7px}
.primary-nav{gap:17px}
.primary-nav>a,.nav-group>summary,.nav-group>summary>a{font-size:15px;font-weight:650;min-height:48px}
.nav-group>summary{padding:0 3px}
.nav-menu{top:100%;left:-14px;background:#e8f0e9;border:1px solid #c9d8cb;border-top:3px solid var(--gold);min-width:255px;box-shadow:0 18px 35px #082c2526;max-height:calc(100dvh - 110px);overflow:auto}
.nav-menu a{font-size:14px;padding:11px 16px;line-height:1.4;color:var(--forest)}
.nav-menu a:hover,.nav-menu a:focus-visible{background:var(--forest);color:white}
.header-actions{gap:10px}.header-contact{display:inline-flex;padding:12px 16px;background:var(--forest);color:#fff;font-size:14px;border-radius:3px;white-space:nowrap}
.button{font-size:15px;min-height:50px;padding:12px 22px;line-height:1.4}
.header-donate{font-size:14px;padding:12px 17px}
.utility-inner{padding-block:12px;align-items:center}
.daily-hadith{max-width:55%;align-items:center;gap:9px}
.daily-hadith #hadith-text{font-size:14px;line-height:1.55;white-space:normal;flex:1;color:#e4eee6;overflow:visible;min-width:0}
.daily-hadith #hadith-source{font-size:11px;max-width:88px;line-height:1.35}
.hadith-label{font-size:10px}
.quick-actions{background:#ead6a6;color:var(--forest)}
.quick-action{padding:29px 26px;border-color:#c7b57f;color:var(--forest)}
.quick-action strong{font-size:21px}.quick-action small{font-size:11px;color:#5c634d}.quick-action>span:last-child{font-size:28px}
.quick-action:hover{background:#f4e5c3}
.education-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:20px}
.education-card,.education-card-tall,.education-card-wide{grid-column:auto;grid-row:auto;min-height:330px}
.education-card-content h3{font-size:27px}.education-card-content p{font-size:14px}
.media-section{padding-block:0 100px}
.shorts-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;overflow:visible;padding:0}
.short-card{background:var(--forest-deep);border-radius:8px;overflow:hidden;aspect-ratio:9/16;width:100%;min-width:0}
.short-card iframe{width:100%;height:100%;border:0;display:block}
.media-controls{margin-top:22px}.media-note{font-size:13px}.media-controls>div{display:none}
.scholar-duo{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:35px;background:#e4ebe1;gap:23px}
.scholar-duo figure{margin:0;display:flex;align-items:center;gap:18px;width:100%}
.scholar-duo figure img{width:130px;height:130px;flex:none;border-radius:50%;object-fit:cover;border:5px solid #fff}
.scholar-duo figcaption{font-family:var(--serif);color:var(--forest);font-size:24px;line-height:1.25}
.portrait-slot{overflow:hidden;padding:0}.portrait-slot img{width:100%;height:100%;object-fit:cover}.expert-profile-card>.text-link{margin-bottom:20px}
.footer-links a,.footer-bottom a{font-size:14px}.footer-links h3{font-size:13px}.social-links a{font-size:13px;width:40px;height:40px}
.interior-hero-inner>.button{margin-top:20px;color:var(--forest);background:var(--gold);max-width:100%}
.document-section{max-width:1120px;padding-block:64px}.document-section>p{max-width:850px;font-size:17px;line-height:1.85}.document-section h2{font-size:clamp(30px,3vw,45px)}
.document-section:nth-of-type(odd){background:transparent}.document-section .scripture-card{margin-bottom:35px}.document-section .button-row{margin-top:25px}
.values-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:28px}.values-grid .service-list-card{min-height:0;display:flex;flex-direction:column;align-items:flex-start}.values-grid .button{margin-top:auto}.values-grid h3{font-size:24px}.values-grid p{font-size:16px}
.staff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:50px}.staff-placeholder{background:#e8eee3}.staff-placeholder span{font-family:var(--serif);font-size:70px;color:#a2b4a4}
.document-inquiry{max-width:800px;margin-top:30px;padding:32px;border:1px solid var(--line);background:white;border-radius:4px}.document-inquiry label{font-size:14px;display:block}.document-inquiry input,.document-inquiry select,.document-inquiry textarea{margin-top:8px;width:100%;padding:13px;border:1px solid var(--line);background:var(--paper);font:inherit}.document-inquiry fieldset{border:1px solid var(--line);padding:18px;margin:0 0 20px}.document-inquiry .radio-label{display:flex;align-items:center;gap:10px}.document-inquiry .radio-label input{width:auto;margin:0}
.program-announcement{padding:35px;background:#e8eee4;border-left:4px solid var(--gold);margin:25px 0}.program-announcement h3{font-family:var(--serif);font-size:30px}
.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.gallery-grid figure{margin:0}.gallery-grid img{width:100%;height:300px;object-fit:cover}.gallery-grid figcaption{padding:12px 0;font-size:15px}
.captcha-field{padding:18px;background:#edf2eb;border:1px solid #cddbcc;margin:20px 0;border-radius:4px;color:var(--forest)}.captcha-field input{background:white!important;color:var(--forest)!important;max-width:200px}.captcha-field img{width:220px;height:72px;object-fit:contain}.captcha-field button{border:0;background:none;text-decoration:underline;cursor:pointer;margin-left:12px}.captcha-field label{display:block;margin-top:10px;font-size:14px}.captcha-field .captcha-status{font-size:13px;line-height:1.4;margin:8px 0 0}
@media(max-width:1240px){.header-inner{gap:14px}.primary-nav{gap:10px}.brand-name strong{font-size:18px}.header-contact,.header-donate{font-size:12px;padding:12px}.primary-nav>a,.nav-group>summary,.nav-group>summary>a{font-size:13px}}
@media(max-width:1080px){.header-inner{min-height:82px}.menu-toggle{display:flex;margin-left:auto}.primary-nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 82px);overflow:auto;padding:22px;background:#f8faf4;flex-direction:column;align-items:stretch;gap:0;border-bottom:1px solid var(--line)}.primary-nav.is-open{display:flex}.nav-group{display:block;width:100%;border-bottom:1px solid var(--line)}.nav-group>summary{display:flex;justify-content:space-between;min-height:55px;font-size:16px;padding:8px 10px}.nav-group>summary>a{font-size:16px}.nav-menu{position:static;box-shadow:none;border:0;border-left:3px solid var(--gold);max-height:none;min-width:0;margin:0 0 15px;background:#e8f0e9}.nav-menu a{font-size:15px}.mobile-nav-actions{display:flex;gap:12px;margin-top:20px}.daily-hadith{max-width:none}.utility-inner{flex-direction:column;gap:12px;align-items:flex-start}.header-actions{display:none}.education-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shorts-track{gap:14px}.scholar-duo figcaption{font-size:22px}}
@media(max-width:760px){.staff-grid,.values-grid{grid-template-columns:1fr}.shorts-track{grid-template-columns:repeat(2,minmax(0,1fr))}.short-card{max-height:none}.scholar-duo figure img{width:105px;height:105px}.document-section{padding-block:38px}.document-inquiry{padding:22px}.daily-hadith{flex-wrap:wrap}.daily-hadith #hadith-text{flex-basis:80%}.daily-hadith #hadith-source{max-width:none;margin-left:25px}.hadith-label{display:none}.quick-action strong{font-size:18px}.quick-action{padding:22px 20px}.gallery-grid{grid-template-columns:1fr}.document-section>p{font-size:16px}}
@media(max-width:520px){.education-grid{grid-template-columns:1fr}.education-card{min-height:330px}.header-inner{width:calc(100% - 32px)}.brand-name strong{font-size:19px}.brand-name small{font-size:9px}.brand-symbol{width:30px;height:30px}.shorts-track{gap:10px}.scholar-duo{padding:24px}.scholar-duo figcaption{font-size:21px}.gallery-grid img{height:220px}}
.admin-notice{padding:24px;background:#e8eee4;margin-bottom:32px}.admin-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:30px 0 55px}.admin-card{background:#fff;border:1px solid var(--line);padding:25px}.admin-card h3{font-size:23px}.admin-card label,#admin-editor>label{display:block;font-size:14px;margin-bottom:20px}.admin-card input,.admin-card textarea,#shorts-editor{display:block;width:100%;margin-top:7px;border:1px solid #c7d6c7;background:#f8faf4;border-radius:3px;padding:12px;font:inherit}.admin-image{width:100%;height:200px;object-fit:cover;margin-bottom:24px}.admin-card input[type=file]{padding:8px}#save-content:disabled{opacity:.5}
@media(max-width:760px){.admin-card-grid{grid-template-columns:1fr}}
.brand-emblem{display:block;position:relative;overflow:hidden;width:56px;height:60px;background:var(--forest);flex:none;border-radius:2px}.brand-emblem img{position:absolute;left:0;top:0;width:131px;height:60px;max-width:none}.daily-hadith{display:flex}.footer-column a{font-size:14px;line-height:1.6}.quick-action-icon{width:48px;height:48px}.quick-action-icon svg{width:24px;height:24px}
@media(max-width:520px){.brand-emblem{width:43px;height:46px}.brand-emblem img{width:100px;height:46px}.daily-hadith #hadith-text{font-size:13px}.utility-location,.utility-divider,.utility-link{display:inline-flex}.utility-prayer{flex-wrap:wrap}.utility-inner{padding:12px 0}}
.nav-group>summary>a{display:flex;align-items:center}.footer-column>span{font-size:12px;color:#d9e4dc;letter-spacing:.12em}
.expert-profile-card{display:flex;flex-direction:column;align-items:center}.expert-profile-card h3{font-size:28px;line-height:1.25}.expert-profile-card p{font-size:16px;line-height:1.75;text-align:left}.expert-profile-card>.text-link{margin:10px 0 20px}.expert-profile-card>.button{margin-top:auto}.portrait-slot{flex:none}
/* Larger navigation tabs and a complete dark-green open state. */
.primary-nav{gap:0}
.nav-group>summary{padding:0 14px;gap:8px;min-height:96px;font-size:18px;font-weight:650;transition:background .18s,color .18s}
.nav-group>summary>a{font-size:18px;min-height:48px;color:inherit}
.nav-group>summary>span{font-size:17px;color:inherit}
.nav-group[open]>summary{color:#fff;background:var(--forest)}
.nav-group[open]>summary>a{color:#fff}
.nav-menu{left:0;top:100%;min-width:280px;padding:10px;border-radius:0 0 5px 5px;background:var(--forest);border:1px solid var(--forest);border-top:2px solid var(--gold);box-shadow:0 16px 35px #082c2533}
.nav-menu a{padding:12px 16px;font-size:16px;line-height:1.4;color:#f3f8f3}
.nav-menu a:hover,.nav-menu a:focus-visible{background:#27614e;color:#fff}
@media(min-width:1081px){
 .header-inner{width:min(1600px,calc(100% - 36px));min-height:100px;flex-wrap:nowrap;padding-block:0;gap:18px}
 .brand{flex-shrink:0}
 .brand-name strong{font-size:clamp(17px,1.45vw,22px)}
 .header-actions{margin-left:0;flex-shrink:0;gap:10px}
 .primary-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));flex:1;min-width:0;width:auto;padding:0;margin:0;align-self:stretch;background:var(--gold);border-radius:0}
 .nav-group{min-width:0}
 .nav-group>summary{display:flex;width:100%;justify-content:center;min-height:100px;height:100%;padding:0 7px;gap:5px;color:var(--forest);font-size:clamp(14px,1.2vw,18px);white-space:nowrap}
 .nav-group>summary>a{font-size:inherit;min-height:62px}
 .nav-group[open]>summary{background:var(--forest);color:#fff}
 .nav-group:last-of-type .nav-menu{left:auto;right:0}
 .mobile-nav-actions{display:none}
}
@media(max-width:1080px){
 .nav-group>summary{min-height:60px;padding:12px 16px;font-size:18px}
 .nav-group>summary>a{font-size:18px;min-height:36px}
 .nav-menu{position:static;min-width:0;width:auto;max-height:none;margin:0 0 15px;border:0;border-left:3px solid var(--gold);border-radius:0;background:var(--forest);padding:8px}
 .nav-menu a{font-size:16px;padding:13px 16px}
}
/* Keep slide navigation inside the image even when content wraps. */
.hero{height:auto;min-height:max(470px,60svh)}
.hero-inner{min-height:inherit;margin-block:0;padding-block:32px 100px}
.hero-pagination{position:absolute;left:0;bottom:22px;z-index:3;min-height:44px;display:flex;align-items:center;gap:12px;margin:0}
.hero-arrow{width:44px;height:44px;flex:none;background:#082c2566;font-size:20px}
.hero-dot,.hero-dot.is-active{position:relative;width:30px;height:24px;flex:none;background:transparent}
.hero-dot::after{content:"";position:absolute;left:0;right:0;top:10px;height:4px;border-radius:3px;background:#ffffff70}
.hero-dot.is-active::after{background:var(--gold)}
.hero-count{font-size:12px;white-space:nowrap}
.hero-location{bottom:28px}
@media(max-width:920px){.hero-inner{padding-block:34px 100px}.hero-pagination{margin:0}}
@media(max-width:600px){.hero-inner{padding-block:30px 94px}.hero-pagination{bottom:20px;gap:10px}.hero-location{display:none}}
@media(max-width:760px){.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-action{min-width:0;padding:18px 12px;gap:8px}.quick-action>span:nth-child(2){min-width:0;flex:1}.quick-action strong{font-size:16px;overflow-wrap:break-word}.quick-action small{font-size:9px;letter-spacing:.06em}.quick-arrow{flex:none;font-size:22px}.quick-icon{width:32px;height:32px}}
@media(max-width:380px){.hero-dot{width:24px}.hero-pagination{gap:8px}.hero-count{margin-left:3px}}
.shorts-track{grid-auto-flow:row;grid-auto-columns:auto}.media-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.media-controls>.button{flex:none}.media-controls .media-note{max-width:680px}.video-library{grid-template-columns:repeat(4,minmax(0,1fr));margin-block:35px}.video-library .short-card{max-height:none}
@media(max-width:1080px){.video-library{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.video-library{grid-template-columns:repeat(2,minmax(0,1fr))}.media-controls{align-items:flex-start;gap:18px}.media-controls .button{width:100%}}

.social-links svg{width:21px;height:21px;fill:currentColor;display:block}
.social-links a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}

/* Compact verification, with a legible image and comfortable controls. */
.captcha-field{max-width:360px;padding:10px 12px;margin:14px 0}
.captcha-field>span{font-size:12px;font-weight:600}
.captcha-field>div{display:flex;align-items:center;gap:8px;margin-top:5px}
.captcha-field img{width:150px;height:49px;flex:none}
.captcha-field button{margin:0;padding:8px 4px;font-size:12px}
.captcha-field label{margin-top:6px;font-size:12px}
.captcha-field input{display:block;max-width:150px;min-height:32px;padding:6px 9px!important;margin-top:4px;font-size:14px}
.captcha-field .captcha-status{font-size:11px;margin-top:5px}
.captcha-field .small-note{font-size:11px;line-height:1.4;margin:5px 0 0}

/* A closer rhythm between headings, paragraphs, and sections. */
.interior-hero{min-height:300px}
.interior-hero-inner{padding-block:30px 36px}
.interior-hero h1{margin:12px 0;font-size:clamp(42px,5.5vw,68px)}
.page-section,.document-section{padding-block:34px}
.page-section-heading,.section-heading,.services-section .section-heading{margin-bottom:22px;gap:24px}
.document-section h2{margin:0 0 14px}
.document-section>p{margin:0 0 12px;line-height:1.65}
.document-section .scripture-card{margin-bottom:20px}
.document-section .button-row{margin-top:16px}
.service-catalog{margin-top:28px}
.service-section-heading{margin-bottom:18px}
.service-section-heading p{margin:10px 0 0;line-height:1.6}
.service-prose p,.expert-profile-card p{line-height:1.65}
.service-contact-panel,.hall-amenities{margin-top:24px}
.staff-grid{margin-top:24px}
.document-inquiry{margin-top:18px;padding:24px}
.expert-profile-card{padding:24px;gap:0}
.expert-profile-card .portrait-slot{margin-bottom:16px}
.expert-profile-card>.text-link{margin:4px 0 12px}
.expert-profile-card>p{margin-bottom:14px}
.professional-pending .portrait-slot svg{width:85px;height:85px;fill:none;stroke:#e7d19b;stroke-width:2.5}
.expert-profile-card .profile-pending-note{font-size:13px;color:var(--muted);text-align:center}
.scholar-question-panel{max-width:800px;background:var(--forest);color:white;padding:20px 24px}
.scholar-question-panel summary{cursor:pointer;font-size:20px;font-weight:600}
.scholar-question-panel form{margin-top:18px}
#programs,.education-section,.resources-section,.giving-section,.contact-section{padding-block:56px}
.media-section{padding-bottom:56px}
@media(max-width:760px){
 .page-section,.document-section{padding-block:26px}
 .interior-hero{min-height:270px}
 .interior-hero-inner{padding-block:24px 30px}
 .document-inquiry,.expert-profile-card{padding:20px}
 #programs,.education-section,.resources-section,.giving-section,.contact-section{padding-block:40px}
 .media-section{padding-bottom:40px}
}

.booking-notice{padding:18px 22px;background:#edf2eb;border-left:3px solid var(--gold);margin-bottom:24px}.booking-notice h3{margin:0 0 8px;font-size:24px}.booking-notice p{margin:0 0 10px;line-height:1.6}

.footer-nonprofit{width:var(--page);max-width:1180px;margin:0 auto;padding:0 0 18px;color:#c1d1c5}.footer-nonprofit p{margin:0;max-width:850px;font-size:13px;line-height:1.6}.nonprofit-about{padding:20px 24px;background:#edf2eb;border-left:3px solid var(--gold);margin-top:20px}.nonprofit-about h3{margin:8px 0 10px;font-family:var(--serif);font-size:28px;font-weight:500}.nonprofit-about p{margin:0 0 12px;line-height:1.65}

/* One continuous gold background across the whole navigation header. */
.site-header,.header-inner,.header-actions{background:var(--gold)}
.site-header{border-bottom-color:#b79a4966}
@media(max-width:1080px){.primary-nav{background:var(--gold)}}

.site-header .brand-name small{color:#000}
.site-header .header-donate{background:#f6d143;color:#171d16;border:1px solid #9e781c;box-shadow:0 2px 5px #6a50151a}
.site-header .header-donate:hover{background:#ffe36a;border-color:#775810}
.site-header .header-donate:focus-visible{outline-color:var(--forest)}

/* A compact newsletter strip with inline verification. */
.newsletter-section{padding:18px max(24px,calc((100% - 1180px)/2));grid-template-columns:auto minmax(0,1fr);gap:24px}
.newsletter-copy h2{font-size:24px;margin:0;white-space:nowrap;line-height:1.2}
.newsletter-copy>.eyebrow,.newsletter-copy>p{display:none}
.newsletter-form{grid-column:auto;align-items:center;gap:8px;margin:0;min-width:0}
.newsletter-form>#newsletter-email{flex:1;min-width:140px;width:0;height:38px;padding:0 10px;font-size:13px}
.newsletter-form>button[type=submit]{height:38px;padding:0 16px;font-size:13px;border-radius:2px}
.newsletter-form .captcha-inline{display:flex;align-items:center;gap:6px;flex:none;max-width:none;margin:0;padding:0;background:transparent;border:0;border-radius:0;position:relative}
.newsletter-form .captcha-inline>div{margin:0;gap:2px}
.newsletter-form .captcha-inline img{width:116px;height:38px;object-fit:contain}
.newsletter-form .captcha-inline button{height:38px;width:28px;padding:0;font-size:20px;background:transparent;color:var(--gold);text-decoration:none}
.newsletter-form .captcha-inline label{margin:0}
.newsletter-form .captcha-inline input{width:78px;max-width:78px;min-height:38px;height:38px;padding:0 8px!important;margin:0;font-size:13px}
.newsletter-form .captcha-inline .captcha-status:not(.is-error){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.newsletter-form .captcha-inline .captcha-status.is-error{position:absolute;top:100%;left:0;z-index:2;width:230px;background:#fff;color:#8b251d;padding:6px 8px;margin-top:4px;font-size:12px}
@media(max-width:1000px){.newsletter-section{grid-template-columns:1fr;gap:12px;padding:18px 24px}.newsletter-copy h2{font-size:22px}.newsletter-form{width:100%;margin:0}}
@media(max-width:520px){.newsletter-section{padding:18px 20px;gap:12px}.newsletter-form{flex-wrap:wrap;gap:8px}.newsletter-form>#newsletter-email{flex-basis:100%;width:100%;min-width:0}.newsletter-form .captcha-inline{flex:1}.newsletter-form>button[type=submit]{padding-inline:16px}}

/* Give the compact newsletter strip a little more breathing room. */
.newsletter-section{padding-block:25px}
.newsletter-copy h2{font-size:27px}
.newsletter-form>#newsletter-email{height:44px;font-size:14px}
.newsletter-form>button[type=submit]{height:44px;padding-inline:18px;font-size:14px}
.newsletter-form .captcha-inline img{width:134px;height:44px}
.newsletter-form .captcha-inline button{height:44px;width:30px;font-size:22px}
.newsletter-form .captcha-inline input{width:86px;max-width:86px;min-height:44px;height:44px;font-size:14px}
@media(max-width:1000px){.newsletter-copy h2{font-size:25px}}
@media(max-width:520px){.newsletter-section{padding-block:22px}.newsletter-copy h2{font-size:24px}}

/* Service requests */
.service-request-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:start}
.request-guidance h2{font-size:clamp(28px,3vw,40px);margin:12px 0 20px}.request-guidance p{margin:0 0 18px;line-height:1.65}
.service-request-form{padding:28px;border:1px solid var(--line,#ddd);border-radius:12px;background:#fff;max-width:none;min-width:0}
.service-request-form[hidden],.request-success[hidden]{display:none}.request-specific{display:grid;gap:18px}
.request-consent{display:flex!important;align-items:flex-start;gap:12px;font-size:14px!important;line-height:1.5}.request-consent input{width:18px!important;height:18px!important;min-height:18px!important;margin-top:3px;flex-shrink:0}
.request-success{padding:32px;background:#f1f5f2;border:1px solid #b3c8bb;border-radius:12px}.request-success h2{font-size:32px;margin:12px 0 18px}.request-success p{margin-bottom:18px}
.service-inbox{margin-bottom:48px}.request-inbox-card{margin-top:20px}.request-inbox-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}.request-inbox-heading h3{text-transform:capitalize}.request-inbox-heading span{font-size:14px}.request-inbox-card dl{display:grid;gap:10px}.request-inbox-card dl>div{display:grid;grid-template-columns:120px 1fr;gap:16px}.request-inbox-card dt{text-transform:capitalize;font-weight:600}.request-inbox-card dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.service-request-layout{grid-template-columns:1fr;gap:24px}.service-request-form{padding:20px}.request-inbox-card dl>div{grid-template-columns:1fr;gap:4px}}
.service-request-form label{display:block;font-size:15px;color:#173f34}.service-request-form input,.service-request-form select,.service-request-form textarea{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #b9c6bd;border-radius:4px;background:#fbfcfa;color:#173f34;font:inherit;font-size:16px;min-height:44px}.service-request-form input::placeholder,.service-request-form textarea::placeholder{color:#68766d}.service-request-form .request-consent span{color:#173f34;font-size:14px;margin:0}.service-request-form .request-consent input{padding:0;margin:3px 0 0}.service-request-form .captcha-field label{font-size:13px}.service-request-form .form-feedback{color:#173f34;font-size:15px}.service-request-form input:focus-visible,.service-request-form select:focus-visible,.service-request-form textarea:focus-visible{outline:2px solid #173f34;outline-offset:2px}.request-guidance .small-note{font-size:14px}.service-request-form .form-row{gap:16px}.request-inbox-card select{padding:10px;font-size:16px;border:1px solid #b9c6bd;background:white;color:#173f34}
@media(max-width:480px){.service-request-form .form-row{grid-template-columns:1fr}}
.request-questionnaire{display:grid;gap:18px}.request-questionnaire:empty{display:none}.request-questionnaire h3{margin:16px 0 0;padding-top:20px;border-top:1px solid #dce3dc;font-size:23px}.request-questionnaire small{display:block;margin-top:7px;line-height:1.5;font-size:13px;color:#5a6d60}.request-questionnaire label[hidden]{display:none}.request-questionnaire input[type=file]{font-size:14px;padding:10px;overflow:hidden}.request-questionnaire input[type=file]::file-selector-button{background:#173f34;color:#fff;border:0;border-radius:3px;padding:8px 10px;margin-right:12px;cursor:pointer}.request-questionnaire label>span{display:inline;font-size:15px;color:#173f34}.request-attachments{display:grid;gap:8px}.request-attachments a{overflow-wrap:anywhere}
.email-setup{padding:28px;border:1px solid #c4d3c7;border-radius:10px;background:#f4f7f3;margin-bottom:36px}.email-setup h2{margin:10px 0 16px}.email-setup>p{margin:0 0 16px;line-height:1.65}.email-setup ol{padding-left:22px;display:grid;gap:22px}.email-setup li{line-height:1.65}.email-setup .button-row{margin-top:12px}.email-setup form{display:grid;gap:16px;max-width:800px;margin-top:24px}.email-setup label{font-size:15px}.email-setup input{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #a6bbae;background:#fff;font-size:16px;color:#173f34}.email-setup form .button{justify-self:start}.email-setup [role=status]{font-size:15px;color:#173f34}.email-setup .small-note{margin-top:18px;font-size:14px}@media(max-width:600px){.email-setup{padding:20px}}

/* Compact education cards and complete community photographs. */
.education-grid{gap:16px}
.education-card,.education-card-tall,.education-card-wide{min-height:0;display:flex;flex-direction:column}
.education-card img{height:155px;flex:none;object-fit:contain;background:#edf0e8}
.education-card:hover img{transform:none}
.education-overlay{display:none}
.education-card-content{position:relative;inset:auto;padding:14px 17px 17px;min-height:103px}
.education-card-content h3{font-size:23px;margin:5px 0}
.education-card-content p{font-size:12px;padding-right:34px}
.education-card .circle-arrow{right:16px;bottom:17px;width:30px;height:30px}
@media(max-width:920px){.education-card img{height:145px}}
@media(max-width:520px){.education-card,.education-card-tall,.education-card-wide{min-height:0}.education-card img{height:170px}.education-card-content h3{font-size:23px}}

.education-card img{object-fit:cover}



/* Full-bleed photographs, a transparent green wash, and quiet editorial motion. */
.hero{min-height:max(500px,60svh);isolation:isolate}
.hero-image{inset:0;background:none;overflow:hidden}
.hero-frame{position:absolute;inset:0;opacity:0;transition:opacity 950ms cubic-bezier(.2,.7,.2,1)}
.hero-frame.is-visible{opacity:1}
.hero-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 62%}
.hero-frame.is-portrait::before{content:'';position:absolute;inset:-24px;background-image:var(--photo);background-size:cover;background-position:center;filter:blur(22px);opacity:.8}
.hero-frame.is-portrait img{left:auto;right:3%;width:55%;object-fit:contain;object-position:center!important}
.hero-image::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,32,25,.87),rgba(5,32,25,.65) 35%,rgba(5,32,25,.16) 74%),linear-gradient(0deg,rgba(5,32,25,.4),transparent 40%);pointer-events:none}
.hero::after{display:none}
.hero-inner{width:var(--page);max-width:1180px;grid-template-columns:1fr;margin:auto;padding-block:42px 102px;gap:0}
.hero-copy{width:100%;max-width:560px}
.hero h1{font-size:clamp(52px,6.8vw,88px);margin:20px 0 18px}
.hero-description{font-size:16px;max-width:430px;line-height:1.65}
.hero-side-note,.hero-location,.hero-shape{display:none}
.hero-pagination{position:absolute;left:0;bottom:24px;gap:10px;margin:0;max-width:100%}
.hero-dots{gap:3px;align-items:center}
.hero-dot{position:relative;width:18px;height:32px;background:transparent!important}
.hero-dot::after{content:'';position:absolute;left:0;right:0;top:15px;height:2px;background:rgba(255,255,255,.45);transition:background .3s,transform .3s}
.hero-dot.is-active::after{background:var(--gold);transform:scaleY(2)}
.hero-arrow{flex:none;width:34px;height:34px}
.hero-count{margin-left:2px;font-size:11px;letter-spacing:.08em}
[data-reveal]{opacity:0;transform:translateY(22px);transition:opacity 750ms cubic-bezier(.2,.7,.2,1),transform 750ms cubic-bezier(.2,.7,.2,1);transition-delay:var(--reveal-delay,0ms)}
[data-reveal].is-revealed{opacity:1;transform:none}
.education-card,.service-card{transition:box-shadow .35s,border-color .35s,opacity .75s,transform .75s}
@media(hover:hover){.education-card:hover,.service-card:hover{box-shadow:0 14px 28px rgba(9,41,30,.13)}}
@media(max-width:600px){.hero{min-height:max(540px,65svh)}.hero-inner{width:calc(100% - 40px);padding-block:36px 94px}.hero-copy{max-width:100%}.hero h1{font-size:clamp(50px,11vw,66px)}.hero-image::after{background:linear-gradient(90deg,rgba(5,32,25,.82),rgba(5,32,25,.45)),linear-gradient(0deg,rgba(5,32,25,.6),transparent)}.hero-frame.is-portrait img{right:0;width:100%}.hero-pagination{bottom:18px;gap:7px}.hero-dot{width:12px}.hero-dots{gap:3px}.hero-arrow{width:30px;height:30px}.hero-count{font-size:10px}.hero-description{font-size:15px}}
@media(prefers-reduced-motion:reduce){[data-reveal]{opacity:1;transform:none;transition:none}.hero-frame{transition:none}.hero-dot::after{transition:none}}

.education-card img[src$="iac-school-students.png"]{width:100%;object-fit:cover;object-position:center 65%}
.school-image[src$="iac-school-students.png"]{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}

/* Authentic community photographs with deliberate focal points. */
.education-card img[src$="iac-quran-circle.jpg"]{object-position:center 58%}
.education-card img[src$="iac-student-circle.jpg"]{object-position:center 65%}
.education-card img[src$="imam-sadiq-seminary.png"]{object-fit:cover;object-position:center 64%}
.education-card img[src$="iac-youth-bonfire.jpg"],.education-card img[src$="iac-youth-discussion.jpg"]{object-position:center 68%}
.gallery-grid{display:block;columns:3;column-gap:22px}
.gallery-grid figure{break-inside:avoid;margin:0 0 24px}
.gallery-grid img{display:block;width:100%;height:auto;object-fit:contain;border-radius:3px}
.gallery-photo-link{display:block}
.gallery-grid figcaption{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:10px 0;font-size:14px;line-height:1.5}
.gallery-grid figcaption a{font-size:11px;color:#476657;white-space:nowrap}
@media(max-width:1000px){.gallery-grid{columns:2}}
@media(max-width:600px){.gallery-grid{columns:1}.gallery-grid img{height:auto}}

/* Education links use the complete green bar; branding remains fully visible. */
a.education-card-content{display:block;color:#fff;text-decoration:none;background:#173f34;flex:1;padding:16px 18px 18px;transition:background 350ms ease}
a.education-card-content h3{color:inherit;transition:color 350ms ease,transform 450ms cubic-bezier(.2,.7,.2,1)}
a.education-card-content p{padding-right:0;margin-bottom:0;color:#dbe6df}
a.education-card-content:focus-visible{outline:3px solid #e7be69;outline-offset:-4px;background:#0b3025}
.education-card img[src$="guide-academy-logo.jpg"]{object-fit:contain;object-position:center;background:#fff;padding:10px}
.education-card img{transition:transform 650ms cubic-bezier(.2,.7,.2,1)}
.education-card{overflow:hidden}
@media(hover:hover){a.education-card-content:hover{background:#0b3025}a.education-card-content:hover h3{color:#efd087;transform:translateX(3px)}.education-card:has(a.education-card-content:hover) img{transform:scale(1.025)}.education-card:has(a.education-card-content:hover){box-shadow:0 16px 30px rgba(9,41,30,.17)}}
.education-card:focus-within img{transform:scale(1.025)}
.expert-profile-card .portrait-slot{transition:box-shadow 550ms ease,transform 550ms cubic-bezier(.2,.7,.2,1)}
@media(hover:hover){.expert-profile-card:hover .portrait-slot{transform:translateY(-3px);box-shadow:0 12px 28px rgba(9,41,30,.15)}}
@media(prefers-reduced-motion:reduce){a.education-card-content,a.education-card-content h3,.education-card img,.expert-profile-card .portrait-slot{transition:none;transform:none!important}}

/* Photograph-led Guide card with a larger, overlaid brand mark. */
.education-media{position:relative;height:155px;flex:none;overflow:hidden}
.education-card .education-media>.education-photo{width:100%;height:100%;object-fit:cover;object-position:center 47%;padding:0}
.guide-logo-badge{position:absolute;left:17px;bottom:13px;width:120px;height:120px;overflow:hidden;border-radius:50%;background:#fff;box-shadow:0 4px 20px rgba(5,32,25,.22);pointer-events:none}
.education-card .guide-logo-badge img{position:absolute;left:50%;top:50%;width:200px;height:200px;max-width:none;padding:0;background:#fff;object-fit:contain;transform:translate(-50%,-50%)!important;transition:none}
.interior-hero-workshops::before{background-position:center,center,center 80%}
/* Composite the white mark directly over the gold header without a green tile. */
.site-header .brand-emblem{background:transparent;border-radius:0}
.site-header .brand-emblem img{filter:grayscale(1) contrast(4);mix-blend-mode:screen}
@media(max-width:920px){.education-media{height:145px}.guide-logo-badge{width:112px;height:112px;bottom:13px}.education-card .guide-logo-badge img{width:188px;height:188px}}
@media(max-width:520px){.education-media{height:170px}.guide-logo-badge{width:130px;height:130px;bottom:18px}.education-card .guide-logo-badge img{width:215px;height:215px}.interior-hero-workshops::before{background-position:center,center,60% 85%}}

/* A crisp chevron follows each menu's hover, keyboard, and tap state. */
.nav-group>summary .nav-chevron{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform-origin:center;transition:transform .28s cubic-bezier(.2,.8,.2,1);opacity:.8}
.nav-group[open]>summary .nav-chevron{transform:rotate(180deg);opacity:1}
@media(hover:hover) and (min-width:1081px){.nav-group:hover>summary .nav-chevron{transform:rotate(180deg);opacity:1}}
.interior-hero-marriage::before{background-position:center,center,center 70%}
.interior-hero-divorce::before{background-position:center,center,center 78%}
.interior-hero-funeral::before{background-position:center,center,center 68%}
.interior-hero-consultation::before{background-position:center,center,center 78%}
.interior-hero-membership::before{background-position:center,center,center 60%}
@media(prefers-reduced-motion:reduce){.nav-group>summary .nav-chevron{transition:none}}

/* Hall rental: event details, review, secure payment, and confirmation. */
.hall-rental-layout{align-items:start}.hall-flow{min-width:0}.hall-fee-preview{padding:22px 0;margin:20px 0;border-block:1px solid #d9ded7;display:grid;gap:7px}.hall-fee-preview strong{font-size:20px}.hall-fee-preview>span{font-size:32px;color:var(--green,#193f30);font-family:Georgia,serif}.rental-steps{list-style:none;display:flex;gap:16px;padding:0!important;margin:0 0 24px!important;border-bottom:1px solid #d9ded7}.rental-steps li{font-size:12px!important;line-height:1.6;padding:0 0 12px;flex:1;color:#627268}.rental-steps li[aria-current]{color:#193f30;border-bottom:3px solid #b9a24d;font-weight:700}.rental-steps .is-complete{color:#193f30}.rental-options{border:1px solid #d9ded7;padding:16px;margin:8px 0}.rental-options legend{font-weight:700;padding:0 6px}.rental-options .request-consent{margin:10px 0}.rental-options .request-consent span{display:flex;justify-content:space-between;width:100%;gap:20px}.hall-review{background:#fff;padding:28px;border:1px solid #d9ded7;border-radius:8px;box-shadow:0 12px 35px #193f3008}.hall-review h2{margin:8px 0 22px;font-size:clamp(25px,3vw,38px)}.hall-review dl{margin:0 0 16px}.hall-review dl>div{display:grid;grid-template-columns:1fr 1.3fr;gap:18px;padding:10px 0;border-bottom:1px solid #e7ebe5;font-size:14px}.hall-review dt{color:#5b6b60}.hall-review dd{margin:0;overflow-wrap:anywhere}.hall-review .rental-line-item{font-weight:700}.rental-total{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0}.rental-total strong{font-family:Georgia,serif;font-size:30px;color:#193f30}.hall-review .text-link{border:0;background:none;padding:0;cursor:pointer;font-family:inherit}.hall-review>[data-square-status]{margin-top:22px}.hall-review [data-request-rental]{margin-top:14px}.hall-review [data-pay-rental]{width:100%;margin:10px 0}.hall-review .request-consent{margin-block:18px}.hall-review [data-rental-feedback]{margin-top:14px}#square-card-container{min-height:110px;margin-block:18px}.rental-captcha{margin:18px 0}.hall-flow [data-hall-success]{width:100%;margin:0}.hall-flow [data-hall-success]>.text-link{display:block;margin-top:20px}.hall-flow [hidden]{display:none!important}@media(max-width:600px){.hall-review{padding:20px 16px}.rental-steps{gap:8px}.rental-steps li{font-size:11px!important}.hall-review dl>div{grid-template-columns:1fr 1.2fr;gap:12px}}
.hall-review .rental-captcha{width:100%;max-width:none;display:flex;flex-wrap:wrap;align-items:end;gap:10px 18px;padding:14px}.rental-captcha>span{width:100%;font-size:12px}.rental-captcha>div{gap:10px}.rental-captcha img{width:140px;height:auto}.rental-captcha label{font-size:12px}.rental-captcha input{height:36px;width:140px;padding:6px 10px;border:1px solid #c8d1c9;border-radius:3px}.rental-captcha>p{width:100%;margin:0;font-size:11px}
.hall-flow .request-consent{display:flex;gap:10px;align-items:start}.hall-flow .request-consent input{width:18px;min-height:18px;height:18px;flex:0 0 18px;margin:3px 0 0;padding:0}.hall-flow .contact-form h3{font-size:20px;margin:8px 0 0;line-height:1.4}.hall-flow .contact-form{gap:16px}
#rental-form,.hall-review,[data-hall-success]{scroll-margin-top:128px}@media(max-width:760px){#rental-form,.hall-review,[data-hall-success]{scroll-margin-top:92px}}

/* A full video library in a smooth, touch-friendly carousel. */
.media-carousel{position:relative;padding-inline:28px}.media-carousel .shorts-track{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 48px)/4);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.media-carousel .shorts-track::-webkit-scrollbar{display:none}.media-carousel .short-card{scroll-snap-align:start}.media-side-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:50px;height:50px;display:grid;place-items:center;border:1px solid #d7bd76;border-radius:50%;background:var(--gold,#dcc078);color:var(--forest,#193f30);box-shadow:0 6px 22px #0b3d3226;cursor:pointer;transition:background .25s,color .25s,box-shadow .25s,scale .25s}.media-side-left{left:0}.media-side-right{right:0}.media-side-arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s cubic-bezier(.22,1,.36,1)}.media-side-arrow:hover{background:var(--forest,#193f30);color:white;box-shadow:0 8px 26px #0b3d3240;scale:1.06}.media-side-left:hover svg{transform:translateX(-3px)}.media-side-right:hover svg{transform:translateX(3px)}.media-side-arrow:active{scale:.96}.media-side-arrow:focus-visible{outline:3px solid var(--forest);outline-offset:4px}.media-carousel .shorts-track:focus-visible{outline:2px solid var(--forest);outline-offset:6px}.media-carousel+.media-controls{padding-inline:28px}.media-carousel .short-card iframe{transition:opacity .3s}@media(max-width:1000px){.media-carousel .shorts-track{grid-auto-columns:calc((100% - 16px)/2)}}@media(max-width:600px){.media-carousel{padding-inline:20px}.media-carousel .shorts-track{grid-auto-columns:100%;gap:12px}.media-side-arrow{width:40px;height:40px}.media-carousel+.media-controls{padding-inline:20px}}@media(prefers-reduced-motion:reduce){.media-side-arrow,.media-side-arrow svg,.media-carousel .short-card iframe{transition:none}.media-carousel .shorts-track{scroll-behavior:auto}}
.media-carousel{overflow:visible}
.facebook-gallery .gallery-photo-link{background:#eef1ea}.facebook-gallery .gallery-photo-link img{height:auto;aspect-ratio:auto;object-fit:contain;width:100%;display:block}.facebook-gallery figure{align-self:start}.calendar-today-label{margin:18px 0 8px;font-weight:600;color:var(--forest)}.calendar-today-button{padding:10px 16px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--forest);font:inherit;cursor:pointer}.calendar-today-button:hover{background:var(--forest);color:white}.calendar-today-button:focus-visible{outline:2px solid var(--forest);outline-offset:3px}.calendar-day.is-hijri-month-start{background:#fff;border-top:3px solid var(--gold)}.calendar-day.is-today{background:var(--forest);color:#fff;outline:2px solid var(--forest);outline-offset:-2px}.calendar-day.is-today>strong,.calendar-day.is-today>span,.calendar-day.is-today>small{color:#fff}.calendar-day .calendar-today-badge{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.calendar-legend .calendar-today-dot{background:var(--forest);border-radius:50%;width:10px;height:10px}@media(max-width:600px){.calendar-controls{flex-wrap:wrap;gap:8px}.calendar-today-label{font-size:14px}.calendar-day .calendar-today-badge{font-size:8px}}

/* Six services share one desktop row; smaller screens retain a readable swipe row. */
#services .services-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:stretch}#services .service-card{grid-column:auto;min-width:0;min-height:320px;padding:24px 16px 20px}#services .service-card h3{font-size:21px;line-height:1.25;overflow-wrap:normal}#services .service-card p{font-size:13px;line-height:1.6;min-height:0;margin-bottom:20px}#services .service-card>a{font-size:12px;line-height:1.4;padding:10px 9px;width:100%;gap:6px}#services .service-card>a span{flex:none}@media(max-width:1099px){#services .services-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:230px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:15px;scrollbar-width:thin;scrollbar-color:#d8bd76 #ffffff14}#services .service-card{scroll-snap-align:start;min-height:310px;padding:25px 20px}#services .service-card h3{font-size:23px}#services .service-card p{font-size:14px}}@media(max-width:480px){#services .services-grid{grid-auto-columns:min(78vw,270px)}}

.interior-hero-service-request::before{background-position:center,center,var(--request-image-position,center 70%)}

.interior-hero-after-school::before{background-position:center,center,center 40%}

.nav-group > summary > a.nav-education-label{line-height:1.16;text-align:center;white-space:nowrap}
@media(max-width:900px){.nav-group > summary > a.nav-education-label{text-align:left}}
