/* Congregation Bnei Yitzhak, 730 Avenue S, Brooklyn: the Hechal.
   A Syrian Sephardic shul in the traditions of Aram Soba whose emblem is its own ark: walnut panels rising in fluted
   columns around a carved flame, lit from within, against speckled terrazzo stone, with שויתי ה׳ לנגדי תמיד across it.
   Their own petrol blue (#052e43 in their app) as the ink and the dark bands, walnut from the ark for times and prices,
   the lamplight inside the ark only as a thin warm line on the dark bands, pale terrazzo pages with a faint speckle.
   Petrona for headings, Mulish for text, Noto Serif Hebrew. The motif is the rise: five fluted bars stepping up to the
   centre, as the ark's columns do, before section titles; under page titles a hairline that rises in three steps.
   Nearly square buttons, photos whole, hairlines rather than boxes. No eyebrows above headings, sentence case,
   lining figures. */

:root {
  --page: #eef0ee; --paper: #fafbfa; --stone: #e2e6e4; --honey: #d6dcda;
  --ink: #0b2f3c; --ink-2: #2b434c; --muted: #62747a;
  --petrol: #0f4a5c; --petrol-dk: #082f3d; --petrol-lt: #d3e2e5; --sea: #5d8794; --sea-lt: #a9c4cb;
  --walnut: #7a4f33; --walnut-lt: #c49b78; --lamp: #e2b56f;
  --slate: var(--petrol); --slate-dk: var(--petrol-dk); --slate-lt: var(--petrol-lt); --steel: var(--sea); --steel-lt: var(--sea-lt); --brass: var(--walnut-lt);
  --sodalite: var(--petrol); --sodalite-lt: var(--petrol-lt);
  --navy: var(--ink); --navy-dk: #061f28; --gold: var(--sea); --gold-lt: var(--sea-lt); --gold-text: var(--petrol);
  --bronze: var(--petrol); --bronze-dk: var(--petrol-dk); --bronze-lt: var(--petrol-lt);
  --night: #0a2a35; --night-text: #dfe8e9; --night-muted: #9fb4b9;
  --velvet: var(--petrol); --velvet-dk: var(--petrol-dk); --brick: var(--petrol); --brick-dk: var(--petrol-dk); --glass: var(--sea);
  --line: rgba(11, 47, 60, .12); --line-2: rgba(11, 47, 60, .26); --rule: var(--sea);
  --ivory: var(--page); --stone-2: var(--honey); --accent: var(--petrol); --accent-dk: var(--petrol-dk); --accent-lt: var(--petrol-lt);
  --serif: "Petrona", Georgia, serif;
  --text-serif: "Petrona", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hebrew: "Noto Serif Hebrew", "Times New Roman", serif;
  --max: 1240px; --gutter: clamp(20px, 5vw, 72px);
  --header-h: 80px; --radius: 3px;
  --section: clamp(56px, 6.4vw, 100px);
  --ease: cubic-bezier(.22, .68, .2, 1);
  --star: url("/images/rise.svg");
}
@media (max-width: 760px) { :root { --header-h: 66px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-synthesis: none; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--ink-2);
  font: 400 1.0625rem/1.68 var(--sans); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bronze-dk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1.08rem; line-height: 1.3; }
[lang="he"] { font-family: var(--hebrew); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.15rem); line-height: 1.6; color: var(--ink); }
/* "font" shorthands reset numeric variants, so force lining figures everywhere at the end. */
body * { font-variant-numeric: lining-nums; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.band-stone { background: var(--stone); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.7em;
  font: 500 .98rem/1.1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--page); border: 1px solid var(--ink); border-radius: 0;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--bronze-dk); border-color: var(--bronze-dk); color: #fff; }
.btn-accent { background: var(--bronze-dk); border-color: var(--bronze-dk); color: #fff; }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--page); border-color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 1.25em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.link-arrow {
  display: inline-flex; align-items: baseline; gap: .5em; padding-bottom: 4px; color: var(--ink); text-decoration: none;
  font: 500 .98rem/1.3 var(--sans); border-bottom: 1px solid var(--bronze-lt); transition: border-color .25s, color .25s;
}
.link-arrow::after { content: "→"; color: var(--bronze); transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--bronze-dk); border-color: var(--bronze-dk); }
.link-arrow:hover::after { transform: translateX(4px); }
.links { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: baseline; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--bronze-dk); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* The ornaments (the crown on the line, the brick course) are set in the look below. */
.ring-rule { display: flex; align-items: center; gap: 18px; color: var(--bronze); margin: 0; }
.ring-rule::before, .ring-rule::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.ring-rule i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid currentColor; background: radial-gradient(circle, currentColor 0 1.6px, transparent 2.2px); flex: none; }
.ring-rule.short { width: 180px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Header ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .94); -webkit-backdrop-filter: saturate(1.1) blur(14px); backdrop-filter: saturate(1.1) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-1 { font: 400 1.32rem/1.05 var(--serif); color: var(--ink); white-space: nowrap; }
.brand-2 { font: 400 .8rem/1.2 var(--sans); color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a:not(.btn) { position: relative; padding: 8px 0; font: 500 .95rem/1 var(--sans); color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 6px; }
.nav-toggle { display: none; width: 46px; height: 46px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; color: var(--ink); }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 27px; }
.nav-open .nav-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  /* A backdrop filter would make the header the containing block for the fixed menu, so phones get a solid header. */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--page); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px;
    background: var(--page); overflow-y: auto; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav a:not(.btn) { padding: 18px 0; font: 400 1.75rem/1.1 var(--serif); color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn)[aria-current="page"] { color: var(--bronze-dk); }
  .nav .btn { margin: 28px 0 0; min-height: 54px; font-size: 1rem; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand img { height: 40px; }
  .brand-1 { font-size: 1.14rem; }
  .brand-2 { font-size: .74rem; }
}

/* ---------- Page heads (sub-pages) ---------- */
.page-hero { padding-top: clamp(44px, 7vw, 104px); }
.page-hero-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 88px); align-items: end; padding-bottom: clamp(36px, 5vw, 68px); }
.page-hero h1 { margin: 0; }
.page-hero-lede { margin: 0 0 .35em; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.6; color: var(--ink-2); max-width: 32em; }
.page-hero-photo { margin: 0; overflow: hidden; background: var(--honey); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Inner pages: the heading and introduction beside the photo, shown whole at its own 3:2 shape, so the page's
   content starts on the first screen without cropping the picture into a strip. */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: end; padding-bottom: clamp(36px, 4.5vw, 64px); }
.page-hero-text h1 { margin: 0 0 .45em; }
.page-hero-grid .page-hero-photo { aspect-ratio: 3 / 2; }
.page-hero:has(.page-hero-grid) { padding-top: clamp(24px, 3.5vw, 56px); }
.page-hero-grid { padding-bottom: clamp(28px, 3vw, 44px); }
/* The page's own content follows straight on, not after a full section gap. */
.page-hero:has(.page-hero-grid) + * { padding-top: clamp(20px, 2.5vw, 40px) !important; }
/* Text-only headers (Events, Contact, Gallery, Privacy): heading, a hairline, and the content straight after. */
.page-hero.plain { padding-top: clamp(24px, 3.5vw, 56px); }
.page-hero.plain .page-hero-head { padding-bottom: clamp(24px, 3vw, 40px); }
.page-hero.plain + * { padding-top: clamp(28px, 3vw, 48px) !important; }
@media (max-width: 760px) { .page-hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.page-hero.plain { padding-bottom: 0; }
.page-hero.plain .page-hero-head { background: linear-gradient(var(--line), var(--line)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.jump a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--bronze-lt); padding-bottom: 3px; font-weight: 500; font-size: .95rem; }
.jump a:hover { border-color: var(--bronze-dk); color: var(--bronze-dk); }
@media (max-width: 860px) {
  .page-hero-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
}

/* ---------- Home: the name, then the sanctuary ---------- */
.hero { padding-top: clamp(32px, 4.5vw, 72px); }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: end; padding-bottom: clamp(36px, 5vw, 72px); }
.hero h1 { margin: 0; font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.012em; }
.hero h1 span { display: block; }
.hero-lede { margin: 0 0 .6em; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.6; max-width: 26em; }
/* Sized from the screen's height so this week's times (the strip below) are always on the first screen. */
.hero-photo { margin: 0; position: relative; height: clamp(200px, calc(100svh - 500px), 560px); max-height: 38vw; min-height: 200px; overflow: hidden; background: var(--honey); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.hs { padding: 26px 24px 28px; border-left: 1px solid var(--line); min-width: 0; }
.hs:first-child { border-left: 0; padding-left: 0; }
.hs span { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.hs strong { display: block; font: 400 clamp(1.25rem, 1.6vw, 1.5rem)/1.15 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.hs a { color: inherit; text-decoration: none; }
.hs a:hover strong { color: var(--bronze-dk); }
@media (max-width: 860px) {
  .hero-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; }
  .hero-photo { height: auto; aspect-ratio: 4 / 3; max-height: none; min-height: 0; }
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs { padding: 20px 0 22px 18px; }
  .hs:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hs:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- This week's times ---------- */
.week-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.week-head h2 { margin: 0; }
.week-sub { margin: .5em 0 0; color: var(--ink-2); }
.week-stale { display: block; margin-top: .4em; color: var(--bronze-dk); font-size: .95rem; }
.week-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.week-col { min-width: 0; }
.week-col h3 { margin: 0 0 .7em; padding-bottom: .55em; border-bottom: 1px solid var(--ink); }
.week-col h4 { margin: 1.6em 0 .35em; font-size: 1.05rem; color: var(--bronze-dk); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.week-col h4:first-of-type { margin-top: 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: .72em 0; border-bottom: 1px solid var(--line); }
.rows .what { color: var(--ink); min-width: 0; }
.rows .with { display: block; color: var(--muted); font-size: .9rem; }
.rows .time { font: 400 1.18rem/1.2 var(--serif); color: var(--ink); white-space: nowrap; text-align: right; }
.rows li.hl .time { color: var(--bronze-dk); }
.rows li.hl .what { font-weight: 500; }
.rows .time.long { white-space: normal; font-family: var(--sans); font-size: .95rem; line-height: 1.45; max-width: 60%; }
.week-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; margin-top: clamp(32px, 4vw, 52px); align-items: baseline; }
.week-notes { list-style: none; margin: 0; padding: 0; color: var(--ink-2); max-width: 46em; }
.week-notes li + li { margin-top: .4em; }
.week-empty { padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.week-empty p { margin: 0; }
.sponsor-lines { margin-top: clamp(28px, 3vw, 40px); padding-top: 20px; border-top: 1px solid var(--rule); }
.sponsor-lines p { margin: 0 0 .3em; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; }
.sponsor-lines small { display: block; color: var(--muted); font-family: var(--sans); font-size: .92rem; }
@media (max-width: 960px) { .week-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 600px) { .week-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Editorial rows: text beside a photograph ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-photo { margin: 0; overflow: hidden; background: var(--honey); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo.tall { aspect-ratio: 4 / 5; }
.split-photo.wide { aspect-ratio: 3 / 2; }
.split-text { max-width: 36em; }
.split-text h2 { margin-bottom: .55em; }
.split-text .links { margin-top: 2rem; }
.caption { margin-top: 12px; font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split.flip > :first-child { order: 0; }
}

/* ---------- Full-width photograph ---------- */
.photo-band { position: relative; height: clamp(300px, 56vw, 820px); overflow: hidden; background: var(--honey); }
.photo-band .pb-media { position: absolute; inset: -8% 0; background: var(--band-img) center 50% / cover no-repeat; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }

/* ---------- The rabbi ---------- */
.rabbi-home { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.rabbi-home .portrait { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--honey); }
.rabbi-home .portrait img { width: 100%; height: 100%; object-fit: cover; }
.role { margin: -.35em 0 1.4em; color: var(--muted); font-size: 1rem; }
.from-rabbi { margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--rule); }
.from-rabbi h3 { margin-bottom: .2em; }
.from-rabbi .date { color: var(--muted); font-size: .92rem; margin-bottom: 1em; }
@media (max-width: 860px) {
  .rabbi-home { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rabbi-home .portrait { max-width: 420px; }
}

/* ---------- Learning ---------- */
.class-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.class-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 2px 28px; padding: 1.05em 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.c-name { grid-column: 1; font: 400 1.3rem/1.25 var(--serif); color: var(--ink); }
.c-with { grid-column: 1; color: var(--muted); font-size: .95rem; }
.c-with:empty { display: none; }
.c-when { grid-column: 2; grid-row: 1; color: var(--ink); text-align: right; font-weight: 500; max-width: 15em; }
@media (max-width: 560px) {
  .class-list li { grid-template-columns: minmax(0, 1fr); }
  .c-when { grid-column: 1; grid-row: auto; text-align: left; color: var(--bronze-dk); max-width: none; }
}

/* ---------- Events (home and events page) ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head h2 { margin: 0; }
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.event-list > li { border-bottom: 1px solid var(--line); }
.event-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 22px 0; color: inherit; text-decoration: none; }
.ei-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; border: 1px solid var(--rule); text-align: center; line-height: 1; }
.ei-date b { font: 400 1.9rem/1 var(--serif); color: var(--ink); }
.ei-date small { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.ei-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ei-title { font: 400 clamp(1.2rem, 1.6vw, 1.45rem)/1.2 var(--serif); color: var(--ink); transition: color .2s; }
.ei-meta { color: var(--muted); font-size: .95rem; }
.ei-img { width: 168px; aspect-ratio: 3 / 2; object-fit: cover; }
.event-item:hover .ei-title { color: var(--bronze-dk); }
.event-item.is-featured .ei-date { border-color: var(--bronze); background: var(--stone); }
@media (max-width: 680px) {
  .event-item { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
  .ei-date { width: 60px; height: 60px; }
  .ei-date b { font-size: 1.45rem; }
  .ei-img { display: none; }
}

/* ---------- The one dark band: giving, beside the bronze Tree of Life doors ---------- */
.night { background: var(--night); color: var(--night-text); }
.night h2, .night h3 { color: #f6efe3; }
.night a { color: var(--honey); }
.night .lead { color: #f6efe3; }
.give-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.give-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.give-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.give-text p { color: var(--night-text); }
.night .btn { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.night .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.night .btn-outline { background: transparent; color: var(--honey); border-color: rgba(231, 214, 184, .55); }
.night .btn-outline:hover { background: rgba(231, 214, 184, .12); color: #fff; border-color: var(--honey); }
.ways { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; border-top: 1px solid rgba(231, 214, 184, .35); }
.ways li { border-bottom: 1px solid rgba(231, 214, 184, .18); }
.ways a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 18px 0; text-decoration: none; color: var(--night-text); }
.ways strong { font: 400 1.4rem/1.2 var(--serif); color: #f6efe3; font-weight: 400; transition: color .2s; }
.ways span { grid-column: 1; color: var(--night-muted); font-size: .95rem; }
.ways a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--bronze-lt); transition: transform .3s var(--ease); }
.ways a:hover strong { color: var(--bronze-lt); }
.ways a:hover::after { transform: translateX(4px); }
@media (max-width: 560px) { .night .btn-row .btn { flex: 1 1 100%; } }
@media (max-width: 860px) {
  .give-grid { grid-template-columns: minmax(0, 1fr); }
  .give-photo { aspect-ratio: 3 / 2; }
}

/* ---------- Photo strip (community photos) ---------- */
.photo-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 6px; scrollbar-width: none; }
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip a { flex: none; height: clamp(220px, 26vw, 360px); aspect-ratio: var(--r, 1.4); scroll-snap-align: start; overflow: hidden; background: var(--honey); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-strip a:hover img { transform: scale(1.03); }
.strip-controls { display: flex; gap: 10px; align-items: center; }
.strip-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.strip-btn:hover:not(:disabled) { border-color: var(--ink); }
.strip-btn:disabled { opacity: .35; cursor: default; }
.strip-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.strip-controls.no-scroll .strip-btn { display: none; }
.strip-controls .link-arrow { margin-left: 14px; }

/* ---------- Visit ---------- */
.detail-rows { list-style: none; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid var(--ink); }
.detail-rows li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 24px; padding: .95em 0; border-bottom: 1px solid var(--line); }
.detail-rows li > span:first-child { color: var(--muted); }
.detail-rows .val { color: var(--ink); overflow-wrap: anywhere; }
.detail-rows .val a { color: var(--ink); text-decoration-color: var(--bronze-lt); }
.detail-rows .val a:hover { color: var(--bronze-dk); }
.detail-rows small { display: block; color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) { .detail-rows li { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Empty and loading states ---------- */
.empty-state { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.empty-title { font: 400 1.6rem/1.2 var(--serif); color: var(--ink); margin: 0 0 .3em; }
.loading { color: var(--muted); }

/* ---------- Chips and toggles (events, gallery) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 16px; border: 1px solid var(--line-2); background: none; color: var(--ink); font: 500 .9rem var(--sans); cursor: pointer; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--page); border-color: var(--ink); }
.chip .count { font-size: .8rem; opacity: .65; }
.segmented { display: inline-flex; border: 1px solid var(--ink); }
.segmented button { min-height: 42px; padding: 0 18px; border: 0; background: none; color: var(--ink); font: 500 .92rem var(--sans); cursor: pointer; }
.segmented button + button { border-left: 1px solid var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--page); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink); cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--bronze-dk); }

/* ---------- Footer ---------- */
.site-footer { background: var(--stone); color: var(--ink-2); padding: clamp(64px, 8vw, 112px) 0 0; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand img { height: 74px; width: auto; }
.footer-name { margin: 0; font: 400 clamp(1.4rem, 2vw, 1.8rem)/1.15 var(--serif); color: var(--ink); }
.footer-place { margin: 0; color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--rule); }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-h { margin: 0 0 4px; font: 400 1.2rem/1.2 var(--serif); color: var(--ink); }
.footer-col a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; width: fit-content; }
.footer-col a:hover { color: var(--bronze-dk); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer-base p { margin: 0; }
.footer-base a { color: inherit; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Prose (about, rabbi, privacy) ---------- */
.prose { max-width: 40em; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
details.more { margin-top: 1.4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.more summary { list-style: none; cursor: pointer; padding: 16px 0; color: var(--ink); font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font: 400 1.4rem/1 var(--serif); color: var(--bronze); }
details.more[open] summary::after { content: "–"; }
details.more .more-body { padding: 4px 0 18px; }
blockquote.pull { margin: 2rem 0; padding: 0 0 0 24px; border-left: 1px solid var(--bronze); font: 400 clamp(1.35rem, 2vw, 1.7rem)/1.4 var(--serif); color: var(--ink); }


/* =====================================================================
   Bnei Yitzhak: the Hechal
   ===================================================================== */
body { font-family: var(--sans); font-size: 1.04rem; color: var(--ink-2);
  background-color: var(--page);
  background-image: radial-gradient(rgba(11, 47, 60, .045) .7px, transparent .9px), radial-gradient(rgba(122, 79, 51, .035) .6px, transparent .8px);
  background-size: 7px 7px, 11px 13px; background-position: 0 0, 3px 5px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; color: var(--ink); }
h1 { font-weight: 300; letter-spacing: -.022em; }
h4 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.lead { font-family: var(--sans); font-weight: 400; font-size: clamp(1.08rem, 1.3vw, 1.2rem); line-height: 1.62; color: var(--ink-2); }
a { color: var(--petrol); text-decoration-color: var(--sea-lt); }
a:hover { color: var(--ink); }
:focus-visible { outline-color: var(--sea); }
[lang="he"] { font-family: var(--hebrew); }

/* Buttons: petrol for the main action, ink otherwise; nearly square, like the ark's panels. */
.btn { border-radius: var(--radius); background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600; letter-spacing: .005em; padding-inline: 1.45em; }
.btn:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.btn-accent { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-light { background: var(--page); border-color: var(--page); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--petrol); }
.btn-outline-light, .btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(169, 196, 203, .55); }
.btn-outline-light:hover, .btn-ghost-light:hover { background: rgba(255, 255, 255, .07); border-color: var(--sea-lt); color: #fff; }
.btn-danger { background: #a3262b; border-color: #a3262b; color: #fff; }
.link-arrow { border-bottom-color: var(--walnut-lt); }
.link-arrow::after { color: var(--walnut); }
.link-arrow:hover { color: var(--petrol); border-color: var(--petrol); }
.jump a { border-bottom-color: var(--walnut-lt); }

/* The rise under page titles: a hairline that steps up three times, as the ark's columns do toward its centre. */
.halo-rule, .dim { position: relative; display: block; height: 14px; margin: 0; }
.halo-rule::before, .dim::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); }
.halo-rule::after, .dim::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 14px;
  background: linear-gradient(var(--petrol), var(--petrol)) 0 100% / 10px 5px no-repeat, linear-gradient(var(--petrol), var(--petrol)) 13px 100% / 10px 9px no-repeat, linear-gradient(var(--walnut), var(--walnut)) 26px 100% / 10px 14px no-repeat; }
.halo-rule i, .dim i { display: none; }
.halo-rule.short { width: 240px; }
.ring-rule, .verse-band { display: none; }
/* Section titles: the five fluted bars before them. */
.ring-title { display: flex; align-items: center; gap: 14px; }
.ring-title::before { content: ""; width: 26px; height: 22px; flex: none; background: var(--star) center / contain no-repeat; transform: translateY(-2px); }
.deep .ring-title::before { background-image: url("/images/rise-light.svg"); }

/* Pictures: whole, square-cornered, a small caption under them. */
.split-photo, .page-hero-photo, .give-photo, .tl-photo, .hero-photo { position: relative; }
.split-photo.square { aspect-ratio: 1 / 1; }
.split-photo.portrait { aspect-ratio: 2 / 3; }
.split-photo .caption { position: absolute; left: 0; right: 0; top: 100%; }
.split-photo:has(.caption) { overflow: visible; margin-bottom: 2.4em; }
.caption { font-size: .86rem; color: var(--muted); padding-top: .7em; }

/* Header: the ark beside the name, the street under it */
.site-header, .site-header.scrolled { background: rgba(238, 240, 238, .95); border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); gap: 13px; }
.brand img { height: 44px; width: auto; }
.brand-1 { font: 400 1.5rem/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.brand-2 { font: 600 .76rem/1 var(--sans); color: var(--muted); margin-top: 6px; letter-spacing: .01em; }
.nav a:not(.btn) { color: var(--ink-2); font-weight: 500; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--petrol); }
.nav a:not(.btn)::after { background: var(--walnut); }
.nav .btn { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.nav .btn:hover { background: var(--ink); border-color: var(--ink); }
.skip { background: var(--ink); color: #fff; }
@media (max-width: 1140px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--page); }
  .nav-toggle { display: block; }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px;
    background: var(--page); overflow-y: auto; border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav a:not(.btn) { padding: 18px 0; font: 400 1.7rem/1.1 var(--serif); color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn)[aria-current="page"] { color: var(--petrol); }
  .nav .btn { margin: 28px 0 0; min-height: 54px; font-size: 1rem; }
}
@media (max-width: 420px) { .brand img { height: 36px; } .brand-1 { font-size: 1.22rem; } .brand-2 { font-size: .72rem; } }

/* ---------- Home: the name and this Shabbat beside the hechal, whole at 2:3 and sized from the screen ---------- */
.hero { padding: clamp(22px, 2.6vw, 40px) 0 0; background: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 88px); align-items: center; }
.hero-place { margin: 0 0 1.1em; font: 600 .92rem/1.4 var(--sans); color: var(--walnut); }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.hero-he { margin: .35em 0 0; font: 400 clamp(1.4rem, 2vw, 1.9rem)/1.2 var(--hebrew); color: var(--petrol); }
.hero .halo-rule { margin-top: 1.5rem; width: min(360px, 80%); }
.hero-lede { margin: 1.3em 0 0; font-size: clamp(1.02rem, 1.2vw, 1.14rem); line-height: 1.62; max-width: 31em; color: var(--ink-2); }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 1.7em; align-items: center; }
.hero-photo { margin: 0; height: clamp(440px, calc(100svh - var(--header-h) - 60px), 900px); aspect-ratio: 2 / 3; background: var(--honey); box-shadow: 0 0 0 1px var(--line); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(30px, 3.4vw, 48px) 0 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.hero-strip .hs { padding: 14px 16px 16px 0; margin: 0; border: 0; }
.hero-strip .hs + .hs { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-strip dt { color: var(--muted); font-size: .84rem; margin-bottom: 4px; }
.hero-strip dd { margin: 0; font: 400 clamp(1.1rem, 1.45vw, 1.4rem)/1.15 var(--serif); color: var(--walnut); }
.hero-strip .hs:first-child dd { color: var(--ink); }
@media (max-width: 1100px) and (min-width: 861px) { .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-strip .hs:nth-child(3) { padding-left: 0; border-left: 0; } .hero-strip .hs:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { height: auto; width: 100%; max-width: 520px; justify-self: center; }
}
@media (max-width: 560px) {
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip .hs:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-strip .hs:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.hero + .section { padding-top: clamp(44px, 4.6vw, 68px); }

/* Rows of times, events and classes: walnut figures in the serif */
.rows .time, .c-name, .ei-title, .ways strong, .empty-title, .footer-h, .footer-name, .sponsor-lines p { font-family: var(--serif); }
.rows .time { font-weight: 400; color: var(--walnut); }
.rows li.hl .time { color: var(--petrol); font-weight: 500; }
.week-col h3 { border-bottom: 2px solid var(--ink); }
.week-col h4 { color: var(--walnut); font-family: var(--sans); }
.week-empty, .class-list, .event-list, .detail-rows { border-top-color: var(--ink); }
.rows .time.long { font-family: var(--serif); font-size: 1rem; }
.rows .with { color: var(--muted); }

/* Bands: pale terrazzo, and the petrol band with the ark's lamplight as one warm line along its top */
.band-plaster, .band-stone { background-color: var(--stone); }
.deep { position: relative; color: var(--night-text); background: var(--night); }
.deep::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--lamp) 30%, var(--lamp) 70%, transparent); opacity: .7; }
.deep h2, .deep h3 { color: #fff; }
.deep .lead, .deep p { color: var(--night-text); }
.deep a:not(.btn) { color: var(--sea-lt); }
.deep .btn-light { color: var(--ink); }

/* The band photo whole beside the words */
.ark-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.ark-grid figure { margin: 0; aspect-ratio: 3 / 2; }
.ark-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.ark-grid figcaption { font-size: .82rem; color: var(--night-muted); padding-top: .7em; }
@media (max-width: 860px) { .ark-grid { grid-template-columns: minmax(0, 1fr); } }

/* Prices and times in rows */
.price-rows { list-style: none; margin: 1.4rem 0 .6rem; padding: 0; border-top: 2px solid var(--ink); }
.price-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: .8em 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.price-rows li span:last-child { font: 400 1.15rem/1.2 var(--serif); color: var(--walnut); white-space: nowrap; text-align: right; }
.deep .price-rows { border-top-color: var(--sea-lt); }
.deep .price-rows li { color: var(--night-text); border-bottom-color: rgba(169, 196, 203, .22); }
.deep .price-rows li span:last-child { color: var(--lamp); }
.small { font-size: .9rem; }

/* Giving */
.give-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ways { border-top-color: var(--ink); }
.ways li { border-bottom-color: var(--line); }
.ways a::after { color: var(--walnut); }
.ways a:hover strong { color: var(--petrol); }
@media (max-width: 860px) { .give-grid { grid-template-columns: minmax(0, 1fr); } }
.give-text p { color: var(--ink-2); }
.ways a { color: var(--ink-2); }
.ways strong { color: var(--ink); }
.ways span { color: var(--muted); }

/* Dedications (if the office lists any) */
.dd-summary { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); margin: 0 0 clamp(24px, 3vw, 36px); }
.dd-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(32px, 5vw, 80px); align-items: start; }
.dd-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.dd-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; padding: .8em 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dd-price { font: 400 1.15rem/1.2 var(--serif); color: var(--walnut); white-space: nowrap; text-align: right; }
@media (max-width: 860px) { .dd-areas { grid-template-columns: minmax(0, 1fr); } }

/* People: round portraits, as the rabbis appear in their app */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: clamp(26px, 3vw, 40px) clamp(18px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.people figure { margin: 0 0 14px; aspect-ratio: 1 / 1; background: var(--honey); overflow: hidden; border-radius: 50%; max-width: 168px; }
.people img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.people h3 { margin: 0; font-size: 1.25rem; }
.people p { margin: .2em 0 0; color: var(--muted); font-size: .95rem; }

/* Events: the date in a petrol square */
.ei-date { border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--paper); width: 74px; height: 74px; }
.ei-date b { color: var(--petrol); font-family: var(--serif); font-weight: 400; }
.ei-date small { color: var(--muted); }
.event-item.is-featured .ei-date { background: var(--petrol); border-color: var(--petrol); }
.event-item.is-featured .ei-date b, .event-item.is-featured .ei-date small { color: #fff; }
@media (max-width: 680px) { .ei-date { width: 58px; height: 58px; } }

/* Doors: plain columns of words */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.door { padding: 26px clamp(18px, 2.4vw, 36px) 30px 0; display: flex; flex-direction: column; gap: 8px; }
.door + .door { padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.door h3 { margin: 0; }
.door p { margin: 0; color: var(--ink-2); }
.door .times { font: 400 1.3rem/1.35 var(--serif); color: var(--walnut); margin: .1em 0 .2em; }
.door .link-arrow { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.doors.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.doors.four .door:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.doors.four .door:nth-child(n+5) { border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .doors.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .doors.four .door:nth-child(odd) { padding-left: 0; border-left: 0; } .doors.four .door:nth-child(even) { padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--line); } .doors.four .door:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 860px) { .doors, .doors.four { grid-template-columns: minmax(0, 1fr); } .door, .door + .door, .doors.four .door:nth-child(n) { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); } .door:first-child, .doors.four .door:first-child { border-top: 0; } }

/* Visit: details beside the map */
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.map-frame { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.55) sepia(.08) contrast(1.02); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: minmax(0, 1fr); } .map-frame { min-height: 300px; } }

/* Page heads: the title, the rise under it, then the content */
.page-hero.plain .page-hero-head { background: none; padding-bottom: clamp(18px, 2.4vw, 30px); }
.page-hero.plain .halo-rule { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); letter-spacing: -.025em; line-height: 1.04; }
.page-hero-grid .page-hero-text .halo-rule { margin-top: 1.4rem; width: min(320px, 70%); }

/* Footer: petrol, the ark in light lines with its flame in lamplight, their verse in Hebrew */
.site-footer { position: relative; background: var(--night); color: var(--night-text); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--lamp) 30%, var(--lamp) 70%, transparent); opacity: .55; }
.footer-brand { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px 32px; text-align: left; }
.footer-emblem { width: 54px; height: auto; }
.footer-name { color: #fff; font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 0; font-weight: 300; }
.footer-place { color: var(--night-muted); margin: .2em 0 0; }
.footer-he { margin: 0; font: 400 1.35rem/1.5 var(--hebrew); color: var(--lamp); max-width: 22em; text-align: right; }
@media (max-width: 760px) { .footer-brand { grid-template-columns: minmax(0, 1fr); } .footer-emblem { width: 44px; } .footer-he { text-align: left; } }
.footer-cols { border-top: 1px solid rgba(169, 196, 203, .28); }
.footer-h { color: var(--sea-lt); }
.footer-col a { color: var(--night-text); }
.footer-col a:hover { color: #fff; }
.footer-base { border-top-color: rgba(255, 255, 255, .12); color: var(--night-muted); }
.footer-base a { color: var(--night-text); }
.footer-col a[href^="mailto"] { overflow-wrap: anywhere; }

/* Helpers the mikveh, sponsor and member pages use */
.section-sub { font-size: 1.05rem; color: var(--muted); margin: 0; }
.detail-list { list-style: none; margin: 1.4rem 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.detail-list li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 20px; padding: .8em 0; border-bottom: 1px solid var(--line); }
.detail-list li > span { color: var(--muted); }
.detail-list a, .detail-list p { color: var(--ink); margin: 0; }
@media (max-width: 560px) { .detail-list li { grid-template-columns: minmax(0, 1fr); } }
.mk-head .page-hero-head, .page-hero-head.pb-hero { align-items: start; }
.ways.ways-dark { border-top-color: rgba(169, 196, 203, .45); margin-top: 0; }
.ways.ways-dark li { border-bottom-color: rgba(169, 196, 203, .2); }
.ways.ways-dark a { color: var(--night-text); }
.ways.ways-dark strong { color: #fff; }
.ways.ways-dark span { color: var(--night-muted); }
.ways.ways-dark a::after { color: var(--lamp); }
.fund-rows li { padding: 0; }
.fund-rows a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; width: 100%; padding: .8em 0; color: var(--ink); text-decoration: none; }
.fund-rows a span:last-child { font: 600 .95rem/1.2 var(--sans); color: var(--petrol); }
.fund-rows a span:last-child::after { content: " \2192"; }
.fund-rows a:hover span:first-child { color: var(--petrol); }
.week-notes { min-width: 0; max-width: 100%; }
.week-notes li { overflow-wrap: anywhere; }

/* ---------- Shiurim: rows with the speaker's portrait, a play button, and one player at the foot of the screen ---------- */
.sh-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.sh { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sh.is-current .sh-title { color: var(--petrol); }
.sh-face { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--petrol-lt); display: grid; place-items: center; }
.sh-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.sh-initials { font: 500 1rem/1 var(--serif); color: var(--petrol); }
.sh-body { display: grid; gap: 3px; min-width: 0; }
.sh-title { font: 400 1.22rem/1.25 var(--serif); color: var(--ink); }
.sh-meta { font-size: .9rem; color: var(--muted); }
.sh-desc { font-size: .94rem; color: var(--ink-2); }
.sh-actions { display: flex; align-items: center; gap: 14px; }
.sh-doc { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.sh-play, .pl-toggle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--petrol); background: transparent; color: var(--petrol); display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; transition: background .2s, color .2s; }
.sh-play svg, .pl-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.sh-play .i-pause, .pl-toggle .i-pause, .sh-play.is-playing .i-play, .player.is-playing .pl-toggle .i-play { display: none; }
.sh-play.is-playing .i-pause, .player.is-playing .pl-toggle .i-pause { display: inline; }
.sh-play:hover, .sh-play.is-playing { background: var(--petrol); color: #fff; }
@media (max-width: 560px) { .sh { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; } .sh-face { width: 40px; height: 40px; } .sh-title { font-size: 1.08rem; } .sh-doc { display: none; } .sh-desc { display: none; } }
.listen-lede { max-width: 46em; margin: -.4rem 0 1.6rem; }
.topic-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: baseline; gap: 6px; padding: .5em 1em; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: .94rem; background: var(--paper); }
.chip small { color: var(--muted); font-size: .8rem; }
.chip:hover, .chip[aria-current="true"] { border-color: var(--petrol); color: #fff; background: var(--petrol); }
.chip:hover small, .chip[aria-current="true"] small { color: var(--petrol-lt); }
.live-now { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 14px 18px; margin: 0 0 20px; background: var(--night); color: #fff; border-radius: var(--radius); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #e0554b; box-shadow: 0 0 0 4px rgba(224, 85, 75, .25); }
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--night); color: #fff; transform: translateY(110%); transition: transform .3s var(--ease); box-shadow: 0 -8px 30px rgba(0, 0, 0, .18); }
.player::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--lamp); opacity: .7; }
.player.open { transform: none; }
.player-inner { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.player .pl-toggle { border-color: var(--lamp); color: var(--lamp); }
.player .pl-toggle:hover { background: var(--lamp); color: var(--night); }
.pl-text { display: grid; min-width: 0; flex: 0 1 280px; }
.pl-title { font: 400 1.05rem/1.25 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-who { font-size: .82rem; color: var(--night-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-seek { flex: 1 1 auto; accent-color: var(--lamp); min-width: 60px; }
.pl-time { font-size: .85rem; color: var(--night-muted); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.pl-skip, .pl-speed, .pl-close { background: none; border: 1px solid rgba(169, 196, 203, .35); color: #fff; border-radius: var(--radius); padding: .4em .6em; font: 600 .82rem/1 var(--sans); cursor: pointer; }
.pl-close { border: 0; font-size: 1.5rem; padding: 0 .3em; color: var(--night-muted); }
body.has-player { padding-bottom: 84px; }
@media (max-width: 760px) { .pl-skip, .pl-time { display: none; } .pl-text { flex: 1 1 auto; } .pl-seek { position: absolute; left: 0; right: 0; top: -6px; width: 100%; margin: 0; } }

/* ---------- The library page: filters beside the list ---------- */
.lib { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.lib-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 26px; }
.lib-side h2 { font-size: 1.15rem; margin: 0 0 .5em; font-family: var(--sans); font-weight: 700; }
.lib-side ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.lib-side li a { display: flex; justify-content: space-between; gap: 10px; padding: .55em 0; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; }
.lib-side li a small { color: var(--muted); }
.lib-side li a[aria-current="true"] { color: var(--petrol); font-weight: 700; }
.lib-search { display: flex; gap: 8px; margin: 0 0 18px; }
.lib-search input { flex: 1; min-width: 0; font: inherit; padding: .7em .9em; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.lib-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; color: var(--muted); }
.lib-more { margin-top: 20px; }
.speaker-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; margin: 0 0 24px; scrollbar-width: thin; }
.speaker-row a { flex: none; display: grid; justify-items: center; gap: 6px; width: 96px; text-align: center; text-decoration: none; color: var(--ink-2); font-size: .84rem; line-height: 1.25; }
.speaker-row .sh-face { width: 64px; height: 64px; }
.speaker-row a[aria-current="true"] .sh-face { box-shadow: 0 0 0 2px var(--page), 0 0 0 4px var(--petrol); }
@media (max-width: 900px) { .lib { grid-template-columns: minmax(0, 1fr); } .lib-side { position: static; } .lib-side .lib-topics ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; } .lib-side .lib-topics li a { border: 1px solid var(--line-2); border-radius: var(--radius); padding: .4em .8em; } .lib-side .lib-speakers { display: none; } }
@media (min-width: 901px) { .speaker-row { display: none; } }

/* Mabrook */
.mabrook-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 2px solid var(--ink); }
.mabrook-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mabrook-list .mb-kind { font-weight: 700; color: var(--walnut); font-size: .9rem; }
.mabrook-list p { margin: .3em 0 0; font: 400 1.12rem/1.45 var(--serif); color: var(--ink); }

/* The board (About): names in columns under each group */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px); }
.board h3 { font-size: 1.25rem; margin: 0 0 .5em; padding-bottom: .4em; border-bottom: 2px solid var(--ink); }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { padding: .45em 0; border-bottom: 1px solid var(--line); color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.board li span { color: var(--muted); font-size: .9rem; text-align: right; }

/* The Expansion: each part beside its rendering, numbered with the rise */
.plan { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.plan + .plan { margin-top: clamp(48px, 6vw, 96px); }
.plan.flip figure { order: 2; }
.plan figure { margin: 0; aspect-ratio: 3 / 2; background: var(--honey); }
.plan figure img { width: 100%; height: 100%; object-fit: cover; }
.plan figcaption { font-size: .82rem; color: var(--muted); padding-top: .7em; }
.plan .part { font: 400 1rem/1 var(--serif); color: var(--walnut); margin: 0 0 .6em; }
.plan .he { font: 400 1.35rem/1.5 var(--hebrew); color: var(--petrol); margin: 0 0 .6em; }
@media (max-width: 860px) { .plan { grid-template-columns: minmax(0, 1fr); } .plan.flip figure { order: 0; } }

/* Their own tools on bneiyitzhak.com (Learning) */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 2px solid var(--ink); list-style: none; margin: 0; padding: 0; }
.tools li { border-bottom: 1px solid var(--line); }
.tools a { display: grid; gap: 4px; padding: 16px 0; text-decoration: none; color: var(--ink-2); }
.tools strong { font: 400 1.2rem/1.25 var(--serif); color: var(--ink); }
.tools strong [lang="he"] { color: var(--petrol); margin-left: .4em; font-size: .95em; }
.tools a:hover strong { color: var(--petrol); }
.tools a span { font-size: .94rem; color: var(--muted); }
.tools a strong::after { content: " \2197"; font-family: var(--sans); font-size: .8em; color: var(--walnut); }

/* Newsletter issues */
.issues { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.issues li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: .9em 0; border-bottom: 1px solid var(--line); }
.issues li strong { font: 400 1.2rem/1.25 var(--serif); color: var(--ink); }
.issues li span { color: var(--muted); font-size: .92rem; }

/* Event tickets (if the office sells any) */
.tk-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.tk-prices { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; color: var(--ink-2); font-size: .95rem; }
.tk-prices b { font: 400 1.05rem/1 var(--serif); color: var(--walnut); font-weight: 400; }
.tk-form { display: grid; gap: 14px; margin-top: 12px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.tk-form[hidden] { display: none; }
.tk-lines { display: grid; gap: 8px; }
.tk-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 5.5em; gap: 12px; align-items: center; }
.tk-line .tk-price { color: var(--walnut); font-family: var(--serif); }
.tk-line input { width: 100%; }
.tk-total { font: 400 1.25rem/1.2 var(--serif); color: var(--ink); }
.tk-done { padding: 14px 18px; background: var(--petrol-lt); color: var(--ink); border-radius: var(--radius); }
.ei-tix { color: var(--petrol); font-weight: 700; }
.tk-box h3 { margin: 0 0 .4em; }
.tk-form label.check { display: flex; align-items: center; gap: .6em; }
.tk-form label.check input { width: 18px; height: 18px; accent-color: var(--petrol); }
.tk-form .gv-field { margin-top: 0; }

/* Team cards (About: rabbis with bios) */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(20px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.team figure { margin: 0 0 14px; aspect-ratio: 1 / 1; background: var(--honey); overflow: hidden; border-radius: 50%; max-width: 180px; }
.team img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.team h3 { margin: 0; font-size: 1.3rem; }
.team .role { margin: .15em 0 .6em; color: var(--walnut); font-weight: 600; }
.team details summary { cursor: pointer; color: var(--petrol); font-weight: 600; list-style: none; }
.team details summary::-webkit-details-marker { display: none; }
.team details summary::after { content: " +"; }
.team details[open] summary::after { content: " –"; }
.team details p { font-size: .95rem; margin: .7em 0 0; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.three > div { padding: 22px clamp(16px, 2vw, 32px) 26px 0; }
.three > div + div { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.three h3 { margin: 0 0 .4em; }
.three p { margin: 0; }
@media (max-width: 860px) { .three { grid-template-columns: minmax(0, 1fr); } .three > div, .three > div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); } .three > div:first-child { border-top: 0; } }
.gv-field .label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.gv-field label.check { display: flex; align-items: center; gap: .6em; font-weight: 400; margin: 0 0 4px; }
.gv-field label.check input { width: 18px; height: 18px; padding: 0; appearance: auto; -webkit-appearance: radio; accent-color: var(--petrol); }
.gv-field input, .gv-field select, .gv-field textarea { border-radius: var(--radius); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 88px); align-items: start; }
.prose-grid h2 { margin: 0; }
.prose-grid .prose p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: minmax(0, 1fr); } }

/* The week: Friday and the weekdays stacked in the first column, Shabbat (their long list of minyanim) beside them,
   so no column stands half empty. */
@media (min-width: 961px) {
  .week-grid:has(> .week-col:nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 40px clamp(36px, 5vw, 88px); }
  .week-grid:has(> .week-col:nth-child(3)) > .week-col:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .week-grid:has(> .week-col:nth-child(3)) > .week-col:nth-child(3) { grid-column: 1; grid-row: 2; }
}
.hero-he { text-align: left; }
/* Home: the first ten of the week's shiurim in two columns; the Learning page has them all. */
@media (min-width: 861px) { #learning .class-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); } }
#learning .class-list li:nth-child(n+11) { display: none; }
.c-when { color: var(--walnut); font: 400 1.08rem/1.3 var(--serif); }
.lib { grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); }
.lib-side, .lib-side > * { min-width: 0; }
.lib-search input { width: 100%; }
.lib-search .btn { flex: none; }
@media (max-width: 900px) { .lib { grid-template-columns: minmax(0, 1fr); } }
.plan { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.plan.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.plan figure { aspect-ratio: auto; background: none; }
.plan figure img { height: auto; aspect-ratio: 3 / 2; background: var(--honey); }
.part-label { font: 400 1rem/1 var(--serif); color: var(--walnut); margin: 0 0 .6em; }
@media (max-width: 860px) { .plan, .plan.flip { grid-template-columns: minmax(0, 1fr); } }
.plan .he, .page-hero-text .hero-he { text-align: left; }
.page-hero-grid .page-hero-photo.natural { aspect-ratio: auto; } .page-hero-photo.natural img { height: auto; }
.team figure.no-photo { display: grid; place-items: center; background: var(--petrol-lt); } .team figure.no-photo span { font: 300 2.6rem/1 var(--serif); color: var(--petrol); }
/* Times: the Shabbat strip (span/strong there), and each zman with its source under it */
.hero-strip .hs > span { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 4px; }
.hero-strip .hs > strong { display: block; font: 400 clamp(1.1rem, 1.45vw, 1.4rem)/1.15 var(--serif); color: var(--walnut); }
.hero-strip .hs:first-child > strong { color: var(--ink); }
.zm-why { display: block; font-size: .84rem; color: var(--muted); margin-top: 2px; max-width: 46em; }
.zm-list .time { white-space: nowrap; }
.people figure.no-photo { display: grid; place-items: center; background: var(--petrol-lt); } .people figure.no-photo span { font: 300 2.4rem/1 var(--serif); color: var(--petrol); } .rabbi-card figure { border-radius: 50%; overflow: hidden; aspect-ratio: 1 / 1; max-width: 260px; }
/* Ask the Rabbi (a shiur's question), the library's order and a shiur opened by its link */
.sh-ask { background: none; border: 0; padding: .3em .2em; font: 700 .9rem/1 var(--sans); color: var(--walnut); cursor: pointer; text-decoration: underline; text-decoration-color: var(--walnut-lt); text-underline-offset: 3px; }
.sh-ask:hover { color: var(--petrol); }
@media (max-width: 560px) { .sh-ask { display: none; } }
.ask-dialog { border: 0; padding: 0; max-width: min(560px, calc(100vw - 32px)); width: 100%; background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(6, 31, 40, .3); border-top: 3px solid var(--walnut); }
.ask-dialog::backdrop { background: rgba(6, 31, 40, .45); }
.ask-form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); }
.ask-form h2 { margin: 0; font-size: 1.7rem; }
.ask-about { margin: -6px 0 4px; color: var(--muted); }
.ask-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.ask-form input, .ask-form textarea { font: inherit; font-weight: 400; padding: .7em .85em; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink); }
.ask-form .hp { position: absolute; left: -9999px; }
.ask-msg { margin: 0; color: var(--petrol); min-height: 1.2em; }
.ask-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.lib-sort { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.lib-sort select { font: inherit; color: var(--ink); padding: .4em .6em; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); }
.lib-note { margin: 0 0 14px; color: var(--ink-2); }
.sh-one { margin-bottom: 28px; border-top-color: var(--walnut); background: var(--petrol-lt); padding: 0 14px; }
