/* ============================================================
   The Sin of Adam — torahtech.co/adam
   Program theme. Loads AFTER shared.css and tt-brand.css,
   which supply the Torah Tech tokens, chrome and primitives.
   This file owns the source blocks, the twelve hours, the
   before/after cards and the map of readings.
   ============================================================ */

:root {
  --ink:          var(--tt-ink);
  --ink-soft:     var(--tt-ink-soft);
  --muted:        var(--tt-ink-muted);
  --line:         var(--tt-line);
  --line-soft:    #f1f5fa;
  --surface:      var(--tt-surface);
  --surface-2:    var(--tt-surface-2);
  --accent:       var(--tt-blue);
  --accent-deep:  var(--tt-navy);
  --accent-soft:  var(--tt-line-strong);
  --font-display: var(--tt-font-display);
  --font-body:    var(--tt-font-body);
  --font-serif:   var(--tt-font-serif);
  --font-hebrew:  var(--tt-font-hebrew);
  --radius:       var(--tt-radius);
  --radius-sm:    var(--tt-radius-sm);
  --shadow:       var(--tt-shadow-card);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }

/* shared.js injects the header after load; reserve its height so the hero does not jump (CLS). */
#shared-header:empty { min-height: 71px; }
@media (max-width: 768px) { #shared-header:empty { min-height: 67px; } }

/* ── Utility bar (sits under the shared header) ──────────────── */
.ahr-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 9px clamp(12px, 4vw, 28px);
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.ahr-home { flex: none; display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.ahr-home .ahr-kicker { font: 700 .62rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); opacity: .8; }
.ahr-home > span:last-child { font: 600 .95rem/1.2 var(--font-display); color: var(--accent-deep); margin-top: 2px; }
.ahr-toc {
  flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 2px 4px; margin: 0 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
.ahr-toc::-webkit-scrollbar { display: none; }
.ahr-toc a {
  flex: none; text-decoration: none; white-space: nowrap;
  font: 600 .74rem/1 var(--font-body); color: var(--ink-soft);
  padding: 8px 12px; border-radius: 999px; border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.ahr-toc a:hover { background: var(--surface-2); border-color: var(--line); color: var(--accent-deep); }
.ahr-toc a.on { background: var(--accent-deep); color: #fff; }
.ahr-btn {
  flex: none; appearance: none; cursor: pointer; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); color: var(--accent-deep); font: 600 .78rem/1 var(--font-body);
  padding: 8px 11px; min-width: 40px; min-height: 34px;
  transition: background .15s, transform .1s, border-color .15s, color .15s;
}
.ahr-btn:hover { background: var(--surface-2); transform: translateY(-1px); border-color: var(--accent-soft); }
.ahr-btn:active { transform: translateY(0); }
.ahr-btn[aria-pressed="true"] { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.ahr-btn .he { font-family: var(--font-hebrew); font-size: .95rem; }
@media (max-width: 620px) {
  .ahr-home { display: none; }
  .ahr-toc { margin-left: -4px; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Page ────────────────────────────────────────────────────── */
.ahr-wrap { max-width: 860px; margin: 0 auto; padding: 30px clamp(16px, 5vw, 28px) 20px; }
.ahr-he-inline { font-family: var(--font-hebrew); font-size: 1.15em; direction: rtl; unicode-bidi: isolate; }

.ahr-section { margin: 64px 0 0; scroll-margin-top: 64px; }
.ahr-section:first-child { margin-top: 18px; }
.ahr-section > .tt-eyebrow { display: flex; justify-content: center; margin-bottom: 12px; }
/* Brand blue on white is ~3:1, too light for small caps; keep the blue hairlines, darken the text. */
.ahr-section > .tt-eyebrow.on-light { color: var(--accent-deep); }
.ahr-section > h2 {
  font: 700 clamp(1.4rem, 4vw, 1.85rem)/1.22 var(--font-display); color: var(--accent-deep);
  letter-spacing: -.5px; margin: 0 0 12px; text-align: center;
}
.ahr-section > h2::after {
  content: ''; display: block; width: 60px; height: 2px;
  background: var(--accent); margin: 14px auto 0;
}
.ahr-sub { text-align: center; color: var(--muted); font-size: .95rem; max-width: 56ch; margin: 14px auto 26px; line-height: 1.6; }

.ahr-prose { font-size: 1rem; line-height: 1.82; color: var(--ink-soft); }
.ahr-prose p { margin: 0 0 15px; }
.ahr-prose strong { color: var(--accent-deep); font-weight: 700; }
.ahr-prose a, .ahr-faq a { color: var(--accent-deep); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ahr-prose a:hover, .ahr-faq a:hover { color: var(--accent); }
.ahr-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); padding: clamp(18px, 3.8vw, 28px); }
.ahr-panel > :last-child { margin-bottom: 0; }
.ahr-gap { margin-top: 22px; }

/* ── Source blocks ───────────────────────────────────────────── */
.ahr-src {
  margin: 22px 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.ahr-src-he {
  font-family: var(--font-hebrew); direction: rtl; text-align: right;
  font-size: clamp(1.12rem, 2.9vw, 1.32rem); line-height: 1.95; color: var(--ink);
  padding: clamp(16px, 3.6vw, 24px) clamp(16px, 3.6vw, 26px) 6px;
}
.ahr-src-en {
  font-family: var(--font-serif); font-size: clamp(1.06rem, 2.4vw, 1.18rem); line-height: 1.6; color: var(--ink-soft);
  padding: 6px clamp(16px, 3.6vw, 26px) 4px;
}
.ahr-src-ref {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding: 10px clamp(16px, 3.6vw, 26px);
  background: var(--surface-2); border-top: 1px solid var(--line-soft);
  font: 700 .6rem/1.4 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--accent-deep);
}
.ahr-src-ref a { color: var(--accent-deep); text-decoration: none; font-weight: 600; letter-spacing: .06em; text-transform: none; font-size: .74rem; }
.ahr-src-ref a:hover { color: var(--accent); text-decoration: underline; }

/* deep variant: the page's few load-bearing quotes */
.ahr-src.deep { background: var(--tt-grad-deep); border-color: transparent; box-shadow: 0 14px 36px rgba(12,35,80,.22); text-align: center; }
.ahr-src.deep .ahr-src-he { color: #fff; text-align: center; font-size: clamp(1.25rem, 3.4vw, 1.55rem); }
.ahr-src.deep .ahr-src-en { color: rgba(255,255,255,.9); text-align: center; }
.ahr-src.deep .ahr-src-ref { background: rgba(255,255,255,.07); border-top-color: rgba(255,255,255,.12); color: var(--tt-ice); justify-content: center; }
.ahr-src.deep .ahr-src-ref a { color: var(--tt-ice); }

body.ahr-no-en .ahr-src-en, body.ahr-no-en .ahr-en-opt { display: none; }
body.ahr-no-he .ahr-src-he, body.ahr-no-he .ahr-he-opt { display: none; }
body.ahr-no-he .ahr-src-en { padding-top: clamp(16px, 3.6vw, 24px); }

/* ── The twelve hours (Sanhedrin 38b) ────────────────────────── */
.ahr-hours {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow); padding: clamp(16px, 3.6vw, 26px);
}
.ahr-track { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)) auto; gap: 5px; align-items: stretch; }
.ahr-hr {
  appearance: none; cursor: pointer; border: 0; border-radius: 10px; min-height: 58px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font: 700 .95rem/1 var(--font-display);
  color: var(--accent-deep);
  background: #dbe7fb; /* adam.js shades each hour from morning to dusk */
  transition: transform .15s, box-shadow .15s, outline-color .15s;
  position: relative;
}
.ahr-hr small { font: 700 .52rem/1 var(--font-body); letter-spacing: .02em; text-transform: uppercase; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ahr-hr.dark { color: #fff; }
.ahr-hr:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(28,71,165,.2); }
.ahr-hr[aria-pressed="true"] { outline: 3px solid var(--tt-cyan); outline-offset: 2px; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,200,220,.32); }
.ahr-hr.mark::after {
  content: ''; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--tt-cyan); box-shadow: 0 0 0 2px rgba(255,255,255,.75);
}
.ahr-shabbat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 0 10px; border-radius: 10px; min-height: 58px;
  background: linear-gradient(160deg, #091836, #0C2350); color: var(--tt-ice);
  font: 700 .52rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
}
.ahr-shabbat .he { font-family: var(--font-hebrew); font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: #fff; }
.ahr-track-legend { display: flex; justify-content: space-between; margin: 10px 2px 0; font: 700 .56rem/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.ahr-hour-detail { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-soft); min-height: 150px; }
.ahr-hd-top { display: flex; align-items: flex-start; gap: 16px; }
.ahr-hd-num {
  flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.4rem/1 var(--font-display); color: #fff; background: var(--tt-grad-header);
  box-shadow: 0 6px 16px rgba(28,71,165,.24);
}
.ahr-hd-body { flex: 1; min-width: 0; }
.ahr-hd-label { font: 700 .58rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ahr-hd-he { font-family: var(--font-hebrew); direction: rtl; text-align: right; font-size: clamp(1.4rem, 4vw, 1.75rem); line-height: 1.5; color: var(--ink); margin: 6px 0 2px; }
.ahr-hd-en { font: 600 1.05rem/1.45 var(--font-display); color: var(--accent-deep); }
.ahr-hd-note { font-size: .93rem; line-height: 1.75; color: var(--ink-soft); border-left: 3px solid var(--accent); padding: 2px 0 2px 14px; margin-top: 14px; }
.ahr-hd-note strong { color: var(--accent-deep); }
.ahr-hd-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.ahr-fade { animation: ahr-fade .32s ease both; }
@keyframes ahr-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .ahr-track { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ahr-hr small { font-size: .5rem; letter-spacing: .04em; }
  .ahr-shabbat { grid-column: 1 / -1; flex-direction: row; min-height: 40px; gap: 10px; }
  .ahr-hr { min-height: 50px; }
}

/* ── Before / after ──────────────────────────────────────────── */
.ahr-switch { display: flex; justify-content: center; margin: 0 0 20px; }
.ahr-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.ahr-seg button {
  appearance: none; cursor: pointer; border: 0; background: transparent; color: var(--ink-soft);
  font: 600 .84rem/1 var(--font-body); padding: 12px 20px; transition: background .15s, color .15s;
}
.ahr-seg button:hover { background: rgba(94,144,227,.14); }
.ahr-seg button[aria-pressed="true"] { background: var(--accent-deep); color: #fff; }
.ahr-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ahr-ba-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 20px 20px 18px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .3s;
  display: flex; flex-direction: column;
}
.ahr-ba-card:hover { transform: translateY(-6px); box-shadow: var(--tt-shadow-lift); border-color: var(--accent-soft); }
.ahr-ba-who { font: 700 1.02rem/1.25 var(--font-display); color: var(--accent-deep); }
.ahr-ba-ref { font: 700 .56rem/1.4 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.ahr-ba-state { margin-top: 14px; flex: 1; }
.ahr-ba-key {
  display: inline-block; font: 700 .58rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 999px; background: rgba(94,144,227,.14); color: var(--accent-deep); margin-bottom: 10px;
}
.ahr-ba-he { font-family: var(--font-hebrew); direction: rtl; text-align: right; font-size: 1.12rem; line-height: 1.75; color: var(--ink); margin-bottom: 6px; }
.ahr-ba-text { font-size: .9rem; line-height: 1.7; color: var(--ink-soft); }
.ahr-ba-verdict { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: .82rem; line-height: 1.55; color: var(--muted); }
.ahr-ba-verdict b { color: var(--accent-deep); }
.ahr-ba[data-state="after"] .ahr-ba-card { background: linear-gradient(180deg, #f3f7fe, #fff 60%); }
.ahr-ba[data-state="after"] .ahr-ba-key { background: var(--accent-deep); color: #fff; }
@media (max-width: 620px) { .ahr-ba { grid-template-columns: 1fr; } }

/* ── Map of readings ─────────────────────────────────────────── */
.ahr-map { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: clamp(16px, 3.6vw, 26px); }
.ahr-axis { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 6px; }
.ahr-axis::before {
  content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 29px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #7BB3F0, #1C47A5 55%, #00C8DC);
}
.ahr-stop {
  position: relative; appearance: none; cursor: pointer; border: 0; background: transparent;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px 4px 8px; border-radius: 12px;
  color: var(--ink-soft); transition: background .15s;
}
.ahr-stop:hover { background: var(--surface-2); }
.ahr-dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 700 .8rem/1 var(--font-display); color: var(--accent-deep);
  background: #fff; border: 2px solid var(--accent); transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.ahr-stop[aria-pressed="true"] .ahr-dot { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; transform: scale(1.18); box-shadow: 0 0 0 6px rgba(0,200,220,.22); }
.ahr-stop-name { font: 600 .82rem/1.3 var(--font-display); text-align: center; color: var(--accent-deep); }
.ahr-stop-sub { font-size: .7rem; line-height: 1.35; color: var(--muted); text-align: center; }
.ahr-map-panel { margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.ahr-map-title { font: 700 1.2rem/1.3 var(--font-display); color: var(--accent-deep); margin: 0 0 6px; }
.ahr-map-lede { font-size: .95rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 16px; }
.ahr-cites { display: grid; gap: 10px; }
.ahr-cite {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2);
  padding: 13px 15px; transition: border-color .15s, background .15s, transform .15s;
}
.ahr-cite:hover { border-color: var(--accent-soft); background: #fff; transform: translateX(3px); }
.ahr-cite-who { font: 700 .6rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.ahr-cite-he { font-family: var(--font-hebrew); direction: rtl; text-align: right; font-size: 1.05rem; line-height: 1.7; color: var(--ink); margin-top: 4px; }
.ahr-cite-text { font-size: .88rem; line-height: 1.65; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 620px) {
  .ahr-axis { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .ahr-axis::before { display: none; }
  .ahr-stop { background: var(--surface-2); padding: 12px 6px; }
  .ahr-stop[aria-pressed="true"] { background: rgba(94,144,227,.14); }
}

/* ── Guardrails list ─────────────────────────────────────────── */
.ahr-guard { display: grid; gap: 12px; margin-top: 4px; }
.ahr-guard-item { display: flex; gap: 14px; align-items: flex-start; }
.ahr-guard-n {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 700 .82rem/1 var(--font-display); color: #fff; background: var(--tt-grad-header);
}
.ahr-guard-item p { margin: 3px 0 0; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.ahr-faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  padding: 0; margin-bottom: 10px; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.ahr-faq details[open] { border-color: var(--accent-soft); box-shadow: var(--shadow); }
.ahr-faq summary {
  cursor: pointer; list-style: none; padding: 16px 18px;
  font: 600 .97rem/1.45 var(--font-body); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: background .15s;
}
.ahr-faq summary::-webkit-details-marker { display: none; }
.ahr-faq summary:hover { background: var(--surface-2); }
.ahr-faq summary::after { content: '+'; flex: none; color: var(--accent); font-size: 1.3rem; line-height: 1; font-weight: 400; }
.ahr-faq details[open] summary::after { content: '\2013'; }
.ahr-faq details[open] summary { background: var(--surface-2); }
.ahr-faq-body { padding: 14px 18px 16px; font-size: .94rem; line-height: 1.78; color: var(--ink-soft); }
.ahr-faq-body p { margin: 0 0 10px; }
.ahr-faq-body p:last-child { margin: 0; }

/* ── Related ─────────────────────────────────────────────────── */
.ahr-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ahr-related a {
  display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 20px 20px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ahr-related a:hover { transform: translateY(-6px); box-shadow: var(--tt-shadow-lift); border-color: var(--accent-soft); }
.ahr-rel-he { font-family: var(--font-hebrew); direction: rtl; font-size: 1.3rem; color: var(--accent-deep); }
.ahr-rel-en { font: 700 .58rem/1.5 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--accent-deep); margin-top: 4px; }
.ahr-rel-note { font-size: .82rem; color: var(--muted); margin-top: 6px; line-height: 1.55; }
@media (max-width: 720px) { .ahr-related { grid-template-columns: 1fr; } }

/* credits strip, above the CTA band */
.ahr-credits {
  max-width: 860px; margin: 56px auto 0; padding: 26px clamp(16px, 5vw, 28px) 40px;
  border-top: 1px solid var(--line); text-align: center;
  color: var(--muted); font-size: .8rem; line-height: 1.75;
}
.ahr-credits a { color: var(--accent-deep); }
.ahr-credits p { margin: 0 0 6px; }

/* ── Reveal on scroll ──────────────────────────────────────────
   CSS scroll-driven only. Content is never hidden by default: browsers without
   animation-timeline (or with reduced motion, or printing) simply show it. An
   earlier JS/IntersectionObserver version left all content at opacity 0 in
   browsers where the observer never fired. Do not bring that back. */
@supports (animation-timeline: view()) {
  @media screen and (prefers-reduced-motion: no-preference) {
    .ahr-reveal {
      animation: ahr-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}
@keyframes ahr-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── Skeleton shimmer for the interactive mounts before JS fills them ── */
.ahr-skel { border-radius: 10px; min-height: 120px; background: linear-gradient(90deg, #eef3fa 25%, #f7f9fc 37%, #eef3fa 63%); background-size: 400% 100%; animation: ahr-shimmer 1.3s ease infinite; }
@keyframes ahr-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

@media (prefers-reduced-motion: reduce) {
  .ahr-fade, .ahr-skel { animation: none; }
  .ahr-ba-card, .ahr-related a, .ahr-btn, .ahr-hr, .ahr-cite, .ahr-dot { transition: none; }
  .ahr-ba-card:hover, .ahr-related a:hover, .ahr-btn:hover, .ahr-hr:hover, .ahr-cite:hover { transform: none; }
}

/* ── Print / PDF ─────────────────────────────────────────────────
   Screen: the static print blocks stay hidden. Print: interactive widgets,
   chrome and buttons drop out, and the static blocks show every hour, every
   before/after card and every source in the map. adam.js opens all FAQs on
   beforeprint. Ink-light: borders instead of navy fills. */
.ahr-print-only { display: none; }
@media print { .ahr-screen-only { display: none !important; } }
.ahr-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.ahr-hero-actions .tt-btn-ghost { padding: 11px 22px; font-size: 14px; cursor: pointer; font-family: var(--font-body); }
#t-print svg { display: block; }

@media print {
  @page { margin: 16mm 15mm 18mm; }
  html, body { background: #fff !important; }
  body { color: #111; font-size: 10.5pt; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; text-shadow: none !important; }

  #shared-header, #shared-footer, .wa-widget, .ahr-bar, .ahr-hero-actions, .tt-band, #more,
  .ahr-hours, .ahr-switch, #ba-grid, .ahr-map, .ahr-skel { display: none !important; }
  .ahr-print-only { display: block !important; }

  /* every quote shows both languages, whatever the toggles were set to */
  .ahr-src-he, .ahr-src-en { display: block !important; }

  a { color: inherit !important; text-decoration: none !important; }
  .ahr-src-ref a { display: none !important; }

  /* title block */
  .tt-hero { background: none !important; color: #111; padding: 0 0 12pt; border-bottom: 2pt solid #1C47A5; }
  .tt-hero::before { display: none; }
  .ahr-print-head { display: flex !important; justify-content: space-between; align-items: center; margin-bottom: 10pt; font: 600 9pt var(--font-body); color: #555; }
  .ahr-print-head img { height: 22pt; width: auto; filter: brightness(0) saturate(100%) invert(19%) sepia(63%) saturate(2400%) hue-rotate(214deg) brightness(92%); }
  .tt-hero .tt-eyebrow { color: #1C47A5; }
  .tt-hero .tt-eyebrow::before, .tt-hero .tt-eyebrow::after { background: #1C47A5; }
  .tt-hero-he { color: #111; font-size: 26pt; margin: 8pt 0 2pt; }
  .tt-hero h1 { color: #1C47A5; font-size: 22pt; margin: 0 0 6pt; }
  .tt-hero-lede { color: #333; font-size: 10.5pt; font-weight: 400; max-width: none; }

  /* body */
  .ahr-wrap { max-width: none; padding: 0; }
  .ahr-section { margin: 20pt 0 0; }
  .ahr-section > .tt-eyebrow { margin-bottom: 4pt; color: #1C47A5; display: block !important; text-align: center; break-after: avoid; page-break-after: avoid; }
  .ahr-section > h2 { font-size: 15pt; margin-bottom: 4pt; break-before: avoid; break-after: avoid; page-break-after: avoid; }
  .ahr-section > .ahr-sub { break-before: avoid; page-break-before: avoid; break-after: avoid; break-inside: avoid; }
  .ahr-guard-item { break-inside: avoid; page-break-inside: avoid; }
  .ahr-section > .ahr-sub + *, .ahr-section > .ahr-sub ~ .ahr-print-only { break-before: avoid; }
  .ahr-section > h2 { break-inside: avoid; page-break-inside: avoid; border-bottom: 1.5pt solid #5E90E3; padding-bottom: 4pt; display: table; margin-left: auto; margin-right: auto; }
  .ahr-section > h2::after { display: none; }
  .ahr-sub { color: #444; font-size: 9.5pt; margin: 6pt auto 10pt; break-after: avoid; }
  .ahr-prose { font-size: 10.5pt; line-height: 1.55; color: #111; }
  .ahr-prose p { margin: 0 0 7pt; orphans: 3; widows: 3; }
  .ahr-panel { background: none !important; border: 1px solid #cfdcf0; padding: 10pt 12pt; }

  .ahr-src, .ahr-src.deep { background: #fff !important; border: 1px solid #cfdcf0; border-left: 3pt solid #1C47A5; border-radius: 6pt; margin: 9pt 0; text-align: left; break-inside: avoid; page-break-inside: avoid; }
  .ahr-src-he, .ahr-src.deep .ahr-src-he { color: #111; text-align: right; font-size: 13pt; line-height: 1.7; padding: 8pt 12pt 2pt; }
  .ahr-src-en, .ahr-src.deep .ahr-src-en { color: #333; text-align: left; font-size: 11pt; line-height: 1.45; padding: 2pt 12pt 2pt; }
  .ahr-src-ref, .ahr-src.deep .ahr-src-ref { background: none !important; color: #1C47A5; border-top: 1px solid #e9eef6; justify-content: flex-start; margin-top: 6pt; padding: 5pt 12pt; }

  .ahr-guard-n { background: none !important; color: #1C47A5; border: 1.5pt solid #1C47A5; }

  .ahr-faq details { border: 0; border-bottom: 1px solid #e9eef6; border-radius: 0; margin: 0; break-inside: avoid; page-break-inside: avoid; }
  .ahr-faq summary { padding: 8pt 0 2pt; background: none !important; font-size: 10.5pt; }
  .ahr-faq summary::after { display: none; }
  .ahr-faq-body { padding: 0 0 8pt; font-size: 10pt; color: #222; }

  .ahr-credits { margin: 18pt 0 0; padding: 8pt 0 0; font-size: 8.5pt; color: #555; text-align: left; }
  .ahr-print-foot { margin-top: 8pt; font: 600 8.5pt var(--font-body); color: #1C47A5; }

  /* static versions of the interactive pieces */
  .ahr-p-item { border-bottom: 1px solid #e9eef6; padding: 6pt 0; break-inside: avoid; page-break-inside: avoid; }
  .ahr-p-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10pt; color: #1C47A5; font-size: 10.5pt; }
  .ahr-p-he { font-family: var(--font-hebrew); font-size: 12pt; color: #111; direction: rtl; unicode-bidi: isolate; }
  .ahr-p-he-block { font-family: var(--font-hebrew); font-size: 11.5pt; text-align: right; direction: rtl; margin: 2pt 0; }
  .ahr-p-ref { font-size: 8.5pt; color: #555; text-transform: uppercase; letter-spacing: .08em; }
  .ahr-p-en { font-weight: 600; font-size: 10pt; margin-top: 1pt; }
  .ahr-p-note { font-size: 9.5pt; color: #333; margin-top: 3pt; line-height: 1.45; }
  .ahr-p-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12pt; margin-top: 4pt; font-size: 9.5pt; line-height: 1.45; }
  .ahr-p-label { font-weight: 700; color: #1C47A5; font-size: 9pt; text-transform: uppercase; letter-spacing: .05em; }
  .ahr-p-stop { margin: 10pt 0 4pt; }
  .ahr-p-stop h3 { font: 700 11.5pt var(--font-display); color: #1C47A5; margin: 0 0 3pt; break-after: avoid; }
  .ahr-p-lede { font-size: 10pt; color: #333; margin: 0 0 4pt; }
  .ahr-p-cite { font-size: 9.5pt; line-height: 1.45; padding: 3pt 0 3pt 9pt; border-left: 2pt solid #cfdcf0; margin: 3pt 0; break-inside: avoid; page-break-inside: avoid; }
}
