@font-face {font-family:Manrope;src:url('/media/fonts/manrope-500.ttf') format('truetype');font-weight:500;font-display:swap}
:root {color-scheme:light;--page:#f8f6ef;--ink:#173d32;--muted:#526258;--line:#d4d9ca;--card:#fffdf7;--accent:#ac8441;--tint:#eaf0e5}
:root[data-theme=dark] {color-scheme:dark;--page:#101e19;--ink:#f5f4df;--muted:#c5cfbf;--line:#405247;--card:#192c24;--tint:#2c4235;--accent:#d6b471}
* {box-sizing:border-box}
body {margin:0;color:var(--ink);background:var(--page);font:500 1rem/1.5 Manrope,system-ui,sans-serif}
.frame {width:min(77rem,92%);margin-inline:auto}
.masthead {border-bottom:1px solid var(--line)}
.masthead-inner,.brand,.home {display:flex;align-items:center}
.masthead-inner {min-height:5.8rem;justify-content:space-between;gap:1rem}
a {color:inherit;text-decoration:none}
a:focus-visible {outline:3px solid var(--accent);outline-offset:4px}
.brand {gap:.75rem}
.brand img {object-fit:contain;max-width:16vw}
.brand b,.brand small {display:block}
.brand b {font:600 1.55rem/1.1 Georgia,serif}
.brand small {font-size:.78rem;margin-top:.15rem;color:var(--muted)}
.home {gap:.5rem;padding:.5rem 0;font-size:.9rem}
.home:hover {text-decoration:underline}
main {padding-block:clamp(1rem,2.5vw,2rem) 3rem}
.cover {isolation:isolate;position:relative;overflow:hidden;border-radius:1rem;background:#12382c;color:#fff9e8;display:flex;align-items:center;min-height:clamp(15rem,27vw,21rem)}
.cover-image,.cover::after {position:absolute;inset:0;width:100%;height:100%}
.cover-image {object-fit:cover;object-position:center 55%;z-index:-2}
.cover::after {content:'';z-index:-1;background:linear-gradient(90deg,rgba(6,35,23,.85),rgba(6,35,23,.3) 44%,transparent 70%)}
.cover-title {padding:2rem clamp(1.5rem,5vw,4.75rem)}
.arabic-title {display:block;width:fit-content;color:#edcd86;font:1.8rem/1.6 Georgia,serif}
h1 {font:500 clamp(4rem,8vw,7rem)/1 Georgia,serif;letter-spacing:-.045em;margin:.18rem 0 0}
.choices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.75rem,1.7vw,1.5rem);margin-top:clamp(1rem,2.1vw,1.8rem)}
.choices a {display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto 1fr;align-content:start;position:relative;padding:clamp(1.15rem,2.4vw,2rem);border:1px solid var(--line);border-radius:.9rem;background:var(--card)}
.choices i {display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:var(--tint);color:var(--ink)}
.choices svg {width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.choices strong {grid-column:1/-1;margin-block:1.3rem .3rem;font:500 clamp(1.8rem,3.2vw,2.6rem)/1.2 Georgia,serif}
.choices a>span {grid-column:1/-1;color:var(--muted);font-size:.95rem;max-width:30ch}
.choices a::after {content:'→';position:absolute;inset-inline-end:1.4rem;top:1.5rem;color:var(--muted);font:1.5rem/1.5 system-ui,sans-serif}
.choices .tafsir {background:#173e32;color:#fff9ea;border-color:#294f40;--ink:#f2d394;--tint:#315644;--muted:#e1e9da}
.choices a:hover {box-shadow:0 4px 15px #142b1c15;border-color:var(--accent)}
[dir=rtl] .cover-image,[dir=rtl] .cover::after,[dir=rtl] .choices a::after,[dir=rtl] .home span:first-child {transform:scaleX(-1)}
[dir=rtl] h1 {letter-spacing:normal;line-height:1.3}
@media(max-width:700px) {
  .masthead-inner {min-height:4.7rem}
  .brand img {width:3.4rem;height:3rem}
  .cover {min-height:12.25rem}
  .cover-image {object-position:73% center}
  .cover-title {padding:1.25rem}
  .arabic-title {font-size:1.4rem}
  .choices {grid-template-columns:1fr;gap:.65rem}
  .choices a {grid-template-columns:2.65rem 1fr 1rem;grid-template-rows:auto auto;gap:.15rem .85rem;align-items:center;padding:1.1rem}
  .choices i {grid-area:1/1/3/2;width:2.65rem;height:2.65rem}
  .choices strong,.choices a>span {grid-column:2;margin:0}
  .choices strong {font-size:1.65rem}
  .choices a>span {font-size:.86rem;max-width:none}
  .choices a::after {position:static;grid-area:1/3/3/4;font-size:1.15rem}
}

img.nj-map-mark{display:inline-block;width:1.15em;height:.98em;object-fit:contain;vertical-align:-.05em;flex:none}
html[data-theme=dark] img.nj-map-mark{filter:brightness(0) invert(.89)}
