/* Layout: olive hero band with a mihrab-arch prayer card; content on a pale limestone ground. */
:root {
  --bg: #eef0e9; --surface: #ffffff; --surface-2: #f6f7f2;
  --ink: #1e2117; --muted: #5c6250; --line: #d8dccd;
  --olive: #4b5220; --olive-deep: #31360f; --olive-soft: #e3e7d2;
  --brass: #a8823a; --brass-soft: #f2e8d2;
  --on-olive: #f4f2e6; --on-olive-muted: #c9ccb2;
  --ok: #3f7a3a; --warn: #a36a12; --bad: #a33a2a;
  --f-display: "Marcellus", "Cormorant", Georgia, serif;
  --f-body: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --f-arabic: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
  --f-urdu: "Noto Nastaliq Urdu", "Amiri", serif;
  --f-hindi: "Hind", "Noto Sans Devanagari", system-ui, sans-serif;
  --radius: 14px; --shadow: 0 1px 2px rgba(30,33,23,.06), 0 10px 30px -12px rgba(30,33,23,.18);
  --wrap: 1180px;
  --pattern: rgba(244,242,230,.07);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23f4f2e6' stroke-opacity='.10' stroke-width='1'%3E%3Crect x='26' y='26' width='36' height='36'/%3E%3Crect x='26' y='26' width='36' height='36' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3Cpath d='M0 44h18M70 44h18M44 0v18M44 70v18M0 0l13 13M88 0L75 13M0 88l13-13M88 88L75 75'/%3E%3C/g%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12140d; --surface: #1a1d13; --surface-2: #20241a;
    --ink: #ecebdf; --muted: #a8ad97; --line: #33382a;
    --olive: #3b4118; --olive-deep: #23270b; --olive-soft: #2b3118;
    --brass: #d3b06b; --brass-soft: #3a3020;
    --on-olive: #f4f2e6; --on-olive-muted: #c4c7ad;
    --ok: #7fbf74; --warn: #e0a546; --bad: #e07a68;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.6);
    --pattern: rgba(244,242,230,.05);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12140d; --surface: #1a1d13; --surface-2: #20241a;
  --ink: #ecebdf; --muted: #a8ad97; --line: #33382a;
  --olive: #3b4118; --olive-deep: #23270b; --olive-soft: #2b3118;
  --brass: #d3b06b; --brass-soft: #3a3020;
  --on-olive: #f4f2e6; --on-olive-muted: #c4c7ad;
  --ok: #7fbf74; --warn: #e0a546; --bad: #e07a68;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.6);
  --pattern: rgba(244,242,230,.05);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--olive-deep); }
html[lang="ur"] body { font-family: var(--f-urdu); line-height: 2.1; }
html[lang="hi"] body { font-family: var(--f-hindi); }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3 { font-family: var(--f-urdu); line-height: 1.8; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { font-family: var(--f-hindi); font-weight: 600; }
p { margin: 0; }
.ar { font-family: var(--f-arabic); direction: rtl; }
.num, time, .t { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
html[lang="ur"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { --b: var(--olive); display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 1px solid var(--b); background: var(--b); color: var(--on-olive); padding: .72em 1.3em; border-radius: 999px; font: 600 .95rem/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
html[lang="ur"] .btn { font-family: var(--f-urdu); line-height: 1.6; padding-block: .4em; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.brass { --b: var(--brass); color: #1e1a10; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost-light { background: transparent; color: var(--on-olive); border-color: rgba(244,242,230,.4); }
.btn.sm { padding: .5em 1em; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Top bar */
.topbar { background: var(--olive-deep); color: var(--on-olive-muted); font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar .dates { display: flex; gap: 14px; flex-wrap: wrap; min-width: 0; }
.topbar .dates span + span::before { content: "·"; margin-inline-end: 14px; opacity: .6; }
.lang { position: relative; }
.lang > button { display: inline-flex; align-items: center; gap: 6px; background: rgba(244,242,230,.08); color: var(--on-olive); border: 1px solid rgba(244,242,230,.2); border-radius: 999px; padding: 4px 10px 4px 8px; font: 600 .8rem var(--f-body); cursor: pointer; }
.lang > button svg { width: 16px; height: 16px; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 70; list-style: none; margin: 0; padding: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 190px; }
.lang li button { display: flex; width: 100%; justify-content: space-between; gap: 12px; background: none; border: 0; color: inherit; font: 500 .95rem var(--f-body); padding: 8px 10px; border-radius: 8px; cursor: pointer; text-align: start; }
.lang li button:hover, .lang li button[aria-current="true"] { background: var(--olive-soft); }
.lang li small { color: var(--muted); font-weight: 600; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--olive) 96%, transparent); backdrop-filter: blur(8px); color: var(--on-olive); border-bottom: 1px solid rgba(244,242,230,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand svg { width: 40px; height: 44px; flex: none; }
.brand b { font: 400 1.15rem/1.1 var(--f-display); display: block; }
.brand small { display: block; font-size: .72rem; letter-spacing: .12em; color: var(--on-olive-muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--on-olive); }
.nav a:hover { background: rgba(244,242,230,.1); }
.nav .btn { margin-inline-start: 8px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(244,242,230,.3); color: var(--on-olive); border-radius: 10px; padding: 8px; cursor: pointer; }
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; background: var(--olive); padding: 10px max(20px, env(safe-area-inset-left, 0px)) 18px; border-bottom: 1px solid rgba(244,242,230,.1); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
  .brand b { font-size: 1rem; }
}

/* Hero */
.hero { background: var(--olive); color: var(--on-olive); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--star); background-size: 88px 88px; opacity: 1; pointer-events: none; mask-image: linear-gradient(100deg, transparent 20%, #000 75%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-block: 64px 72px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin: 14px 0 12px; }
.hero .ar-name { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--brass); line-height: 1.6; }
html[data-theme] .hero .ar-name, .hero .ar-name { color: #d9bd7e; }
.hero .lead { color: var(--on-olive-muted); font-size: 1.08rem; max-width: 56ch; margin-top: 18px; }
.hero .eyebrow { color: #d9bd7e; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-text { min-width: 0; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-block: 40px 48px; } }

/* The arch card */
.arch { background: var(--surface); color: var(--ink); border-radius: 220px 220px var(--radius) var(--radius); padding: 56px 28px 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); position: relative; max-width: 420px; width: 100%; justify-self: end; }
.arch::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--brass); border-radius: 210px 210px 8px 8px; opacity: .45; pointer-events: none; }
@media (max-width: 920px) { .arch { justify-self: center; } }
.arch .star { width: 30px; height: 30px; color: var(--brass); display: block; margin: 0 auto 6px; }
.arch .label { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.arch .next-name { text-align: center; font: 400 2.6rem/1.1 var(--f-display); margin-top: 4px; }
html[lang="ur"] .arch .next-name { font-family: var(--f-urdu); line-height: 1.8; }
.arch .next-meta { display: flex; justify-content: center; gap: 22px; margin-top: 10px; }
.arch .next-meta div { text-align: center; }
.arch .next-meta small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.arch .next-meta b { font: 600 1.35rem/1.2 var(--f-body); font-variant-numeric: tabular-nums; }
.arch .countdown { text-align: center; margin: 14px auto 0; background: var(--brass-soft); color: var(--ink); border-radius: 999px; padding: 6px 14px; width: fit-content; font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; }
.arch ol { list-style: none; margin: 20px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; text-align: center; }
.arch li small { display: block; font-size: .72rem; color: var(--muted); }
.arch li b { font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.arch li.is-next b { color: var(--brass); }
.arch .place { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 12px; }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding-block: 84px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 8px; }
.section-head p { color: var(--muted); max-width: 60ch; margin-top: 10px; }
@media (max-width: 640px) { .section { padding-block: 56px; } }

/* Times */
.times-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .times-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.date-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.date-nav .d { display: flex; flex-direction: column; min-width: 0; }
.date-nav .d b { font-weight: 600; }
.date-nav .d small { color: var(--muted); }
.date-nav .ctrl { display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
html[dir="rtl"] .icon-btn.flip svg { transform: scaleX(-1); }
.date-nav input[type="date"] { border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: .9rem; height: 36px; }
table.times { width: 100%; border-collapse: collapse; }
table.times th, table.times td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--line); }
table.times th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
table.times td { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
table.times td:first-child { font-weight: 600; }
table.times td.j { font-weight: 700; color: var(--olive); }
:root[data-theme="dark"] table.times td.j { color: var(--brass); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) table.times td.j { color: var(--brass); } }
table.times tr:last-child td { border-bottom: 0; }
table.times tr.is-next td { background: var(--brass-soft); }
table.times tr.is-next td:first-child { box-shadow: inset 3px 0 0 var(--brass); }
html[dir="rtl"] table.times tr.is-next td:first-child { box-shadow: inset -3px 0 0 var(--brass); }
.badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--brass); color: #1e1a10; padding: 2px 8px; border-radius: 999px; margin-inline-start: 8px; vertical-align: 2px; }
.side-cards { display: grid; gap: 16px; }
.mini { padding: 18px 20px; }
.mini h3 { font-size: 1.25rem; margin-bottom: 10px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: end; }
.note { color: var(--muted); font-size: .88rem; }
.jumuah { background: var(--olive); color: var(--on-olive); border-color: transparent; position: relative; overflow: hidden; }
.jumuah::before { content: ""; position: absolute; inset: 0; background-image: var(--star); background-size: 64px 64px; pointer-events: none; }
.jumuah > * { position: relative; }
.jumuah .kv dt { color: var(--on-olive-muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.svc:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--olive-soft); color: var(--olive); display: grid; place-items: center; }
:root[data-theme="dark"] .svc .ic { color: var(--brass); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .svc .ic { color: var(--brass); } }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.4rem; }
.svc p { color: var(--muted); flex: 1; }
.svc .btn { align-self: flex-start; }
.svc.feature { background: var(--brass-soft); border-color: transparent; }

/* Donate */
.donate { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.donate-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .donate-grid { grid-template-columns: 1fr; gap: 28px; } }
.donate-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 8px 0 14px; }
.donate-copy p { color: var(--muted); }
.don-form { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 600 .95rem var(--f-body); cursor: pointer; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--olive); color: var(--on-olive); border-color: var(--olive); }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 520px) { .methods { grid-template-columns: 1fr; } }
.methods label { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px; display: flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 500; font-size: .92rem; }
.methods input { accent-color: var(--olive); }
.methods label:has(input:checked) { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.pay-box { border: 1px dashed var(--brass); border-radius: 12px; padding: 16px; background: var(--surface); display: grid; gap: 10px; }
.refline { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--brass-soft); border-radius: 10px; padding: 10px 14px; font: 700 1.2rem var(--f-body); letter-spacing: .06em; font-variant-numeric: tabular-nums; flex-wrap: wrap; }

/* Forms */
.field { display: grid; gap: 6px; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 1rem; background: var(--surface); color: var(--ink); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--olive) 18%, transparent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 8px; align-items: center; font-size: .92rem; }
.check input { accent-color: var(--olive); width: 18px; height: 18px; }
.err { color: var(--bad); font-size: .85rem; }

/* Notices */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.notice time { color: var(--brass); font-weight: 600; font-size: .85rem; }
.notice h3 { font-size: 1.3rem; }
.notice p { color: var(--muted); white-space: pre-line; }

/* Ayah */
.ayah { background: var(--olive-deep); color: var(--on-olive); text-align: center; position: relative; overflow: hidden; }
.ayah::before { content: ""; position: absolute; inset: 0; background-image: var(--star); background-size: 72px 72px; pointer-events: none; }
.ayah .wrap { position: relative; padding-block: 72px; display: grid; gap: 14px; justify-items: center; }
.ayah .ar { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #d9bd7e; line-height: 1.7; }
.ayah blockquote { margin: 0; font: 400 clamp(1.2rem, 2.2vw, 1.6rem)/1.4 var(--f-display); max-width: 40ch; }
html[lang="ur"] .ayah blockquote { font-family: var(--f-urdu); line-height: 2; }
.ayah cite { font-style: normal; color: var(--on-olive-muted); font-size: .88rem; max-width: 60ch; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid .body { font-size: 1.08rem; color: var(--ink); max-width: 62ch; white-space: pre-line; }
.contact-list { display: grid; gap: 14px; padding: 22px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list small { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--olive-deep); color: var(--on-olive-muted); padding-block: 48px 28px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--on-olive); font: 600 .8rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--on-olive-muted); }
.site-footer a:hover { color: var(--on-olive); }
.site-footer .brand { color: var(--on-olive); margin-bottom: 12px; }
.site-footer .base { border-top: 1px solid rgba(244,242,230,.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* Modal */
dialog.modal { border: 0; padding: 0; border-radius: 18px; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
dialog.modal::backdrop { background: rgba(20,22,12,.55); backdrop-filter: blur(3px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-head h3 { font-size: 1.5rem; display: flex; gap: 10px; align-items: center; }
.modal-head .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--olive-soft); color: var(--olive); display: grid; place-items: center; }
.modal-head .ic svg { width: 20px; height: 20px; }
.modal-body { padding: 20px; display: grid; gap: 14px; }
.modal-body .lede { color: var(--muted); }
.success { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 12px 0; }
.success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); display: grid; place-items: center; }

/* Assistant */
.as-fab { position: fixed; inset-inline-end: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: inline-flex; align-items: center; gap: 8px; background: var(--brass); color: #1e1a10; border: 0; border-radius: 999px; padding: 12px 18px 12px 14px; font: 700 .95rem var(--f-body); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); cursor: pointer; }
html[lang="ur"] .as-fab { font-family: var(--f-urdu); }
.as-fab svg { width: 22px; height: 22px; }
.as-panel { position: fixed; inset-inline-end: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 81; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100dvh - 120px)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); display: flex; flex-direction: column; overflow: hidden; }
@media (max-width: 480px) { .as-panel { inset-inline: 12px; width: auto; } }
.as-head { background: var(--olive); color: var(--on-olive); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.as-head b { font: 400 1.15rem var(--f-display); }
html[lang="ur"] .as-head b { font-family: var(--f-urdu); }
.as-head button { background: none; border: 0; color: var(--on-olive); cursor: pointer; padding: 4px; }
.as-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: .95rem; white-space: pre-line; overflow-wrap: anywhere; }
.msg.bot { background: var(--surface-2); border: 1px solid var(--line); align-self: flex-start; border-end-start-radius: 4px; }
.msg.me { background: var(--olive); color: var(--on-olive); align-self: flex-end; border-end-end-radius: 4px; }
.msg.typing { color: var(--muted); }
.as-sugg { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; }
.as-sugg button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 11px; font: 500 .82rem var(--f-body); cursor: pointer; }
.as-sugg button:hover { border-color: var(--brass); }
.as-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.as-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font: inherit; background: var(--surface); color: var(--ink); }
.as-form button { border-radius: 999px; }
.as-note { font-size: .72rem; color: var(--muted); padding: 0 14px 10px; }

.demo-banner { background: var(--brass-soft); color: var(--ink); font-size: .85rem; text-align: center; padding: 6px 16px; }

.reveal { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.reveal.d2 { animation-delay: .12s; } .reveal.d3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); opacity: .4; } to { transform: none; opacity: 1; } }

@media (max-width: 560px) {
  #gDate { display: none; }
  .topbar .dates span + span::before { display: none; }
  .as-fab { padding: 14px; }
  .as-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand small { display: none; }
}

/* Donation extras */
.policy { display: flex; gap: 10px; align-items: center; margin-top: 18px !important; background: var(--olive-soft); color: var(--ink) !important; padding: 10px 14px; border-radius: 12px; font-weight: 600; }
.policy svg { color: var(--olive); flex: none; }
.don-photo { margin: 22px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 404 / 167; max-width: 100%; }
.don-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.secure { display: flex; gap: 8px; align-items: flex-start; }
.secure svg { flex: none; margin-top: 3px; }
.methods { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .methods { grid-template-columns: 1fr 1fr; } }
.methods label.disabled { opacity: .45; pointer-events: none; }
.photos { display: grid; grid-template-columns: .75fr 1fr; gap: 12px; margin-top: 24px; }
.photos img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 520px) { .photos { grid-template-columns: 1fr; } .photos img { height: 200px; } }
.accts { display: grid; gap: 10px; }
.methods input { width: auto; flex: none; margin: 0; }
.methods label { justify-content: flex-start; line-height: 1.3; }
#contact { align-self: start; }

/* ---------- About page ---------- */
.nav a[aria-current="page"] { background: rgba(244,242,230,.12); }
.h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 8px 0 18px; }
.page-hero { background: var(--olive); color: var(--on-olive); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--star); background-size: 88px 88px; pointer-events: none; mask-image: linear-gradient(100deg, transparent 25%, #000 80%); }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; padding-block: 56px 0; }
.page-hero-text { min-width: 0; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 12px 0 10px; }
.page-hero .eyebrow, .page-hero .ar-name { color: #d9bd7e; }
.page-hero .ar-name { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.6; }
.page-hero .lead { color: var(--on-olive-muted); font-size: 1.08rem; max-width: 56ch; margin-top: 16px; }
.page-hero-place { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px !important; color: var(--on-olive-muted); font-size: .92rem; max-width: 60ch; }
.page-hero-place svg { color: #d9bd7e; flex: none; margin-top: 3px; }
.arch-photo { margin: 0; justify-self: end; width: 100%; max-width: 340px; aspect-ratio: 285 / 330; border-radius: 170px 170px 0 0; overflow: hidden; border: 6px solid rgba(244,242,230,.12); border-bottom: 0; }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) {
  .page-hero .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 36px; }
  .page-hero-text { padding-bottom: 28px; }
  .arch-photo { justify-self: center; max-width: 260px; }
}
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.story > div { min-width: 0; }
.story .body { font-size: 1.08rem; max-width: 62ch; white-space: pre-line; }
.story-photos { display: grid; gap: 12px; }
.story-photos img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } .story-photos img { height: 190px; } }
.values-band { background: var(--surface); border-block: 1px solid var(--line); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }
.value { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.value .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--olive); color: #d9bd7e; display: grid; place-items: center; }
.value .ic svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.35rem; }
.value p { color: var(--muted); }
.zakaat { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
.zakaat-text { padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.zakaat-text h3 { font-size: 1.5rem; }
.zakaat-text .btn { justify-self: start; margin-top: 6px; }
.zakaat-photos { display: grid; grid-template-rows: 1fr 1fr; min-height: 300px; }
.zakaat-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) { .zakaat { grid-template-columns: 1fr; } .zakaat-photos { grid-template-rows: none; grid-template-columns: 1fr 1fr; min-height: 160px; } }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--olive-soft); box-shadow: inset 0 0 0 4px var(--olive-soft), inset 0 0 0 10px var(--olive); }
.fb-card { padding: 22px; display: grid; gap: 12px; align-content: start; align-self: start; }
.fb-card h3 { font-size: 1.4rem; }
.fb-card .btn { justify-self: start; }

/* ---------- Project cards ---------- */
.post-filter { margin-bottom: 18px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brass); }
.post-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-img { position: relative; aspect-ratio: 16 / 10; background: var(--olive-soft); display: grid; place-items: center; color: var(--olive); max-width: 100%; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.post-img > svg { width: 36px; height: 36px; opacity: .6; }
.post-count { position: absolute; inset-inline-end: 10px; bottom: 10px; display: inline-flex; gap: 5px; align-items: center; background: rgba(20,22,12,.7); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.post-body { padding: 18px 20px 20px; display: grid; gap: 8px; flex: 1; align-content: start; }
.post-body h3 { font-size: 1.35rem; }
.post-body p { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-body .more { color: var(--olive); font-weight: 600; font-size: .92rem; margin-top: 2px; }
:root[data-theme="dark"] .post-body .more { color: var(--brass); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .post-body .more { color: var(--brass); } }
.post-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.tag { background: var(--brass-soft); color: var(--ink); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }

/* ---------- Post viewer ---------- */
dialog.post-modal { width: min(860px, calc(100vw - 24px)); }
.post-modal .modal-head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 6px; }
.post-modal .modal-head > div { min-width: 0; }
.post-full { padding: 0 0 24px; display: grid; gap: 16px; }
.viewer { position: relative; background: #12140d; aspect-ratio: 16 / 10; max-width: 100%; display: grid; place-items: center; }
.viewer img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; display: block; }
.vbtn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(244,242,230,.9); color: #1e2117; display: grid; place-items: center; cursor: pointer; }
.vbtn.prev { inset-inline-start: 12px; } .vbtn.next { inset-inline-end: 12px; }
html[dir="rtl"] .vbtn svg { transform: scaleX(-1); }
.vcount { position: absolute; bottom: 10px; inset-inline-end: 12px; background: rgba(20,22,12,.7); color: #fff; font-size: .8rem; padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 0 20px; }
.thumbs button { flex: none; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.thumbs button[aria-pressed="true"] { border-color: var(--brass); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-lede { padding: 0 20px; font-size: 1.12rem; font-weight: 500; max-width: 68ch; }
.post-text { padding: 0 20px; display: grid; gap: 12px; max-width: 72ch; color: var(--ink); }
.post-text p { white-space: pre-line; }

/* ---------- Compact prayer times strip ---------- */
.section.compact { padding-block: 48px; }
.times-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.times-head > div:first-child { min-width: 0; }
.times-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 4px; }
.times-head .note { margin-top: 4px; }
.times-head .date-nav { border: 0; padding: 0; gap: 14px; }
.times-head .date-nav .d { text-align: end; }
html[dir="rtl"] .times-head .date-nav .d { text-align: start; }
.tpanel { overflow: hidden; }
.tgrid { display: grid; grid-template-columns: repeat(6, 1fr); }
.trow { display: grid; gap: 4px; padding: 14px 16px; border-inline-end: 1px solid var(--line); align-content: start; }
.trow:last-child { border-inline-end: 0; }
.trow.thead { display: none; }
.trow .tn { font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.trow .ts, .trow .tj { font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.trow .ts { font-size: .95rem; color: var(--muted); }
.trow .tj { font-size: 1.35rem; font-weight: 700; color: var(--olive); }
:root[data-theme="dark"] .trow .tj { color: var(--brass); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .trow .tj { color: var(--brass); } }
.trow small { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.trow.sun .ts { font-size: 1.35rem; font-weight: 700; color: var(--muted); }
.trow.is-next { background: var(--brass-soft); box-shadow: inset 0 3px 0 var(--brass); }
.trow .badge { margin: 0; }
.textra { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface-2); }
.xchip { display: inline-flex; gap: 8px; align-items: baseline; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; }
.xchip b { font-variant-numeric: tabular-nums; }
.xchip.jum { background: var(--olive); color: var(--on-olive); border-color: transparent; }
.textra .note { font-size: .82rem; flex: 1 1 260px; }
@media (max-width: 860px) {
  .times-head .date-nav .d { text-align: start; }
  .tgrid { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 1.3fr 1fr 1fr; align-items: center; padding: 10px 16px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .trow.thead { display: grid; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-block: 8px; }
  .trow small { display: none; }
  .trow .tj, .trow.sun .ts { font-size: 1.05rem; }
  .trow.is-next { box-shadow: inset 3px 0 0 var(--brass); }
}

/* Show the whole photo (posters included); fill the spare space with a blurred copy */
.post-img { overflow: hidden; aspect-ratio: 4 / 3; }
.post-img img { object-fit: contain; z-index: 1; }
.fit-bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.1) brightness(.8); transform: scale(1.05); z-index: 0; }
.post-count { z-index: 2; }
.viewer { overflow: hidden; }
.viewer img { position: relative; z-index: 1; }
.viewer .vbtn, .viewer .vcount { z-index: 2; }
.viewer img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.viewer { max-height: 72vh; width: 100%; }

/* ---------- Hero backdrop: the masjid at night, fading into the olive ---------- */
.hero-photo { position: absolute; inset: 0; pointer-events: none; }
.hero-photo img { position: absolute; inset-block: 0; inset-inline-end: 0; width: 72%; height: 100%; object-fit: cover; object-position: 38% 45%; opacity: .9; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--olive) 28%, color-mix(in srgb, var(--olive) 82%, transparent) 44%, color-mix(in srgb, var(--olive) 35%, transparent) 70%, color-mix(in srgb, var(--olive) 10%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--olive) 70%, transparent) 0%, transparent 30%); }
html[dir="rtl"] .hero-photo::after {
  background:
    linear-gradient(270deg, var(--olive) 28%, color-mix(in srgb, var(--olive) 82%, transparent) 44%, color-mix(in srgb, var(--olive) 35%, transparent) 70%, color-mix(in srgb, var(--olive) 10%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--olive) 70%, transparent) 0%, transparent 30%); }
.hero::before { mask-image: linear-gradient(100deg, #000 0%, transparent 45%); -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 45%); z-index: 0; }
.hero .wrap { z-index: 1; }
.hero-text { text-shadow: 0 1px 18px color-mix(in srgb, var(--olive-deep) 60%, transparent); }
@media (max-width: 920px) {
  .hero-photo img { width: 100%; height: 62%; inset-block: 0 auto; object-position: 45% 40%; opacity: .75; }
  .hero-photo::after, html[dir="rtl"] .hero-photo::after { background: linear-gradient(180deg, color-mix(in srgb, var(--olive) 55%, transparent) 0%, color-mix(in srgb, var(--olive) 80%, transparent) 35%, var(--olive) 62%); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: heroIn 1.4s ease-out both; }
  @keyframes heroIn { from { opacity: .5; transform: scale(1.03); } to { opacity: .9; transform: none; } }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 920px) {
  @keyframes heroIn { from { opacity: .4; transform: scale(1.03); } to { opacity: .75; transform: none; } }
}
/* Wider backdrop: more of the building visible, lamp cropped out of the photo itself */
.hero-photo img { width: 86%; object-position: 50% 58%; }
.hero-photo::after {
  background:
    linear-gradient(90deg, var(--olive) 16%, color-mix(in srgb, var(--olive) 78%, transparent) 34%, color-mix(in srgb, var(--olive) 30%, transparent) 56%, color-mix(in srgb, var(--olive) 8%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--olive) 60%, transparent) 0%, transparent 28%); }
html[dir="rtl"] .hero-photo::after {
  background:
    linear-gradient(270deg, var(--olive) 16%, color-mix(in srgb, var(--olive) 78%, transparent) 34%, color-mix(in srgb, var(--olive) 30%, transparent) 56%, color-mix(in srgb, var(--olive) 8%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--olive) 60%, transparent) 0%, transparent 28%); }
.hero-text { text-shadow: 0 1px 2px color-mix(in srgb, var(--olive-deep) 70%, transparent), 0 2px 24px color-mix(in srgb, var(--olive-deep) 75%, transparent); }
@media (max-width: 920px) {
  .hero-photo img { width: 100%; object-position: 55% 50%; }
  .hero-photo::after, html[dir="rtl"] .hero-photo::after { background: linear-gradient(180deg, color-mix(in srgb, var(--olive) 55%, transparent) 0%, color-mix(in srgb, var(--olive) 80%, transparent) 35%, var(--olive) 62%); }
}
/* Placement v3: whole building, centred under the hero content, edges faded into the olive */
.hero-photo img {
  inset-inline-end: max(0px, calc((100% - 1180px) / 2 - 140px)); inset-inline-start: auto;
  width: min(1120px, 82%); height: 100%;
  object-fit: cover; object-position: 50% 30%; opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 86%, transparent 100%);
}
.hero-photo::after, html[dir="rtl"] .hero-photo::after {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--olive) 70%, transparent) 0%, color-mix(in srgb, var(--olive) 45%, transparent) 38%, transparent 62%),
    linear-gradient(0deg, color-mix(in srgb, var(--olive) 55%, transparent) 0%, transparent 25%);
}
html[dir="rtl"] .hero-photo::after {
  background:
    linear-gradient(270deg, color-mix(in srgb, var(--olive) 70%, transparent) 0%, color-mix(in srgb, var(--olive) 45%, transparent) 38%, transparent 62%),
    linear-gradient(0deg, color-mix(in srgb, var(--olive) 55%, transparent) 0%, transparent 25%);
}
@media (max-width: 920px) {
  .hero-photo img { inset-inline: 0; width: 100%; height: 58%; object-position: 50% 35%; opacity: .8;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero-photo::after, html[dir="rtl"] .hero-photo::after { background: linear-gradient(180deg, color-mix(in srgb, var(--olive) 45%, transparent) 0%, color-mix(in srgb, var(--olive) 72%, transparent) 40%, var(--olive) 70%); }
}
.hero-text .btn { text-shadow: none; }

/* ---------- Videos in posts ---------- */
.play-badge { position: absolute; z-index: 2; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(20,22,12,.62); color: #fff; display: grid; place-items: center; backdrop-filter: blur(2px); }
.play-badge svg { margin-inline-start: 3px; }
.stage { position: absolute; inset: 0; }
.stage video, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; z-index: 1; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.thumbs button { position: relative; }
.tb-ph { display: block; width: 100%; height: 100%; background: var(--olive); }
.tb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); }
.vcount { top: 10px; bottom: auto; z-index: 3; }
.site-footer .base-right { display: inline-flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.site-footer .credit { opacity: .6; font-size: .8rem; letter-spacing: .02em; }

/* Nikah: "What is Nikah?" */
.svc-more { background: none; border: 0; padding: 0; margin: -4px 0 14px; color: var(--brass); font: inherit; font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start; }
.svc-info { background: var(--brass-soft); border-radius: 14px; padding: 16px 18px; margin-bottom: 4px; }
.svc-info h4 { margin: 0 0 6px; font-family: var(--f-display, serif); font-weight: 400; font-size: 1.25rem; }
.svc-info p { margin: 0 0 8px; }
.svc-info .q-lead { margin: 12px 0 4px; color: var(--muted); font-size: .92rem; }
.svc-info blockquote { margin: 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--brass); font-style: italic; }
[dir="rtl"] .svc-info blockquote { border-left: 0; border-right: 3px solid var(--brass); padding: 2px 14px 2px 0; }
.svc-info cite { display: block; margin-top: 4px; font-style: normal; font-size: .85rem; color: var(--muted); }
.svc-info cite::before { content: "— "; }
.svc-notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--brass); border-radius: 12px; font-size: .92rem; font-weight: 500; }
.svc-notice svg { flex: none; margin-top: 3px; color: var(--brass); }
.svc-notice p { margin: 0; }
