@import url("https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@400;500;700;900&family=Noto+Serif+Hebrew:wght@400;500;700;900&display=swap");

:root {
  --ink: #17241f;
  --muted: #60716b;
  --line: #dfddd2;
  --bg: #fbf7ef;
  --soft: #eff4ee;
  --paper: #ffffff;
  --sage: #86a58f;
  --sage-dark: #2e6352;
  --forest: #16352b;
  --gold: #c79b45;
  --rose: #c57970;
  --coral: #d79a74;
  --blue: #3f7881;
  --cream: #fff4df;
  --shadow: 0 22px 60px rgba(24, 35, 31, 0.12);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.38), transparent 520px),
    var(--bg);
  font-family: "Noto Serif Hebrew", "Frank Ruhl Libre", "David", "Times New Roman", serif;
  line-height: 1.72;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(251,247,239,.78), rgba(251,247,239,.9)),
    url("assets/chesed-nefesh-bg.webp") center / cover no-repeat;
  opacity: .28;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 242, 0.94);
  border-bottom: 1px solid rgba(49, 88, 73, 0.14);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 138px;
  flex-wrap: wrap;
  padding: 12px 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 100%;
  text-align: center;
  order: 1;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 48%),
    linear-gradient(145deg, #13261f, var(--sage-dark));
  box-shadow: 0 14px 26px rgba(25, 44, 38, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  position: relative;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.82);
}

.brand-mark::before {
  width: 22px;
  height: 28px;
  border-radius: 22px 22px 6px 6px;
  transform: rotate(-38deg);
  left: 14px;
  top: 15px;
}

.brand-mark::after {
  width: 22px;
  height: 28px;
  border-radius: 22px 22px 6px 6px;
  transform: rotate(38deg);
  right: 14px;
  top: 15px;
}

.brand-mark {
  font-size: 0;
}

.brand-mark span {
  position: relative;
  z-index: 2;
}

.brand-title {
  display: block;
  font-size: clamp(1.65rem, 3.6vw, 2.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  color: var(--forest);
}

.brand-subtitle {
  display: block;
  color: var(--sage-dark);
  font-size: clamp(.95rem, 1.6vw, 1.08rem);
  margin-top: 4px;
  font-weight: 650;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: "Segoe UI", "Noto Sans Hebrew", Arial, sans-serif;
  font-size: 0.9rem;
  order: 3;
  min-width: 100%;
  position: relative;
  padding: 8px;
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(49,88,73,.12);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(24,35,31,.055);
}

.main-nav a {
  position: relative;
  z-index: 1;
  padding: 10px 12px;
  border-radius: 999px;
  color: #334541;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
  overflow: hidden;
}

.main-nav a::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(49,88,73,.14), rgba(185,146,70,.18));
  opacity: 0;
  transform: scale(.86);
  transition: opacity 220ms ease, transform 220ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--forest);
  transform: translateY(-1px);
}

.main-nav a:hover::before,
.main-nav a[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
}

.main-nav a[aria-current="page"] {
  font-weight: 850;
}

.main-nav > a[aria-current="page"],
.main-nav .nav-dropdown.is-active > .nav-dropdown-trigger{
  color:#062d16!important;
  font-weight:900!important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(244,226,160,.34))!important;
  box-shadow:
    inset 0 0 0 1px rgba(184,158,20,.42),
    0 10px 26px rgba(0,48,24,.12),
    0 0 24px rgba(221,202,98,.18)!important;
  transform:translateY(-1px)!important;
}

.main-nav > a[aria-current="page"]::before,
.main-nav .nav-dropdown.is-active > .nav-dropdown-trigger::before{
  opacity:1!important;
  transform:scale(1)!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.9),transparent 44%),
    linear-gradient(135deg,rgba(221,202,98,.34),rgba(0,48,24,.16))!important;
}

.main-nav > a[aria-current="page"]::after{
  content:""!important;
  position:absolute!important;
  right:20px!important;
  left:20px!important;
  bottom:5px!important;
  height:2px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,transparent,#ddca62,transparent)!important;
  box-shadow:0 0 12px rgba(221,202,98,.55)!important;
}

.main-nav .nav-dropdown.is-active .nav-dropdown-caret{
  background:linear-gradient(135deg,#003018,#001A0D)!important;
  border-color:rgba(244,226,160,.72)!important;
  box-shadow:0 0 0 3px rgba(221,202,98,.12),0 8px 18px rgba(0,48,24,.16)!important;
}

.main-nav .nav-dropdown.is-active .nav-dropdown-caret::before{
  color:#F4E2A0!important;
}

.main-nav .nav-dropdown-menu a[aria-current="page"]{
  color:#fff!important;
  background:
    linear-gradient(135deg,#003018,#001A0D)!important;
  box-shadow:inset 0 0 0 1px rgba(244,226,160,.28),0 10px 22px rgba(0,48,24,.16)!important;
}

.main-nav .nav-donate[aria-current="page"]{
  color:#fff!important;
  background:linear-gradient(135deg,#b89e14,#ddca62,#b77945)!important;
  box-shadow:0 12px 30px rgba(184,158,20,.28),0 0 24px rgba(221,202,98,.22)!important;
}

.main-nav .nav-donate {
  color: white;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  box-shadow: 0 10px 24px rgba(197,121,112,.22);
}

.main-nav .nav-donate::before {
  display: none;
}

.nav-cart,
.cart-floating {
  font-weight: 850;
}

.nav-cart span,
.cart-floating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cart span::before,
.cart-floating::before {
  content: "";
  width: 17px;
  height: 17px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cart-floating {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--cream);
  border: 1px solid rgba(199,155,69,.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 2;
  position: absolute;
  left: max(16px, calc((100vw - 1180px) / 2));
  top: 24px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: var(--forest);
  box-shadow: 0 14px 28px rgba(25, 44, 38, 0.22);
}

.btn-primary:hover {
  background: #243e35;
}

.btn-secondary {
  color: var(--sage-dark);
  background: #e8eee8;
}

.btn-quiet {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250, 248, 242, 0.98) 0%, rgba(250, 248, 242, 0.9) 42%, rgba(250, 248, 242, 0.2) 100%),
    url("assets/hero-sanctuary.svg") center left / cover no-repeat;
  border-bottom: 1px solid rgba(49, 88, 73, .12);
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 74px);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(250, 248, 242, .98) 0%, rgba(250, 248, 242, .88) 38%, rgba(250, 248, 242, .18) 72%),
    linear-gradient(180deg, rgba(24,35,31,.05), rgba(24,35,31,.24)),
    url("assets/hero-sanctuary.svg") center left / cover no-repeat;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(250, 248, 242, .96));
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
  padding: 72px 0 86px;
}

.home-hero .hero-copy {
  padding: 96px 0 132px;
}

.home-hero h1 {
  max-width: 10ch;
}

.portal-ticker {
  background: var(--forest);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}

.ticker-window {
  width: min(1180px, calc(100% - 32px));
  min-height: 44px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ticker-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  font-size: .93rem;
  width: max-content;
  animation: tickerSlide 24s linear infinite alternate;
}

.ticker-row strong,
.ticker-row a {
  color: #f4d990;
  font-weight: 850;
}

.ticker-row span {
  color: rgba(255,255,255,.82);
}

@keyframes tickerSlide {
  from { transform: translateX(-18%); }
  to { transform: translateX(18%); }
}

.portal-hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(24,35,31,.94), rgba(24,35,31,.74) 42%, rgba(24,35,31,.22)),
    linear-gradient(180deg, rgba(24,35,31,.2), rgba(24,35,31,.35)),
    url("assets/beit-midrash-hero.webp") center center / cover no-repeat;
  color: white;
  position: relative;
  overflow: hidden;
}

.portal-hero::after,
.home-donation::after,
.qna-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(199,155,69,.18), transparent 34%),
    linear-gradient(315deg, rgba(197,121,112,.15), transparent 40%);
}

.portal-hero > *,
.home-donation > *,
.qna-preview > * {
  position: relative;
  z-index: 1;
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: end;
  padding: 72px 0;
}

.portal-main {
  max-width: 780px;
}

.portal-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: #f4d990;
  font-weight: 850;
}

.portal-main h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6.5vw, 5.6rem);
}

.portal-main p {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255,255,255,.82);
  font-size: 1.18rem;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.portal-side {
  display: grid;
  gap: 10px;
}

.portal-side a {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.portal-side span,
.portal-section-title a,
.magazine-lead span,
.magazine-list span,
.tools-grid span {
  color: var(--gold);
  font-weight: 850;
  font-size: .86rem;
}

.portal-side strong {
  font-size: 1.2rem;
}

.portal-side small {
  color: rgba(255,255,255,.72);
}

.portal-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.portal-section-title h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.shorts-section {
  padding: 42px 0 72px;
  background:
    linear-gradient(180deg, rgba(255,253,248,.94), rgba(255,253,248,.98)),
    url("assets/page-watermark.svg") center / cover no-repeat;
}

.shorts-image-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.shorts-image-band span {
  min-height: 92px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(22,53,43,.05), rgba(22,53,43,.42)),
    url("assets/library-light.svg") center / cover no-repeat;
  box-shadow: 0 14px 32px rgba(24,35,31,.08);
}

.shorts-image-band span:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(63,120,129,.05), rgba(63,120,129,.42)),
    url("assets/media-shabbat.svg") center / cover no-repeat;
}

.shorts-image-band span:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(197,121,112,.05), rgba(197,121,112,.42)),
    url("assets/chesed-nefesh-bg.webp") center / cover no-repeat;
}

.shorts-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.short-card {
  min-height: 210px;
  display: grid;
  align-content: end;
  padding: 22px;
  color: white;
  background:
    linear-gradient(180deg, rgba(22,53,43,.08), rgba(22,53,43,.88)),
    url("assets/page-watermark.svg") center / cover no-repeat,
    var(--forest);
  box-shadow: 0 18px 40px rgba(24,35,31,.13);
}

.short-card:nth-child(2) { background-color: var(--blue); }
.short-card:nth-child(3) { background-color: var(--rose); }
.short-card:nth-child(4) { background-color: #7b5d1e; }

.short-card span {
  color: #f4d990;
  font-weight: 850;
}

.short-card strong {
  margin: 12px 0 6px;
  font-size: 1.18rem;
}

.short-card p {
  color: rgba(255,255,255,.78);
}

.portal-magazine {
  background:
    linear-gradient(180deg, rgba(248,244,235,.96), rgba(255,253,248,.96)),
    url("assets/chesed-nefesh-bg.webp") center / cover fixed;
}

.magazine-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 20px;
}

.magazine-lead {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: 34px;
  color: white;
  background:
    linear-gradient(180deg, rgba(24,35,31,.04), rgba(24,35,31,.88)),
    url("assets/library-light.svg") center / cover no-repeat;
}

.magazine-lead p {
  max-width: 670px;
  color: rgba(255,255,255,.78);
}

.magazine-lead h3 {
  margin: 14px 0;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.magazine-list {
  display: grid;
  gap: 12px;
}

.magazine-list a {
  display: grid;
  align-content: center;
  min-height: 96px;
  padding: 20px;
  background: white;
  border: 1px solid rgba(49,88,73,.14);
}

.magazine-list strong {
  margin-top: 4px;
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--sage-dark);
  font-weight: 800;
  font-size: 0.92rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.9rem);
  max-width: 8.7ch;
  font-weight: 850;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.05rem);
  font-weight: 820;
}

h3 {
  font-size: 1.18rem;
  font-weight: 800;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  margin-top: 22px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 680px;
  color: #45534f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -54px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(49, 88, 73, .18);
  background: rgba(255, 253, 248, .94);
  box-shadow: var(--shadow);
}

.trust-grid a {
  min-height: 108px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 4px;
  border-left: 1px solid rgba(49, 88, 73, .12);
}

.trust-grid a:last-child {
  border-left: 0;
}

.trust-grid strong {
  color: var(--forest);
  font-size: 1.05rem;
}

.trust-grid span {
  color: var(--muted);
  font-size: .92rem;
}

.live-wall {
  padding: 82px 0 48px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(251,247,239,.94)),
    linear-gradient(90deg, rgba(251,247,239,.76), rgba(251,247,239,.9)),
    url("assets/chesed-nefesh-bg.webp") left center / 46% auto no-repeat,
    radial-gradient(circle at 18% 18%, rgba(199,155,69,.22), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(197,121,112,.16), transparent 28%);
}

.live-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.live-head {
  position: sticky;
  top: 100px;
}

.live-head::after {
  content: "";
  display: block;
  width: min(270px, 100%);
  aspect-ratio: 16 / 10;
  margin-top: 26px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(22,53,43,.08), rgba(22,53,43,.2)),
    url("assets/chesed-nefesh-bg.webp") center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(24,35,31,.11);
}

.live-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.live-item {
  min-height: 180px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 22px;
  background: #fffdf8;
  border: 1px solid rgba(49,88,73,.14);
  box-shadow: 0 12px 34px rgba(24,35,31,.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.live-item:hover,
.content-tile:hover,
.media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(24,35,31,.11);
}

.live-item span,
.media-card span,
.question-card span {
  color: var(--gold);
  font-weight: 850;
  font-size: .83rem;
}

.live-item strong {
  font-size: 1.28rem;
  line-height: 1.25;
}

.live-item small {
  color: var(--sage-dark);
  font-weight: 800;
}

.home-intro {
  padding-top: 110px;
}

.mission-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(49, 88, 73, .16);
  border-bottom: 1px solid rgba(49, 88, 73, .16);
}

.mission-feature {
  min-height: 260px;
  padding: 34px 30px;
  display: grid;
  align-content: end;
  border-left: 1px solid rgba(49, 88, 73, .16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.32)),
    var(--paper);
}

.mission-feature:first-child {
  background:
    linear-gradient(145deg, rgba(25,44,38,.92), rgba(49,88,73,.8)),
    var(--forest);
  color: white;
}

.mission-feature:first-child p,
.mission-feature:first-child span {
  color: rgba(255,255,255,.76);
}

.mission-feature:last-child {
  border-left: 0;
}

.mission-feature span,
.content-tile span,
.donation-mini span {
  color: var(--gold);
  font-weight: 850;
  font-size: .84rem;
}

.mission-feature h3 {
  margin: 16px 0 10px;
  font-size: 1.55rem;
}

.home-donation {
  color: white;
  background:
    linear-gradient(90deg, rgba(22,53,43,.96), rgba(46,99,82,.76)),
    url("assets/chesed-nefesh-bg.webp") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.home-donation .donation-story {
  grid-template-columns: .78fr minmax(0, 1fr) 330px;
}

.home-donation .donation-story::before {
  content: "";
  min-height: 260px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(22,53,43,.06), rgba(22,53,43,.28)),
    url("assets/chesed-nefesh-bg.webp") center / cover no-repeat;
  box-shadow: 0 24px 52px rgba(0,0,0,.18);
}

.media-section {
  background:
    linear-gradient(180deg, rgba(255,253,248,.94), rgba(248,244,235,.94)),
    url("assets/library-light.svg") center / cover fixed;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.media-card {
  display: grid;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(49,88,73,.14);
  box-shadow: 0 12px 34px rgba(24,35,31,.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.media-card:first-child {
  grid-row: span 2;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.media-card div {
  padding: 20px;
}

.media-card h3 {
  margin: 8px 0 4px;
  font-size: 1.35rem;
}

.home-donation p {
  color: rgba(255,255,255,.78);
}

.home-donation .eyebrow {
  color: #f4d990;
}

.donation-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: center;
}

.donation-story h2 {
  max-width: 780px;
}

.donation-story p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 18px;
}

.donation-mini {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.donation-mini a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 16px;
  color: var(--forest);
  background: #fffaf0;
  border-radius: 5px;
  font-weight: 850;
}

.donation-mini a::after {
  content: "←";
  color: var(--gold);
}

.content-board {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.content-tile {
  min-height: 220px;
  padding: 26px;
  display: grid;
  align-content: end;
  background: white;
  border: 1px solid rgba(49, 88, 73, .14);
  box-shadow: 0 10px 30px rgba(24,35,31,.045);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.content-tile.large {
  grid-row: span 2;
  min-height: 456px;
  color: white;
  background:
    linear-gradient(180deg, rgba(24,35,31,.08), rgba(24,35,31,.82)),
    url("assets/page-watermark.svg") center / cover no-repeat,
    var(--forest);
}

.content-tile.large p {
  color: rgba(255,255,255,.78);
}

.content-tile h3 {
  margin: 12px 0 8px;
  font-size: 1.42rem;
}

.books-showcase {
  background:
    linear-gradient(180deg, rgba(255,253,248,.96), rgba(241,236,224,.94)),
    radial-gradient(circle at 12% 20%, rgba(197,121,112,.14), transparent 32%),
    radial-gradient(circle at 84% 12%, rgba(134,165,143,.2), transparent 30%);
}

.qna-preview {
  background:
    linear-gradient(90deg, rgba(22,53,43,.96), rgba(63,120,129,.72)),
    url("assets/chesed-nefesh-bg.webp") center / cover no-repeat;
  color: white;
  position: relative;
  overflow: hidden;
}

.qna-preview p {
  color: rgba(255,255,255,.76);
}

.qna-preview .eyebrow {
  color: #f0d283;
}

.qna-home {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.qna-home .btn {
  margin-top: 26px;
}

.question-stream {
  display: grid;
  gap: 14px;
}

.question-card {
  padding: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
}

.question-card h3 {
  margin: 8px 0;
  font-size: 1.25rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.portal-tools {
  background:
    linear-gradient(180deg, rgba(255,253,248,.92), rgba(255,253,248,.96)),
    url("assets/beit-midrash-hero.webp") center / cover fixed;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(49,88,73,.14);
  border: 1px solid rgba(49,88,73,.14);
}

.tools-grid a {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: white;
}

.tools-grid strong {
  font-size: 1.15rem;
}

.books-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 60px;
  align-items: center;
}

.books-home p:not(.eyebrow) {
  margin: 18px 0 28px;
  max-width: 660px;
}

.book-stack {
  position: relative;
  min-height: 360px;
}

.volume {
  position: absolute;
  width: 220px;
  height: 300px;
  display: grid;
  place-items: end start;
  padding: 24px;
  color: white;
  font-weight: 850;
  font-size: 1.35rem;
  border-radius: 4px;
  box-shadow: 0 28px 48px rgba(24,35,31,.2);
  transform-origin: bottom center;
}

.volume.one {
  right: 40px;
  top: 20px;
  background: linear-gradient(145deg, #172821, #315849);
  transform: rotate(5deg);
}

.volume.two {
  right: 150px;
  top: 48px;
  background: linear-gradient(145deg, #633f3b, #9f6e68);
  transform: rotate(-8deg);
}

.volume.three {
  right: 260px;
  top: 78px;
  background: linear-gradient(145deg, #7b5d1e, #b99246);
  transform: rotate(7deg);
}

.real-book-showcase {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.book-photo {
  position: absolute;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.book-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(24,35,31,.24));
}

.main-book {
  width: min(420px, 88%);
  aspect-ratio: 1.16 / 1;
  z-index: 3;
  transform: rotate(-3deg) rotateX(7deg);
  animation: bookFloat 5.8s ease-in-out infinite;
}

.real-book-showcase::before {
  content: none;
}

@keyframes bookFloat {
  0%, 100% {
    transform: rotate(-3deg) rotateX(7deg) translateY(0);
  }
  50% {
    transform: rotate(-1deg) rotateX(5deg) translateY(-14px);
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 650px;
  margin-top: 46px;
  border: 1px solid rgba(49, 88, 73, .18);
  background: rgba(49, 88, 73, .18);
}

.stat {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.74);
  border-radius: 0;
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--forest);
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 92px 0;
  position: relative;
}

.section + .section::before,
.live-wall::before,
.shorts-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 18px;
  background:
    linear-gradient(90deg, transparent, rgba(199,155,69,.35), rgba(197,121,112,.28), transparent);
  opacity: .7;
}

.live-wall,
.shorts-section {
  position: relative;
}

.section-soft {
  background: var(--soft);
}

.section-paper {
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,253,248,.94)),
    radial-gradient(circle at 12% 18%, rgba(199,155,69,.12), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(134,165,143,.16), transparent 30%);
}

.page-hero + .section-paper {
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,253,248,.94)),
    url("assets/chesed-nefesh-bg.webp") left top / 42% auto no-repeat,
    radial-gradient(circle at 86% 12%, rgba(134,165,143,.16), transparent 30%);
}

.page-hero + .section-paper .card,
.page-hero + .section-paper .form-box,
.page-hero + .section-paper .side-panel,
.page-hero + .section-paper .donation-box,
.page-hero + .section-paper .checkout-box {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid rgba(49, 88, 73, 0.14);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 26px rgba(24, 35, 31, 0.045);
}

.card h3 {
  margin-bottom: 10px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--sage-dark);
  font-weight: 800;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--forest);
  background: linear-gradient(180deg, #f4f0e4, #e7eee8);
  border: 1px solid rgba(49, 88, 73, .13);
  border-radius: 5px;
  font-size: .92rem;
  font-weight: 850;
}

.pathway {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(24, 35, 31, 0.92), rgba(24, 35, 31, 0.58), rgba(24, 35, 31, 0.28)),
    url("assets/library-light.svg") center / cover no-repeat;
  color: white;
}

.pathway p {
  color: rgba(255, 255, 255, 0.83);
}

.pathway .section-head {
  margin-bottom: 22px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.page-hero {
  padding: 84px 0 54px;
  background:
    linear-gradient(135deg, rgba(238, 243, 238, 0.98), rgba(250, 248, 242, 0.88)),
    url("assets/page-watermark.svg") center / cover no-repeat;
  border-bottom: 1px solid rgba(49, 88, 73, .12);
  position: relative;
  overflow: hidden;
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
}

.page-hero .section-inner::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: min(360px, 34vw);
  aspect-ratio: 4 / 3;
  transform: translateY(-50%) rotate(-2deg);
  border-radius: 28px 8px 28px 8px;
  background:
    linear-gradient(180deg, rgba(22,53,43,.08), rgba(22,53,43,.38)),
    url("assets/beit-midrash-hero.webp") center / cover no-repeat;
  box-shadow: 0 24px 58px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.18);
}

.donation-hero .section-inner::after,
.ask-hero .section-inner::after {
  background:
    linear-gradient(180deg, rgba(22,53,43,.08), rgba(22,53,43,.38)),
    url("assets/chesed-nefesh-bg.webp") center / cover no-repeat;
}

.books-hero .section-inner::after {
  background:
    linear-gradient(180deg, rgba(22,53,43,.08), rgba(22,53,43,.28)),
    url("assets/rabbis-book-hazon-ovadya.png") center / contain no-repeat,
    radial-gradient(circle, rgba(255,244,223,.24), transparent 62%);
}

.qna-hero .section-inner::after,
.soul-hero .section-inner::after {
  background:
    linear-gradient(180deg, rgba(22,53,43,.08), rgba(22,53,43,.38)),
    url("assets/library-light.svg") center / cover no-repeat;
}

.women-hero .section-inner::after {
  background:
    linear-gradient(180deg, rgba(22,53,43,.08), rgba(22,53,43,.38)),
    url("assets/media-shabbat.svg") center / cover no-repeat;
}

.about-hero,
.spark-hero,
.qna-hero,
.publish-hero,
.ask-hero,
.women-hero,
.soul-hero,
.donation-hero,
.books-hero {
  color: white;
  background:
    linear-gradient(90deg, rgba(22,53,43,.9), rgba(22,53,43,.62)),
    url("assets/beit-midrash-hero.webp") center / cover no-repeat;
}

.donation-hero {
  background:
    linear-gradient(90deg, rgba(22,53,43,.92), rgba(197,121,112,.4)),
    url("assets/chesed-nefesh-bg.webp") center / cover no-repeat;
}

.books-hero {
  background:
    linear-gradient(90deg, rgba(22,53,43,.9), rgba(138,106,42,.45)),
    url("assets/library-light.svg") center / cover no-repeat;
}

.page-hero p,
.page-hero .crumbs {
  color: rgba(255,255,255,.8);
}

.page-hero .eyebrow {
  color: #f4d990;
}

.page-hero h1 {
  max-width: 13ch;
}

.page-hero .lead {
  max-width: 780px;
}

.crumbs {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 96px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.side-panel .btn {
  width: 100%;
  margin-top: 16px;
}

.rich-text {
  display: grid;
  gap: 22px;
}

.rich-text p,
.rich-text li {
  font-size: 1.04rem;
}

.quote-band {
  padding: 26px;
  background: #20302d;
  color: white;
  border-radius: var(--radius);
}

.quote-band p {
  color: rgba(255, 255, 255, 0.85);
}

.donation-box,
.checkout-box,
.form-box {
  background: var(--paper);
  border: 1px solid rgba(49, 88, 73, 0.16);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.donation-experience {
  background:
    linear-gradient(180deg, rgba(255,253,248,.92), rgba(239,244,238,.92)),
    url("assets/chesed-nefesh-bg.webp") center / cover fixed;
}

.donation-stage {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.impact-panel {
  min-height: 620px;
  display: grid;
  align-content: end;
  gap: 20px;
  padding: 30px;
  color: white;
  background:
    linear-gradient(180deg, rgba(22,53,43,.08), rgba(22,53,43,.92)),
    url("assets/chesed-nefesh-bg.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.impact-panel span,
.store-book-card span {
  color: #f4d990;
  font-weight: 850;
}

.impact-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.impact-list {
  display: grid;
  gap: 10px;
}

.impact-list div {
  padding: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}

.impact-list strong {
  display: block;
  color: #f4d990;
  font-size: 1.2rem;
}

.impact-list p {
  color: rgba(255,255,255,.78);
}

.donation-premium {
  align-self: center;
}

.premium-amounts button {
  display: grid;
  gap: 2px;
  padding: 14px 10px;
  min-height: 78px;
}

.premium-amounts strong {
  font-size: 1.35rem;
}

.premium-amounts span {
  color: var(--muted);
  font-size: .85rem;
}

.donation-submit {
  width: 100%;
  margin: 22px 0 0;
  min-height: 58px;
  font-size: 1.08rem;
  display: flex;
  border-radius: 8px;
}

.qna-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.qna-category-tabs a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--cream);
  border: 1px solid rgba(199,155,69,.26);
  font-weight: 850;
}

.qna-categories-section h2 {
  margin-top: 22px;
  font-size: 1.6rem;
}

.choshen-mishpat-section {
  margin-bottom: 34px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,253,248,.94), rgba(239,244,238,.88)),
    url("assets/library-light.svg") center / cover no-repeat;
  border: 1px solid rgba(49,88,73,.14);
  border-radius: 22px 6px 22px 6px;
}

.choshen-mishpat-list {
  display: grid;
  gap: 10px;
  max-height: 720px;
  overflow: auto;
  padding-inline-end: 6px;
}

.choshen-item {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(49,88,73,.14);
  border-radius: 14px 4px 14px 4px;
  overflow: hidden;
}

.choshen-item > button {
  width: 100%;
  display: grid;
  gap: 4px;
  border: 0;
  padding: 16px 18px;
  background: transparent;
  color: var(--forest);
  font: inherit;
  text-align: right;
  cursor: pointer;
}

.choshen-item > button span {
  color: var(--gold);
  font-weight: 850;
}

.choshen-item > button strong {
  font-size: 1.08rem;
}

.choshen-body {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(49,88,73,.1);
}

.choshen-body p {
  margin: 14px 0 0;
  color: var(--ink);
  white-space: pre-wrap;
}

.choshen-body strong {
  font-weight: 900;
}

.doc-list-paragraph {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
}

.doc-list-marker {
  color: var(--gold);
  font-weight: 900;
}

.page-hero + .section,
.home-media-wall,
.home-daily-grid,
.home-donation-mini,
.home-books-feature,
.home-sections-hub,
.books-store,
.donation-experience {
  position: relative;
  overflow: hidden;
}

.page-hero + .section::after,
.home-media-wall::after,
.home-daily-grid::after,
.home-donation-mini::after,
.home-books-feature::after,
.home-sections-hub::after,
.books-store::after,
.donation-experience::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(199,155,69,.18), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(197,121,112,.14), transparent 24%);
}

.page-hero + .section > *,
.home-media-wall > *,
.home-daily-grid > *,
.home-donation-mini > *,
.home-books-feature > *,
.home-sections-hub > *,
.books-store > *,
.donation-experience > * {
  position: relative;
  z-index: 1;
}

.books-store {
  background:
    linear-gradient(180deg, rgba(255,253,248,.94), rgba(248,244,235,.96)),
    url("assets/library-light.svg") center / cover fixed;
}

.books-store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.featured-book {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(22,53,43,.95), rgba(46,99,82,.78));
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.featured-book p {
  color: rgba(255,255,255,.78);
}

.featured-book-photo {
  min-height: 310px;
  display: grid;
  place-items: center;
  position: relative;
}

.featured-book-photo::before {
  content: "";
  position: absolute;
  width: 72%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,155,69,.34), transparent 66%);
  filter: blur(6px);
}

.featured-book-photo img {
  position: relative;
  width: min(360px, 100%);
  filter: drop-shadow(0 30px 34px rgba(0,0,0,.28));
  animation: bookFloat 5.8s ease-in-out infinite;
}

.book-market {
  display: grid;
  gap: 16px;
}

.store-book-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(49,88,73,.14);
  box-shadow: 0 14px 34px rgba(24,35,31,.07);
}

.store-book-card img {
  width: 150px;
  filter: drop-shadow(0 18px 22px rgba(24,35,31,.18));
}

.book-checkout {
  position: sticky;
  top: 170px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  background: #edf2ed;
  border-radius: var(--radius);
  margin: 18px 0;
}

.segmented button {
  border: 0;
  border-radius: 6px;
  padding: 12px;
  background: transparent;
  font: inherit;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
}

.segmented button.is-active {
  color: var(--sage-dark);
  background: white;
  box-shadow: 0 8px 22px rgba(32, 48, 45, 0.08);
}

.amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.amounts button,
.book-qty button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  min-height: 48px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.amounts button.is-active {
  border-color: var(--forest);
  color: var(--forest);
  background: #edf2ed;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #3d514d;
  font-weight: 750;
  font-size: 0.94rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.book-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.book-cover {
  min-height: 166px;
  border-radius: 4px;
  padding: 18px;
  color: white;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 46%),
    linear-gradient(145deg, #1c352d, var(--blue));
  box-shadow: 0 16px 32px rgba(32, 48, 45, 0.16);
}

.book-cover.rose {
  background: linear-gradient(145deg, #7e514e, var(--rose));
}

.book-cover.gold {
  background: linear-gradient(145deg, #7d6730, var(--gold));
}

.price {
  font-weight: 850;
  color: var(--sage-dark);
  margin-top: 10px;
}

.book-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.book-qty button {
  width: 38px;
  min-height: 38px;
}

.book-qty output {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  padding: 20px 0;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  text-align: right;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item .plus {
  flex: 0 0 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--sage-dark);
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.date-badge {
  display: grid;
  place-items: center;
  min-height: 74px;
  color: white;
  background: var(--forest);
  border-radius: var(--radius);
  font-weight: 850;
}

.site-footer {
  padding: 56px 0 28px;
  background: #18231f;
  color: white;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .brand-mark {
  flex: 0 0 54px;
  min-width: 54px;
}

.footer-brand h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.footer-brand p + p {
  margin-top: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 138px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 0;
  }

  body.nav-open .main-nav {
    display: grid;
  }

  .main-nav a {
    padding: 13px 10px;
    white-space: normal;
    border-radius: 6px;
  }

  .nav-actions {
    position: static;
    order: 2;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(250, 248, 242, 0.98), rgba(250, 248, 242, 0.92)),
      url("assets/hero-sanctuary.svg") center / cover no-repeat;
  }

  .hero-copy {
    padding: 58px 0 72px;
  }

  .hero-stats,
  .grid-3,
  .grid-2,
  .content-layout,
  .donation-stage,
  .books-store-layout,
  .featured-book,
  .footer-grid,
  .trust-grid,
  .live-grid,
  .live-feed,
  .portal-layout,
  .shorts-row,
  .shorts-image-band,
  .magazine-grid,
  .mission-layout,
  .donation-story,
  .media-grid,
  .content-board,
  .books-home,
  .qna-home,
  .admin-layout,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .live-head {
    position: static;
  }

  .media-card:first-child {
    grid-row: auto;
  }

  .portal-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(24,35,31,.9), rgba(24,35,31,.62)),
      url("assets/beit-midrash-hero.webp") center center / cover no-repeat;
  }

  .portal-magazine,
  .media-section,
  .portal-tools {
    background-attachment: scroll;
  }

  .ticker-row {
    animation-duration: 18s;
  }

  .home-donation .donation-story {
    grid-template-columns: 1fr;
  }

  .home-donation .donation-story::before {
    min-height: 190px;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-grid a,
  .mission-feature {
    border-left: 0;
    border-bottom: 1px solid rgba(49, 88, 73, .12);
  }

  .home-intro {
    padding-top: 62px;
  }

  .content-tile.large {
    min-height: 300px;
  }

  .book-stack,
  .real-book-showcase {
    min-height: 310px;
    transform: scale(.86);
    transform-origin: center top;
  }

  .side-panel {
    position: static;
  }

  .section {
    padding: 60px 0;
  }

  .field-grid,
  .amounts {
    grid-template-columns: 1fr 1fr;
  }

  .impact-panel {
    min-height: 360px;
  }

  .book-checkout {
    position: static;
  }

  .books-store,
  .donation-experience {
    background-attachment: scroll;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .hero-inner,
  .section-inner {
    width: min(100% - 22px, 1180px);
  }

  .brand {
    min-width: auto;
    justify-content: flex-start;
    text-align: right;
  }

  .brand-title {
    font-size: 1.42rem;
  }

  .brand-subtitle {
    font-size: .86rem;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .nav-shell {
    min-height: 116px;
    justify-content: space-between;
  }

  .main-nav {
    inset: 116px 0 auto 0;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-actions,
  .portal-actions,
  .portal-section-title,
  .segmented,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .field-grid,
  .amounts,
  .book-card,
  .store-book-card,
  .article-row {
    grid-template-columns: 1fr;
  }

  .premium-amounts {
    grid-template-columns: 1fr;
  }

  .featured-book {
    padding: 24px;
  }

  .featured-book-photo {
    min-height: 230px;
  }

  .store-book-card img {
    width: min(210px, 80%);
    justify-self: center;
  }

  .book-cover {
    min-height: 130px;
  }

  .home-hero .hero-copy {
    padding: 58px 0 74px;
  }

  .trust-grid a {
    min-height: 88px;
    padding: 18px;
  }

  .portal-layout {
    padding: 48px 0;
  }

  .portal-side a,
  .short-card,
  .tools-grid a {
    min-height: 132px;
  }

  .mission-feature,
  .content-tile,
  .donation-mini {
    padding: 22px;
  }

  .volume {
    width: 180px;
    height: 248px;
  }

  .volume.one {
    right: 4px;
  }

  .volume.two {
    right: 92px;
  }

  .volume.three {
    right: 168px;
  }

  .real-book-showcase {
    min-height: 280px;
  }

  .main-book {
    width: 92%;
  }

}


/* Major live homepage and conversion upgrades */
.home-live-hero{min-height:680px;display:grid;align-items:center;color:white;background:linear-gradient(90deg,rgba(22,53,43,.94),rgba(22,53,43,.58),rgba(22,53,43,.18)),url("assets/beit-midrash-hero.webp") center/cover no-repeat;position:relative;overflow:hidden}.home-live-hero::after{content:"";position:absolute;inset:auto 0 0 0;height:130px;background:linear-gradient(180deg,transparent,rgba(251,247,239,.96))}.home-live-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:34px;align-items:end;padding:76px 0 120px}.home-hero-panel h1{max-width:11ch;font-size:clamp(3rem,7vw,6.3rem)}.home-hero-panel p{max-width:690px;color:rgba(255,255,255,.82);font-size:1.2rem;margin-top:22px}.hero-live-card{min-height:360px;display:grid;align-content:end;gap:12px;padding:26px;background:linear-gradient(180deg,rgba(22,53,43,.02),rgba(22,53,43,.84)),url("assets/media-torah.svg") center/cover no-repeat;box-shadow:0 28px 70px rgba(0,0,0,.25)}.hero-live-card span,.home-donation-mini span,.daily-spark span{color:#f4d990;font-weight:850}.hero-live-card p{color:rgba(255,255,255,.78)}.hero-live-card a{color:#f4d990;font-weight:850}.home-pulse{margin-top:-56px;position:relative;z-index:3}.pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:rgba(22,53,43,.18);border:1px solid rgba(22,53,43,.16);box-shadow:var(--shadow)}.pulse-grid a{min-height:124px;display:grid;align-content:center;gap:4px;padding:22px;background:rgba(255,253,248,.96)}.pulse-grid span{color:var(--gold);font-weight:850}.pulse-grid strong{font-size:1.18rem}.pulse-grid small{color:var(--muted)}.home-media-wall{background:linear-gradient(180deg,rgba(251,247,239,.96),rgba(255,253,248,.96)),url("assets/library-light.svg") center/cover fixed}.home-daily-grid{background:linear-gradient(90deg,rgba(22,53,43,.94),rgba(63,120,129,.72)),url("assets/chesed-nefesh-bg.webp") center/cover no-repeat;color:white}.home-daily-grid p{color:rgba(255,255,255,.78)}.daily-layout{display:grid;grid-template-columns:420px minmax(0,1fr);gap:34px}.daily-spark{min-height:360px;display:grid;align-content:end;padding:30px;background:linear-gradient(180deg,rgba(22,53,43,.12),rgba(22,53,43,.82)),url("assets/media-shabbat.svg") center/cover no-repeat}.home-donation-mini{background:linear-gradient(180deg,rgba(255,253,248,.92),rgba(239,244,238,.94)),url("assets/chesed-nefesh-bg.webp") left center/44% auto no-repeat}.donation-mini-wide{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px;color:white;background:linear-gradient(135deg,rgba(22,53,43,.96),rgba(46,99,82,.82));box-shadow:var(--shadow)}.donation-mini-wide p{color:rgba(255,255,255,.78)}.home-books-feature{background:linear-gradient(180deg,rgba(255,253,248,.96),rgba(241,236,224,.94)),radial-gradient(circle at 80% 18%,rgba(199,155,69,.22),transparent 34%)}.home-sections-hub{background:linear-gradient(180deg,rgba(239,244,238,.96),rgba(255,253,248,.96)),url("assets/page-watermark.svg") center/cover no-repeat}.donation-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:22px}.donation-trust span{min-height:42px;display:grid;place-items:center;padding:8px;color:var(--forest);background:var(--cream);border:1px solid rgba(199,155,69,.28);border-radius:999px;font-weight:850;font-size:.86rem;text-align:center}.segmented small{margin-right:6px;color:var(--gold);font-size:.75rem}.book-actions{display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}.book-actions .btn{min-height:42px;padding-inline:16px}.store-book-card .book-actions{justify-content:space-between}.store-book-card .book-actions .btn{flex:1;min-width:150px}
@media(max-width:860px){.home-live-grid,.pulse-grid,.daily-layout{grid-template-columns:1fr}.home-live-grid{padding:52px 0 88px}.home-pulse{margin-top:0}.hero-live-card{min-height:240px}.donation-mini-wide{display:grid}.donation-trust{grid-template-columns:1fr 1fr}.home-media-wall{background-attachment:scroll}}
@media(max-width:560px){.home-hero-panel h1{font-size:2.7rem}.pulse-grid a{min-height:96px}.book-actions,.book-actions .btn{width:100%}.donation-trust{grid-template-columns:1fr}}


/* Header, actions and livelier card shapes */
.nav-actions{left:auto;right:max(16px,calc((100vw - 1180px)/2))}.ask-hero + .section .form-box button[type="submit"],.book-checkout button[type="submit"]{width:min(280px,100%);min-height:48px;margin:18px auto 0;display:flex}.live-item,.content-tile,.short-card,.question-card,.store-book-card,.media-card,.card,.form-box,.side-panel,.donation-box,.checkout-box,.impact-panel,.daily-spark,.hero-live-card{border-radius:22px 6px 22px 6px}.content-tile.large,.magazine-lead,.featured-book,.donation-mini-wide{border-radius:6px 28px 6px 28px}.media-card{position:relative;color:inherit;text-decoration:none}.media-card::after{content:"↗";position:absolute;top:14px;left:14px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:white;background:rgba(22,53,43,.72);backdrop-filter:blur(8px)}
@media(max-width:1080px){.nav-actions{right:auto}}

.live-links-section{background:linear-gradient(180deg,rgba(255,253,248,.94),rgba(239,244,238,.96)),url("assets/beit-midrash-hero.webp") center/cover fixed}.live-links-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.live-links-grid a{min-height:240px;display:grid;align-content:end;gap:8px;padding:26px;color:white;background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.86)),url("assets/chesed-nefesh-bg.webp") center/cover no-repeat;border-radius:28px 6px 28px 6px;box-shadow:0 20px 48px rgba(24,35,31,.14);transition:transform 180ms ease,box-shadow 180ms ease}.live-links-grid a:nth-child(2){background-image:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.86)),url("assets/library-light.svg")}.live-links-grid a:nth-child(3){background-image:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.86)),url("assets/media-shabbat.svg")}.live-links-grid a:hover{transform:translateY(-4px);box-shadow:0 30px 60px rgba(24,35,31,.2)}.live-links-grid span{color:#f4d990;font-weight:850}.live-links-grid p{color:rgba(255,255,255,.78)}@media(max-width:860px){.live-links-grid{grid-template-columns:1fr}.live-links-section{background-attachment:scroll}}


/* Single nav cart and QNA search */
.main-nav .nav-cart{color:var(--forest);background:var(--cream);border:1px solid rgba(199,155,69,.3);font-weight:850}.main-nav .nav-cart::before{display:none}.qna-search{display:grid;gap:8px;margin-bottom:18px}.qna-search input{min-height:54px;border-radius:999px;padding-inline:20px;border-color:rgba(199,155,69,.38);box-shadow:0 12px 30px rgba(24,35,31,.06)}
@media(max-width:860px){.page-hero .section-inner::after{position:relative;display:block;left:auto;top:auto;width:100%;max-width:420px;margin:28px 0 0;transform:none}.page-hero{padding-bottom:36px}}


/* Top color band and connected video cards */
.site-header::before{content:"";display:block;height:9px;background:linear-gradient(90deg,var(--rose),var(--gold),var(--sage),var(--blue));box-shadow:0 8px 24px rgba(197,121,112,.22)}.media-card::after{content:"▶"!important}.media-card img{filter:saturate(1.08) contrast(1.04)}.media-card div::before{content:"וידאו מחובר";display:inline-flex;margin-bottom:8px;padding:5px 10px;border-radius:999px;color:var(--forest);background:var(--cream);font-family:"Segoe UI",Arial,sans-serif;font-size:.78rem;font-weight:850}.media-card:hover img{filter:saturate(1.2) contrast(1.08)}


/* Premium Torah section redesign and animated dividers */
main > section{position:relative}main > section:not(:first-child)::before{content:"";position:absolute;inset:-22px 0 auto 0;height:44px;z-index:2;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fff4df' fill-opacity='.82' d='M0 40 C180 90 360 -10 540 38 C720 86 900 6 1080 38 C1260 70 1350 26 1440 40 L1440 80 L0 80 Z'/%3E%3C/svg%3E") center/120% 100% repeat-x;animation:softWave 9s ease-in-out infinite}.section:nth-of-type(even)::before{filter:hue-rotate(24deg);opacity:.75}@keyframes softWave{0%,100%{background-position-x:0;transform:translateY(0)}50%{background-position-x:120px;transform:translateY(3px)}}.torah-donation-section{padding:110px 0;background:linear-gradient(135deg,rgba(22,53,43,.96),rgba(46,99,82,.86)),url("assets/beit-midrash-hero.webp") center/cover no-repeat;color:white;overflow:hidden}.torah-donation-section::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 20%,rgba(244,217,144,.24),transparent 30%),radial-gradient(circle at 14% 70%,rgba(197,121,112,.18),transparent 34%);pointer-events:none}.torah-donation-section .donation-mini-wide{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;min-height:310px;padding:44px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(14px);border-radius:34px 8px 34px 8px;box-shadow:0 34px 80px rgba(0,0,0,.22)}.torah-donation-section .donation-mini-wide::before{content:"צדקה";position:absolute;left:34px;top:24px;color:rgba(244,217,144,.18);font-size:5rem;font-weight:900;line-height:1}.torah-donation-section h2{font-size:clamp(2.4rem,5vw,4.6rem);max-width:10ch}.torah-donation-section p{font-size:1.15rem;max-width:620px}.torah-donation-section .btn{justify-self:end;background:linear-gradient(135deg,var(--gold),var(--rose));color:#1d241f;box-shadow:0 18px 36px rgba(0,0,0,.18)}.torah-hub-section{padding-top:110px;background:linear-gradient(180deg,rgba(255,253,248,.96),rgba(239,244,238,.96)),url("assets/library-light.svg") center/cover fixed}.torah-hub-section .content-board{grid-template-columns:1.35fr 1fr 1fr;gap:18px}.torah-hub-section .content-tile{min-height:250px;border:1px solid rgba(199,155,69,.2);background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,244,223,.82));box-shadow:0 18px 44px rgba(24,35,31,.08);overflow:hidden}.torah-hub-section .content-tile::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 14% 12%,rgba(199,155,69,.18),transparent 26%),radial-gradient(circle at 90% 86%,rgba(46,99,82,.14),transparent 30%);opacity:.9}.torah-hub-section .content-tile>*{position:relative;z-index:1}.torah-hub-section .content-tile.large{min-height:520px;background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.86)),url("assets/chesed-nefesh-bg.webp") center/cover no-repeat;color:white}.torah-hub-section .content-tile h3{font-size:1.55rem}.torah-hub-section .content-tile:hover{transform:translateY(-6px) rotate(-.4deg)}
@media(max-width:860px){main > section:not(:first-child)::before{height:30px;inset:-15px 0 auto 0}.torah-donation-section .donation-mini-wide,.torah-hub-section .content-board{grid-template-columns:1fr}.torah-donation-section .donation-mini-wide::before{font-size:3rem}.torah-donation-section .btn{justify-self:stretch}.torah-hub-section{background-attachment:scroll}}


/* Refined subtle dividers and visible section photography */
main > section:not(:first-child)::before{content:""!important;position:absolute!important;inset:-1px 0 auto 0!important;height:2px!important;z-index:2!important;pointer-events:none!important;background:linear-gradient(90deg,transparent,rgba(199,155,69,.55),rgba(134,165,143,.45),transparent)!important;animation:softLightLine 8s ease-in-out infinite!important;filter:none!important}main > section:not(:first-child)::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 0%,rgba(255,244,223,.22) 48%,transparent 62%);transform:translateX(-70%);animation:sectionSheen 11s ease-in-out infinite;z-index:0}main > section > *{position:relative;z-index:1}@keyframes softLightLine{0%,100%{opacity:.35;transform:scaleX(.82)}50%{opacity:.9;transform:scaleX(1)}}@keyframes sectionSheen{0%,72%{transform:translateX(-75%);opacity:0}82%{opacity:.55}100%{transform:translateX(75%);opacity:0}}.home-pulse{background:linear-gradient(180deg,rgba(251,247,239,.58),rgba(251,247,239,.86)),url("assets/beit-midrash-hero.webp") center/cover no-repeat}.home-daily-grid{background:linear-gradient(90deg,rgba(22,53,43,.82),rgba(63,120,129,.58)),url("assets/chesed-nefesh-bg.webp") center/cover no-repeat!important}.home-books-feature{background:linear-gradient(180deg,rgba(255,253,248,.78),rgba(241,236,224,.86)),url("assets/library-light.svg") center/cover fixed!important}.torah-hub-section{background:linear-gradient(180deg,rgba(255,253,248,.82),rgba(239,244,238,.86)),url("assets/library-light.svg") center/cover fixed!important}.torah-donation-section{background:linear-gradient(135deg,rgba(22,53,43,.78),rgba(46,99,82,.68)),url("assets/beit-midrash-hero.webp") center/cover no-repeat!important}.home-live-hero{background:linear-gradient(90deg,rgba(22,53,43,.82),rgba(22,53,43,.5),rgba(22,53,43,.1)),url("assets/beit-midrash-hero.webp") center/cover no-repeat!important}.home-donation-mini{background:linear-gradient(180deg,rgba(255,253,248,.78),rgba(239,244,238,.84)),url("assets/chesed-nefesh-bg.webp") center/cover no-repeat!important}@media(max-width:860px){.home-books-feature,.torah-hub-section{background-attachment:scroll!important}main > section:not(:first-child)::after{display:none}}


/* Refined compact pulse navigation */
.refined-pulse{margin-top:-42px;position:relative;z-index:4;background:transparent!important}.pulse-orbit{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;background:transparent!important;border:0!important;box-shadow:none!important}.pulse-orbit a{position:relative;min-height:116px;display:grid;align-content:center;gap:2px;padding:20px 22px 18px 22px;overflow:hidden;background:rgba(255,253,248,.9);border:1px solid rgba(199,155,69,.18);border-radius:26px 10px 26px 10px;box-shadow:0 18px 42px rgba(24,35,31,.09);backdrop-filter:blur(10px);transition:transform 220ms ease,box-shadow 220ms ease,border-color 220ms ease}.pulse-orbit a::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,244,223,.82),rgba(239,244,238,.7));z-index:-2}.pulse-orbit a::after{content:"";position:absolute;left:-28px;top:-28px;width:94px;height:94px;border-radius:50%;background:radial-gradient(circle,rgba(199,155,69,.24),transparent 66%);z-index:-1}.pulse-orbit a:nth-child(2)::after{background:radial-gradient(circle,rgba(134,165,143,.28),transparent 66%)}.pulse-orbit a:nth-child(3)::after{background:radial-gradient(circle,rgba(197,121,112,.24),transparent 66%)}.pulse-orbit a:nth-child(4)::after{background:radial-gradient(circle,rgba(63,120,129,.24),transparent 66%)}.pulse-orbit a:hover{transform:translateY(-5px);box-shadow:0 28px 58px rgba(24,35,31,.14);border-color:rgba(199,155,69,.36)}.pulse-orbit i{width:34px;height:34px;margin-bottom:8px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--rose));box-shadow:0 8px 18px rgba(199,155,69,.25)}.pulse-orbit a:nth-child(2) i{background:linear-gradient(135deg,var(--sage),var(--blue))}.pulse-orbit a:nth-child(3) i{background:linear-gradient(135deg,#8a4b43,var(--gold))}.pulse-orbit a:nth-child(4) i{background:linear-gradient(135deg,var(--blue),var(--sage-dark))}.pulse-orbit span{color:var(--gold);font-weight:850;font-size:.86rem}.pulse-orbit strong{font-size:1.12rem;color:var(--forest)}.pulse-orbit small{color:var(--muted)}@media(max-width:860px){.pulse-orbit{grid-template-columns:1fr 1fr}.refined-pulse{margin-top:0}}@media(max-width:560px){.pulse-orbit{grid-template-columns:1fr}.pulse-orbit a{min-height:104px}}


/* Clean book/image blocks in selected page heroes */
.hero-clean-image{position:absolute;left:max(16px,calc((100vw - 1180px)/2));top:50%;transform:translateY(-50%);z-index:2;display:grid;place-items:center;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none}.hero-clean-image img{display:block;max-width:min(260px,28vw);max-height:320px;object-fit:contain;background:transparent!important;border:0!important;box-shadow:none!important;filter:drop-shadow(0 18px 24px rgba(0,0,0,.24))}.soul-hero .section-inner::after,.women-hero .section-inner::after{display:none!important}@media(max-width:860px){.hero-clean-image{position:relative;left:auto;top:auto;transform:none;margin:28px auto 0;width:min(280px,82%)}.hero-clean-image img{max-width:100%;max-height:260px}}


/* Floating animated hero books for soul/women pages */
.soul-hero .hero-clean-image,.women-hero .hero-clean-image{perspective:1200px}.soul-hero .hero-clean-image img,.women-hero .hero-clean-image img{background:transparent!important;border:0!important;box-shadow:none!important;filter:drop-shadow(0 24px 28px rgba(0,0,0,.28));animation:pageBookFloat 5.8s ease-in-out infinite;transform-origin:center}.soul-hero .hero-clean-image img{max-width:min(210px,23vw)}.women-hero .hero-clean-image img{max-width:min(250px,25vw)}@keyframes pageBookFloat{0%,100%{transform:rotate(-4deg) rotateX(7deg) translateY(0)}50%{transform:rotate(-1deg) rotateX(5deg) translateY(-13px)}}@media(max-width:860px){.soul-hero .hero-clean-image img,.women-hero .hero-clean-image img{max-width:min(220px,78vw)}}


/* Replacement: focused impact CTA and rich directory */
.torah-impact-cta{padding:84px 0;background:linear-gradient(135deg,rgba(22,53,43,.96),rgba(46,99,82,.86)),url("assets/beit-midrash-hero.webp") center/cover no-repeat;color:white;overflow:hidden}.impact-cta-grid{display:grid;grid-template-columns:minmax(0,1fr) 420px 190px;gap:28px;align-items:center;padding:34px;border:1px solid rgba(255,255,255,.16);background:rgba(22,53,43,.52);backdrop-filter:blur(10px);border-radius:12px;box-shadow:0 28px 70px rgba(0,0,0,.22)}.impact-copy span{color:#f4d990;font-weight:850}.impact-copy h2{font-size:clamp(2.4rem,5vw,4.8rem);max-width:10ch}.impact-copy p{color:rgba(255,255,255,.82);font-size:1.16rem;margin-top:12px}.impact-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.impact-steps div{min-height:112px;display:grid;align-content:center;gap:6px;padding:16px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:18px 6px 18px 6px}.impact-steps strong{color:#f4d990;font-size:1.3rem}.impact-steps span{color:rgba(255,255,255,.86);font-weight:800}.impact-cta-grid .btn{background:linear-gradient(135deg,var(--gold),var(--rose));color:#18231f;min-height:54px}.torah-directory{padding:94px 0;background:linear-gradient(180deg,rgba(251,247,239,.96),rgba(239,244,238,.96)),url("assets/library-light.svg") center/cover fixed}.directory-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:18px}.directory-card{position:relative;min-height:230px;display:grid;align-content:end;gap:8px;padding:24px;overflow:hidden;color:white;background:linear-gradient(180deg,rgba(22,53,43,.06),rgba(22,53,43,.86)),url("assets/chesed-nefesh-bg.webp") center/cover no-repeat;border-radius:24px 8px 24px 8px;box-shadow:0 18px 44px rgba(24,35,31,.12);transition:transform 200ms ease,box-shadow 200ms ease}.directory-card:nth-child(2){background-image:linear-gradient(180deg,rgba(22,53,43,.06),rgba(22,53,43,.82)),url("assets/bat-melech.jpg")}.directory-card:nth-child(3){background-image:linear-gradient(180deg,rgba(22,53,43,.06),rgba(22,53,43,.82)),url("assets/library-light.svg")}.directory-card:nth-child(4){background-image:linear-gradient(180deg,rgba(22,53,43,.06),rgba(22,53,43,.82)),url("assets/rabbis-book-hazon-ovadya.png"),radial-gradient(circle,rgba(255,244,223,.38),transparent 60%);background-size:cover,contain,cover;background-repeat:no-repeat;background-position:center}.directory-card:nth-child(5){background-image:linear-gradient(180deg,rgba(22,53,43,.06),rgba(22,53,43,.82)),url("assets/beit-midrash-hero.webp")}.directory-card:nth-child(6){background-image:linear-gradient(180deg,rgba(22,53,43,.06),rgba(22,53,43,.82)),url("assets/media-horaa.svg")}.directory-card.main{grid-row:span 2;min-height:478px}.directory-card span{color:#f4d990;font-weight:850}.directory-card h3{font-size:1.55rem}.directory-card p{color:rgba(255,255,255,.8)}.directory-card:hover{transform:translateY(-6px);box-shadow:0 28px 62px rgba(24,35,31,.18)}@media(max-width:980px){.impact-cta-grid,.directory-grid{grid-template-columns:1fr}.impact-steps{grid-template-columns:1fr 1fr 1fr}.directory-card.main{grid-row:auto;min-height:260px}.torah-directory{background-attachment:scroll}}@media(max-width:560px){.impact-steps{grid-template-columns:1fr}.impact-cta-grid{padding:24px}.directory-card{min-height:190px}}


/* Scroll progress, accessibility and back-to-top controls */
html[data-font-scale="1.08"] body{font-size:108%}html[data-font-scale="1.16"] body{font-size:116%}html[data-font-scale="1.24"] body,html[data-font-scale="1.25"] body{font-size:125%}.scroll-progress{position:fixed;inset:0 0 auto 0;height:4px;z-index:1000;background:rgba(255,244,223,.3)}.scroll-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--rose),var(--gold),var(--sage),var(--blue));box-shadow:0 0 18px rgba(199,155,69,.45);transition:width 80ms linear}.accessibility-panel{position:fixed;right:18px;bottom:18px;z-index:1001;font-family:"Segoe UI",Arial,sans-serif}.accessibility-toggle{min-width:118px;min-height:48px;border:0;border-radius:999px;padding:10px 18px;color:white;background:linear-gradient(135deg,var(--forest),var(--blue));box-shadow:0 18px 42px rgba(24,35,31,.22);font-weight:850;cursor:pointer}.accessibility-menu{position:absolute;right:0;bottom:58px;width:240px;padding:14px;background:#fffdf8;border:1px solid rgba(49,88,73,.18);border-radius:14px;box-shadow:0 24px 64px rgba(24,35,31,.2);display:grid;gap:8px}.accessibility-menu strong{color:var(--forest)}.accessibility-menu button{min-height:40px;border:1px solid rgba(49,88,73,.12);border-radius:8px;background:white;color:var(--forest);font:inherit;font-weight:750;cursor:pointer}.back-to-top{position:fixed;left:18px;bottom:22px;z-index:1001;width:48px;height:48px;border:0;border-radius:50%;color:white;background:linear-gradient(135deg,var(--gold),var(--rose));box-shadow:0 18px 42px rgba(24,35,31,.22);font-size:1.5rem;font-weight:900;cursor:pointer;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity 180ms ease,transform 180ms ease}body.scrolled .back-to-top{opacity:1;transform:translateY(0);pointer-events:auto}body.high-contrast{background:#000!important;color:#fff!important}body.high-contrast a,body.high-contrast p,body.high-contrast h1,body.high-contrast h2,body.high-contrast h3{color:#fff!important}body.high-contrast .card,body.high-contrast .form-box,body.high-contrast .side-panel,body.high-contrast .site-header{background:#000!important;border-color:#fff!important}body.highlight-links a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important}body.reduce-motion *,body.reduce-motion *::before,body.reduce-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(max-width:560px){.accessibility-panel{right:12px;bottom:12px}.accessibility-toggle{min-width:104px}.accessibility-menu{width:220px}.back-to-top{left:12px;bottom:14px}}


/* Compact accessibility trigger */
.accessibility-toggle{min-width:48px!important;width:48px!important;height:48px!important;min-height:48px!important;border-radius:50%!important;padding:0!important;font-size:1.25rem!important;line-height:1!important}.accessibility-menu[hidden]{display:none!important}

/* Hero after removing live card */
.home-live-grid{grid-template-columns:minmax(0,1fr)!important;max-width:1180px}.home-hero-panel{max-width:780px}


/* Center main hero content */
.home-live-grid{place-items:center!important;text-align:center}.home-hero-panel{margin-inline:auto}.home-hero-panel h1,.home-hero-panel p{margin-inline:auto}.home-hero-panel .portal-actions{justify-content:center}


/* Torah study image in homepage books section */
.books-visual-combo{position:relative;min-height:430px;display:grid;place-items:center}.study-photo{position:absolute;inset:0 0 auto auto;width:84%;height:78%;overflow:hidden;border-radius:30px 8px 30px 8px;box-shadow:0 26px 70px rgba(24,35,31,.18)}.study-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,53,43,.1),rgba(22,53,43,.42))}.study-photo img{width:100%;height:100%;object-fit:cover;display:block}.books-visual-combo .real-book-showcase{position:absolute;left:0;bottom:-18px;width:48%;min-height:250px;transform:scale(.78);transform-origin:left bottom}.books-visual-combo .main-book{width:min(330px,95%)}@media(max-width:860px){.books-visual-combo{min-height:500px}.study-photo{position:relative;width:100%;height:280px}.books-visual-combo .real-book-showcase{position:relative;left:auto;bottom:auto;width:100%;min-height:260px;transform:scale(.86)}}


/* Use Torah study image as background in homepage books section */
.home-books-feature{background:linear-gradient(90deg,rgba(255,253,248,.94),rgba(255,253,248,.78),rgba(255,253,248,.42)),url("assets/torah-study-shtender-no-peyos.webp") center/cover no-repeat!important}.home-books-feature .books-home{min-height:520px}.home-books-feature .real-book-showcase{background:transparent!important}


/* Directory section custom Beit Midrash background */
.torah-directory{background:linear-gradient(180deg,rgba(251,247,239,.88),rgba(239,244,238,.9)),url("assets/beit-midrash-directory-bg.webp") center/cover no-repeat!important}.torah-directory .directory-card{background-blend-mode:normal}


/* Soft gradient transition: books -> directory */
.home-books-feature{position:relative;overflow:hidden;padding-bottom:140px!important}.home-books-feature::after{content:""!important;position:absolute!important;inset:auto 0 0 0!important;height:180px!important;z-index:0!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(251,247,239,0),rgba(251,247,239,.74) 48%,rgba(239,244,238,.96) 100%)!important;animation:none!important;transform:none!important}.home-books-feature > *{position:relative;z-index:1}.torah-directory{margin-top:-110px;padding-top:190px!important}


/* Visible refined transition band between books and directory */
.section-transition-band{height:118px;position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(22,53,43,.92),rgba(46,99,82,.7)),url("assets/library-light.svg") center/cover no-repeat}.section-transition-band::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(244,217,144,.34),transparent);transform:translateX(-70%);animation:bandLight 7s ease-in-out infinite}.section-transition-band::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 22% 40%,rgba(244,217,144,.22),transparent 24%),radial-gradient(circle at 74% 60%,rgba(255,255,255,.14),transparent 22%)}.section-transition-band span{position:absolute;inset:0;background:linear-gradient(180deg,rgba(251,247,239,.18),transparent 38%,rgba(251,247,239,.22))}@keyframes bandLight{0%,70%{transform:translateX(-75%);opacity:0}82%{opacity:1}100%{transform:translateX(75%);opacity:0}}.section-transition-band + .torah-directory{margin-top:0!important;padding-top:94px!important}@media(max-width:860px){.section-transition-band{height:82px}}


/* Option 3: subtle darkening at bottom of books section */
.section-transition-band{display:none!important}.home-books-feature{position:relative;overflow:hidden}.home-books-feature::before{content:""!important;position:absolute!important;inset:auto 0 0 0!important;height:240px!important;z-index:0!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(22,53,43,0),rgba(22,53,43,.26) 58%,rgba(22,53,43,.38) 100%)!important;animation:none!important;transform:none!important}.home-books-feature > *{position:relative;z-index:1}.torah-directory{margin-top:0!important;padding-top:94px!important}


/* Option 4: soften the top of directory section */
.torah-directory{position:relative;overflow:hidden}.torah-directory::before{content:""!important;position:absolute!important;inset:0 0 auto 0!important;height:260px!important;z-index:0!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(251,247,239,.98),rgba(251,247,239,.9) 48%,rgba(251,247,239,0) 100%)!important;animation:none!important;transform:none!important}.torah-directory > *{position:relative;z-index:1}.torah-directory .portal-section-title{margin-top:24px}


/* Option 5 only: soft connector shape, overriding previous transition attempts */
.section-transition-band{display:none!important}.home-books-feature::before,.home-books-feature::after,.torah-directory::before{display:none!important;content:none!important}.home-books-feature{padding-bottom:92px!important;position:relative;overflow:hidden}.torah-directory{margin-top:0!important;padding-top:110px!important;position:relative;overflow:hidden}.torah-directory::after{content:""!important;position:absolute!important;inset:-70px auto auto 50%!important;width:min(980px,92vw)!important;height:160px!important;z-index:0!important;pointer-events:none!important;transform:translateX(-50%) rotate(-1.5deg)!important;background:linear-gradient(135deg,rgba(255,244,223,.88),rgba(239,244,238,.72))!important;border-radius:0 0 48% 48% / 0 0 100% 100%!important;box-shadow:0 24px 70px rgba(24,35,31,.08)!important;animation:none!important}.torah-directory > *{position:relative;z-index:1!important}


/* Daily spark spotlight design */
.daily-spark{position:relative;overflow:hidden;background:radial-gradient(circle at 68% 28%,rgba(255,244,223,.92) 0 7%,rgba(244,217,144,.34) 8% 18%,rgba(22,53,43,.18) 28%,rgba(22,53,43,.86) 72%),linear-gradient(135deg,rgba(22,53,43,.96),rgba(46,99,82,.82)),url("assets/library-light.svg") center/cover no-repeat!important}.daily-spark::before{content:"";position:absolute;inset:-20% auto auto 50%;width:52%;height:140%;transform:rotate(28deg);background:linear-gradient(90deg,transparent,rgba(255,244,223,.34),transparent);filter:blur(10px);opacity:.78}.daily-spark > *{position:relative;z-index:1}.daily-quote-mark{position:absolute;top:20px;left:24px;color:rgba(244,217,144,.32);font-size:8rem;font-weight:900;line-height:1}.daily-spark h2{max-width:11ch;font-size:clamp(2rem,4vw,3.6rem)}.daily-spark p{max-width:520px;font-size:1.2rem;color:rgba(255,255,255,.86)!important}.daily-spark .btn{width:max-content}@media(max-width:560px){.daily-quote-mark{font-size:5rem}.daily-spark .btn{width:100%}}


/* Centered donation impact redesign */
.torah-impact-cta .impact-cta-grid{display:grid!important;grid-template-columns:1fr!important;text-align:center!important;justify-items:center!important;gap:30px!important;min-height:520px;padding:56px 44px!important}.impact-copy{position:relative;display:grid;justify-items:center}.impact-bg-title{position:absolute!important;inset:-44px 0 auto!important;color:rgba(244,217,144,.13)!important;font-size:clamp(4rem,12vw,10rem)!important;font-weight:900!important;line-height:1!important;white-space:nowrap;z-index:0}.impact-copy h2{position:relative;z-index:1;max-width:none!important;font-size:clamp(2.8rem,6vw,5.3rem)!important;text-align:center}.impact-copy p{position:relative;z-index:1;margin-inline:auto;text-align:center}.torah-impact-cta .impact-steps{width:min(850px,100%);grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}.torah-impact-cta .impact-steps div{min-height:150px!important;place-items:center;text-align:center;background:rgba(255,255,255,.12)!important;border:1px solid rgba(244,217,144,.22)!important;box-shadow:0 18px 44px rgba(0,0,0,.12);backdrop-filter:blur(10px)}.torah-impact-cta .impact-steps strong{font-size:1.55rem!important}.impact-wide-btn{width:min(850px,100%)!important;justify-self:center!important;min-height:60px!important;font-size:1.12rem!important}.zoom-reveal{opacity:0;transform:scale(.72) translateY(34px);transition:opacity 700ms ease,transform 700ms cubic-bezier(.2,.9,.2,1)}.zoom-reveal:nth-child(2){transition-delay:120ms}.zoom-reveal:nth-child(3){transition-delay:240ms}.zoom-reveal.is-zoom-visible{opacity:1;transform:scale(1) translateY(0)}@media(max-width:860px){.torah-impact-cta .impact-steps{grid-template-columns:1fr!important}.impact-bg-title{font-size:clamp(3.2rem,16vw,6rem)!important;white-space:normal}.torah-impact-cta .impact-cta-grid{padding:38px 22px!important}}

/* Donation impact cleanup: open section, no framed box, no overlapping type */
.torah-impact-cta .impact-cta-grid{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border-radius:0!important;
  padding:64px 24px!important;
}
.impact-copy{
  gap:8px!important;
}
.impact-bg-title{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  color:rgba(244,217,144,.18)!important;
  font-size:clamp(4rem,11vw,9rem)!important;
  line-height:.9!important;
  transform:none!important;
  margin:0 auto -2px!important;
  z-index:0!important;
}
.impact-copy h2{
  margin:0!important;
}
@media(max-width:860px){
  .torah-impact-cta .impact-cta-grid{
    padding:46px 18px!important;
  }
  .impact-bg-title{
    font-size:clamp(3.2rem,18vw,5.2rem)!important;
    white-space:normal!important;
  }
}

/* Large embedded title in homepage books section */
.books-feature-copy{
  position:relative;
  display:grid;
  justify-items:center;
  text-align:center;
  isolation:isolate;
  gap:18px;
}
.books-bg-title{
  position:relative;
  display:block;
  margin:0 auto -2px;
  color:rgba(0,0,0,.16);
  font-size:clamp(4.6rem,10vw,9.5rem);
  font-weight:900;
  line-height:.82;
  white-space:nowrap;
  letter-spacing:0;
  z-index:0;
}
.books-feature-copy h2,
.books-feature-copy .btn{
  position:relative;
  z-index:1;
}
.books-feature-copy h2{
  margin:0;
  max-width:none;
}
.books-feature-copy .btn{
  margin-top:6px;
  min-width:min(280px,100%);
  justify-content:center;
}
@media(max-width:860px){
  .books-feature-copy{
    justify-items:center;
    text-align:center;
  }
  .books-bg-title{
    font-size:clamp(3.3rem,18vw,5.8rem);
    white-space:normal;
  }
}

/* Embedded title in directory section */
.directory-feature-title{
  position:relative;
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
  justify-content:center!important;
  width:100%;
  margin-inline:auto!important;
  gap:8px!important;
}
.directory-bg-title{
  display:block;
  color:rgba(0,0,0,.13);
  font-size:clamp(2.7rem,5.8vw,5.7rem);
  font-weight:900;
  line-height:.86;
  white-space:nowrap;
}
.directory-feature-title h2,
.directory-feature-title a{
  position:relative;
  z-index:1;
}
.directory-feature-title h2{
  margin:0;
}
.reveal-drop{
  opacity:0;
  transform:translateY(-42px);
  transition:opacity 2280ms ease,transform 2280ms cubic-bezier(.2,.9,.2,1);
}
.reveal-drop.is-visible{
  opacity:1;
  transform:translateY(0);
}
.directory-grid{
  align-items:stretch;
}
.puzzle-piece{
  --puzzle-shift-x:0;
  --puzzle-shift-y:0;
  opacity:0;
  transform:translate(var(--puzzle-shift-x),var(--puzzle-shift-y)) scale(.84);
  clip-path:polygon(0 10%,8% 10%,8% 0,28% 0,28% 10%,62% 10%,62% 0,82% 0,82% 10%,100% 10%,100% 42%,91% 42%,91% 58%,100% 58%,100% 90%,82% 90%,82% 100%,62% 100%,62% 90%,28% 90%,28% 100%,8% 100%,8% 90%,0 90%,0 58%,9% 58%,9% 42%,0 42%);
  border-radius:0!important;
  transition:opacity 1050ms ease,transform 1050ms cubic-bezier(.18,.9,.2,1),box-shadow 220ms ease,filter 220ms ease;
}
.puzzle-piece::before{
  content:"";
  position:absolute;
  inset:10px;
  z-index:0;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.24);
  clip-path:inherit;
  opacity:.75;
}
.puzzle-piece > *{
  position:relative;
  z-index:1;
}
.puzzle-from-right{--puzzle-shift-x:90px}
.puzzle-from-left{--puzzle-shift-x:-90px}
.puzzle-from-top{--puzzle-shift-y:-90px}
.puzzle-from-bottom{--puzzle-shift-y:90px}
.puzzle-piece.is-visible{
  opacity:1;
  transform:translate(0,0) scale(1);
}
.puzzle-piece:nth-child(2){transition-delay:120ms}
.puzzle-piece:nth-child(3){transition-delay:240ms}
.puzzle-piece:nth-child(4){transition-delay:360ms}
.puzzle-piece:nth-child(5){transition-delay:480ms}
.puzzle-piece:nth-child(6){transition-delay:600ms}
.puzzle-piece:hover{
  filter:saturate(1.08) contrast(1.04);
}

/* Connected puzzle-board look for directory cards */
.torah-directory .directory-grid{
  width:min(940px,100%);
  margin:30px auto 0;
  gap:0!important;
  filter:drop-shadow(0 28px 54px rgba(24,35,31,.16));
}
.torah-directory .puzzle-piece{
  min-height:235px;
  overflow:visible!important;
  clip-path:none!important;
  border-radius:0!important;
  border:2px solid rgba(13,28,24,.72)!important;
  box-shadow:none!important;
  transform:translate(var(--puzzle-shift-x),var(--puzzle-shift-y)) scale(.84);
}
.torah-directory .puzzle-piece.main{
  min-height:470px;
}
.torah-directory .puzzle-piece::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  border:0;
  clip-path:none;
  opacity:1;
  background:
    linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.84));
}
.torah-directory .puzzle-piece::after{
  content:"";
  position:absolute;
  z-index:4;
  width:62px;
  height:62px;
  border:2px solid rgba(13,28,24,.72);
  border-radius:50%;
  background:
    linear-gradient(180deg,rgba(22,53,43,.26),rgba(22,53,43,.88)),
    inherit;
  background-size:cover;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.torah-directory .puzzle-piece:nth-child(1)::after{
  left:-33px;
  top:50%;
  transform:translateY(-50%);
}
.torah-directory .puzzle-piece:nth-child(2)::after{
  right:50%;
  bottom:-33px;
  transform:translateX(50%);
}
.torah-directory .puzzle-piece:nth-child(3)::after{
  right:-33px;
  top:50%;
  transform:translateY(-50%);
}
.torah-directory .puzzle-piece:nth-child(4)::after{
  left:50%;
  top:-33px;
  transform:translateX(-50%);
}
.torah-directory .puzzle-piece:nth-child(5)::after{
  left:-33px;
  top:50%;
  transform:translateY(-50%);
}
.torah-directory .puzzle-piece:nth-child(6)::after{
  right:50%;
  top:-33px;
  transform:translateX(50%);
}
.torah-directory .puzzle-piece h3,
.torah-directory .puzzle-piece span,
.torah-directory .puzzle-piece p{
  z-index:5;
}
.torah-directory .puzzle-piece.is-visible{
  transform:translate(0,0) scale(1);
}
@media(max-width:860px){
  .directory-bg-title{
    font-size:clamp(2.25rem,12vw,3.9rem);
    white-space:normal;
  }
  .torah-directory .directory-grid{
    gap:12px!important;
    filter:none;
  }
  .torah-directory .puzzle-piece,
  .torah-directory .puzzle-piece.main{
    min-height:200px;
    border-radius:20px 8px 20px 8px!important;
  }
  .torah-directory .puzzle-piece::after{
    display:none;
  }
  .puzzle-piece{
    clip-path:polygon(0 0,100% 0,100% 100%,0 100%);
    border-radius:22px 8px 22px 8px!important;
  }
  .puzzle-piece::before{
    clip-path:inherit;
  }
}

/* True jigsaw silhouettes for directory cards */
.torah-directory .directory-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  width:min(980px,100%)!important;
}
.torah-directory .puzzle-piece,
.torah-directory .puzzle-piece.main{
  min-height:245px!important;
  grid-row:auto!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  padding:34px!important;
  filter:drop-shadow(0 18px 30px rgba(24,35,31,.16));
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
}
.torah-directory .puzzle-piece::before,
.torah-directory .puzzle-piece::after{
  display:none!important;
}
.torah-directory .puzzle-piece:nth-child(1){
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 0H100V36C86 32 78 40 78 50S86 68 100 64V100H0V64C14 68 22 60 22 50S14 32 0 36Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 0H100V36C86 32 78 40 78 50S86 68 100 64V100H0V64C14 68 22 60 22 50S14 32 0 36Z'/%3E%3C/svg%3E");
}
.torah-directory .puzzle-piece:nth-child(2){
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 0H36C32 14 40 22 50 22S68 14 64 0H100V100H64C68 86 60 78 50 78S32 86 36 100H0V64C14 68 22 60 22 50S14 32 0 36Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 0H36C32 14 40 22 50 22S68 14 64 0H100V100H64C68 86 60 78 50 78S32 86 36 100H0V64C14 68 22 60 22 50S14 32 0 36Z'/%3E%3C/svg%3E");
}
.torah-directory .puzzle-piece:nth-child(3){
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 36C14 32 22 40 22 50S14 68 0 64V0H100V36C86 32 78 40 78 50S86 68 100 64V100H0Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 36C14 32 22 40 22 50S14 68 0 64V0H100V36C86 32 78 40 78 50S86 68 100 64V100H0Z'/%3E%3C/svg%3E");
}
.torah-directory .puzzle-piece:nth-child(4){
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 0H36C32 14 40 22 50 22S68 14 64 0H100V36C86 32 78 40 78 50S86 68 100 64V100H0V64C14 68 22 60 22 50S14 32 0 36Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 0H36C32 14 40 22 50 22S68 14 64 0H100V36C86 32 78 40 78 50S86 68 100 64V100H0V64C14 68 22 60 22 50S14 32 0 36Z'/%3E%3C/svg%3E");
}
.torah-directory .puzzle-piece:nth-child(5){
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 36C14 32 22 40 22 50S14 68 0 64V0H36C32 14 40 22 50 22S68 14 64 0H100V100H64C68 86 60 78 50 78S32 86 36 100H0Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 36C14 32 22 40 22 50S14 68 0 64V0H36C32 14 40 22 50 22S68 14 64 0H100V100H64C68 86 60 78 50 78S32 86 36 100H0Z'/%3E%3C/svg%3E");
}
.torah-directory .puzzle-piece:nth-child(6){
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 0H36C32 14 40 22 50 22S68 14 64 0H100V100H0V64C14 68 22 60 22 50S14 32 0 36Z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' d='M0 0H36C32 14 40 22 50 22S68 14 64 0H100V100H0V64C14 68 22 60 22 50S14 32 0 36Z'/%3E%3C/svg%3E");
}
@media(max-width:860px){
  .torah-directory .directory-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  .torah-directory .puzzle-piece,
  .torah-directory .puzzle-piece.main{
    -webkit-mask-image:none!important;
    mask-image:none!important;
    border-radius:22px 8px 22px 8px!important;
  }
}

/* Connected jigsaw board: pieces touch, seams create the puzzle connection */
.torah-directory .directory-grid{
  position:relative;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  overflow:hidden;
  border-radius:28px 10px 28px 10px;
  border:3px solid rgba(13,28,24,.78);
  background:rgba(13,28,24,.78);
}
.torah-directory .directory-grid::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:10;
  pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%230d1c18' stroke-width='1.7' stroke-dasharray='7 6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 0 L100 66 C118 60 128 73 124 86 C121 98 110 104 100 99 L100 200'/%3E%3Cpath d='M200 0 L200 45 C184 41 174 53 177 66 C180 80 191 86 200 80 L200 200'/%3E%3Cpath d='M0 100 L73 100 C67 83 80 72 93 77 C105 81 111 92 106 100 L300 100'/%3E%3Crect x='1.5' y='1.5' width='297' height='197' rx='8'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.torah-directory .puzzle-piece,
.torah-directory .puzzle-piece.main{
  -webkit-mask-image:none!important;
  mask-image:none!important;
  min-height:245px!important;
  border:0!important;
  border-radius:0!important;
  filter:none!important;
  padding:34px!important;
  box-shadow:none!important;
}
.torah-directory .puzzle-piece::before,
.torah-directory .puzzle-piece::after{
  display:none!important;
}
.torah-directory .puzzle-piece:nth-child(1),
.torah-directory .puzzle-piece:nth-child(4){
  padding-left:54px!important;
}
.torah-directory .puzzle-piece:nth-child(3),
.torah-directory .puzzle-piece:nth-child(6){
  padding-right:54px!important;
}
@media(max-width:860px){
  .torah-directory .directory-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
    overflow:visible;
    border:0;
    background:transparent;
  }
  .torah-directory .directory-grid::before{
    display:none;
  }
  .torah-directory .puzzle-piece,
  .torah-directory .puzzle-piece.main{
    border-radius:22px 8px 22px 8px!important;
    min-height:200px!important;
  }
}

/* Final directory puzzle: each animated item is the puzzle piece itself */
.torah-directory .directory-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  width:min(980px,100%)!important;
  margin:30px auto 0!important;
  padding:22px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  filter:none!important;
}
.torah-directory .directory-grid::before{
  display:none!important;
}
.torah-directory .puzzle-piece,
.torah-directory .puzzle-piece.main{
  --puzzle-shift-x:0;
  --puzzle-shift-y:0;
  grid-row:auto!important;
  min-height:250px!important;
  margin:-10px!important;
  padding:42px 48px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  opacity:0;
  transform:translate(var(--puzzle-shift-x),var(--puzzle-shift-y)) scale(.74) rotate(var(--piece-rotate,0deg));
  transition:opacity 1150ms ease,transform 1150ms cubic-bezier(.18,.9,.2,1),filter 220ms ease;
  filter:drop-shadow(0 22px 34px rgba(24,35,31,.15));
  box-shadow:inset 0 0 0 2px rgba(13,28,24,.34)!important;
  -webkit-mask-size:100% 100%!important;
  mask-size:100% 100%!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-repeat:no-repeat!important;
  -webkit-mask-position:center!important;
  mask-position:center!important;
}
.torah-directory .puzzle-piece::before,
.torah-directory .puzzle-piece::after{
  display:none!important;
}
.torah-directory .puzzle-piece.is-visible{
  opacity:1;
  transform:translate(0,0) scale(1) rotate(0deg)!important;
}
.torah-directory .puzzle-from-right{--puzzle-shift-x:160px;--piece-rotate:4deg}
.torah-directory .puzzle-from-left{--puzzle-shift-x:-160px;--piece-rotate:-4deg}
.torah-directory .puzzle-from-top{--puzzle-shift-y:-150px;--piece-rotate:3deg}
.torah-directory .puzzle-from-bottom{--puzzle-shift-y:150px;--piece-rotate:-3deg}
.torah-directory .puzzle-piece:nth-child(1){
  z-index:3;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 0H74C69 16 78 27 91 27S115 16 110 0H120V38C101 33 91 42 91 51S101 70 120 64V100H0V64C18 69 29 60 29 51S18 33 0 38Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 0H74C69 16 78 27 91 27S115 16 110 0H120V38C101 33 91 42 91 51S101 70 120 64V100H0V64C18 69 29 60 29 51S18 33 0 38Z'/%3E%3C/svg%3E")!important;
}
.torah-directory .puzzle-piece:nth-child(2){
  z-index:2;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 0H38C33 17 43 28 55 28S77 17 72 0H120V38C101 33 91 42 91 51S101 70 120 64V100H72C77 83 67 73 55 73S33 83 38 100H0V64C18 69 29 60 29 51S18 33 0 38Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 0H38C33 17 43 28 55 28S77 17 72 0H120V38C101 33 91 42 91 51S101 70 120 64V100H72C77 83 67 73 55 73S33 83 38 100H0V64C18 69 29 60 29 51S18 33 0 38Z'/%3E%3C/svg%3E")!important;
}
.torah-directory .puzzle-piece:nth-child(3){
  z-index:1;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 38C18 33 29 42 29 51S18 69 0 64V0H120V38C101 33 91 42 91 51S101 70 120 64V100H0Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 38C18 33 29 42 29 51S18 69 0 64V0H120V38C101 33 91 42 91 51S101 70 120 64V100H0Z'/%3E%3C/svg%3E")!important;
}
.torah-directory .puzzle-piece:nth-child(4){
  z-index:6;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 0H38C33 17 43 28 55 28S77 17 72 0H120V64C101 59 91 68 91 77S101 96 120 90V100H0V64C18 69 29 60 29 51S18 33 0 38Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 0H38C33 17 43 28 55 28S77 17 72 0H120V64C101 59 91 68 91 77S101 96 120 90V100H0V64C18 69 29 60 29 51S18 33 0 38Z'/%3E%3C/svg%3E")!important;
}
.torah-directory .puzzle-piece:nth-child(5){
  z-index:5;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 38C18 33 29 42 29 51S18 69 0 64V0H74C69 16 78 27 91 27S115 16 110 0H120V100H72C77 83 67 73 55 73S33 83 38 100H0Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 38C18 33 29 42 29 51S18 69 0 64V0H74C69 16 78 27 91 27S115 16 110 0H120V100H72C77 83 67 73 55 73S33 83 38 100H0Z'/%3E%3C/svg%3E")!important;
}
.torah-directory .puzzle-piece:nth-child(6){
  z-index:4;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 0H38C33 17 43 28 55 28S77 17 72 0H120V100H0V64C18 69 29 60 29 51S18 33 0 38Z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath fill='black' d='M0 0H38C33 17 43 28 55 28S77 17 72 0H120V100H0V64C18 69 29 60 29 51S18 33 0 38Z'/%3E%3C/svg%3E")!important;
}
@media(max-width:860px){
  .torah-directory .directory-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:0!important;
  }
  .torah-directory .puzzle-piece,
  .torah-directory .puzzle-piece.main{
    margin:0!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
    border-radius:22px 8px 22px 8px!important;
    min-height:200px!important;
  }
}

/* Image-template puzzle for directory section */
.torah-directory .directory-grid{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(230px,1fr))!important;
  gap:0!important;
  width:min(980px,100%)!important;
  margin:30px auto 0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:8px!important;
  border:1px solid rgba(13,28,24,.58)!important;
  background:#fffdf8!important;
  filter:drop-shadow(0 26px 48px rgba(24,35,31,.16))!important;
}
.torah-directory .directory-grid::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:20!important;
  pointer-events:none!important;
  background:url("assets/directory-puzzle-template.png") center/100% 100% no-repeat!important;
  opacity:.88!important;
}
.torah-directory .directory-grid::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:19!important;
  pointer-events:none!important;
  box-shadow:inset 0 0 0 1px rgba(13,28,24,.2)!important;
}
.torah-directory .puzzle-piece,
.torah-directory .puzzle-piece.main{
  grid-row:auto!important;
  min-height:auto!important;
  margin:0!important;
  padding:34px!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  opacity:0;
  transform:translate(var(--puzzle-shift-x),var(--puzzle-shift-y)) scale(.82) rotate(var(--piece-rotate,0deg));
  transition:opacity 1150ms ease,transform 1150ms cubic-bezier(.18,.9,.2,1),filter 220ms ease!important;
  filter:none!important;
  box-shadow:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
.torah-directory .puzzle-piece::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.84))!important;
}
.torah-directory .puzzle-piece::after{
  display:none!important;
}
.torah-directory .puzzle-piece > *{
  position:relative!important;
  z-index:3!important;
  text-shadow:0 2px 12px rgba(0,0,0,.28);
}
.torah-directory .puzzle-piece.is-visible{
  opacity:1!important;
  transform:translate(0,0) scale(1) rotate(0deg)!important;
}
.torah-directory .puzzle-piece:nth-child(1){background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.84)),url("assets/chesed-nefesh-bg.webp") center/cover no-repeat!important}
.torah-directory .puzzle-piece:nth-child(2){background:linear-gradient(180deg,rgba(22,53,43,.04),rgba(22,53,43,.78)),url("assets/bat-melech.jpg") center/cover no-repeat!important}
.torah-directory .puzzle-piece:nth-child(3){background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.84)),url("assets/library-light.svg") center/cover no-repeat!important}
.torah-directory .puzzle-piece:nth-child(4){background:linear-gradient(180deg,rgba(22,53,43,.06),rgba(22,53,43,.8)),url("assets/rabbis-book-hazon-ovadya.png") center/contain no-repeat,radial-gradient(circle,rgba(255,244,223,.72),rgba(49,88,73,.82))!important}
.torah-directory .puzzle-piece:nth-child(5){background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.84)),url("assets/beit-midrash-hero.webp") center/cover no-repeat!important}
.torah-directory .puzzle-piece:nth-child(6){background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.84)),url("assets/media-horaa.svg") center/cover no-repeat!important}
.torah-directory .puzzle-from-right{--puzzle-shift-x:150px;--piece-rotate:3deg}
.torah-directory .puzzle-from-left{--puzzle-shift-x:-150px;--piece-rotate:-3deg}
.torah-directory .puzzle-from-top{--puzzle-shift-y:-130px;--piece-rotate:2deg}
.torah-directory .puzzle-from-bottom{--puzzle-shift-y:130px;--piece-rotate:-2deg}
@media(max-width:860px){
  .torah-directory .directory-grid{
    grid-template-columns:1fr!important;
    grid-template-rows:none!important;
    gap:14px!important;
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
    filter:none!important;
  }
  .torah-directory .directory-grid::before,
  .torah-directory .directory-grid::after{
    display:none!important;
  }
  .torah-directory .puzzle-piece,
  .torah-directory .puzzle-piece.main{
    min-height:200px!important;
    border-radius:22px 8px 22px 8px!important;
  }
}

/* Final directory layout: clean animated blocks, no puzzle treatment */
.torah-directory .directory-grid{
  display:grid!important;
  grid-template-columns:1.15fr 1fr 1fr!important;
  grid-template-rows:auto!important;
  gap:18px!important;
  width:100%!important;
  max-width:1180px!important;
  margin:30px auto 0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  filter:none!important;
}
.torah-directory .directory-grid::before,
.torah-directory .directory-grid::after{
  display:none!important;
  content:none!important;
}
.torah-directory .directory-card,
.torah-directory .puzzle-piece,
.torah-directory .puzzle-piece.main{
  -webkit-mask-image:none!important;
  mask-image:none!important;
  clip-path:none!important;
  grid-row:auto!important;
  min-height:245px!important;
  margin:0!important;
  padding:28px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:28px 8px 28px 8px!important;
  overflow:hidden!important;
  box-shadow:0 22px 48px rgba(24,35,31,.13)!important;
  filter:none!important;
  opacity:0;
  transform:translate(var(--puzzle-shift-x),var(--puzzle-shift-y)) scale(.86);
  transition:opacity 900ms ease,transform 900ms cubic-bezier(.18,.9,.2,1),box-shadow 220ms ease,filter 220ms ease!important;
}
.torah-directory .directory-card.main,
.torah-directory .puzzle-piece.main{
  grid-row:span 2!important;
  min-height:508px!important;
}
.torah-directory .directory-card::before,
.torah-directory .puzzle-piece::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.86))!important;
  pointer-events:none!important;
  border:0!important;
}
.torah-directory .directory-card::after,
.torah-directory .puzzle-piece::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:auto 22px 22px auto!important;
  width:72px!important;
  height:2px!important;
  z-index:2!important;
  background:linear-gradient(90deg,transparent,rgba(244,217,144,.82))!important;
  opacity:.9!important;
  border:0!important;
  border-radius:0!important;
}
.torah-directory .directory-card > *,
.torah-directory .puzzle-piece > *{
  position:relative!important;
  z-index:3!important;
  text-shadow:0 2px 12px rgba(0,0,0,.25);
}
.torah-directory .directory-card.is-visible,
.torah-directory .puzzle-piece.is-visible{
  opacity:1!important;
  transform:translate(0,0) scale(1)!important;
}
.torah-directory .directory-card:hover,
.torah-directory .puzzle-piece:hover{
  transform:translateY(-6px) scale(1.01)!important;
  box-shadow:0 30px 66px rgba(24,35,31,.2)!important;
  filter:saturate(1.08) contrast(1.04)!important;
}
.torah-directory .puzzle-from-right{--puzzle-shift-x:90px;--puzzle-shift-y:0}
.torah-directory .puzzle-from-left{--puzzle-shift-x:-90px;--puzzle-shift-y:0}
.torah-directory .puzzle-from-top{--puzzle-shift-x:0;--puzzle-shift-y:-80px}
.torah-directory .puzzle-from-bottom{--puzzle-shift-x:0;--puzzle-shift-y:80px}
@media(max-width:980px){
  .torah-directory .directory-grid{
    grid-template-columns:1fr 1fr!important;
  }
  .torah-directory .directory-card.main,
  .torah-directory .puzzle-piece.main{
    grid-row:auto!important;
    min-height:245px!important;
  }
}
@media(max-width:640px){
  .torah-directory .directory-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  .torah-directory .directory-card,
  .torah-directory .puzzle-piece,
  .torah-directory .puzzle-piece.main{
    min-height:210px!important;
  }
}

/* Absolute final reset: directory is clean cards only */
.torah-directory .directory-grid{
  display:grid!important;
  grid-template-columns:1.15fr 1fr 1fr!important;
  gap:18px!important;
  width:100%!important;
  max-width:1180px!important;
  margin:30px auto 0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  filter:none!important;
}
.torah-directory .directory-grid::before,
.torah-directory .directory-grid::after{
  display:none!important;
  content:none!important;
  background:none!important;
}
.torah-directory .directory-card{
  clip-path:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  margin:0!important;
  min-height:245px!important;
  padding:28px!important;
  border-radius:28px 8px 28px 8px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 22px 48px rgba(24,35,31,.13)!important;
  opacity:0;
  transform:translate(var(--block-x,0),var(--block-y,0)) scale(.88);
  transition:opacity 850ms ease,transform 850ms cubic-bezier(.18,.9,.2,1),box-shadow 220ms ease!important;
}
.torah-directory .directory-card.main{
  grid-row:span 2!important;
  min-height:508px!important;
}
.torah-directory .directory-card::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(22,53,43,.86))!important;
  border:0!important;
}
.torah-directory .directory-card::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:auto 24px 24px auto!important;
  width:72px!important;
  height:2px!important;
  z-index:2!important;
  background:linear-gradient(90deg,transparent,rgba(244,217,144,.82))!important;
  border:0!important;
  border-radius:0!important;
}
.torah-directory .directory-card > *{
  position:relative!important;
  z-index:3!important;
}
.torah-directory .directory-card.is-visible{
  opacity:1!important;
  transform:translate(0,0) scale(1)!important;
}
.torah-directory .directory-card:hover{
  transform:translateY(-6px) scale(1.01)!important;
  box-shadow:0 30px 66px rgba(24,35,31,.2)!important;
}
.torah-directory .block-from-right{--block-x:90px;--block-y:0}
.torah-directory .block-from-left{--block-x:-90px;--block-y:0}
.torah-directory .block-from-top{--block-x:0;--block-y:-80px}
.torah-directory .block-from-bottom{--block-x:0;--block-y:80px}
@media(max-width:980px){
  .torah-directory .directory-grid{
    grid-template-columns:1fr 1fr!important;
  }
  .torah-directory .directory-card.main{
    grid-row:auto!important;
    min-height:245px!important;
  }
}

/* Main hero deep embedded typography */
.home-hero-panel{
  position:relative;
  display:grid;
  justify-items:center;
  text-align:center;
}
.hero-depth-brand{
  display:block;
  color:#f8e7a6;
  font-size:clamp(2.7rem,7.1vw,7.1rem);
  font-weight:900;
  line-height:.9;
  margin:0 auto 18px;
  white-space:nowrap;
  background:linear-gradient(180deg,#fff8d8 0%,#f4d990 34%,#b8842e 68%,#fff0b8 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:
    0 1px 0 rgba(255,255,255,.42),
    0 3px 0 rgba(97,63,18,.72),
    0 7px 0 rgba(22,53,43,.56),
    0 22px 46px rgba(0,0,0,.42);
  -webkit-text-stroke:1.4px rgba(86,55,16,.62);
  filter:drop-shadow(0 0 16px rgba(244,217,144,.22));
}
.hero-depth-brand::before,
.hero-depth-brand::after{
  content:"";
  display:inline-block;
  width:clamp(24px,4.2vw,64px);
  height:2px;
  margin:0 12px .2em;
  vertical-align:middle;
  background:linear-gradient(90deg,transparent,#f4d990,#8a5c1d,transparent);
  box-shadow:0 0 18px rgba(244,217,144,.34);
}
.home-hero-panel h1{
  display:grid;
  justify-items:center;
  gap:2px;
  margin:0 auto;
}
.home-hero-panel h1 span{
  display:block;
  font-size:clamp(2.1rem,4.8vw,4.7rem);
  line-height:1.02;
  white-space:nowrap;
  color:#fff;
  background:none;
  -webkit-text-fill-color:#fff;
  text-shadow:
    0 2px 0 rgba(13,28,24,.22),
    0 14px 34px rgba(0,0,0,.32);
  -webkit-text-stroke:0;
  filter:none;
}
@media(max-width:520px){
  .home-hero-panel h1 span{
    font-size:clamp(1.65rem,8vw,2.35rem);
  }
}
.home-hero-panel h1 strong{
  display:block;
  color:rgba(255,255,255,.18);
  font-size:clamp(5rem,15vw,13rem);
  font-weight:900;
  line-height:.78;
  letter-spacing:0;
  text-shadow:
    0 1px 0 rgba(255,255,255,.18),
    0 24px 58px rgba(0,0,0,.26);
}
.home-hero-panel p{
  max-width:720px;
  margin-top:18px;
  font-size:clamp(1.08rem,2vw,1.45rem);
  color:rgba(255,255,255,.9)!important;
}
@media(max-width:640px){
  .hero-depth-brand{
    font-size:clamp(2.05rem,11vw,3.4rem);
  }
  .hero-depth-brand::before,
  .hero-depth-brand::after{
    width:18px;
    margin-inline:7px;
  }
  .home-hero-panel h1 strong{
    font-size:clamp(4.2rem,24vw,7rem);
  }
}
@media(max-width:640px){
  .torah-directory .directory-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  .torah-directory .directory-card{
    min-height:210px!important;
  }
}

/* Refined homepage quick navigation: elegant living strip */
.refined-pulse{
  margin-top:-34px!important;
  padding:0 0 18px!important;
  background:linear-gradient(180deg,rgba(255,253,248,0),rgba(255,253,248,.96))!important;
}
.refined-pulse .pulse-orbit{
  position:relative;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  padding:14px!important;
  border-radius:999px!important;
  background:rgba(255,253,248,.9)!important;
  border:1px solid rgba(199,155,69,.22)!important;
  box-shadow:0 24px 70px rgba(24,35,31,.14)!important;
  backdrop-filter:blur(14px)!important;
}
.refined-pulse .pulse-orbit::before{
  content:""!important;
  position:absolute!important;
  inset:50% 34px auto!important;
  height:1px!important;
  z-index:0!important;
  background:linear-gradient(90deg,transparent,rgba(199,155,69,.45),rgba(49,88,73,.28),transparent)!important;
}
.refined-pulse .pulse-orbit a{
  position:relative!important;
  z-index:1!important;
  min-height:92px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  grid-template-areas:
    "icon label"
    "icon title"
    "icon small"!important;
  align-content:center!important;
  align-items:center!important;
  gap:2px 12px!important;
  padding:18px 18px!important;
  overflow:hidden!important;
  border-radius:34px 8px 34px 8px!important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,244,223,.86))!important;
  border:1px solid rgba(49,88,73,.12)!important;
  box-shadow:none!important;
  text-align:right!important;
  transform:none!important;
}
.refined-pulse .pulse-orbit a:nth-child(even){
  border-radius:8px 34px 8px 34px!important;
  background:linear-gradient(135deg,rgba(255,253,248,.96),rgba(232,241,234,.86))!important;
}
.refined-pulse .pulse-orbit a::before{
  content:""!important;
  position:absolute!important;
  inset:auto -18px -28px auto!important;
  width:120px!important;
  height:120px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(199,155,69,.18),transparent 68%)!important;
  z-index:-1!important;
}
.refined-pulse .pulse-orbit a::after{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:4px!important;
  background:linear-gradient(180deg,var(--gold),var(--rose))!important;
  opacity:.75!important;
}
.refined-pulse .pulse-orbit i{
  grid-area:icon!important;
  width:46px!important;
  height:46px!important;
  margin:0!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,var(--forest),var(--blue))!important;
  box-shadow:0 12px 24px rgba(24,35,31,.16)!important;
}
.refined-pulse .pulse-orbit span{
  grid-area:label!important;
  color:var(--gold)!important;
  font-size:.8rem!important;
  font-weight:900!important;
}
.refined-pulse .pulse-orbit strong{
  grid-area:title!important;
  color:var(--forest)!important;
  font-size:1.06rem!important;
  line-height:1.15!important;
}
.refined-pulse .pulse-orbit small{
  grid-area:small!important;
  color:var(--muted)!important;
  font-size:.86rem!important;
}
.refined-pulse .pulse-orbit a:hover{
  transform:translateY(-6px)!important;
  box-shadow:0 24px 44px rgba(24,35,31,.13)!important;
  border-color:rgba(199,155,69,.38)!important;
}
@media(max-width:980px){
  .refined-pulse{
    margin-top:0!important;
  }
  .refined-pulse .pulse-orbit{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    border-radius:26px!important;
  }
}
@media(max-width:560px){
  .refined-pulse .pulse-orbit{
    grid-template-columns:1fr!important;
    padding:10px!important;
  }
  .refined-pulse .pulse-orbit a{
    min-height:86px!important;
  }
}

/* Elliptic full-width quick navigation */
.refined-pulse{
  margin-top:-28px!important;
  padding:0 0 26px!important;
  background:linear-gradient(180deg,rgba(255,253,248,0),rgba(255,253,248,.96))!important;
}
.refined-pulse .section-inner{
  width:min(100% - 34px,1500px)!important;
}
.refined-pulse .pulse-orbit{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.refined-pulse .pulse-orbit::before{
  display:none!important;
}
.refined-pulse .pulse-orbit a{
  min-height:112px!important;
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  grid-template-areas:
    "icon label"
    "icon title"
    "icon small"!important;
  align-content:center!important;
  gap:2px 14px!important;
  padding:22px 28px!important;
  border-radius:999px!important;
  text-align:right!important;
  background:
    radial-gradient(circle at 12% 50%,rgba(244,217,144,.26),transparent 24%),
    linear-gradient(135deg,rgba(255,253,248,.96),rgba(239,244,238,.9))!important;
  border:1px solid rgba(199,155,69,.2)!important;
  box-shadow:0 18px 46px rgba(24,35,31,.08)!important;
}
.refined-pulse .pulse-orbit a:nth-child(even){
  border-radius:999px!important;
  background:
    radial-gradient(circle at 12% 50%,rgba(134,165,143,.25),transparent 24%),
    linear-gradient(135deg,rgba(255,253,248,.96),rgba(255,244,223,.9))!important;
}
.refined-pulse .pulse-orbit a::before,
.refined-pulse .pulse-orbit a::after{
  display:none!important;
}
.refined-pulse .pulse-orbit i{
  width:54px!important;
  height:54px!important;
  background:linear-gradient(135deg,var(--forest),var(--sage))!important;
}
.refined-pulse .pulse-orbit a:hover{
  transform:translateY(-5px) scale(1.015)!important;
  box-shadow:0 28px 62px rgba(24,35,31,.13)!important;
}
@media(max-width:1100px){
  .refined-pulse .pulse-orbit{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  .refined-pulse{
    margin-top:0!important;
  }
  .refined-pulse .pulse-orbit{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .refined-pulse .pulse-orbit a{
    min-height:96px!important;
    padding:18px 20px!important;
  }
}

/* Subtle quick navigation embedded into the main hero */
.home-live-hero{
  padding-bottom:118px!important;
}
.refined-pulse{
  position:relative!important;
  z-index:8!important;
  margin-top:-96px!important;
  padding:0 0 18px!important;
  background:transparent!important;
}
.refined-pulse .section-inner{
  width:min(100% - 44px,1180px)!important;
}
.refined-pulse .pulse-orbit{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  padding:10px!important;
  border-radius:999px!important;
  background:rgba(255,253,248,.18)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  box-shadow:0 20px 56px rgba(0,0,0,.16)!important;
  backdrop-filter:blur(16px)!important;
}
.refined-pulse .pulse-orbit a{
  min-height:70px!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  gap:1px 10px!important;
  padding:12px 16px!important;
  border-radius:999px!important;
  background:rgba(255,253,248,.72)!important;
  border:1px solid rgba(255,255,255,.42)!important;
  box-shadow:none!important;
}
.refined-pulse .pulse-orbit i{
  width:38px!important;
  height:38px!important;
  opacity:.9!important;
}
.refined-pulse .pulse-orbit span{
  font-size:.72rem!important;
}
.refined-pulse .pulse-orbit strong{
  font-size:.95rem!important;
}
.refined-pulse .pulse-orbit small{
  font-size:.76rem!important;
}
.refined-pulse .pulse-orbit a:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 16px 34px rgba(24,35,31,.1)!important;
}
@media(max-width:980px){
  .home-live-hero{
    padding-bottom:70px!important;
  }
  .refined-pulse{
    margin-top:-34px!important;
  }
  .refined-pulse .pulse-orbit{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    border-radius:28px!important;
  }
}
@media(max-width:620px){
  .home-live-hero{
    padding-bottom:44px!important;
  }
  .refined-pulse{
    margin-top:0!important;
    padding-top:12px!important;
    background:linear-gradient(180deg,rgba(22,53,43,.08),rgba(255,253,248,.9))!important;
  }
  .refined-pulse .pulse-orbit{
    grid-template-columns:1fr!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }
}

/* Smoother hero-to-content connection and quieter embedded navigation */
.home-live-hero{
  position:relative!important;
  overflow:hidden!important;
  padding-bottom:138px!important;
}
.home-live-hero::after{
  content:""!important;
  position:absolute!important;
  inset:auto 0 0 0!important;
  height:210px!important;
  z-index:2!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(22,53,43,0) 0%,rgba(22,53,43,.22) 34%,rgba(255,253,248,.76) 78%,rgba(255,253,248,.98) 100%)!important;
}
.home-live-hero .section-inner{
  position:relative!important;
  z-index:3!important;
}
.refined-pulse{
  margin-top:-112px!important;
  padding-bottom:10px!important;
}
.refined-pulse .section-inner{
  width:min(100% - 72px,1040px)!important;
}
.refined-pulse .pulse-orbit{
  padding:8px!important;
  gap:8px!important;
  background:rgba(255,253,248,.12)!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.11)!important;
  backdrop-filter:blur(18px) saturate(1.05)!important;
}
.refined-pulse .pulse-orbit a{
  min-height:62px!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  padding:10px 14px!important;
  gap:1px 9px!important;
  background:rgba(255,253,248,.58)!important;
  border-color:rgba(255,255,255,.34)!important;
}
.refined-pulse .pulse-orbit i{
  width:32px!important;
  height:32px!important;
  box-shadow:0 8px 18px rgba(24,35,31,.12)!important;
}
.refined-pulse .pulse-orbit span{
  font-size:.68rem!important;
}
.refined-pulse .pulse-orbit strong{
  font-size:.88rem!important;
}
.refined-pulse .pulse-orbit small{
  display:none!important;
}
.refined-pulse .pulse-orbit a:hover{
  background:rgba(255,253,248,.76)!important;
}
.refined-pulse + .home-daily-grid,
.refined-pulse + .section{
  margin-top:-1px!important;
}
@media(max-width:980px){
  .home-live-hero{
    padding-bottom:96px!important;
  }
  .home-live-hero::after{
    height:170px!important;
  }
  .refined-pulse{
    margin-top:-62px!important;
  }
  .refined-pulse .section-inner{
    width:min(100% - 34px,820px)!important;
  }
}
@media(max-width:620px){
  .home-live-hero{
    padding-bottom:48px!important;
  }
  .home-live-hero::after{
    height:120px!important;
  }
  .refined-pulse{
    margin-top:0!important;
    padding:12px 0 18px!important;
  }
  .refined-pulse .section-inner{
    width:min(100% - 24px,480px)!important;
  }
  .refined-pulse .pulse-orbit a{
    min-height:64px!important;
  }
}

/* Homepage books banner: old manuscript style */
.home-books-feature{
  padding:96px 0!important;
  background:
    linear-gradient(180deg,rgba(255,253,248,.94),rgba(246,239,222,.96))!important;
  overflow:hidden!important;
}
.home-books-feature::before,
.home-books-feature::after{
  display:none!important;
  content:none!important;
}
.home-books-feature .books-home{
  min-height:360px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  position:relative!important;
  overflow:hidden!important;
  border-radius:34px 8px 34px 8px!important;
  border:1px solid rgba(116,83,38,.22)!important;
  background:
    linear-gradient(90deg,rgba(80,54,28,.12) 1px,transparent 1px) 0 0/92px 100%,
    repeating-linear-gradient(180deg,transparent 0 38px,rgba(92,63,31,.15) 39px,transparent 41px),
    radial-gradient(circle at 16% 18%,rgba(116,83,38,.18),transparent 30%),
    radial-gradient(circle at 84% 72%,rgba(199,155,69,.2),transparent 34%),
    linear-gradient(135deg,#f3e4bf,#fff9e8 44%,#dcc08b)!important;
  box-shadow:0 28px 70px rgba(92,63,31,.14)!important;
}
.home-books-feature .books-home::before{
  content:"בס״ד     כתב יד ישן     עיון ולימוד     מסורת התורה     ספרי קודש     חכמה ודעת     דברי תורה     אור הלימוד";
  position:absolute;
  inset:26px 36px;
  color:rgba(77,48,22,.14);
  font-family:"Times New Roman",serif;
  font-size:clamp(1.7rem,3vw,3rem);
  font-style:italic;
  line-height:1.9;
  word-spacing:18px;
  transform:rotate(-2deg);
  pointer-events:none;
}
.home-books-feature .books-home::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(255,253,248,.72),rgba(255,253,248,.34),rgba(255,253,248,.72)),
    radial-gradient(circle at 50% 50%,transparent 0 46%,rgba(75,49,24,.12) 100%);
}
.home-books-feature .books-feature-copy{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
  gap:12px!important;
  padding:34px 28px!important;
}
.home-books-feature .books-bg-title{
  color:rgba(67,42,20,.34)!important;
  font-size:clamp(3.2rem,7.4vw,7rem)!important;
  line-height:.92!important;
  margin:0!important;
  text-shadow:0 2px 0 rgba(255,255,255,.22)!important;
}
.home-books-feature .books-feature-copy h2{
  color:#20302d!important;
  font-size:clamp(1.25rem,2.2vw,2rem)!important;
  font-weight:800!important;
  margin:0!important;
}
@media(max-width:640px){
  .home-books-feature{
    padding:62px 0!important;
  }
  .home-books-feature .books-home{
    min-height:280px!important;
    border-radius:24px 8px 24px 8px!important;
  }
  .home-books-feature .books-home::before{
    inset:20px;
    font-size:1.25rem;
    word-spacing:10px;
  }
}

/* Restore previous homepage books section */
.home-books-feature{
  padding:92px 0!important;
  background:linear-gradient(90deg,rgba(255,253,248,.94),rgba(255,253,248,.78),rgba(255,253,248,.42)),url("assets/torah-study-shtender-no-peyos.webp") center/cover no-repeat!important;
  overflow:hidden!important;
}
.home-books-feature .books-home{
  min-height:520px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 420px!important;
  gap:60px!important;
  align-items:center!important;
  place-items:initial!important;
  overflow:visible!important;
  border-radius:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}
.home-books-feature .books-home::before,
.home-books-feature .books-home::after{
  display:none!important;
  content:none!important;
}
.home-books-feature .books-feature-copy{
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
  gap:18px!important;
  padding:0!important;
}
.home-books-feature .books-bg-title{
  color:rgba(0,0,0,.16)!important;
  font-size:clamp(4.6rem,10vw,9.5rem)!important;
  line-height:.82!important;
  margin:0 auto -2px!important;
  text-shadow:none!important;
}
.home-books-feature .books-feature-copy h2{
  color:var(--forest)!important;
  font-size:clamp(2rem,4vw,3.5rem)!important;
  margin:0!important;
}
.home-books-feature .books-feature-copy .btn{
  margin-top:6px!important;
  min-width:min(280px,100%)!important;
}
.home-books-feature .real-book-showcase{
  display:grid!important;
  background:transparent!important;
}
@media(max-width:860px){
  .home-books-feature .books-home{
    grid-template-columns:1fr!important;
    gap:26px!important;
    min-height:620px!important;
  }
}

/* Definitive restore: books section before manuscript experiment */
.home-books-feature{
  padding:92px 0!important;
  background:
    linear-gradient(90deg,rgba(255,253,248,.94),rgba(255,253,248,.78),rgba(255,253,248,.42)),
    url("assets/torah-study-shtender-no-peyos.webp") center/cover no-repeat!important;
  border:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.home-books-feature::before,
.home-books-feature::after{
  display:none!important;
  content:none!important;
  background:none!important;
}
.home-books-feature .books-home{
  width:min(100% - 44px,1180px)!important;
  min-height:520px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 420px!important;
  gap:60px!important;
  align-items:center!important;
  justify-items:stretch!important;
  place-items:unset!important;
  padding:0!important;
  margin-inline:auto!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.home-books-feature .books-home::before,
.home-books-feature .books-home::after{
  display:none!important;
  content:none!important;
  background:none!important;
}
.home-books-feature .books-feature-copy{
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
  align-content:center!important;
  gap:18px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.home-books-feature .books-bg-title{
  display:block!important;
  position:relative!important;
  inset:auto!important;
  margin:0 auto -2px!important;
  color:rgba(0,0,0,.16)!important;
  font-size:clamp(4.6rem,10vw,9.5rem)!important;
  font-weight:900!important;
  line-height:.82!important;
  white-space:nowrap!important;
  text-shadow:none!important;
  transform:none!important;
  z-index:0!important;
}
.home-books-feature .books-feature-copy h2{
  position:relative!important;
  z-index:1!important;
  margin:0!important;
  color:var(--forest)!important;
  font-size:clamp(2rem,4vw,3.5rem)!important;
  line-height:1.04!important;
  max-width:none!important;
}
.home-books-feature .books-feature-copy .btn{
  position:relative!important;
  z-index:1!important;
  display:inline-flex!important;
  width:auto!important;
  min-width:min(280px,100%)!important;
  margin:6px auto 0!important;
  justify-content:center!important;
}
.home-books-feature .real-book-showcase{
  display:grid!important;
  min-height:390px!important;
  place-items:center!important;
  perspective:1200px!important;
  background:transparent!important;
}
.home-books-feature .book-photo{
  position:absolute!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.home-books-feature .main-book{
  width:min(420px,88%)!important;
  aspect-ratio:1.16 / 1!important;
  transform:rotate(-3deg) rotateX(7deg)!important;
  animation:bookFloat 5.8s ease-in-out infinite!important;
}
.home-books-feature .book-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  filter:drop-shadow(0 26px 34px rgba(24,35,31,.24))!important;
}
@media(max-width:860px){
  .home-books-feature .books-home{
    grid-template-columns:1fr!important;
    gap:26px!important;
    min-height:620px!important;
    width:min(100% - 24px,1180px)!important;
  }
  .home-books-feature .books-bg-title{
    font-size:clamp(3.3rem,18vw,5.8rem)!important;
    white-space:normal!important;
  }
  .home-books-feature .real-book-showcase{
    min-height:310px!important;
  }
}

/* Compact books section and restore visible book float */
.home-books-feature{
  padding:58px 0!important;
}
.home-books-feature .books-home{
  min-height:390px!important;
}
.home-books-feature .real-book-showcase{
  min-height:320px!important;
}
.home-books-feature .main-book{
  width:min(350px,82%)!important;
  transform:rotate(-3deg) rotateX(7deg) translateY(0)!important;
  animation:bookFloatHome 5.8s ease-in-out infinite!important;
  will-change:transform!important;
}
@keyframes bookFloatHome{
  0%,100%{
    transform:rotate(-3deg) rotateX(7deg) translateY(0);
  }
  50%{
    transform:rotate(-1deg) rotateX(5deg) translateY(-18px);
  }
}
@media(max-width:860px){
  .home-books-feature{
    padding:48px 0!important;
  }
  .home-books-feature .books-home{
    min-height:520px!important;
  }
}

/* Force the homepage book to keep floating continuously */
.home-books-feature .book-photo.main-book,
.home-books-feature .main-book{
  animation:homeBookAlwaysFloat 4.8s ease-in-out infinite!important;
  transform-origin:center center!important;
  will-change:transform!important;
}
body.reduce-motion .home-books-feature .book-photo.main-book,
body.reduce-motion .home-books-feature .main-book{
  animation:homeBookAlwaysFloat 4.8s ease-in-out infinite!important;
  transition:transform 300ms ease!important;
}
@keyframes homeBookAlwaysFloat{
  0%,100%{
    transform:rotate(-3deg) rotateX(7deg) translate3d(0,0,0);
  }
  50%{
    transform:rotate(-1deg) rotateX(5deg) translate3d(0,-22px,0);
  }
}

/* Animate a dedicated wrapper so the book image transforms cannot cancel the float */
.home-books-feature .book-float-wrap{
  width:min(350px,82%)!important;
  aspect-ratio:1.16 / 1!important;
  display:grid!important;
  place-items:center!important;
  position:relative!important;
  animation:homeBookWrapperFloat 3.8s ease-in-out infinite!important;
  will-change:transform!important;
  transform:translate3d(0,0,0)!important;
}
.home-books-feature .book-float-wrap .main-book{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:100%!important;
  animation:homeBookGentleTilt 5.2s ease-in-out infinite!important;
  transform:rotate(-3deg) rotateX(7deg)!important;
  transform-origin:center center!important;
}
body.reduce-motion .home-books-feature .book-float-wrap{
  animation:homeBookWrapperFloat 3.8s ease-in-out infinite!important;
}
@keyframes homeBookWrapperFloat{
  0%,100%{
    transform:translate3d(0,0,0) scale(1);
  }
  35%{
    transform:translate3d(0,-26px,0) scale(1.018);
  }
  70%{
    transform:translate3d(0,-10px,0) scale(1.006);
  }
}
@keyframes homeBookGentleTilt{
  0%,100%{
    transform:rotate(-3deg) rotateX(7deg) rotateY(0deg);
  }
  50%{
    transform:rotate(-.8deg) rotateX(5deg) rotateY(-4deg);
  }
}

/* Global announcement strip typography match. */
.site-header .horaa-top-strip {
  min-height: 50px !important;
}

.site-header .horaa-strip-inner {
  min-height: 50px !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.site-header .horaa-top-strip a,
.site-header .horaa-top-strip strong,
.site-header .horaa-phone,
.site-header .horaa-message {
  font-size: clamp(1.2rem, 1.75vw, 1.48rem) !important;
  line-height: 1.05 !important;
}

@media (max-width: 900px) {
  .site-header .horaa-top-strip {
    min-height: 38px !important;
  }

  .site-header .horaa-strip-inner {
    min-height: 38px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  .site-header .horaa-top-strip a,
  .site-header .horaa-top-strip strong,
  .site-header .horaa-phone,
  .site-header .horaa-message {
    font-size: clamp(1rem, 4.4vw, 1.22rem) !important;
    line-height: 1 !important;
  }
}

/* Mobile announcement strip exact two-item layout - final override. */
@media (max-width: 900px) {
  .site-header .horaa-top-strip {
    min-height: 38px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(0, 102, 68, .34), transparent 58%),
      linear-gradient(90deg, #002618 0%, #00442c 44%, #002f20 100%) !important;
  }

  .site-header .horaa-strip-inner {
    width: 100% !important;
    min-height: 38px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas: "ask phone" !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 0 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    direction: ltr !important;
  }

  .site-header .horaa-message {
    display: none !important;
  }

  .site-header .horaa-strip-inner > a:not(.horaa-phone) {
    grid-area: ask !important;
    justify-self: start !important;
    text-align: left !important;
  }

  .site-header .horaa-phone {
    grid-area: phone !important;
    justify-self: end !important;
    text-align: right !important;
  }

  .site-header .horaa-strip-inner > a,
  .site-header .horaa-phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff7d8 !important;
    font-size: clamp(1.08rem, 4.6vw, 1.28rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    direction: rtl !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .28) !important;
  }
}

/* Mobile announcement strip exact two-item layout - final override. */
@media (max-width: 900px) {
  .site-header .horaa-top-strip {
    min-height: 38px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(0, 102, 68, .34), transparent 58%),
      linear-gradient(90deg, #002618 0%, #00442c 44%, #002f20 100%) !important;
  }

  .site-header .horaa-strip-inner {
    width: 100% !important;
    min-height: 38px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas: "ask phone" !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 0 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    direction: ltr !important;
  }

  .site-header .horaa-message {
    display: none !important;
  }

  .site-header .horaa-strip-inner > a:not(.horaa-phone) {
    grid-area: ask !important;
    justify-self: start !important;
    text-align: left !important;
  }

  .site-header .horaa-phone {
    grid-area: phone !important;
    justify-self: end !important;
    text-align: right !important;
  }

  .site-header .horaa-strip-inner > a,
  .site-header .horaa-phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff7d8 !important;
    font-size: clamp(1.08rem, 4.6vw, 1.28rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    direction: rtl !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .28) !important;
  }
}

/* Mobile announcement strip exact two-item layout. */
@media (max-width: 900px) {
  .site-header .horaa-top-strip {
    min-height: 38px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(0, 102, 68, .34), transparent 58%),
      linear-gradient(90deg, #002618 0%, #00442c 44%, #002f20 100%) !important;
  }

  .site-header .horaa-strip-inner {
    width: 100% !important;
    min-height: 38px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas: "ask phone" !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 0 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    direction: ltr !important;
  }

  .site-header .horaa-message {
    display: none !important;
  }

  .site-header .horaa-strip-inner > a:not(.horaa-phone) {
    grid-area: ask !important;
    justify-self: start !important;
    text-align: left !important;
  }

  .site-header .horaa-phone {
    grid-area: phone !important;
    justify-self: end !important;
    text-align: right !important;
  }

  .site-header .horaa-strip-inner > a,
  .site-header .horaa-phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff7d8 !important;
    font-size: clamp(1.08rem, 4.6vw, 1.28rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    direction: rtl !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .28) !important;
  }
}

@media(max-width:860px){
  .home-books-feature .real-book-showcase{
    width:100%!important;
    min-height:340px!important;
    display:grid!important;
    place-items:center!important;
    justify-items:center!important;
    overflow:visible!important;
  }

  .home-books-feature .book-float-wrap{
    width:min(390px,88vw)!important;
    margin-inline:auto!important;
    justify-self:center!important;
    transform-origin:center center!important;
  }

  .home-books-feature .book-float-wrap .main-book,
  .home-books-feature .book-photo.main-book,
  .home-books-feature .main-book{
    width:100%!important;
    max-width:100%!important;
    justify-self:center!important;
    filter:
      drop-shadow(0 28px 34px rgba(0,0,0,.25))
      drop-shadow(0 0 22px rgba(184,158,20,.20))!important;
  }
}

/* Living map v2: mobile follows its own curved route and reached stations illuminate. */
.home-journey-map-mobile{
  display:none!important;
}
.journey-map-waypoints circle{
  transition:fill .35s ease,stroke .35s ease,opacity .35s ease!important;
}
.journey-map-waypoints circle.is-reached{
  fill:#f5dc7c!important;
  stroke:#fff2b1!important;
  opacity:1!important;
  filter:drop-shadow(0 0 8px #ffe99b) drop-shadow(0 0 20px rgba(245,214,95,.72))!important;
}
.home-journey-step.is-journey-reached{
  border-color:rgba(239,210,102,.4)!important;
  border-inline-start-color:#edcf67!important;
  background:
    linear-gradient(105deg,rgba(237,207,96,.15),rgba(255,255,255,.025)),
    radial-gradient(circle at 84% 50%,rgba(221,190,75,.15),transparent 36%)!important;
  box-shadow:0 28px 68px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.08)!important;
}
.home-journey-step.is-journey-reached .home-journey-number{
  color:rgba(238,207,94,.28)!important;
}
.home-journey-step.is-journey-reached .home-journey-name{
  color:#ffe58d!important;
}
.home-journey-step.is-journey-reached strong{
  color:#fff9da!important;
}
.home-journey-destination{
  transition:filter .5s ease,transform .5s ease!important;
}
.home-journey-destination.is-journey-reached{
  filter:drop-shadow(0 0 24px rgba(231,198,79,.2))!important;
  transform:translateY(-4px)!important;
}
.home-journey-destination.is-journey-reached strong{
  color:#ffe98f!important;
  text-shadow:0 0 18px rgba(246,215,95,.28),0 5px 28px rgba(0,0,0,.34)!important;
}
@media(max-width:860px){
  .home-journey-map-desktop{
    display:none!important;
  }
  .home-journey-map-mobile{
    position:absolute!important;
    z-index:3!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    display:block!important;
    overflow:visible!important;
    pointer-events:none!important;
  }
  .home-journey-grid::before{
    display:none!important;
    content:none!important;
  }
  .home-journey-grid{
    padding:12px 36px 12px 0!important;
  }
  .home-journey-step,
  .home-journey-step:nth-child(2),
  .home-journey-step:nth-child(3),
  .home-journey-step:nth-child(4){
    z-index:2!important;
    width:calc(100% - 34px)!important;
    min-height:182px!important;
    padding:30px 48px 30px 20px!important;
  }
  .home-journey-step:nth-child(even){
    margin-inline-start:12px!important;
  }
  .home-journey-step::after{
    display:none!important;
    content:none!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .home-journey-step.is-journey-reached,
  .home-journey-destination.is-journey-reached{
    transition:none!important;
  }
}

/* Dedicated donation page refinement */
.donation-hero{
  min-height:420px;
  display:grid;
  place-items:center;
}
.donation-hero .section-inner{
  display:grid;
  justify-items:center;
  text-align:center;
}
.donation-hero .section-inner::after{
  display:none!important;
}
.donation-hero-title{
  display:block;
  color:rgba(255,255,255,.2);
  font-size:clamp(3.2rem,8vw,7.6rem);
  font-weight:900;
  line-height:.9;
  text-align:center;
  text-shadow:0 22px 58px rgba(0,0,0,.28);
}
.donation-hero h1{
  max-width:none!important;
  margin:10px auto 0;
  text-align:center;
  font-size:clamp(1.7rem,3.4vw,3.2rem);
}
.donation-premium{
  text-align:center;
}
.donation-premium .eyebrow,
.donation-premium h2{
  text-align:center;
  margin-inline:auto;
}
.donation-premium h2{
  max-width:none;
}
.donation-premium .field-grid,
.donation-premium .secure-note{
  text-align:right;
}
.impact-panel{
  text-align:center;
  justify-items:center;
  align-content:center;
}
.impact-panel > span{
  display:block;
  width:100%;
  color:rgba(244,217,144,.2)!important;
  font-size:clamp(2.4rem,4.6vw,4.8rem);
  line-height:.9;
  font-weight:900;
  text-align:center;
}
.impact-panel h2{
  max-width:12ch;
  margin:0 auto 18px;
  text-align:center;
  font-size:clamp(1.6rem,3vw,2.6rem);
}
.impact-list{
  width:100%;
}
.impact-list div{
  text-align:center;
}
.impact-list strong{
  font-size:1.45rem;
}
@media(max-width:860px){
  .donation-hero{
    min-height:320px;
  }
  .donation-hero-title{
    font-size:clamp(2.5rem,14vw,4.6rem);
  }
  .impact-panel > span{
    font-size:clamp(2.1rem,12vw,3.5rem);
  }
}

/* Donation page payment methods */
.donation-payment-stage{
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  align-items:stretch;
}
.donation-page-head{
  grid-column:1 / -1;
  width:min(920px,100%);
  margin:0 auto 4px;
  text-align:center;
}
.donation-page-head span{
  color:var(--gold);
  font-weight:900;
}
.donation-page-head h2{
  margin:8px auto 10px;
  color:var(--forest);
  font-size:clamp(2rem,4vw,3.7rem);
  line-height:1;
}
.donation-page-head p,
.bank-tax-note{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 18px;
  color:#183327;
  background:linear-gradient(135deg,rgba(221,202,98,.34),rgba(255,253,248,.92));
  border:1px solid rgba(184,158,20,.32);
  border-radius:999px;
  font-weight:900;
  box-shadow:0 14px 34px rgba(0,48,24,.08);
}
.donation-method-badge{
  width:max-content;
  margin:0 auto 16px;
  padding:8px 16px;
  color:#fffdf8;
  background:linear-gradient(135deg,#003018,#0b3f22);
  border:1px solid rgba(221,202,98,.42);
  border-radius:999px;
  font-weight:900;
  box-shadow:0 14px 28px rgba(0,48,24,.18);
}
.donation-credit-card,
.bank-transfer-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(184,158,20,.24);
  background:
    linear-gradient(180deg,rgba(255,253,248,.97),rgba(246,242,229,.94)),
    radial-gradient(circle at 12% 12%,rgba(221,202,98,.24),transparent 32%);
}
.donation-credit-card::before,
.bank-transfer-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(125deg,transparent,rgba(255,255,255,.42),transparent);
  transform:translateX(-80%);
  animation:sectionSheen 12s ease-in-out infinite;
}
.donation-credit-card > *,
.bank-transfer-card > *{
  position:relative;
  z-index:1;
}
.bank-transfer-card{
  min-height:100%;
  display:grid;
  align-content:start;
  gap:18px;
  padding:28px;
  border-radius:22px 6px 22px 6px;
  box-shadow:var(--shadow);
}
.bank-transfer-card h2{
  color:var(--forest);
  text-align:center;
  font-size:clamp(1.6rem,3vw,2.45rem);
}
.bank-transfer-card p{
  max-width:46ch;
  margin:0 auto;
  text-align:center;
  color:var(--muted);
  line-height:1.8;
}
.bank-details{
  display:grid;
  gap:10px;
}
.bank-details div{
  display:grid;
  grid-template-columns:96px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:56px;
  padding:10px 12px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(0,48,24,.12);
  border-radius:16px 5px 16px 5px;
  box-shadow:0 10px 24px rgba(0,48,24,.05);
}
.bank-details span{
  color:var(--gold);
  font-weight:900;
}
.bank-details strong{
  color:var(--forest);
  font-size:1.06rem;
  word-break:break-word;
}
.bank-details button{
  min-height:34px;
  padding:6px 12px;
  color:#fffdf8;
  background:#003018;
  border:0;
  border-radius:999px;
  font-weight:850;
  cursor:pointer;
}
.bank-details button:hover,
.bank-details button:focus-visible{
  background:#b89e14;
  color:#142219;
}
.bank-tax-note{
  margin:6px auto 0;
}
@media(max-width:920px){
  .donation-payment-stage{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .bank-transfer-card{
    padding:20px;
  }
  .bank-details div{
    grid-template-columns:1fr auto;
  }
  .bank-details span{
    grid-column:1 / -1;
  }
}

/* Dedicated books purchase page hero and checkout summary */
.books-hero{
  min-height:390px;
  display:grid;
  place-items:center;
  color:#20302d!important;
  background:
    linear-gradient(135deg,rgba(7,31,24,.92),rgba(22,53,43,.86) 52%,rgba(12,38,31,.94)),
    radial-gradient(circle at 50% 48%,rgba(244,217,144,.14),rgba(0,0,0,.32) 62%),
    url("assets/mishna-parma-bw-sharp.jpg") center/cover no-repeat!important;
  background-blend-mode:multiply,normal,normal;
}
.books-hero .section-inner{
  display:grid;
  justify-items:center;
  text-align:center;
}
.books-hero .section-inner::after{
  display:none!important;
}
.books-hero .section-inner::before{
  display:none!important;
  content:none!important;
}
.books-hero-title{
  position:relative;
  z-index:1;
  display:block;
  color:rgba(255,255,255,.2);
  font-size:clamp(4.2rem,10vw,9.5rem);
  font-weight:900;
  line-height:.92;
  white-space:nowrap;
  text-shadow:
    0 1px 0 rgba(255,255,255,.08),
    0 22px 52px rgba(0,0,0,.34);
}
.books-hero-subtitle{
  position:relative;
  z-index:1;
  margin:12px 0 0!important;
  color:#fff7df!important;
  font-size:clamp(1.15rem,2.1vw,1.8rem);
  font-weight:800;
  text-shadow:0 8px 22px rgba(0,0,0,.42);
}
.book-checkout{
  text-align:center;
}
.book-checkout h3{
  margin:0 0 10px;
  font-size:clamp(1.8rem,3vw,2.5rem);
  color:var(--forest);
}
.book-checkout .checkout-total-label{
  margin:0;
  font-size:clamp(1rem,1.5vw,1.18rem);
  color:var(--muted);
  font-weight:800;
}
.book-checkout [data-cart-total]{
  margin:4px 0 18px;
}
.book-checkout form{
  text-align:right;
}
@media(max-width:640px){
  .books-hero{
    min-height:300px;
  }
  .books-hero-title{
    font-size:clamp(2.4rem,15vw,4.4rem);
    white-space:normal;
  }
  .books-hero .section-inner::before{
    inset:16px;
    font-size:1.2rem;
    word-spacing:10px;
  }
}

/* Levado page */
.levado-hero{
  min-height:460px;
  display:grid;
  place-items:center;
  background:
    linear-gradient(90deg,rgba(9,16,15,.88),rgba(15,24,22,.58),rgba(199,155,69,.12)),
    url("assets/levado-hero.png") center/cover no-repeat!important;
  color:white;
}
.levado-hero .section-inner{
  display:grid;
  justify-items:center;
  text-align:center;
}
.levado-hero .section-inner::after{
  display:none!important;
}
.levado-hero-title{
  display:block;
  color:rgba(255,255,255,.18);
  font-size:clamp(4rem,12vw,10rem);
  font-weight:900;
  line-height:.82;
  text-shadow:0 24px 60px rgba(0,0,0,.36);
}
.levado-hero-subtitle{
  margin:12px 0 0!important;
  color:rgba(255,255,255,.92)!important;
  font-size:clamp(1.25rem,2.8vw,2.4rem);
  font-weight:800;
}
.levado-qna-section{
  background:
    linear-gradient(180deg,rgba(255,253,248,.96),rgba(239,244,238,.94)),
    url("assets/chesed-nefesh-bg.webp") center/cover fixed;
}
.levado-section-head{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  justify-items:center;
  text-align:center;
  margin-bottom:24px;
}
.levado-section-head h2{
  font-size:clamp(1.55rem,2.4vw,2.4rem);
  max-width:none;
  white-space:nowrap;
}
.levado-search{
  display:grid;
  gap:8px;
  width:min(620px,100%);
  text-align:center;
  justify-items:center;
}
.levado-search label{
  font-weight:900;
  color:var(--forest);
}
.levado-search input{
  border-radius:999px;
  min-height:54px;
  padding-inline:20px;
  box-shadow:0 14px 34px rgba(24,35,31,.08);
  text-align:center;
}

/* Prevent homepage horizontal drift from oversized decorative elements */
html,
body{
  max-width:100%;
  overflow-x:hidden;
}
.home-live-hero,
.refined-pulse,
.home-daily-grid,
.torah-impact-cta,
.home-books-feature,
.torah-directory{
  overflow-x:clip!important;
}
.hero-depth-brand,
.home-hero-panel h1,
.home-hero-panel h1 span,
.home-hero-panel h1 strong,
.impact-bg-title,
.books-bg-title,
.directory-bg-title{
  max-width:calc(100vw - 32px)!important;
  box-sizing:border-box;
}
.hero-depth-brand{
  white-space:nowrap;
}
.refined-pulse .section-inner,
.refined-pulse .pulse-orbit{
  max-width:100%!important;
  box-sizing:border-box;
}
@supports (overflow: clip){
  html,
  body{
    overflow-x:clip;
  }
}
.levado-results-note{
  color:var(--muted);
  font-weight:800;
  margin-bottom:14px;
  text-align:center;
}
.levado-help-open{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:48px;
  margin:0 auto 18px;
  padding:0 24px;
  border:1px solid rgba(199,155,69,.28);
  border-radius:999px;
  color:var(--forest);
  background:linear-gradient(135deg,rgba(255,253,248,.94),rgba(255,244,223,.82));
  box-shadow:0 14px 34px rgba(24,35,31,.08);
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.levado-help-modal{
  position:fixed;
  inset:0;
  z-index:2000;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(9,16,15,.62);
  backdrop-filter:blur(8px);
}
.levado-help-modal[hidden]{
  display:none!important;
}
.levado-help-dialog{
  position:relative;
  width:min(560px,100%);
  max-height:min(760px,92vh);
  overflow:auto;
  padding:30px;
  border-radius:24px 8px 24px 8px;
  background:
    linear-gradient(180deg,rgba(255,253,248,.98),rgba(239,244,238,.96)),
    url("assets/chesed-nefesh-bg.webp") center/cover no-repeat;
  box-shadow:0 34px 90px rgba(0,0,0,.32);
  border:1px solid rgba(255,255,255,.28);
}
.levado-help-close{
  position:absolute;
  left:16px;
  top:16px;
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  color:white;
  background:var(--forest);
  font-size:1.6rem;
  cursor:pointer;
}
.levado-help-dialog > span{
  color:var(--gold);
  font-weight:900;
}
.levado-help-dialog h2{
  margin:8px 0 10px;
  color:var(--forest);
}
.levado-help-dialog p{
  margin-bottom:18px;
}
.levado-help-dialog form{
  display:grid;
  gap:14px;
}
.levado-help-dialog .btn{
  justify-content:center;
}
body.modal-open{
  overflow:hidden;
}
.levado-accordion{
  display:grid;
  gap:12px;
}
.levado-item{
  background:rgba(255,255,255,.9);
  border:1px solid rgba(49,88,73,.14);
  border-radius:18px 6px 18px 6px;
  overflow:hidden;
  box-shadow:0 16px 38px rgba(24,35,31,.06);
}
.levado-item > button{
  width:100%;
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:14px;
  align-items:center;
  border:0;
  background:transparent;
  color:var(--forest);
  padding:18px 22px;
  font:inherit;
  text-align:right;
  cursor:pointer;
}
.levado-item > button span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fffdf8;
  background:linear-gradient(135deg,var(--forest),var(--sage));
  font-weight:900;
  font-size:.9rem;
}
.levado-item > button strong{
  font-size:1.12rem;
}
.levado-body{
  padding:0 24px 24px;
  border-top:1px solid rgba(49,88,73,.1);
}
.levado-body h3{
  margin:22px 0 8px;
  color:var(--gold);
  font-size:1.05rem;
}
.levado-text{
  display:grid;
  gap:12px;
}
.levado-text p{
  margin:0;
  color:var(--ink);
  line-height:1.9;
}
@media(max-width:860px){
  .levado-section-head{
    grid-template-columns:1fr;
  }
  .levado-section-head h2{
    white-space:normal;
  }
  .levado-hero{
    min-height:340px;
  }
}

/* Custom header cart and real site-search icons */
.header-quick-icons{
  position:absolute!important;
  left:28px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:flex;
  align-items:center;
  gap:13px;
  z-index:20;
}
.quick-cart-icon,
.quick-site-search{
  position:relative;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:0;
  padding:0;
  color:#141414;
  background:rgba(255,255,255,.58);
  border-radius:50%;
  cursor:pointer;
  transition:transform 180ms ease,background 180ms ease;
}
.quick-cart-icon:hover,
.quick-site-search:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.86);
}
.quick-cart-icon svg,
.quick-site-search svg{
  width:27px;
  height:27px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.15;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.quick-site-search .search-spark{
  display:none!important;
}
.quick-cart-icon .cart-count-badge{
  position:absolute;
  top:-6px;
  right:-7px;
  z-index:4;
  min-width:21px;
  height:21px;
  display:grid;
  place-items:center;
  padding:0 5px;
  border:2px solid #fffdf7;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(145deg,#d8bd42,#a77b08 72%);
  box-shadow:0 5px 13px rgba(70,48,0,.3);
  font-family:Arial,sans-serif;
  font-size:11px;
  font-weight:900;
  line-height:1;
  direction:ltr;
  pointer-events:none;
}
.quick-cart-icon .cart-count-badge[hidden]{display:none!important}
.quick-cart-icon.has-items{overflow:visible!important}
.quick-cart-icon .cart-count-badge.is-bumping{animation:cartBadgeBump .44s cubic-bezier(.2,.9,.25,1)}
@keyframes cartBadgeBump{
  0%{transform:scale(.72)}
  55%{transform:scale(1.28)}
  100%{transform:scale(1)}
}
.site-search-modal{
  position:fixed;
  inset:0;
  z-index:2100;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(9,16,15,.62);
  backdrop-filter:blur(8px);
}
.site-search-modal[hidden]{
  display:none!important;
}
.site-search-dialog{
  position:relative;
  width:min(680px,100%);
  max-height:min(760px,92vh);
  overflow:auto;
  padding:30px;
  border-radius:24px 8px 24px 8px;
  background:#fffdf8;
  box-shadow:0 34px 90px rgba(0,0,0,.32);
}
.site-search-close{
  position:absolute;
  left:16px;
  top:16px;
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  color:white;
  background:var(--forest);
  font-size:1.6rem;
  cursor:pointer;
}
.site-search-dialog h2{
  margin:0 0 6px;
  color:var(--forest);
}
.site-search-input{
  margin:16px 0;
  min-height:56px;
  border-radius:999px;
  padding-inline:20px;
}
.site-search-results{
  display:grid;
  gap:10px;
}
.site-search-results > p{
  color:var(--muted);
}
.site-search-result{
  display:grid;
  gap:5px;
  padding:16px;
  border:1px solid rgba(49,88,73,.12);
  border-radius:14px 4px 14px 4px;
  background:rgba(239,244,238,.58);
}
.site-search-result strong{
  color:var(--forest);
}
.site-search-result span{
  color:var(--muted);
  line-height:1.6;
}
@media(max-width:1080px){
  .header-quick-icons{
    position:static!important;
    transform:none!important;
    order:1;
    margin-inline-start:auto;
  }
}

/* Navigation purchase cart icon */
.main-nav .nav-cart{
  width:42px;
  min-width:42px;
  height:42px;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
}
.main-nav .nav-cart span{
  position:relative;
  display:block;
  width:24px;
  height:16px;
  border:2px solid #111;
  border-top:0;
  border-radius:0 0 3px 3px;
  background:transparent;
  transform:translateY(2px) skewX(-8deg);
}
.main-nav .nav-cart span::before{
  content:"";
  position:absolute;
  right:-7px;
  top:-9px;
  width:31px;
  height:14px;
  border-bottom:2px solid #111;
  border-right:2px solid #111;
  transform:skewX(-12deg);
  border-radius:0;
  background:transparent;
}
.main-nav .nav-cart span::after{
  content:"";
  position:absolute;
  right:1px;
  bottom:-9px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#111;
  box-shadow:16px 0 0 #111;
}
.main-nav .nav-cart::before{
  content:"";
  position:absolute;
  width:18px;
  height:2px;
  background:#111;
  transform:translate(-8px,-11px) rotate(18deg);
  border-radius:99px;
}

/* QNA page aligned with Levado layout */
.qna-hero{
  min-height:430px;
  display:grid;
  place-items:center;
  background:
    linear-gradient(135deg,rgba(13,28,24,.96),rgba(36,72,62,.86) 48%,rgba(16,39,49,.92)),
    radial-gradient(circle at 18% 22%,rgba(244,217,144,.2),transparent 28%),
    radial-gradient(circle at 78% 72%,rgba(134,165,143,.22),transparent 34%),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px) 0 0/84px 100%,
    linear-gradient(180deg,rgba(255,255,255,.04) 1px,transparent 1px) 0 0/100% 72px!important;
  color:white;
  overflow:hidden;
}
.qna-hero .section-inner{
  display:grid;
  justify-items:center;
  text-align:center;
}
.qna-hero .section-inner::after{
  display:none!important;
}
.qna-hero-title{
  display:block;
  color:rgba(255,255,255,.18);
  font-size:clamp(3.8rem,10vw,9rem);
  font-weight:900;
  line-height:.86;
  text-shadow:0 24px 60px rgba(0,0,0,.36);
}
.qna-hero-subtitle{
  margin:12px 0 0!important;
  color:rgba(255,255,255,.92)!important;
  font-size:clamp(1.2rem,2.4vw,2.1rem);
  font-weight:800;
}
.qna-symbols{
  position:absolute;
  z-index:0;
  display:grid;
  gap:14px;
  pointer-events:none;
  color:rgba(255,255,255,.16);
  font-weight:900;
  line-height:.85;
}
.qna-symbols span{
  display:block;
  font-size:clamp(4rem,8vw,8.5rem);
  text-shadow:0 20px 50px rgba(0,0,0,.28);
}
.qna-questions{
  right:7vw;
  top:18%;
  animation:qnaQuestionsFloat 6.4s ease-in-out infinite;
}
.qna-answers{
  left:8vw;
  top:20%;
  color:rgba(244,217,144,.22);
  animation:qnaAnswersFloat 7.2s ease-in-out infinite;
}
.qna-questions span:nth-child(2),
.qna-answers span:nth-child(2){
  transform:translateX(42px) scale(.82);
}
.qna-questions span:nth-child(3),
.qna-answers span:nth-child(3){
  transform:translateX(-28px) scale(.68);
}
@keyframes qnaQuestionsFloat{
  0%,100%{transform:translate3d(0,0,0) rotate(-3deg)}
  50%{transform:translate3d(0,-18px,0) rotate(2deg)}
}
@keyframes qnaAnswersFloat{
  0%,100%{transform:translate3d(0,0,0) rotate(4deg)}
  50%{transform:translate3d(0,16px,0) rotate(-2deg)}
}
.qna-page-layout{
  display:block!important;
}
.qna-categories-section{
  background:
    linear-gradient(180deg,rgba(255,253,248,.96),rgba(239,244,238,.94)),
    url("assets/chesed-nefesh-bg.webp") center/cover fixed!important;
}
.qna-categories-section .form-box{
  opacity:1!important;
  transform:none!important;
  max-width:980px;
  margin-inline:auto;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.qna-section-head{
  display:grid;
  gap:18px;
  justify-items:center;
  text-align:center;
  margin-bottom:26px;
}
.qna-section-head h2{
  margin:0;
  font-size:clamp(1.8rem,3vw,2.8rem);
  color:var(--forest);
  display:grid;
  gap:6px;
  justify-items:center;
  text-align:center;
  line-height:1.18;
}
.qna-section-head h2 span{
  display:block;
}
.qna-categories-section .qna-search{
  display:grid;
  gap:8px;
  width:min(620px,100%);
  justify-items:center;
  text-align:center;
}
.qna-categories-section .qna-search input{
  min-height:54px;
  border-radius:999px;
  text-align:center;
  padding-inline:20px;
  box-shadow:0 14px 34px rgba(24,35,31,.08);
}
.qna-category-tabs{
  justify-content:center;
  margin-bottom:30px!important;
}
.choshen-mishpat-section{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:0!important;
}
.choshen-mishpat-section .section-head{
  max-width:none;
  text-align:center;
  margin:0 auto 24px;
}
.choshen-mishpat-list{
  max-height:none!important;
  overflow:visible!important;
  display:grid;
  gap:12px!important;
}
.shabbat-qna-list{
  display:grid;
  gap:12px;
}
.issur-heter-list{
  display:grid;
  gap:12px;
}
.choshen-item,
.shabbat-item,
.issur-item,
.qna-categories-section .faq-item{
  background:rgba(255,255,255,.9)!important;
  border:1px solid rgba(49,88,73,.14)!important;
  border-radius:18px 6px 18px 6px!important;
  overflow:hidden;
  box-shadow:0 16px 38px rgba(24,35,31,.06);
}
.choshen-item > button,
.shabbat-item > button,
.issur-item > button,
.qna-categories-section .faq-item button{
  width:100%;
  display:grid;
  gap:4px;
  border:0;
  background:transparent;
  text-align:right;
  font:inherit;
  cursor:pointer;
  padding:18px 22px!important;
  color:var(--forest)!important;
}
.shabbat-item > button span{
  color:var(--gold);
  font-weight:900;
}
.issur-item > button span{
  color:var(--gold);
  font-weight:900;
}
.shabbat-item > button strong,
.issur-item > button strong{
  font-size:1.08rem;
}
.shabbat-body,
.issur-body{
  padding:0 22px 22px;
  border-top:1px solid rgba(49,88,73,.1);
}
.shabbat-body p,
.issur-body p{
  margin:14px 0 0;
  line-height:1.9;
  color:var(--ink);
}
.shabbat-body strong,
.issur-body strong{
  font-weight:900;
}
.qna-categories-section .faq-answer{
  padding:0 22px 22px!important;
}
@media(max-width:860px){
  .qna-hero{
    min-height:330px;
  }
  .qna-hero-title{
    font-size:clamp(3rem,15vw,5rem);
  }
}

/* About page hero gold treatment */
.about-hero h1,
.about-hero .lead,
.about-hero .crumbs,
.about-hero .eyebrow{
  color:#ddca62!important;
  text-shadow:
    0 0 10px rgba(221,202,98,.42),
    0 4px 18px rgba(0,0,0,.44);
}

.about-hero h1{
  color:#ddca62!important;
  text-shadow:
    0 0 12px rgba(221,202,98,.58),
    0 0 34px rgba(221,202,98,.34),
    0 5px 22px rgba(0,0,0,.5);
}

/* Beit Horaa identity refresh: header and homepage hero only */
.site-header{
  background:
    linear-gradient(180deg,rgba(255,253,247,.98),rgba(246,241,229,.96))!important;
  border-bottom:1px solid rgba(141,108,39,.24);
  box-shadow:0 18px 46px rgba(24,35,31,.08);
}

.site-header::before{
  height:5px;
  background:linear-gradient(90deg,#0d352e,#ddca62,#8c6b24,#0d352e)!important;
  box-shadow:0 8px 22px rgba(141,108,39,.22);
}

.nav-shell{
  max-width:1540px;
  min-height:142px;
  padding:24px 32px 18px;
  display:grid;
  grid-template-columns:150px minmax(0,1fr) 310px;
  grid-template-areas:
    "icons brand spacer"
    "nav nav nav";
  gap:18px 24px;
  align-items:center;
  background:
    radial-gradient(circle at 50% 0,rgba(221,202,98,.16),transparent 34%),
    rgba(255,253,247,.68)!important;
  border:0;
  box-shadow:none;
}

.brand{
  grid-area:brand;
  justify-self:center;
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  justify-content:center;
  gap:16px;
  color:#123c32;
  text-align:center;
}

.brand-mark{
  width:72px;
  height:72px;
  border-radius:18px;
  background:
    url("assets/beit-horaa-emblem.svg") center/contain no-repeat!important;
  box-shadow:
    0 18px 42px rgba(24,35,31,.18),
    0 0 0 1px rgba(221,202,98,.3);
  transform:none;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span{
  display:none!important;
}

.brand-title{
  display:block;
  color:#123c32;
  font-family:"Times New Roman","David",serif;
  font-size:clamp(2.35rem,3.7vw,4.7rem);
  line-height:.92;
  font-weight:900;
  letter-spacing:0;
  text-shadow:0 2px 0 rgba(221,202,98,.34),0 12px 26px rgba(24,35,31,.08);
}

.brand-subtitle{
  display:block;
  margin-top:7px;
  color:#8c6b24;
  font-family:"Times New Roman","David",serif;
  font-size:clamp(1.25rem,1.8vw,2.05rem);
  font-weight:900;
  letter-spacing:0;
}

.main-nav{
  grid-area:nav;
  justify-self:center;
  width:min(1280px,100%);
  min-height:70px;
  padding:9px 28px;
  justify-content:center;
  gap:20px;
  border-radius:999px;
  border:1px solid rgba(141,108,39,.24);
  background:
    linear-gradient(180deg,rgba(255,255,255,.95),rgba(247,242,231,.9))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 16px 38px rgba(24,35,31,.08);
}

.main-nav a{
  color:#213c35;
  border-radius:999px;
  padding:13px 15px;
  font-size:.98rem;
  font-weight:850;
}

.main-nav a::before{
  inset:auto 16px 7px;
  height:2px;
  background:#ddca62;
  transform-origin:center;
}

.main-nav a:hover,
.main-nav a[aria-current="page"]{
  color:#0d352e;
  background:rgba(221,202,98,.13);
}

.main-nav .nav-donate{
  color:#fff!important;
  background:linear-gradient(135deg,#9a7330,#d5bd54)!important;
  box-shadow:0 12px 28px rgba(141,108,39,.18);
}

.header-quick-icons{
  grid-area:icons;
  position:static;
  transform:none;
  justify-self:start;
  align-self:center;
}

.quick-cart-icon,
.quick-site-search{
  background:#fffef9;
  border:1px solid rgba(141,108,39,.18);
  box-shadow:0 12px 28px rgba(24,35,31,.08);
}

.nav-actions{
  grid-area:spacer;
  justify-self:end;
}

.home-live-hero{
  min-height:650px;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(13,53,46,.92),rgba(13,53,46,.72) 44%,rgba(141,108,39,.34)),
    radial-gradient(circle at 72% 24%,rgba(221,202,98,.24),transparent 28%),
    url("assets/beit-midrash-hero.webp") center/cover no-repeat!important;
}

.home-live-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(5,25,22,.08),rgba(5,25,22,.45)),
    repeating-linear-gradient(90deg,rgba(221,202,98,.06) 0 1px,transparent 1px 140px);
  pointer-events:none;
}

.home-live-hero::after{
  background:linear-gradient(180deg,transparent,rgba(251,247,239,.98));
}

.home-live-grid{
  padding:78px 0 130px;
}

.home-hero-panel{
  position:relative;
  max-width:980px;
  padding:18px 0;
}

.hero-depth-brand{
  display:block;
  color:rgba(221,202,98,.18);
  font-family:"Times New Roman","David",serif;
  font-size:clamp(5.2rem,10vw,10.2rem);
  line-height:.82;
  font-weight:900;
  text-shadow:0 2px 0 rgba(255,255,255,.05);
}

.hero-depth-brand::before,
.hero-depth-brand::after{
  display:none!important;
}

.home-hero-panel h1{
  margin:-22px auto 0;
  max-width:none;
  display:grid;
  gap:13px;
  justify-items:center;
  font-family:"Times New Roman","David",serif;
  text-align:center;
}

.home-hero-panel h1 span{
  color:#fff;
  font-size:clamp(3rem,7vw,7.2rem);
  line-height:.9;
  font-weight:900;
  text-shadow:
    0 0 22px rgba(221,202,98,.2),
    0 12px 30px rgba(0,0,0,.42);
}

.home-hero-panel h1 strong{
  display:inline-block;
  margin:0;
  padding:10px 28px;
  color:#ddca62;
  font-size:clamp(1.25rem,2.2vw,2rem);
  line-height:1.2;
  border-top:1px solid rgba(221,202,98,.48);
  border-bottom:1px solid rgba(221,202,98,.48);
  text-shadow:0 8px 24px rgba(0,0,0,.34);
}

.home-hero-panel p{
  max-width:760px;
  margin:24px auto 0;
  color:rgba(255,255,255,.86);
  font-size:1.18rem;
  text-align:center;
}

.home-hero-panel .portal-actions{
  justify-content:center;
  margin-top:30px;
}

.home-hero-panel .btn-primary{
  background:linear-gradient(135deg,#9a7330,#ddca62)!important;
  color:#102f29!important;
}

@media(max-width:980px){
  .nav-shell{
    grid-template-columns:auto minmax(0,1fr) auto;
    grid-template-areas:
      "icons brand spacer"
      "nav nav nav";
    min-height:auto;
    padding-inline:18px;
  }

  .brand-mark{
    width:60px;
    height:60px;
  }

  .main-nav{
    justify-content:flex-start;
    overflow:auto;
  }
}

@media(max-width:640px){
  .nav-shell{
    grid-template-columns:1fr auto;
    grid-template-areas:
      "brand icons"
      "nav nav";
    padding:18px 12px 14px;
  }

  .brand{
    justify-self:start;
    gap:10px;
  }

  .brand-mark{
    width:52px;
    height:52px;
  }

  .brand-title{
    font-size:2.1rem;
  }

  .brand-subtitle{
    font-size:1.18rem;
  }

  .home-live-hero{
    min-height:560px;
  }

  .home-live-grid{
    padding:54px 0 92px;
  }

  .hero-depth-brand{
    font-size:4.2rem;
  }

  .home-hero-panel h1{
    margin-top:-8px;
  }
}

/* Formal Beit Horaa navigation and hero, closer to classic rabbinic sites */
.site-header{
  background:#fff!important;
  border-bottom:1px solid rgba(8,55,88,.16)!important;
  box-shadow:0 10px 30px rgba(8,32,45,.08)!important;
}

.site-header::before{
  display:none!important;
}

.horaa-top-strip{
  min-height:44px;
  color:#fff;
  background:linear-gradient(90deg,#0b3a5c,#164f79);
  border-bottom:1px solid rgba(221,202,98,.34);
}

.horaa-strip-inner{
  max-width:1540px;
  min-height:44px;
  margin:auto;
  padding:0 18px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:24px;
  align-items:center;
  direction:rtl;
  font-weight:850;
}

.horaa-phone{
  font-size:1.18rem;
  color:#fff;
}

.horaa-phone::before{
  content:"☎";
  margin-inline-end:8px;
  color:#ddca62;
}

.horaa-message{
  justify-self:center;
  color:#ddca62;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.horaa-strip-inner a{
  color:#fff!important;
  border-bottom:1px solid rgba(255,255,255,.45);
}

.nav-shell{
  max-width:1540px;
  min-height:112px;
  padding:14px 20px;
  display:grid;
  grid-template-columns:190px minmax(0,1fr) 330px;
  grid-template-areas:"ask nav brand";
  gap:26px;
  align-items:center;
  background:#fff!important;
  border:0!important;
  box-shadow:none!important;
}

.brand{
  grid-area:brand;
  justify-self:end;
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  gap:14px;
  text-align:right;
}

.brand::after{
  content:"";
  width:96px;
  height:58px;
  display:block;
  background:
    radial-gradient(ellipse at center,rgba(221,202,98,.2),transparent 68%),
    url("assets/beit-horaa-emblem.svg") center/contain no-repeat;
  filter:drop-shadow(0 6px 10px rgba(8,32,45,.12));
  opacity:.95;
}

.brand-mark{
  width:88px;
  height:62px;
  border-radius:0;
  background:none!important;
  box-shadow:none!important;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span{
  display:none!important;
}

.brand-title{
  color:#153d5d;
  font-family:"Times New Roman","David",serif;
  font-size:1.25rem;
  line-height:1;
  font-weight:900;
  letter-spacing:0;
  text-shadow:none;
}

.brand-subtitle{
  color:#101f24;
  margin-top:6px;
  font-family:"Times New Roman","David",serif;
  font-size:2.1rem;
  line-height:.9;
  font-weight:900;
  text-shadow:0 1px 0 rgba(221,202,98,.4);
}

.main-nav{
  grid-area:nav;
  justify-self:center;
  width:auto;
  min-height:70px;
  padding:0;
  gap:38px;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.main-nav a{
  position:relative;
  padding:20px 0 18px;
  border-radius:0;
  color:#153d5d!important;
  background:transparent!important;
  font-family:"Times New Roman","David",serif;
  font-size:1.28rem;
  font-weight:500;
  letter-spacing:0;
}

.main-nav a::before{
  content:"";
  position:absolute;
  inset:auto 0 7px 0;
  width:100%;
  height:1px;
  margin:auto;
  background:#c9a250;
  transform:scaleX(0);
  transform-origin:center;
  opacity:1;
}

.main-nav a:hover,
.main-nav a[aria-current="page"]{
  color:#c9a250!important;
  background:transparent!important;
}

.main-nav a:hover::before,
.main-nav a[aria-current="page"]::before{
  transform:scaleX(1);
}

.main-nav .nav-donate{
  color:#153d5d!important;
  background:transparent!important;
  box-shadow:none!important;
}

.header-quick-icons{
  display:none!important;
}

.nav-actions{
  grid-area:ask;
  justify-self:start;
  display:flex;
  align-items:center;
}

.nav-actions::before{
  content:"שאל את הרב";
  min-width:154px;
  min-height:50px;
  display:grid;
  place-items:center;
  padding:0 24px;
  color:#153d5d;
  border:1px solid #153d5d;
  border-radius:999px;
  font-family:"Times New Roman","David",serif;
  font-size:1.26rem;
  background:#fff;
}

.menu-toggle{
  display:none;
}

.home-live-hero{
  min-height:650px;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(12,58,91,.88),rgba(24,80,116,.74)),
    url("assets/library-light.svg") center/cover no-repeat!important;
}

.home-live-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(9,45,70,.18),rgba(9,45,70,.48)),
    url("assets/page-watermark.svg") center/cover no-repeat;
  opacity:.75;
  pointer-events:none;
}

.home-live-hero::after{
  background:linear-gradient(180deg,transparent,rgba(251,247,239,.98))!important;
}

.home-live-grid{
  padding:88px 0 130px;
}

.home-hero-panel{
  max-width:1040px;
  text-align:center;
  margin-inline:auto;
}

.home-hero-panel::before{
  content:"";
  width:480px;
  height:58px;
  max-width:66vw;
  display:block;
  margin:0 auto 18px;
  background:
    linear-gradient(90deg,transparent,#fff,transparent) center 50%/100% 2px no-repeat,
    radial-gradient(circle at 18% 50%,transparent 0 18px,#fff 19px 20px,transparent 21px),
    radial-gradient(circle at 82% 50%,transparent 0 18px,#fff 19px 20px,transparent 21px);
  opacity:.94;
  mask:
    radial-gradient(circle at 50% 50%,#000 0 20px,transparent 21px),
    linear-gradient(#000,#000);
}

.hero-depth-brand{
  display:block;
  color:#fff;
  font-family:"Times New Roman","David",serif;
  font-size:clamp(4.2rem,8vw,8.1rem);
  line-height:.95;
  font-weight:900;
  text-shadow:0 9px 28px rgba(0,0,0,.42);
}

.hero-depth-brand::before,
.hero-depth-brand::after{
  display:none!important;
}

.home-hero-panel h1{
  margin:14px auto 0;
  max-width:none;
  display:grid;
  justify-items:center;
  gap:10px;
  font-family:"Times New Roman","David",serif;
}

.home-hero-panel h1 span{
  color:#ddca62!important;
  font-size:clamp(1.55rem,2.3vw,2.25rem);
  font-weight:500;
  line-height:1.25;
  text-shadow:0 6px 18px rgba(0,0,0,.28);
}

.home-hero-panel h1 strong{
  color:#fff!important;
  font-size:clamp(1.1rem,1.7vw,1.45rem);
  font-weight:500;
  border:0;
  padding:0;
  margin:0;
  text-shadow:0 6px 18px rgba(0,0,0,.28);
}

.home-hero-panel p{
  display:none;
}

.home-horaa-search{
  width:min(990px,82vw);
  min-height:56px;
  margin:46px auto 0;
  display:grid;
  grid-template-columns:minmax(0,1fr) 74px;
  overflow:hidden;
  border-radius:999px;
  background:#fff;
  box-shadow:0 18px 44px rgba(0,0,0,.22);
}

.home-horaa-search input{
  width:100%;
  border:0;
  outline:0;
  padding:0 30px;
  direction:rtl;
  text-align:right;
  font:inherit;
  font-family:"Times New Roman","David",serif;
  font-size:1.35rem;
  color:#153d5d;
  background:#fff;
}

.home-horaa-search input::placeholder{
  color:#58718a;
}

.home-horaa-search button{
  border:0;
  display:grid;
  place-items:center;
  color:#fff;
  background:#d2ac55;
  cursor:pointer;
}

.home-horaa-search svg{
  width:28px;
  height:28px;
  fill:none;
  stroke:#fff;
  stroke-width:3;
  stroke-linecap:round;
}

.home-hero-panel .portal-actions{
  justify-content:center;
  margin-top:58px;
}

.home-hero-panel .portal-actions .btn{
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.85);
  border-radius:999px;
  box-shadow:none;
  font-family:"Times New Roman","David",serif;
  font-size:1.25rem;
  font-weight:500;
}

@media(max-width:980px){
  .horaa-strip-inner{
    grid-template-columns:1fr;
    gap:4px;
    padding-block:8px;
    text-align:center;
  }

  .nav-shell{
    grid-template-columns:1fr;
    grid-template-areas:"brand" "nav" "ask";
    gap:10px;
  }

  .brand,
  .nav-actions{
    justify-self:center;
  }

  .main-nav{
    width:100%;
    justify-content:flex-start;
    overflow:auto;
    gap:28px;
    padding-inline:10px;
  }
}

@media(max-width:640px){
  .brand-subtitle{
    font-size:1.65rem;
  }

  .brand::after{
    width:72px;
  }

  .home-live-hero{
    min-height:560px;
  }

  .home-live-grid{
    padding:56px 0 90px;
  }

  .hero-depth-brand{
    font-size:3.4rem;
  }

  .home-horaa-search{
    width:92vw;
    grid-template-columns:minmax(0,1fr) 58px;
  }
}

/* Grand Beit Horaa experiment: ceremonial header and hero */
.site-header{
  position:sticky;
  top:0;
  z-index:900;
  background:
    linear-gradient(180deg,#061d2a 0,#092d3d 52%,#fffaf0 52%,#fffdf8 100%)!important;
  border-bottom:1px solid rgba(197,162,80,.34)!important;
  box-shadow:0 20px 60px rgba(3,20,28,.16)!important;
}

.horaa-top-strip{
  min-height:38px;
  background:
    linear-gradient(90deg,#061d2a,#0d3f57 35%,#061d2a)!important;
  border-bottom:1px solid rgba(221,202,98,.48);
}

.horaa-strip-inner{
  min-height:38px;
  grid-template-columns:auto minmax(0,1fr) auto;
  font-family:"Times New Roman","David",serif;
}

.horaa-message{
  color:#f1d98a;
  font-size:1.08rem;
  letter-spacing:.2px;
}

.horaa-phone{
  color:#fff;
  font-size:1.05rem;
}

.nav-shell{
  position:relative;
  min-height:120px;
  padding:12px 24px 22px;
  grid-template-columns:170px minmax(0,1fr) 360px;
  grid-template-areas:"ask nav brand";
  background:
    linear-gradient(180deg,rgba(255,253,248,.94),rgba(255,255,255,.98))!important;
  overflow:visible;
}

.nav-shell::before{
  content:"";
  position:absolute;
  inset:9px 24px auto;
  height:1px;
  background:linear-gradient(90deg,transparent,#c9a250,transparent);
}

.nav-shell::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-18px;
  width:420px;
  height:36px;
  transform:translateX(-50%);
  background:
    radial-gradient(ellipse at center,rgba(201,162,80,.26),transparent 66%),
    linear-gradient(90deg,transparent,#c9a250,transparent) center/100% 1px no-repeat;
  pointer-events:none;
}

.brand{
  position:relative;
  min-width:330px;
  padding:10px 18px 10px 98px;
  border:1px solid rgba(201,162,80,.34);
  border-radius:0 22px 0 22px;
  background:
    linear-gradient(135deg,rgba(255,253,248,.9),rgba(244,234,203,.46));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 16px 38px rgba(8,38,50,.08);
}

.brand::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(201,162,80,.18);
  border-radius:0 17px 0 17px;
  pointer-events:none;
}

.brand::after{
  position:absolute;
  left:14px;
  top:50%;
  width:72px;
  height:72px;
  transform:translateY(-50%);
  background:url("assets/beit-horaa-emblem.svg") center/contain no-repeat;
  filter:drop-shadow(0 12px 18px rgba(8,38,50,.22));
}

.brand-title{
  color:#0b3344;
  font-size:1.05rem;
  letter-spacing:.12em;
}

.brand-subtitle{
  color:#8d6926;
  font-size:2.55rem;
  text-shadow:0 1px 0 #fff6c9,0 8px 24px rgba(8,38,50,.11);
}

.main-nav{
  width:100%;
  min-height:72px;
  justify-content:center;
  gap:0;
  padding:0 14px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.8),rgba(250,246,235,.84))!important;
  border:1px solid rgba(201,162,80,.26)!important;
  border-radius:0!important;
  clip-path:polygon(24px 0,calc(100% - 24px) 0,100% 50%,calc(100% - 24px) 100%,24px 100%,0 50%);
}

.main-nav a{
  min-height:72px;
  padding:0 18px;
  display:grid;
  place-items:center;
  border-inline-start:1px solid rgba(201,162,80,.18);
  color:#0b3344!important;
  font-size:1.13rem;
  transition:color 180ms ease, background 180ms ease, transform 180ms ease;
}

.main-nav a:first-child{
  border-inline-start:0;
}

.main-nav a::before{
  display:none;
}

.main-nav a::after{
  content:"";
  width:7px;
  height:7px;
  margin-top:5px;
  border-radius:50%;
  background:#c9a250;
  opacity:0;
  transform:scale(.2);
  transition:opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"]{
  color:#8d6926!important;
  background:
    radial-gradient(circle at center,rgba(221,202,98,.24),transparent 62%);
  transform:translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after{
  opacity:1;
  transform:scale(1);
}

.nav-actions::before{
  min-width:148px;
  color:#fff;
  border:1px solid rgba(221,202,98,.55);
  border-radius:0 18px 0 18px;
  background:
    linear-gradient(135deg,#0b3344,#0d5267);
  box-shadow:0 16px 30px rgba(8,38,50,.14);
}

.home-live-hero{
  min-height:720px;
  isolation:isolate;
  background:
    linear-gradient(90deg,rgba(5,29,40,.96),rgba(10,55,77,.86) 48%,rgba(34,80,94,.75)),
    url("assets/beit-midrash-hero.webp") center/cover no-repeat!important;
}

.home-live-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  opacity:1;
  background:
    radial-gradient(circle at 50% 30%,rgba(221,202,98,.22),transparent 19%),
    linear-gradient(115deg,transparent 0 39%,rgba(255,255,255,.16) 40% 42%,transparent 43%),
    linear-gradient(245deg,transparent 0 56%,rgba(221,202,98,.13) 57% 59%,transparent 60%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 118px);
}

.home-live-hero::after{
  z-index:1;
  height:190px;
  background:
    linear-gradient(180deg,transparent,rgba(5,29,40,.36) 42%,rgba(251,247,239,.98))!important;
}

.horaa-hero-seal{
  position:absolute;
  inset:50% auto auto 50%;
  width:min(52vw,620px);
  aspect-ratio:1;
  transform:translate(-50%,-50%);
  z-index:1;
  opacity:.14;
  background:url("assets/beit-horaa-emblem.svg") center/contain no-repeat;
  filter:drop-shadow(0 20px 60px rgba(0,0,0,.35));
  animation:sealBreath 9s ease-in-out infinite;
}

.horaa-hero-gates span{
  position:absolute;
  top:0;
  bottom:0;
  width:min(19vw,230px);
  z-index:1;
  opacity:.32;
  background:
    linear-gradient(90deg,rgba(221,202,98,.12),transparent),
    repeating-linear-gradient(0deg,rgba(255,255,255,.08) 0 2px,transparent 2px 58px);
  border-inline:1px solid rgba(221,202,98,.26);
}

.horaa-hero-gates span:first-child{
  right:0;
}

.horaa-hero-gates span:last-child{
  left:0;
  transform:scaleX(-1);
}

.home-live-grid{
  position:relative;
  z-index:2;
  padding:96px 0 150px;
}

.home-hero-panel{
  max-width:1120px;
  padding:46px 34px 38px;
  border:1px solid rgba(221,202,98,.26);
  background:
    linear-gradient(180deg,rgba(5,29,40,.18),rgba(5,29,40,.36)),
    radial-gradient(circle at 50% 0,rgba(221,202,98,.16),transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 30px 90px rgba(0,0,0,.22);
  clip-path:polygon(38px 0,calc(100% - 38px) 0,100% 38px,100% calc(100% - 38px),calc(100% - 38px) 100%,38px 100%,0 calc(100% - 38px),0 38px);
}

.horaa-hero-crown{
  width:min(620px,72vw);
  height:74px;
  margin:0 auto 12px;
  background:
    radial-gradient(circle at 50% 50%,transparent 0 18px,#fff 19px 21px,transparent 22px),
    radial-gradient(circle at 32% 50%,transparent 0 14px,#ddca62 15px 16px,transparent 17px),
    radial-gradient(circle at 68% 50%,transparent 0 14px,#ddca62 15px 16px,transparent 17px),
    linear-gradient(90deg,transparent,#fff 18%,transparent 27%,transparent 73%,#fff 82%,transparent),
    linear-gradient(90deg,transparent,#ddca62,transparent) center/100% 2px no-repeat;
  opacity:.96;
}

.home-hero-panel::before{
  display:none!important;
}

.hero-depth-brand{
  color:#fff;
  font-size:clamp(3.8rem,8vw,8.8rem);
  text-shadow:
    0 0 1px #fff,
    0 6px 0 rgba(5,29,40,.48),
    0 24px 54px rgba(0,0,0,.45);
}

.home-hero-panel h1{
  margin:8px auto 0;
}

.home-hero-panel h1 span{
  color:#ddca62!important;
  font-size:clamp(2.4rem,4.8vw,5.5rem);
  font-weight:900;
  text-shadow:
    0 1px 0 #fff3b0,
    0 15px 38px rgba(0,0,0,.38);
}

.home-hero-panel h1 strong{
  margin-top:8px;
  padding:10px 34px;
  color:#f8edd0!important;
  border:1px solid rgba(221,202,98,.46);
  border-inline:0;
  font-size:clamp(1.15rem,1.8vw,1.65rem);
  background:linear-gradient(90deg,transparent,rgba(221,202,98,.12),transparent);
}

.home-horaa-search{
  width:min(880px,82vw);
  min-height:66px;
  margin-top:42px;
  border:1px solid rgba(221,202,98,.48);
  border-radius:0 24px 0 24px;
  box-shadow:0 24px 64px rgba(0,0,0,.28);
}

.home-horaa-search input{
  font-size:1.45rem;
  background:linear-gradient(180deg,#fff,#f5efe0);
}

.home-horaa-search button{
  background:
    linear-gradient(135deg,#8d6926,#ddca62);
}

.home-hero-panel .portal-actions{
  margin-top:34px;
}

.home-hero-panel .portal-actions .btn{
  border-radius:0 18px 0 18px;
  min-height:54px;
  padding-inline:34px;
  background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(221,202,98,.18))!important;
}

@keyframes sealBreath{
  0%,100%{transform:translate(-50%,-50%) scale(.98);opacity:.11}
  50%{transform:translate(-50%,-50%) scale(1.04);opacity:.18}
}

@media(max-width:1080px){
  .nav-shell{
    grid-template-columns:1fr;
    grid-template-areas:"brand" "nav" "ask";
  }

  .brand,
  .nav-actions{
    justify-self:center;
  }

  .main-nav{
    overflow:auto;
    justify-content:flex-start;
    clip-path:none;
  }
}

@media(max-width:640px){
  .nav-shell{
    padding-inline:10px;
  }

  .brand{
    min-width:0;
    width:100%;
    padding-inline:12px 86px;
  }

  .brand-subtitle{
    font-size:2rem;
  }

  .home-live-hero{
    min-height:640px;
  }

  .home-hero-panel{
    padding:32px 18px;
    clip-path:polygon(22px 0,calc(100% - 22px) 0,100% 22px,100% calc(100% - 22px),calc(100% - 22px) 100%,22px 100%,0 calc(100% - 22px),0 22px);
  }

  .hero-depth-brand{
    font-size:3.2rem;
  }
}

/* Professional correction: refined Beit Horaa header and hero */
.site-header{
  position:relative!important;
  top:auto!important;
  z-index:900;
  background:#fffdf7!important;
  border-bottom:1px solid rgba(18,55,76,.14)!important;
  box-shadow:0 12px 36px rgba(9,31,43,.08)!important;
}

.horaa-top-strip{
  min-height:38px!important;
  background:#123d5c!important;
  border-bottom:1px solid rgba(213,176,88,.45)!important;
}

.horaa-strip-inner{
  min-height:38px!important;
  max-width:1440px!important;
  display:flex!important;
  justify-content:center!important;
  gap:34px!important;
  padding:0 22px!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:.95rem!important;
  font-weight:700!important;
}

.horaa-phone{
  font-size:1rem!important;
}

.horaa-message{
  color:#dec06b!important;
  font-size:1rem!important;
}

.horaa-strip-inner a{
  color:#fff!important;
  text-decoration:none!important;
  border:0!important;
}

.nav-shell{
  max-width:1440px!important;
  min-height:132px!important;
  margin:auto!important;
  padding:18px 22px 20px!important;
  display:grid!important;
  grid-template-columns:170px minmax(0,1fr) 170px!important;
  grid-template-areas:
    "ask brand icons"
    "nav nav nav"!important;
  gap:16px 24px!important;
  align-items:center!important;
  overflow:visible!important;
  background:
    linear-gradient(180deg,#fffdf7,#faf6eb)!important;
  border:0!important;
  box-shadow:none!important;
}

.nav-shell::before,
.nav-shell::after{
  display:none!important;
}

.brand{
  grid-area:brand!important;
  justify-self:center!important;
  min-width:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:auto auto!important;
  align-items:center!important;
  gap:14px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.brand::before{
  display:none!important;
}

.brand::after{
  content:""!important;
  position:static!important;
  width:74px!important;
  height:74px!important;
  transform:none!important;
  display:block!important;
  order:-1;
  background:url("assets/beit-horaa-emblem.svg") center/contain no-repeat!important;
  filter:drop-shadow(0 12px 22px rgba(9,31,43,.14))!important;
}

.brand-mark{
  display:none!important;
}

.brand-title{
  color:#173f36!important;
  font-family:"Times New Roman","David",serif!important;
  font-size:clamp(1.2rem,1.7vw,1.7rem)!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:0!important;
  text-align:right!important;
  text-shadow:none!important;
}

.brand-subtitle{
  color:#9a742b!important;
  display:block!important;
  margin-top:4px!important;
  font-family:"Times New Roman","David",serif!important;
  font-size:clamp(2.25rem,3.4vw,4rem)!important;
  line-height:.9!important;
  font-weight:900!important;
  letter-spacing:0!important;
  text-shadow:0 1px 0 #fff1ad,0 8px 18px rgba(9,31,43,.08)!important;
}

.main-nav{
  grid-area:nav!important;
  width:min(1180px,100%)!important;
  min-height:58px!important;
  margin:auto!important;
  padding:0 18px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  clip-path:none!important;
  border:1px solid rgba(18,55,76,.13)!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 14px 34px rgba(9,31,43,.07)!important;
}

.main-nav a{
  min-height:42px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:999px!important;
  color:#173f36!important;
  background:transparent!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:.95rem!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
  transform:none!important;
}

.main-nav a::before{
  display:block!important;
  content:""!important;
  position:absolute!important;
  inset:auto 18px 6px!important;
  height:2px!important;
  width:auto!important;
  background:#c79b45!important;
  transform:scaleX(0)!important;
  opacity:1!important;
  transition:transform 180ms ease!important;
}

.main-nav a::after{
  display:none!important;
}

.main-nav a:hover,
.main-nav a[aria-current="page"]{
  color:#9a742b!important;
  background:rgba(199,155,69,.1)!important;
}

.main-nav a:hover::before,
.main-nav a[aria-current="page"]::before{
  transform:scaleX(1)!important;
}

.main-nav .nav-donate{
  color:#fff!important;
  background:linear-gradient(135deg,#9a742b,#d3b553)!important;
  box-shadow:0 10px 22px rgba(154,116,43,.18)!important;
}

.main-nav .nav-donate::before{
  display:none!important;
}

.nav-actions{
  grid-area:ask!important;
  justify-self:start!important;
}

.nav-actions::before{
  content:"שאל את הרב"!important;
  min-width:130px!important;
  min-height:42px!important;
  padding:0 20px!important;
  color:#123d5c!important;
  border:1px solid #123d5c!important;
  border-radius:999px!important;
  background:transparent!important;
  box-shadow:none!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:.95rem!important;
  font-weight:800!important;
}

.header-quick-icons{
  grid-area:icons!important;
  justify-self:end!important;
  display:flex!important;
  position:static!important;
  transform:none!important;
  gap:10px!important;
}

.quick-cart-icon,
.quick-site-search{
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  background:#fff!important;
  border:1px solid rgba(18,55,76,.12)!important;
  box-shadow:0 10px 24px rgba(9,31,43,.08)!important;
}

.quick-cart-icon svg,
.quick-site-search svg{
  width:23px!important;
  height:23px!important;
  stroke:#111!important;
}

.menu-toggle{
  display:none!important;
}

.home-live-hero{
  min-height:680px!important;
  display:grid!important;
  align-items:center!important;
  overflow:hidden!important;
  isolation:isolate!important;
  color:#fff!important;
  background:
    linear-gradient(90deg,rgba(9,43,63,.95),rgba(14,67,96,.82) 48%,rgba(15,71,99,.66)),
    url("assets/beit-midrash-hero.webp") center/cover no-repeat!important;
}

.home-live-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  opacity:1!important;
  background:
    linear-gradient(180deg,rgba(6,28,42,.16),rgba(6,28,42,.34)),
    radial-gradient(circle at 50% 26%,rgba(255,255,255,.12),transparent 24%),
    linear-gradient(115deg,transparent 0 43%,rgba(255,255,255,.1) 44% 46%,transparent 47%)!important;
  pointer-events:none!important;
}

.home-live-hero::after{
  content:""!important;
  position:absolute!important;
  inset:auto 0 0!important;
  height:160px!important;
  z-index:1!important;
  background:linear-gradient(180deg,transparent,rgba(251,247,239,.98))!important;
  pointer-events:none!important;
}

.horaa-hero-seal{
  position:absolute!important;
  inset:50% auto auto 50%!important;
  width:min(40vw,470px)!important;
  aspect-ratio:1!important;
  transform:translate(-50%,-50%)!important;
  z-index:1!important;
  opacity:.09!important;
  background:url("assets/beit-horaa-emblem.svg") center/contain no-repeat!important;
  filter:none!important;
  animation:none!important;
}

.horaa-hero-gates,
.horaa-hero-gates span{
  display:none!important;
}

.home-live-grid{
  position:relative!important;
  z-index:2!important;
  padding:82px 0 138px!important;
  display:grid!important;
  place-items:center!important;
}

.home-hero-panel{
  max-width:1040px!important;
  margin:auto!important;
  padding:0!important;
  border:0!important;
  clip-path:none!important;
  background:transparent!important;
  box-shadow:none!important;
  text-align:center!important;
}

.home-hero-panel::before{
  display:none!important;
}

.horaa-hero-crown{
  width:min(430px,62vw)!important;
  height:34px!important;
  margin:0 auto 22px!important;
  opacity:.95!important;
  background:
    linear-gradient(90deg,transparent,#d3b553 20%,#fff3bf 50%,#d3b553 80%,transparent) center/100% 2px no-repeat,
    radial-gradient(circle at 50% 50%,#fff 0 3px,transparent 4px),
    radial-gradient(circle at 37% 50%,#d3b553 0 3px,transparent 4px),
    radial-gradient(circle at 63% 50%,#d3b553 0 3px,transparent 4px)!important;
}

.hero-depth-brand{
  color:#fff!important;
  font-family:"Times New Roman","David",serif!important;
  font-size:clamp(4rem,7.4vw,8.3rem)!important;
  line-height:.92!important;
  font-weight:900!important;
  letter-spacing:0!important;
  text-shadow:0 10px 30px rgba(0,0,0,.42)!important;
}

.hero-depth-brand::before,
.hero-depth-brand::after{
  display:none!important;
}

.home-hero-panel h1{
  margin:18px auto 0!important;
  display:grid!important;
  justify-items:center!important;
  gap:8px!important;
  font-family:"Times New Roman","David",serif!important;
}

.home-hero-panel h1 span{
  color:#d3b553!important;
  font-size:clamp(2.2rem,4vw,4.6rem)!important;
  font-weight:900!important;
  text-shadow:0 1px 0 #fff2bd,0 10px 28px rgba(0,0,0,.28)!important;
}

.home-hero-panel h1 strong{
  margin:0!important;
  padding:0!important;
  color:#f7eed6!important;
  border:0!important;
  background:transparent!important;
  font-size:clamp(1.12rem,1.7vw,1.55rem)!important;
  font-weight:500!important;
  text-shadow:0 8px 22px rgba(0,0,0,.28)!important;
}

.home-hero-panel p{
  display:none!important;
}

.home-horaa-search{
  width:min(880px,84vw)!important;
  min-height:58px!important;
  margin:44px auto 0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 68px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:0 22px 54px rgba(0,0,0,.26)!important;
}

.home-horaa-search input{
  width:100%!important;
  border:0!important;
  outline:0!important;
  padding:0 28px!important;
  direction:rtl!important;
  text-align:right!important;
  color:#123d5c!important;
  background:#fff!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:1.2rem!important;
  font-weight:650!important;
}

.home-horaa-search button{
  border:0!important;
  display:grid!important;
  place-items:center!important;
  background:#d3b553!important;
  cursor:pointer!important;
}

.home-horaa-search svg{
  width:26px!important;
  height:26px!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:3!important;
}

.home-hero-panel .portal-actions{
  margin-top:38px!important;
  justify-content:center!important;
}

.home-hero-panel .portal-actions .btn{
  min-height:50px!important;
  padding:0 32px!important;
  border:1px solid rgba(255,255,255,.82)!important;
  border-radius:999px!important;
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  box-shadow:none!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:1rem!important;
  font-weight:800!important;
}

/* User correction: full-width simple white navigation */
.nav-shell{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:14px 22px 20px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:
    "brand icons"
    "nav nav"!important;
  background:#fff!important;
}

.nav-actions,
.nav-actions::before{
  display:none!important;
}

.brand-subtitle,
.home-hero-panel h1 span,
.horaa-message{
  color:#d3b553!important;
}

.main-nav{
  width:100%!important;
  max-width:none!important;
  min-height:62px!important;
  border-radius:0!important;
  border-inline:0!important;
  border-color:rgba(0,0,0,.08)!important;
  background:#fff!important;
  box-shadow:none!important;
}

.main-nav a{
  color:#111!important;
}

.main-nav a:hover,
.main-nav a[aria-current="page"]{
  color:#111!important;
  background:rgba(211,181,83,.12)!important;
}

/* Refined logo lockup */
.brand{
  justify-self:center!important;
  display:grid!important;
  grid-template-columns:auto auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.brand::before{
  display:none!important;
}

.brand::after{
  content:""!important;
  position:static!important;
  order:-1!important;
  width:64px!important;
  height:64px!important;
  transform:none!important;
  background:url("assets/beit-horaa-emblem.svg") center/contain no-repeat!important;
  filter:drop-shadow(0 10px 18px rgba(9,31,43,.14))!important;
}

.brand > span:last-child{
  display:grid!important;
  justify-items:start!important;
  gap:2px!important;
  line-height:1!important;
}

.brand-title{
  color:#163a31!important;
  font-size:clamp(1rem,1.35vw,1.35rem)!important;
  line-height:1!important;
  font-weight:900!important;
  text-align:right!important;
}

.brand-subtitle{
  margin:0!important;
  color:#d3b553!important;
  font-size:clamp(2rem,2.8vw,3.2rem)!important;
  line-height:.9!important;
  font-weight:900!important;
  text-shadow:0 1px 0 rgba(255,255,255,.9),0 8px 18px rgba(9,31,43,.08)!important;
}

@media(max-width:680px){
  .brand{
    justify-self:start!important;
  }

  .brand::after{
    width:54px!important;
    height:54px!important;
  }

  .brand-subtitle{
    font-size:2rem!important;
  }
}

/* Slim header: logo sits to the right of navigation */
.nav-shell{
  min-height:82px!important;
  padding:10px 24px!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  grid-template-areas:"brand nav icons"!important;
  gap:22px!important;
  align-items:center!important;
}

.brand{
  grid-area:brand!important;
  justify-self:end!important;
  min-width:260px!important;
  gap:10px!important;
}

.brand::after{
  width:54px!important;
  height:54px!important;
}

.brand-title{
  font-size:1rem!important;
}

.brand-subtitle{
  font-size:2.1rem!important;
}

.main-nav{
  grid-area:nav!important;
  width:100%!important;
  min-height:54px!important;
  justify-content:center!important;
  padding:0 12px!important;
}

.main-nav a{
  min-height:38px!important;
  padding:0 12px!important;
  font-size:.92rem!important;
}

.header-quick-icons{
  grid-area:icons!important;
}

.site-header{
  background:#fff!important;
}

@media(max-width:980px){
  .nav-shell{
    grid-template-columns:1fr auto!important;
    grid-template-areas:
      "brand icons"
      "nav nav"!important;
    gap:10px!important;
  }

  .brand{
    justify-self:start!important;
    min-width:0!important;
  }

  .main-nav{
    justify-content:flex-start!important;
    overflow:auto!important;
  }
}

/* Hero embedded title entrance */
.home-hero-panel h1 span{
  color:rgba(255,255,255,.16)!important;
  font-size:clamp(3rem,5.8vw,6rem)!important;
  line-height:.9!important;
  letter-spacing:0!important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.16),
    0 18px 42px rgba(0,0,0,.18)!important;
  mix-blend-mode:screen;
  animation:embeddedTitleEnter 1.9s cubic-bezier(.18,.82,.22,1) both;
}

@keyframes embeddedTitleEnter{
  from{
    opacity:0;
    transform:translateY(36px) scale(.94);
    filter:blur(8px);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
    filter:blur(0);
  }
}

@media(max-width:680px){
  .home-hero-panel h1 span{
    font-size:clamp(2.6rem,11vw,3.8rem)!important;
  }
}

@media(max-width:1080px){
  .nav-shell{
    grid-template-columns:auto minmax(0,1fr) auto!important;
    grid-template-areas:
      "ask brand icons"
      "nav nav nav"!important;
  }

  .main-nav{
    justify-content:flex-start!important;
    overflow:auto!important;
  }
}

@media(max-width:680px){
  .horaa-strip-inner{
    display:grid!important;
    gap:4px!important;
    padding-block:8px!important;
  }

  .nav-shell{
    grid-template-columns:1fr auto!important;
    grid-template-areas:
      "brand icons"
      "nav nav"
      "ask ask"!important;
    padding:14px 12px 18px!important;
  }

  .brand{
    justify-self:start!important;
  }

  .brand::after{
    width:56px!important;
    height:56px!important;
  }

  .brand-title{
    font-size:1rem!important;
  }

  .brand-subtitle{
    font-size:2rem!important;
  }

  .nav-actions{
    justify-self:center!important;
  }

  .home-live-hero{
    min-height:600px!important;
  }

  .home-live-grid{
    padding:60px 0 96px!important;
  }

  .hero-depth-brand{
    font-size:3.2rem!important;
  }
}

/* QNA category view behaves like separate sections */
.qna-category-tabs{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:24px auto 30px;
}

.qna-category-tabs a{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border:1px solid rgba(199,155,69,.25);
  border-radius:999px;
  color:var(--forest);
  background:#fffdf8;
  font-weight:850;
  transition:background 180ms ease,color 180ms ease,box-shadow 180ms ease,transform 180ms ease;
}

.qna-category-tabs a.is-active{
  color:#fff;
  background:linear-gradient(135deg,var(--forest),#235c4c);
  box-shadow:0 14px 32px rgba(24,35,31,.14);
}

.qna-topic{
  animation:qnaTopicEnter 420ms ease both;
}

.issur-subtopic{
  margin:0 0 34px;
}

.issur-subtopic h3{
  max-width:860px;
  margin:0 auto 18px;
  padding:13px 24px;
  text-align:center;
  color:var(--forest);
  background:linear-gradient(90deg,transparent,rgba(199,155,69,.16),transparent);
  border-block:1px solid rgba(199,155,69,.28);
  font-size:1.28rem;
  font-weight:900;
}

.shabbat-subtopic{
  margin:0 0 34px;
}

.shabbat-subtopic h3{
  max-width:860px;
  margin:0 auto 18px;
  padding:13px 24px;
  text-align:center;
  color:var(--forest);
  background:linear-gradient(90deg,transparent,rgba(199,155,69,.16),transparent);
  border-block:1px solid rgba(199,155,69,.28);
  font-size:1.28rem;
  font-weight:900;
}

.shabbat-subtopic-list{
  display:grid;
  gap:12px;
}

.shabbat-item > button strong{
  display:flex;
  align-items:center;
  gap:12px;
}

.shabbat-question-number{
  flex:0 0 auto;
  min-width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:var(--forest);
  background:
    radial-gradient(circle at 35% 25%,#fff8cf 0 18%,transparent 19%),
    linear-gradient(135deg,#f3dc84,#c69d35);
  box-shadow:0 10px 22px rgba(149,108,31,.16);
  font-style:normal;
  font-size:.95rem;
  font-weight:950;
}

.shabbat-question-title{
  min-width:0;
}

.shabbat-source-link,
.issur-source-link{
  margin-top:18px!important;
  padding-top:14px;
  border-top:1px solid rgba(199,155,69,.24);
  color:var(--forest)!important;
  font-weight:850;
}

.shabbat-source-link a,
.issur-source-link a{
  color:var(--gold);
  text-decoration:none;
  border-bottom:1px solid rgba(199,155,69,.42);
}

.shabbat-source-link a:hover,
.issur-source-link a:hover{
  color:#8b681d;
  border-bottom-color:#8b681d;
}

@media(max-width:640px){
  .shabbat-item > button strong{
    align-items:flex-start;
  }

  .shabbat-question-number{
    min-width:34px;
    height:34px;
    font-size:.82rem;
  }
}

/* Final mobile hardening across the site */
html,
body{
  max-width:100%;
  overflow-x:hidden;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

.issur-letter-page figcaption{
  margin:0 0 10px;
  color:var(--gold);
  text-align:center;
  font-weight:900;
}

.issur-letter-page img{
  background:#fff;
}

@media(max-width:1080px){
  .site-header{
    position:relative!important;
  }

  .horaa-strip-inner{
    width:100%;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
    padding:8px 14px!important;
    text-align:center!important;
  }

  .horaa-message,
  .horaa-phone,
  .horaa-strip-inner a{
    white-space:normal!important;
    line-height:1.35!important;
    font-size:.92rem!important;
  }

  .nav-shell{
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    padding:12px 12px 14px!important;
    grid-template-columns:1fr auto!important;
    grid-template-areas:
      "brand icons"
      "nav nav"
      "ask ask"!important;
    gap:10px!important;
    overflow:hidden!important;
  }

  .brand{
    min-width:0!important;
    width:100%!important;
    justify-self:start!important;
    justify-content:flex-start!important;
    text-align:right!important;
    gap:9px!important;
  }

  .brand::after,
  .brand-mark{
    flex:0 0 auto!important;
    width:50px!important;
    height:50px!important;
  }

  .brand-title{
    font-size:.9rem!important;
    line-height:1.1!important;
  }

  .brand-subtitle{
    font-size:clamp(1.3rem,6vw,1.8rem)!important;
    line-height:1!important;
  }

  .header-quick-icons{
    grid-area:icons!important;
    justify-self:end!important;
    display:flex!important;
    gap:8px!important;
  }

  .header-quick-icons button,
  .header-quick-icons a{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }

  .main-nav{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    justify-content:flex-start!important;
    gap:6px!important;
    padding:8px 2px 10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    border-radius:0!important;
    border-inline:0!important;
    box-shadow:none!important;
  }

  .main-nav::-webkit-scrollbar{
    height:4px;
  }

  .main-nav::-webkit-scrollbar-thumb{
    background:rgba(199,155,69,.55);
    border-radius:999px;
  }

  .main-nav a{
    flex:0 0 auto!important;
    min-height:40px!important;
    padding:0 12px!important;
    display:inline-flex!important;
    align-items:center!important;
    white-space:nowrap!important;
    font-size:.9rem!important;
    scroll-snap-align:start;
  }

  .nav-actions{
    width:100%!important;
    justify-self:stretch!important;
    display:flex!important;
    justify-content:center!important;
  }

  .nav-actions .btn{
    width:min(260px,100%)!important;
  }
}

@media(max-width:860px){
  .section,
  .portal-layout,
  .home-live-grid,
  .page-hero{
    padding-block:46px!important;
  }

  .section-inner,
  .hero-inner,
  .nav-shell{
    width:min(100% - 24px,1180px)!important;
  }

  .home-live-hero,
  .hero,
  .page-hero,
  .portal-hero{
    min-height:auto!important;
  }

  .home-hero-panel,
  .hero-copy,
  .page-hero .section-inner{
    width:100%!important;
    max-width:100%!important;
    padding-inline:16px!important;
    text-align:center!important;
    justify-items:center!important;
  }

  .home-hero-panel h1,
  .page-hero h1,
  .qna-hero-title{
    max-width:100%!important;
    font-size:clamp(2.25rem,12vw,4rem)!important;
    line-height:1.05!important;
    overflow-wrap:anywhere;
  }

  .hero-depth-brand,
  .home-hero-panel h1 span{
    font-size:clamp(2.7rem,15vw,4.4rem)!important;
  }

  .lead,
  .page-hero .lead,
  .home-hero-panel p{
    max-width:100%!important;
    font-size:1rem!important;
  }

  .hero-actions,
  .book-actions,
  .portal-actions,
  .amounts,
  .premium-amounts,
  .field-grid,
  .footer-grid,
  .grid-2,
  .grid-3,
  .books-store-layout,
  .donation-stage,
  .impact-cta-grid,
  .pulse-orbit,
  .content-board,
  .home-books-inner,
  .home-donation .donation-story{
    grid-template-columns:1fr!important;
  }

  .btn,
  button[type="submit"]{
    width:100%;
    max-width:330px;
    justify-self:center;
    text-align:center;
  }

  .qna-category-tabs,
  .segmented{
    width:100%;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    overflow-x:auto;
    padding-bottom:8px;
    -webkit-overflow-scrolling:touch;
  }

  .qna-category-tabs a,
  .segmented button{
    flex:0 0 auto;
    white-space:nowrap;
  }

  .qna-search,
  .levado-search,
  .search-box{
    width:100%!important;
    max-width:100%!important;
  }

  .qna-search input,
  .levado-search input,
  input,
  textarea,
  select{
    max-width:100%;
    font-size:16px!important;
  }

  .issur-item button,
  .question-card,
  .accordion button{
    text-align:right;
  }

  .issur-letter-pages{
    gap:16px!important;
  }

  .issur-letter-page{
    width:100%!important;
    padding:6px!important;
    border-radius:8px!important;
    box-shadow:0 12px 30px rgba(24,35,31,.08)!important;
  }

  .issur-letter-page img{
    width:100%!important;
    height:auto!important;
    border-radius:4px!important;
  }

  .accessibility-panel{
    right:12px!important;
    bottom:12px!important;
  }

  .back-to-top{
    left:12px!important;
    bottom:12px!important;
  }

  .accessibility-menu{
    max-width:min(300px,calc(100vw - 28px))!important;
  }
}

@media(max-width:560px){
  .section-inner,
  .hero-inner,
  .nav-shell{
    width:min(100% - 18px,1180px)!important;
  }

  .nav-shell{
    padding-inline:9px!important;
  }

  .brand{
    gap:7px!important;
  }

  .brand::after,
  .brand-mark{
    width:44px!important;
    height:44px!important;
  }

  .brand-subtitle{
    font-size:1.45rem!important;
  }

  .brand-title{
    font-size:.82rem!important;
  }

  .header-quick-icons button,
  .header-quick-icons a{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }

  .main-nav a{
    font-size:.84rem!important;
    padding-inline:10px!important;
  }

  .home-hero-panel,
  .featured-book,
  .donation-box,
  .checkout-box,
  .form-box,
  .side-panel,
  .content-tile,
  .store-book-card,
  .issur-item button,
  .issur-body{
    padding-inline:16px!important;
  }

  .home-live-grid{
    padding-block:42px 70px!important;
  }

  .hero-actions .btn,
  .portal-actions .btn,
  .book-actions .btn{
    max-width:100%;
  }

  .book-stack,
  .real-book-showcase{
    transform:none!important;
    min-height:230px!important;
  }

  .main-book{
    width:min(260px,86vw)!important;
  }

  .issur-subtopic h3{
    padding-inline:12px!important;
    font-size:1.05rem!important;
  }
}

/* FINAL OVERRIDE: fixed mobile header layout */
@media(max-width:900px){
  .site-header{
    position:relative!important;
    overflow:visible!important;
    background:#fff!important;
  }

  .nav-shell{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:74px!important;
    height:74px!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    background:#fff!important;
    border-bottom:1px solid rgba(0,48,24,.14)!important;
  }

  .brand{
    position:absolute!important;
    inset:50% auto auto 50%!important;
    transform:translate(-50%,-50%)!important;
    width:auto!important;
    min-width:0!important;
    max-width:190px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:0!important;
    margin:0!important;
    text-align:center!important;
    z-index:3!important;
  }

  .brand::after,
  .brand-mark{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }

  .brand-title{
    font-size:.76rem!important;
    line-height:1!important;
  }

  .brand-subtitle{
    font-size:1.22rem!important;
    line-height:1!important;
    margin:1px 0 0!important;
  }

  .header-quick-icons{
    position:absolute!important;
    left:12px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;
    z-index:4!important;
  }

  .header-quick-icons a,
  .header-quick-icons button{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    margin:0!important;
  }

  .nav-actions{
    position:absolute!important;
    right:12px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    z-index:5!important;
  }

  .menu-toggle{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    margin:0!important;
  }

  .main-nav{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    right:10px!important;
    left:10px!important;
    width:auto!important;
    max-width:none!important;
    z-index:10!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    max-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    opacity:0!important;
    transform:translateY(-8px)!important;
    background:#fff!important;
    border:0!important;
    border-radius:14px!important;
    box-shadow:none!important;
  }

  body.nav-open .main-nav{
    max-height:620px!important;
    padding:8px!important;
    opacity:1!important;
    transform:translateY(0)!important;
    border:1px solid rgba(0,48,24,.16)!important;
    box-shadow:0 22px 56px rgba(0,48,24,.18)!important;
  }

  .portal-ticker{
    display:none!important;
  }
}

@media(max-width:430px){
  .brand{
    max-width:160px!important;
    gap:6px!important;
  }

  .brand::after,
  .brand-mark{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }

  .brand-subtitle{
    font-size:1.05rem!important;
  }

  .brand-title{
    font-size:.68rem!important;
  }

  .header-quick-icons{
    left:8px!important;
    gap:6px!important;
  }

  .header-quick-icons a,
  .header-quick-icons button{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
  }

  .nav-actions{
    right:8px!important;
  }
}

/* Site-wide Torat Avi green theme */
:root{
  --brand-green:#003018;
  --brand-green-dark:#001A0D;
  --brand-green-deep:#01250F;
  --brand-green-soft:#E8F3EC;
  --brand-green-veil:#F5FAF6;
  --ink:#092413;
  --muted:#4B6251;
  --line:#CFE1D2;
  --bg:#F7FBF6;
  --soft:#EAF6EC;
  --paper:#FFFFFF;
  --sage:#4E745E;
  --sage-dark:#003018;
  --forest:#003018;
  --gold:#D6B75D;
  --rose:#285E3D;
  --coral:#416F52;
  --blue:#075039;
  --cream:#F2FAF0;
  --shadow:0 22px 60px rgba(0,48,24,.14);
}

body{
  color:var(--ink)!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.78),rgba(247,251,246,.95) 540px),
    var(--bg)!important;
}

body::before{
  background:
    linear-gradient(180deg,rgba(247,251,246,.82),rgba(247,251,246,.94)),
    url("assets/chesed-nefesh-bg.webp") center/cover no-repeat!important;
  opacity:.22!important;
}

.site-header,
.nav-shell{
  background:#fff!important;
  border-color:rgba(0,48,24,.18)!important;
}

.horaa-top-strip{
  background:linear-gradient(90deg,#001A0D,#003018,#001A0D)!important;
  border-bottom-color:rgba(214,183,93,.48)!important;
}

.horaa-message,
.horaa-phone::before,
.eyebrow,
.portal-label,
.live-links-grid span,
.issur-letter-page figcaption,
.issur-subtopic h3,
.qna-topic .section-head .eyebrow{
  color:#D6B75D!important;
}

.brand-title,
.brand-subtitle,
.main-nav a,
.section-head h2,
.page-hero h1,
.content-tile h3,
.question-card h3,
.store-book-card h3,
.donation-box h3,
.checkout-box h3,
.rich-text h2,
.rich-text h3,
.issur-item strong,
.qna-category-tabs a,
.footer-brand strong{
  color:var(--brand-green-dark)!important;
}

.main-nav a[aria-current="page"],
.main-nav a:hover{
  color:var(--brand-green)!important;
}

.main-nav a::before,
.qna-category-tabs a.is-active,
.segmented button.is-active,
.btn.primary,
.nav-donate,
.donation-submit,
button[type="submit"]{
  background:linear-gradient(135deg,var(--brand-green),var(--brand-green-dark))!important;
  color:#fff!important;
}

.btn.secondary,
.btn.ghost,
.qna-category-tabs a,
.segmented button,
.amounts button,
.premium-amounts button{
  color:var(--brand-green-dark)!important;
  border-color:rgba(0,48,24,.28)!important;
  background:rgba(255,255,255,.86)!important;
}

.btn.secondary:hover,
.btn.ghost:hover,
.amounts button:hover,
.premium-amounts button:hover,
.amounts button.is-active,
.premium-amounts button.is-active{
  color:#fff!important;
  background:linear-gradient(135deg,var(--brand-green),var(--brand-green-dark))!important;
}

.home-live-hero,
.portal-hero,
.qna-hero,
.torah-impact-cta,
.torah-donation-section,
.daily-spark,
.home-daily-grid{
  background:
    linear-gradient(135deg,rgba(0,31,10,.9),rgba(0,48,24,.72)),
    var(--section-image, url("assets/beit-midrash-hero.webp")) center/cover no-repeat!important;
}

.home-hero-panel,
.impact-cta-grid,
.daily-spark,
.hero-live-card{
  color:#fff!important;
}

.home-hero-panel h1,
.home-hero-panel p,
.home-hero-panel .lead,
.portal-hero h1,
.portal-hero p,
.qna-hero h1,
.qna-hero p,
.torah-impact-cta h2,
.torah-impact-cta p,
.daily-spark h2,
.daily-spark p{
  color:#fff!important;
}

.home-hero-panel h1 strong,
.hero-depth-brand,
.home-hero-panel h1 span{
  color:#F3F8F0!important;
  text-shadow:
    0 2px 0 rgba(0,31,10,.45),
    0 18px 42px rgba(0,0,0,.28)!important;
}

.card,
.form-box,
.side-panel,
.donation-box,
.checkout-box,
.content-tile,
.question-card,
.store-book-card,
.issur-item,
.issur-letter-page,
.levado-item,
.admin-card{
  background:linear-gradient(180deg,#fff,rgba(246,251,246,.96))!important;
  border-color:rgba(0,48,24,.16)!important;
  box-shadow:0 18px 46px rgba(0,48,24,.09)!important;
}

.site-footer{
  background:linear-gradient(135deg,var(--brand-green-deep),var(--brand-green-dark))!important;
  color:#F6FBF6!important;
}

.site-footer,
.site-footer a,
.site-footer p,
.site-footer li{
  color:#F6FBF6!important;
}

.site-footer .brand-subtitle,
.site-footer .footer-brand strong{
  color:#fff!important;
}

input,
select,
textarea{
  color:var(--ink)!important;
  border-color:rgba(0,48,24,.24)!important;
  background:#fff!important;
}

input:focus,
select:focus,
textarea:focus{
  outline:2px solid rgba(0,48,24,.22)!important;
  border-color:var(--brand-green)!important;
}

.scroll-progress span,
.accessibility-toggle,
.back-to-top{
  background:var(--brand-green)!important;
  color:#fff!important;
}

/* Section separators matched to #003018 */
main > section:not(:first-child)::before{
  content:""!important;
  position:absolute!important;
  inset:-1px 0 auto 0!important;
  height:3px!important;
  z-index:2!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(0,48,24,.18) 18%,
      rgba(214,183,93,.58) 50%,
      rgba(0,48,24,.18) 82%,
      transparent 100%)!important;
  box-shadow:
    0 8px 22px rgba(0,48,24,.08),
    0 -1px 0 rgba(255,255,255,.8) inset!important;
  animation:sectionGreenGlow 8s ease-in-out infinite!important;
  filter:none!important;
}

main > section:not(:first-child)::after{
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(232,243,236,.18) 44%,
      rgba(214,183,93,.16) 52%,
      transparent 64%)!important;
}

@keyframes sectionGreenGlow{
  0%,100%{
    opacity:.48;
    transform:scaleX(.86);
  }
  50%{
    opacity:.92;
    transform:scaleX(1);
  }
}

/* Real mobile navigation */
@media(max-width:760px){
  .site-header{
    position:relative!important;
    overflow:visible!important;
  }

  .nav-shell{
    width:100%!important;
    max-width:100%!important;
    padding:10px 12px 12px!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    grid-template-areas:
      "menu brand icons"
      "nav nav nav"!important;
    align-items:center!important;
    gap:10px!important;
    overflow:visible!important;
  }

  .brand{
    grid-area:brand!important;
    min-width:0!important;
    width:auto!important;
    justify-self:center!important;
    justify-content:center!important;
    text-align:center!important;
    padding:0!important;
    gap:8px!important;
  }

  .brand::after,
  .brand-mark{
    width:42px!important;
    height:42px!important;
  }

  .brand-title{
    font-size:.78rem!important;
  }

  .brand-subtitle{
    font-size:1.28rem!important;
  }

  .header-quick-icons{
    grid-area:icons!important;
    justify-self:end!important;
    display:flex!important;
    gap:6px!important;
  }

  .header-quick-icons a,
  .header-quick-icons button{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }

  .nav-actions{
    grid-area:menu!important;
    width:44px!important;
    justify-self:start!important;
    display:block!important;
  }

  .menu-toggle{
    width:42px!important;
    height:42px!important;
    display:grid!important;
    place-content:center!important;
    gap:5px!important;
    padding:0!important;
    border:1px solid rgba(0,48,24,.28)!important;
    border-radius:9px!important;
    background:#fff!important;
    box-shadow:0 8px 22px rgba(0,48,24,.1)!important;
  }

  .menu-toggle span{
    width:20px!important;
    height:2px!important;
    display:block!important;
    background:#003018!important;
    border-radius:99px!important;
    transition:transform 180ms ease,opacity 180ms ease!important;
  }

  body.nav-open .menu-toggle span:nth-child(1){
    transform:translateY(7px) rotate(45deg)!important;
  }

  body.nav-open .menu-toggle span:nth-child(2){
    opacity:0!important;
  }

  body.nav-open .menu-toggle span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg)!important;
  }

  .main-nav{
    grid-area:nav!important;
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    max-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    border:0!important;
    background:linear-gradient(180deg,#fff,rgba(245,250,246,.98))!important;
    box-shadow:none!important;
    opacity:0!important;
    transform:translateY(-8px)!important;
    transition:max-height 260ms ease,opacity 180ms ease,transform 220ms ease,padding 220ms ease!important;
  }

  body.nav-open .main-nav{
    max-height:620px!important;
    margin-top:8px!important;
    padding:8px!important;
    opacity:1!important;
    transform:translateY(0)!important;
    border:1px solid rgba(0,48,24,.16)!important;
    border-radius:14px!important;
    box-shadow:0 18px 46px rgba(0,48,24,.12)!important;
  }

  .main-nav a{
    width:100%!important;
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 14px!important;
    border-radius:10px!important;
    color:#001A0D!important;
    font-size:1rem!important;
    font-weight:800!important;
    white-space:normal!important;
    border-bottom:1px solid rgba(0,48,24,.08)!important;
  }

  .main-nav a:last-child{
    border-bottom:0!important;
  }

  .main-nav a[aria-current="page"],
  .main-nav a:hover{
    color:#fff!important;
    background:linear-gradient(135deg,#003018,#001A0D)!important;
  }

  .main-nav .nav-donate{
    margin:6px 0!important;
    color:#fff!important;
    background:linear-gradient(135deg,#003018,#D6B75D)!important;
    border-bottom:0!important;
  }
}

/* Mobile header rebuild after visual QA */
@media(max-width:900px){
  .site-header{
    position:relative!important;
    background:#fff!important;
    overflow:visible!important;
  }

  .horaa-top-strip{
    min-height:34px!important;
  }

  .horaa-strip-inner{
    min-height:34px!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:12px!important;
    padding:6px 10px!important;
    text-align:center!important;
  }

  .horaa-message{
    display:none!important;
  }

  .horaa-phone,
  .horaa-strip-inner a{
    font-size:.9rem!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }

  .nav-shell{
    direction:ltr!important;
    width:100%!important;
    max-width:100%!important;
    min-height:72px!important;
    padding:8px 10px!important;
    display:grid!important;
    grid-template-columns:88px minmax(0,1fr) 48px!important;
    grid-template-areas:
      "icons brand menu"
      "nav nav nav"!important;
    align-items:center!important;
    gap:8px!important;
    overflow:visible!important;
    background:#fff!important;
    border-bottom:1px solid rgba(0,48,24,.14)!important;
  }

  .brand{
    direction:rtl!important;
    grid-area:brand!important;
    min-width:0!important;
    width:100%!important;
    justify-self:center!important;
    justify-content:center!important;
    display:flex!important;
    gap:8px!important;
    padding:0!important;
    text-align:center!important;
    order:initial!important;
  }

  .brand::after,
  .brand-mark{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border-radius:10px!important;
  }

  .brand-title{
    font-size:.78rem!important;
    line-height:1.05!important;
  }

  .brand-subtitle{
    font-size:1.32rem!important;
    line-height:1!important;
    margin-top:1px!important;
  }

  .header-quick-icons{
    direction:rtl!important;
    grid-area:icons!important;
    justify-self:start!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
  }

  .header-quick-icons a,
  .header-quick-icons button{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    border-radius:50%!important;
    background:#fff!important;
    border:1px solid rgba(0,48,24,.14)!important;
    box-shadow:0 8px 20px rgba(0,48,24,.08)!important;
  }

  .nav-actions{
    direction:rtl!important;
    grid-area:menu!important;
    justify-self:end!important;
    align-self:center!important;
    width:44px!important;
    height:44px!important;
    display:block!important;
    position:static!important;
    order:initial!important;
  }

  .menu-toggle{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    display:grid!important;
    place-content:center!important;
    gap:5px!important;
    padding:0!important;
    margin:0!important;
    border:1px solid rgba(0,48,24,.28)!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 8px 20px rgba(0,48,24,.08)!important;
  }

  .menu-toggle span{
    width:22px!important;
    height:2px!important;
    display:block!important;
    background:#003018!important;
    border-radius:999px!important;
  }

  .main-nav{
    direction:rtl!important;
    grid-area:nav!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    max-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    opacity:0!important;
    transform:translateY(-6px)!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    transition:max-height 260ms ease,opacity 180ms ease,transform 220ms ease,padding 220ms ease!important;
  }

  body.nav-open .main-nav{
    max-height:620px!important;
    margin-top:8px!important;
    padding:8px!important;
    opacity:1!important;
    transform:translateY(0)!important;
    border:1px solid rgba(0,48,24,.16)!important;
    border-radius:14px!important;
    box-shadow:0 18px 46px rgba(0,48,24,.12)!important;
  }

  .main-nav a{
    width:100%!important;
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 14px!important;
    border-radius:10px!important;
    color:#001A0D!important;
    font-size:1rem!important;
    font-weight:800!important;
    white-space:normal!important;
    border-bottom:1px solid rgba(0,48,24,.08)!important;
  }

  .main-nav a:last-child{
    border-bottom:0!important;
  }

  .main-nav a[aria-current="page"],
  .main-nav a:hover{
    color:#fff!important;
    background:linear-gradient(135deg,#003018,#001A0D)!important;
  }

  .main-nav .nav-donate{
    margin:6px 0!important;
    color:#fff!important;
    background:linear-gradient(135deg,#003018,#D6B75D)!important;
    border-bottom:0!important;
  }

  .portal-ticker{
    display:none!important;
  }
}

@media(max-width:420px){
  .nav-shell{
    grid-template-columns:80px minmax(0,1fr) 46px!important;
    padding-inline:8px!important;
  }

  .brand::after,
  .brand-mark{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
  }

  .brand-title{
    font-size:.72rem!important;
  }

  .brand-subtitle{
    font-size:1.16rem!important;
  }

  .header-quick-icons a,
  .header-quick-icons button{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
  }
}

/* Mobile header emergency fix: no broken empty row */
@media(max-width:900px){
  .site-header{
    position:relative!important;
    overflow:visible!important;
  }

  .nav-shell{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:74px!important;
    height:74px!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
    background:#fff!important;
    border-bottom:1px solid rgba(0,48,24,.14)!important;
  }

  .brand{
    position:absolute!important;
    inset:50% auto auto 50%!important;
    transform:translate(-50%,-50%)!important;
    width:auto!important;
    min-width:0!important;
    max-width:190px!important;
    height:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:0!important;
    margin:0!important;
    text-align:center!important;
    z-index:3!important;
  }

  .brand::after,
  .brand-mark{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }

  .brand-title{
    font-size:.76rem!important;
    line-height:1!important;
  }

  .brand-subtitle{
    font-size:1.22rem!important;
    line-height:1!important;
    margin:1px 0 0!important;
  }

  .header-quick-icons{
    position:absolute!important;
    left:12px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;
    z-index:4!important;
  }

  .header-quick-icons a,
  .header-quick-icons button{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    margin:0!important;
  }

  .nav-actions{
    position:absolute!important;
    right:12px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    z-index:5!important;
  }

  .menu-toggle{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    margin:0!important;
  }

  .main-nav{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    right:10px!important;
    left:10px!important;
    width:auto!important;
    max-width:none!important;
    z-index:10!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    max-height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    opacity:0!important;
    transform:translateY(-8px)!important;
    background:#fff!important;
    border:0!important;
    border-radius:14px!important;
    box-shadow:none!important;
  }

  body.nav-open .main-nav{
    max-height:620px!important;
    padding:8px!important;
    opacity:1!important;
    transform:translateY(0)!important;
    border:1px solid rgba(0,48,24,.16)!important;
    box-shadow:0 22px 56px rgba(0,48,24,.18)!important;
  }

  .portal-ticker{
    display:none!important;
  }
}

@media(max-width:430px){
  .brand{
    max-width:160px!important;
    gap:6px!important;
  }

  .brand::after,
  .brand-mark{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }

  .brand-subtitle{
    font-size:1.05rem!important;
  }

  .brand-title{
    font-size:.68rem!important;
  }

  .header-quick-icons{
    left:8px!important;
    gap:6px!important;
  }

  .header-quick-icons a,
  .header-quick-icons button{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
  }

  .nav-actions{
    right:8px!important;
  }
}

.issur-subtopic-list{
  display:grid;
  gap:12px;
}

.issur-letter{
  max-width:980px;
  margin:0 auto 18px;
  padding:28px 30px;
  background:
    linear-gradient(180deg,rgba(255,253,248,.96),rgba(248,242,229,.94));
  border:1px solid rgba(199,155,69,.24);
  border-radius:18px 6px 18px 6px;
  box-shadow:0 18px 42px rgba(24,35,31,.07);
}

.issur-letter > span{
  display:inline-flex;
  margin-bottom:10px;
  color:var(--gold);
  font-weight:900;
}

.issur-letter h4{
  margin:0 0 18px;
  color:var(--forest);
  font-size:1.32rem;
}

.issur-letter-body{
  display:grid;
  gap:13px;
}

.issur-letter-body p{
  margin:0;
  color:var(--ink);
  line-height:1.95;
}

.issur-letter-body strong{
  color:var(--forest);
  font-weight:900;
}

.issur-letter-pages{
  display:grid;
  gap:22px;
  justify-items:center;
}

.issur-letter-page{
  width:min(920px,100%);
  margin:0;
  padding:14px;
  background:#fff;
  border:1px solid rgba(49,88,73,.12);
  border-radius:10px;
  box-shadow:0 18px 46px rgba(24,35,31,.08);
}

.issur-letter-page img{
  display:block;
  width:100%;
  height:auto;
  border-radius:4px;
}

.issur-letter-texts{
  display:grid;
  gap:26px;
}

.issur-letter-text{
  max-width:980px;
  margin:0 auto 34px;
  padding:0;
  background:#fffdf8;
  border:1px solid rgba(49,88,73,.18);
  border-radius:12px;
  box-shadow:0 28px 70px rgba(24,35,31,.13);
  position:relative;
  overflow:hidden;
}

.issur-letter-text::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:9px;
  background:linear-gradient(90deg,var(--forest),var(--gold),var(--forest));
  pointer-events:none;
}

.issur-letter-text > *{
  position:relative;
  z-index:1;
}

.issur-letter-text h4{
  margin:0;
  padding:26px 32px 24px;
  color:#fff;
  text-align:center;
  font-size:1.5rem;
  background:
    linear-gradient(135deg,rgba(22,53,43,.96),rgba(36,83,68,.92));
  border-bottom:3px solid rgba(199,155,69,.7);
}

.issur-letter-text-page{
  margin:26px 32px;
  padding:24px 28px;
  background:linear-gradient(180deg,#fff,rgba(248,242,229,.72));
  border:1px solid rgba(199,155,69,.18);
  border-radius:10px;
}

.issur-letter-text-page + .issur-letter-text-page{
  margin-top:22px;
  border-top:1px solid rgba(199,155,69,.18);
}

.issur-letter-text-page > span{
  display:block;
  margin:0 0 16px;
  color:var(--gold);
  text-align:center;
  font-weight:900;
}

.issur-letter-text-page p{
  margin:0 0 15px;
  color:var(--ink);
  line-height:2;
  font-size:1.04rem;
}

.issur-letter-text-page sup{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  margin-inline:3px;
  color:#fff;
  background:var(--gold);
  border-radius:50%;
  font-size:.72rem;
  font-weight:900;
  line-height:1;
  vertical-align:super;
}

.letter-footnote-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  margin-inline-end:8px;
  padding:2px 10px;
  color:#fff;
  background:var(--forest);
  border-radius:999px;
  font-size:.84rem;
  font-weight:900;
}

.qna-topic .section-head{
  width:100%;
  max-width:none;
  margin:0 auto 24px;
  text-align:center;
  justify-items:center;
}

.qna-topic .section-head h2{
  margin-inline:auto;
  text-align:center;
}

@keyframes qnaTopicEnter{
  from{
    opacity:0;
    transform:translateY(18px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* Mobile final authority: keep this block last */
html,
body{
  max-width:100%!important;
  overflow-x:hidden!important;
}

body{
  min-width:0!important;
}

img,
svg,
video,
canvas{
  max-width:100%!important;
}

.issur-letter-page figcaption{
  margin:0 0 10px;
  color:var(--gold);
  text-align:center;
  font-weight:900;
}

@media(max-width:1080px){
  .site-header{
    position:relative!important;
    inset:auto!important;
  }

  .horaa-strip-inner{
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
    padding:8px 14px!important;
    text-align:center!important;
  }

  .horaa-message,
  .horaa-phone,
  .horaa-strip-inner a{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.35!important;
    font-size:.92rem!important;
  }

  .nav-shell{
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    padding:12px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "brand icons"
      "nav nav"
      "ask ask"!important;
    gap:10px!important;
    overflow:hidden!important;
  }

  .brand{
    min-width:0!important;
    width:100%!important;
    justify-self:start!important;
    justify-content:flex-start!important;
    text-align:right!important;
    gap:9px!important;
    padding:0!important;
  }

  .brand::after,
  .brand-mark{
    flex:0 0 auto!important;
    width:50px!important;
    height:50px!important;
  }

  .brand-title{
    font-size:.9rem!important;
    line-height:1.1!important;
  }

  .brand-subtitle{
    font-size:clamp(1.3rem,6vw,1.8rem)!important;
    line-height:1!important;
  }

  .header-quick-icons{
    grid-area:icons!important;
    justify-self:end!important;
    display:flex!important;
    gap:8px!important;
  }

  .header-quick-icons button,
  .header-quick-icons a{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }

  .main-nav{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    justify-content:flex-start!important;
    gap:6px!important;
    padding:8px 2px 10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    border-radius:0!important;
    border-inline:0!important;
    box-shadow:none!important;
    clip-path:none!important;
  }

  .main-nav a{
    flex:0 0 auto!important;
    min-height:40px!important;
    padding:0 12px!important;
    display:inline-flex!important;
    align-items:center!important;
    white-space:nowrap!important;
    font-size:.9rem!important;
    scroll-snap-align:start;
  }

  .nav-actions{
    width:100%!important;
    justify-self:stretch!important;
    display:flex!important;
    justify-content:center!important;
  }

  .nav-actions .btn{
    width:min(260px,100%)!important;
  }
}

@media(max-width:860px){
  .section-inner,
  .hero-inner,
  .nav-shell{
    width:min(100% - 24px,1180px)!important;
  }

  .section,
  .portal-layout,
  .home-live-grid,
  .page-hero{
    padding-block:46px!important;
  }

  .home-live-hero,
  .hero,
  .page-hero,
  .portal-hero{
    min-height:auto!important;
  }

  .home-hero-panel,
  .hero-copy,
  .page-hero .section-inner{
    width:100%!important;
    max-width:100%!important;
    padding-inline:16px!important;
    text-align:center!important;
    justify-items:center!important;
  }

  .home-hero-panel h1,
  .page-hero h1,
  .qna-hero-title{
    max-width:100%!important;
    font-size:clamp(2.25rem,12vw,4rem)!important;
    line-height:1.05!important;
    overflow-wrap:anywhere;
  }

  .hero-depth-brand,
  .home-hero-panel h1 span{
    font-size:clamp(2.7rem,15vw,4.4rem)!important;
  }

  .lead,
  .page-hero .lead,
  .home-hero-panel p{
    max-width:100%!important;
    font-size:1rem!important;
  }

  .hero-actions,
  .book-actions,
  .portal-actions,
  .amounts,
  .premium-amounts,
  .field-grid,
  .footer-grid,
  .grid-2,
  .grid-3,
  .books-store-layout,
  .donation-stage,
  .impact-cta-grid,
  .pulse-orbit,
  .content-board,
  .home-books-inner,
  .home-donation .donation-story,
  .directory-grid,
  .impact-steps,
  .live-links-grid{
    grid-template-columns:1fr!important;
  }

  .btn,
  button[type="submit"]{
    width:100%;
    max-width:330px;
    justify-self:center;
    text-align:center;
  }

  .qna-category-tabs,
  .segmented{
    width:100%;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    padding-bottom:8px;
    -webkit-overflow-scrolling:touch;
  }

  .qna-category-tabs a,
  .segmented button{
    flex:0 0 auto;
    white-space:nowrap;
  }

  .qna-search,
  .levado-search,
  .search-box{
    width:100%!important;
    max-width:100%!important;
  }

  .qna-search input,
  .levado-search input,
  input,
  textarea,
  select{
    max-width:100%;
    font-size:16px!important;
  }

  .issur-letter-pages{
    gap:16px!important;
  }

  .issur-letter-page{
    width:100%!important;
    max-width:100%!important;
    padding:6px!important;
    border-radius:8px!important;
    box-shadow:0 12px 30px rgba(24,35,31,.08)!important;
  }

  .issur-letter-page img{
    width:100%!important;
    height:auto!important;
    border-radius:4px!important;
  }

  .accessibility-panel{
    right:12px!important;
    bottom:12px!important;
  }

  .back-to-top{
    left:12px!important;
    bottom:12px!important;
  }

  .accessibility-menu{
    max-width:min(300px,calc(100vw - 28px))!important;
  }
}

@media(max-width:560px){
  .section-inner,
  .hero-inner,
  .nav-shell{
    width:min(100% - 18px,1180px)!important;
  }

  .nav-shell{
    padding-inline:9px!important;
  }

  .brand{
    gap:7px!important;
  }

  .brand::after,
  .brand-mark{
    width:44px!important;
    height:44px!important;
  }

  .brand-subtitle{
    font-size:1.45rem!important;
  }

  .brand-title{
    font-size:.82rem!important;
  }

  .header-quick-icons button,
  .header-quick-icons a{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }

  .main-nav a{
    font-size:.84rem!important;
    padding-inline:10px!important;
  }

  .home-hero-panel,
  .featured-book,
  .donation-box,
  .checkout-box,
  .form-box,
  .side-panel,
  .content-tile,
  .store-book-card,
  .issur-item button,
  .issur-body{
    padding-inline:16px!important;
  }

  .home-live-grid{
    padding-block:42px 70px!important;
  }

  .book-stack,
  .real-book-showcase{
    transform:none!important;
    min-height:230px!important;
  }

  .main-book{
    width:min(260px,86vw)!important;
  }

  .issur-subtopic h3{
    padding-inline:12px!important;
    font-size:1.05rem!important;
  }
}

/* ABSOLUTE LAST MOBILE HEADER FIX */
@media(max-width:900px){
  .site-header{position:relative!important;overflow:visible!important;background:#fff!important;}
  .horaa-top-strip{min-height:34px!important;}
  .horaa-strip-inner{min-height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;padding:6px 10px!important;}
  .horaa-message{display:none!important;}
  .horaa-phone,.horaa-strip-inner a{font-size:.9rem!important;line-height:1.2!important;white-space:nowrap!important;}
  .nav-shell{position:relative!important;display:block!important;width:100%!important;max-width:100%!important;min-height:74px!important;height:74px!important;padding:0!important;margin:0!important;overflow:visible!important;background:#fff!important;border-bottom:1px solid rgba(0,48,24,.14)!important;}
  .brand{position:absolute!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;width:auto!important;min-width:0!important;max-width:190px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0!important;margin:0!important;text-align:center!important;z-index:3!important;}
  .brand::after,.brand-mark{width:42px!important;height:42px!important;min-width:42px!important;}
  .brand-title{font-size:.76rem!important;line-height:1!important;}
  .brand-subtitle{font-size:1.22rem!important;line-height:1!important;margin:1px 0 0!important;}
  .header-quick-icons{position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;z-index:4!important;}
  .header-quick-icons a,.header-quick-icons button{width:40px!important;height:40px!important;min-width:40px!important;margin:0!important;}
  .nav-actions{position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;width:44px!important;height:44px!important;margin:0!important;padding:0!important;display:block!important;z-index:5!important;}
  .menu-toggle{width:44px!important;height:44px!important;min-width:44px!important;margin:0!important;}
  .main-nav{position:absolute!important;top:calc(100% + 8px)!important;right:10px!important;left:10px!important;width:auto!important;max-width:none!important;z-index:10!important;display:grid!important;grid-template-columns:1fr!important;max-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important;opacity:0!important;transform:translateY(-8px)!important;background:#fff!important;border:0!important;border-radius:14px!important;box-shadow:none!important;}
  body.nav-open .main-nav{max-height:620px!important;padding:8px!important;opacity:1!important;transform:translateY(0)!important;border:1px solid rgba(0,48,24,.16)!important;box-shadow:0 22px 56px rgba(0,48,24,.18)!important;}
  .main-nav a{width:100%!important;min-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 14px!important;border-radius:10px!important;color:#001A0D!important;font-size:1rem!important;font-weight:800!important;white-space:normal!important;border-bottom:1px solid rgba(0,48,24,.08)!important;}
  .main-nav .nav-donate{margin:6px 0!important;color:#fff!important;background:linear-gradient(135deg,#003018,#D6B75D)!important;border-bottom:0!important;}
  .portal-ticker{display:none!important;}
}
@media(max-width:430px){
  .brand{max-width:160px!important;gap:6px!important;}
  .brand::after,.brand-mark{width:38px!important;height:38px!important;min-width:38px!important;}
  .brand-subtitle{font-size:1.05rem!important;}
  .brand-title{font-size:.68rem!important;}
  .header-quick-icons{left:8px!important;gap:6px!important;}
  .header-quick-icons a,.header-quick-icons button{width:36px!important;height:36px!important;min-width:36px!important;}
  .nav-actions{right:8px!important;}
}

/* Homepage quick blocks: alternating first-load entrance */
.pulse-orbit a{
  animation:quickBlockEnterRight 760ms cubic-bezier(.18,.82,.22,1) both;
  will-change:transform,opacity,filter;
}

.pulse-orbit a:nth-child(even){
  animation-name:quickBlockEnterLeft;
}

.pulse-orbit a:nth-child(1){animation-delay:120ms;}
.pulse-orbit a:nth-child(2){animation-delay:300ms;}
.pulse-orbit a:nth-child(3){animation-delay:480ms;}
.pulse-orbit a:nth-child(4){animation-delay:660ms;}
.pulse-orbit a:nth-child(5){animation-delay:840ms;}
.pulse-orbit a:nth-child(6){animation-delay:1020ms;}

@keyframes quickBlockEnterRight{
  from{
    opacity:0;
    transform:translateX(52px) scale(.94);
    filter:blur(8px);
  }
  70%{
    opacity:1;
    filter:blur(0);
  }
  to{
    opacity:1;
    transform:translateX(0) scale(1);
    filter:blur(0);
  }
}

@keyframes quickBlockEnterLeft{
  from{
    opacity:0;
    transform:translateX(-52px) scale(.94);
    filter:blur(8px);
  }
  70%{
    opacity:1;
    filter:blur(0);
  }
  to{
    opacity:1;
    transform:translateX(0) scale(1);
    filter:blur(0);
  }
}

body.reduce-motion .pulse-orbit a{
  animation:none!important;
}

/* ABSOLUTE LAST PULSE SPACING FIX */
.home-pulse.refined-pulse{
  position:relative!important;
  margin-top:0!important;
  padding:28px 0!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(245,250,246,.94))!important;
}

.home-pulse.refined-pulse::before,
.home-pulse.refined-pulse::after{
  content:""!important;
  position:absolute!important;
  right:clamp(20px,8vw,150px)!important;
  left:clamp(20px,8vw,150px)!important;
  height:2px!important;
  z-index:2!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,transparent,rgba(0,48,24,.22),rgba(214,183,93,.68),rgba(0,48,24,.22),transparent)!important;
  box-shadow:0 7px 18px rgba(0,48,24,.08)!important;
  animation:pulseSectionLine 7.5s ease-in-out infinite!important;
}

.home-pulse.refined-pulse::before{
  top:0!important;
  inset-inline:clamp(20px,8vw,150px)!important;
}

.home-pulse.refined-pulse::after{
  top:auto!important;
  bottom:0!important;
  inset-inline:clamp(20px,8vw,150px)!important;
  transform-origin:center!important;
}

.home-pulse.refined-pulse .pulse-orbit{
  margin-top:0!important;
  margin-bottom:0!important;
}

@keyframes pulseSectionLine{
  0%,100%{opacity:.46;transform:scaleX(.84)}
  50%{opacity:.95;transform:scaleX(1)}
}

@media(max-width:860px){
  .home-pulse.refined-pulse{
    padding:20px 0!important;
  }
  .home-pulse.refined-pulse::before,
  .home-pulse.refined-pulse::after{
    right:18px!important;
    left:18px!important;
  }
}

/* ABSOLUTE LAST HOME SECTION LINES */
.scroll-progress span{
  background:linear-gradient(90deg,#C99A2E,#F4E2A0,#D6B75D,#B8841D)!important;
  box-shadow:0 0 16px rgba(214,183,93,.5)!important;
}

body:has(.home-live-hero) main > section:not(:first-child)::before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:clamp(18px,7vw,140px)!important;
  left:clamp(18px,7vw,140px)!important;
  height:2px!important;
  z-index:3!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.78),rgba(0,48,24,.34),rgba(255,255,255,.78),transparent)!important;
  box-shadow:0 8px 22px rgba(0,48,24,.08)!important;
  animation:homeCalmLine 8s ease-in-out infinite!important;
  filter:none!important;
}

body:has(.home-live-hero) main > section:not(:first-child)::after{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:0!important;
  left:0!important;
  height:34px!important;
  z-index:2!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(255,255,255,.32),rgba(232,243,236,.12),transparent)!important;
  transform:none!important;
  animation:none!important;
}

@keyframes homeCalmLine{
  0%,100%{opacity:.42;transform:scaleX(.82)}
  50%{opacity:.9;transform:scaleX(1)}
}

@media(max-width:860px){
  body:has(.home-live-hero) main > section:not(:first-child)::before{
    right:18px!important;
    left:18px!important;
  }
}

/* ABSOLUTE LAST DYNAMIC HOME DIVIDERS */
body:has(.home-live-hero) main > section{
  position:relative!important;
}

body:has(.home-live-hero) main > section:not(:first-child)::before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:clamp(18px,7vw,140px)!important;
  left:clamp(18px,7vw,140px)!important;
  height:3px!important;
  z-index:5!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,.72) 18%,
      rgba(0,48,24,.42) 38%,
      rgba(244,226,160,.72) 50%,
      rgba(0,48,24,.42) 62%,
      rgba(255,255,255,.72) 82%,
      transparent 100%)!important;
  background-size:180% 100%!important;
  border-radius:999px!important;
  box-shadow:
    0 0 12px rgba(255,255,255,.5),
    0 7px 20px rgba(0,48,24,.1)!important;
  animation:homeDynamicDivider 6.8s ease-in-out infinite!important;
  filter:none!important;
}

body:has(.home-live-hero) main > section:not(:first-child)::after{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:clamp(34px,11vw,210px)!important;
  left:clamp(34px,11vw,210px)!important;
  height:18px!important;
  z-index:4!important;
  pointer-events:none!important;
  background:radial-gradient(ellipse at center,rgba(255,255,255,.34),rgba(232,243,236,.16) 42%,transparent 72%)!important;
  transform:translateY(-8px)!important;
  animation:homeDividerBreath 6.8s ease-in-out infinite!important;
}

@keyframes homeDynamicDivider{
  0%,100%{
    opacity:.48;
    transform:scaleX(.78);
    background-position:0% 50%;
  }
  50%{
    opacity:1;
    transform:scaleX(1);
    background-position:100% 50%;
  }
}

@keyframes homeDividerBreath{
  0%,100%{
    opacity:.18;
    transform:translateY(-8px) scaleX(.82);
  }
  50%{
    opacity:.48;
    transform:translateY(-8px) scaleX(1);
  }
}

@media(max-width:860px){
  body:has(.home-live-hero) main > section:not(:first-child)::before{
    right:18px!important;
    left:18px!important;
  }
  body:has(.home-live-hero) main > section:not(:first-child)::after{
    right:28px!important;
    left:28px!important;
  }
}

/* ABSOLUTE LAST SPECIFIC HOME DIVIDERS */
.home-books-feature,
.torah-directory{
  position:relative!important;
}

.home-books-feature::before,
.torah-directory::before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:clamp(18px,7vw,140px)!important;
  left:clamp(18px,7vw,140px)!important;
  height:4px!important;
  z-index:12!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.78),rgba(0,48,24,.46),rgba(244,226,160,.78),rgba(0,48,24,.46),rgba(255,255,255,.78),transparent)!important;
  background-size:180% 100%!important;
  border-radius:999px!important;
  box-shadow:0 0 14px rgba(255,255,255,.55),0 8px 22px rgba(0,48,24,.12)!important;
  animation:specificHomeDivider 6.4s ease-in-out infinite!important;
  filter:none!important;
}

.home-books-feature::after,
.torah-directory::after{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:clamp(34px,11vw,210px)!important;
  left:clamp(34px,11vw,210px)!important;
  height:20px!important;
  z-index:11!important;
  pointer-events:none!important;
  background:radial-gradient(ellipse at center,rgba(255,255,255,.38),rgba(232,243,236,.18) 46%,transparent 74%)!important;
  transform:translateY(-9px)!important;
  animation:specificHomeDividerGlow 6.4s ease-in-out infinite!important;
}

@keyframes specificHomeDivider{
  0%,100%{opacity:.52;transform:scaleX(.8);background-position:0% 50%;}
  50%{opacity:1;transform:scaleX(1);background-position:100% 50%;}
}

@keyframes specificHomeDividerGlow{
  0%,100%{opacity:.2;transform:translateY(-9px) scaleX(.82);}
  50%{opacity:.52;transform:translateY(-9px) scaleX(1);}
}

@media(max-width:860px){
  .home-books-feature::before,
  .torah-directory::before{right:18px!important;left:18px!important;}
  .home-books-feature::after,
  .torah-directory::after{right:28px!important;left:28px!important;}
}

/* ABSOLUTE LAST REAL HOME DIVIDERS */
.home-section-divider{
  position:relative!important;
  height:0!important;
  margin:0!important;
  z-index:30!important;
  pointer-events:none!important;
  isolation:isolate!important;
}

.home-section-divider::before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:clamp(18px,7vw,140px)!important;
  left:clamp(18px,7vw,140px)!important;
  height:3px!important;
  z-index:5!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,.72) 18%,
      rgba(0,48,24,.42) 38%,
      rgba(244,226,160,.72) 50%,
      rgba(0,48,24,.42) 62%,
      rgba(255,255,255,.72) 82%,
      transparent 100%)!important;
  background-size:180% 100%!important;
  border-radius:999px!important;
  box-shadow:
    0 0 12px rgba(255,255,255,.5),
    0 7px 20px rgba(0,48,24,.1)!important;
  animation:homeDynamicDivider 6.8s ease-in-out infinite!important;
  filter:none!important;
}

.home-section-divider::after{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:clamp(34px,11vw,210px)!important;
  left:clamp(34px,11vw,210px)!important;
  height:18px!important;
  z-index:4!important;
  pointer-events:none!important;
  background:radial-gradient(ellipse at center,rgba(255,255,255,.34),rgba(232,243,236,.16) 42%,transparent 72%)!important;
  transform:translateY(-8px)!important;
  animation:homeDividerBreath 6.8s ease-in-out infinite!important;
}

.home-section-divider span{
  display:none!important;
}

@media(max-width:860px){
  .home-section-divider::before{
    right:18px!important;
    left:18px!important;
  }
  .home-section-divider::after{
    right:28px!important;
    left:28px!important;
  }
}

/* ABSOLUTE LAST NAV DROPDOWN */
.main-nav .nav-dropdown{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  z-index:20!important;
}

.main-nav .nav-dropdown-trigger::after{
  content:""!important;
  width:6px!important;
  height:6px!important;
  margin-inline-start:7px!important;
  border-inline-start:2px solid currentColor!important;
  border-bottom:2px solid currentColor!important;
  transform:rotate(-45deg) translateY(-1px)!important;
  opacity:.72!important;
}

.main-nav .nav-dropdown-menu{
  position:absolute!important;
  top:calc(100% + 10px)!important;
  right:50%!important;
  min-width:172px!important;
  display:grid!important;
  gap:4px!important;
  padding:10px!important;
  background:rgba(255,255,255,.98)!important;
  border:1px solid rgba(0,48,24,.16)!important;
  border-radius:14px!important;
  box-shadow:0 22px 56px rgba(0,48,24,.16)!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:translate(50%,-6px)!important;
  transition:opacity 180ms ease,transform 200ms ease,visibility 180ms ease!important;
  pointer-events:none!important;
}

.main-nav .nav-dropdown:hover .nav-dropdown-menu,
.main-nav .nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1!important;
  visibility:visible!important;
  transform:translate(50%,0)!important;
  pointer-events:auto!important;
}

.main-nav .nav-dropdown-menu a{
  width:100%!important;
  min-height:40px!important;
  justify-content:center!important;
  padding:0 14px!important;
  border-radius:10px!important;
  color:#001A0D!important;
  font-weight:800!important;
  background:transparent!important;
}

.main-nav .nav-dropdown-menu a:hover,
.main-nav .nav-dropdown-menu a[aria-current="page"]{
  color:#fff!important;
  background:linear-gradient(135deg,#003018,#001A0D)!important;
}

@media(max-width:900px){
  .main-nav .nav-dropdown{
    width:100%!important;
    display:grid!important;
    gap:4px!important;
  }

  .main-nav .nav-dropdown-trigger{
    width:100%!important;
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-bottom:1px solid rgba(0,48,24,.08)!important;
  }

  .main-nav .nav-dropdown-menu{
    position:static!important;
    min-width:0!important;
    width:100%!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    pointer-events:auto!important;
    padding:6px 12px 10px!important;
    border:0!important;
    border-radius:12px!important;
    box-shadow:none!important;
    background:rgba(232,243,236,.55)!important;
  }

  .main-nav .nav-dropdown-menu a{
    min-height:40px!important;
    font-size:.94rem!important;
    border-bottom:0!important;
    background:#fff!important;
  }
}

/* ABSOLUTE LAST NEFESH DROPDOWN FIX */
.main-nav .nav-dropdown-trigger{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
}

.main-nav .nav-dropdown-caret{
  order:-1!important;
  width:18px!important;
  height:18px!important;
  display:inline-grid!important;
  place-items:center!important;
  border:1px solid rgba(0,48,24,.24)!important;
  border-radius:50%!important;
  background:rgba(232,243,236,.9)!important;
  flex:0 0 auto!important;
}

.main-nav .nav-dropdown-caret::before{
  content:""!important;
  width:6px!important;
  height:6px!important;
  border-inline-start:2px solid #003018!important;
  border-bottom:2px solid #003018!important;
  transform:rotate(-45deg) translate(1px,-1px)!important;
  transition:transform 180ms ease!important;
}

.main-nav .nav-dropdown::after{
  content:""!important;
  position:absolute!important;
  right:0!important;
  left:0!important;
  top:100%!important;
  height:16px!important;
  display:block!important;
}

.main-nav .nav-dropdown-menu{
  top:calc(100% + 4px)!important;
  transition:opacity 220ms ease,transform 220ms ease,visibility 220ms ease!important;
}

.main-nav .nav-dropdown:hover .nav-dropdown-caret::before,
.main-nav .nav-dropdown:focus-within .nav-dropdown-caret::before,
.main-nav .nav-dropdown.is-open .nav-dropdown-caret::before{
  transform:rotate(135deg) translate(-1px,1px)!important;
}

.main-nav .nav-dropdown.is-open .nav-dropdown-menu{
  opacity:1!important;
  visibility:visible!important;
  transform:translate(50%,0)!important;
  pointer-events:auto!important;
}

@media(max-width:900px){
  .main-nav .nav-dropdown::after{
    display:none!important;
  }

  .main-nav .nav-dropdown-caret{
    margin-inline-end:8px!important;
  }

  .main-nav .nav-dropdown-menu{
    display:grid!important;
    max-height:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    overflow:hidden!important;
    opacity:0!important;
    transform:none!important;
    transition:max-height 220ms ease,opacity 180ms ease,padding 180ms ease!important;
  }

  .main-nav .nav-dropdown.is-open .nav-dropdown-menu{
    max-height:190px!important;
    padding:6px 12px 10px!important;
    opacity:1!important;
  }

  .main-nav .nav-dropdown:not(.is-open) .nav-dropdown-menu{
    pointer-events:none!important;
  }
}

/* ABSOLUTE LAST NEFESH CLICK MODE */
.main-nav .nav-dropdown.is-open .nav-dropdown-trigger{
  color:#003018!important;
  font-weight:900!important;
}

.main-nav .nav-dropdown.is-open .nav-dropdown-trigger::before{
  opacity:1!important;
  transform:scale(1)!important;
}

.main-nav .nav-dropdown.is-open .nav-dropdown-menu{
  opacity:1!important;
  visibility:visible!important;
  transform:translate(50%,0)!important;
  pointer-events:auto!important;
}

@media(max-width:900px){
  .main-nav .nav-dropdown.is-open .nav-dropdown-menu{
    max-height:190px!important;
    padding:6px 12px 10px!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
  }
}

/* ABSOLUTE LAST DROPDOWN MARKER STYLE */
.main-nav .nav-dropdown-caret{
  order:-1!important;
  width:19px!important;
  height:19px!important;
  display:inline-grid!important;
  place-items:center!important;
  border:1px solid rgba(214,183,93,.55)!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(232,243,236,.92))!important;
  box-shadow:0 5px 14px rgba(0,48,24,.1)!important;
}

.main-nav .nav-dropdown-caret::before{
  content:"+"!important;
  width:auto!important;
  height:auto!important;
  border:0!important;
  color:#003018!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1!important;
  transform:none!important;
  transition:transform 180ms ease,color 180ms ease!important;
}

.main-nav .nav-dropdown:hover .nav-dropdown-caret,
.main-nav .nav-dropdown:focus-within .nav-dropdown-caret,
.main-nav .nav-dropdown.is-open .nav-dropdown-caret{
  background:linear-gradient(135deg,#003018,#001A0D)!important;
  border-color:rgba(244,226,160,.7)!important;
}

.main-nav .nav-dropdown:hover .nav-dropdown-caret::before,
.main-nav .nav-dropdown:focus-within .nav-dropdown-caret::before,
.main-nav .nav-dropdown.is-open .nav-dropdown-caret::before{
  content:"−"!important;
  color:#F4E2A0!important;
  transform:none!important;
}

/* ABSOLUTE LAST WHATSAPP COMMUNITY */
.whatsapp-community-section{
  padding:86px 0!important;
  background:
    linear-gradient(135deg,rgba(245,250,246,.94),rgba(232,243,236,.86)),
    radial-gradient(circle at 18% 20%,rgba(214,183,93,.2),transparent 28%),
    radial-gradient(circle at 82% 78%,rgba(0,48,24,.16),transparent 32%)!important;
}

.whatsapp-community-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,460px)!important;
  gap:28px!important;
  align-items:center!important;
  padding:34px!important;
  border:1px solid rgba(0,48,24,.16)!important;
  border-radius:28px 8px 28px 8px!important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(245,250,246,.9))!important;
  box-shadow:0 26px 70px rgba(0,48,24,.13)!important;
  position:relative!important;
  overflow:hidden!important;
}

.whatsapp-community-card::before{
  content:""!important;
  position:absolute!important;
  inset:auto -70px -80px auto!important;
  width:220px!important;
  height:220px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(0,48,24,.15),transparent 68%)!important;
  pointer-events:none!important;
}

.whatsapp-community-copy,
.whatsapp-join-form{
  position:relative!important;
  z-index:1!important;
}

.whatsapp-community-copy span{
  color:#D6B75D!important;
  font-weight:900!important;
}

.whatsapp-community-copy h2{
  margin:8px 0 14px!important;
  color:#001A0D!important;
  font-size:clamp(2rem,4vw,3.6rem)!important;
  line-height:1.05!important;
}

.whatsapp-community-copy p{
  max-width:620px!important;
  margin:0!important;
  color:#4B6251!important;
  font-size:1.08rem!important;
}

.whatsapp-join-form{
  display:grid!important;
  gap:10px!important;
  padding:22px!important;
  border-radius:20px 6px 20px 6px!important;
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(0,48,24,.12)!important;
}

.whatsapp-join-form label{
  color:#001A0D!important;
  font-weight:900!important;
}

.whatsapp-join-form div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
}

.whatsapp-join-form input{
  min-height:52px!important;
  border-radius:999px!important;
  padding-inline:18px!important;
  direction:rtl!important;
}

.whatsapp-join-form .btn{
  min-height:52px!important;
  white-space:nowrap!important;
}

@media(max-width:860px){
  .whatsapp-community-section{
    padding:58px 0!important;
  }
  .whatsapp-community-card{
    grid-template-columns:1fr!important;
    padding:24px!important;
    text-align:center!important;
  }
  .whatsapp-community-copy p{
    margin-inline:auto!important;
  }
  .whatsapp-join-form div{
    grid-template-columns:1fr!important;
  }
  .whatsapp-join-form .btn{
    width:100%!important;
    max-width:none!important;
  }
}

/* ABSOLUTE LAST WHATSAPP POLISH */
.whatsapp-community-card{
  grid-template-columns:112px minmax(0,1fr) minmax(320px,440px)!important;
  padding:38px!important;
}

.whatsapp-community-icon{
  position:relative!important;
  z-index:1!important;
  width:96px!important;
  height:96px!important;
  display:grid!important;
  place-items:center!important;
  justify-self:center!important;
  border-radius:28px 8px 28px 8px!important;
  background:
    radial-gradient(circle at 35% 28%,rgba(255,255,255,.95),rgba(255,255,255,.2) 34%,transparent 52%),
    linear-gradient(135deg,#064D2D,#003018)!important;
  box-shadow:
    0 24px 48px rgba(0,48,24,.24),
    inset 0 0 0 1px rgba(255,255,255,.38)!important;
  animation:whatsappIconFloat 5.4s ease-in-out infinite!important;
}

.whatsapp-community-icon::before{
  content:""!important;
  position:absolute!important;
  inset:-12px!important;
  border-radius:34px 10px 34px 10px!important;
  border:1px solid rgba(214,183,93,.34)!important;
  opacity:.8!important;
}

.whatsapp-community-icon svg{
  width:58px!important;
  height:58px!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  filter:drop-shadow(0 5px 10px rgba(0,0,0,.18))!important;
}

.whatsapp-community-icon svg path:nth-child(2),
.whatsapp-join-btn svg path:nth-child(2){
  fill:#fff!important;
  stroke:none!important;
}

.whatsapp-join-btn{
  gap:9px!important;
  padding-inline:18px!important;
  background:linear-gradient(135deg,#064D2D,#003018)!important;
  box-shadow:0 14px 30px rgba(0,48,24,.22)!important;
}

.whatsapp-join-btn svg{
  width:23px!important;
  height:23px!important;
  flex:0 0 auto!important;
  fill:none!important;
  stroke:#fff!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

@keyframes whatsappIconFloat{
  0%,100%{transform:translateY(0) rotate(-2deg)}
  50%{transform:translateY(-8px) rotate(2deg)}
}

@media(max-width:860px){
  .whatsapp-community-card{
    grid-template-columns:1fr!important;
    justify-items:center!important;
  }
  .whatsapp-community-icon{
    width:86px!important;
    height:86px!important;
  }
  .whatsapp-community-icon svg{
    width:52px!important;
    height:52px!important;
  }
}

/* ABSOLUTE LAST ASK RABBI TOP HIGHLIGHT */
.horaa-strip-inner a{
  transition:color 180ms ease,text-shadow 180ms ease,transform 180ms ease!important;
}

.horaa-strip-inner a:hover,
.horaa-strip-inner a:focus-visible,
.horaa-strip-inner a:active{
  color:#F4E2A0!important;
  text-shadow:0 0 12px rgba(244,226,160,.55),0 2px 10px rgba(0,0,0,.18)!important;
  transform:translateY(-1px)!important;
}

/* ABSOLUTE LAST DIRECTORY GREEN OVERLAY */
.torah-directory{
  position:relative!important;
  background:
    linear-gradient(135deg,rgba(1,37,15,.88),rgba(0,48,24,.66)),
    url("assets/beit-midrash-directory-bg.webp") center/cover no-repeat!important;
  color:#fff!important;
  overflow:hidden!important;
}

.torah-directory::selection{
  background:#D6B75D!important;
  color:#01250F!important;
}

.torah-directory > *{
  position:relative!important;
  z-index:2!important;
}

.torah-directory .directory-bg-title{
  color:rgba(255,255,255,.15)!important;
  text-shadow:0 14px 44px rgba(0,0,0,.22)!important;
}

.torah-directory .portal-section-title h2,
.torah-directory .portal-section-title,
.torah-directory .directory-feature-title{
  color:#fff!important;
}

.torah-directory .directory-card{
  background:
    linear-gradient(180deg,rgba(255,255,255,.92),rgba(245,250,246,.86))!important;
  border-color:rgba(244,226,160,.24)!important;
  box-shadow:0 24px 56px rgba(0,0,0,.18)!important;
}

/* ABSOLUTE LAST DIRECTORY TITLE AND IMAGES FIX */
.torah-directory .directory-bg-title{
  color:rgba(255,255,255,.32)!important;
  font-size:clamp(3.4rem,8vw,7.8rem)!important;
  line-height:.9!important;
  text-shadow:
    0 2px 0 rgba(255,255,255,.12),
    0 18px 44px rgba(0,0,0,.34)!important;
  -webkit-text-stroke:1px rgba(244,226,160,.16)!important;
}

.torah-directory .directory-feature-title{
  margin-bottom:34px!important;
}

.torah-directory .directory-card{
  color:#fff!important;
  background:
    linear-gradient(180deg,rgba(0,48,24,.12),rgba(1,37,15,.86)),
    url("assets/chesed-nefesh-bg.webp") center/cover no-repeat!important;
  border-color:rgba(244,226,160,.24)!important;
  box-shadow:0 24px 56px rgba(0,0,0,.2)!important;
}

.torah-directory .directory-card:nth-child(2){
  background-image:
    linear-gradient(180deg,rgba(0,48,24,.12),rgba(1,37,15,.86)),
    url("assets/bat-melech.jpg")!important;
}

.torah-directory .directory-card:nth-child(3){
  background-image:
    linear-gradient(180deg,rgba(0,48,24,.12),rgba(1,37,15,.86)),
    url("assets/library-light.svg")!important;
}

.torah-directory .directory-card:nth-child(4){
  background-image:
    linear-gradient(180deg,rgba(0,48,24,.12),rgba(1,37,15,.86)),
    url("assets/rabbis-book-hazon-ovadya.png"),
    radial-gradient(circle,rgba(255,244,223,.38),transparent 60%)!important;
  background-size:cover,contain,cover!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
}

.torah-directory .directory-card:nth-child(5){
  background-image:
    linear-gradient(180deg,rgba(0,48,24,.12),rgba(1,37,15,.86)),
    url("assets/beit-midrash-hero.webp")!important;
}

.torah-directory .directory-card span{
  color:#F4E2A0!important;
}

.torah-directory .directory-card h3,
.torah-directory .directory-card p{
  color:#fff!important;
  text-shadow:0 3px 14px rgba(0,0,0,.32)!important;
}

.torah-directory .directory-card p{
  color:rgba(255,255,255,.86)!important;
}

@media(max-width:640px){
  .torah-directory .directory-bg-title{
    font-size:clamp(2.7rem,14vw,4.5rem)!important;
  }
}

/* ABSOLUTE LAST HOME NUMBERS SECTION */
.home-numbers-section{
  padding:92px 0!important;
  color:#fff!important;
  background:
    linear-gradient(135deg,rgba(1,37,15,.94),rgba(0,48,24,.78)),
    radial-gradient(circle at 18% 22%,rgba(244,226,160,.18),transparent 30%),
    url("assets/beit-midrash-hero.webp") center/cover no-repeat!important;
  overflow:hidden!important;
}

.numbers-head{
  max-width:780px!important;
  margin:0 auto 34px!important;
  text-align:center!important;
}

.numbers-head span{
  color:#F4E2A0!important;
  font-weight:900!important;
}

.numbers-head h2{
  margin:8px 0 0!important;
  color:#fff!important;
  font-size:clamp(2rem,4.8vw,4.2rem)!important;
  line-height:1.05!important;
  text-shadow:0 10px 32px rgba(0,0,0,.24)!important;
}

.numbers-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}

.number-card{
  min-height:230px!important;
  display:grid!important;
  justify-items:center!important;
  align-content:center!important;
  gap:12px!important;
  padding:28px 20px!important;
  text-align:center!important;
  border:1px solid rgba(244,226,160,.22)!important;
  border-radius:28px 8px 28px 8px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.07))!important;
  box-shadow:0 24px 58px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(10px)!important;
}

.number-card:nth-child(even){
  border-radius:8px 28px 8px 28px!important;
}

.number-icon{
  width:58px!important;
  height:58px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:18px 6px 18px 6px!important;
  color:#F4E2A0!important;
  background:rgba(255,255,255,.1)!important;
  border:1px solid rgba(244,226,160,.28)!important;
}

.number-icon svg{
  width:34px!important;
  height:34px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.number-card strong{
  color:#F4E2A0!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif!important;
  font-size:clamp(2.5rem,5vw,4.3rem)!important;
  line-height:.9!important;
  text-shadow:0 0 18px rgba(244,226,160,.22)!important;
}

.number-card p{
  max-width:16ch!important;
  margin:0!important;
  color:#fff!important;
  font-size:1.05rem!important;
  font-weight:850!important;
  line-height:1.35!important;
}

@media(max-width:980px){
  .numbers-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:560px){
  .home-numbers-section{
    padding:64px 0!important;
  }
  .numbers-grid{
    grid-template-columns:1fr!important;
  }
  .number-card{
    min-height:190px!important;
  }
}


/* ABSOLUTE LAST: reduce homepage hero by one sixth */
.home-live-grid{
  padding-top:51px!important;
  padding-bottom:65px!important;
}

.home-horaa-search{
  margin-top:27px!important;
}

.home-live-hero::after{
  height:66px!important;
}

@media(max-width:860px){
  .home-live-grid{
    padding-top:30px!important;
    padding-bottom:18px!important;
  }
  .home-horaa-search{
    margin-top:22px!important;
  }
}


/* ABSOLUTE LAST: hero subtitle gold line */
.home-hero-panel h1 strong{
  position:relative!important;
  display:inline-block!important;
  padding-bottom:56px!important;
}

.home-hero-panel h1 strong::after{
  content:""!important;
  position:absolute!important;
  right:50%!important;
  bottom:0!important;
  width:min(430px,62vw)!important;
  height:34px!important;
  transform:translateX(50%)!important;
  opacity:.95!important;
  background:
    linear-gradient(90deg,transparent,#d3b553 20%,#fff3bf 50%,#d3b553 80%,transparent) center/100% 2px no-repeat,
    radial-gradient(circle at 50% 50%,#fff 0 3px,transparent 4px),
    radial-gradient(circle at 37% 50%,#d3b553 0 3px,transparent 4px),
    radial-gradient(circle at 63% 50%,#d3b553 0 3px,transparent 4px)!important;
  box-shadow:none!important;
  border-radius:0!important;
}


/* ABSOLUTE LAST: white homepage numbers separator */
.home-numbers-section{
  position:relative!important;
  padding:86px 0!important;
  background:#fff!important;
  color:#003018!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 0 rgba(0,48,24,.08),inset 0 -1px 0 rgba(0,48,24,.08)!important;
}

.home-numbers-section::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:
    radial-gradient(circle at 18% 20%,rgba(211,181,83,.12),transparent 28%),
    radial-gradient(circle at 82% 76%,rgba(0,48,24,.08),transparent 30%)!important;
  pointer-events:none!important;
}

.home-numbers-section .section-inner{
  position:relative!important;
  z-index:1!important;
}

.numbers-head span{
  color:#d3b553!important;
}

.numbers-head h2{
  color:#003018!important;
  text-shadow:none!important;
}

.number-card{
  border:1px solid rgba(0,48,24,.12)!important;
  background:linear-gradient(180deg,#fff,rgba(248,251,246,.96))!important;
  box-shadow:0 18px 46px rgba(0,48,24,.09)!important;
  backdrop-filter:none!important;
}

.number-icon{
  color:#003018!important;
  background:rgba(0,48,24,.06)!important;
  border:1px solid rgba(0,48,24,.16)!important;
}

.number-card strong{
  color:#003018!important;
  text-shadow:none!important;
}

.number-card p{
  color:#003018!important;
}

.number-card:hover{
  transform:translateY(-5px)!important;
  border-color:rgba(211,181,83,.42)!important;
  box-shadow:0 24px 58px rgba(0,48,24,.13)!important;
}


/* ABSOLUTE LAST: gold header logo text */
.site-header .brand .brand-title,
.site-header .brand .brand-subtitle{
  color:#d3b553!important;
  text-shadow:0 1px 0 rgba(255,255,255,.82),0 7px 18px rgba(83,62,12,.13)!important;
}


/* ABSOLUTE LAST: readable open nav dropdown triggers */
.main-nav .nav-dropdown.is-open > .nav-dropdown-trigger,
.main-nav .nav-dropdown.is-open > .nav-dropdown-trigger:visited,
.main-nav .nav-dropdown.is-open > .nav-dropdown-trigger:hover,
.main-nav .nav-dropdown.is-open > .nav-dropdown-trigger:focus{
  color:#003018!important;
  background:linear-gradient(135deg,#fffdf7,#f7f1d7)!important;
  border-color:rgba(211,181,83,.58)!important;
  box-shadow:0 8px 22px rgba(0,48,24,.10)!important;
  text-shadow:none!important;
  opacity:1!important;
  -webkit-text-fill-color:#003018!important;
}

.main-nav .nav-dropdown.is-open > .nav-dropdown-trigger::before{
  opacity:0!important;
}

.main-nav .nav-dropdown.is-open > .nav-dropdown-trigger .nav-dropdown-caret{
  flex:0 0 auto!important;
}


/* ABSOLUTE LAST: refined four-hour daily spark */
.daily-spark{
  display:grid!important;
  justify-items:center!important;
  align-content:center!important;
  gap:14px!important;
  text-align:center!important;
  padding:48px 30px 36px!important;
}

.daily-spark > span{
  color:#F4E2A0!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
}

.daily-spark h2{
  max-width:min(640px,100%)!important;
  margin:0 auto!important;
  color:#fff!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.7rem,3.2vw,3.35rem)!important;
  line-height:1.22!important;
  font-weight:900!important;
  text-wrap:balance!important;
}

.daily-spark p{
  margin:0 auto!important;
  color:rgba(244,226,160,.9)!important;
  font-size:clamp(.95rem,1.45vw,1.12rem)!important;
  font-weight:800!important;
}

.daily-hourglass{
  position:relative!important;
  width:38px!important;
  height:38px!important;
  margin:4px auto 0!important;
  border:1px solid rgba(244,226,160,.52)!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,255,255,.07)!important;
  box-shadow:0 0 18px rgba(244,226,160,.16)!important;
}

.daily-hourglass::before{
  content:""!important;
  width:13px!important;
  height:18px!important;
  border:2px solid #F4E2A0!important;
  border-top-width:2px!important;
  border-bottom-width:2px!important;
  clip-path:polygon(0 0,100% 0,58% 50%,100% 100%,0 100%,42% 50%)!important;
}

.daily-hourglass::after{
  content:""!important;
  position:absolute!important;
  inset:3px!important;
  border-radius:50%!important;
  border:2px solid transparent!important;
  border-top-color:#F4E2A0!important;
  animation:dailyHourglassTurn 4s linear infinite!important;
}

@keyframes dailyHourglassTurn{
  to{transform:rotate(360deg)}
}

@media(max-width:560px){
  .daily-spark{
    padding:38px 18px 30px!important;
    gap:12px!important;
  }
  .daily-spark h2{
    font-size:clamp(1.45rem,8vw,2.35rem)!important;
    line-height:1.24!important;
  }
  .daily-hourglass{
    width:34px!important;
    height:34px!important;
  }
}


/* ABSOLUTE LAST: real slow hourglass and spark archive */
.daily-hourglass{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  width:42px!important;
  height:42px!important;
  perspective:160px!important;
}

.daily-hourglass::before{
  content:""!important;
  width:20px!important;
  height:28px!important;
  border:2px solid #F4E2A0!important;
  border-radius:8px!important;
  clip-path:polygon(0 0,100% 0,62% 48%,100% 100%,0 100%,38% 48%)!important;
  background:linear-gradient(180deg,rgba(244,226,160,.86) 0 26%,transparent 27% 54%,rgba(244,226,160,.62) 55% 100%)!important;
  transform-origin:50% 50%!important;
  animation:dailyHourglassFlip 8s ease-in-out infinite!important;
  box-shadow:0 0 16px rgba(244,226,160,.22)!important;
}

.daily-hourglass::after{
  content:""!important;
  position:absolute!important;
  width:2px!important;
  height:16px!important;
  inset:13px auto auto 50%!important;
  margin-right:-1px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#F4E2A0,transparent,#F4E2A0)!important;
  animation:dailyHourglassSand 2.7s ease-in-out infinite!important;
}

@keyframes dailyHourglassFlip{
  0%,38%{transform:rotate(0deg)}
  50%,88%{transform:rotate(180deg)}
  100%{transform:rotate(360deg)}
}

@keyframes dailyHourglassSand{
  0%,100%{opacity:.2;transform:scaleY(.35)}
  45%,60%{opacity:.9;transform:scaleY(1)}
}

.spark-archive-section{
  padding:86px 0!important;
  background:radial-gradient(circle at 18% 14%,rgba(211,181,83,.13),transparent 28%),linear-gradient(180deg,#fffdf7,#f4faf4)!important;
}

.spark-archive-head{
  max-width:820px!important;
  margin:0 auto 34px!important;
  text-align:center!important;
}

.spark-archive-head span{color:#d3b553!important;font-weight:900!important;}
.spark-archive-head h2{margin:8px 0 0!important;color:#003018!important;font-size:clamp(2rem,4vw,4rem)!important;line-height:1.08!important;}
.spark-archive-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
.spark-archive-item{position:relative!important;min-height:174px!important;display:grid!important;align-content:center!important;gap:10px!important;padding:28px 30px!important;border:1px solid rgba(0,48,24,.13)!important;border-radius:28px 8px 28px 8px!important;background:linear-gradient(135deg,#fff,rgba(248,252,247,.94))!important;box-shadow:0 18px 46px rgba(0,48,24,.08)!important;overflow:hidden!important;}
.spark-archive-item:nth-child(even){border-radius:8px 28px 8px 28px!important;}
.spark-archive-item::before{content:"״"!important;position:absolute!important;top:-26px!important;left:22px!important;color:rgba(211,181,83,.13)!important;font-family:Georgia,serif!important;font-size:8rem!important;line-height:1!important;}
.spark-archive-item > span{color:#d3b553!important;font-weight:900!important;font-size:.9rem!important;}
.spark-archive-item blockquote{margin:0!important;color:#003018!important;font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;font-size:clamp(1.18rem,1.8vw,1.55rem)!important;line-height:1.45!important;font-weight:850!important;}
.spark-archive-item cite{color:#38584a!important;font-style:normal!important;font-weight:800!important;}

@media(max-width:760px){
  .spark-archive-list{grid-template-columns:1fr!important;}
  .spark-archive-section{padding:58px 0!important;}
  .spark-archive-item{min-height:150px!important;padding:24px 20px!important;}
}


/* ABSOLUTE LAST: long daily sparks from document */
.daily-spark h2.is-long-spark{
  font-size:clamp(1.22rem,2.2vw,2.25rem)!important;
  line-height:1.34!important;
  max-width:min(860px,100%)!important;
}

.daily-spark h2.is-very-long-spark{
  font-size:clamp(1.02rem,1.65vw,1.55rem)!important;
  line-height:1.42!important;
  max-width:min(900px,100%)!important;
}

.spark-archive-item blockquote{
  white-space:pre-line!important;
}


/* ABSOLUTE LAST: compact long spark typography */
.daily-spark{min-height:0!important;}
.daily-spark h2{font-size:clamp(1.32rem,2.35vw,2.55rem)!important;line-height:1.3!important;}
.daily-spark h2.is-long-spark{font-size:clamp(1.05rem,1.75vw,1.65rem)!important;line-height:1.38!important;}
.daily-spark h2.is-very-long-spark{font-size:clamp(.88rem,1.28vw,1.18rem)!important;line-height:1.48!important;font-weight:800!important;}
.spark-archive-item blockquote.is-long-spark{font-size:clamp(1rem,1.45vw,1.22rem)!important;line-height:1.55!important;}
.spark-archive-item blockquote.is-very-long-spark{font-size:clamp(.92rem,1.25vw,1.05rem)!important;line-height:1.62!important;font-weight:750!important;}
@media(max-width:560px){
  .daily-spark h2{font-size:clamp(1.16rem,6.3vw,1.75rem)!important;}
  .daily-spark h2.is-long-spark{font-size:clamp(.98rem,4.7vw,1.28rem)!important;}
  .daily-spark h2.is-very-long-spark{font-size:.9rem!important;}
}


/* ABSOLUTE LAST: force spark archive visibility */
.spark-archive-section{
  min-height:0!important;
  padding-top:64px!important;
}
.spark-archive-list,
.spark-archive-list.reveal,
.spark-archive-list .spark-archive-item{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
.spark-archive-list{
  margin-top:22px!important;
}


/* ABSOLUTE LAST: compact homepage daily spark card */
.home-daily-grid .daily-layout{
  align-items:stretch!important;
}

.home-daily-grid .daily-spark{
  min-height:0!important;
  max-height:560px!important;
  padding:34px 28px 30px!important;
  gap:10px!important;
  align-content:center!important;
}

.home-daily-grid .daily-quote-mark{
  font-size:5.4rem!important;
  top:16px!important;
  left:22px!important;
  opacity:.72!important;
}

.home-daily-grid .daily-spark h2{
  max-width:560px!important;
  font-size:clamp(1.18rem,2.05vw,2rem)!important;
  line-height:1.34!important;
  font-weight:850!important;
  margin:0 auto!important;
}

.home-daily-grid .daily-spark h2.is-long-spark,
.home-daily-grid .daily-spark h2.is-very-long-spark{
  max-width:620px!important;
  font-size:clamp(.9rem,1.32vw,1.18rem)!important;
  line-height:1.48!important;
  font-weight:780!important;
}

.home-daily-grid .daily-spark p{
  font-size:.94rem!important;
  line-height:1.25!important;
}

.home-daily-grid .daily-hourglass{
  width:34px!important;
  height:34px!important;
  margin-top:2px!important;
}

.home-daily-grid .daily-spark .btn{
  min-height:44px!important;
  padding:10px 18px!important;
  font-size:.95rem!important;
}

@media(max-width:920px){
  .home-daily-grid .daily-spark{
    max-height:none!important;
  }
}

@media(max-width:560px){
  .home-daily-grid .daily-spark{
    padding:30px 18px 26px!important;
  }
  .home-daily-grid .daily-spark h2,
  .home-daily-grid .daily-spark h2.is-long-spark,
  .home-daily-grid .daily-spark h2.is-very-long-spark{
    font-size:.95rem!important;
    line-height:1.45!important;
  }
}


/* ABSOLUTE LAST: alonim QNA category */
.alonim-qna-section .section-head{text-align:center!important;justify-items:center!important;}
.alonim-subtopic{margin:0 0 24px!important;}
.alonim-subtopic h3{margin:0 auto 14px!important;color:#d3b553!important;text-align:center!important;font-size:clamp(1.25rem,2.1vw,1.9rem)!important;font-weight:900!important;}
.alonim-subtopic-list{display:grid!important;gap:12px!important;}
.alonim-item{border:1px solid rgba(0,48,24,.13)!important;border-radius:22px 6px 22px 6px!important;background:linear-gradient(180deg,#fff,rgba(248,252,247,.96))!important;box-shadow:0 16px 38px rgba(0,48,24,.08)!important;overflow:hidden!important;}
.alonim-item button{width:100%!important;min-height:96px!important;display:grid!important;gap:8px!important;justify-items:center!important;text-align:center!important;padding:22px 24px!important;border:0!important;color:#003018!important;background:transparent!important;cursor:pointer!important;}
.alonim-item button span{color:#d3b553!important;font-weight:900!important;}
.alonim-item button strong{color:#003018!important;font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;font-size:clamp(1.18rem,2vw,1.65rem)!important;line-height:1.35!important;}
.alonim-body{padding:0 28px 26px!important;color:#153d32!important;}
.alonim-body h4{margin:18px 0 8px!important;color:#003018!important;font-size:1.08rem!important;}
.alonim-body p{margin:0 0 12px!important;line-height:1.78!important;}
.alonim-footnote-ref{margin-inline:4px 2px;vertical-align:super}
.alonim-footnote-ref a{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:linear-gradient(145deg,#f5df8d,#b89e14);color:#002512!important;font-size:.78rem;font-weight:900;text-decoration:none;box-shadow:0 6px 14px rgba(184,158,20,.24)}
.alonim-footnotes{margin-top:22px;padding:18px 20px;border-top:1px solid rgba(184,158,20,.34);background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(248,245,229,.72));border-radius:0 0 18px 18px;color:#153d32}
.alonim-footnotes h4{margin:0 0 8px!important;color:#b89e14!important}
.alonim-footnotes li{line-height:1.85;margin-bottom:8px}
.alonim-footnotes a{color:#b89e14!important;font-weight:900;text-decoration:none}
@media(max-width:560px){.alonim-item button{padding:18px 14px!important;}.alonim-body{padding:0 16px 20px!important;}}


/* ABSOLUTE LAST: zugiyut page atmosphere */
.levado-hero{
  background:
    linear-gradient(120deg,rgba(2,38,18,.86),rgba(0,48,24,.58)),
    radial-gradient(circle at 22% 28%,rgba(244,226,160,.26),transparent 28%),
    url("assets/chesed-nefesh-bg.webp") center/cover no-repeat!important;
}
.levado-hero::after{
  background:linear-gradient(180deg,transparent,rgba(255,253,247,.98))!important;
}
.levado-hero-title{
  color:rgba(244,226,160,.22)!important;
  text-shadow:0 10px 28px rgba(0,0,0,.2)!important;
}
.levado-hero-subtitle{
  color:#fff7d4!important;
  text-shadow:0 8px 22px rgba(0,0,0,.36)!important;
}
.levado-qna-section{
  background:
    radial-gradient(circle at 12% 12%,rgba(211,181,83,.12),transparent 28%),
    linear-gradient(180deg,#fffdf7,#f3faf5)!important;
}
.levado-section-head h2{
  color:#003018!important;
}
.levado-item button strong{
  color:#003018!important;
}
.levado-item button span{
  color:#d3b553!important;
}


/* זוגיות ושלום בית */
.zugiyut-page .levado-hero{
  min-height:420px;
  background:
    radial-gradient(circle at 22% 30%,rgba(255,255,255,.20),transparent 26%),
    radial-gradient(circle at 78% 68%,rgba(221,202,98,.24),transparent 30%),
    linear-gradient(110deg,rgba(0,48,24,.96),rgba(4,49,29,.78)),
    url("assets/chesed-nefesh-bg.webp") center/cover no-repeat!important;
  overflow:hidden;
}
.zugiyut-page .levado-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.08),transparent 34%,rgba(221,202,98,.10)),
    radial-gradient(circle at 50% 100%,rgba(255,255,255,.16),transparent 42%);
  pointer-events:none;
}
.zugiyut-page .levado-hero-title{
  color:rgba(221,202,98,.28);
  text-shadow:0 12px 34px rgba(0,0,0,.22);
  letter-spacing:0;
}
.zugiyut-page .levado-hero-subtitle{
  color:#fff7d6;
  font-weight:800;
}
.zugiyut-page .levado-qna-section{
  background:
    radial-gradient(circle at 15% 18%,rgba(221,202,98,.18),transparent 24%),
    radial-gradient(circle at 85% 78%,rgba(0,48,24,.10),transparent 28%),
    linear-gradient(180deg,#fffdf5,#f7fbf4 58%,#eef7ed);
}
.zugiyut-page .levado-section-head h2{
  color:#003018;
}
.zugiyut-page .levado-search{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(0,48,24,.14);
  box-shadow:0 16px 42px rgba(0,48,24,.10);
}
.zugiyut-page .levado-item{
  border-color:rgba(0,48,24,.13);
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,252,239,.92));
  box-shadow:0 18px 48px rgba(0,48,24,.10);
}
.zugiyut-page .levado-item button span{
  background:#ddca62;
  color:#002713;
}
.zugiyut-page .levado-item button strong{
  color:#002713;
}
.zugiyut-page .levado-item.is-open{
  border-color:rgba(221,202,98,.55);
}
@media (max-width:760px){
  .zugiyut-page .levado-hero{min-height:340px;}
}


/* חינוך ילדים */
.children-page .levado-hero{
  min-height:420px;
  background:
    radial-gradient(circle at 18% 28%,rgba(255,255,255,.24),transparent 24%),
    radial-gradient(circle at 78% 64%,rgba(221,202,98,.22),transparent 28%),
    linear-gradient(112deg,rgba(0,48,24,.95),rgba(8,72,43,.78)),
    url("assets/beit-midrash-hero.webp") center/cover no-repeat!important;
  overflow:hidden;
}
.children-page .levado-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.10),transparent 36%,rgba(221,202,98,.12)),
    radial-gradient(circle at 50% 100%,rgba(255,255,255,.18),transparent 44%);
  pointer-events:none;
}
.children-page .levado-hero-title{
  color:rgba(221,202,98,.30);
  text-shadow:0 12px 34px rgba(0,0,0,.24);
  letter-spacing:0;
}
.children-page .levado-hero-subtitle{
  color:#fff7d6;
  font-weight:800;
}
.children-page .levado-qna-section{
  background:
    radial-gradient(circle at 14% 18%,rgba(221,202,98,.16),transparent 25%),
    radial-gradient(circle at 86% 78%,rgba(0,48,24,.12),transparent 30%),
    linear-gradient(180deg,#fffdf5,#f8fbf2 58%,#eef8ed);
}
.children-page .levado-section-head h2{
  color:#003018;
}
.children-page .levado-search{
  background:rgba(255,255,255,.9);
  border:1px solid rgba(0,48,24,.14);
  box-shadow:0 16px 42px rgba(0,48,24,.10);
}
.children-page .levado-item{
  border-color:rgba(0,48,24,.13);
  background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(255,253,242,.94));
  box-shadow:0 18px 48px rgba(0,48,24,.10);
}
.children-page .levado-item button span{
  background:#ddca62;
  color:#002713;
}
.children-page .levado-item button strong{
  color:#002713;
}
.children-page .levado-item.is-open{
  border-color:rgba(221,202,98,.55);
}
@media (max-width:760px){
  .children-page .levado-hero{min-height:340px;}
}


/* נפש */
.nefesh-page .levado-hero{
  min-height:430px;
  background:
    radial-gradient(circle at 20% 28%,rgba(255,255,255,.18),transparent 24%),
    radial-gradient(circle at 80% 62%,rgba(221,202,98,.18),transparent 28%),
    linear-gradient(116deg,rgba(0,48,24,.96),rgba(3,43,31,.82)),
    url("assets/chesed-nefesh-bg.webp") center/cover no-repeat!important;
  overflow:hidden;
}
.nefesh-page .levado-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 58%,rgba(255,255,255,.12),transparent 34%),
    linear-gradient(90deg,rgba(255,255,255,.08),transparent 42%,rgba(221,202,98,.10));
  pointer-events:none;
}
.nefesh-page .levado-hero-title{
  color:rgba(221,202,98,.27);
  text-shadow:0 16px 44px rgba(0,0,0,.24);
  letter-spacing:0;
}
.nefesh-page .levado-hero-subtitle{
  color:#fff8dc;
  font-weight:800;
}
.nefesh-page .levado-qna-section{
  background:
    radial-gradient(circle at 18% 20%,rgba(221,202,98,.14),transparent 24%),
    radial-gradient(circle at 84% 74%,rgba(0,48,24,.12),transparent 30%),
    linear-gradient(180deg,#fffdf7,#f7fbf4 54%,#eef8ed);
}
.nefesh-page .levado-section-head h2{
  color:#003018;
}
.nefesh-page .levado-search{
  background:rgba(255,255,255,.9);
  border:1px solid rgba(0,48,24,.14);
  box-shadow:0 16px 42px rgba(0,48,24,.10);
}
.nefesh-page .levado-item{
  border-color:rgba(0,48,24,.13);
  background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(255,253,242,.94));
  box-shadow:0 18px 48px rgba(0,48,24,.10);
}
.nefesh-page .levado-item button span{
  background:#ddca62;
  color:#002713;
}
.nefesh-page .levado-item button strong{
  color:#002713;
}
.nefesh-page .levado-item.is-open{
  border-color:rgba(221,202,98,.55);
}
.nefesh-page .levado-item.is-open > button strong{
  color:#fff!important;
}
@media (max-width:760px){
  .nefesh-page .levado-hero{min-height:340px;}
}

/* צמיחה */
.growth-page .reveal{
  opacity:1!important;
  transform:none!important;
}
.growth-page .growth-hero{
  min-height:430px;
  overflow:hidden;
  background:#003018 url("assets/site-emerald-banner-texture.webp") center/cover no-repeat!important;
}
.growth-page .levado-hero-title{
  color:rgba(221,202,98,.28)!important;
  font-size:clamp(4rem,12vw,10rem);
  text-shadow:0 20px 60px rgba(0,0,0,.38);
}
.growth-page .levado-hero-subtitle{
  color:rgba(255,253,248,.96)!important;
  text-shadow:0 10px 28px rgba(0,0,0,.38);
}
.growth-page .growth-qna-section{
  background:
    radial-gradient(circle at 16% 18%,rgba(224,200,91,.13),transparent 26%),
    linear-gradient(180deg,rgba(255,253,248,.98),rgba(239,247,239,.96)),
    url("assets/chesed-nefesh-bg.webp") center/cover fixed;
}
.growth-page .levado-section-head h2,
.growth-page .levado-search label,
.growth-page .levado-results-note{
  color:var(--forest);
}
.growth-page .levado-search{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.growth-page .levado-help-open{
  width:fit-content;
  max-width:calc(100% - 32px);
  padding-inline:28px;
  text-decoration:none;
}
.growth-page .levado-item{
  border-color:rgba(0,48,24,.13);
  background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(255,253,242,.94));
  box-shadow:0 18px 48px rgba(0,48,24,.10);
}
.emuna-page .levado-hero-title{
  color:rgba(221,202,98,.28)!important;
}
@media(max-width:820px){
  .growth-page .growth-hero{
    min-height:340px;
  }
  .growth-page .levado-hero-title{
    font-size:clamp(3.8rem,20vw,6rem);
  }
  .growth-page .levado-hero-subtitle{
    max-width:310px;
    font-size:1.15rem;
  }
}

/* לוגו תורת אבי מהקובץ */
.brand-logo-link{
  min-width:auto!important;
  width:auto!important;
  text-decoration:none!important;
  margin-inline-start:auto!important;
  margin-inline-end:12px!important;
  display:flex!important;
  align-items:center!important;
  align-self:center!important;
}
.brand-logo-link::before,
.brand-logo-link::after,
.brand-logo-panel::before,
.brand-logo-panel::after{
  display:none!important;
  content:none!important;
}
.brand-logo-panel{
  width:clamp(172px,15.5vw,235px)!important;
  height:58px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.brand-logo-img{
  width:100%!important;
  height:100%!important;
  max-height:58px!important;
  object-fit:contain!important;
  display:block!important;
  transform:scaleX(1.08) scaleY(1.04)!important;
  transform-origin:center right!important;
}
.footer-brand-logo{
  display:grid!important;
  justify-items:start!important;
  gap:12px!important;
}
.footer-logo-img{
  width:min(220px,100%)!important;
  height:auto!important;
  max-height:136px!important;
  object-fit:contain!important;
  display:block!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.22))!important;
}
.footer-brand-logo p{
  margin:0!important;
  color:rgba(255,255,255,.82)!important;
  max-width:300px!important;
}
@media (max-width:760px){
  .brand-logo-link{margin-inline:auto!important;}
  .brand-logo-panel{width:min(60vw,220px)!important;height:58px!important;}
  .brand-logo-img{max-height:58px!important;transform:scaleX(1.06) scaleY(1.02)!important;transform-origin:center!important;}
}

/* Center desktop navigation independently from logo and utility icons */
@media (min-width:1081px){
  .site-header .nav-shell{
    position:relative!important;
  }
  .site-header .main-nav{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    margin:0!important;
    max-width:calc(100vw - 430px)!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:clamp(10px,1.2vw,24px)!important;
  }
}

/* Absolute last header centering */
.site-header .horaa-phone{
  text-decoration:none!important;
}

.site-header .horaa-phone:hover,
.site-header .horaa-phone:focus-visible{
  color:#F4E2A0!important;
  text-shadow:0 0 14px rgba(244,226,160,.45);
}

@media (min-width:901px){
  .site-header .horaa-strip-inner{
    width:min(1180px,calc(100% - 32px))!important;
    max-width:1180px!important;
    margin-inline:auto!important;
    padding-inline:0!important;
    display:grid!important;
    grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr)!important;
    grid-template-areas:"ask message phone"!important;
    align-items:center!important;
    justify-items:center!important;
    column-gap:28px!important;
    direction:ltr!important;
    text-align:center!important;
  }

  .site-header .horaa-strip-inner > *{
    direction:rtl!important;
  }

  .site-header .horaa-phone{
    grid-area:phone!important;
    justify-self:end!important;
    white-space:nowrap!important;
  }

  .site-header .horaa-message{
    grid-area:message!important;
    justify-self:center!important;
    white-space:nowrap!important;
  }

  .site-header .horaa-strip-inner > a:not(.horaa-phone){
    grid-area:ask!important;
    justify-self:start!important;
    white-space:nowrap!important;
  }
}

@media (min-width:1081px){
  .site-header .nav-shell{
    width:min(1180px,calc(100% - 32px))!important;
    max-width:1180px!important;
    margin-inline:auto!important;
    padding-inline:0!important;
    grid-template-columns:170px minmax(0,1fr) 300px!important;
    justify-content:center!important;
    justify-items:center!important;
  }

  .site-header .brand-logo-link{
    grid-area:brand!important;
    justify-self:end!important;
  }

  .site-header .main-nav{
    left:50%!important;
    right:auto!important;
    width:auto!important;
    max-width:min(780px,calc(100vw - 430px))!important;
    justify-self:center!important;
  }

  .site-header .header-quick-icons{
    grid-area:icons!important;
    justify-self:start!important;
  }
}

@media (max-width:900px){
  .site-header .horaa-phone{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}

/* Absolute last: keep nav centered, push logo/icons to header edges */
@media (min-width:1081px){
  .site-header .nav-shell{
    width:100%!important;
    max-width:none!important;
    margin-inline:0!important;
    padding-inline:34px!important;
    grid-template-columns:1fr!important;
    grid-template-areas:"nav"!important;
    justify-items:center!important;
  }

  .site-header .nav-shell > *{
    direction:rtl!important;
  }

  .site-header .brand,
  .site-header .brand-logo-link{
    position:absolute!important;
    right:34px!important;
    left:auto!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin-inline:0!important;
    z-index:4!important;
  }

  .site-header .header-quick-icons{
    position:absolute!important;
    left:34px!important;
    right:auto!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin-inline:0!important;
    z-index:4!important;
  }

  .site-header .main-nav{
    position:absolute!important;
    grid-area:nav!important;
    left:50%!important;
    right:auto!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:auto!important;
    max-width:min(820px,calc(100vw - 540px))!important;
    margin:0!important;
    justify-self:center!important;
  }
}

/* Piskei din page */
.psakim-hero{
  min-height:420px;
  display:grid;
  place-items:center;
  background:
    linear-gradient(90deg,rgba(0,47,25,.94),rgba(0,48,24,.76),rgba(0,47,25,.9)),
    url("assets/beit-midrash-hero.webp") center/cover no-repeat!important;
  color:white;
}
.psakim-hero .section-inner{
  display:grid;
  justify-items:center;
  text-align:center;
}
.psakim-hero .section-inner::after{
  display:none!important;
}
.psakim-section{
  background:
    linear-gradient(180deg,rgba(255,253,248,.98),rgba(239,244,238,.96)),
    url("assets/chesed-nefesh-bg.webp") center/cover fixed;
}
.psakim-empty{
  width:min(760px,100%);
  margin:28px auto 0;
  padding:34px;
  border:1px solid rgba(0,48,24,.14);
  border-radius:24px 8px 24px 8px;
  background:rgba(255,255,255,.9);
  box-shadow:0 20px 54px rgba(0,48,24,.08);
  text-align:center;
}
.psakim-empty strong{
  display:block;
  color:var(--forest);
  font-size:1.45rem;
  margin-bottom:8px;
}


/* Final hero rabbi subtitle visibility */
.home-hero-panel h1{
  gap:4px!important;
  margin-top:10px!important;
}
.home-hero-panel h1 strong{
  padding-bottom:34px!important;
}
.home-hero-panel p{
  display:block!important;
  margin:4px auto 0!important;
  max-width:760px!important;
  color:#f7eed6!important;
  font-family:"Times New Roman","David",serif!important;
  font-size:clamp(1.05rem,1.65vw,1.45rem)!important;
  line-height:1.15!important;
  font-weight:800!important;
  text-align:center!important;
  text-shadow:0 10px 26px rgba(0,0,0,.34)!important;
}
.home-horaa-search{
  margin-top:24px!important;
}
@media(max-width:680px){
  .home-hero-panel h1{gap:3px!important;}
  .home-hero-panel h1 strong{padding-bottom:24px!important;}
  .home-hero-panel p{font-size:1rem!important;line-height:1.2!important;}
  .home-horaa-search{margin-top:20px!important;}
}


/* Absolute final hero text visibility */
.home-live-hero .home-hero-panel,
.home-live-hero .home-hero-panel.reveal{
  opacity:1!important;
  transform:none!important;
  filter:none!important;
  position:relative!important;
  z-index:8!important;
}
.home-live-hero .home-hero-panel h1,
.home-live-hero .home-hero-panel h1 strong,
.home-live-hero .home-hero-panel p{
  opacity:1!important;
  visibility:visible!important;
  position:relative!important;
  z-index:9!important;
}
.home-live-hero .home-hero-panel h1{
  gap:2px!important;
  margin:6px auto 0!important;
}
.home-live-hero .home-hero-panel h1 strong{
  color:#fffdf2!important;
  text-shadow:0 2px 0 rgba(0,31,10,.5),0 14px 34px rgba(0,0,0,.36)!important;
  padding-bottom:28px!important;
}
.home-live-hero .home-hero-panel p{
  display:block!important;
  margin:0 auto!important;
  max-width:760px!important;
  color:#fff4c4!important;
  font-family:"Times New Roman","David",serif!important;
  font-size:clamp(1.08rem,1.8vw,1.52rem)!important;
  line-height:1.08!important;
  font-weight:900!important;
  text-align:center!important;
  text-shadow:0 2px 0 rgba(0,31,10,.45),0 14px 30px rgba(0,0,0,.38)!important;
}
.home-live-hero .home-horaa-search{
  margin-top:22px!important;
}
@media(max-width:680px){
  .home-live-hero .home-hero-panel h1 strong{padding-bottom:22px!important;}
  .home-live-hero .home-hero-panel p{font-size:1rem!important;line-height:1.16!important;}
}




/* Premium main hero with rabbi portrait and beit midrash */
.home-live-hero{
  position:relative!important;
  isolation:isolate!important;
  min-height:0!important;
  height:clamp(430px,48vw,560px)!important;
  overflow:hidden!important;
  background:
    linear-gradient(90deg,rgba(185,91,39,.92) 0%,rgba(190,98,47,.86) 32%,rgba(207,126,78,.56) 58%,rgba(255,225,205,.34) 100%),
    url("assets/home-hero-beit-midrash-lesson.jpeg") left center/cover no-repeat!important;
}
.home-live-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    linear-gradient(90deg,rgba(180,82,36,.86) 0%,rgba(197,102,52,.72) 38%,rgba(221,145,96,.44) 68%,rgba(255,235,220,.20) 100%),
    radial-gradient(ellipse at 32% 100%,rgba(255,255,255,.22),transparent 36%),
    radial-gradient(ellipse at 88% 35%,rgba(255,255,255,.24),transparent 42%);
  pointer-events:none!important;
}
.home-live-hero::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(176,80,34,.16) 48%,rgba(176,80,34,.34)),
    linear-gradient(90deg,rgba(149,60,25,.20),rgba(255,255,255,.06) 54%,rgba(255,255,255,.28));
  pointer-events:none!important;
}
.home-rabbi-portrait{
  position:absolute!important;
  z-index:5!important;
  right:clamp(-18px,3vw,58px)!important;
  bottom:-118px!important;
  height:clamp(430px,55vw,650px)!important;
  max-height:none!important;
  width:auto!important;
  object-fit:contain!important;
  object-position:right bottom!important;
  filter:drop-shadow(-26px 28px 44px rgba(83,39,21,.34))!important;
  transform:translateX(0)!important;
  pointer-events:none!important;
}
.home-live-grid{
  position:relative!important;
  z-index:6!important;
  width:min(1180px,calc(100% - 32px))!important;
  height:100%!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
}
.home-live-hero .home-hero-panel{
  width:min(760px,56vw)!important;
  margin:0 auto!important;
  transform:translateX(-9vw)!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  clip-path:none!important;
}
.home-live-hero .horaa-hero-seal,
.home-live-hero .home-hero-panel::before,
.home-live-hero .home-hero-panel::after{
  display:none!important;
  content:none!important;
}
.home-live-hero .horaa-hero-crown{
  width:min(430px,50vw)!important;
  height:30px!important;
  margin:0 auto 10px!important;
  opacity:.95!important;
}
.home-live-hero .hero-depth-brand{
  color:#08283a!important;
  -webkit-text-fill-color:initial!important;
  mix-blend-mode:normal!important;
  font-size:clamp(3.6rem,8.8vw,8.9rem)!important;
  line-height:.82!important;
  text-shadow:none!important;
  opacity:.98!important;
}
.home-live-hero .home-hero-panel h1{
  margin:-6px auto 0!important;
  gap:4px!important;
}
.home-live-hero .home-hero-panel h1 span{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:clamp(2rem,4vw,4.2rem)!important;
  line-height:.92!important;
  text-shadow:0 9px 20px rgba(96,43,21,.28)!important;
}
.home-live-hero .home-hero-panel h1 strong{
  color:#08283a!important;
  padding-bottom:18px!important;
  font-size:clamp(1.05rem,1.65vw,1.55rem)!important;
  text-shadow:0 8px 18px rgba(255,255,255,.15)!important;
}
.home-live-hero .home-hero-panel p{
  display:block!important;
  margin:-2px auto 0!important;
  color:#fffdf2!important;
  font-size:clamp(1rem,1.55vw,1.35rem)!important;
  line-height:1.08!important;
  text-shadow:0 8px 18px rgba(96,43,21,.32)!important;
}
.home-live-hero .home-horaa-search{
  width:min(650px,100%)!important;
  min-height:58px!important;
  margin-top:26px!important;
  box-shadow:0 18px 46px rgba(115,55,28,.22)!important;
}
.home-live-hero .portal-actions{
  margin-top:24px!important;
}
@media(max-width:980px){
  .home-live-hero{
    height:690px!important;
    background-position:left center!important;
  }
  .home-rabbi-portrait{
    right:50%!important;
    transform:translateX(50%)!important;
    bottom:-96px!important;
    height:430px!important;
    opacity:.88!important;
  }
  .home-live-grid{
    align-items:start!important;
    padding-top:44px!important;
  }
  .home-live-hero .home-hero-panel{
    width:min(680px,94vw)!important;
    transform:none!important;
  }
}
@media(max-width:560px){
  .home-live-hero{height:650px!important;}
  .home-rabbi-portrait{height:360px!important;bottom:-92px!important;opacity:.84!important;}
  .home-live-grid{padding-top:34px!important;}
  .home-live-hero .hero-depth-brand{font-size:clamp(3rem,15vw,4.4rem)!important;}
  .home-live-hero .home-horaa-search{margin-top:20px!important;}
}

.home-live-hero{
  position:relative!important;
  isolation:isolate!important;
  min-height:clamp(620px,74vh,760px)!important;
  overflow:hidden!important;
  background:
    linear-gradient(90deg,rgba(3,31,18,.22) 0%,rgba(4,56,30,.38) 34%,rgba(4,61,34,.72) 62%,rgba(3,34,22,.96) 100%),
    linear-gradient(180deg,rgba(2,24,15,.08),rgba(2,24,15,.68)),
    url("assets/home-hero-beit-midrash-lesson.jpeg") left center/cover no-repeat!important;
}
.home-live-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.03) 28%,rgba(0,48,24,.34) 58%,rgba(3,31,18,.88) 100%),
    radial-gradient(circle at 72% 42%,rgba(221,202,98,.14),transparent 30%);
  pointer-events:none!important;
}
.home-live-hero::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(90deg,rgba(3,31,18,.04),rgba(3,31,18,.20) 40%,rgba(3,31,18,.74) 100%),
    radial-gradient(ellipse at 48% 58%,rgba(255,255,255,.08),transparent 34%);
  pointer-events:none!important;
}
.home-rabbi-portrait{
  position:absolute!important;
  z-index:5!important;
  right:clamp(-18px,2vw,42px)!important;
  bottom:-235px!important;
  height:min(88vh,820px)!important;
  max-height:none!important;
  width:auto!important;
  object-fit:contain!important;
  object-position:right bottom!important;
  filter:drop-shadow(-28px 24px 44px rgba(0,0,0,.42)) drop-shadow(0 0 22px rgba(221,202,98,.12))!important;
  transform:translateX(0)!important;
  pointer-events:none!important;
}
.home-live-grid{
  position:relative!important;
  z-index:6!important;
  width:min(1180px,calc(100% - 32px))!important;
  margin:0 auto!important;
  padding:clamp(74px,8vh,104px) 0 clamp(96px,12vh,132px)!important;
  display:grid!important;
  place-items:center!important;
}
.home-live-hero .home-hero-panel{
  width:min(720px,56vw)!important;
  margin-inline:auto auto!important;
  transform:translateX(-16vw)!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  clip-path:none!important;
}
.home-live-hero .horaa-hero-seal{
  opacity:.08!important;
  z-index:2!important;
}
.home-live-hero .hero-depth-brand{
  color:rgba(255,255,255,.13)!important;
  text-shadow:0 18px 50px rgba(0,0,0,.22)!important;
}
.home-live-hero .home-hero-panel h1 strong,
.home-live-hero .home-hero-panel p{
  text-shadow:0 2px 0 rgba(0,31,10,.55),0 18px 38px rgba(0,0,0,.46)!important;
}
.home-live-hero .home-horaa-search{
  width:min(660px,100%)!important;
}
@media(max-width:980px){
  .home-live-hero{
    min-height:760px!important;
    background-position:left center!important;
  }
  .home-rabbi-portrait{
    right:50%!important;
    transform:translateX(50%)!important;
    bottom:-150px!important;
    height:min(58vh,520px)!important;
    opacity:.86!important;
  }
  .home-live-grid{
    padding:62px 0 330px!important;
  }
  .home-live-hero .home-hero-panel{
    width:min(680px,94vw)!important;
    transform:none!important;
  }
}
@media(max-width:560px){
  .home-live-hero{min-height:720px!important;}
  .home-rabbi-portrait{height:410px!important;bottom:-130px!important;opacity:.78!important;}
  .home-live-grid{padding:48px 0 295px!important;}
  .home-live-hero .home-hero-panel{padding:0!important;}
}

.home-live-hero{
  position:relative!important;
  isolation:isolate!important;
  min-height:clamp(650px,78vh,820px)!important;
  overflow:hidden!important;
  background:
    linear-gradient(90deg,rgba(3,31,18,.98) 0%,rgba(4,56,30,.78) 35%,rgba(4,68,34,.52) 58%,rgba(4,46,28,.92) 100%),
    linear-gradient(180deg,rgba(2,24,15,.18),rgba(2,24,15,.78)),
    url("assets/home-hero-beit-midrash-lesson.jpeg") left center/cover no-repeat!important;
}
.home-live-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    radial-gradient(circle at 75% 42%,rgba(221,202,98,.16),transparent 30%),
    linear-gradient(90deg,rgba(4,70,36,.2),rgba(255,255,255,.06) 52%,rgba(3,39,24,.68));
  pointer-events:none!important;
}
.home-live-hero::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(90deg,rgba(3,31,18,.16),rgba(3,31,18,.42) 36%,rgba(3,31,18,.72) 100%),
    radial-gradient(ellipse at 52% 58%,rgba(255,255,255,.10),transparent 34%);
  backdrop-filter:saturate(.92) contrast(.98);
  pointer-events:none!important;
}
.home-rabbi-portrait{
  position:absolute!important;
  z-index:5!important;
  right:clamp(-36px,1.5vw,32px)!important;
  bottom:0!important;
  height:min(69vh,620px)!important;
  max-height:calc(100% - 18px)!important;
  width:auto!important;
  object-fit:contain!important;
  object-position:right bottom!important;
  filter:drop-shadow(-28px 26px 46px rgba(0,0,0,.44)) drop-shadow(0 0 22px rgba(221,202,98,.14))!important;
  transform:translateX(2%)!important;
  pointer-events:none!important;
}
.home-live-grid{
  position:relative!important;
  z-index:6!important;
  width:min(1180px,calc(100% - 32px))!important;
  margin:0 auto!important;
  padding:clamp(78px,9vh,118px) 0 clamp(110px,14vh,150px)!important;
  display:grid!important;
  place-items:center!important;
}
.home-live-hero .home-hero-panel{
  width:min(700px,54vw)!important;
  margin-inline:auto auto!important;
  transform:translateX(-15vw)!important;
  padding:22px 26px 18px!important;
  border-radius:28px 4px 28px 4px!important;
  background:linear-gradient(180deg,rgba(2,37,22,.18),rgba(2,37,22,.34))!important;
  box-shadow:0 28px 90px rgba(0,0,0,.16), inset 0 0 0 1px rgba(221,202,98,.12)!important;
  backdrop-filter:blur(1px)!important;
}
.home-live-hero .horaa-hero-seal{
  opacity:.10!important;
  z-index:2!important;
}
.home-live-hero .hero-depth-brand{
  color:rgba(255,255,255,.13)!important;
  text-shadow:0 18px 50px rgba(0,0,0,.22)!important;
}
.home-live-hero .home-hero-panel h1 strong,
.home-live-hero .home-hero-panel p{
  text-shadow:0 2px 0 rgba(0,31,10,.55),0 18px 38px rgba(0,0,0,.46)!important;
}
.home-live-hero .home-horaa-search{
  width:min(760px,100%)!important;
}
@media(max-width:980px){
  .home-live-hero{
    min-height:760px!important;
    background-position:center center!important;
  }
  .home-rabbi-portrait{
    right:50%!important;
    transform:translateX(50%)!important;
    height:min(49vh,430px)!important;
    opacity:.82!important;
  }
  .home-live-grid{
    padding:70px 0 330px!important;
  }
  .home-live-hero .home-hero-panel{
    width:min(680px,94vw)!important;
    transform:none!important;
    background:linear-gradient(180deg,rgba(3,48,28,.42),rgba(3,48,28,.62))!important;
  }
}
@media(max-width:560px){
  .home-live-hero{min-height:720px!important;}
  .home-rabbi-portrait{height:330px!important;opacity:.72!important;}
  .home-live-grid{padding:48px 0 285px!important;}
  .home-live-hero .home-hero-panel{padding:12px 10px!important;border-radius:20px 4px!important;}
}


/* Remove hero text frame completely */
.home-live-hero .horaa-hero-seal,
.home-live-hero .home-hero-panel::before,
.home-live-hero .home-hero-panel::after{
  display:none!important;
  content:none!important;
  opacity:0!important;
}
.home-live-hero .home-hero-panel{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}

/* ABSOLUTE FINAL: green-gold rabbi hero */
.home-live-hero{
  height:clamp(520px,48vw,660px)!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  position:relative!important;
  isolation:isolate!important;
  background:
    linear-gradient(90deg,rgba(3,31,18,.96) 0%,rgba(5,73,37,.82) 38%,rgba(5,75,38,.72) 62%,rgba(3,31,18,.96) 100%),
    url("assets/home-hero-beit-midrash-lesson.jpeg") center center/cover no-repeat!important;
}
.home-live-hero::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    radial-gradient(ellipse at 48% 34%,rgba(221,202,98,.16),transparent 28%),
    linear-gradient(90deg,rgba(3,31,18,.92) 0%,rgba(0,48,24,.58) 38%,rgba(0,48,24,.38) 62%,rgba(3,31,18,.82) 100%)!important;
  opacity:1!important;
  pointer-events:none!important;
}
.home-live-hero::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.30) 72%,rgba(3,31,18,.72)),
    radial-gradient(ellipse at 54% 60%,rgba(255,255,255,.08),transparent 34%)!important;
  opacity:1!important;
  pointer-events:none!important;
}
.home-live-hero .horaa-hero-seal,
.home-live-hero .horaa-hero-gates,
.home-live-hero .horaa-hero-gates span,
.home-live-hero .home-hero-panel::before,
.home-live-hero .home-hero-panel::after{
  display:none!important;
  content:none!important;
  opacity:0!important;
}
.home-rabbi-portrait{
  display:block!important;
  position:absolute!important;
  z-index:5!important;
  left:clamp(18px,5vw,94px)!important;
  right:auto!important;
  bottom:-8px!important;
  height:clamp(330px,38vw,440px)!important;
  max-height:calc(100% - 110px)!important;
  width:auto!important;
  object-fit:contain!important;
  object-position:left bottom!important;
  filter:drop-shadow(24px 26px 46px rgba(0,0,0,.42)) drop-shadow(0 0 24px rgba(221,202,98,.12))!important;
  opacity:1!important;
  transform:none!important;
  pointer-events:none!important;
}
.home-live-grid{
  position:relative!important;
  z-index:6!important;
  height:100%!important;
  width:min(1180px,calc(100% - 32px))!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
}
.home-live-hero .home-hero-panel,
.home-live-hero .home-hero-panel.reveal{
  width:min(720px,56vw)!important;
  margin:0 auto!important;
  transform:translateX(8vw)!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  clip-path:none!important;
  opacity:1!important;
  filter:none!important;
}
.home-live-hero .horaa-hero-crown{
  width:min(420px,48vw)!important;
  height:28px!important;
  margin:0 auto 8px!important;
  opacity:.95!important;
}
.home-live-hero .hero-depth-brand{
  color:rgba(221,202,98,.22)!important;
  -webkit-text-fill-color:rgba(221,202,98,.22)!important;
  mix-blend-mode:normal!important;
  font-size:clamp(3.5rem,8vw,8rem)!important;
  line-height:.82!important;
  opacity:1!important;
  text-shadow:0 20px 48px rgba(0,0,0,.22)!important;
}
.home-live-hero .home-hero-panel h1{
  margin:-2px auto 0!important;
  gap:2px!important;
}
.home-live-hero .home-hero-panel h1 span{
  color:#ddca62!important;
  -webkit-text-fill-color:#ddca62!important;
  font-size:clamp(1.95rem,3.8vw,4rem)!important;
  line-height:.94!important;
  text-shadow:0 1px 0 #fff2bd,0 13px 34px rgba(0,0,0,.34)!important;
}
.home-live-hero .home-hero-panel h1 strong{
  color:#fffdf2!important;
  padding-bottom:16px!important;
  font-size:clamp(1rem,1.52vw,1.42rem)!important;
  text-shadow:0 2px 0 rgba(0,31,10,.55),0 18px 38px rgba(0,0,0,.46)!important;
}
.home-live-hero .home-hero-panel h1 strong::after{
  height:24px!important;
  bottom:-2px!important;
}
.home-live-hero .home-hero-panel p{
  display:block!important;
  margin:-2px auto 0!important;
  color:#fff4c4!important;
  font-size:clamp(.98rem,1.42vw,1.25rem)!important;
  line-height:1.08!important;
  text-shadow:0 2px 0 rgba(0,31,10,.50),0 14px 30px rgba(0,0,0,.38)!important;
}
.home-live-hero .home-horaa-search{
  width:min(620px,100%)!important;
  min-height:54px!important;
  margin-top:22px!important;
  box-shadow:0 18px 46px rgba(0,0,0,.24)!important;
}
.home-live-hero .portal-actions{
  margin-top:18px!important;
}
@media(max-width:980px){
  .home-live-hero{height:680px!important;background-position:center center!important;}
  .home-rabbi-portrait{left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:-6px!important;height:340px!important;opacity:.88!important;}
  .home-live-grid{place-items:start center!important;padding-top:44px!important;}
  .home-live-hero .home-hero-panel{width:min(680px,94vw)!important;transform:none!important;}
}
@media(max-width:560px){
  .home-live-hero{height:650px!important;}
  .home-rabbi-portrait{height:300px!important;bottom:-8px!important;opacity:.86!important;}
  .home-live-grid{padding-top:32px!important;}
  .home-live-hero .hero-depth-brand{font-size:clamp(3rem,15vw,4.4rem)!important;}
  .home-live-hero .home-horaa-search{margin-top:18px!important;min-height:52px!important;}
}


/* FINAL HERO REFINEMENT: green lesson blend with quality rabbi portrait */
.home-live-hero{
  height:clamp(500px,43vw,620px)!important;
  min-height:0!important;
  overflow:hidden!important;
  position:relative!important;
  isolation:isolate!important;
  background:
    linear-gradient(90deg,#002A15 0%,#003018 18%,rgba(0,48,24,.86) 32%,rgba(0,48,24,.54) 50%,rgba(3,45,24,.88) 76%,#032d18 100%),
    url("assets/home-hero-beit-midrash-lesson.jpeg") center center/cover no-repeat!important;
}
.home-live-hero::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    linear-gradient(90deg,#003018 0%,#003018 17%,rgba(0,48,24,.92) 27%,rgba(0,48,24,.52) 46%,rgba(3,47,25,.76) 70%,rgba(3,35,20,.94) 100%),
    radial-gradient(ellipse at 43% 28%,rgba(221,202,98,.20),transparent 24%),
    radial-gradient(ellipse at 56% 63%,rgba(255,255,255,.08),transparent 32%)!important;
  opacity:1!important;
  pointer-events:none!important;
}
.home-live-hero::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.18) 66%,rgba(3,31,18,.55) 100%),
    linear-gradient(90deg,rgba(0,48,24,.0) 0%,rgba(0,48,24,.08) 34%,rgba(0,48,24,.28) 100%)!important;
  pointer-events:none!important;
}
.home-rabbi-portrait{
  display:block!important;
  position:absolute!important;
  z-index:5!important;
  left:clamp(6px,4vw,76px)!important;
  right:auto!important;
  bottom:-2px!important;
  height:clamp(470px,50vw,610px)!important;
  max-height:calc(100% - 14px)!important;
  width:auto!important;
  object-fit:contain!important;
  object-position:left bottom!important;
  opacity:1!important;
  transform:none!important;
  filter:drop-shadow(26px 28px 44px rgba(0,0,0,.36)) drop-shadow(0 0 18px rgba(221,202,98,.12))!important;
  pointer-events:none!important;
}
.home-live-hero .home-hero-panel,
.home-live-hero .home-hero-panel.reveal{
  width:min(720px,56vw)!important;
  transform:translateX(8vw)!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  clip-path:none!important;
}
.home-live-hero .hero-depth-brand{
  color:rgba(221,202,98,.28)!important;
  -webkit-text-fill-color:rgba(221,202,98,.28)!important;
  text-shadow:0 22px 48px rgba(0,0,0,.22)!important;
}
.home-live-hero .home-hero-panel h1 span{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 2px 0 rgba(0,31,10,.48),0 18px 36px rgba(0,0,0,.42)!important;
}
.home-live-hero .home-hero-panel h1 strong,
.home-live-hero .home-hero-panel p{
  color:#fff8d6!important;
  -webkit-text-fill-color:#fff8d6!important;
}
.home-live-hero .home-hero-panel h1 strong::before,
.home-live-hero .home-hero-panel h1 strong::after{
  background:linear-gradient(90deg,transparent,#ddca62 18%,#fff8cf 50%,#ddca62 82%,transparent)!important;
}
.home-live-hero .home-horaa-search{
  width:min(620px,100%)!important;
  min-height:54px!important;
  margin-top:22px!important;
}
@media(max-width:980px){
  .home-live-hero{height:680px!important;background-position:center center!important;}
  .home-rabbi-portrait{left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:-6px!important;height:clamp(360px,62vw,470px)!important;max-height:calc(100% - 180px)!important;opacity:.94!important;}
  .home-live-grid{place-items:start center!important;padding-top:44px!important;}
  .home-live-hero .home-hero-panel{width:min(680px,94vw)!important;transform:none!important;}
}
@media(max-width:560px){
  .home-live-hero{height:650px!important;}
  .home-rabbi-portrait{height:330px!important;bottom:-8px!important;opacity:.9!important;}
  .home-live-hero .hero-depth-brand{font-size:clamp(3rem,15vw,4.4rem)!important;}
}


/* Mobile cleanup for the new rabbi hero */
@media(max-width:560px){
  .home-live-hero{height:650px!important;}
  .home-live-hero .portal-actions{position:relative!important;z-index:9!important;margin-top:14px!important;}
  .home-rabbi-portrait{
    height:285px!important;
    max-height:285px!important;
    bottom:-4px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    opacity:.92!important;
    z-index:4!important;
  }
}


/* Restore first hero composition: centered green-gold banner */
.home-live-hero{
  height:clamp(500px,43vw,620px)!important;
  min-height:0!important;
  overflow:hidden!important;
  background:
    linear-gradient(90deg,rgba(3,31,18,.94) 0%,rgba(0,48,24,.78) 34%,rgba(0,48,24,.60) 58%,rgba(3,31,18,.96) 100%),
    url("assets/home-hero-beit-midrash-lesson.jpeg") center center/cover no-repeat!important;
}
.home-live-hero::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    radial-gradient(ellipse at 50% 30%,rgba(221,202,98,.16),transparent 26%),
    linear-gradient(90deg,rgba(3,31,18,.88) 0%,rgba(0,48,24,.52) 38%,rgba(0,48,24,.34) 62%,rgba(3,31,18,.88) 100%)!important;
  opacity:1!important;
  pointer-events:none!important;
}
.home-live-hero::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.26) 72%,rgba(3,31,18,.70)),
    radial-gradient(ellipse at 52% 60%,rgba(255,255,255,.08),transparent 34%)!important;
  opacity:1!important;
  pointer-events:none!important;
}
.home-live-grid{
  position:relative!important;
  z-index:6!important;
  height:100%!important;
  width:min(1280px,calc(100% - 32px))!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
}
.home-live-hero .home-hero-panel,
.home-live-hero .home-hero-panel.reveal{
  width:min(1120px,86vw)!important;
  margin:0 auto!important;
  transform:none!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  clip-path:none!important;
  opacity:1!important;
  filter:none!important;
  text-align:center!important;
}
.home-rabbi-portrait{
  left:clamp(8px,4vw,70px)!important;
  right:auto!important;
  bottom:-2px!important;
  height:clamp(470px,50vw,610px)!important;
  max-height:calc(100% - 14px)!important;
  z-index:5!important;
  opacity:.96!important;
  transform:none!important;
}
.home-live-hero .hero-depth-brand{
  color:rgba(221,202,98,.26)!important;
  -webkit-text-fill-color:rgba(221,202,98,.26)!important;
  font-size:clamp(3.5rem,8vw,8rem)!important;
  line-height:.82!important;
  opacity:1!important;
  text-shadow:0 20px 48px rgba(0,0,0,.22)!important;
}
.home-live-hero .home-hero-panel h1{
  margin:-2px auto 0!important;
  gap:2px!important;
  align-items:center!important;
  text-align:center!important;
}
.home-live-hero .home-hero-panel h1 span{
  color:#ddca62!important;
  -webkit-text-fill-color:#ddca62!important;
  font-size:clamp(1.95rem,3.8vw,4rem)!important;
  line-height:.94!important;
  text-shadow:0 1px 0 #fff2bd,0 13px 34px rgba(0,0,0,.34)!important;
}
.home-live-hero .home-hero-panel h1 strong{
  color:#fffdf2!important;
  -webkit-text-fill-color:#fffdf2!important;
  padding-bottom:16px!important;
  font-size:clamp(1rem,1.52vw,1.42rem)!important;
  text-shadow:0 2px 0 rgba(0,31,10,.55),0 18px 38px rgba(0,0,0,.46)!important;
}
.home-live-hero .home-hero-panel p{
  display:block!important;
  margin:-2px auto 0!important;
  color:#fff4c4!important;
  -webkit-text-fill-color:#fff4c4!important;
  font-size:clamp(.98rem,1.42vw,1.25rem)!important;
  line-height:1.08!important;
  text-shadow:0 2px 0 rgba(0,31,10,.50),0 14px 30px rgba(0,0,0,.38)!important;
}
.home-live-hero .home-horaa-search{
  width:min(1100px,58vw)!important;
  min-height:72px!important;
  margin:22px auto 0!important;
  border-radius:999px!important;
  box-shadow:0 18px 46px rgba(0,0,0,.24)!important;
}
.home-live-hero .home-horaa-search button{
  width:84px!important;
  min-width:84px!important;
}
.home-live-hero .portal-actions{
  margin-top:46px!important;
}
@media(max-width:980px){
  .home-live-hero{height:680px!important;background-position:center center!important;}
  .home-rabbi-portrait{left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:-6px!important;height:clamp(360px,62vw,470px)!important;max-height:calc(100% - 180px)!important;opacity:.92!important;}
  .home-live-grid{place-items:start center!important;padding-top:44px!important;}
  .home-live-hero .home-hero-panel{width:min(680px,94vw)!important;transform:none!important;}
  .home-live-hero .home-horaa-search{width:min(620px,94vw)!important;min-height:56px!important;}
}
@media(max-width:560px){
  .home-live-hero{height:650px!important;}
  .home-rabbi-portrait{height:285px!important;max-height:285px!important;bottom:-4px!important;left:50%!important;transform:translateX(-50%)!important;opacity:.9!important;z-index:4!important;}
  .home-live-hero .hero-depth-brand{font-size:clamp(3rem,15vw,4.4rem)!important;}
  .home-live-hero .home-horaa-search{min-height:52px!important;}
  .home-live-hero .home-horaa-search button{width:68px!important;min-width:68px!important;}
}


/* Exact hero typography colors and mobile composition */
.home-live-hero .hero-depth-brand{
  color:rgba(221,202,98,.24)!important;
  -webkit-text-fill-color:rgba(221,202,98,.24)!important;
  text-shadow:0 20px 46px rgba(0,0,0,.24)!important;
}
.home-live-hero .home-hero-panel h1 span{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 2px 0 rgba(0,31,10,.52),0 18px 38px rgba(0,0,0,.46)!important;
}
.home-live-hero .home-hero-panel h1 strong{
  color:#fffdf2!important;
  -webkit-text-fill-color:#fffdf2!important;
  text-shadow:0 2px 0 rgba(0,31,10,.56),0 18px 38px rgba(0,0,0,.46)!important;
}
.home-live-hero .home-hero-panel p{
  color:#fff4c4!important;
  -webkit-text-fill-color:#fff4c4!important;
  font-weight:900!important;
  text-shadow:0 2px 0 rgba(0,31,10,.54),0 14px 30px rgba(0,0,0,.42)!important;
}
.home-live-hero .home-hero-panel h1 strong::before,
.home-live-hero .home-hero-panel h1 strong::after{
  background:linear-gradient(90deg,transparent,#c99f35 18%,#fff2b8 50%,#c99f35 82%,transparent)!important;
}
.home-live-hero .home-horaa-search input,
.home-live-hero .home-horaa-search input::placeholder{
  color:#68778b!important;
  -webkit-text-fill-color:#68778b!important;
}
@media(max-width:560px){
  .home-live-hero{
    height:640px!important;
    background:
      linear-gradient(180deg,rgba(0,48,24,.95) 0%,rgba(0,48,24,.88) 42%,rgba(0,48,24,.62) 64%,rgba(3,31,18,.92) 100%),
      url("assets/home-hero-beit-midrash-lesson.jpeg") center bottom/cover no-repeat!important;
  }
  .home-live-hero::before{
    background:
      radial-gradient(ellipse at 50% 16%,rgba(221,202,98,.14),transparent 26%),
      linear-gradient(180deg,rgba(0,48,24,.86) 0%,rgba(0,48,24,.72) 46%,rgba(0,48,24,.34) 68%,rgba(3,31,18,.84) 100%)!important;
  }
  .home-live-hero::after{
    background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.14) 46%,rgba(3,31,18,.54) 100%)!important;
  }
  .home-live-grid{
    align-items:start!important;
    justify-items:center!important;
    padding-top:24px!important;
    width:100%!important;
  }
  .home-live-hero .home-hero-panel,
  .home-live-hero .home-hero-panel.reveal{
    width:min(390px,92vw)!important;
    transform:none!important;
    text-align:center!important;
  }
  .home-live-hero .horaa-hero-crown{
    width:230px!important;
    height:20px!important;
    margin:0 auto 2px!important;
  }
  .home-live-hero .hero-depth-brand{
    font-size:clamp(2.35rem,15vw,4rem)!important;
    line-height:.78!important;
    margin-bottom:2px!important;
  }
  .home-live-hero .home-hero-panel h1 span{
    font-size:clamp(2.15rem,13vw,3.5rem)!important;
    line-height:.84!important;
  }
  .home-live-hero .home-hero-panel h1 strong{
    font-size:.92rem!important;
    line-height:1.06!important;
    padding-bottom:9px!important;
  }
  .home-live-hero .home-hero-panel p{
    font-size:.92rem!important;
    margin-top:0!important;
  }
  .home-live-hero .home-horaa-search{
    width:min(350px,92vw)!important;
    min-height:50px!important;
    margin:18px auto 0!important;
    position:relative!important;
    z-index:9!important;
    direction:ltr!important;
  }
  .home-live-hero .home-horaa-search input{
    direction:rtl!important;
    text-align:right!important;
    font-size:1rem!important;
    padding-inline:16px!important;
  }
  .home-live-hero .home-horaa-search button{
    width:54px!important;
    min-width:54px!important;
    height:54px!important;
    margin:-2px!important;
    border-radius:999px!important;
  }
  .home-live-hero .portal-actions{
    margin-top:16px!important;
    position:relative!important;
    z-index:9!important;
  }
  .home-live-hero .portal-actions .btn{
    min-height:46px!important;
    padding:10px 20px!important;
    font-size:.9rem!important;
  }
  .home-rabbi-portrait{
    height:290px!important;
    max-height:290px!important;
    left:50%!important;
    right:auto!important;
    bottom:-4px!important;
    transform:translateX(-50%)!important;
    opacity:.94!important;
    z-index:4!important;
  }
}


/* Final exact hero title hierarchy */
.home-live-hero .home-hero-panel{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;}
.home-live-hero .hero-depth-brand{
  display:block!important;
  position:relative!important;
  margin:0 auto 12px!important;
  color:#b7832f!important;
  -webkit-text-fill-color:#b7832f!important;
  font-size:clamp(3.8rem,7vw,7.2rem)!important;
  font-weight:900!important;
  line-height:.86!important;
  opacity:1!important;
  text-shadow:
    0 1px 0 #f7df95,
    0 3px 0 #7d5620,
    0 12px 24px rgba(0,0,0,.34)!important;
}
.home-live-hero .home-hero-panel h1{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  margin:0 auto!important;
  text-align:center!important;
}
.home-live-hero .home-hero-panel h1 span{
  display:block!important;
  position:relative!important;
  color:#fffdf7!important;
  -webkit-text-fill-color:#fffdf7!important;
  font-size:clamp(3.2rem,5.7vw,5.6rem)!important;
  font-weight:900!important;
  line-height:.82!important;
  letter-spacing:0!important;
  text-shadow:
    0 2px 0 rgba(0,31,10,.72),
    0 18px 42px rgba(0,0,0,.50)!important;
  opacity:1!important;
  visibility:visible!important;
}
.home-live-hero .home-hero-panel h1 strong{
  display:block!important;
  color:#fffdf2!important;
  -webkit-text-fill-color:#fffdf2!important;
  font-size:clamp(1rem,1.45vw,1.34rem)!important;
  font-weight:800!important;
  line-height:1.05!important;
  margin:0 auto!important;
  padding:0 0 14px!important;
  text-shadow:0 2px 0 rgba(0,31,10,.56),0 15px 32px rgba(0,0,0,.45)!important;
}
.home-live-hero .home-hero-panel p{
  color:#fff1b8!important;
  -webkit-text-fill-color:#fff1b8!important;
  font-size:clamp(1rem,1.38vw,1.22rem)!important;
  font-weight:900!important;
  margin:0 auto!important;
  line-height:1.05!important;
  text-shadow:0 2px 0 rgba(0,31,10,.62),0 16px 30px rgba(0,0,0,.44)!important;
}
.home-live-hero .home-horaa-search{margin-top:30px!important;}
@media(max-width:560px){
  .home-live-hero{height:640px!important;}
  .home-live-hero .home-hero-panel{justify-content:flex-start!important;padding-top:18px!important;}
  .home-live-hero .horaa-hero-crown{margin-bottom:0!important;}
  .home-live-hero .hero-depth-brand{
    font-size:clamp(2.3rem,12vw,3.45rem)!important;
    margin:0 auto 6px!important;
    line-height:.82!important;
  }
  .home-live-hero .home-hero-panel h1 span{
    font-size:clamp(2.7rem,14vw,4.2rem)!important;
    line-height:.8!important;
  }
  .home-live-hero .home-hero-panel h1 strong{
    font-size:.86rem!important;
    padding-bottom:7px!important;
    line-height:1!important;
  }
  .home-live-hero .home-hero-panel p{font-size:.86rem!important;}
  .home-live-hero .home-horaa-search{
    width:min(346px,91vw)!important;
    min-height:52px!important;
    margin:18px auto 0!important;
    z-index:10!important;
  }
  .home-live-hero .portal-actions{margin-top:14px!important;z-index:10!important;}
  .home-rabbi-portrait{
    left:8px!important;
    right:auto!important;
    bottom:-5px!important;
    transform:none!important;
    height:292px!important;
    max-height:292px!important;
    opacity:.92!important;
    z-index:4!important;
  }
}


/* Fix visible white Torat Avi letters */
.home-live-hero .home-hero-panel h1 span{
  background:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  -webkit-text-fill-color:#fffdf7!important;
  color:#fffdf7!important;
  -webkit-text-stroke:0!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  opacity:1!important;
}
.home-live-hero .home-hero-panel h1 span::before,
.home-live-hero .home-hero-panel h1 span::after{
  display:none!important;
  content:none!important;
}


/* Hero title spacing: prevent gold line overlap */
.home-live-hero .home-hero-panel h1{gap:12px!important;}
.home-live-hero .home-hero-panel h1 span{
  font-size:clamp(3rem,5.1vw,5rem)!important;
  margin:0 auto 2px!important;
}
.home-live-hero .home-hero-panel h1 strong{
  margin:2px auto 0!important;
  padding:0 0 18px!important;
  position:relative!important;
  z-index:2!important;
}
.home-live-hero .home-hero-panel h1 strong::before{display:none!important;content:none!important;}
.home-live-hero .home-hero-panel h1 strong::after{
  display:block!important;
  content:""!important;
  position:absolute!important;
  left:50%!important;
  right:auto!important;
  bottom:-4px!important;
  width:min(430px,70vw)!important;
  height:18px!important;
  transform:translateX(-50%)!important;
  background:linear-gradient(90deg,transparent,#c99f35 18%,#fff2b8 50%,#c99f35 82%,transparent)!important;
  opacity:.78!important;
  filter:blur(.2px)!important;
  z-index:-1!important;
}
.home-live-hero .home-hero-panel p{
  margin:8px auto 0!important;
  position:relative!important;
  z-index:3!important;
}
@media(max-width:560px){
  .home-live-hero .home-hero-panel h1{gap:9px!important;}
  .home-live-hero .home-hero-panel h1 span{font-size:clamp(2.25rem,12vw,3.65rem)!important;margin-bottom:0!important;}
  .home-live-hero .home-hero-panel h1 strong{font-size:.82rem!important;padding-bottom:12px!important;}
  .home-live-hero .home-hero-panel h1 strong::after{width:min(310px,78vw)!important;height:14px!important;bottom:-3px!important;}
  .home-live-hero .home-hero-panel p{font-size:.82rem!important;margin-top:5px!important;}
}


/* Final vertical spacing for hero title stack */
.home-live-hero .home-hero-panel h1{gap:22px!important;}
.home-live-hero .home-hero-panel h1 span{
  font-size:clamp(2.75rem,4.65vw,4.55rem)!important;
  line-height:.9!important;
  margin:0 auto!important;
}
.home-live-hero .home-hero-panel h1 strong{
  margin:0 auto!important;
  padding:0 0 16px!important;
  line-height:1.08!important;
}
.home-live-hero .home-hero-panel p{margin:6px auto 0!important;}
@media(max-width:560px){
  .home-live-hero .home-hero-panel h1{gap:18px!important;}
  .home-live-hero .home-hero-panel h1 span{
    font-size:clamp(2.05rem,10.5vw,3.2rem)!important;
    line-height:.92!important;
  }
  .home-live-hero .home-hero-panel h1 strong{font-size:.78rem!important;padding-bottom:10px!important;line-height:1.08!important;}
  .home-live-hero .home-hero-panel p{font-size:.8rem!important;margin-top:4px!important;}
}


/* Precision hero typography and clean gold divider */
.home-live-hero::before{
  background:
    linear-gradient(90deg,rgba(2,32,16,.95) 0%,rgba(4,55,24,.88) 16%,rgba(0,48,24,.58) 34%,rgba(0,48,24,.40) 58%,rgba(3,31,18,.88) 100%),
    radial-gradient(ellipse at 50% 28%,rgba(221,202,98,.12),transparent 24%)!important;
}
.home-live-hero::after{
  background:
    linear-gradient(90deg,rgba(0,20,9,.44) 0%,rgba(0,34,15,.22) 24%,rgba(0,0,0,0) 42%),
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.22) 70%,rgba(3,31,18,.72))!important;
}
.home-rabbi-portrait{
  filter:drop-shadow(26px 28px 44px rgba(0,0,0,.44)) saturate(.95) brightness(.94)!important;
}
.home-live-hero .home-hero-panel{justify-content:center!important;}
.home-live-hero .hero-depth-brand{
  font-family:"Times New Roman","David",serif!important;
  font-size:clamp(4.4rem,7.8vw,7.9rem)!important;
  line-height:.82!important;
  margin:0 auto 22px!important;
  color:#c6933f!important;
  -webkit-text-fill-color:#c6933f!important;
  background:linear-gradient(180deg,#f9e8a7 0%,#c99a43 34%,#76511f 72%,#d6ab55 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:.7px rgba(90,59,21,.76)!important;
  text-shadow:
    0 1px 0 rgba(255,244,185,.56),
    0 3px 0 rgba(93,61,22,.72),
    0 16px 36px rgba(0,0,0,.38)!important;
  filter:drop-shadow(0 0 10px rgba(221,202,98,.14))!important;
}
.home-live-hero .home-hero-panel h1{gap:16px!important;margin:0 auto!important;}
.home-live-hero .home-hero-panel h1 span{
  font-family:"Times New Roman","David",serif!important;
  font-size:clamp(3.6rem,5.85vw,5.9rem)!important;
  line-height:.86!important;
  color:#fffdf7!important;
  -webkit-text-fill-color:#fffdf7!important;
  background:none!important;
  -webkit-background-clip:border-box!important;
  background-clip:border-box!important;
  -webkit-text-stroke:0!important;
  text-shadow:
    0 2px 0 rgba(0,31,10,.72),
    0 12px 24px rgba(0,0,0,.42)!important;
}
.home-live-hero .home-hero-panel h1 strong{
  font-family:"Times New Roman","David",serif!important;
  font-size:clamp(1.25rem,1.8vw,1.72rem)!important;
  font-weight:800!important;
  line-height:1!important;
  color:#fffdf2!important;
  -webkit-text-fill-color:#fffdf2!important;
  padding:0!important;
  margin:0 auto!important;
  text-shadow:0 2px 0 rgba(0,31,10,.60),0 12px 24px rgba(0,0,0,.38)!important;
}
.home-live-hero .home-hero-panel h1 strong::before,
.home-live-hero .home-hero-panel h1 strong::after{display:none!important;content:none!important;}
.home-live-hero .home-hero-panel p{
  position:relative!important;
  margin:14px auto 0!important;
  padding-bottom:30px!important;
  color:#fff2bd!important;
  -webkit-text-fill-color:#fff2bd!important;
  font-size:clamp(1.05rem,1.45vw,1.3rem)!important;
  font-weight:900!important;
}
.home-live-hero .home-hero-panel p::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  bottom:0!important;
  width:min(430px,70vw)!important;
  height:18px!important;
  transform:translateX(-50%)!important;
  background:
    radial-gradient(circle at 25% 50%,#d5a844 0 4px,transparent 5px),
    radial-gradient(circle at 50% 50%,#fff7d8 0 4px,transparent 5px),
    radial-gradient(circle at 75% 50%,#d5a844 0 4px,transparent 5px),
    linear-gradient(90deg,transparent 0%,rgba(198,150,57,.82) 18%,rgba(255,242,184,.86) 50%,rgba(198,150,57,.82) 82%,transparent 100%)!important;
  background-repeat:no-repeat!important;
  background-size:100% 100%,100% 100%,100% 100%,100% 2px!important;
  background-position:center!important;
  opacity:.92!important;
  filter:none!important;
}
.home-live-hero .home-horaa-search{margin-top:20px!important;}
@media(max-width:560px){
  .home-live-hero::before{
    background:
      linear-gradient(180deg,rgba(0,48,24,.92) 0%,rgba(4,64,28,.84) 48%,rgba(2,30,14,.90) 100%),
      linear-gradient(90deg,rgba(0,24,10,.40),rgba(0,0,0,0) 48%)!important;
  }
  .home-live-hero .hero-depth-brand{font-size:clamp(2.75rem,13.6vw,4.15rem)!important;margin:0 auto 12px!important;}
  .home-live-hero .home-hero-panel h1{gap:12px!important;}
  .home-live-hero .home-hero-panel h1 span{font-size:clamp(2.85rem,14.5vw,4.3rem)!important;line-height:.82!important;}
  .home-live-hero .home-hero-panel h1 strong{font-size:.94rem!important;line-height:1!important;}
  .home-live-hero .home-hero-panel p{font-size:.86rem!important;margin-top:9px!important;padding-bottom:22px!important;}
  .home-live-hero .home-hero-panel p::after{width:min(300px,76vw)!important;height:14px!important;}
  .home-live-hero .home-horaa-search{margin-top:18px!important;}
  .home-rabbi-portrait{filter:drop-shadow(18px 20px 34px rgba(0,0,0,.46)) saturate(.94) brightness(.92)!important;}
}


/* Final hero text separation */
.home-live-hero .home-hero-panel h1{gap:24px!important;}
.home-live-hero .home-hero-panel h1 span{
  font-size:clamp(3.3rem,5.35vw,5.35rem)!important;
  line-height:1!important;
}
.home-live-hero .home-hero-panel h1 strong{
  margin-top:0!important;
  line-height:1.08!important;
}
.home-live-hero .home-hero-panel p{margin-top:16px!important;}
@media(max-width:560px){
  .home-live-hero .home-hero-panel h1{gap:18px!important;}
  .home-live-hero .home-hero-panel h1 span{
    font-size:clamp(2.45rem,12.6vw,3.75rem)!important;
    line-height:1!important;
  }
  .home-live-hero .home-hero-panel h1 strong{
    font-size:.82rem!important;
    line-height:1.08!important;
  }
  .home-live-hero .home-hero-panel p{margin-top:12px!important;}
}


/* Brighter engraved gold style for Beit Horaa hero title */
.home-live-hero .hero-depth-brand{
  color:#f2d47a!important;
  background:
    linear-gradient(180deg,
      #fff7bf 0%,
      #f3d475 18%,
      #c9943f 39%,
      #6f4a1c 57%,
      #b17b2d 76%,
      #f8df8a 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:1.05px rgba(78,49,15,.86)!important;
  text-shadow:
    0 1px 0 rgba(255,249,202,.88),
    0 2px 0 rgba(139,95,31,.88),
    0 4px 0 rgba(70,45,15,.78),
    0 10px 18px rgba(0,0,0,.34),
    0 0 18px rgba(255,225,126,.18)!important;
  filter:drop-shadow(0 0 6px rgba(255,236,154,.20)) drop-shadow(0 13px 18px rgba(0,0,0,.28))!important;
}
.home-live-hero .hero-depth-brand::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:7%!important;
  right:7%!important;
  top:17%!important;
  height:11%!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,224,.44),transparent)!important;
  opacity:.58!important;
  pointer-events:none!important;
  mix-blend-mode:screen!important;
}
@media(max-width:560px){
  .home-live-hero .hero-depth-brand{
    -webkit-text-stroke:.82px rgba(78,49,15,.86)!important;
    text-shadow:
      0 1px 0 rgba(255,249,202,.86),
      0 2px 0 rgba(139,95,31,.82),
      0 8px 14px rgba(0,0,0,.32),
      0 0 14px rgba(255,225,126,.16)!important;
  }
}


/* Match Beit Horaa title to the gold line edge color */
.home-live-hero .hero-depth-brand{
  color:#c99f35!important;
  -webkit-text-fill-color:#c99f35!important;
  background:linear-gradient(180deg,#d8b24a 0%,#c99f35 42%,#9a7125 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:.75px rgba(79,55,18,.72)!important;
  text-shadow:
    0 1px 0 rgba(255,239,170,.28),
    0 2px 0 rgba(78,55,18,.55),
    0 10px 20px rgba(0,0,0,.28)!important;
  filter:none!important;
}
.home-live-hero .hero-depth-brand::after{
  display:none!important;
  content:none!important;
}
@media(max-width:560px){
  .home-live-hero .hero-depth-brand{
    -webkit-text-stroke:.6px rgba(79,55,18,.72)!important;
    text-shadow:
      0 1px 0 rgba(255,239,170,.24),
      0 2px 0 rgba(78,55,18,.48),
      0 8px 16px rgba(0,0,0,.25)!important;
  }
}


/* Subtle animated gold shimmer on Beit Horaa title */
.home-live-hero .hero-depth-brand{
  position:relative!important;
  background:
    linear-gradient(180deg,#d8b24a 0%,#c99f35 42%,#9a7125 100%),
    linear-gradient(105deg,transparent 0%,transparent 36%,rgba(255,245,189,.56) 47%,rgba(255,255,255,.34) 50%,rgba(255,245,189,.46) 53%,transparent 64%,transparent 100%)!important;
  background-size:100% 100%,240% 100%!important;
  background-position:0 0,-160% 0!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  animation:heroGoldShimmer 5.8s ease-in-out infinite!important;
  filter:drop-shadow(0 0 5px rgba(201,159,53,.18))!important;
}
@keyframes heroGoldShimmer{
  0%,42%{background-position:0 0,-160% 0;}
  68%{background-position:0 0,160% 0;}
  100%{background-position:0 0,160% 0;}
}
@media(prefers-reduced-motion:reduce){
  .home-live-hero .hero-depth-brand{animation:none!important;background-position:0 0,45% 0!important;}
}


/* Stronger visible sparkle for Beit Horaa title */
.home-live-hero .hero-depth-brand{
  position:relative!important;
  background:
    linear-gradient(180deg,#e1bd54 0%,#c99f35 36%,#8d6421 70%,#d8b24a 100%),
    linear-gradient(105deg,transparent 0%,transparent 30%,rgba(255,239,151,.82) 43%,#fff8d2 50%,rgba(255,227,108,.72) 57%,transparent 70%,transparent 100%)!important;
  background-size:100% 100%,210% 100%!important;
  background-position:0 0,-150% 0!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:
    0 1px 0 rgba(255,239,170,.40),
    0 2px 0 rgba(78,55,18,.55),
    0 0 10px rgba(255,222,96,.24),
    0 0 22px rgba(255,222,96,.18),
    0 12px 22px rgba(0,0,0,.30)!important;
  filter:drop-shadow(0 0 9px rgba(255,218,89,.26)) drop-shadow(0 0 18px rgba(201,159,53,.20))!important;
  animation:heroGoldShimmerStrong 4.2s ease-in-out infinite!important;
}
.home-live-hero .hero-depth-brand::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:8% 4% 18%!important;
  background:
    radial-gradient(circle at 18% 22%,rgba(255,250,200,.95) 0 2px,transparent 4px),
    radial-gradient(circle at 74% 18%,rgba(255,235,142,.85) 0 2px,transparent 5px),
    radial-gradient(circle at 46% 58%,rgba(255,255,220,.70) 0 1.5px,transparent 4px)!important;
  opacity:.72!important;
  filter:drop-shadow(0 0 5px rgba(255,230,118,.66))!important;
  pointer-events:none!important;
  animation:heroGoldSparkles 3.6s ease-in-out infinite!important;
}
@keyframes heroGoldShimmerStrong{
  0%,28%{background-position:0 0,-150% 0;}
  60%{background-position:0 0,150% 0;}
  100%{background-position:0 0,150% 0;}
}
@keyframes heroGoldSparkles{
  0%,100%{opacity:.25;transform:scale(.98);}
  35%{opacity:.88;transform:scale(1.01);}
  62%{opacity:.45;transform:scale(1);}
}
@media(prefers-reduced-motion:reduce){
  .home-live-hero .hero-depth-brand{animation:none!important;}
  .home-live-hero .hero-depth-brand::after{animation:none!important;opacity:.55!important;}
}


/* Exact olive-gold engraved Beit Horaa style */
.home-live-hero .hero-depth-brand{
  position:relative!important;
  color:#aa8d45!important;
  background:
    linear-gradient(180deg,
      #d7c374 0%,
      #b99b4c 18%,
      #7d6635 48%,
      #5e4f2d 63%,
      #a18039 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:.55px rgba(57,47,24,.72)!important;
  text-shadow:
    0 1px 0 rgba(235,219,139,.42),
    0 2px 0 rgba(75,60,29,.86),
    0 3px 0 rgba(36,52,31,.72),
    0 7px 10px rgba(0,0,0,.30)!important;
  filter:none!important;
  animation:none!important;
}
.home-live-hero .hero-depth-brand::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:8% 3% 57%!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(255,242,169,.30),rgba(255,242,169,0))!important;
  opacity:.42!important;
  pointer-events:none!important;
  mix-blend-mode:screen!important;
}
.home-live-hero .hero-depth-brand::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:auto 1% -7% 1%!important;
  height:10px!important;
  border-radius:50%!important;
  background:radial-gradient(ellipse at center,rgba(0,0,0,.24),transparent 68%)!important;
  opacity:.52!important;
  filter:blur(1px)!important;
  pointer-events:none!important;
  animation:none!important;
}
@media(max-width:560px){
  .home-live-hero .hero-depth-brand{
    -webkit-text-stroke:.45px rgba(57,47,24,.72)!important;
    text-shadow:
      0 1px 0 rgba(235,219,139,.36),
      0 2px 0 rgba(75,60,29,.80),
      0 5px 8px rgba(0,0,0,.26)!important;
  }
}


/* Restore previous richer gold title style */
.home-live-hero .hero-depth-brand{
  position:relative!important;
  color:#c99f35!important;
  background:
    linear-gradient(180deg,#d8b24a 0%,#c99f35 42%,#9a7125 100%),
    linear-gradient(105deg,transparent 0%,transparent 36%,rgba(255,245,189,.48) 47%,rgba(255,255,255,.24) 50%,rgba(255,245,189,.34) 53%,transparent 64%,transparent 100%)!important;
  background-size:100% 100%,240% 100%!important;
  background-position:0 0,-160% 0!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:.75px rgba(79,55,18,.72)!important;
  text-shadow:
    0 1px 0 rgba(255,239,170,.28),
    0 2px 0 rgba(78,55,18,.55),
    0 10px 20px rgba(0,0,0,.28)!important;
  filter:drop-shadow(0 0 5px rgba(201,159,53,.16))!important;
  animation:heroGoldShimmer 5.8s ease-in-out infinite!important;
}
.home-live-hero .hero-depth-brand::before,
.home-live-hero .hero-depth-brand::after{
  display:none!important;
  content:none!important;
}
@media(max-width:560px){
  .home-live-hero .hero-depth-brand{
    -webkit-text-stroke:.6px rgba(79,55,18,.72)!important;
    text-shadow:
      0 1px 0 rgba(255,239,170,.24),
      0 2px 0 rgba(78,55,18,.48),
      0 8px 16px rgba(0,0,0,.25)!important;
  }
}


/* Jerusalem gold tone for Beit Horaa title */
.home-live-hero .hero-depth-brand{
  background:
    linear-gradient(180deg,#f3df9a 0%,#d6b45e 28%,#b88732 54%,#7e5521 74%,#c89b44 100%),
    linear-gradient(105deg,transparent 0%,transparent 38%,rgba(255,237,166,.44) 49%,rgba(255,246,206,.22) 52%,transparent 64%,transparent 100%)!important;
  background-size:100% 100%,240% 100%!important;
  background-position:0 0,-150% 0!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:.75px rgba(83,55,20,.74)!important;
  text-shadow:
    0 1px 0 rgba(255,239,178,.34),
    0 2px 0 rgba(88,59,22,.58),
    0 10px 20px rgba(0,0,0,.30)!important;
  filter:drop-shadow(0 0 5px rgba(214,180,94,.16))!important;
}


/* Slightly shorter hero search bar */
.home-live-hero .home-horaa-search{
  width:min(980px,53vw)!important;
}
@media(max-width:980px){
  .home-live-hero .home-horaa-search{width:min(600px,92vw)!important;}
}
@media(max-width:560px){
  .home-live-hero .home-horaa-search{width:min(330px,88vw)!important;}
}


/* Exact #b89e14 gold with special glow for Beit Horaa */
.home-live-hero .hero-depth-brand{
  color:#b89e14!important;
  background:
    linear-gradient(180deg,#e7d36a 0%,#b89e14 45%,#7d6810 72%,#cbb33b 100%),
    linear-gradient(105deg,transparent 0%,transparent 37%,rgba(255,246,180,.58) 48%,rgba(255,255,255,.34) 51%,rgba(255,241,150,.46) 55%,transparent 67%,transparent 100%)!important;
  background-size:100% 100%,230% 100%!important;
  background-position:0 0,-155% 0!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:.78px rgba(70,58,9,.72)!important;
  text-shadow:
    0 1px 0 rgba(255,245,174,.42),
    0 2px 0 rgba(72,59,11,.62),
    0 0 12px rgba(184,158,20,.34),
    0 0 26px rgba(184,158,20,.20),
    0 12px 22px rgba(0,0,0,.30)!important;
  filter:drop-shadow(0 0 8px rgba(184,158,20,.28)) drop-shadow(0 0 18px rgba(184,158,20,.14))!important;
  animation:heroGoldShimmer 5s ease-in-out infinite!important;
}


/* Darker #b89e14 gold title */
.home-live-hero .hero-depth-brand{
  color:#b89e14!important;
  background:
    linear-gradient(180deg,#c7ad2c 0%,#b89e14 36%,#836f0d 66%,#5b4c08 86%,#a68c12 100%),
    linear-gradient(105deg,transparent 0%,transparent 40%,rgba(238,218,97,.34) 49%,rgba(255,244,158,.20) 52%,transparent 64%,transparent 100%)!important;
  background-size:100% 100%,240% 100%!important;
  background-position:0 0,-150% 0!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-text-stroke:.85px rgba(47,39,7,.78)!important;
  text-shadow:
    0 1px 0 rgba(227,205,86,.22),
    0 2px 0 rgba(47,39,7,.70),
    0 0 8px rgba(184,158,20,.18),
    0 12px 22px rgba(0,0,0,.34)!important;
  filter:drop-shadow(0 0 5px rgba(184,158,20,.15))!important;
}


/* Three primary hero cards with icons */
.pulse-orbit{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.pulse-orbit i{
  display:grid!important;
  place-items:center!important;
}
.pulse-orbit i svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:#fffaf0!important;
  stroke-width:2.2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.pulse-orbit a:nth-child(1) i{background:linear-gradient(135deg,var(--gold),#8f6f19)!important;}
.pulse-orbit a:nth-child(2) i{background:linear-gradient(135deg,#0b4e25,var(--gold))!important;}
.pulse-orbit a:nth-child(3) i{background:linear-gradient(135deg,var(--sage-dark),#00321A)!important;}
@media(max-width:860px){.pulse-orbit{grid-template-columns:1fr!important;}}


/* Symmetric width for the three hero cards */
.refined-pulse .pulse-orbit{
  width:min(1120px,calc(100% - 48px))!important;
  margin-inline:auto!important;
  grid-template-columns:repeat(3,minmax(260px,1fr))!important;
  gap:18px!important;
}
.refined-pulse .pulse-orbit a{
  min-height:124px!important;
  padding-inline:28px!important;
}
@media(max-width:980px){
  .refined-pulse .pulse-orbit{
    width:min(720px,calc(100% - 32px))!important;
    grid-template-columns:1fr!important;
  }
}


/* Three cards: original height, slightly wider only */
.refined-pulse .pulse-orbit{
  width:min(1180px,calc(100% - 32px))!important;
  margin-inline:auto!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
.refined-pulse .pulse-orbit a{
  min-height:116px!important;
  padding:20px 22px 18px 22px!important;
}
@media(max-width:980px){
  .refined-pulse .pulse-orbit{
    width:min(720px,calc(100% - 32px))!important;
    grid-template-columns:1fr!important;
  }
}
@media(max-width:560px){
  .refined-pulse .pulse-orbit a{min-height:104px!important;}
}


/* Three cards: a little narrower row, slightly longer cards */
.refined-pulse .pulse-orbit{
  width:min(1040px,calc(100% - 72px))!important;
  margin-inline:auto!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}
.refined-pulse .pulse-orbit a{
  min-height:116px!important;
  padding:20px 30px 18px 30px!important;
}
@media(max-width:980px){
  .refined-pulse .pulse-orbit{
    width:min(700px,calc(100% - 32px))!important;
    grid-template-columns:1fr!important;
  }
}
@media(max-width:560px){
  .refined-pulse .pulse-orbit{width:calc(100% - 28px)!important;}
  .refined-pulse .pulse-orbit a{min-height:104px!important;padding:18px 22px!important;}
}


/* Three cards: full-width and lower height */
.refined-pulse .pulse-orbit{
  width:min(1320px,calc(100% - 32px))!important;
  margin-inline:auto!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
.refined-pulse .pulse-orbit a{
  min-height:86px!important;
  padding:14px 26px 12px 26px!important;
  align-content:center!important;
  gap:0!important;
}
.refined-pulse .pulse-orbit i{
  width:28px!important;
  height:28px!important;
  margin-bottom:3px!important;
}
.refined-pulse .pulse-orbit i svg{
  width:17px!important;
  height:17px!important;
}
.refined-pulse .pulse-orbit span{font-size:.78rem!important;}
.refined-pulse .pulse-orbit strong{font-size:1.02rem!important;}
.refined-pulse .pulse-orbit small{font-size:.82rem!important;}
@media(max-width:980px){
  .refined-pulse .pulse-orbit{
    width:calc(100% - 28px)!important;
    grid-template-columns:1fr!important;
  }
  .refined-pulse .pulse-orbit a{min-height:86px!important;}
}


/* Pulse cards: title plus one subtitle only */
.refined-pulse .pulse-orbit small{display:none!important;}
.refined-pulse .pulse-orbit strong{
  max-width:38ch!important;
  font-size:.95rem!important;
  line-height:1.35!important;
  font-weight:800!important;
}
.refined-pulse .pulse-orbit span{
  margin-bottom:3px!important;
}


/* Pulse cards: subtitle larger than title */
.refined-pulse .pulse-orbit span{
  font-size:.76rem!important;
  line-height:1.1!important;
  margin-bottom:4px!important;
}
.refined-pulse .pulse-orbit strong{
  font-size:1.08rem!important;
  line-height:1.28!important;
  font-weight:900!important;
  max-width:42ch!important;
}
@media(max-width:560px){
  .refined-pulse .pulse-orbit strong{font-size:1rem!important;}
}


/* Pulse cards: title larger, subtitle smaller */
.refined-pulse .pulse-orbit span{
  font-size:1.08rem!important;
  line-height:1.15!important;
  margin-bottom:5px!important;
  font-weight:900!important;
}
.refined-pulse .pulse-orbit strong{
  font-size:.86rem!important;
  line-height:1.35!important;
  font-weight:750!important;
  max-width:44ch!important;
}
@media(max-width:560px){
  .refined-pulse .pulse-orbit span{font-size:1rem!important;}
  .refined-pulse .pulse-orbit strong{font-size:.84rem!important;}
}


/* Daily spark: open book and candle-light atmosphere */
.home-daily-grid .daily-spark{
  position:relative!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 50% 38%,rgba(255,226,126,.48) 0 5%,rgba(211,181,83,.25) 6% 16%,transparent 34%),
    linear-gradient(180deg,rgba(3,31,18,.30),rgba(3,31,18,.88)),
    linear-gradient(135deg,rgba(0,48,24,.92),rgba(2,34,18,.96))!important;
  box-shadow:inset 0 0 0 1px rgba(255,236,167,.12),0 26px 62px rgba(0,0,0,.18)!important;
}
.home-daily-grid .daily-spark::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:auto -8% -18% -8%!important;
  height:54%!important;
  width:auto!important;
  transform:none!important;
  background:
    radial-gradient(ellipse at 50% 0%,rgba(255,240,185,.34),transparent 42%),
    linear-gradient(13deg,transparent 0 44%,rgba(255,248,216,.22) 45% 52%,rgba(80,50,22,.28) 53% 55%,transparent 56% 100%),
    linear-gradient(-13deg,transparent 0 44%,rgba(255,248,216,.20) 45% 52%,rgba(80,50,22,.28) 53% 55%,transparent 56% 100%)!important;
  opacity:.88!important;
  filter:blur(.2px)!important;
  pointer-events:none!important;
}
.home-daily-grid .daily-spark::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:-10% 22% auto auto!important;
  width:34%!important;
  height:118%!important;
  transform:rotate(13deg)!important;
  background:linear-gradient(90deg,transparent,rgba(255,231,133,.20),rgba(255,250,214,.34),rgba(255,231,133,.18),transparent)!important;
  filter:blur(9px)!important;
  opacity:.86!important;
  pointer-events:none!important;
}
.home-daily-grid .daily-quote-mark{
  color:rgba(255,239,177,.40)!important;
  text-shadow:0 0 20px rgba(211,181,83,.22)!important;
}
.home-daily-grid .daily-spark h2{
  color:#fffaf0!important;
  text-shadow:0 2px 0 rgba(0,31,10,.38),0 16px 34px rgba(0,0,0,.40)!important;
}
.home-daily-grid .daily-spark p,
.home-daily-grid .daily-spark span{
  color:#f5dfa0!important;
}
.home-daily-grid .daily-hourglass{
  filter:drop-shadow(0 0 12px rgba(211,181,83,.40))!important;
}
@media(max-width:560px){
  .home-daily-grid .daily-spark::after{inset:-18% 10% auto auto!important;width:54%!important;}
  .home-daily-grid .daily-spark::before{height:42%!important;}
}


/* Daily spark refined: soft candle glow, no harsh geometric book lines */
.home-daily-grid .daily-spark{
  background:
    radial-gradient(circle at 50% 24%,rgba(255,236,158,.62) 0 4%,rgba(211,181,83,.26) 9%,transparent 30%),
    radial-gradient(ellipse at 50% 86%,rgba(255,244,210,.20),transparent 46%),
    linear-gradient(180deg,rgba(0,48,24,.92),rgba(2,31,17,.98))!important;
}
.home-daily-grid .daily-spark::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:auto 6% 0 6%!important;
  height:34%!important;
  transform:none!important;
  background:
    radial-gradient(ellipse at 50% 0%,rgba(255,243,198,.26),transparent 50%),
    linear-gradient(90deg,transparent,rgba(255,249,228,.10) 42%,rgba(255,249,228,.18) 50%,rgba(255,249,228,.10) 58%,transparent)!important;
  border-radius:50% 50% 0 0 / 42% 42% 0 0!important;
  opacity:.75!important;
  filter:blur(10px)!important;
  pointer-events:none!important;
}
.home-daily-grid .daily-spark::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:4% 32% auto 32%!important;
  height:62%!important;
  width:auto!important;
  transform:none!important;
  background:radial-gradient(ellipse at center,rgba(255,235,145,.28),rgba(255,235,145,.10) 38%,transparent 70%)!important;
  opacity:.9!important;
  filter:blur(12px)!important;
  pointer-events:none!important;
}
@media(max-width:560px){
  .home-daily-grid .daily-spark::before{inset:auto 8% 0 8%!important;height:28%!important;}
  .home-daily-grid .daily-spark::after{inset:5% 22% auto 22%!important;height:58%!important;}
}


/* Home daily section: highlighted QNA cards */
.home-qna-highlights{
  display:grid!important;
  gap:18px!important;
  align-content:center!important;
}
.home-qna-card{
  position:relative!important;
  overflow:hidden!important;
  min-height:136px!important;
  padding:24px 28px 22px!important;
  border:1px solid rgba(211,181,83,.22)!important;
  border-radius:26px 8px 26px 8px!important;
  background:
    radial-gradient(circle at 9% 18%,rgba(211,181,83,.17),transparent 26%),
    linear-gradient(135deg,rgba(255,253,247,.95),rgba(245,250,244,.88))!important;
  box-shadow:0 18px 44px rgba(2,31,17,.10)!important;
  display:grid!important;
  gap:8px!important;
  justify-items:start!important;
  text-align:right!important;
}
.home-qna-card::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:5px!important;
  background:linear-gradient(180deg,#b89e14,#003018)!important;
  opacity:.8!important;
}
.home-qna-card span{
  color:#b89e14!important;
  font-weight:950!important;
  font-size:.88rem!important;
  letter-spacing:0!important;
}
.home-qna-card h3{
  margin:0!important;
  color:#064823!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.05rem,1.55vw,1.32rem)!important;
  line-height:1.38!important;
  font-weight:900!important;
}
.home-qna-card a{
  justify-self:start!important;
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:8px 16px!important;
  border-radius:999px!important;
  color:#fffaf0!important;
  background:linear-gradient(135deg,#003018,#043d20)!important;
  box-shadow:0 10px 22px rgba(0,48,24,.20)!important;
  font-weight:850!important;
  font-size:.88rem!important;
}
.home-qna-card a:hover{
  background:linear-gradient(135deg,#b89e14,#7d6810)!important;
  transform:translateY(-1px)!important;
}
@media(max-width:920px){
  .home-qna-highlights{gap:14px!important;}
  .home-qna-card{min-height:120px!important;padding:20px 22px!important;}
}
@media(max-width:560px){
  .home-qna-card{border-radius:22px 6px 22px 6px!important;}
  .home-qna-card h3{font-size:1rem!important;}
}


/* Numbers section: clean numbers only */
.home-numbers-section{
  padding:46px 0!important;
  background:#fff!important;
}
.home-numbers-section .section-inner{
  max-width:1180px!important;
}
.numbers-only-grid,
.home-numbers-section .numbers-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  align-items:center!important;
  justify-items:center!important;
}
.home-numbers-section .numbers-section-title{
  margin:0 auto 34px!important;
  text-align:center!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.45rem,2.4vw,2.45rem)!important;
  line-height:1.15!important;
  font-weight:950!important;
}
.home-numbers-section .number-card{
  min-height:0!important;
  width:100%!important;
  padding:0 28px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:grid!important;
  justify-items:center!important;
  gap:8px!important;
  text-align:center!important;
}
.home-numbers-section .number-card::before,
.home-numbers-section .number-card::after,
.home-numbers-section .number-icon{
  display:none!important;
  content:none!important;
}
.home-numbers-section .number-card strong{
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(2.7rem,5.5vw,5.2rem)!important;
  line-height:.9!important;
  font-weight:950!important;
  letter-spacing:0!important;
}
.home-numbers-section .number-card p{
  margin:0!important;
  max-width:220px!important;
  color:#0a3f22!important;
  font-size:clamp(.9rem,1.2vw,1.05rem)!important;
  line-height:1.35!important;
  font-weight:850!important;
}
@media(max-width:860px){
  .home-numbers-section .numbers-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:28px!important;}
}
@media(max-width:560px){
  .home-numbers-section{padding:34px 0!important;}
  .home-numbers-section .numbers-grid{grid-template-columns:1fr!important;row-gap:22px!important;}
  .home-numbers-section .number-card strong{font-size:3.3rem!important;}
}
/* Nefesh page: imported Lecha Amar Libi Q&A readability */
.nefesh-page .reveal{
  opacity:1!important;
  transform:none!important;
}
.nefesh-page .levado-hero{
  background:
    linear-gradient(90deg,rgba(0,47,25,.92),rgba(0,48,24,.74),rgba(0,47,25,.86)),
    url("assets/chesed-nefesh-bg.webp") center/cover no-repeat!important;
}
.nefesh-page .levado-hero-title{
  color:rgba(221,202,98,.28);
  text-shadow:0 20px 60px rgba(0,0,0,.38);
}
.nefesh-page .levado-hero-subtitle{
  color:rgba(255,253,248,.96)!important;
  text-shadow:0 10px 28px rgba(0,0,0,.38);
}
.nefesh-page .levado-section-head h2{
  color:var(--forest);
  text-shadow:0 10px 28px rgba(0,48,24,.08);
}
.nefesh-page .levado-search label,
.nefesh-page .levado-results-note{
  color:var(--forest);
}
.nefesh-page .levado-qna-section{
  background:
    linear-gradient(180deg,rgba(255,253,248,.98),rgba(239,244,238,.96)),
    url("assets/chesed-nefesh-bg.webp") center/cover fixed;
}
@media(max-width:720px){
  .nefesh-page .levado-section-head h2{
    font-size:clamp(1.25rem,7vw,1.75rem);
  }
}

/* Children education page: imported Lecha Amar Libi Q&A readability */
.children-page .reveal{
  opacity:1!important;
  transform:none!important;
}
.children-page .levado-hero{
  background:
    linear-gradient(90deg,rgba(0,47,25,.88),rgba(0,48,24,.68),rgba(0,47,25,.9)),
    url("assets/beit-midrash-hero.webp") center/cover no-repeat!important;
}
.children-page .levado-hero-title{
  color:rgba(221,202,98,.26);
  text-shadow:0 20px 60px rgba(0,0,0,.38);
}
.children-page .levado-hero-subtitle{
  color:rgba(255,253,248,.96)!important;
  text-shadow:0 10px 28px rgba(0,0,0,.38);
}
.children-page .levado-section-head h2{
  color:var(--forest);
  text-shadow:0 10px 28px rgba(0,48,24,.08);
}
.children-page .levado-search label,
.children-page .levado-results-note{
  color:var(--forest);
}
.children-page .levado-qna-section{
  background:
    linear-gradient(180deg,rgba(255,253,248,.98),rgba(239,244,238,.96)),
    url("assets/chesed-nefesh-bg.webp") center/cover fixed;
}
@media(max-width:720px){
  .children-page .levado-section-head h2{
    font-size:clamp(1.25rem,7vw,1.75rem);
  }
}
/* Compact donation activity blocks */
.torah-impact-cta{
  --section-image:url("assets/beit-midrash-hero.webp");
}
.torah-impact-cta .impact-cta-grid{
  min-height:auto!important;
  gap:24px!important;
  padding:54px 20px!important;
}
.torah-impact-cta .impact-copy h2{
  font-size:clamp(2.25rem,4.8vw,4.6rem)!important;
}
.impact-mini-grid{
  width:min(1120px,100%)!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
}
.impact-mini-card{
  position:relative;
  min-height:108px;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:5px;
  padding:14px 10px;
  overflow:hidden;
  border:1px solid rgba(244,217,144,.24);
  border-radius:20px 6px 20px 6px;
  background:
    linear-gradient(180deg,rgba(0,47,25,.42),rgba(0,47,25,.9)),
    var(--impact-bg, url("assets/beit-midrash-hero.webp")) center/cover no-repeat;
  box-shadow:0 14px 34px rgba(0,0,0,.12);
  color:white;
  backdrop-filter:blur(9px);
}
.impact-mini-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 74% 18%,rgba(244,217,144,.22),transparent 36%),
    linear-gradient(135deg,rgba(255,255,255,.06),transparent 55%);
  pointer-events:none;
}
.impact-mini-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.16),transparent);
  transform:translateX(110%);
  transition:transform 650ms ease;
}
.impact-mini-card:hover::before{
  transform:translateX(-110%);
}
.impact-mini-card > span{
  display:none;
}
.impact-mini-card strong{
  position:relative;
  z-index:2;
  color:#fffdf8;
  font-size:clamp(.96rem,1.08vw,1.12rem);
  line-height:1.15;
  font-weight:950;
  text-shadow:0 3px 14px rgba(0,0,0,.42);
}
.impact-mini-card small{
  position:relative;
  z-index:2;
  color:rgba(255,255,255,.82);
  font-size:.78rem;
  line-height:1.25;
  font-weight:750;
  text-shadow:0 3px 12px rgba(0,0,0,.38);
}
.impact-mini-card:nth-child(2n){
  border-radius:6px 20px 6px 20px;
}
.impact-mini-card:nth-child(3n){
  background:
    linear-gradient(180deg,rgba(0,47,25,.36),rgba(0,47,25,.9)),
    var(--impact-bg, url("assets/beit-midrash-hero.webp")) center/cover no-repeat;
}
.impact-mini-card:nth-child(1){--impact-bg:url("assets/impact-evening-kollel.webp");}
.impact-mini-card:nth-child(2){--impact-bg:url("assets/impact-beit-horaa.webp");}
.impact-mini-card:nth-child(3){--impact-bg:url("assets/impact-mediation.webp");}
.impact-mini-card:nth-child(4){--impact-bg:url("assets/impact-women-emuna.webp");}
.impact-mini-card:nth-child(5){--impact-bg:url("assets/impact-midrasha-study-v2.webp");}
.impact-mini-card:nth-child(6){--impact-bg:url("assets/impact-youth.webp");}
.impact-mini-card:nth-child(7){--impact-bg:url("assets/impact-gemach.webp");}
.impact-mini-card:nth-child(8){--impact-bg:url("assets/impact-kids.webp");}
.impact-mini-card:nth-child(9){--impact-bg:url("assets/impact-shalom-bayit.webp");}
.impact-mini-card:nth-child(10){--impact-bg:url("assets/impact-morning-kollel.webp");}
.impact-mini-card.zoom-reveal{
  transition-delay:calc(var(--delay) * 70ms);
}
.torah-impact-cta .impact-wide-btn{
  width:min(520px,100%)!important;
  min-height:52px!important;
}
@media(max-width:1100px){
  .impact-mini-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:680px){
  .impact-mini-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .impact-mini-card{
    min-height:96px;
    padding:12px 8px;
  }
}
@media(max-width:430px){
  .impact-mini-grid{
    grid-template-columns:1fr!important;
  }
}

/* Final donation payment overrides */
.donation-credit-card,
.bank-transfer-card{
  background:
    linear-gradient(180deg,rgba(255,253,248,.97),rgba(246,242,229,.94)),
    radial-gradient(circle at 12% 12%,rgba(221,202,98,.24),transparent 32%)!important;
  border-color:rgba(184,158,20,.24)!important;
  box-shadow:var(--shadow)!important;
}
.donation-payment-stage{
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr)!important;
}
@media(max-width:920px){
  .donation-payment-stage{
    grid-template-columns:1fr!important;
  }
}

/* Align main hero green with the site palette */
.home-live-hero{
  background:
    linear-gradient(90deg,rgba(2,38,18,.96) 0%,rgba(0,53,27,.9) 18%,rgba(0,48,24,.72) 48%,rgba(4,58,28,.48) 72%,rgba(2,38,18,.72) 100%),
    url("assets/home-hero-beit-midrash-lesson.jpeg") center center/cover no-repeat!important;
}
.home-live-hero::before{
  background:
    radial-gradient(ellipse at 19% 58%,rgba(0,0,0,.42),transparent 34%),
    linear-gradient(90deg,rgba(0,18,8,.62) 0%,rgba(0,53,27,.42) 30%,rgba(0,48,24,.16) 58%,rgba(0,18,8,.34) 100%)!important;
}
.home-rabbi-portrait{
  filter:drop-shadow(30px 30px 52px rgba(0,0,0,.5)) brightness(.88) contrast(1.04)!important;
}

/* Home directory section image updates */
.torah-directory .directory-card:nth-child(3){
  background-image:
    linear-gradient(180deg,rgba(0,48,24,.08),rgba(1,37,15,.86)),
    url("assets/directory-open-sefer-fan.png")!important;
  background-size:cover!important;
  background-position:center 44%!important;
}
.torah-directory .directory-card:nth-child(4){
  background-image:
    linear-gradient(180deg,rgba(0,48,24,.12),rgba(1,37,15,.88)),
    url("assets/home-hero-beit-midrash-lesson.jpeg")!important;
  background-size:cover!important;
  background-position:center center!important;
}

/* Clean search area on Nefesh, Zugiyut and Children pages */
.nefesh-page .levado-search,
.zugiyut-page .levado-search,
.children-page .levado-search{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}

/* Dedicated spark page hero */
.spark-premium-hero{
  min-height:440px!important;
  display:grid!important;
  align-items:center!important;
  padding:76px 0 82px!important;
  text-align:center!important;
  border-bottom:4px solid rgba(184,158,20,.58)!important;
  background:
    linear-gradient(90deg,rgba(1,32,13,.24) 0%,rgba(0,20,8,.62) 42%,rgba(0,18,7,.88) 100%),
    url("assets/spark-hero-sacred-light.jpg") 38% center/cover no-repeat!important;
}
.spark-premium-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:
    radial-gradient(circle at 34% 44%,rgba(244,226,160,.14),transparent 20%),
    radial-gradient(ellipse at 62% 48%,rgba(0,22,8,.78),rgba(0,22,8,.46) 34%,transparent 64%),
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,23,8,.38))!important;
  pointer-events:none!important;
}
.spark-premium-hero .section-inner::after{
  display:none!important;
  content:none!important;
}
.spark-premium-hero .section-inner{
  display:grid!important;
  justify-items:center!important;
  gap:12px!important;
  z-index:1!important;
}
.spark-hero-title{
  margin:0!important;
  color:rgba(244,226,160,.22)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3.4rem,8.6vw,8.7rem)!important;
  line-height:.86!important;
  font-weight:950!important;
  letter-spacing:0!important;
  text-shadow:0 16px 44px rgba(0,0,0,.28)!important;
  filter:none!important;
}
.spark-hero-subtitle{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(1.1rem,2.2vw,1.8rem)!important;
  font-weight:850!important;
  text-shadow:0 10px 28px rgba(0,0,0,.55)!important;
}
@media(max-width:760px){
  .spark-premium-hero{
    min-height:360px!important;
    padding:56px 0 62px!important;
    background-position:42% center!important;
  }
  .spark-hero-title{
    font-size:clamp(2.4rem,13vw,4.35rem)!important;
    line-height:.9!important;
  }
  .spark-hero-subtitle{
    font-size:clamp(1rem,5vw,1.35rem)!important;
  }
}

/* Legal and policy pages */
.footer-grid.footer-grid-wide{
  grid-template-columns:1.15fr .8fr .9fr 1.05fr 1.05fr 1fr!important;
  align-items:start;
}
.footer-legal-note{
  margin-top:28px;
  padding:4px 0;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.78);
  font-size:.92rem;
  line-height:1.8;
  text-align:center;
}
.legal-main{
  background:
    radial-gradient(circle at 18% 12%,rgba(221,202,98,.16),transparent 32%),
    linear-gradient(180deg,#fbfaf4 0%,#f3f5ed 100%);
}
.legal-hero{
  padding:72px 0 54px;
  text-align:center;
  color:#fff;
  background:
    linear-gradient(135deg,rgba(1,41,18,.96),rgba(0,48,24,.9)),
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.24),transparent 36%);
  border-bottom:4px solid rgba(184,158,20,.55);
}
.legal-hero .crumbs{
  justify-content:center;
  color:rgba(255,255,255,.72);
}
.legal-hero .eyebrow{
  color:#ddca62;
}
.legal-hero h1{
  margin:10px auto 12px;
  max-width:980px;
  color:#fff;
  font-size:clamp(2.15rem,4.8vw,4.4rem);
}
.legal-hero .lead{
  max-width:860px;
  margin:0 auto;
  color:rgba(255,255,255,.84);
}
.legal-updated{
  display:inline-flex;
  margin-top:22px;
  padding:8px 16px;
  border:1px solid rgba(221,202,98,.35);
  border-radius:999px;
  color:#fff8c8;
  background:rgba(255,255,255,.08);
  font-size:.95rem;
}
.legal-content-section{
  padding:54px 0 78px;
}
.legal-document{
  max-width:980px;
  margin:0 auto;
  padding:42px min(5vw,58px);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,48,24,.14);
  border-radius:20px;
  box-shadow:0 24px 70px rgba(3,51,22,.12);
  color:#173326;
}
.legal-document h2{
  margin:34px 0 12px;
  color:#003018;
  font-size:clamp(1.28rem,2vw,1.72rem);
}
.legal-document h2:first-child{
  margin-top:0;
}
.legal-document p,
.legal-document li{
  font-size:1.04rem;
  line-height:2;
}
.legal-document p + p{
  margin-top:12px;
}
.legal-document ul{
  display:grid;
  gap:8px;
  margin:10px 0 4px;
  padding:0 22px 0 0;
}
.legal-document li::marker{
  color:#b89e14;
}
.legal-document a{
  color:#003018;
  font-weight:800;
  text-decoration:underline;
  text-decoration-color:rgba(184,158,20,.5);
  text-underline-offset:4px;
}
@media(max-width:1180px){
  .footer-grid.footer-grid-wide{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  .footer-grid.footer-grid-wide{
    grid-template-columns:1fr!important;
  }
  .legal-hero{
    padding:52px 0 38px;
  }
  .legal-document{
    padding:28px 20px;
    border-radius:14px;
  }
  .legal-document p,
  .legal-document li{
    font-size:.98rem;
  }
}

/* Spark page hero: match Levado hero proportions exactly */
.page-hero.spark-premium-hero{
  min-height:460px!important;
  padding:84px 0 54px!important;
}
@media(max-width:860px){
  .page-hero.spark-premium-hero{
    min-height:340px!important;
    padding-block:46px!important;
  }
}

/* Premium Q&A hero */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.skip-link{
  position:fixed!important;
  z-index:10000!important;
  inset-block-start:12px!important;
  inset-inline-start:12px!important;
  padding:10px 18px!important;
  border-radius:999px!important;
  color:#fff!important;
  background:#002611!important;
  font-weight:950!important;
  text-decoration:none!important;
  box-shadow:0 14px 34px rgba(0,0,0,.22)!important;
  transform:translateY(-140%)!important;
  transition:transform 160ms ease!important;
}

.skip-link:focus,
.skip-link:focus-visible{
  transform:translateY(0)!important;
  outline:3px solid #ddca62!important;
  outline-offset:3px!important;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(184,158,20,.72)!important;
  outline-offset:4px!important;
  box-shadow:0 0 0 5px rgba(0,48,24,.14)!important;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after{
  scroll-behavior:auto!important;
  animation-duration:.01ms!important;
  animation-iteration-count:1!important;
  transition-duration:.01ms!important;
}

body.highlight-links a{
  text-decoration:underline!important;
  text-underline-offset:4px!important;
  text-decoration-thickness:2px!important;
}

body.high-contrast{
  background:#fff!important;
  color:#061a0d!important;
}

body.high-contrast a,
body.high-contrast button{
  color:#032f16!important;
}

.page-hero.qna-hero{
  min-height:460px!important;
  padding:84px 0 58px!important;
  display:grid!important;
  place-items:center!important;
  isolation:isolate;
  background:
    radial-gradient(circle at 50% 44%,rgba(221,202,98,.13),transparent 24%),
    linear-gradient(90deg,rgba(0,18,8,.64) 0%,rgba(4,42,20,.88) 46%,rgba(0,21,9,.96) 100%),
    url("assets/spark-hero-sacred-light.jpg") center 54%/cover no-repeat!important;
  border-bottom:4px solid rgba(184,158,20,.48)!important;
  overflow:hidden!important;
}
.page-hero.qna-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,26,10,.46)),
    radial-gradient(ellipse at 74% 50%,rgba(0,16,7,.84),rgba(0,16,7,.34) 38%,transparent 68%);
  pointer-events:none;
}
.qna-hero .section-inner{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  justify-items:center!important;
  gap:12px!important;
  text-align:center!important;
  width:min(100% - 32px,980px)!important;
}
.qna-hero .section-inner::after{
  display:none!important;
  content:none!important;
}
.qna-hero-seal{
  position:absolute;
  inset:auto 50% 20px auto;
  width:min(360px,54vw);
  aspect-ratio:1;
  transform:translateX(50%);
  z-index:0;
  background:url("assets/beit-horaa-emblem.svg") center/contain no-repeat;
  opacity:.075;
  filter:drop-shadow(0 18px 42px rgba(0,0,0,.3));
  pointer-events:none;
}
.qna-hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:14px;
  color:#ddca62;
  font-weight:900;
  font-size:clamp(.95rem,1.5vw,1.15rem);
  text-shadow:0 8px 22px rgba(0,0,0,.5);
}
.qna-hero-kicker::before,
.qna-hero-kicker::after{
  content:"";
  width:58px;
  height:1px;
  background:linear-gradient(90deg,transparent,#ddca62,transparent);
}
.qna-hero-title{
  display:block!important;
  color:rgba(221,202,98,.30)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3.8rem,9.2vw,8.4rem)!important;
  font-weight:950!important;
  line-height:.84!important;
  letter-spacing:0!important;
  text-shadow:0 18px 50px rgba(0,0,0,.48),0 1px 0 rgba(255,244,194,.16)!important;
  filter:none!important;
}
.qna-hero-subtitle{
  margin:0!important;
  color:rgba(255,255,255,.94)!important;
  font-size:clamp(1.12rem,2.2vw,1.72rem)!important;
  font-weight:850!important;
  text-shadow:0 10px 28px rgba(0,0,0,.58)!important;
}
.qna-hero-search.qna-search{
  width:min(760px,100%)!important;
  margin-top:18px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 78px!important;
  align-items:center!important;
  gap:0!important;
  padding:0!important;
  background:rgba(255,253,247,.96)!important;
  border:1px solid rgba(221,202,98,.42)!important;
  border-radius:999px!important;
  overflow:hidden!important;
  box-shadow:0 22px 55px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.45)!important;
}
.qna-hero-search input{
  height:62px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0 28px!important;
  color:#14351f!important;
  font-size:1.05rem!important;
  font-weight:800!important;
  text-align:right!important;
}
.qna-hero-search input::placeholder{
  color:rgba(21,53,31,.58)!important;
}
.qna-hero-search button{
  width:78px!important;
  height:62px!important;
  border:0!important;
  border-radius:999px 0 0 999px!important;
  display:grid!important;
  place-items:center!important;
  cursor:pointer;
  color:#fff!important;
  background:linear-gradient(135deg,#003018,#013f18)!important;
  box-shadow:inset 1px 0 0 rgba(221,202,98,.28)!important;
}
.qna-hero-search button svg{
  width:30px;
  height:30px;
  fill:none;
  stroke:currentColor;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media(max-width:860px){
  .page-hero.qna-hero{
    min-height:340px!important;
    padding:46px 0!important;
    background-position:center!important;
  }
  .qna-hero .section-inner{
    width:min(100% - 24px,680px)!important;
    gap:9px!important;
  }
  .qna-hero-title{
    font-size:clamp(2.35rem,12vw,4.2rem)!important;
    line-height:.92!important;
    overflow-wrap:normal!important;
  }
  .qna-hero-subtitle{
    font-size:clamp(.98rem,4.6vw,1.28rem)!important;
  }
  .qna-hero-kicker::before,
  .qna-hero-kicker::after{
    width:34px;
  }
  .qna-hero-search.qna-search{
    grid-template-columns:minmax(0,1fr) 58px!important;
    margin-top:12px!important;
  }
  .qna-hero-search input{
    height:52px!important;
    padding:0 18px!important;
    font-size:.95rem!important;
  }
  .qna-hero-search button{
    width:58px!important;
    height:52px!important;
  }
  .qna-hero-search button svg{
    width:24px;
    height:24px;
  }
}

/* Restore Spark hero as an independent banner, separate from Q&A */
.page-hero.spark-premium-hero{
  min-height:460px!important;
  padding:84px 0 54px!important;
  display:grid!important;
  align-items:center!important;
  text-align:center!important;
  border-bottom:4px solid rgba(184,158,20,.58)!important;
  background:
    linear-gradient(90deg,rgba(1,32,13,.08) 0%,rgba(0,20,8,.36) 42%,rgba(0,18,7,.74) 100%),
    url("assets/spark-hero-warm-study.jpg") center center/cover no-repeat!important;
}
.page-hero.spark-premium-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:
    linear-gradient(90deg,rgba(221,202,98,.08),transparent 36%,rgba(0,18,7,.34)),
    linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,23,8,.34))!important;
  pointer-events:none!important;
}
.page-hero.spark-premium-hero .section-inner{
  display:grid!important;
  justify-items:center!important;
  gap:12px!important;
  z-index:1!important;
}
.page-hero.spark-premium-hero .section-inner::after{
  display:none!important;
  content:none!important;
}
@media(max-width:860px){
  .page-hero.spark-premium-hero{
    min-height:340px!important;
    padding:46px 0!important;
    background-position:42% center!important;
  }
}

/* Homepage hero rabbi photo: blended library image */
.home-rabbi-portrait{
  left:clamp(-10px,2.8vw,54px)!important;
  right:auto!important;
  bottom:-8px!important;
  height:clamp(430px,43vw,600px)!important;
  max-height:calc(100% - 10px)!important;
  width:auto!important;
  object-fit:contain!important;
  object-position:left bottom!important;
  opacity:.98!important;
  filter:drop-shadow(26px 28px 52px rgba(0,0,0,.46)) brightness(.92) contrast(1.05) saturate(.96)!important;
}
@media(max-width:860px){
  .home-rabbi-portrait{
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    bottom:-6px!important;
    height:clamp(245px,64vw,330px)!important;
    max-height:330px!important;
    opacity:.62!important;
    filter:drop-shadow(0 18px 38px rgba(0,0,0,.44)) brightness(.9) contrast(1.04)!important;
  }
}

/* Piskei Din archive */
.psakim-hero{
  min-height:430px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  color:#fff!important;
  overflow:hidden!important;
  border-bottom:4px solid rgba(184,158,20,.55)!important;
  background:
    linear-gradient(90deg,rgba(0,18,8,.18),rgba(4,54,24,.08),rgba(0,18,8,.18)),
    url("assets/psakim-hero-premium-bg.jpg") center center/cover no-repeat!important;
}
.psakim-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,25,9,.42)),
    radial-gradient(ellipse at 50% 56%,rgba(0,22,9,.62),transparent 63%),
    linear-gradient(90deg,rgba(0,18,8,.34),transparent 27%,transparent 73%,rgba(0,18,8,.34));
  pointer-events:none;
}
.psakim-hero .section-inner{
  position:relative;
  z-index:1;
  display:grid;
  justify-items:center;
  gap:12px;
}
.psakim-hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:14px;
  color:#ddca62;
  font-weight:900;
  text-shadow:0 10px 24px rgba(0,0,0,.42);
}
.psakim-hero-kicker::before,
.psakim-hero-kicker::after{
  content:"";
  width:64px;
  height:1px;
  background:linear-gradient(90deg,transparent,#ddca62,transparent);
}
.psakim-section{
  background:
    linear-gradient(180deg,rgba(255,253,248,.98),rgba(241,246,239,.96)),
    radial-gradient(circle at 18% 0%,rgba(221,202,98,.14),transparent 28%);
}
.psakim-toolbar{
  width:min(1040px,100%);
  margin:0 auto 18px;
  display:grid;
  gap:16px;
  justify-items:center;
}
.psakim-search{
  width:min(760px,100%);
  display:grid;
  gap:8px;
  text-align:center;
  color:var(--forest);
  font-weight:900;
}
.psakim-search input{
  width:100%;
  min-height:58px;
  border:1px solid rgba(0,48,24,.18);
  border-radius:999px;
  padding:0 24px;
  text-align:center;
  color:#12351f;
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 42px rgba(0,48,24,.08);
}
.psakim-categories{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}
.psakim-category{
  min-height:42px;
  border:1px solid rgba(0,48,24,.16);
  border-radius:999px;
  padding:8px 16px;
  color:#003018;
  background:#fffdf8;
  font:inherit;
  font-weight:850;
  cursor:pointer;
  transition:transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.psakim-category:hover,
.psakim-category.is-active{
  color:#fff;
  background:linear-gradient(135deg,#003018,#001A0D);
  box-shadow:0 12px 26px rgba(0,48,24,.16), inset 0 0 0 1px rgba(221,202,98,.28);
  transform:translateY(-1px);
}
.psakim-status{
  margin:4px auto 18px;
  color:#b89e14;
  font-weight:900;
  text-align:center;
}
.psakim-accordion{
  width:min(1120px,100%);
  margin:0 auto;
  display:grid;
  gap:14px;
}
.psakim-item{
  overflow:hidden;
  border:1px solid rgba(0,48,24,.12);
  border-radius:22px 6px 22px 6px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 44px rgba(0,48,24,.08);
}
.psakim-toggle{
  width:100%;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) 34px;
  align-items:center;
  gap:16px;
  border:0;
  padding:20px 24px;
  color:var(--forest);
  background:
    linear-gradient(90deg,rgba(221,202,98,.10),transparent 45%),
    rgba(255,255,255,.86);
  font:inherit;
  text-align:right;
  cursor:pointer;
}
.psakim-number{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(135deg,#003018,#001A0D);
  box-shadow:0 10px 22px rgba(0,48,24,.16);
  font-weight:950;
}
.psakim-head{
  display:grid;
  gap:4px;
}
.psakim-meta{
  color:#b89e14;
  font-size:.88rem;
  font-weight:900;
}
.psakim-head strong{
  color:#073c1b;
  font-size:clamp(1.08rem,1.55vw,1.42rem);
  line-height:1.35;
  font-weight:950;
}
.psakim-head em{
  color:#5d7467;
  font-style:normal;
  line-height:1.65;
  font-weight:650;
}
.psakim-open-icon{
  position:relative;
  width:30px;
  height:30px;
  border-radius:50%;
  border:1px solid rgba(0,48,24,.16);
  background:#fffdf8;
}
.psakim-open-icon::before,
.psakim-open-icon::after{
  content:"";
  position:absolute;
  inset:50% auto auto 50%;
  width:14px;
  height:2px;
  border-radius:999px;
  background:#003018;
  transform:translate(-50%,-50%);
}
.psakim-open-icon::after{
  transform:translate(-50%,-50%) rotate(90deg);
  transition:opacity 160ms ease;
}
.psakim-item.is-open .psakim-open-icon::after,
.psakim-static-item[open] .psakim-open-icon::after{
  opacity:0;
}
.psakim-static-item > summary{
  list-style:none;
}
.psakim-static-item > summary::-webkit-details-marker{
  display:none;
}
.psakim-body{
  padding:0 26px 28px;
  border-top:1px solid rgba(0,48,24,.10);
}
.psakim-overview{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:22px 0;
}
.psakim-overview-card{
  padding:18px;
  border:1px solid rgba(0,48,24,.12);
  border-radius:18px 6px 18px 6px;
  background:linear-gradient(180deg,rgba(255,253,248,.98),rgba(240,246,238,.82));
}
.psakim-overview-card span,
.psakim-section-block h3{
  color:#b89e14;
  font-weight:950;
}
.psakim-overview-card p{
  margin:8px 0 0;
  color:#12351f;
  font-weight:800;
  line-height:1.85;
}
.psakim-ruling{
  background:
    linear-gradient(180deg,rgba(0,48,24,.08),rgba(255,253,248,.94));
}
.psakim-section-block{
  padding:20px 0;
  border-top:1px dashed rgba(0,48,24,.16);
}
.psakim-section-block:first-of-type{
  border-top:0;
}
.psakim-section-block h3{
  margin:0 0 12px;
  font-size:clamp(1.02rem,1.55vw,1.28rem);
}
.psakim-notes{
  margin-top:18px;
  padding:18px 20px;
  border:1px solid rgba(184,158,20,.24);
  border-radius:18px 6px 18px 6px;
  background:
    linear-gradient(180deg,rgba(255,253,248,.96),rgba(244,238,213,.72)),
    radial-gradient(circle at 12% 0%,rgba(221,202,98,.16),transparent 34%);
}
.psakim-notes h3{
  margin:0 0 12px;
  color:#b89e14;
  font-size:1.08rem;
  font-weight:950;
}
.psakim-notes ol{
  display:grid;
  gap:9px;
  margin:0;
  padding:0 24px 0 0;
}
.psakim-notes li{
  color:#21382c;
  line-height:1.55;
  font-size:.94rem;
}
.psakim-notes li::marker{
  color:#b89e14;
  font-weight:950;
}
.psakim-footnote-back{
  margin-inline-start:5px;
  color:#9b8111;
  font-weight:950;
  text-decoration:none;
}
.psakim-footnote-back:hover,
.psakim-footnote-back:focus-visible{
  color:#05371c;
}
.psakim-footnote-ref{
  margin-inline:4px 2px;
  vertical-align:super;
  line-height:0;
}
.psakim-footnote-ref a{
  display:inline-grid;
  place-items:center;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:linear-gradient(135deg,#f7e9a6,#b89e14 72%,#8e7410);
  color:#05371c;
  font-size:.72rem;
  font-weight:950;
  text-decoration:none;
  box-shadow:0 4px 12px rgba(184,158,20,.24);
}
.psakim-footnote-ref a:hover,
.psakim-footnote-ref a:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(184,158,20,.34);
}
.psakim-notes li:target{
  border-radius:10px;
  background:rgba(221,202,98,.18);
  box-shadow:0 0 0 6px rgba(221,202,98,.10);
}
.psakim-text{
  display:grid;
  gap:7px;
}
.psakim-text p{
  margin:0;
  color:#182d22;
  line-height:1.58;
  font-size:1rem;
}
.psakim-section-block{
  padding:15px 0;
}
.psakim-body{
  padding:0 26px 22px;
}
.psakim-note,
.psakim-no-results{
  width:min(980px,100%);
  margin:24px auto 0;
  color:#5d7467;
  text-align:center;
  line-height:1.85;
  font-weight:700;
}
.psakim-no-results{
  padding:28px;
  border-radius:18px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(0,48,24,.12);
}
@media(max-width:760px){
  .psakim-hero{
    min-height:340px!important;
  }
  .psakim-hero-kicker::before,
  .psakim-hero-kicker::after{
    width:34px;
  }
  .psakim-toggle{
    grid-template-columns:46px minmax(0,1fr) 28px;
    gap:10px;
    padding:16px 14px;
  }
  .psakim-number{
    width:38px;
    height:38px;
    font-size:.82rem;
  }
  .psakim-head em{
    font-size:.92rem;
  }
  .psakim-body{
    padding:0 16px 22px;
  }
  .psakim-overview{
    grid-template-columns:1fr;
  }
  .psakim-text p{
    font-size:.96rem;
    line-height:1.55;
  }
}


/* Article topic pages */
.article-topic-main{
  background:
    radial-gradient(circle at 14% 10%,rgba(221,202,98,.12),transparent 30%),
    linear-gradient(180deg,#fffdf8 0%,#eff5ed 100%);
}
.article-topic-hero{
  min-height:430px;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  color:#fff;
  text-align:center;
  padding:72px 0 62px;
  border-bottom:4px solid rgba(184,158,20,.62);
}
.article-topic-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 22%,rgba(221,202,98,.18),transparent 24%),
    linear-gradient(90deg,rgba(1,41,18,.48),rgba(0,48,24,.16),rgba(1,41,18,.58));
  z-index:0;
}
.article-topic-hero::after{
  content:"";
  position:absolute;
  inset:auto 8% 0;
  height:95px;
  background:linear-gradient(0deg,rgba(1,41,18,.72),transparent);
  z-index:0;
  pointer-events:none;
}
.article-topic-hero .section-inner{
  position:relative;
  z-index:1;
  display:grid;
  justify-items:center;
  gap:13px;
}
.article-shabbat-hero{
  background:
    linear-gradient(90deg,rgba(1,41,18,.46),rgba(0,48,24,.12),rgba(1,41,18,.48)),
    url("assets/article-shabbat-hero.png") center/cover no-repeat;
}
.article-moadim-hero{
  background:
    linear-gradient(90deg,rgba(1,41,18,.44),rgba(0,48,24,.12),rgba(1,41,18,.50)),
    url("assets/article-moadim-hero.png") center/cover no-repeat;
}
.articles-hub-hero{
  background:
    linear-gradient(90deg,rgba(1,41,18,.94),rgba(0,48,24,.54),rgba(1,41,18,.86)),
    url("assets/qna-hero-halachic-writing.jpg") center/cover no-repeat;
}
.article-hero-kicker{
  color:#ddca62;
  font-weight:900;
  letter-spacing:0;
  font-size:clamp(.98rem,1.6vw,1.18rem);
  text-shadow:0 2px 18px rgba(0,0,0,.36);
}
.article-hero-rule{
  width:min(420px,72vw);
  height:2px;
  display:block;
  position:relative;
  background:linear-gradient(90deg,transparent,#b89e14,#fff7bd,#b89e14,transparent);
  opacity:.9;
}
.article-hero-rule::before,
.article-hero-rule::after{
  content:"";
  position:absolute;
  top:50%;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#ddca62;
  box-shadow:0 0 16px rgba(221,202,98,.65);
  transform:translateY(-50%);
}
.article-hero-rule::before{right:31%;}
.article-hero-rule::after{left:31%;}
.article-hero-title{
  margin:4px 0 0;
  max-width:none!important;
  color:#b89e14;
  font-size:clamp(3.45rem,8.6vw,7.8rem);
  font-weight:950;
  line-height:.88;
  letter-spacing:0;
  text-shadow:
    0 1px 0 #f8e9a0,
    0 4px 0 rgba(85,61,12,.52),
    0 14px 34px rgba(0,0,0,.42),
    0 0 28px rgba(221,202,98,.22);
  filter:drop-shadow(0 0 10px rgba(221,202,98,.20));
}
.article-hero-subtitle{
  margin:2px auto 0!important;
  max-width:760px;
  color:rgba(255,255,255,.92)!important;
  font-size:clamp(1.12rem,2.4vw,1.9rem);
  font-weight:850;
  line-height:1.55;
  text-shadow:0 5px 22px rgba(0,0,0,.42);
}
.article-topic-section{
  padding-top:74px;
}
.article-topic-head{
  max-width:880px;
  margin:0 auto 32px;
  text-align:center;
}
.article-topic-head span{
  color:#b89e14;
  font-weight:950;
}
.article-topic-head h2{
  margin:10px 0;
  color:#003018;
  font-size:clamp(1.9rem,4vw,3.4rem);
}
.article-topic-head p{
  margin:0 auto;
  max-width:760px;
  color:#49645a;
  font-weight:650;
  line-height:1.85;
}
.article-topic-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.article-topic-card{
  min-height:210px;
  padding:28px;
  border:1px solid rgba(0,48,24,.13);
  border-radius:28px 7px 28px 7px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.94),rgba(248,244,228,.86)),
    radial-gradient(circle at 10% 12%,rgba(221,202,98,.18),transparent 34%);
  box-shadow:0 18px 46px rgba(1,41,18,.08);
  color:#173328;
  text-decoration:none;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.article-topic-card:hover{
  transform:translateY(-5px);
  border-color:rgba(184,158,20,.38);
  box-shadow:0 24px 58px rgba(1,41,18,.12);
}
.article-topic-card span{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:18px;
  border-radius:50%;
  color:#003018;
  background:linear-gradient(135deg,#fff6c8,#ddca62);
  font-weight:950;
}
.article-topic-card h3{
  margin:0 0 10px;
  color:#003018;
  font-size:1.45rem;
}
.article-topic-card p{
  margin:0;
  color:#506a60;
  line-height:1.75;
  font-weight:650;
}
.article-topic-link{
  display:block;
}
@media(max-width:820px){
  .article-topic-hero{
    min-height:390px;
    padding:58px 0 48px;
  }
  .article-shabbat-hero,
  .article-moadim-hero{
    background-position:center;
  }
  .article-hero-title{
    font-size:clamp(3rem,16vw,5.8rem);
  }
  .article-hero-subtitle{
    font-size:1.08rem;
    max-width:92vw;
  }
  .article-topic-grid{
    grid-template-columns:1fr;
  }
  .article-topic-card{
    min-height:auto;
  }
}

/* Moadim article library */
.moadim-page-main{
  background:
    radial-gradient(circle at 80% 4%,rgba(221,202,98,.12),transparent 32%),
    linear-gradient(180deg,#fffdf8 0%,#f5f8f2 44%,#eef5ed 100%);
}
.moadim-hero-enhanced .article-hero-subtitle{
  max-width:680px;
}
.moadim-library-section{
  padding-top:70px;
  padding-bottom:92px;
}
.moadim-library-head{
  width:min(940px,100%);
  margin:0 auto 26px;
  text-align:center;
}
.moadim-library-head span{
  color:#b89e14;
  font-weight:950;
}
.moadim-library-head h2{
  margin:8px 0 10px;
  color:#003018;
  font-size:clamp(1.9rem,4.4vw,3.75rem);
  line-height:1.05;
}
.moadim-library-head p{
  max-width:770px;
  margin:0 auto;
  color:#4e665c;
  font-weight:700;
  line-height:1.85;
}
.moadim-tools{
  width:min(1050px,100%);
  margin:0 auto 28px;
  padding:20px;
  border:1px solid rgba(0,48,24,.11);
  border-radius:28px;
  background:rgba(255,255,255,.88);
  box-shadow:0 20px 60px rgba(1,41,18,.08);
}
.moadim-tools label{
  display:block;
  margin:0 0 10px;
  color:#003018;
  font-weight:950;
  text-align:center;
}
.moadim-search-wrap{
  position:relative;
}
.moadim-search-wrap::before{
  content:"";
  position:absolute;
  left:21px;
  top:50%;
  z-index:2;
  width:22px;
  height:22px;
  border:0;
  background:#0b4b35;
  transform:translateY(-50%);
  opacity:.9;
  pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.5'/%3E%3Cpath d='m15.7 15.7 4.6 4.6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.5'/%3E%3Cpath d='m15.7 15.7 4.6 4.6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.moadim-search-wrap::after{
  content:none;
  display:none;
}
#moadimSearch{
  width:100%;
  min-height:58px;
  border:1px solid rgba(0,48,24,.16);
  border-radius:999px;
  background:#fff;
  color:#173328;
  font:inherit;
  font-weight:800;
  padding:0 26px 0 58px;
  outline:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.7);
}
#moadimSearch:focus{
  border-color:rgba(184,158,20,.62);
  box-shadow:0 0 0 4px rgba(221,202,98,.22);
}
.moadim-filter-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-top:16px;
}
.moadim-filter{
  border:1px solid rgba(0,48,24,.16);
  border-radius:999px;
  background:linear-gradient(180deg,#fff,#f8f4e6);
  color:#003018;
  min-height:39px;
  padding:0 18px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  transition:transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}
.moadim-filter:hover,
.moadim-filter:focus-visible,
.moadim-filter.is-active{
  transform:translateY(-2px);
  border-color:rgba(184,158,20,.56);
  background:linear-gradient(135deg,#b89e14,#ddca62);
  color:#062b17;
}
.moadim-count{
  margin-top:14px;
  text-align:center;
  color:#5b7168;
  font-weight:800;
}
.moadim-count strong{
  color:#003018;
}
.moadim-reading-layout{
  display:grid;
  grid-template-columns:minmax(220px,285px) minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.moadim-toc{
  position:sticky;
  top:96px;
  max-height:calc(100vh - 120px);
  overflow:auto;
  padding:18px;
  border:1px solid rgba(0,48,24,.12);
  border-radius:24px 7px 24px 7px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.94),rgba(248,244,228,.88)),
    radial-gradient(circle at 20% 0,rgba(221,202,98,.16),transparent 30%);
  box-shadow:0 18px 52px rgba(1,41,18,.08);
}
.moadim-toc h2{
  margin:0 0 14px;
  color:#003018;
  font-size:1.18rem;
}
.moadim-toc nav{
  display:grid;
  gap:8px;
}
.moadim-toc a{
  display:grid;
  gap:3px;
  padding:10px 12px;
  border-radius:15px;
  color:#173328;
  text-decoration:none;
  font-weight:850;
  line-height:1.35;
  transition:background .25s ease, color .25s ease, transform .25s ease;
}
.moadim-toc a span{
  color:#b89e14;
  font-size:.82rem;
  font-weight:950;
}
.moadim-toc a:hover,
.moadim-toc a:focus-visible,
.moadim-toc a.is-current{
  background:rgba(0,48,24,.08);
  color:#003018;
  transform:translateX(-2px);
}
.moadim-entries{
  display:grid;
  gap:16px;
}
.moadim-entry{
  scroll-margin-top:120px;
}
.moadim-entry details{
  border:1px solid rgba(0,48,24,.13);
  border-radius:28px 7px 28px 7px;
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 48px rgba(1,41,18,.08);
  overflow:hidden;
  transition:border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.moadim-entry details[open]{
  border-color:rgba(184,158,20,.42);
  box-shadow:0 24px 72px rgba(1,41,18,.12);
}
.moadim-entry summary{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  padding:18px 20px;
  cursor:pointer;
  list-style:none;
  background:
    linear-gradient(90deg,rgba(0,48,24,.08),rgba(255,255,255,.72),rgba(221,202,98,.11));
}
.moadim-entry summary::-webkit-details-marker{
  display:none;
}
.moadim-entry-number{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:50%;
  background:linear-gradient(135deg,#fff2a9,#ddca62);
  color:#003018;
  font-weight:950;
  box-shadow:0 12px 26px rgba(184,158,20,.22);
}
.moadim-entry-title{
  display:grid;
  gap:5px;
}
.moadim-entry-title em{
  color:#b89e14;
  font-style:normal;
  font-weight:950;
  font-size:.9rem;
}
.moadim-entry-title strong{
  color:#003018;
  font-size:clamp(1.14rem,2.4vw,1.72rem);
  line-height:1.25;
}
.moadim-entry-action{
  min-width:76px;
  border:1px solid rgba(0,48,24,.16);
  border-radius:999px;
  padding:8px 13px;
  color:#003018;
  background:#fff;
  text-align:center;
  font-weight:950;
}
.moadim-entry details[open] .moadim-entry-action{
  color:#082a17;
  background:linear-gradient(135deg,#b89e14,#ddca62);
}
.moadim-entry-body{
  padding:8px 32px 34px;
  color:#18352a;
  line-height:1.92;
  font-size:1.04rem;
}
.moadim-entry-body p{
  margin:14px 0;
}
.moadim-entry-body .moadim-lead{
  color:#0d4727;
  font-size:1.13rem;
  font-weight:800;
}
.moadim-body-heading{
  width:max-content;
  max-width:100%;
  margin:28px 0 12px;
  padding:0 0 9px;
  color:#003018;
  font-size:clamp(1.22rem,2.6vw,1.82rem);
  line-height:1.25;
  border-bottom:2px solid rgba(184,158,20,.6);
}
.moadim-source-note{
  color:#63746d;
  font-size:.94rem;
}
.moadim-callout{
  margin:22px 0;
  padding:20px 22px;
  border-inline-start:5px solid #b89e14;
  border-radius:20px 5px 20px 5px;
  background:
    radial-gradient(circle at 15% 0,rgba(221,202,98,.18),transparent 35%),
    linear-gradient(135deg,rgba(0,48,24,.08),rgba(255,255,255,.92));
  color:#173328;
}
.moadim-callout span{
  display:block;
  margin-bottom:8px;
  color:#b89e14;
  font-weight:950;
}
.moadim-callout p{
  margin:0;
  font-weight:750;
}
.moadim-text-break{
  display:block;
  width:min(320px,72%);
  height:2px;
  margin:24px auto;
  background:linear-gradient(90deg,transparent,#b89e14,#fff6bf,#b89e14,transparent);
}
.moadim-no-results{
  margin:0;
  padding:28px;
  border-radius:22px;
  background:rgba(255,255,255,.88);
  color:#003018;
  text-align:center;
  font-weight:950;
  box-shadow:0 16px 42px rgba(1,41,18,.08);
}
@media(max-width:920px){
  .moadim-reading-layout{
    grid-template-columns:1fr;
  }
  .moadim-toc{
    position:relative;
    top:auto;
    max-height:none;
  }
  .moadim-toc nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:620px){
  .moadim-library-section{
    padding-top:48px;
    padding-bottom:64px;
  }
  .moadim-tools{
    padding:14px;
    border-radius:22px;
  }
  .moadim-toc nav{
    grid-template-columns:1fr;
  }
  .moadim-entry summary{
    grid-template-columns:42px minmax(0,1fr);
    gap:11px;
    padding:15px 13px;
  }
  .moadim-entry-number{
    width:40px;
    height:40px;
    font-size:.9rem;
  }
  .moadim-entry-action{
    grid-column:1 / -1;
    width:100%;
    min-width:0;
  }
  .moadim-entry-body{
    padding:4px 18px 26px;
    font-size:.98rem;
    line-height:1.82;
  }
  .moadim-body-heading{
    width:100%;
  }
  #moadimSearch{
    min-height:52px;
    padding-right:18px;
  }
}

.article-hitbonenut-hero{
  background:
    radial-gradient(circle at 50% 24%,rgba(221,202,98,.18),transparent 24%),
    linear-gradient(90deg,rgba(1,41,18,.72),rgba(0,48,24,.30),rgba(1,41,18,.78)),
    url("assets/spark-hero-warm-study.jpg") center/cover no-repeat;
}
.article-hitbonenut-hero::before{
  background:
    radial-gradient(circle at 52% 23%,rgba(221,202,98,.16),transparent 22%),
    linear-gradient(90deg,rgba(1,41,18,.58),rgba(0,48,24,.12),rgba(1,41,18,.62));
}
.hitbonenut-page-main .moadim-library-section{
  background:
    radial-gradient(circle at 88% 0%,rgba(221,202,98,.10),transparent 32%),
    radial-gradient(circle at 12% 26%,rgba(0,48,24,.07),transparent 30%);
}
.hitbonenut-page-main .moadim-entry details{
  background:
    linear-gradient(180deg,rgba(255,255,255,.95),rgba(250,248,239,.91)),
    radial-gradient(circle at 8% 0,rgba(221,202,98,.14),transparent 32%);
}
.hitbonenut-page-main .moadim-entry summary{
  background:
    linear-gradient(90deg,rgba(0,48,24,.10),rgba(255,255,255,.76),rgba(221,202,98,.13));
}
.hitbonenut-page-main .moadim-filter-row{
  max-height:178px;
  overflow:auto;
  padding:2px 4px 7px;
}
@media(max-width:620px){
  .article-hitbonenut-hero{
    background-position:center;
  }
  .hitbonenut-page-main .moadim-filter-row{
    max-height:230px;
  }
}

/* Spark page: align hero typography with article banners and add sacred sparks */
.page-hero.spark-premium-hero{
  min-height:460px!important;
  padding:84px 0 62px!important;
  overflow:hidden!important;
  border-bottom:4px solid rgba(184,158,20,.58)!important;
  background:
    linear-gradient(90deg,rgba(1,41,18,.74),rgba(0,48,24,.20),rgba(1,41,18,.78)),
    url("assets/spark-hero-nitzotz-refined.jpg") center center/cover no-repeat!important;
}

.page-hero.spark-premium-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:
    linear-gradient(90deg,rgba(1,41,18,.46),rgba(0,48,24,.08),rgba(1,41,18,.50)),
    linear-gradient(180deg,rgba(0,0,0,.03),rgba(1,41,18,.30))!important;
  pointer-events:none!important;
}

.page-hero.spark-premium-hero::after{
  content:""!important;
  position:absolute!important;
  top:18%;
  left:18%;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#fff7bd;
  box-shadow:
    70px 38px 0 0 rgba(221,202,98,.92),
    148px -20px 0 1px rgba(255,247,189,.76),
    260px 52px 0 0 rgba(221,202,98,.62),
    370px -6px 0 1px rgba(255,247,189,.68),
    470px 68px 0 0 rgba(221,202,98,.58),
    610px 18px 0 1px rgba(255,247,189,.54),
    760px 82px 0 0 rgba(221,202,98,.48);
  filter:drop-shadow(0 0 10px rgba(221,202,98,.72));
  opacity:.78;
  pointer-events:none!important;
}

.page-hero.spark-premium-hero .section-inner{
  position:relative!important;
  z-index:1!important;
  gap:14px!important;
}

.spark-hero-title{
  margin:0!important;
  color:#b89e14!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3.45rem,8.6vw,7.8rem)!important;
  line-height:.88!important;
  font-weight:950!important;
  letter-spacing:0!important;
  text-shadow:
    0 1px 0 #f8e9a0,
    0 4px 0 rgba(85,61,12,.52),
    0 14px 34px rgba(0,0,0,.42),
    0 0 28px rgba(221,202,98,.22)!important;
  filter:drop-shadow(0 0 10px rgba(221,202,98,.20))!important;
}

.spark-hero-subtitle{
  margin:2px auto 0!important;
  max-width:760px!important;
  color:rgba(255,255,255,.92)!important;
  font-size:clamp(1.12rem,2.4vw,1.9rem)!important;
  font-weight:850!important;
  line-height:1.55!important;
  text-shadow:0 5px 22px rgba(0,0,0,.42)!important;
}

@media(max-width:860px){
  .page-hero.spark-premium-hero{
    min-height:340px!important;
    padding:48px 0!important;
    background-position:center!important;
  }

  .page-hero.spark-premium-hero::after{
    left:8%;
    transform:scale(.72);
    transform-origin:top left;
  }

  .spark-hero-title{
    font-size:clamp(3rem,16vw,5.8rem)!important;
  }

  .spark-hero-subtitle{
    font-size:1.08rem!important;
    max-width:92vw!important;
  }
}

/* Hero logo replacing the "תורת אבי" text title */
.home-live-hero .hero-main-logo-wrap{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  margin:0 auto!important;
  line-height:0!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:none!important;
  background:none!important;
}
.home-live-hero .hero-main-logo{
  display:block!important;
  width:auto!important;
  height:clamp(86px,7.2vw,124px)!important;
  max-width:min(560px,46vw)!important;
  object-fit:contain!important;
  filter:drop-shadow(0 16px 28px rgba(0,0,0,.34)) drop-shadow(0 0 16px rgba(221,202,98,.12))!important;
}
@media(max-width:760px){
  .home-live-hero .hero-main-logo-wrap{
    width:auto!important;
  }
  .home-live-hero .hero-main-logo{
    height:clamp(64px,17vw,88px)!important;
    max-width:82vw!important;
  }
}
@media(max-width:420px){
  .home-live-hero .hero-main-logo-wrap{
    width:auto!important;
  }
.home-live-hero .hero-main-logo{
    height:clamp(58px,16vw,76px)!important;
    max-width:84vw!important;
  }
}

/* Final home hero search width: keep the search icon visible beside the rabbi image */
.home-live-hero .home-horaa-search{
  width:min(780px,42vw)!important;
  position:relative!important;
  z-index:8!important;
}
@media(max-width:980px){
  .home-live-hero .home-horaa-search{
    width:min(560px,86vw)!important;
  }
}
@media(max-width:560px){
  .home-live-hero .home-horaa-search{
    width:min(318px,84vw)!important;
    min-height:52px!important;
    grid-template-columns:minmax(0,1fr) 58px!important;
    align-items:center!important;
    overflow:hidden!important;
    padding:0!important;
  }
  .home-live-hero .home-horaa-search button{
    width:48px!important;
    min-width:48px!important;
    height:48px!important;
    min-height:48px!important;
    margin:2px auto!important;
    align-self:center!important;
    justify-self:center!important;
    border-radius:50%!important;
  }
  .home-live-hero .home-horaa-search svg{
    width:24px!important;
    height:24px!important;
  }
}

/* Elegant divider style for every subcategory inside שו"ת מקיף */
.alonim-qna-section .alonim-subtopic{
  margin:0 auto 34px!important;
}
.alonim-qna-section .alonim-subtopic h3{
  position:relative!important;
  width:min(1040px,92vw)!important;
  max-width:1040px!important;
  margin:4px auto 22px!important;
  padding:18px 28px 17px!important;
  text-align:center!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.25rem,2vw,1.85rem)!important;
  font-weight:900!important;
  line-height:1.2!important;
  background:
    radial-gradient(ellipse at center,rgba(221,202,98,.12),rgba(221,202,98,0) 56%),
    linear-gradient(90deg,rgba(255,255,255,0),rgba(255,251,238,.78) 18%,rgba(255,251,238,.88) 50%,rgba(255,251,238,.78) 82%,rgba(255,255,255,0))!important;
  border-top:1px solid rgba(184,158,20,.46)!important;
  border-bottom:1px solid rgba(184,158,20,.34)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.alonim-qna-section .alonim-subtopic h3::before{
  content:""!important;
  position:absolute!important;
  inset:7px 12% 7px!important;
  pointer-events:none!important;
  opacity:.16!important;
  background:
    radial-gradient(circle at 50% 50%,rgba(184,158,20,.36),transparent 18%),
    linear-gradient(90deg,transparent 0%,rgba(0,48,24,.12) 25%,transparent 42%,transparent 58%,rgba(0,48,24,.12) 75%,transparent 100%)!important;
  filter:blur(.2px)!important;
}
.alonim-qna-section .alonim-subtopic h3::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:92px!important;
  height:22px!important;
  transform:translate(-50%,-50%)!important;
  opacity:.18!important;
  pointer-events:none!important;
  background:
    radial-gradient(circle at 50% 50%,rgba(184,158,20,.42) 0 4px,transparent 5px),
    linear-gradient(90deg,transparent,rgba(184,158,20,.42),transparent)!important;
}
@media(max-width:560px){
  .alonim-qna-section .alonim-subtopic h3{
    width:min(100%,92vw)!important;
    padding:15px 12px!important;
    font-size:1.12rem!important;
  }
}

/* שו"ת מקיף - article-like reading cards, inspired by the שבתות page */
.alonim-qna-section .alonim-subtopic-list{
  width:100%!important;
  margin:0 auto!important;
  display:grid!important;
  gap:16px!important;
}
.alonim-qna-section .alonim-item{
  position:relative!important;
  border:1px solid rgba(0,48,24,.13)!important;
  border-radius:28px 7px 28px 7px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,248,239,.92)),
    radial-gradient(circle at 8% 0,rgba(221,202,98,.13),transparent 30%)!important;
  box-shadow:0 18px 52px rgba(1,41,18,.08)!important;
  overflow:hidden!important;
  scroll-margin-top:120px!important;
}
.alonim-qna-section .alonim-item::before{
  content:""!important;
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:5px!important;
  background:linear-gradient(180deg,#ddca62,#b89e14,#003018)!important;
  opacity:.72!important;
}
.alonim-qna-section .alonim-item button{
  min-height:78px!important;
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
  justify-items:stretch!important;
  text-align:right!important;
  padding:17px 24px!important;
  background:
    linear-gradient(90deg,rgba(0,48,24,.08),rgba(255,255,255,.74),rgba(221,202,98,.12))!important;
}
.alonim-qna-section .alonim-item button span{
  display:grid!important;
  place-items:center!important;
  width:44px!important;
  height:44px!important;
  border-radius:50%!important;
  color:#082a17!important;
  background:linear-gradient(145deg,#f5df8d,#b89e14)!important;
  font-size:1.05rem!important;
  font-weight:950!important;
  line-height:1!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.48),0 10px 22px rgba(184,158,20,.18)!important;
}
.alonim-qna-section .alonim-item button strong{
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1rem,1.35vw,1.22rem)!important;
  line-height:1.42!important;
  font-weight:900!important;
  letter-spacing:0!important;
}
.alonim-qna-section .alonim-item button::after{
  content:"פתח"!important;
  min-width:74px!important;
  justify-self:end!important;
  padding:8px 15px!important;
  border:1px solid rgba(0,48,24,.16)!important;
  border-radius:999px!important;
  color:#003018!important;
  background:rgba(255,255,255,.72)!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:.86rem!important;
  font-weight:850!important;
  text-align:center!important;
}
.alonim-qna-section .alonim-item button[aria-expanded="true"]::after{
  content:"סגור"!important;
  color:#082a17!important;
  background:linear-gradient(135deg,#b89e14,#ddca62)!important;
}
.alonim-qna-section .alonim-body{
  padding:2px 32px 30px!important;
  color:#18352a!important;
  font-size:1.02rem!important;
  line-height:1.9!important;
}
@media(max-width:680px){
  .alonim-qna-section .alonim-item button{
    min-height:72px!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:11px!important;
    padding:15px 13px!important;
  }
  .alonim-qna-section .alonim-item button span{
    width:38px!important;
    height:38px!important;
    font-size:.95rem!important;
  }
  .alonim-qna-section .alonim-item button strong{
    font-size:.98rem!important;
    line-height:1.38!important;
  }
  .alonim-qna-section .alonim-item button::after{
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
  }
  .alonim-qna-section .alonim-body{
    padding:0 18px 24px!important;
    font-size:.98rem!important;
    line-height:1.82!important;
  }
}

/* שו"ת מקיף - right side table of contents */
.alonim-qna-layout{
  width:min(1480px,96vw)!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  align-items:start!important;
  direction:rtl!important;
  justify-content:center!important;
}
.alonim-qna-toc{
  grid-area:1 / 1!important;
  justify-self:start!important;
  position:sticky!important;
  top:178px!important;
  z-index:4!important;
  width:230px!important;
  margin-inline-start:0!important;
  padding:18px 16px!important;
  border:1px solid rgba(184,158,20,.24)!important;
  border-radius:24px 7px 24px 7px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,248,239,.92)),
    radial-gradient(circle at 18% 8%,rgba(221,202,98,.17),transparent 34%)!important;
  box-shadow:0 18px 46px rgba(1,41,18,.09)!important;
}
.alonim-qna-toc > strong{
  display:block!important;
  margin:0 0 14px!important;
  padding-bottom:12px!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:1.22rem!important;
  font-weight:950!important;
  text-align:center!important;
  border-bottom:1px solid rgba(184,158,20,.28)!important;
}
.alonim-qna-toc-list{
  display:grid!important;
  gap:9px!important;
}
.alonim-qna-toc button{
  width:100%!important;
  min-height:42px!important;
  border:1px solid rgba(0,48,24,.13)!important;
  border-radius:999px!important;
  padding:8px 14px!important;
  color:#003018!important;
  background:rgba(255,255,255,.72)!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:.94rem!important;
  font-weight:850!important;
  text-align:center!important;
  cursor:pointer!important;
  transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease!important;
}
.alonim-qna-toc button:hover,
.alonim-qna-toc button.is-active{
  color:#082a17!important;
  background:linear-gradient(135deg,#b89e14,#ddca62)!important;
  border-color:rgba(184,158,20,.48)!important;
  box-shadow:0 12px 24px rgba(184,158,20,.16)!important;
  transform:translateY(-1px)!important;
}
.alonim-qna-content{
  grid-area:1 / 1!important;
  justify-self:center!important;
  min-width:0!important;
  width:min(980px,100%)!important;
}
.alonim-subtopic.is-toc-hidden{
  display:none!important;
}
@media(max-width:900px){
  .alonim-qna-layout{
    grid-template-columns:1fr!important;
    gap:20px!important;
    width:min(100%,92vw)!important;
  }
  .alonim-qna-toc{
    grid-area:auto!important;
    justify-self:stretch!important;
    width:100%!important;
    position:relative!important;
    top:auto!important;
    padding:14px 12px!important;
  }
  .alonim-qna-content{
    grid-area:auto!important;
    width:100%!important;
  }
  .alonim-qna-toc-list{
    display:flex!important;
    overflow-x:auto!important;
    gap:8px!important;
    padding:2px 2px 8px!important;
    scroll-snap-type:x proximity!important;
  }
  .alonim-qna-toc button{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:126px!important;
    scroll-snap-align:center!important;
    white-space:nowrap!important;
  }
}

@media(min-width:901px){
  .alonim-qna-layout{
    position:relative!important;
    display:grid!important;
    width:min(1480px,calc(100vw - 36px))!important;
    max-width:1480px!important;
    margin:0 18px 0 auto!important;
    padding-right:298px!important;
    grid-template-columns:minmax(0,980px) minmax(0,1fr)!important;
    gap:24px!important;
    align-items:start!important;
    direction:rtl!important;
  }
  .alonim-qna-content{
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    max-width:980px!important;
    margin:0!important;
    justify-self:start!important;
  }
  .alonim-qna-toc{
    position:fixed!important;
    right:18px!important;
    top:178px!important;
    width:270px!important;
    max-height:calc(100vh - 210px)!important;
    overflow:auto!important;
    margin:0!important;
    justify-self:auto!important;
  }
}

/* FINAL: replace side TOC with top category chooser */
.alonim-qna-layout{
  display:block!important;
  width:min(1040px,92vw)!important;
  max-width:1040px!important;
  margin:0 auto!important;
  padding:0!important;
  direction:rtl!important;
}
.alonim-qna-content{
  display:block!important;
  width:100%!important;
  max-width:1040px!important;
  margin:0 auto!important;
  padding:0!important;
}
.alonim-qna-filterbar{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:10px!important;
  width:100%!important;
  margin:0 auto 34px!important;
  padding:18px 20px!important;
  border:1px solid rgba(184,158,20,.24)!important;
  border-radius:26px 7px 26px 7px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,248,239,.92)),
    radial-gradient(circle at 18% 8%,rgba(221,202,98,.17),transparent 34%)!important;
  box-shadow:0 18px 46px rgba(1,41,18,.09)!important;
}
.alonim-qna-filterbar button{
  min-height:42px!important;
  border:1px solid rgba(0,48,24,.13)!important;
  border-radius:999px!important;
  padding:8px 18px!important;
  color:#003018!important;
  background:rgba(255,255,255,.72)!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:.94rem!important;
  font-weight:850!important;
  text-align:center!important;
  cursor:pointer!important;
  transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease!important;
}
.alonim-qna-filterbar button:hover,
.alonim-qna-filterbar button.is-active{
  color:#082a17!important;
  background:linear-gradient(135deg,#b89e14,#ddca62)!important;
  border-color:rgba(184,158,20,.48)!important;
  box-shadow:0 12px 24px rgba(184,158,20,.16)!important;
  transform:translateY(-1px)!important;
}
.alonim-qna-section .alonim-item button .alonim-question-number{
  width:auto!important;
  min-width:44px!important;
  height:44px!important;
  padding:0 11px!important;
  border-radius:999px!important;
  direction:ltr!important;
  unicode-bidi:plaintext!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:1rem!important;
  font-weight:950!important;
  letter-spacing:0!important;
  line-height:1!important;
}
@media(max-width:680px){
  .alonim-qna-filterbar{
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    padding:14px 12px!important;
    scroll-snap-type:x proximity!important;
  }
  .alonim-qna-filterbar button{
    flex:0 0 auto!important;
    min-width:126px!important;
    white-space:nowrap!important;
    scroll-snap-align:center!important;
  }
  .alonim-qna-section .alonim-item button .alonim-question-number{
    min-width:38px!important;
    height:38px!important;
    padding:0 9px!important;
    font-size:.9rem!important;
  }
}

/* Luxury About Page */
body:has(.about-rabbi-hero){
  background:
    radial-gradient(circle at 18% 0%,rgba(184,158,20,.08),transparent 30%),
    linear-gradient(180deg,#fffdf7 0%,#f7f3e7 42%,#fffdf8 100%)!important;
}
.about-rabbi-hero{
  position:relative;
  isolation:isolate;
  min-height:clamp(520px,58vw,760px);
  display:grid;
  align-items:center;
  overflow:hidden;
  color:#fff;
  border-bottom:1px solid rgba(184,158,20,.45);
  background:#052d17;
}
.about-rabbi-bg{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(2,31,16,.97) 0%,rgba(4,55,25,.83) 38%,rgba(4,54,25,.54) 66%,rgba(2,28,14,.93) 100%),
    url("assets/home-hero-beit-midrash-lesson.jpeg") center/cover no-repeat;
  filter:saturate(.92) contrast(1.05);
}
.about-rabbi-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 22% 46%,rgba(221,202,98,.18),transparent 27%),
    linear-gradient(180deg,rgba(0,0,0,.18),transparent 34%,rgba(0,0,0,.34)),
    repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 96px);
  pointer-events:none;
}
.about-rabbi-hero::after{
  content:"";
  position:absolute;
  inset:auto 10vw 44px;
  height:1px;
  background:linear-gradient(90deg,transparent,#b89e14 12%,#f4e7a5 50%,#b89e14 88%,transparent);
  opacity:.76;
}
.about-rabbi-hero-inner{
  width:min(1220px,92vw);
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.82fr);
  gap:clamp(28px,5vw,76px);
  align-items:center;
  padding-block:clamp(72px,8vw,120px);
}
.about-rabbi-copy{
  position:relative;
  max-width:720px;
  padding:clamp(22px,3vw,42px) 0;
}
.about-rabbi-copy::before{
  content:"";
  display:block;
  width:178px;
  height:11px;
  margin:0 0 24px auto;
  background:
    radial-gradient(circle,#f4e7a5 0 4px,transparent 5px) center/45px 100% repeat-x,
    linear-gradient(90deg,transparent,#b89e14 28%,#f4e7a5 50%,#b89e14 72%,transparent) center/100% 1px no-repeat;
}
.about-rabbi-copy .crumbs{
  color:rgba(245,231,170,.82)!important;
  font-weight:800;
}
.about-rabbi-copy .eyebrow{
  color:#ddca62!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif;
  font-size:clamp(1rem,1.2vw,1.2rem);
  letter-spacing:0!important;
}
.about-rabbi-copy h1{
  margin:.12em 0 .18em;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(3.3rem,7.2vw,7.35rem);
  line-height:.98;
  letter-spacing:0!important;
  color:#f8f3dc;
  text-shadow:
    0 2px 0 rgba(255,255,255,.12),
    0 7px 18px rgba(0,0,0,.45),
    0 0 28px rgba(221,202,98,.18);
}
.about-rabbi-copy h1 span{
  display:inline-block;
  background:linear-gradient(180deg,#fff9dd 0%,#ddca62 35%,#b89e14 58%,#7a5a16 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 3px 0 rgba(0,0,0,.28));
}
.about-rabbi-copy .lead{
  max-width:650px;
  color:rgba(255,255,255,.92)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif;
  font-size:clamp(1.22rem,1.75vw,1.65rem);
  line-height:1.62;
  text-shadow:0 3px 16px rgba(0,0,0,.36);
}
.about-rabbi-hero-actions,
.about-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
  margin-top:30px;
}
.about-rabbi-hero .btn,
.about-cta-card .btn{
  border-radius:999px!important;
  min-height:48px;
  padding-inline:26px!important;
  font-weight:900!important;
}
.about-rabbi-hero .btn-primary,
.about-cta-card .btn-primary{
  color:#082a17!important;
  background:linear-gradient(135deg,#b89e14,#f4e7a5,#b89e14)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 18px 38px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.58)!important;
}
.about-rabbi-hero .btn-ghost,
.about-cta-card .btn-ghost{
  color:#fff9df!important;
  background:rgba(255,255,255,.07)!important;
  border:1px solid rgba(221,202,98,.45)!important;
  backdrop-filter:blur(8px);
}
.about-rabbi-portrait{
  position:relative;
  min-height:clamp(360px,42vw,610px);
  margin:0;
  border-radius:32px 8px 32px 8px;
  overflow:hidden;
  border:1px solid rgba(221,202,98,.34);
  background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.015));
  box-shadow:0 34px 80px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18);
}
.about-rabbi-portrait::before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(221,202,98,.22);
  border-radius:24px 6px 24px 6px;
  z-index:1;
  pointer-events:none;
}
.about-rabbi-portrait img{
  width:100%;
  height:100%;
  min-height:inherit;
  object-fit:cover;
  object-position:center;
  display:block;
  filter:contrast(1.04) saturate(.92) brightness(.82);
  transform:scale(1.04);
}
.about-trust-strip{
  position:relative;
  z-index:2;
  margin-top:-42px;
}
.about-trust-grid{
  width:min(1120px,92vw);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  overflow:hidden;
  border:1px solid rgba(184,158,20,.28);
  border-radius:28px 8px 28px 8px;
  background:rgba(184,158,20,.32);
  box-shadow:0 22px 58px rgba(1,41,18,.16);
}
.about-trust-grid div{
  min-height:116px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:6px;
  text-align:center;
  background:
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.2),transparent 52%),
    rgba(255,255,255,.94);
}
.about-trust-grid strong{
  color:#003018;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif;
  font-size:clamp(1.45rem,2vw,2.15rem);
  line-height:1;
}
.about-trust-grid span{
  color:#7a5a16;
  font-weight:850;
}
.about-story-section,
.about-worlds-section,
.about-books-section,
.about-derech-section,
.about-cta-section{
  position:relative;
  padding-block:clamp(58px,7vw,104px)!important;
}
.about-story-section::before,
.about-books-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 80% 20%,rgba(221,202,98,.12),transparent 34%),
    radial-gradient(circle at 8% 80%,rgba(0,48,24,.08),transparent 32%);
  pointer-events:none;
}
.about-story-grid{
  width:min(1180px,92vw);
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:clamp(28px,4vw,56px);
  align-items:stretch;
}
.about-main-card,
.about-books-panel,
.about-derech-card,
.about-cta-card{
  position:relative;
  border:1px solid rgba(184,158,20,.25);
  border-radius:34px 8px 34px 8px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,252,242,.9)),
    radial-gradient(circle at 18% 0%,rgba(221,202,98,.16),transparent 38%);
  box-shadow:0 25px 70px rgba(1,41,18,.09);
}
.about-main-card{
  padding:clamp(28px,4vw,54px);
}
.about-main-card::after,
.about-derech-card::after,
.about-cta-card::after{
  content:"";
  position:absolute;
  inset:15px;
  border:1px solid rgba(221,202,98,.18);
  border-radius:26px 5px 26px 5px;
  pointer-events:none;
}
.about-main-card h2,
.about-worlds-section .section-title h2,
.about-books-text h2,
.about-cta-card h2{
  color:#003018;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(2rem,3.5vw,3.8rem);
  line-height:1.1;
  letter-spacing:0!important;
}
.about-main-card p,
.about-books-text p,
.about-derech-card p,
.about-cta-card p{
  color:#183d2a;
  font-size:clamp(1.05rem,1.16vw,1.18rem);
  line-height:1.95;
}
.about-side-photo{
  position:relative;
  min-height:100%;
  margin:0;
  overflow:hidden;
  border-radius:8px 34px 8px 34px;
  border:1px solid rgba(184,158,20,.24);
  box-shadow:0 24px 64px rgba(1,41,18,.13);
}
.about-side-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(.86) contrast(1.06) brightness(.74);
}
.about-side-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent,rgba(3,43,20,.78));
}
.about-side-photo div{
  position:absolute;
  inset:auto 28px 28px;
  z-index:1;
  color:#fff;
}
.about-side-photo span{
  display:block;
  color:#ddca62;
  font-weight:900;
  margin-bottom:6px;
}
.about-side-photo strong{
  display:block;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif;
  font-size:clamp(1.55rem,2.5vw,2.5rem);
  line-height:1.05;
}
.about-worlds-section{
  background:
    linear-gradient(180deg,rgba(0,48,24,.96),rgba(3,48,22,.98)),
    url("assets/beit-midrash-directory-bg.webp") center/cover fixed;
  color:#fff;
  border-block:1px solid rgba(184,158,20,.34);
}
.about-worlds-section .section-title{
  max-width:780px;
  margin:0 auto 38px;
  text-align:center;
}
.about-worlds-section .section-title .eyebrow{
  color:#ddca62!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3rem,4.8vw,6rem)!important;
  font-weight:950!important;
  line-height:1.05!important;
}
.about-worlds-section .section-title .eyebrow::before,
.about-worlds-section .section-title .eyebrow::after{
  display:none!important;
  content:none!important;
}
.about-worlds-section .section-title h2{
  color:#fff;
  text-shadow:0 8px 24px rgba(0,0,0,.26);
}
.about-worlds-section .section-title p{
  color:rgba(255,255,255,.82);
  font-size:1.16rem;
}
.about-worlds-grid{
  width:min(1160px,92vw);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.about-world-card{
  position:relative;
  min-height:260px;
  padding:28px 26px 24px;
  border:1px solid rgba(221,202,98,.24);
  border-radius:26px 8px 26px 8px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.045)),
    radial-gradient(circle at 12% 6%,rgba(221,202,98,.17),transparent 34%);
  box-shadow:0 20px 48px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.13);
  backdrop-filter:blur(8px);
  overflow:hidden;
}
.about-world-card::after{
  content:"";
  position:absolute;
  inset:auto 24px 18px;
  height:1px;
  background:linear-gradient(90deg,transparent,#ddca62,transparent);
  opacity:.54;
}
.about-world-number{
  display:inline-grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:50%;
  color:#0b2b18;
  background:linear-gradient(145deg,#fff2b4,#b89e14);
  font-family:"Segoe UI",Arial,sans-serif;
  font-weight:950;
  margin-bottom:22px;
  box-shadow:0 16px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.66);
}
.about-world-card h3{
  color:#fff;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif;
  font-size:clamp(1.45rem,1.8vw,2rem);
  line-height:1.12;
  margin:0 0 12px;
}
.about-world-card p{
  color:rgba(255,255,255,.78);
  line-height:1.75;
  margin:0 0 22px;
}
.about-world-card a{
  color:#f4e7a5;
  font-weight:900;
  text-decoration:none;
  border-bottom:1px solid rgba(244,231,165,.42);
}
.about-books-panel{
  width:min(1120px,92vw);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(230px,360px);
  gap:clamp(24px,4vw,56px);
  align-items:center;
  padding:clamp(28px,4vw,54px);
  overflow:hidden;
}
.about-books-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background:url("assets/page-watermark.svg") left 8% center/330px no-repeat;
  opacity:.06;
}
.about-books-text,
.about-books-visual{
  position:relative;
  z-index:1;
}
.about-books-visual{
  display:grid;
  place-items:center;
}
.about-books-visual img{
  width:min(280px,72vw);
  filter:drop-shadow(0 28px 38px rgba(1,41,18,.22));
  animation:aboutBookFloat 5.8s ease-in-out infinite;
}
@keyframes aboutBookFloat{
  0%,100%{transform:translateY(0) rotate(-2deg)}
  50%{transform:translateY(-12px) rotate(1deg)}
}
.about-derech-section{
  background:
    radial-gradient(circle at 50% 20%,rgba(221,202,98,.18),transparent 34%),
    linear-gradient(180deg,#fffaf0,#f5efe0);
}
.about-derech-card{
  width:min(1000px,92vw);
  padding:clamp(34px,5vw,70px);
  text-align:center;
}
.about-derech-card blockquote{
  margin:18px auto 28px;
  color:#003018;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(2.1rem,4.2vw,4.6rem);
  line-height:1.16;
  font-weight:950;
}
.about-derech-card blockquote span{
  display:block;
}
.about-derech-card p{
  max-width:800px;
  margin-inline:auto;
}
.about-cta-section{
  background:#052d17;
}
.about-cta-card{
  width:min(1040px,92vw);
  padding:clamp(32px,5vw,62px);
  text-align:center;
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,251,237,.9)),
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.16),transparent 38%);
}
.about-cta-actions{
  justify-content:center;
}
.about-cta-card .btn-ghost{
  color:#003018!important;
  border-color:rgba(0,48,24,.2)!important;
  background:rgba(255,255,255,.7)!important;
}
@media(max-width:920px){
  .about-rabbi-hero{
    min-height:auto;
  }
  .about-rabbi-hero-inner,
  .about-story-grid,
  .about-books-panel{
    grid-template-columns:1fr;
  }
  .about-rabbi-portrait{
    min-height:390px;
    order:0;
  }
  .about-worlds-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .about-trust-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:640px){
  .about-rabbi-hero-inner{
    width:min(100%,92vw);
    padding-block:34px 58px;
    gap:20px;
  }
  .about-rabbi-copy{
    text-align:center;
  }
  .about-rabbi-copy::before{
    margin-inline:auto;
  }
  .about-rabbi-copy h1{
    font-size:clamp(2.55rem,15vw,4.25rem);
  }
  .about-rabbi-copy .lead{
    font-size:1.08rem;
  }
  .about-rabbi-hero-actions{
    justify-content:center;
  }
  .about-rabbi-portrait{
    min-height:260px;
    max-height:340px;
    border-radius:24px 7px 24px 7px;
  }
  .about-trust-strip{
    margin-top:-26px;
  }
  .about-trust-grid{
    grid-template-columns:1fr 1fr;
    border-radius:22px 7px 22px 7px;
  }
  .about-trust-grid div{
    min-height:92px;
    padding:10px;
  }
  .about-worlds-grid{
    grid-template-columns:1fr;
  }
  .about-world-card{
    min-height:auto;
  }
  .about-main-card,
  .about-books-panel,
  .about-derech-card,
  .about-cta-card{
    border-radius:24px 7px 24px 7px;
  }
  .about-side-photo{
    min-height:320px;
  }
  .about-books-visual img{
    width:min(210px,64vw);
  }
  .about-derech-card blockquote{
    font-size:clamp(1.85rem,11vw,3.2rem);
  }
}

/* FINAL About page: Torah wisdom luxury */
body:has(.about-rabbi-hero){
  background:
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.13),transparent 34%),
    linear-gradient(180deg,#fbf7ea 0%,#fffdf8 28%,#f5f0e3 100%)!important;
}
.about-rabbi-hero{
  min-height:clamp(560px,55vw,690px)!important;
  background:#032414!important;
  border-bottom:4px solid #b89e14!important;
}
.about-rabbi-bg{
  background:
    linear-gradient(90deg,rgba(2,28,14,.96),rgba(3,47,23,.82) 34%,rgba(3,51,24,.64) 62%,rgba(2,27,14,.96)),
    linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.42)),
    url("assets/home-hero-beit-midrash-lesson.jpeg") center/cover no-repeat!important;
  filter:saturate(.88) contrast(1.1) brightness(.72)!important;
}
.about-rabbi-hero::before{
  background:
    radial-gradient(ellipse at 50% 17%,rgba(245,231,165,.18),transparent 34%),
    radial-gradient(circle at 82% 46%,rgba(184,158,20,.16),transparent 22%),
    linear-gradient(90deg,rgba(2,28,14,.72),transparent 30%,transparent 70%,rgba(2,28,14,.72)),
    repeating-linear-gradient(90deg,rgba(255,255,255,.028) 0 1px,transparent 1px 110px)!important;
}
.about-rabbi-hero::after{
  inset:auto 12vw 38px!important;
  height:18px!important;
  background:
    radial-gradient(circle,#f4e7a5 0 4px,transparent 5px) center/56px 100% repeat-x,
    linear-gradient(90deg,transparent,#8f701e 16%,#f6e7a0 50%,#8f701e 84%,transparent) center/100% 1px no-repeat!important;
  opacity:.9!important;
}
.about-rabbi-hero-inner{
  width:min(1240px,92vw)!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,430px)!important;
  gap:clamp(34px,5vw,72px)!important;
  align-items:center!important;
  padding-block:clamp(56px,7vw,96px)!important;
}
.about-rabbi-copy{
  max-width:790px!important;
  text-align:center!important;
  justify-self:center!important;
}
.about-rabbi-copy::before{
  width:min(430px,72vw)!important;
  height:18px!important;
  margin:0 auto 26px!important;
  background:
    radial-gradient(circle,#f4e7a5 0 4px,transparent 5px) center/60px 100% repeat-x,
    linear-gradient(90deg,transparent,#8b6d1c 18%,#f9eeb9 50%,#8b6d1c 82%,transparent) center/100% 1px no-repeat!important;
}
.about-rabbi-copy .crumbs{
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  min-height:34px!important;
  padding:5px 18px!important;
  margin:0 auto 12px!important;
  border:1px solid rgba(221,202,98,.35)!important;
  border-radius:999px!important;
  color:#f6e8aa!important;
  background:rgba(255,255,255,.045)!important;
  backdrop-filter:blur(8px);
}
.about-rabbi-copy .eyebrow{
  margin-inline:auto!important;
  color:#f3dc79!important;
  text-shadow:0 0 18px rgba(221,202,98,.28)!important;
}
.about-rabbi-copy h1{
  max-width:850px!important;
  margin-inline:auto!important;
  font-size:clamp(3.15rem,5.9vw,6.55rem)!important;
  text-align:center!important;
}
.about-rabbi-copy h1 span{
  background:linear-gradient(180deg,#fff7c8 0%,#d9bf55 31%,#b89e14 56%,#6d4f12 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  text-shadow:none!important;
  filter:drop-shadow(0 4px 0 rgba(0,0,0,.32)) drop-shadow(0 0 16px rgba(221,202,98,.22))!important;
}
.about-rabbi-copy .lead{
  max-width:730px!important;
  margin:18px auto 0!important;
  text-align:center!important;
  font-size:clamp(1.16rem,1.45vw,1.45rem)!important;
}
.about-rabbi-hero-actions{
  justify-content:center!important;
}
.about-rabbi-portrait{
  min-height:clamp(360px,38vw,520px)!important;
  border-radius:36px 6px 36px 6px!important;
  border-color:rgba(246,231,160,.42)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.018)),
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.18),transparent 42%)!important;
  box-shadow:
    0 38px 90px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 70px rgba(184,158,20,.10)!important;
}
.about-rabbi-portrait img{
  filter:contrast(1.08) saturate(.86) brightness(.78)!important;
}
.about-trust-strip{
  margin-top:-54px!important;
}
.about-trust-grid{
  width:min(1120px,90vw)!important;
  border-radius:36px 8px 36px 8px!important;
  border-color:rgba(184,158,20,.36)!important;
  box-shadow:0 26px 70px rgba(1,41,18,.17)!important;
}
.about-trust-grid div{
  min-height:126px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(252,248,236,.94)),
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.26),transparent 52%)!important;
}
.about-trust-grid strong{
  color:#002B17!important;
  font-size:clamp(1.58rem,2.1vw,2.25rem)!important;
}
.about-trust-grid span{
  color:#856517!important;
}
.about-story-section,
.about-books-section,
.about-derech-section{
  overflow:hidden;
}
.about-story-section::after,
.about-books-section::after,
.about-derech-section::after{
  content:"";
  position:absolute;
  inset:auto 11vw 0;
  height:20px;
  background:
    radial-gradient(circle,#ddca62 0 4px,transparent 5px) center/58px 100% repeat-x,
    linear-gradient(90deg,transparent,rgba(184,158,20,.65),transparent) center/100% 1px no-repeat;
  opacity:.55;
  pointer-events:none;
}
.about-story-grid{
  width:min(1180px,90vw)!important;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr)!important;
  align-items:center!important;
}
.about-main-card,
.about-books-panel,
.about-derech-card,
.about-cta-card{
  border-radius:40px 8px 40px 8px!important;
  border-color:rgba(184,158,20,.35)!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,251,240,.94)),
    radial-gradient(circle at 20% 0%,rgba(221,202,98,.18),transparent 36%)!important;
  box-shadow:0 30px 80px rgba(1,41,18,.10), inset 0 1px 0 rgba(255,255,255,.8)!important;
}
.about-main-card{
  text-align:center!important;
}
.about-main-card .eyebrow,
.about-books-text .eyebrow,
.about-derech-card .eyebrow{
  color:#b89e14!important;
  text-align:center!important;
}
.about-main-card h2,
.about-books-text h2,
.about-worlds-section .section-title h2,
.about-cta-card h2{
  text-align:center!important;
  font-size:clamp(2.15rem,3.75vw,4.05rem)!important;
  color:#002B17!important;
}
.about-main-card h2::after,
.about-books-text h2::after,
.about-worlds-section .section-title h2::after{
  content:"";
  display:block;
  width:min(250px,56vw);
  height:16px;
  margin:18px auto 4px;
  background:
    radial-gradient(circle,#ddca62 0 4px,transparent 5px) center/54px 100% repeat-x,
    linear-gradient(90deg,transparent,#b89e14 24%,#f4e7a5 50%,#b89e14 76%,transparent) center/100% 1px no-repeat;
}
.about-main-card p,
.about-books-text p,
.about-derech-card p,
.about-cta-card p{
  max-width:850px;
  margin-inline:auto;
  text-align:center!important;
  color:#173d29!important;
}
.about-side-photo{
  min-height:470px!important;
  border-radius:8px 40px 8px 40px!important;
  border-color:rgba(184,158,20,.35)!important;
}
.about-side-photo div{
  inset:auto 32px 32px!important;
  text-align:center!important;
}
.about-worlds-section{
  background:
    linear-gradient(180deg,rgba(3,38,19,.97),rgba(5,76,34,.94) 48%,rgba(3,36,18,.99)),
    url("assets/beit-midrash-directory-bg.webp") center/cover fixed!important;
}
.about-worlds-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 50% 6%,rgba(221,202,98,.14),transparent 32%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.024) 0 1px,transparent 1px 112px);
  pointer-events:none;
}
.about-worlds-section .section-inner{
  position:relative;
  z-index:1;
}
.about-worlds-section .section-title{
  max-width:860px!important;
  margin-bottom:46px!important;
}
.about-worlds-section .section-title h2{
  color:#fff9e4!important;
}
.about-worlds-grid{
  width:min(1180px,90vw)!important;
  gap:20px!important;
}
.about-world-card{
  min-height:286px!important;
  padding:30px 28px 28px!important;
  text-align:center!important;
  border-radius:34px 7px 34px 7px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.045)),
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.20),transparent 39%)!important;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease!important;
}
.about-world-card:hover{
  transform:translateY(-7px)!important;
  border-color:rgba(244,231,165,.62)!important;
  box-shadow:0 28px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.about-world-number{
  margin-inline:auto!important;
}
.about-world-card p{
  text-align:center!important;
}
.about-books-panel{
  width:min(1120px,90vw)!important;
  grid-template-columns:minmax(230px,330px) minmax(0,1fr)!important;
}
.about-books-text{
  text-align:center!important;
}
.about-books-visual{
  order:-1;
}
.about-derech-card{
  width:min(1040px,90vw)!important;
  background:
    linear-gradient(180deg,rgba(3,38,19,.98),rgba(5,76,34,.95)),
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.22),transparent 36%)!important;
  color:#fff!important;
}
.about-derech-card::before{
  content:"";
  display:block;
  width:min(420px,70vw);
  height:18px;
  margin:0 auto 24px;
  background:
    radial-gradient(circle,#f4e7a5 0 4px,transparent 5px) center/62px 100% repeat-x,
    linear-gradient(90deg,transparent,#8b6d1c 18%,#f9eeb9 50%,#8b6d1c 82%,transparent) center/100% 1px no-repeat;
}
.about-derech-card blockquote{
  color:#f8f1cd!important;
  text-shadow:0 8px 28px rgba(0,0,0,.36),0 0 20px rgba(221,202,98,.14)!important;
}
.about-derech-card p{
  color:rgba(255,255,255,.84)!important;
}
.about-cta-section{
  background:
    linear-gradient(180deg,#032414,#002B17)!important;
  border-top:1px solid rgba(184,158,20,.35);
}
.about-cta-card h2{
  color:#002B17!important;
}
@media(max-width:920px){
  .about-rabbi-hero-inner{
    grid-template-columns:1fr!important;
  }
  .about-rabbi-portrait{
    width:min(540px,100%)!important;
    justify-self:center!important;
  }
  .about-story-grid,
  .about-books-panel{
    grid-template-columns:1fr!important;
  }
  .about-worlds-grid{
    grid-template-columns:repeat(2,1fr)!important;
  }
}
@media(max-width:640px){
  .about-rabbi-hero{
    min-height:auto!important;
  }
  .about-rabbi-hero-inner{
    padding-block:34px 60px!important;
  }
  .about-rabbi-copy h1{
    font-size:clamp(2.55rem,13vw,4.35rem)!important;
  }
  .about-rabbi-copy .lead{
    font-size:1.04rem!important;
    line-height:1.68!important;
  }
  .about-rabbi-hero-actions .btn{
    width:100%;
    justify-content:center;
  }
  .about-rabbi-portrait{
    min-height:260px!important;
    max-height:310px!important;
  }
  .about-rabbi-portrait img{
    object-position:center 35%!important;
  }
  .about-trust-grid{
    width:min(92vw,440px)!important;
    grid-template-columns:1fr!important;
  }
  .about-trust-grid div{
    min-height:82px!important;
  }
  .about-main-card,
  .about-books-panel,
  .about-derech-card,
  .about-cta-card{
    padding:28px 18px!important;
  }
  .about-main-card h2,
  .about-books-text h2,
  .about-worlds-section .section-title h2,
  .about-cta-card h2{
    font-size:clamp(2rem,10vw,3rem)!important;
  }
  .about-side-photo{
    min-height:260px!important;
  }
  .about-worlds-grid{
    grid-template-columns:1fr!important;
  }
  .about-world-card{
    min-height:auto!important;
    padding:26px 20px!important;
  }
  .about-books-visual img{
    width:min(190px,58vw)!important;
  }
  .about-derech-card blockquote{
    font-size:clamp(1.75rem,9vw,2.8rem)!important;
  }
}

/* FINAL clean luxury pass for About page */
.about-rabbi-hero{
  min-height:clamp(500px,48vw,620px)!important;
  border-bottom:2px solid #b89e14!important;
}
.about-rabbi-hero .reveal,
.about-story-section .reveal,
.about-worlds-section .reveal,
.about-books-section .reveal,
.about-derech-section .reveal,
.about-cta-section .reveal{
  opacity:1!important;
  transform:none!important;
}
.about-rabbi-bg{
  background:
    linear-gradient(90deg,rgba(0,29,15,.79),rgba(2,52,26,.65) 45%,rgba(0,29,15,.81)),
    url("assets/home-hero-beit-midrash-lesson.jpeg") center/cover no-repeat!important;
  filter:saturate(.92) contrast(1.055) brightness(.75)!important;
}
.about-rabbi-hero::before{
  background:
    linear-gradient(180deg,rgba(0,19,10,.10),rgba(0,19,10,.26)),
    radial-gradient(ellipse at 50% 30%,rgba(221,202,98,.11),transparent 37%)!important;
}
.about-rabbi-hero::after{
  display:none!important;
}
.about-rabbi-hero-inner{
  grid-template-columns:1fr!important;
  width:100%!important;
  max-width:none!important;
  padding-block:clamp(54px,7vw,94px)!important;
  padding-inline:0!important;
}
.about-rabbi-copy{
  width:100%!important;
  max-width:none!important;
  margin-inline:auto!important;
  text-align:center!important;
  display:grid!important;
  justify-items:center!important;
  place-items:center!important;
}
.about-rabbi-copy::before{
  width:min(360px,70vw)!important;
  height:14px!important;
  margin-bottom:24px!important;
}
.about-rabbi-copy .crumbs{
  border-radius:0!important;
  border-width:0 0 1px 0!important;
  background:transparent!important;
  padding:0 4px 8px!important;
}
.about-rabbi-copy h1{
  font-size:clamp(2.4rem,4.7vw,5.15rem)!important;
  margin-bottom:20px!important;
  opacity:1!important;
  text-align:center!important;
  margin-inline:auto!important;
  width:100%!important;
  max-width:none!important;
}
.about-rabbi-copy h1 span{
  opacity:1!important;
  filter:drop-shadow(0 4px 0 rgba(0,0,0,.36)) drop-shadow(0 0 26px rgba(221,202,98,.34))!important;
}
.about-rabbi-copy .lead{
  max-width:760px!important;
  color:#fffdf0!important;
  opacity:1!important;
  text-align:center!important;
  margin-inline:auto!important;
}
.about-rabbi-portrait{
  display:none!important;
}
.about-trust-strip{
  margin-top:0!important;
  padding:0!important;
  background:#fbf7ea!important;
  border-bottom:1px solid rgba(184,158,20,.24)!important;
}
.about-trust-grid{
  width:100%!important;
  max-width:100%!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  display:grid!important;
  grid-template-columns:repeat(4,1fr)!important;
}
.about-trust-grid div{
  min-height:136px!important;
  border-inline-start:1px solid rgba(184,158,20,.30)!important;
  border-bottom:1px solid rgba(184,158,20,.20)!important;
  background:
    linear-gradient(180deg,#fffdf8,#f7f0df)!important;
}
.about-trust-grid div:last-child{
  border-inline-start:0!important;
}
.about-trust-grid strong{
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  color:#003018!important;
  font-size:clamp(1.85rem,2.6vw,3rem)!important;
  text-shadow:0 1px 0 #fff,0 10px 22px rgba(0,48,24,.07)!important;
  animation:aboutTrustTitleDrop .72s cubic-bezier(.18,.82,.28,1) both!important;
}
.about-trust-grid span{
  color:#80621b!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1rem,1.15vw,1.18rem)!important;
  font-weight:900!important;
  animation:aboutTrustSubtitleRise .72s cubic-bezier(.18,.82,.28,1) both!important;
}
.about-trust-grid div:nth-child(1) strong,
.about-trust-grid div:nth-child(1) span{animation-delay:.08s!important}
.about-trust-grid div:nth-child(2) strong,
.about-trust-grid div:nth-child(2) span{animation-delay:.20s!important}
.about-trust-grid div:nth-child(3) strong,
.about-trust-grid div:nth-child(3) span{animation-delay:.32s!important}
.about-trust-grid div:nth-child(4) strong,
.about-trust-grid div:nth-child(4) span{animation-delay:.44s!important}
@keyframes aboutTrustTitleDrop{
  from{opacity:0;transform:translateY(-28px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes aboutTrustSubtitleRise{
  from{opacity:0;transform:translateY(24px)}
  to{opacity:1;transform:translateY(0)}
}
@media (prefers-reduced-motion: reduce){
  .about-trust-grid strong,
  .about-trust-grid span{
    animation:none!important;
  }
}
.about-story-section,
.about-worlds-section,
.about-books-section,
.about-derech-section,
.about-cta-section{
  padding-block:clamp(74px,7vw,112px)!important;
}
.about-story-section::before,
.about-books-section::before,
.about-story-section::after,
.about-books-section::after,
.about-derech-section::after{
  display:none!important;
}
.about-story-section{
  background:#fffdf8!important;
}
.about-story-grid{
  grid-template-columns:1fr!important;
  width:min(1040px,90vw)!important;
}
.about-main-card,
.about-books-panel,
.about-derech-card,
.about-cta-card{
  border-radius:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
}
.about-main-card::after,
.about-derech-card::after,
.about-cta-card::after{
  display:none!important;
}
.about-main-card{
  padding:0!important;
}
.about-main-card h2,
.about-books-text h2,
.about-worlds-section .section-title h2,
.about-cta-card h2{
  position:relative!important;
  display:block!important;
  margin-inline:auto!important;
  color:#003018!important;
  font-size:clamp(2.25rem,4.1vw,4.7rem)!important;
  font-weight:950!important;
  text-align:center!important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.95),
    0 2px 0 rgba(184,158,20,.18),
    0 12px 28px rgba(0,48,24,.08)!important;
}
.about-main-card h2::before,
.about-books-text h2::before,
.about-worlds-section .section-title h2::before,
.about-cta-card h2::before{
  content:attr(data-engraved);
}
.about-main-card h2::after,
.about-books-text h2::after,
.about-worlds-section .section-title h2::after{
  width:min(520px,72vw)!important;
  height:1px!important;
  margin:22px auto 24px!important;
  background:linear-gradient(90deg,transparent,#b89e14 18%,#ddca62 50%,#b89e14 82%,transparent)!important;
}
.about-main-card p,
.about-books-text p,
.about-derech-card p,
.about-cta-card p{
  max-width:860px!important;
  text-align:center!important;
  font-size:clamp(1.06rem,1.18vw,1.22rem)!important;
  line-height:2.02!important;
}
.about-side-photo{
  width:min(760px,100%)!important;
  min-height:330px!important;
  margin:34px auto 0!important;
  border-radius:0!important;
  box-shadow:none!important;
  border:1px solid rgba(184,158,20,.28)!important;
}
.about-side-photo img{
  filter:saturate(.88) contrast(1.05) brightness(.78)!important;
}
.about-worlds-section{
  background:#063c1d!important;
  border-block:1px solid rgba(184,158,20,.35)!important;
}
.about-worlds-section::before{
  display:none!important;
}
.about-worlds-section .section-title{
  margin-bottom:42px!important;
}
.about-worlds-section .section-title h2{
  color:#fff7d5!important;
  font-size:clamp(1.85rem,3vw,3.45rem)!important;
}
.about-worlds-section .section-title p{
  color:rgba(255,255,255,.82)!important;
}
.about-worlds-grid{
  width:min(1120px,90vw)!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:18px!important;
  border:0!important;
  background:transparent!important;
}
.about-world-card{
  position:relative!important;
  min-height:286px!important;
  border:1px solid rgba(221,202,98,.28)!important;
  border-radius:26px 7px 26px 7px!important;
  box-shadow:0 22px 54px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.12)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.04)),
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.18),transparent 38%),
    linear-gradient(180deg,rgba(5,76,34,.62),rgba(2,31,16,.74))!important;
  padding:34px 28px 32px!important;
  overflow:hidden!important;
  animation:aboutWorldCardIn .82s cubic-bezier(.18,.82,.28,1) both!important;
}
.about-world-card::before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(221,202,98,.16);
  border-radius:20px 5px 20px 5px;
  pointer-events:none;
}
.about-world-card::after{
  content:"";
  position:absolute;
  inset:auto 26px 22px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(244,231,165,.58),transparent);
  opacity:.75;
}
.about-world-card:nth-child(1){animation-delay:.08s!important}
.about-world-card:nth-child(2){animation-delay:.18s!important}
.about-world-card:nth-child(3){animation-delay:.28s!important}
.about-world-card:nth-child(4){animation-delay:.38s!important}
.about-world-card:nth-child(5){animation-delay:.48s!important}
.about-world-card:nth-child(6){animation-delay:.58s!important}
.about-world-card:hover{
  transform:translateY(-8px)!important;
  border-color:rgba(244,231,165,.62)!important;
  box-shadow:0 30px 76px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18)!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.055)),
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.24),transparent 42%),
    linear-gradient(180deg,rgba(0,48,24,.66),rgba(2,31,16,.82))!important;
}
.about-world-number{
  position:relative!important;
  width:58px!important;
  height:58px!important;
  display:grid!important;
  place-items:center!important;
  margin:0 auto 20px!important;
  background:
    linear-gradient(145deg,#fff0a5,#d5b62e 50%,#8f6f12)!important;
  color:#062414!important;
  box-shadow:0 16px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.65)!important;
  border-radius:50%!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:1.24rem!important;
  font-weight:950!important;
}
.about-world-card h3{
  color:#fff!important;
  text-align:center!important;
  text-shadow:0 5px 18px rgba(0,0,0,.28)!important;
}
.about-world-card p{
  max-width:300px!important;
  margin-inline:auto!important;
  color:rgba(255,255,255,.84)!important;
}
.about-world-card a{
  position:relative!important;
  z-index:1!important;
  color:#f4e7a5!important;
  font-weight:950!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(244,231,165,.52)!important;
}
@keyframes aboutWorldCardIn{
  from{
    opacity:0;
    transform:translateY(34px) scale(.96);
    filter:blur(8px);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
    filter:blur(0);
  }
}
@media (prefers-reduced-motion: reduce){
  .about-world-card{
    animation:none!important;
  }
}

/* Extra premium treatment for About enterprise cards */
.about-worlds-section{
  background:
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.13),transparent 30%),
    linear-gradient(180deg,#02180c 0%,#063c1d 48%,#02180c 100%)!important;
}
.about-worlds-grid{
  width:min(1180px,90vw)!important;
  gap:22px!important;
  perspective:1200px!important;
}
.about-world-card{
  min-height:318px!important;
  padding:38px 30px 34px!important;
  border:1px solid rgba(244,231,165,.38)!important;
  border-radius:8px!important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.018) 34%,rgba(221,202,98,.08) 100%),
    radial-gradient(circle at 50% 0%,rgba(244,231,165,.17),transparent 34%),
    linear-gradient(180deg,#073a1d 0%,#031b0e 100%)!important;
  box-shadow:
    0 30px 70px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 0 0 1px rgba(184,158,20,.18)!important;
  transform-style:preserve-3d!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
}
.about-world-card::before{
  inset:12px!important;
  border:1px solid rgba(244,231,165,.28)!important;
  border-radius:4px!important;
  background:
    linear-gradient(90deg,rgba(244,231,165,.75),transparent 18%,transparent 82%,rgba(244,231,165,.75)) top/100% 1px no-repeat,
    linear-gradient(90deg,rgba(244,231,165,.75),transparent 18%,transparent 82%,rgba(244,231,165,.75)) bottom/100% 1px no-repeat!important;
}
.about-world-card::after{
  inset:0!important;
  height:auto!important;
  background:
    linear-gradient(120deg,transparent 0%,transparent 38%,rgba(255,244,190,.16) 45%,transparent 54%,transparent 100%),
    radial-gradient(circle at 0 0,rgba(244,231,165,.36) 0 2px,transparent 3px),
    radial-gradient(circle at 100% 0,rgba(244,231,165,.36) 0 2px,transparent 3px),
    radial-gradient(circle at 0 100%,rgba(244,231,165,.36) 0 2px,transparent 3px),
    radial-gradient(circle at 100% 100%,rgba(244,231,165,.36) 0 2px,transparent 3px)!important;
  opacity:.9!important;
  pointer-events:none!important;
  transform:translateX(120%);
  transition:transform 1.1s cubic-bezier(.18,.82,.28,1)!important;
}
.about-world-card:hover::after{
  transform:translateX(-120%)!important;
}
.about-world-card:nth-child(odd){
  animation-name:aboutWorldCardRoyalRight!important;
}
.about-world-card:nth-child(even){
  animation-name:aboutWorldCardRoyalLeft!important;
}
.about-world-card:hover{
  transform:translateY(-10px) rotateX(2deg)!important;
  border-color:rgba(255,238,158,.72)!important;
  box-shadow:
    0 42px 90px rgba(0,0,0,.40),
    0 0 36px rgba(184,158,20,.10),
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 0 0 1px rgba(244,231,165,.22)!important;
}
.about-world-number{
  width:64px!important;
  height:64px!important;
  margin-bottom:24px!important;
  border:1px solid rgba(255,255,255,.20)!important;
  background:
    radial-gradient(circle at 34% 24%,#fff7c9 0%,#ddca62 35%,#b08a18 72%,#72510c 100%)!important;
  box-shadow:
    0 18px 34px rgba(0,0,0,.30),
    inset 0 2px 0 rgba(255,255,255,.55),
    inset 0 -8px 14px rgba(78,48,0,.22)!important;
}
.about-world-card h3{
  font-size:clamp(1.55rem,1.95vw,2.25rem)!important;
  color:#fff8dc!important;
}
.about-world-card p{
  color:rgba(255,255,255,.86)!important;
}
.about-world-card a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-top:auto!important;
  min-height:34px!important;
  padding:3px 13px 5px!important;
  border:1px solid rgba(244,231,165,.34)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.045)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
@keyframes aboutWorldCardRoyalRight{
  from{opacity:0;transform:translateX(46px) translateY(18px) rotateY(-7deg);filter:blur(8px)}
  to{opacity:1;transform:translateX(0) translateY(0) rotateY(0);filter:blur(0)}
}
@keyframes aboutWorldCardRoyalLeft{
  from{opacity:0;transform:translateX(-46px) translateY(18px) rotateY(7deg);filter:blur(8px)}
  to{opacity:1;transform:translateX(0) translateY(0) rotateY(0);filter:blur(0)}
}
@media(max-width:640px){
  .about-world-card{
    min-height:auto!important;
    padding:30px 20px!important;
  }
}
.about-books-section{
  background:#fffdf8!important;
}
.about-books-panel{
  width:min(1000px,90vw)!important;
  grid-template-columns:1fr!important;
  text-align:center!important;
}
.about-books-visual{
  order:0!important;
  margin-top:24px!important;
}
.about-books-visual img{
  width:min(220px,52vw)!important;
}
.about-derech-section{
  background:linear-gradient(180deg,#f9f4e6,#fffdf8)!important;
}
.about-derech-card{
  width:min(960px,90vw)!important;
  color:#123d27!important;
}
.about-derech-card::before{
  width:min(420px,70vw)!important;
}
.about-derech-card blockquote{
  color:#003018!important;
  text-shadow:0 1px 0 #fff,0 12px 24px rgba(0,48,24,.08)!important;
}
.about-derech-card p{
  color:#173d29!important;
}
.about-cta-section{
  background:#063c1d!important;
}
.about-cta-card{
  width:min(980px,90vw)!important;
}
.about-cta-card h2,
.about-cta-card p{
  color:#fffdf0!important;
}
.about-cta-card h2{
  text-shadow:0 12px 28px rgba(0,0,0,.18)!important;
}
.about-cta-card .btn-ghost{
  color:#fffdf0!important;
  border-color:rgba(221,202,98,.36)!important;
  background:rgba(255,255,255,.06)!important;
}
@media(max-width:920px){
  .about-trust-grid{
    grid-template-columns:repeat(2,1fr)!important;
  }
  .about-worlds-grid{
    grid-template-columns:repeat(2,1fr)!important;
  }
}
@media(max-width:640px){
  .about-rabbi-hero{
    min-height:auto!important;
  }
  .about-rabbi-hero-inner{
    padding-block:42px 52px!important;
  }
  .about-rabbi-copy h1{
    font-size:clamp(2.35rem,12vw,3.65rem)!important;
  }
  .about-trust-grid{
    grid-template-columns:1fr!important;
  }
  .about-trust-grid div{
    min-height:88px!important;
    border-inline-start:0!important;
  }
  .about-worlds-grid{
    grid-template-columns:1fr!important;
  }
  .about-world-card{
    min-height:auto!important;
  }
  .about-story-section,
  .about-worlds-section,
  .about-books-section,
  .about-derech-section,
  .about-cta-section{
    padding-block:54px!important;
  }
}

/* About page requested refinements */
.about-rabbi-copy .crumbs{
  display:none!important;
}
.about-rabbi-copy .eyebrow{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 auto 20px!important;
  padding:18px 18px 22px!important;
  color:transparent!important;
  background:
    linear-gradient(180deg,#fff0a5 0%,#d9bd42 38%,#9d7d16 65%,#5f430b 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3.05rem,6.2vw,7rem)!important;
  font-weight:950!important;
  line-height:1!important;
  text-shadow:none!important;
  filter:
    drop-shadow(0 3px 0 rgba(31,26,7,.88))
    drop-shadow(0 8px 12px rgba(0,0,0,.40))
    drop-shadow(0 0 18px rgba(221,202,98,.18))!important;
  mix-blend-mode:normal!important;
  opacity:1!important;
  position:relative!important;
  text-align:center!important;
}
.about-rabbi-copy .eyebrow::before{
  content:"";
  position:absolute;
  inset:6px 0 0;
  z-index:-1;
  border-radius:8px;
  background:linear-gradient(180deg,rgba(3,45,22,.28),rgba(1,20,10,.12));
  box-shadow:0 18px 48px rgba(0,0,0,.18);
}
.about-story-section{
  min-height:clamp(620px,56vw,820px)!important;
  display:grid!important;
  align-items:center!important;
  background:
    linear-gradient(90deg,rgba(2,31,16,.94),rgba(4,59,28,.78) 48%,rgba(2,31,16,.94)),
    linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.26)),
    url("assets/about-beit-midrash-bg.jpeg") center/cover no-repeat!important;
  border-block:1px solid rgba(184,158,20,.36)!important;
}
.about-story-section::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  background:
    radial-gradient(ellipse at 50% 22%,rgba(221,202,98,.16),transparent 36%),
    linear-gradient(180deg,rgba(2,31,16,.18),rgba(2,31,16,.38))!important;
  pointer-events:none!important;
}
.about-story-section .section-inner{
  position:relative!important;
  z-index:1!important;
}
.about-story-grid{
  width:min(1040px,90vw)!important;
  margin-inline:auto!important;
}
.about-main-card{
  max-width:940px!important;
  margin-inline:auto!important;
  padding:clamp(34px,5vw,64px)!important;
  background:linear-gradient(180deg,rgba(3,38,19,.72),rgba(3,38,19,.56))!important;
  border:1px solid rgba(221,202,98,.28)!important;
  border-radius:0!important;
  box-shadow:0 28px 80px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.11)!important;
  backdrop-filter:blur(6px)!important;
}
.about-main-card::before{
  display:none!important;
}
.about-story-kicker{
  margin:0 auto 18px!important;
  color:transparent!important;
  background:linear-gradient(180deg,rgba(255,246,194,.88) 0%,rgba(221,202,98,.52) 48%,rgba(121,95,24,.34) 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3.2rem,6.6vw,7.8rem)!important;
  font-weight:950!important;
  line-height:.92!important;
  text-align:center!important;
  text-shadow:none!important;
  filter:
    drop-shadow(0 2px 0 rgba(0,0,0,.34))
    drop-shadow(0 10px 22px rgba(0,0,0,.22))
    drop-shadow(0 0 16px rgba(221,202,98,.10))!important;
  mix-blend-mode:screen!important;
  opacity:.88!important;
}
.about-main-card h2{
  max-width:760px!important;
  margin:0 auto 18px!important;
  color:#fffdf0!important;
  font-size:clamp(1.85rem,2.9vw,3.15rem)!important;
  text-shadow:0 8px 26px rgba(0,0,0,.32)!important;
}
.about-main-card h2::after{
  margin:18px auto 26px!important;
}
.about-main-card p{
  max-width:820px!important;
  color:rgba(255,255,255,.9)!important;
  text-shadow:0 2px 12px rgba(0,0,0,.32)!important;
}
.about-side-photo{
  display:none!important;
}
@media(max-width:640px){
  .about-rabbi-copy .eyebrow{
    font-size:clamp(1.8rem,10vw,3rem)!important;
  }
  .about-story-section{
    min-height:auto!important;
    padding-block:58px!important;
    background-position:center!important;
  }
  .about-main-card{
    padding:28px 18px!important;
  }
  .about-story-kicker{
    font-size:clamp(2.35rem,12vw,4rem)!important;
  }
  .about-main-card h2{
    font-size:clamp(1.55rem,8vw,2.3rem)!important;
  }
  .about-main-card p{
    font-size:1rem!important;
    line-height:1.85!important;
  }
}

/* About story card refinement */
.about-main-card{
  position:relative!important;
  overflow:hidden!important;
}
.about-main-card .about-story-kicker{
  position:relative!important;
  inset:auto!important;
  z-index:1!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 auto 22px!important;
  pointer-events:none!important;
  color:#ddca62!important;
  background:none!important;
  -webkit-background-clip:initial!important;
  background-clip:initial!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(2.6rem,5.2vw,6rem)!important;
  font-weight:950!important;
  line-height:1.05!important;
  text-align:center!important;
  justify-self:center!important;
  align-self:center!important;
  display:block!important;
  text-shadow:0 3px 0 rgba(0,0,0,.22),0 12px 28px rgba(0,0,0,.22),0 0 18px rgba(221,202,98,.16)!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  opacity:1!important;
}
.about-main-card .about-story-kicker::before,
.about-main-card .about-story-kicker::after{
  display:none!important;
  content:none!important;
}
.about-main-card h2,
.about-main-card p{
  position:relative!important;
  z-index:1!important;
}
.about-main-card{
  text-align:center!important;
  display:block!important;
}
.about-main-card h2{
  margin-top:0!important;
  color:#fffdf2!important;
  text-shadow:0 4px 18px rgba(0,0,0,.34)!important;
}
.about-main-card h2::after{
  background:linear-gradient(90deg,transparent,rgba(221,202,98,.58),transparent)!important;
}
@media(max-width:640px){
  .about-main-card .about-story-kicker{
    font-size:clamp(2.25rem,11vw,3.8rem)!important;
  }
  .about-main-card h2{
    margin-top:0!important;
  }
}

/* About books gallery - full rabbi works display */
.about-books-section{
  background:
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.12),transparent 34%),
    linear-gradient(180deg,#fffdf8 0%,#f7f0dc 52%,#fffdf8 100%)!important;
}
.about-books-panel{
  width:min(1260px,92vw)!important;
  display:block!important;
  text-align:center!important;
}
.about-books-text .eyebrow{
  font-size:clamp(3rem,5.2vw,6.2rem)!important;
  line-height:1!important;
  margin-bottom:12px!important;
  color:#b89e14!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-weight:950!important;
  text-shadow:0 2px 0 rgba(255,255,255,.8),0 14px 34px rgba(184,158,20,.18)!important;
}
.about-books-text h2{
  font-size:clamp(1.35rem,1.75vw,2.1rem)!important;
  line-height:1.35!important;
  font-weight:850!important;
  margin-bottom:22px!important;
}
.about-books-text h2::after{
  width:min(420px,62vw)!important;
  margin-top:18px!important;
}
.about-books-gallery{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:clamp(12px,1.45vw,22px);
  align-items:stretch;
  margin:clamp(30px,4vw,52px) auto 0;
}
.about-book-item{
  position:relative;
  display:flex;
  min-height:clamp(230px,23vw,330px);
  margin:0;
  padding:18px 12px 16px;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  overflow:hidden;
  border:1px solid rgba(184,158,20,.28);
  border-radius:26px 7px 26px 7px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,251,238,.62)),
    radial-gradient(circle at 50% 8%,rgba(221,202,98,.22),transparent 42%);
  box-shadow:
    0 22px 58px rgba(1,41,18,.11),
    inset 0 1px 0 rgba(255,255,255,.86);
  isolation:isolate;
  animation:aboutBookItemRise .82s cubic-bezier(.18,.82,.24,1) both;
}
.about-book-item::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:22px 6px 22px 6px;
  border:1px solid rgba(221,202,98,.18);
  background:linear-gradient(145deg,rgba(0,48,24,.08),transparent 44%,rgba(184,158,20,.09));
  opacity:.82;
  z-index:-1;
}
.about-book-item::after{
  content:"";
  position:absolute;
  inset:0 auto 0 -44%;
  width:40%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.52),transparent);
  transform:skewX(-18deg);
  opacity:0;
  transition:opacity .25s ease,transform .7s ease;
}
.about-book-item img{
  width:100%;
  max-width:clamp(112px,10vw,178px);
  height:clamp(142px,15vw,224px);
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 28px 24px rgba(1,28,13,.24));
  transform:translateY(0);
  transition:transform .45s ease,filter .45s ease;
}
.about-book-item figcaption{
  min-height:2.7em;
  display:grid;
  place-items:center;
  margin-top:14px;
  color:#002B17;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(.95rem,1.02vw,1.12rem);
  font-weight:900;
  line-height:1.25;
}
.about-book-item:hover img{
  transform:translateY(-12px) scale(1.045);
  filter:drop-shadow(0 34px 28px rgba(1,28,13,.30));
}
.about-book-item:hover::after{
  opacity:1;
  transform:translateX(360%) skewX(-18deg);
}
.about-book-item:nth-child(2){animation-delay:.06s}
.about-book-item:nth-child(3){animation-delay:.12s}
.about-book-item:nth-child(4){animation-delay:.18s}
.about-book-item:nth-child(5){animation-delay:.24s}
.about-book-item:nth-child(6){animation-delay:.30s}
.about-book-item:nth-child(7){animation-delay:.36s}
@keyframes aboutBookItemRise{
  from{opacity:0;transform:translateY(34px) scale(.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(max-width:1180px){
  .about-books-gallery{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .about-books-text .eyebrow{
    font-size:clamp(2.55rem,12vw,4.2rem)!important;
  }
  .about-books-text h2{
    font-size:clamp(1.16rem,5vw,1.55rem)!important;
  }
  .about-books-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .about-book-item{
    min-height:230px;
    padding:15px 10px 14px;
    border-radius:22px 6px 22px 6px;
  }
  .about-book-item img{
    max-width:132px;
    height:154px;
  }
}
@media(max-width:420px){
  .about-books-panel{
    width:min(94vw,420px)!important;
  }
  .about-books-gallery{
    gap:10px;
  }
  .about-book-item{
    min-height:212px;
  }
  .about-book-item img{
    max-width:118px;
    height:140px;
  }
  .about-book-item figcaption{
    font-size:.9rem;
  }
}

/* About books clean shelf refinement */
.about-books-text .eyebrow::before,
.about-books-text .eyebrow::after{
  display:none!important;
  content:none!important;
}
.about-books-text h2::before{
  display:none!important;
  content:none!important;
}
.about-books-gallery{
  display:flex!important;
  justify-content:center!important;
  align-items:flex-end!important;
  gap:clamp(18px,2vw,34px)!important;
  width:100%!important;
  max-width:1240px!important;
  margin:clamp(30px,4vw,54px) auto 0!important;
  padding:18px 10px 24px!important;
  border:0!important;
  background:
    linear-gradient(90deg,transparent,rgba(184,158,20,.32),transparent) center bottom/94% 1px no-repeat,
    radial-gradient(ellipse at center bottom,rgba(0,48,24,.08),transparent 62%)!important;
}
.about-book-item{
  flex:0 1 152px!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  isolation:auto!important;
  justify-content:flex-end!important;
  align-items:center!important;
}
.about-book-item::before,
.about-book-item::after{
  display:none!important;
  content:none!important;
}
.about-book-item img{
  width:150px!important;
  height:220px!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  filter:drop-shadow(0 26px 18px rgba(1,28,13,.24))!important;
}
.about-book-item figcaption{
  min-height:2.6em!important;
  margin-top:12px!important;
  color:#002B17!important;
  font-size:.98rem!important;
  line-height:1.22!important;
  text-shadow:0 1px 0 rgba(255,255,255,.72)!important;
}
.about-book-item:hover img{
  transform:translateY(-12px) scale(1.045)!important;
  filter:drop-shadow(0 32px 22px rgba(1,28,13,.30))!important;
}
.about-book-item:nth-child(2) img{
  width:192px!important;
  height:220px!important;
}
.about-book-item:nth-child(7) img{
  width:260px!important;
  height:220px!important;
  object-fit:contain!important;
}
.about-books-section{
  padding-bottom:clamp(22px,2.8vw,42px)!important;
}
.about-books-gallery{
  padding-bottom:4px!important;
}
@media(max-width:1180px){
  .about-books-gallery{
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    scroll-snap-type:x mandatory!important;
    -webkit-overflow-scrolling:touch;
    padding-inline:calc((100vw - min(92vw,1260px))/2 + 8px)!important;
    scrollbar-width:thin;
  }
  .about-book-item{
    flex:0 0 180px!important;
    scroll-snap-align:center!important;
  }
}
@media(max-width:760px){
  .about-books-gallery{
    width:100vw!important;
    max-width:none!important;
    margin-inline:calc(50% - 50vw)!important;
    padding:14px 22px 24px!important;
    gap:20px!important;
  }
  .about-book-item{
    flex-basis:62vw!important;
  }
  .about-book-item img{
    width:176px!important;
    height:240px!important;
  }
  .about-book-item:nth-child(2) img{
    width:210px!important;
    height:240px!important;
  }
  .about-book-item:nth-child(7) img{
    width:282px!important;
    height:240px!important;
    object-fit:contain!important;
  }
  .about-book-item figcaption{
    font-size:1rem!important;
  }
}
@media(max-width:420px){
  .about-book-item{
    flex-basis:70vw!important;
  }
  .about-book-item img{
    width:162px!important;
    height:222px!important;
  }
  .about-book-item:nth-child(2) img{
    width:194px!important;
    height:222px!important;
  }
  .about-book-item:nth-child(7) img{
    width:262px!important;
    height:222px!important;
    object-fit:contain!important;
  }
}

/* About books: remove pale shelf/fringe artifacts */
.about-books-gallery{
  padding:10px 10px 0!important;
  background:transparent!important;
}
.about-book-item img{
  filter:drop-shadow(0 20px 12px rgba(1,28,13,.24))!important;
}
.about-book-item:hover img{
  filter:drop-shadow(0 25px 15px rgba(1,28,13,.30))!important;
}
.about-books-section{
  padding-bottom:clamp(10px,1.4vw,24px)!important;
}
@media(max-width:760px){
  .about-books-gallery{
    padding:14px 22px 6px!important;
  }
}

/* About books: equal desktop spacing between every work */
@media(min-width:1181px){
  .about-books-gallery{
    display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    column-gap:0!important;
    row-gap:0!important;
    align-items:end!important;
    justify-items:center!important;
    max-width:1360px!important;
    padding-inline:0!important;
  }
  .about-book-item{
    width:100%!important;
    flex:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
  }
  .about-book-item img,
  .about-book-item figcaption{
    margin-inline:auto!important;
  }
}

/* About page: swap final section colors so footer is not attached to green */
.about-derech-section{
  background:
    radial-gradient(circle at 50% 12%,rgba(221,202,98,.18),transparent 34%),
    linear-gradient(180deg,#042817 0%,#003018 100%)!important;
  border-top:1px solid rgba(221,202,98,.22)!important;
  border-bottom:1px solid rgba(221,202,98,.22)!important;
}
.about-derech-card blockquote{
  color:#fffdf0!important;
  text-shadow:0 10px 28px rgba(0,0,0,.28),0 0 18px rgba(221,202,98,.12)!important;
}
.about-derech-card p{
  color:rgba(255,255,255,.88)!important;
}
.about-cta-section{
  background:
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.16),transparent 34%),
    linear-gradient(180deg,#fffdf8 0%,#f7f0dc 100%)!important;
  border-top:1px solid rgba(184,158,20,.2)!important;
}
.about-cta-card h2{
  color:#003018!important;
  text-shadow:0 1px 0 #fff,0 12px 26px rgba(0,48,24,.08)!important;
}
.about-cta-card p{
  color:#173d29!important;
}
.about-cta-card .btn-ghost{
  color:#003018!important;
  border-color:rgba(0,48,24,.24)!important;
  background:rgba(255,255,255,.72)!important;
}

/* About page: narrative bridge between rabbi story and rabbi works */
.about-section-bridge{
  position:relative;
  z-index:2;
  margin:0;
  padding:0;
  background:
    radial-gradient(circle at 50% 50%,rgba(221,202,98,.18),transparent 42%),
    linear-gradient(90deg,#042817 0%,#fffaf0 18%,#fffdf8 50%,#fffaf0 82%,#042817 100%);
  border-top:1px solid rgba(221,202,98,.46);
  border-bottom:1px solid rgba(221,202,98,.38);
  box-shadow:0 -1px 0 rgba(244,231,165,.15),0 1px 0 rgba(244,231,165,.16);
}
.about-section-bridge::before,
.about-section-bridge::after{
  content:"";
  position:absolute;
  inset-inline:8vw;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(184,158,20,.65),rgba(244,231,165,.9),rgba(184,158,20,.65),transparent);
}
.about-section-bridge::before{top:10px}
.about-section-bridge::after{bottom:10px}
.about-section-bridge-inner{
  width:min(920px,88vw);
  min-height:118px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(16px,2.4vw,34px);
  text-align:center;
}
.about-section-bridge p{
  margin:0;
  color:#003018;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(1.45rem,2.35vw,2.7rem);
  font-weight:950;
  line-height:1.2;
  white-space:nowrap;
  text-shadow:0 1px 0 #fff,0 10px 28px rgba(0,48,24,.10);
}
.bridge-ornament{
  width:min(180px,18vw);
  height:16px;
  flex:0 1 180px;
  background:
    radial-gradient(circle,#ddca62 0 4px,transparent 5px) center/38px 100% repeat-x,
    linear-gradient(90deg,transparent,rgba(184,158,20,.58),transparent) center/100% 1px no-repeat;
  opacity:.9;
}
.about-worlds-section{
  border-top:0!important;
}
@media(max-width:760px){
  .about-section-bridge{
    background:linear-gradient(180deg,#fffaf0,#fffdf8)!important;
  }
  .about-section-bridge-inner{
    min-height:112px;
    width:min(92vw,560px);
    flex-direction:column;
    gap:8px;
  }
  .about-section-bridge p{
    font-size:clamp(1.25rem,5.6vw,2.05rem);
    white-space:nowrap;
  }
  .bridge-ornament{
    width:min(210px,56vw);
    flex:0 0 14px;
  }
}

/* About books: centered shelf and contained reflections */
.about-books-section,
.about-books-panel{
  overflow:hidden!important;
}
.about-books-gallery{
  overflow:visible!important;
}
.about-book-item img{
  -webkit-box-reflect:unset!important;
}
.about-book-item > img:not(.about-book-reflection){
  position:relative;
  z-index:2;
}
.about-book-reflection{
  display:block!important;
  width:150px!important;
  height:42px!important;
  max-width:none!important;
  margin:4px auto 0!important;
  object-fit:contain!important;
  object-position:center top!important;
  transform:scaleY(-1)!important;
  opacity:.18!important;
  filter:blur(.6px) saturate(.8)!important;
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.42),transparent 78%)!important;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.42),transparent 78%)!important;
  pointer-events:none!important;
}
.about-book-item figcaption{
  margin-top:8px!important;
}
.about-book-item:nth-child(2) .about-book-reflection{
  width:192px!important;
}
.about-book-item:nth-child(7) .about-book-reflection{
  width:260px!important;
}
@media(min-width:1181px){
  .about-books-gallery{
    width:min(1460px,90vw)!important;
    max-width:1460px!important;
    margin-inline:auto!important;
    padding-inline:140px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:repeat(7,minmax(130px,1fr))!important;
    justify-items:center!important;
    align-items:end!important;
  }
  .about-book-item{
    min-width:130px!important;
  }
  .about-book-item:nth-child(7) img:not(.about-book-reflection){
    width:260px!important;
  }
}
@media(max-width:760px){
  .about-books-section,
  .about-books-panel{
    overflow:hidden!important;
  }
  .about-books-gallery{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding-bottom:4px!important;
  }
  .about-book-reflection{
    width:176px!important;
    height:38px!important;
  }
  .about-book-item:nth-child(2) .about-book-reflection{
    width:210px!important;
  }
  .about-book-item:nth-child(7) .about-book-reflection{
    width:282px!important;
  }
  .about-book-item figcaption{
    margin-top:7px!important;
  }
}
@media(max-width:420px){
  .about-book-reflection{
    width:162px!important;
    height:34px!important;
  }
  .about-book-item:nth-child(2) .about-book-reflection{
    width:194px!important;
  }
  .about-book-item:nth-child(7) .about-book-reflection{
    width:262px!important;
  }
}

/* About books: final clean centered shelf, no reflections */
.about-book-reflection{
  display:none!important;
}
.about-books-section,
.about-books-panel{
  overflow:hidden!important;
}
.about-books-gallery{
  direction:ltr!important;
  display:grid!important;
  grid-template-columns:repeat(7,1fr)!important;
  gap:clamp(18px,2.2vw,32px)!important;
  width:min(1320px,88vw)!important;
  max-width:1320px!important;
  margin:clamp(30px,4vw,54px) auto 0!important;
  padding:10px 24px 0!important;
  box-sizing:border-box!important;
  justify-items:center!important;
  align-items:end!important;
  overflow:visible!important;
}
.about-book-item{
  direction:rtl!important;
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-rows:230px auto!important;
  justify-items:center!important;
  align-items:end!important;
  overflow:visible!important;
}
.about-book-item > img:not(.about-book-reflection){
  width:150px!important;
  height:220px!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  -webkit-box-reflect:unset!important;
  filter:drop-shadow(0 20px 12px rgba(1,28,13,.24))!important;
}
.about-book-item:nth-child(2) > img:not(.about-book-reflection){
  width:190px!important;
}
.about-book-item:nth-child(7) > img:not(.about-book-reflection){
  width:min(230px,100%)!important;
}
.about-book-item figcaption{
  margin-top:10px!important;
  min-height:2.5em!important;
  text-align:center!important;
}
@media(max-width:1180px){
  .about-books-gallery{
    display:flex!important;
    width:100vw!important;
    max-width:none!important;
    margin-inline:calc(50% - 50vw)!important;
    padding:14px 26px 4px!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
  }
  .about-book-item{
    flex:0 0 210px!important;
    grid-template-rows:250px auto!important;
    scroll-snap-align:center!important;
  }
  .about-book-item > img:not(.about-book-reflection){
    width:176px!important;
    height:240px!important;
  }
  .about-book-item:nth-child(2) > img:not(.about-book-reflection){
    width:210px!important;
  }
  .about-book-item:nth-child(7) > img:not(.about-book-reflection){
    width:240px!important;
    max-width:100%!important;
  }
}
@media(max-width:420px){
  .about-books-gallery{
    padding-inline:20px!important;
    gap:16px!important;
  }
  .about-book-item{
    flex-basis:76vw!important;
    grid-template-rows:232px auto!important;
  }
  .about-book-item > img:not(.about-book-reflection){
    width:162px!important;
    height:222px!important;
  }
  .about-book-item:nth-child(2) > img:not(.about-book-reflection){
    width:194px!important;
  }
  .about-book-item:nth-child(7) > img:not(.about-book-reflection){
    width:232px!important;
  }
}

/* About books: final correction - equal, centered, unclipped, without reflections */
.about-book-reflection{
  display:none!important;
}
.about-books-section,
.about-books-panel,
.about-books-gallery,
.about-book-item{
  overflow:visible!important;
}
.about-books-panel{
  width:100%!important;
  max-width:none!important;
}
.about-books-gallery{
  direction:rtl!important;
  display:grid!important;
  grid-template-columns:repeat(7, minmax(128px, 1fr))!important;
  gap:clamp(24px,3vw,56px)!important;
  width:min(1540px, calc(100vw - 150px))!important;
  max-width:1540px!important;
  margin:clamp(28px,3.5vw,48px) auto 0!important;
  padding:10px 0 6px!important;
  box-sizing:border-box!important;
  align-items:end!important;
  justify-items:center!important;
  background:none!important;
}
.about-book-item{
  direction:rtl!important;
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-rows:238px auto!important;
  align-items:end!important;
  justify-items:center!important;
  padding:0!important;
}
.about-book-item > img:not(.about-book-reflection){
  width:190px!important;
  height:230px!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  -webkit-box-reflect:unset!important;
  filter:drop-shadow(0 20px 12px rgba(1,28,13,.24))!important;
}
.about-book-item:nth-child(2) > img:not(.about-book-reflection),
.about-book-item:nth-child(7) > img:not(.about-book-reflection){
  width:190px!important;
  height:230px!important;
}
.about-book-item figcaption{
  margin-top:12px!important;
  min-height:2.45em!important;
  text-align:center!important;
}

@media(max-width:1180px){
  .about-books-section,
  .about-books-panel{
    overflow:hidden!important;
  }
  .about-books-gallery{
    display:flex!important;
    width:100vw!important;
    max-width:none!important;
    margin-inline:calc(50% - 50vw)!important;
    padding:16px 26px 8px!important;
    gap:24px!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
  }
  .about-book-item{
    flex:0 0 210px!important;
    grid-template-rows:250px auto!important;
    scroll-snap-align:center!important;
  }
  .about-book-item > img:not(.about-book-reflection),
  .about-book-item:nth-child(2) > img:not(.about-book-reflection),
  .about-book-item:nth-child(7) > img:not(.about-book-reflection){
    width:190px!important;
    height:240px!important;
  }
}

@media(max-width:420px){
  .about-books-gallery{
    padding-inline:20px!important;
    gap:18px!important;
  }
  .about-book-item{
    flex-basis:72vw!important;
    grid-template-rows:232px auto!important;
  }
  .about-book-item > img:not(.about-book-reflection),
  .about-book-item:nth-child(2) > img:not(.about-book-reflection),
  .about-book-item:nth-child(7) > img:not(.about-book-reflection){
    width:178px!important;
    height:222px!important;
  }
}

/* About books: equal visual height for every book */
.about-books-section,
.about-books-panel,
.about-books-gallery,
.about-book-item{
  overflow:visible!important;
}
.about-books-gallery{
  direction:rtl!important;
  display:grid!important;
  grid-template-columns:repeat(7, minmax(155px, 1fr))!important;
  width:min(1580px, calc(100vw - 110px))!important;
  max-width:1580px!important;
  gap:clamp(20px,2.4vw,46px)!important;
  margin-inline:auto!important;
  padding:10px 0 8px!important;
  align-items:end!important;
  justify-items:center!important;
}
.about-book-item{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-rows:246px auto!important;
  justify-items:center!important;
  align-items:end!important;
  padding:0!important;
}
.about-book-reflection{
  display:none!important;
}
.about-book-item > img:not(.about-book-reflection),
.about-book-item:nth-child(2) > img:not(.about-book-reflection),
.about-book-item:nth-child(7) > img:not(.about-book-reflection){
  width:auto!important;
  max-width:none!important;
  height:236px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  -webkit-box-reflect:unset!important;
}
.about-book-item figcaption{
  margin-top:12px!important;
}

@media(max-width:1180px){
  .about-books-section,
  .about-books-panel{
    overflow:hidden!important;
  }
  .about-books-gallery{
    display:flex!important;
    width:100vw!important;
    max-width:none!important;
    margin-inline:calc(50% - 50vw)!important;
    padding:16px 26px 8px!important;
    gap:28px!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  .about-book-item{
    flex:0 0 240px!important;
    grid-template-rows:252px auto!important;
  }
  .about-book-item > img:not(.about-book-reflection),
  .about-book-item:nth-child(2) > img:not(.about-book-reflection),
  .about-book-item:nth-child(7) > img:not(.about-book-reflection){
    width:auto!important;
    height:238px!important;
    max-width:none!important;
  }
}

@media(max-width:420px){
  .about-books-gallery{
    gap:20px!important;
  }
  .about-book-item{
    flex-basis:76vw!important;
    grid-template-rows:232px auto!important;
  }
  .about-book-item > img:not(.about-book-reflection),
  .about-book-item:nth-child(2) > img:not(.about-book-reflection),
  .about-book-item:nth-child(7) > img:not(.about-book-reflection){
    height:218px!important;
  }
}

/* About books: premium carousel - 3 works at a time */
.about-books-section,
.about-books-panel{
  overflow:hidden!important;
}
.about-books-carousel{
  position:relative;
  width:min(1120px,92vw);
  margin:clamp(26px,3.4vw,46px) auto 0;
  padding:0 58px 34px;
  box-sizing:border-box;
}
.about-books-viewport{
  overflow:hidden;
  width:100%;
  border-radius:0;
}
.about-books-gallery{
  direction:ltr!important;
  display:flex!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:8px 0 2px!important;
  gap:28px!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  transform:translateX(0);
  transition:transform .65s cubic-bezier(.18,.82,.24,1);
  will-change:transform;
  overflow:visible!important;
  background:transparent!important;
}
.about-book-item{
  direction:rtl!important;
  flex:0 0 calc((100% - 56px) / 3)!important;
  width:auto!important;
  min-width:0!important;
  display:grid!important;
  grid-template-rows:270px auto!important;
  justify-items:center!important;
  align-items:end!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
}
.about-book-item::before,
.about-book-item::after,
.about-book-reflection{
  display:none!important;
  content:none!important;
}
.about-book-item > img:not(.about-book-reflection),
.about-book-item:nth-child(2) > img:not(.about-book-reflection),
.about-book-item:nth-child(7) > img:not(.about-book-reflection){
  width:auto!important;
  max-width:100%!important;
  height:252px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  -webkit-box-reflect:unset!important;
  filter:drop-shadow(0 22px 14px rgba(1,28,13,.24))!important;
  transition:transform .45s ease,filter .45s ease;
}
.about-book-item:hover > img:not(.about-book-reflection){
  transform:translateY(-8px) scale(1.025)!important;
  filter:drop-shadow(0 30px 20px rgba(1,28,13,.30))!important;
}
.about-book-item figcaption{
  margin-top:12px!important;
  min-height:2.55em!important;
  display:grid!important;
  place-items:center!important;
  color:#002B17!important;
  font-weight:850!important;
  line-height:1.22!important;
  text-align:center!important;
  text-shadow:0 1px 0 rgba(255,255,255,.78)!important;
}
.about-books-nav{
  position:absolute;
  top:42%;
  z-index:3;
  width:50px;
  height:50px;
  border-radius:999px;
  border:1px solid rgba(248,229,139,.72);
  background:
    radial-gradient(circle at 32% 24%,rgba(255,255,255,.95),rgba(255,255,255,.08) 24%,transparent 36%),
    linear-gradient(145deg,#fff3ae 0%,#d8bd43 38%,#9d7e0c 70%,#f4df78 100%);
  color:#082f18;
  display:grid;
  place-items:center;
  font-size:2.25rem;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  box-shadow:
    0 18px 38px rgba(1,28,13,.22),
    inset 0 1px 0 rgba(255,255,255,.78),
    inset 0 -3px 7px rgba(68,46,0,.28);
  text-shadow:0 1px 0 rgba(255,255,255,.38);
  transition:transform .25s ease,box-shadow .25s ease,filter .25s ease;
}
.about-books-nav::before{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:inherit;
  border:1px solid rgba(0,48,24,.28);
  pointer-events:none;
}
.about-books-nav::after{
  content:"";
  position:absolute;
  inset:-7px;
  border-radius:inherit;
  border:1px solid rgba(184,158,20,.20);
  opacity:.9;
  pointer-events:none;
}
.about-books-nav:hover{
  transform:translateY(-3px) scale(1.055);
  filter:saturate(1.08) brightness(1.04);
  box-shadow:
    0 22px 44px rgba(1,28,13,.30),
    0 0 22px rgba(221,202,98,.22),
    inset 0 1px 0 rgba(255,255,255,.86),
    inset 0 -3px 7px rgba(68,46,0,.30);
}
.about-books-nav:active{
  transform:translateY(0) scale(.98);
}
.about-books-nav-next{
  left:0;
}
.about-books-nav-prev{
  right:0;
}
.about-books-dots{
  position:absolute;
  inset:auto 58px 0;
  display:flex;
  justify-content:center;
  gap:10px;
}
.about-books-dots button{
  width:9px;
  height:9px;
  border-radius:999px;
  border:0;
  background:rgba(0,48,24,.26);
  cursor:pointer;
  transition:width .25s ease,background .25s ease;
}
.about-books-dots button.is-active{
  width:28px;
  background:#b89e14;
}

@media(max-width:900px){
  .about-books-carousel{
    width:min(680px,94vw);
    padding-inline:50px;
  }
  .about-book-item{
    flex-basis:calc((100% - 28px) / 2)!important;
  }
}

@media(max-width:620px){
  .about-books-carousel{
    width:100%;
    padding:0 48px 34px;
  }
  .about-book-item{
    flex-basis:100%!important;
    grid-template-rows:250px auto!important;
  }
  .about-book-item > img:not(.about-book-reflection),
  .about-book-item:nth-child(2) > img:not(.about-book-reflection),
  .about-book-item:nth-child(7) > img:not(.about-book-reflection){
    height:232px!important;
  }
  .about-books-nav{
    width:42px;
    height:42px;
    font-size:1.95rem;
  }
}

/* About books: restored single elegant shelf */
.about-books-carousel,
.about-books-viewport,
.about-books-nav,
.about-books-dots{
  display:none!important;
}
.about-books-section,
.about-books-panel,
.about-books-gallery,
.about-book-item{
  overflow:visible!important;
}
.about-books-panel{
  width:min(1560px,94vw)!important;
  max-width:1560px!important;
  margin-inline:auto!important;
}
.about-books-gallery{
  direction:rtl!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  justify-content:center!important;
  align-items:flex-end!important;
  gap:clamp(28px,2.8vw,54px)!important;
  width:100%!important;
  max-width:none!important;
  margin:clamp(28px,3.5vw,46px) auto 0!important;
  padding:10px 0 8px!important;
  box-sizing:border-box!important;
  background:transparent!important;
  transform:none!important;
}
.about-book-item{
  direction:rtl!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  display:grid!important;
  grid-template-rows:clamp(190px,12vw,230px) auto!important;
  justify-items:center!important;
  align-items:end!important;
  padding:0!important;
  margin:0!important;
}
.about-book-item::before,
.about-book-item::after,
.about-book-reflection{
  display:none!important;
  content:none!important;
}
.about-book-item > img:not(.about-book-reflection),
.about-book-item:nth-child(2) > img:not(.about-book-reflection),
.about-book-item:nth-child(7) > img:not(.about-book-reflection){
  width:auto!important;
  height:clamp(178px,11.2vw,214px)!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  -webkit-box-reflect:unset!important;
  filter:drop-shadow(0 20px 13px rgba(1,28,13,.22))!important;
}
.about-book-item figcaption{
  margin-top:12px!important;
  min-height:2.5em!important;
  max-width:190px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  color:#002B17!important;
  font-weight:850!important;
  line-height:1.22!important;
}

@media(max-width:1180px){
  .about-books-section,
  .about-books-panel{
    overflow:hidden!important;
  }
  .about-books-gallery{
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    width:100vw!important;
    margin-inline:calc(50% - 50vw)!important;
    padding:16px 26px 10px!important;
    gap:30px!important;
  }
  .about-book-item{
    scroll-snap-align:center!important;
    grid-template-rows:226px auto!important;
  }
  .about-book-item > img:not(.about-book-reflection),
  .about-book-item:nth-child(2) > img:not(.about-book-reflection),
  .about-book-item:nth-child(7) > img:not(.about-book-reflection){
    height:212px!important;
  }
}

/* Ask the rabbi page: dedicated premium hero */
.ask-hero{
  position:relative!important;
  overflow:hidden!important;
  min-height:clamp(240px,23vw,335px)!important;
  display:grid!important;
  align-items:center!important;
  padding:clamp(38px,5.4vw,70px) 0!important;
  color:#fffdf3!important;
  border-bottom:2px solid #b89e14!important;
  background:
    radial-gradient(circle at 76% 28%,rgba(221,202,98,.15),transparent 24%),
    linear-gradient(90deg,rgba(2,25,12,.96) 0%,rgba(4,55,26,.88) 44%,rgba(3,39,19,.96) 100%),
    url("assets/qna-hero-halachic-writing.jpg") center/cover no-repeat!important;
}
.ask-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(90deg,rgba(2,23,11,.92),rgba(4,59,29,.70) 44%,rgba(2,23,11,.94)),
    radial-gradient(ellipse at 50% 52%,rgba(255,244,198,.14),transparent 38%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.026) 0 1px,transparent 1px 118px);
}
.ask-hero::after{
  content:"";
  position:absolute;
  inset:auto 16vw 32px;
  height:16px;
  z-index:1;
  opacity:.84;
  background:
    radial-gradient(circle,#f6e7a0 0 4px,transparent 5px) center/58px 100% repeat-x,
    linear-gradient(90deg,transparent,#8b6d1c 16%,#f9eeb9 50%,#8b6d1c 84%,transparent) center/100% 1px no-repeat;
}
.ask-hero .section-inner{
  position:relative!important;
  z-index:2!important;
  width:min(1040px,calc(100% - 32px))!important;
  margin-inline:auto!important;
  text-align:center!important;
}
.ask-hero .section-inner::after{
  display:none!important;
  content:none!important;
}
.ask-hero .crumbs{
  display:none!important;
}
.ask-hero h1{
  margin:0 auto!important;
  max-width:none!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif!important;
  font-size:clamp(4.2rem,9vw,9.2rem)!important;
  line-height:.9!important;
  letter-spacing:0!important;
  color:rgba(221,202,98,.34)!important;
  -webkit-text-stroke:1px rgba(246,231,160,.22);
  text-shadow:
    0 2px 0 rgba(0,0,0,.38),
    0 0 18px rgba(221,202,98,.16),
    0 18px 42px rgba(0,0,0,.28)!important;
  filter:drop-shadow(0 0 22px rgba(221,202,98,.14))!important;
}
.ask-hero .lead{
  max-width:680px!important;
  margin:24px auto 0!important;
  color:#fffdf3!important;
  font-size:clamp(1.18rem,1.7vw,1.62rem)!important;
  line-height:1.65!important;
  font-weight:800!important;
  text-shadow:0 2px 18px rgba(0,0,0,.45)!important;
}
@media(max-width:760px){
  .ask-hero{
    min-height:220px!important;
    padding:36px 0 48px!important;
    background-position:center!important;
  }
  .ask-hero::after{
    inset:auto 10vw 24px!important;
  }
  .ask-hero h1{
    font-size:clamp(3.4rem,18vw,5.2rem)!important;
  }
  .ask-hero .lead{
    font-size:1.04rem!important;
    max-width:26ch!important;
  }
}

/* Ask the rabbi page: clear luxury form */
.ask-form-section{
  position:relative!important;
  background:
    radial-gradient(circle at 18% 12%,rgba(221,202,98,.10),transparent 26%),
    linear-gradient(180deg,#fffdf8 0%,#f8f2e4 100%)!important;
}
.ask-form-section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.06;
  background:url("assets/qna-hero-halachic-writing.jpg") center/cover no-repeat;
  mix-blend-mode:multiply;
}
.ask-form-layout{
  position:relative!important;
  z-index:1!important;
  grid-template-columns:minmax(0,980px)!important;
  justify-content:center!important;
  align-items:start!important;
  gap:clamp(22px,3vw,42px)!important;
}
.ask-form-shell{
  position:relative!important;
  z-index:1!important;
}
.ask-form-title{
  display:block!important;
  width:100%!important;
  margin:0 auto clamp(22px,3vw,36px)!important;
  padding:0!important;
  text-align:center!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif!important;
  font-size:clamp(2.6rem,5vw,5.4rem)!important;
  line-height:1!important;
  color:#003018!important;
  font-weight:950!important;
  letter-spacing:0!important;
  text-shadow:0 14px 34px rgba(0,48,24,.10)!important;
}
.ask-form-title::before,
.ask-form-title::after{
  display:none!important;
  content:none!important;
}
.ask-question-form{
  position:relative!important;
  overflow:hidden!important;
  padding:clamp(24px,3.4vw,46px)!important;
  border:1px solid rgba(184,158,20,.26)!important;
  border-radius:24px 6px 24px 6px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,253,248,.94))!important;
  box-shadow:0 28px 80px rgba(0,48,24,.12),0 1px 0 rgba(255,255,255,.9) inset!important;
}
.ask-inline-guide{
  width:min(980px,100%)!important;
  margin:0 auto clamp(24px,3vw,38px)!important;
  padding:clamp(20px,2.4vw,30px)!important;
  border-radius:26px 7px 26px 7px!important;
  border:1px solid rgba(244,231,165,.22)!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.16),transparent 36%),
    linear-gradient(135deg,#073b1d,#052b16)!important;
  box-shadow:0 26px 70px rgba(0,48,24,.18)!important;
  color:#fffdf3!important;
}
.ask-inline-guide h3{
  margin:0 0 18px!important;
  text-align:center!important;
  color:#f4e7a5!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif!important;
  font-size:clamp(2rem,3.6vw,4rem)!important;
  line-height:1!important;
}
.ask-inline-guide .ask-steps{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.ask-inline-guide .ask-steps li{
  min-height:118px;
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(244,231,165,.20)!important;
}
.ask-inline-guide .ask-steps strong{
  font-size:clamp(1rem,1.3vw,1.18rem)!important;
}
.ask-inline-guide .ask-steps small{
  font-size:.94rem!important;
}
.ask-question-form::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background:linear-gradient(90deg,transparent,#8b6d1c 14%,#f4e7a5 50%,#8b6d1c 86%,transparent);
}
.ask-form-head{
  text-align:center;
  margin:0 auto clamp(20px,2.6vw,34px);
  max-width:720px;
}
.ask-form-head .eyebrow{
  color:#b89e14!important;
  font-weight:900!important;
}
.ask-form-head h2{
  margin:.2em 0 .35em!important;
  font-size:clamp(2rem,3.6vw,3.6rem)!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif!important;
}
.ask-form-head p{
  margin:0 auto!important;
  max-width:52ch!important;
  color:rgba(5,49,24,.74)!important;
  font-weight:700!important;
}
.ask-field-grid{
  gap:18px!important;
}
.ask-question-form .field{
  display:grid;
  gap:8px;
}
.ask-question-form label{
  color:#053118!important;
  font-weight:900!important;
  font-size:.98rem!important;
}
.ask-question-form input,
.ask-question-form select,
.ask-question-form textarea{
  min-height:54px!important;
  border-radius:16px 5px 16px 5px!important;
  border:1px solid rgba(0,48,24,.20)!important;
  background:#fff!important;
  color:#053118!important;
  font-weight:700!important;
  box-shadow:0 12px 26px rgba(0,48,24,.045)!important;
  transition:border-color 160ms ease,box-shadow 160ms ease,transform 160ms ease!important;
}
.ask-question-form textarea{
  min-height:190px!important;
  line-height:1.8!important;
}
.ask-question-form input:focus,
.ask-question-form select:focus,
.ask-question-form textarea:focus{
  outline:0!important;
  border-color:#b89e14!important;
  box-shadow:0 0 0 4px rgba(221,202,98,.18),0 18px 36px rgba(0,48,24,.08)!important;
  transform:translateY(-1px);
}
.ask-question-form .btn[type="submit"]{
  width:min(330px,100%)!important;
  min-height:56px!important;
  margin:26px auto 0!important;
  justify-content:center!important;
  font-size:1.08rem!important;
  color:#062916!important;
  background:linear-gradient(135deg,#f8eaa5 0%,#d5b73d 48%,#a98216 100%)!important;
  border:1px solid rgba(255,255,255,.5)!important;
  box-shadow:0 18px 42px rgba(184,158,20,.28)!important;
}
.ask-question-form .btn[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 54px rgba(184,158,20,.34)!important;
}
.ask-question-form .secure-note{
  justify-content:center!important;
  text-align:center!important;
  color:rgba(5,49,24,.72)!important;
  font-weight:750!important;
}
.ask-guidance-panel{
  border-radius:6px 24px 6px 24px!important;
  border:1px solid rgba(184,158,20,.24)!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(221,202,98,.14),transparent 32%),
    linear-gradient(180deg,#073b1d,#052b16)!important;
  color:#fffdf3!important;
  box-shadow:0 26px 70px rgba(0,48,24,.20)!important;
}
.ask-guidance-panel h3{
  margin:0 0 20px!important;
  text-align:center!important;
  color:#f4e7a5!important;
  font-size:clamp(1.6rem,2.4vw,2.2rem)!important;
}
.ask-steps{
  list-style:none;
  display:grid;
  gap:14px;
  margin:0;
  padding:0;
}
.ask-steps li{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:4px 12px;
  align-items:center;
  padding:16px 14px;
  border:1px solid rgba(244,231,165,.18);
  background:rgba(255,255,255,.045);
  border-radius:18px 5px 18px 5px;
}
.ask-steps span{
  grid-row:1 / span 2;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#062916;
  background:linear-gradient(180deg,#fff4b8,#caa42c);
  font-weight:950;
}
.ask-steps strong{
  color:#fffdf3;
  font-size:1.05rem;
}
.ask-steps small{
  color:rgba(255,253,243,.72);
  line-height:1.55;
}
@media(max-width:860px){
  .ask-form-layout{
    grid-template-columns:1fr!important;
  }
  .ask-inline-guide .ask-steps{
    grid-template-columns:1fr!important;
  }
  .ask-guidance-panel{
    position:static!important;
  }
}
@media(max-width:560px){
  .ask-question-form{
    padding:24px 16px!important;
  }
  .ask-form-head h2{
    font-size:clamp(2rem,11vw,3rem)!important;
  }
  .ask-question-form textarea{
    min-height:170px!important;
  }
}

/* Homepage hero: replace only the Beit Midrash lesson background image */
.home-live-hero{
  background:
    linear-gradient(90deg,rgba(2,38,18,.96) 0%,rgba(0,53,27,.9) 18%,rgba(0,48,24,.72) 48%,rgba(4,58,28,.48) 72%,rgba(2,38,18,.72) 100%),
    url("assets/home-hero-beit-midrash-lesson-20260602.jpeg") center center/cover no-repeat!important;
}

/* Premium books store */
.premium-books-hero {
  min-height: 360px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(2,38,18,.95), rgba(0,48,24,.7), rgba(2,38,18,.9)),
    url("assets/library-light.svg") center / cover no-repeat !important;
}

.premium-books-hero .section-inner::after {
  opacity: .22;
  filter: blur(1px);
}

.premium-books-hero .books-hero-title {
  display: block;
  text-align: center;
  color: rgba(184,158,20,.76);
  font-size: clamp(4.2rem, 11vw, 8.6rem);
  line-height: .9;
  font-weight: 950;
  text-shadow:
    0 1px 0 rgba(255,244,184,.45),
    0 18px 36px rgba(0,0,0,.34);
}

.premium-books-hero .books-hero-subtitle {
  text-align: center;
  color: #fffaf0;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: 850;
  margin-top: 10px;
}

.premium-books-store {
  background:
    radial-gradient(circle at 50% -10%, rgba(221,202,98,.24), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #f6f0df 52%, #fffdf8 100%) !important;
  padding-top: 72px;
  overflow: visible;
}

.premium-books-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 28px;
  align-items: start;
}

.premium-store-intro {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 22px;
}

.premium-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #b89e14;
  font-weight: 950;
  letter-spacing: .02em;
}

.premium-kicker::before,
.premium-kicker::after {
  content: "";
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b89e14);
}

.premium-kicker::after {
  background: linear-gradient(90deg, #b89e14, transparent);
}

.premium-store-intro h1 {
  margin: 12px auto 10px;
  color: #003018;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1.02;
  max-width: 13ch;
}

.premium-store-intro p {
  max-width: 680px;
  margin-inline: auto;
  color: rgba(6,50,27,.74);
  font-weight: 700;
}

.premium-store-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.premium-store-trust span {
  padding: 9px 16px;
  border-radius: 999px;
  color: #002B16;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(184,158,20,.28);
  box-shadow: 0 10px 26px rgba(24,35,31,.06);
  font-weight: 850;
}

.premium-book-market {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.premium-store-book {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 22px 6px 22px 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(250,246,234,.78)),
    radial-gradient(circle at 12% 10%, rgba(221,202,98,.2), transparent 34%);
  box-shadow:
    0 26px 60px rgba(24,35,31,.1),
    inset 0 0 0 1px rgba(184,158,20,.15);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}

.premium-store-book::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(184,158,20,.18);
  border-radius: 18px 5px 18px 5px;
  pointer-events: none;
}

.premium-store-book:hover {
  transform: translateY(-5px);
  box-shadow:
    0 34px 80px rgba(24,35,31,.15),
    inset 0 0 0 1px rgba(184,158,20,.32);
}

.premium-store-book.is-featured {
  grid-column: 1 / -1;
  grid-template-columns: 260px minmax(0, 1fr);
  padding: 30px;
  color: white;
  background:
    linear-gradient(135deg, rgba(2,38,18,.98), rgba(0,48,24,.9)),
    radial-gradient(circle at 14% 20%, rgba(221,202,98,.3), transparent 42%);
}

.premium-store-book.is-featured .premium-book-content p,
.premium-store-book.is-featured .premium-book-meta small {
  color: rgba(255,255,255,.78);
}

.premium-store-book.is-featured h3 {
  color: white;
}

.premium-store-book.is-featured .price,
.premium-store-book.is-featured .premium-book-content span {
  color: #f5dc7f;
}

.book-badge {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  z-index: 2;
  padding: 9px 16px;
  border-radius: 999px;
  color: #062a16;
  background: linear-gradient(135deg, #f6e58d, #b89e14);
  box-shadow: 0 14px 32px rgba(184,158,20,.25);
  font-weight: 950;
}

.premium-book-visual {
  display: grid;
  place-items: center;
  min-height: 250px;
}

.premium-book-visual img {
  display: block;
  width: 100%;
  max-width: 180px;
  max-height: 245px;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(24,35,31,.2));
}

.is-featured .premium-book-visual img {
  max-width: 250px;
  max-height: 320px;
  filter: drop-shadow(0 32px 30px rgba(0,0,0,.36));
}

.premium-book-content {
  position: relative;
  z-index: 1;
}

.premium-book-content span {
  color: #b89e14;
  font-weight: 950;
}

.premium-book-content h3 {
  margin: 8px 0 10px;
  color: #002B16;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.premium-book-content p {
  color: rgba(6,50,27,.72);
  font-weight: 650;
}

.premium-book-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0 16px;
}

.premium-book-meta .price {
  margin: 0;
  font-size: 1.45rem;
}

.premium-book-meta small {
  color: rgba(6,50,27,.58);
  font-weight: 800;
}

.premium-store-book .book-actions {
  display: flex;
  justify-content: flex-start;
}

.premium-store-book .book-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  box-shadow: inset 0 0 0 1px rgba(0,48,24,.12);
}

.premium-store-book .book-qty button {
  width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 50%;
  color: #002B16;
  border-color: rgba(184,158,20,.38);
  background: linear-gradient(180deg, #fff, #fbf6e7);
}

.premium-store-book .book-qty output {
  min-width: 28px;
  text-align: center;
  color: #002B16;
  font-weight: 950;
}

.premium-book-checkout {
  position: sticky;
  top: 156px;
  border-radius: 24px 6px 24px 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,246,234,.94)),
    radial-gradient(circle at 20% 0%, rgba(221,202,98,.18), transparent 34%);
  box-shadow: 0 28px 70px rgba(24,35,31,.13);
}

.premium-book-checkout h3 {
  margin: 10px 0 4px;
  color: #002B16;
  font-size: 1.7rem;
}

.premium-book-checkout [data-cart-total] {
  color: #002B16;
  font-size: 2.6rem;
  margin: 4px 0 18px;
}

.premium-checkout-btn {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  border-radius: 999px;
  font-size: 1.05rem;
}

@media (max-width: 1100px) {
  .premium-books-layout {
    grid-template-columns: 1fr;
  }

  .premium-book-checkout {
    position: static;
  }
}

@media (max-width: 760px) {
  .premium-books-hero {
    min-height: 260px;
  }

  .premium-book-market {
    grid-template-columns: 1fr;
  }

  .premium-store-book,
  .premium-store-book.is-featured {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 18px;
  }

  .premium-store-book .book-actions,
  .premium-store-book .book-qty,
  .premium-book-meta {
    justify-content: center;
  }

  .book-badge {
    inset-inline-start: 50%;
    transform: translateX(50%);
  }

  .premium-book-visual {
    min-height: 220px;
  }
}

@media(max-width:520px){
  .about-books-gallery{
    gap:24px!important;
    padding-inline:22px!important;
  }
  .about-book-item{
    grid-template-rows:214px auto!important;
  }
  .about-book-item > img:not(.about-book-reflection),
  .about-book-item:nth-child(2) > img:not(.about-book-reflection),
  .about-book-item:nth-child(7) > img:not(.about-book-reflection){
    height:198px!important;
  }
}

/* About spiritual flag: cleaner premium typography */
.about-derech-card::before,
.about-derech-card .eyebrow::before,
.about-derech-card .eyebrow::after{
  display:none!important;
  content:none!important;
}
.about-derech-card .eyebrow{
  display:block!important;
  width:100%!important;
  margin:0 auto 18px!important;
  color:#ddca62!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(2.7rem,5vw,5.8rem)!important;
  line-height:1.02!important;
  font-weight:950!important;
  text-align:center!important;
  text-shadow:
    0 2px 0 rgba(0,0,0,.24),
    0 16px 34px rgba(0,0,0,.28),
    0 0 22px rgba(221,202,98,.18)!important;
}
.about-derech-card blockquote{
  margin:8px auto 24px!important;
  font-size:clamp(1.9rem,3.25vw,3.45rem)!important;
  line-height:1.16!important;
  color:#fffdf0!important;
}
.about-derech-card blockquote::after{
  content:"";
  display:block;
  width:min(520px,72vw);
  height:1px;
  margin:22px auto 0;
  background:linear-gradient(90deg,transparent,rgba(184,158,20,.78),rgba(255,239,166,.92),rgba(184,158,20,.78),transparent);
  box-shadow:0 0 18px rgba(221,202,98,.18);
}
.about-derech-card p{
  font-size:clamp(1rem,1.08vw,1.14rem)!important;
  line-height:1.95!important;
}
.about-cta-card .about-cta-signature{
  display:block!important;
  width:min(820px,92vw)!important;
  margin:10px auto 0!important;
  text-align:center!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.25rem,1.75vw,1.85rem)!important;
  line-height:1.45!important;
  font-weight:900!important;
  text-shadow:0 1px 0 rgba(255,255,255,.9),0 12px 26px rgba(0,48,24,.08)!important;
}

@media(max-width:640px){
  .about-derech-card .eyebrow{
    font-size:clamp(2.25rem,11vw,3.6rem)!important;
    margin-bottom:12px!important;
  }
  .about-derech-card blockquote{
    font-size:clamp(1.6rem,8vw,2.5rem)!important;
  }
}

/* Books page: elevated premium sales experience */
.premium-books-hero{
  isolation:isolate!important;
  min-height:430px!important;
  padding:92px 0 74px!important;
  background:
    radial-gradient(circle at 50% 50%, rgba(221,202,98,.22), transparent 28%),
    linear-gradient(90deg, rgba(2,28,14,.94) 0%, rgba(0,48,24,.88) 48%, rgba(2,27,13,.97) 100%),
    linear-gradient(180deg, rgba(2,28,14,.42), rgba(2,28,14,.82)),
    url("assets/mishna-parma-bw-sharp.jpg") center/cover no-repeat!important;
  border-bottom:4px solid #b89e14!important;
  overflow:hidden!important;
}
.premium-books-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(90deg, rgba(2,28,14,.92), rgba(0,48,24,.68), rgba(2,28,14,.96)),
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(255,255,255,.035) 74px 75px);
}
.premium-books-hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:130px;
  z-index:1;
  background:linear-gradient(180deg, transparent, rgba(2,28,14,.9));
}
.premium-books-hero .section-inner{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  justify-items:center!important;
  gap:14px!important;
}
.premium-books-hero .section-inner::after{
  display:none!important;
  content:none!important;
}
.premium-books-hero .section-inner::before{
  content:"";
  width:min(520px,78vw);
  height:20px;
  display:block;
  background:
    radial-gradient(circle, #fff7c8 0 4px, transparent 5px) 50% 50%/76px 20px repeat-x,
    linear-gradient(90deg, transparent, #b89e14 20%, #fff1a8 50%, #b89e14 80%, transparent);
  opacity:.9;
  filter:drop-shadow(0 0 14px rgba(221,202,98,.28));
}
.premium-books-hero .books-hero-title{
  color:#b89e14!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(5rem,11vw,10rem)!important;
  line-height:.86!important;
  letter-spacing:0!important;
  text-shadow:
    0 1px 0 #fff3a8,
    0 2px 0 #805f0b,
    0 10px 0 rgba(64,42,4,.35),
    0 24px 48px rgba(0,0,0,.55),
    0 0 32px rgba(255,231,134,.18)!important;
}
.premium-books-hero .books-hero-subtitle{
  max-width:min(760px,92vw);
  margin:0!important;
  color:#fffdf1!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.25rem,2.6vw,2.1rem)!important;
  font-weight:900!important;
  text-shadow:0 14px 34px rgba(0,0,0,.48)!important;
}
.premium-books-hero .books-hero-subtitle::after{
  content:"";
  display:block;
  width:min(520px,72vw);
  height:1px;
  margin:22px auto 0;
  background:linear-gradient(90deg, transparent, #b89e14, #fff1a8, #b89e14, transparent);
}

.premium-books-store{
  position:relative!important;
  padding-block:88px 78px!important;
  background:
    radial-gradient(circle at 50% 0%, rgba(221,202,98,.25), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(0,48,24,.13), transparent 28%),
    linear-gradient(180deg, #fffaf0 0%, #f3ecd7 46%, #fffdf8 100%)!important;
}
.premium-books-store::before{
  content:"";
  position:absolute;
  inset:30px max(18px,calc((100vw - 1320px)/2)) auto;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(184,158,20,.42), rgba(255,239,166,.9), rgba(184,158,20,.42), transparent);
}
.premium-books-layout{
  max-width:1320px!important;
  grid-template-columns:minmax(0,1fr) 380px!important;
  gap:34px!important;
}
.premium-store-intro{
  margin-bottom:34px!important;
}
.premium-store-intro h1{
  max-width:none!important;
  color:#002B16!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3.25rem,6.7vw,7.2rem)!important;
  line-height:.96!important;
  text-shadow:
    0 1px 0 #fff,
    0 18px 34px rgba(0,48,24,.12)!important;
}
.premium-store-intro p{
  font-size:clamp(1.05rem,1.35vw,1.3rem)!important;
}
.premium-store-trust span{
  border-color:rgba(184,158,20,.44)!important;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,248,224,.86))!important;
}

.premium-book-market{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch!important;
}
.premium-store-book,
.premium-store-book.is-featured{
  grid-column:auto!important;
  grid-template-columns:1fr!important;
  align-content:start!important;
  gap:12px!important;
  min-height:620px!important;
  padding:26px 24px 24px!important;
  text-align:center!important;
  border-radius:30px 8px 30px 8px!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,249,230,.9)),
    radial-gradient(circle at 50% 8%, rgba(221,202,98,.2), transparent 34%)!important;
  box-shadow:
    0 34px 76px rgba(24,35,31,.12),
    inset 0 0 0 1px rgba(184,158,20,.24),
    inset 0 0 0 12px rgba(255,255,255,.32)!important;
  overflow:hidden!important;
}
.premium-store-book::before{
  inset:16px!important;
  border-radius:24px 6px 24px 6px!important;
  border-color:rgba(184,158,20,.28)!important;
}
.premium-store-book::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(255,255,255,.38) 45%, transparent 56%),
    radial-gradient(circle at 50% 0%, rgba(255,239,166,.24), transparent 36%);
  opacity:.55;
  transform:translateX(34%);
  transition:transform .9s ease, opacity .4s ease;
}
.premium-store-book:hover{
  transform:translateY(-8px) scale(1.01)!important;
  box-shadow:
    0 46px 96px rgba(24,35,31,.18),
    inset 0 0 0 1px rgba(184,158,20,.4),
    inset 0 0 0 12px rgba(255,255,255,.36)!important;
}
.premium-store-book:hover::after{
  transform:translateX(-38%);
  opacity:.8;
}
.premium-store-book.is-featured{
  background:
    linear-gradient(180deg, rgba(2,42,20,.98), rgba(0,48,24,.92)),
    radial-gradient(circle at 50% 8%, rgba(221,202,98,.34), transparent 36%)!important;
  box-shadow:
    0 42px 96px rgba(6,50,27,.28),
    inset 0 0 0 1px rgba(255,231,134,.34),
    inset 0 0 0 12px rgba(255,255,255,.045)!important;
}
.premium-store-book.is-featured::before{
  border-color:rgba(255,231,134,.34)!important;
}
.book-badge{
  top:22px!important;
  inset-inline-start:22px!important;
  padding:10px 18px!important;
  background:linear-gradient(135deg,#fff2a8 0%,#d8bd42 42%,#9f7609 100%)!important;
  color:#042311!important;
  border:1px solid rgba(255,255,255,.42)!important;
  box-shadow:0 18px 34px rgba(184,158,20,.32), inset 0 1px 0 rgba(255,255,255,.55)!important;
}
.premium-book-visual{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:332px!important;
  min-height:332px!important;
  display:flex!important;
  align-items:end!important;
  justify-content:center!important;
  padding-top:18px!important;
  overflow:visible!important;
}
.premium-book-visual::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:8px;
  width:72%;
  height:30px;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse, rgba(6,50,27,.24), transparent 68%);
  filter:blur(3px);
}
.premium-book-visual img,
.is-featured .premium-book-visual img{
  width:260px!important;
  height:300px!important;
  max-width:260px!important;
  max-height:300px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  filter:drop-shadow(0 30px 22px rgba(24,35,31,.25))!important;
  transition:transform .38s ease, filter .38s ease!important;
}
.premium-store-book:hover .premium-book-visual img{
  transform:translateY(-6px) rotate(-1deg);
  filter:drop-shadow(0 38px 28px rgba(24,35,31,.3))!important;
}
.premium-book-content{
  z-index:1!important;
  display:flex!important;
  min-height:258px!important;
  flex-direction:column!important;
  align-items:center!important;
}
.premium-book-content span{
  color:#b89e14!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:1.02rem!important;
}
.premium-store-book.is-featured .premium-book-content span{
  color:#f4dc7c!important;
}
.premium-book-content h3{
  color:#002B16!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.55rem,2.2vw,2.1rem)!important;
  line-height:1.12!important;
}
.premium-store-book.is-featured h3{
  color:#fffdf1!important;
}
.premium-book-content p{
  max-width:34ch!important;
  margin-inline:auto!important;
  font-size:1rem!important;
  line-height:1.68!important;
}
.premium-book-meta{
  justify-content:center!important;
  margin-top:auto!important;
}
.premium-book-meta .price{
  display:inline-grid!important;
  place-items:center!important;
  min-width:88px!important;
  height:48px!important;
  border-radius:999px!important;
  color:#042311!important;
  background:linear-gradient(135deg,#fff2a8,#d8bd42,#9f7609)!important;
  box-shadow:0 16px 28px rgba(184,158,20,.22), inset 0 1px 0 rgba(255,255,255,.55)!important;
}
.premium-store-book .book-actions{
  justify-content:center!important;
  margin-top:4px!important;
}
.premium-store-book .book-qty{
  background:rgba(255,255,255,.9)!important;
  border:1px solid rgba(184,158,20,.2)!important;
  box-shadow:0 18px 36px rgba(24,35,31,.09)!important;
}
.premium-store-book .book-qty button{
  background:linear-gradient(180deg,#003018,#043f1d)!important;
  color:#fffdf1!important;
  border-color:rgba(255,231,134,.35)!important;
  box-shadow:0 10px 20px rgba(0,48,24,.18)!important;
}

.premium-book-checkout{
  border-radius:34px 8px 34px 8px!important;
  padding:28px!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,248,224,.94)),
    radial-gradient(circle at 50% 0%, rgba(221,202,98,.24), transparent 34%)!important;
  box-shadow:
    0 38px 92px rgba(24,35,31,.18),
    inset 0 0 0 1px rgba(184,158,20,.3)!important;
}
.premium-cart-lines{
  min-height:74px;
  margin:18px 0;
  padding:14px;
  border-radius:18px 5px 18px 5px;
  color:rgba(6,50,27,.62);
  background:rgba(255,255,255,.72);
  border:1px solid rgba(184,158,20,.22);
  font-weight:800;
}
.premium-cart-lines div{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:8px 0;
  border-bottom:1px solid rgba(184,158,20,.16);
  color:#002B16;
}
.premium-cart-lines div:last-child{
  border-bottom:0;
}
.premium-cart-lines strong{
  color:#b89e14;
  white-space:nowrap;
}
.premium-cart-lines .premium-cart-line{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  text-align:right;
}
.cart-remove-btn{
  min-height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:4px 9px;
  border:1px solid rgba(118,45,35,.22);
  border-radius:999px;
  color:#78352c;
  background:rgba(144,55,42,.06);
  font:inherit;
  font-size:.78rem;
  font-weight:900;
  cursor:pointer;
  transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease;
}
.cart-remove-btn svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.cart-remove-btn:hover,
.cart-remove-btn:focus-visible{
  color:#fff;
  background:#78352c;
  border-color:#78352c;
  transform:translateY(-1px);
  outline:none;
}
@media(max-width:520px){
  .premium-cart-lines .premium-cart-line{grid-template-columns:minmax(0,1fr) auto}
  .premium-cart-lines .premium-cart-line>span:first-child{grid-column:1/-1}
}
.premium-payment-strip{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin:0 0 18px;
}
.premium-payment-strip span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:6px 12px;
  border-radius:999px;
  color:#002B16;
  background:linear-gradient(180deg,#fffdf6,#f6edcc);
  border:1px solid rgba(184,158,20,.3);
  font-size:.88rem;
  font-weight:900;
}
.premium-book-checkout .field input,
.premium-book-checkout .field textarea,
.premium-book-checkout .field select{
  border-color:rgba(184,158,20,.28)!important;
  background:rgba(255,255,255,.82)!important;
}
.premium-checkout-btn{
  background:linear-gradient(135deg,#fff0a0,#d4b83a,#9c7208)!important;
  color:#042311!important;
  box-shadow:0 22px 46px rgba(184,158,20,.24), inset 0 1px 0 rgba(255,255,255,.6)!important;
}

@media(max-width:1180px){
  .premium-books-layout{
    grid-template-columns:1fr!important;
  }
  .premium-book-checkout{
    position:static!important;
    max-width:760px!important;
    margin-inline:auto!important;
  }
}
@media(max-width:820px){
  .premium-books-hero{
    min-height:330px!important;
    padding:62px 0 48px!important;
  }
  .premium-book-market{
    grid-template-columns:1fr!important;
  }
  .premium-store-book,
  .premium-store-book.is-featured{
    min-height:auto!important;
  }
  .premium-book-content{
    min-height:auto!important;
  }
}
@media(max-width:540px){
  .premium-book-visual{
    height:286px!important;
    min-height:286px!important;
  }
  .premium-book-visual img,
  .is-featured .premium-book-visual img{
    width:224px!important;
    height:260px!important;
    max-width:224px!important;
    max-height:260px!important;
  }
  .book-badge{
    inset-inline-start:50%!important;
    transform:translateX(50%)!important;
  }
}

/* Books page: clean luxury correction */
.premium-books-hero{
  min-height:340px!important;
  padding:76px 0 62px!important;
  background:
    linear-gradient(90deg, rgba(2,28,14,.94), rgba(0,48,24,.82), rgba(2,28,14,.96)),
    url("assets/mishna-parma-bw-sharp.jpg") center/cover no-repeat!important;
  border-bottom:3px solid #b89e14!important;
}
.premium-books-hero::before{
  background:linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.38))!important;
}
.premium-books-hero::after{
  display:none!important;
}
.premium-books-hero .section-inner::before{
  width:min(420px,70vw)!important;
  height:16px!important;
  opacity:.82!important;
}
.premium-books-hero .books-hero-title{
  font-size:clamp(4.5rem,9vw,8.2rem)!important;
  color:#b89e14!important;
  text-shadow:
    0 1px 0 #fff0a8,
    0 2px 0 #6f5208,
    0 14px 34px rgba(0,0,0,.42)!important;
}
.premium-books-hero .books-hero-subtitle{
  font-size:clamp(1.2rem,2vw,1.7rem)!important;
}

.premium-books-store{
  padding-block:70px 76px!important;
  background:
    linear-gradient(180deg,#fffaf0 0%,#f7f1df 54%,#fffdf7 100%)!important;
}
.premium-books-store::before{
  inset:28px max(24px,calc((100vw - 1240px)/2)) auto!important;
}
.premium-books-layout{
  max-width:1240px!important;
  grid-template-columns:minmax(0,1fr) 340px!important;
  gap:30px!important;
}
.premium-store-intro{
  margin-bottom:28px!important;
}
.premium-store-intro h1{
  font-size:clamp(2.6rem,5.2vw,5.5rem)!important;
  margin-bottom:8px!important;
  color:#003018!important;
  text-shadow:0 1px 0 #fff,0 16px 32px rgba(0,48,24,.08)!important;
}
.premium-store-intro p{
  max-width:640px!important;
  font-size:1.08rem!important;
}
.premium-store-trust{
  margin-top:18px!important;
}
.premium-store-trust span{
  min-height:38px!important;
  padding:8px 15px!important;
  background:#fffdf7!important;
  box-shadow:none!important;
}

.premium-book-market{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}
.premium-store-book,
.premium-store-book.is-featured{
  min-height:520px!important;
  padding:22px 18px 20px!important;
  border-radius:18px!important;
  background:#fffdf8!important;
  border:1px solid rgba(184,158,20,.24)!important;
  box-shadow:0 18px 42px rgba(24,35,31,.08)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  overflow:visible!important;
}
.premium-store-book::before,
.premium-store-book::after{
  display:none!important;
  content:none!important;
}
.premium-store-book:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 24px 52px rgba(24,35,31,.12)!important;
}
.premium-store-book.is-featured{
  background:
    linear-gradient(180deg,#fffdf8 0%,#fff7dc 100%)!important;
  border:1px solid rgba(184,158,20,.54)!important;
  box-shadow:0 22px 54px rgba(184,158,20,.16)!important;
}
.book-badge{
  top:14px!important;
  inset-inline-start:14px!important;
  padding:8px 13px!important;
  border-radius:999px!important;
  background:#b89e14!important;
  color:#fffdf0!important;
  border:1px solid rgba(255,255,255,.55)!important;
  box-shadow:0 12px 24px rgba(184,158,20,.18)!important;
  font-size:.86rem!important;
}
.premium-book-visual{
  width:100%!important;
  height:260px!important;
  min-height:260px!important;
  padding:18px 0 8px!important;
  overflow:hidden!important;
  align-items:center!important;
}
.premium-book-visual::before{
  bottom:10px!important;
  width:62%!important;
  height:18px!important;
  opacity:.58!important;
}
.premium-book-visual img,
.is-featured .premium-book-visual img{
  width:210px!important;
  height:240px!important;
  max-width:210px!important;
  max-height:240px!important;
  object-fit:contain!important;
  object-position:center center!important;
  filter:drop-shadow(0 18px 18px rgba(24,35,31,.18))!important;
}
.premium-store-book:hover .premium-book-visual img{
  transform:translateY(-3px)!important;
  filter:drop-shadow(0 22px 20px rgba(24,35,31,.22))!important;
}
.premium-book-content{
  min-height:auto!important;
  flex:1!important;
  width:100%!important;
}
.premium-book-content span{
  font-size:.94rem!important;
  color:#b89e14!important;
}
.premium-store-book.is-featured .premium-book-content span{
  color:#b89e14!important;
}
.premium-book-content h3,
.premium-store-book.is-featured h3{
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:8px 0 8px!important;
  color:#002B16!important;
  font-size:clamp(1.28rem,1.55vw,1.55rem)!important;
  line-height:1.18!important;
}
.premium-book-content p{
  min-height:78px!important;
  margin:0 auto 12px!important;
  color:rgba(6,50,27,.72)!important;
  font-size:.95rem!important;
  line-height:1.55!important;
}
.premium-book-meta{
  width:100%!important;
  justify-content:center!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 0 14px!important;
}
.premium-book-meta .price{
  min-width:auto!important;
  height:auto!important;
  padding:0!important;
  color:#002B16!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:1.35rem!important;
}
.premium-book-meta small{
  color:rgba(6,50,27,.55)!important;
}
.premium-store-book .book-actions{
  margin-top:auto!important;
}
.premium-store-book .book-qty{
  background:#fff!important;
  border:1px solid rgba(0,48,24,.14)!important;
  box-shadow:none!important;
}
.premium-store-book .book-qty button{
  width:38px!important;
  height:38px!important;
  min-height:38px!important;
  background:#003018!important;
  color:#fff!important;
  box-shadow:none!important;
}

.premium-book-checkout{
  top:136px!important;
  padding:24px!important;
  border-radius:18px!important;
  background:#fffdf8!important;
  border:1px solid rgba(184,158,20,.28)!important;
  box-shadow:0 22px 54px rgba(24,35,31,.1)!important;
}
.premium-book-checkout .premium-kicker::before,
.premium-book-checkout .premium-kicker::after{
  width:34px!important;
}
.premium-book-checkout h3{
  font-size:1.55rem!important;
}
.premium-cart-lines{
  background:#fff!important;
  border-color:rgba(0,48,24,.12)!important;
}
.premium-payment-strip span{
  background:#fff!important;
  box-shadow:none!important;
}
.premium-checkout-btn{
  background:#003018!important;
  color:#fffdf0!important;
  box-shadow:0 16px 32px rgba(0,48,24,.18)!important;
}

@media(max-width:1180px){
  .premium-books-layout{
    grid-template-columns:1fr!important;
  }
  .premium-book-market{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:900px){
  .premium-book-market{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  .premium-book-market{
    grid-template-columns:1fr!important;
  }
  .premium-store-book,
  .premium-store-book.is-featured{
    min-height:auto!important;
  }
  .premium-book-visual{
    height:240px!important;
    min-height:240px!important;
  }
  .premium-book-visual img,
  .is-featured .premium-book-visual img{
    width:200px!important;
    height:220px!important;
    max-width:200px!important;
    max-height:220px!important;
  }
  .premium-book-content h3,
  .premium-book-content p{
    min-height:auto!important;
  }
}

/* Books page: refined catalog direction */
.premium-books-store{
  background:
    linear-gradient(180deg,#fffaf0 0%,#f8f1df 48%,#fffdf8 100%)!important;
}
.premium-books-layout{
  grid-template-columns:minmax(0,1fr) 340px!important;
  gap:32px!important;
  align-items:start!important;
}
.premium-book-market{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
.premium-store-book,
.premium-store-book.is-featured{
  min-height:0!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  gap:18px!important;
  align-items:center!important;
  padding:20px!important;
  text-align:right!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.86)!important;
  border:1px solid rgba(184,158,20,.2)!important;
  box-shadow:0 18px 44px rgba(24,35,31,.08)!important;
  overflow:hidden!important;
}
.premium-store-book.is-featured{
  grid-column:1 / -1!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  min-height:330px!important;
  background:
    linear-gradient(90deg,rgba(0,48,24,.96),rgba(3,45,21,.96)),
    radial-gradient(circle at 10% 10%,rgba(221,202,98,.18),transparent 34%)!important;
  border-color:rgba(221,202,98,.36)!important;
}
.premium-store-book::before{
  display:block!important;
  content:""!important;
  position:absolute!important;
  inset:12px!important;
  border:1px solid rgba(184,158,20,.16)!important;
  border-radius:14px!important;
  pointer-events:none!important;
}
.premium-store-book::after{
  display:none!important;
}
.premium-store-book:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 24px 54px rgba(24,35,31,.12)!important;
}
.book-badge{
  top:16px!important;
  inset-inline-start:16px!important;
  transform:none!important;
  z-index:3!important;
}
.premium-book-visual{
  height:286px!important;
  min-height:286px!important;
  padding:0!important;
  overflow:visible!important;
}
.premium-store-book.is-featured .premium-book-visual{
  height:286px!important;
  min-height:286px!important;
}
.premium-book-visual::before{
  width:68%!important;
  height:18px!important;
  bottom:4px!important;
}
.premium-book-visual img,
.is-featured .premium-book-visual img{
  width:210px!important;
  height:270px!important;
  max-width:210px!important;
  max-height:270px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
}
.premium-store-book.is-featured .premium-book-visual img{
  width:210px!important;
  height:270px!important;
  max-width:210px!important;
  max-height:270px!important;
}
.premium-book-content{
  min-height:0!important;
  display:block!important;
  text-align:inherit!important;
}
.premium-book-content h3,
.premium-store-book.is-featured h3{
  display:block!important;
  min-height:0!important;
  margin:8px 0!important;
  justify-content:unset!important;
  color:#002B16!important;
  font-size:clamp(1.32rem,1.55vw,1.75rem)!important;
}
.premium-store-book.is-featured h3{
  color:#fffdf1!important;
  font-size:clamp(1.9rem,3.1vw,3.35rem)!important;
}
.premium-book-content p{
  min-height:0!important;
  max-width:38ch!important;
  margin:0 0 12px!important;
  font-size:.96rem!important;
  line-height:1.58!important;
}
.premium-store-book.is-featured .premium-book-content p{
  color:rgba(255,255,255,.8)!important;
  font-size:1.05rem!important;
}
.premium-book-meta{
  justify-content:flex-start!important;
  margin:0 0 12px!important;
}
.premium-store-book.is-featured .premium-book-meta small{
  color:rgba(255,255,255,.68)!important;
}
.premium-store-book .book-actions{
  justify-content:flex-start!important;
}
.premium-store-book .book-qty{
  padding:5px!important;
}

@media(max-width:980px){
  .premium-book-market{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:640px){
  .premium-store-book,
  .premium-store-book.is-featured{
    grid-template-columns:1fr!important;
    text-align:center!important;
    padding:22px 18px!important;
  }
  .premium-store-book.is-featured{
    min-height:0!important;
  }
  .premium-book-visual,
  .premium-store-book.is-featured .premium-book-visual{
    height:250px!important;
    min-height:250px!important;
  }
  .premium-book-visual img,
  .is-featured .premium-book-visual img,
  .premium-store-book.is-featured .premium-book-visual img{
    width:180px!important;
    height:230px!important;
    max-width:180px!important;
    max-height:230px!important;
  }
  .premium-book-meta,
  .premium-store-book .book-actions{
    justify-content:center!important;
  }
}

/* Books page: precise product alignment and refined purchase controls */
.premium-store-book,
.premium-store-book.is-featured{
  align-items:center!important;
}
.premium-book-visual,
.premium-store-book.is-featured .premium-book-visual{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:286px!important;
  min-height:286px!important;
  padding:0!important;
  overflow:visible!important;
}
.premium-book-visual::before{
  left:50%!important;
  bottom:22px!important;
  width:132px!important;
  height:20px!important;
  transform:translateX(-50%)!important;
  opacity:.54!important;
}
.premium-book-visual img,
.is-featured .premium-book-visual img,
.premium-store-book.is-featured .premium-book-visual img{
  display:block!important;
  width:210px!important;
  height:270px!important;
  max-width:210px!important;
  max-height:270px!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:auto!important;
}
.premium-store-book.is-featured{
  box-shadow:
    0 28px 70px rgba(6,50,27,.22),
    inset 0 0 0 1px rgba(221,202,98,.45)!important;
}
.premium-store-book.is-featured .premium-book-visual{
  isolation:isolate!important;
}
.premium-store-book.is-featured .book-badge{
  position:absolute!important;
  top:36px!important;
  left:50%!important;
  right:auto!important;
  inset-inline-start:auto!important;
  z-index:3!important;
  transform:translateX(-86px) rotate(-9deg)!important;
  width:74px!important;
  height:74px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  color:#fffdf0!important;
  background:
    radial-gradient(circle at 30% 25%, #fff3a8 0 13%, transparent 14%),
    linear-gradient(145deg,#e8cd55 0%,#b89e14 42%,#7d5a07 100%)!important;
  border:2px solid rgba(255,255,255,.64)!important;
  box-shadow:
    0 12px 26px rgba(24,35,31,.22),
    inset 0 1px 0 rgba(255,255,255,.56),
    inset 0 -10px 18px rgba(80,49,0,.18)!important;
  font-size:.92rem!important;
  font-weight:950!important;
  text-shadow:0 1px 0 rgba(0,0,0,.22)!important;
}
.premium-book-meta .price{
  min-width:86px!important;
  min-height:42px!important;
  padding:7px 16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  color:#fffdf0!important;
  background:linear-gradient(145deg,#dfc34d 0%,#b89e14 45%,#7d5a07 100%)!important;
  border:1px solid rgba(255,255,255,.44)!important;
  box-shadow:
    0 12px 24px rgba(184,158,20,.22),
    inset 0 1px 0 rgba(255,255,255,.55)!important;
  text-shadow:0 1px 0 rgba(0,0,0,.22)!important;
}
.premium-store-book .book-qty{
  gap:0!important;
  padding:4px!important;
  border-radius:999px!important;
  background:
    linear-gradient(180deg,#fffef8,#f6edcf)!important;
  border:1px solid rgba(184,158,20,.36)!important;
  box-shadow:
    0 14px 28px rgba(24,35,31,.08),
    inset 0 1px 0 rgba(255,255,255,.9)!important;
}
.premium-store-book .book-qty button{
  width:40px!important;
  height:40px!important;
  min-height:40px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  color:#fffdf0!important;
  background:
    linear-gradient(145deg,#003A1D 0%,#003018 54%,#033919 100%)!important;
  border:1px solid rgba(255,231,134,.36)!important;
  box-shadow:
    0 10px 18px rgba(0,48,24,.18),
    inset 0 1px 0 rgba(255,255,255,.2)!important;
  font-size:0!important;
  position:relative!important;
}
.premium-store-book .book-qty button::before{
  content:"+";
  font-size:1.35rem;
  line-height:1;
  font-weight:900;
  font-family:Arial,sans-serif;
}
.premium-store-book .book-qty button[data-qty="-1"]::before{
  content:"−";
  transform:translateY(-1px);
}
.premium-store-book .book-qty output{
  min-width:44px!important;
  padding-inline:10px!important;
  color:#002B16!important;
  font-size:1.06rem!important;
  font-weight:950!important;
}
@media(max-width:640px){
  .premium-book-visual,
  .premium-store-book.is-featured .premium-book-visual{
    height:274px!important;
    min-height:274px!important;
  }
  .premium-book-visual img,
  .is-featured .premium-book-visual img,
  .premium-store-book.is-featured .premium-book-visual img{
    width:205px!important;
    height:260px!important;
    max-width:205px!important;
    max-height:260px!important;
  }
  .premium-store-book.is-featured .book-badge{
    top:28px!important;
    transform:translateX(-84px) rotate(-9deg)!important;
  }
}

/* Books page: final clean product card structure */
.premium-book-market{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
.premium-store-book,
.premium-store-book.is-featured{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto 292px auto auto!important;
  gap:0!important;
  min-height:570px!important;
  padding:22px 22px 24px!important;
  text-align:center!important;
  align-items:stretch!important;
  justify-items:center!important;
  background:#fffdf8!important;
  border:1px solid rgba(184,158,20,.24)!important;
  box-shadow:0 18px 44px rgba(24,35,31,.08)!important;
}
.premium-store-book.is-featured{
  background:linear-gradient(180deg,#fffdf8 0%,#fff8e4 100%)!important;
  border-color:rgba(184,158,20,.55)!important;
  box-shadow:0 24px 60px rgba(184,158,20,.14)!important;
}
.premium-store-book::before{
  inset:12px!important;
  border-radius:14px!important;
}
.premium-book-content{
  display:contents!important;
}
.premium-book-content h3,
.premium-store-book.is-featured h3{
  grid-row:1!important;
  width:100%!important;
  margin:0 0 4px!important;
  min-height:34px!important;
  display:block!important;
  color:#002B16!important;
  font-size:clamp(1.28rem,1.65vw,1.7rem)!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.premium-book-content span,
.premium-store-book.is-featured .premium-book-content span{
  grid-row:2!important;
  margin:0 0 10px!important;
  color:rgba(184,158,20,.94)!important;
  font-size:.86rem!important;
  line-height:1.2!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-weight:950!important;
}
.premium-book-visual,
.premium-store-book.is-featured .premium-book-visual{
  grid-row:3!important;
  width:100%!important;
  height:292px!important;
  min-height:292px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
.premium-book-visual img,
.is-featured .premium-book-visual img,
.premium-store-book.is-featured .premium-book-visual img{
  width:220px!important;
  height:270px!important;
  max-width:220px!important;
  max-height:270px!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 auto!important;
}
.premium-book-meta{
  grid-row:4!important;
  width:100%!important;
  margin:6px 0 14px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
}
.premium-book-meta small{
  display:none!important;
}
.premium-book-meta .price{
  min-width:116px!important;
  min-height:46px!important;
  border-radius:10px!important;
  padding:8px 18px!important;
  font-size:1.28rem!important;
  letter-spacing:.01em!important;
}
.premium-store-book .book-actions{
  grid-row:5!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  justify-content:center!important;
  margin-top:0!important;
}
.premium-store-book .book-qty{
  justify-self:end!important;
}
.book-add-btn{
  justify-self:start;
  min-height:48px;
  min-width:92px;
  padding:0 22px;
  border:0;
  border-radius:10px;
  color:#fffdf0;
  background:linear-gradient(145deg,#003A1D,#003018,#033919);
  box-shadow:0 14px 28px rgba(0,48,24,.18), inset 0 1px 0 rgba(255,255,255,.18);
  font-weight:950;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.book-add-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(0,48,24,.22), inset 0 1px 0 rgba(255,255,255,.2);
}
.premium-store-book.is-pending-qty .book-qty{
  border-color:rgba(184,158,20,.72)!important;
  box-shadow:0 0 0 3px rgba(184,158,20,.12)!important;
}
.premium-store-book.is-in-cart{
  border-color:rgba(0,48,24,.34)!important;
}
.premium-store-book.is-in-cart .book-add-btn{
  background:linear-gradient(145deg,#d8bd42,#b89e14,#7d5a07);
}
.premium-store-book.is-featured .book-badge{
  top:34px!important;
  transform:translateX(-92px) rotate(-9deg)!important;
}
@media(max-width:980px){
  .premium-book-market{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:640px){
  .premium-store-book,
  .premium-store-book.is-featured{
    min-height:0!important;
    padding:22px 18px!important;
  }
  .premium-book-content{
    display:contents!important;
  }
  .premium-store-book,
  .premium-store-book.is-featured{
    grid-template-rows:auto auto 282px auto auto!important;
  }
  .premium-book-content h3,
  .premium-store-book.is-featured h3{
    white-space:nowrap!important;
    min-height:auto!important;
  }
  .premium-book-visual,
  .premium-store-book.is-featured .premium-book-visual{
    height:282px!important;
    min-height:282px!important;
  }
  .premium-book-visual img,
  .is-featured .premium-book-visual img,
  .premium-store-book.is-featured .premium-book-visual img{
    width:210px!important;
    height:260px!important;
    max-width:210px!important;
    max-height:260px!important;
  }
  .premium-store-book .book-actions{
    grid-template-columns:1fr!important;
  }
  .premium-store-book .book-qty,
  .book-add-btn{
    justify-self:center!important;
  }
}

/* Books page: compact clean catalog and distinct featured book */
.premium-books-layout{
  max-width:1180px!important;
  grid-template-columns:minmax(0,1fr) 330px!important;
  gap:26px!important;
}
.premium-book-market{
  width:100%!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
.premium-store-book,
.premium-store-book.is-featured{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto 210px auto auto!important;
  padding:16px 14px 18px!important;
  border-radius:14px!important;
  background:#fffdf8!important;
  border:1px solid rgba(184,158,20,.22)!important;
  box-shadow:0 14px 34px rgba(24,35,31,.07)!important;
}
.premium-store-book::before{
  inset:9px!important;
  border-radius:10px!important;
  border-color:rgba(184,158,20,.12)!important;
}
.premium-store-book:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 20px 42px rgba(24,35,31,.1)!important;
}
.premium-store-book.is-featured{
  grid-column:1 / -1!important;
  grid-template-columns:250px minmax(0,1fr) 210px!important;
  grid-template-rows:auto auto auto!important;
  column-gap:26px!important;
  align-items:center!important;
  min-height:290px!important;
  padding:24px 28px!important;
  text-align:right!important;
  border-radius:22px 6px 22px 6px!important;
  color:#fffdf1!important;
  background:
    radial-gradient(circle at 20% 8%, rgba(221,202,98,.22), transparent 34%),
    linear-gradient(135deg,#043319 0%,#003018 48%,#021b0d 100%)!important;
  border:1px solid rgba(221,202,98,.5)!important;
  box-shadow:
    0 30px 72px rgba(6,50,27,.24),
    inset 0 0 0 1px rgba(255,241,168,.18)!important;
}
.premium-store-book.is-featured::before{
  inset:14px!important;
  border-color:rgba(255,231,134,.24)!important;
  border-radius:18px 5px 18px 5px!important;
}
.premium-store-book.is-featured::after{
  content:"דיני ממונות";
  display:block!important;
  position:absolute;
  inset-inline-start:26px;
  bottom:22px;
  color:rgba(255,255,255,.055);
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(3.5rem,8vw,7rem);
  line-height:1;
  font-weight:950;
  pointer-events:none;
}
.premium-book-content{
  display:contents!important;
}
.premium-book-content h3,
.premium-store-book.is-featured h3{
  grid-row:1!important;
  width:100%!important;
  min-height:28px!important;
  margin:0!important;
  color:#002B16!important;
  font-size:clamp(1.08rem,1.25vw,1.32rem)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.premium-store-book.is-featured h3{
  grid-column:2!important;
  grid-row:1!important;
  align-self:end!important;
  color:#fffdf1!important;
  font-size:clamp(2.15rem,4vw,4rem)!important;
  text-shadow:0 18px 42px rgba(0,0,0,.28)!important;
}
.premium-book-content span,
.premium-store-book.is-featured .premium-book-content span{
  grid-row:2!important;
  margin:2px 0 8px!important;
  color:#b89e14!important;
  font-size:.78rem!important;
}
.premium-store-book.is-featured .premium-book-content span{
  grid-column:2!important;
  grid-row:2!important;
  color:#f2d96f!important;
  justify-self:center!important;
  text-align:center!important;
  font-size:1rem!important;
}
.premium-book-visual,
.premium-store-book.is-featured .premium-book-visual{
  grid-row:3!important;
  height:210px!important;
  min-height:210px!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
.premium-store-book.is-featured .premium-book-visual{
  grid-column:1!important;
  grid-row:1 / 4!important;
  height:250px!important;
  min-height:250px!important;
}
.premium-book-visual::before{
  width:118px!important;
  height:16px!important;
  bottom:10px!important;
}
.premium-book-visual img,
.is-featured .premium-book-visual img,
.premium-store-book.is-featured .premium-book-visual img{
  width:172px!important;
  height:202px!important;
  max-width:172px!important;
  max-height:202px!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0!important;
}
.premium-store-book.is-featured .premium-book-visual img{
  width:210px!important;
  height:240px!important;
  max-width:210px!important;
  max-height:240px!important;
  filter:drop-shadow(0 26px 24px rgba(0,0,0,.32))!important;
}
.premium-store-book.is-featured .book-badge{
  top:26px!important;
  left:50%!important;
  transform:translateX(-90px) rotate(-9deg)!important;
  width:68px!important;
  height:68px!important;
  font-size:.86rem!important;
}
.premium-book-meta{
  grid-row:4!important;
  margin:8px 0 12px!important;
}
.premium-store-book.is-featured .premium-book-meta{
  grid-column:3!important;
  grid-row:1!important;
  align-self:end!important;
  margin:0!important;
}
.premium-book-meta .price{
  min-width:92px!important;
  min-height:38px!important;
  padding:6px 14px!important;
  border-radius:8px!important;
  font-size:1.12rem!important;
}
.premium-store-book.is-featured .premium-book-meta .price{
  min-width:118px!important;
  min-height:48px!important;
  font-size:1.35rem!important;
}
.premium-store-book .book-actions{
  grid-row:5!important;
  width:100%!important;
  display:flex!important;
  flex-direction:row!important;
  direction:rtl!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  margin:0!important;
}
.premium-store-book.is-featured .book-actions{
  grid-column:3!important;
  grid-row:2 / 4!important;
  align-self:center!important;
  flex-direction:column!important;
  gap:12px!important;
}
.premium-store-book .book-qty{
  order:1!important;
  justify-self:auto!important;
  height:44px!important;
  padding:3px!important;
}
.premium-store-book .book-qty button{
  width:36px!important;
  height:36px!important;
  min-height:36px!important;
}
.premium-store-book .book-qty output{
  min-width:38px!important;
  padding-inline:8px!important;
}
.book-add-btn{
  order:2!important;
  min-height:44px!important;
  min-width:84px!important;
  padding:0 18px!important;
  border-radius:8px!important;
}
.premium-store-book.is-featured .book-add-btn{
  width:100%!important;
  min-width:136px!important;
  background:linear-gradient(145deg,#e6ca51,#b89e14,#7d5a07)!important;
  color:#fffdf1!important;
}
.premium-store-book.is-featured .book-qty{
  background:rgba(255,255,255,.95)!important;
}
@media(max-width:1180px){
  .premium-books-layout{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:980px){
  .premium-book-market{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .premium-store-book.is-featured{
    grid-template-columns:210px minmax(0,1fr)!important;
  }
  .premium-store-book.is-featured .premium-book-meta,
  .premium-store-book.is-featured .book-actions{
    grid-column:2!important;
  }
}
@media(max-width:680px){
  .premium-book-market{
    grid-template-columns:1fr!important;
  }
  .premium-store-book,
  .premium-store-book.is-featured{
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto 220px auto auto!important;
    text-align:center!important;
    min-height:0!important;
    padding:18px!important;
  }
  .premium-store-book.is-featured h3,
  .premium-store-book.is-featured .premium-book-content span,
  .premium-store-book.is-featured .premium-book-visual,
  .premium-store-book.is-featured .premium-book-meta,
  .premium-store-book.is-featured .book-actions{
    grid-column:1!important;
  }
  .premium-store-book.is-featured h3{
    grid-row:1!important;
    font-size:clamp(1.4rem,8vw,2.4rem)!important;
  }
  .premium-store-book.is-featured .premium-book-content span{
    grid-row:2!important;
    justify-self:center!important;
  }
  .premium-store-book.is-featured .premium-book-visual{
    grid-row:3!important;
    height:220px!important;
    min-height:220px!important;
  }
  .premium-store-book.is-featured .premium-book-meta{
    grid-row:4!important;
    justify-content:center!important;
  }
  .premium-store-book.is-featured .book-actions{
    grid-row:5!important;
    flex-direction:row!important;
  }
}

/* Books page: squared quantity control and calmer featured title */
.premium-store-book.is-featured h3{
  font-size:clamp(1.55rem,2.65vw,2.65rem)!important;
  line-height:1.08!important;
  white-space:normal!important;
}
.premium-store-book .book-actions,
.premium-store-book.is-featured .book-actions{
  width:100%!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  min-height:48px!important;
}
.premium-store-book .book-qty,
.premium-store-book.is-featured .book-qty{
  height:46px!important;
  min-height:46px!important;
  padding:0!important;
  gap:0!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fffdf8!important;
  border:1px solid rgba(184,158,20,.42)!important;
  box-shadow:0 10px 22px rgba(24,35,31,.08)!important;
}
.premium-store-book .book-qty button,
.premium-store-book.is-featured .book-qty button{
  width:46px!important;
  height:46px!important;
  min-height:46px!important;
  border-radius:0!important;
  border:0!important;
  background:#003018!important;
  box-shadow:none!important;
}
.premium-store-book .book-qty output,
.premium-store-book.is-featured .book-qty output{
  min-width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  background:#fffdf8!important;
  color:#003018!important;
  border-inline:1px solid rgba(184,158,20,.22)!important;
}
.book-add-btn,
.premium-store-book.is-featured .book-add-btn{
  height:46px!important;
  min-height:46px!important;
  min-width:96px!important;
  padding:0 20px!important;
  border-radius:10px!important;
}
@media(max-width:680px){
  .premium-store-book.is-featured h3{
    font-size:clamp(1.35rem,6.5vw,2.05rem)!important;
  }
  .premium-store-book .book-actions,
  .premium-store-book.is-featured .book-actions{
    flex-direction:row!important;
    flex-wrap:nowrap!important;
  }
}

/* Books page: final featured title alignment */
.premium-store-book.is-featured h3{
  justify-self:center!important;
  align-self:end!important;
  text-align:center!important;
  color:#fffdf1!important;
}
.premium-store-book.is-featured .premium-book-content span{
  justify-self:center!important;
  text-align:center!important;
  color:#fffdf1!important;
  font-size:clamp(1.55rem,2.65vw,2.65rem)!important;
  line-height:1.08!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-weight:950!important;
}

/* Books page: intro hierarchy correction */
.premium-store-intro .premium-kicker{
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(2.2rem,4.4vw,4.6rem)!important;
  line-height:1.05!important;
  font-weight:950!important;
  color:#b89e14!important;
}
.premium-store-intro .premium-kicker::before,
.premium-store-intro .premium-kicker::after{
  width:min(110px,16vw)!important;
}
.premium-store-intro h1{
  font-size:clamp(1.45rem,2.6vw,2.8rem)!important;
  line-height:1.18!important;
  margin-top:8px!important;
}

/* Homepage books section: oversized floating book, animation preserved */
.home-books-feature .real-book-showcase{
  min-height:520px!important;
  overflow:visible!important;
}

.home-books-feature .book-float-wrap{
  width:min(525px,42vw)!important;
  max-width:none!important;
  aspect-ratio:1.16 / 1!important;
}

.home-books-feature .book-float-wrap .main-book,
.home-books-feature .book-photo.main-book,
.home-books-feature .main-book{
  width:100%!important;
  max-width:none!important;
}

.home-books-feature .book-float-wrap .main-book img,
.home-books-feature .book-photo.main-book img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}

@media(max-width:860px){
  .home-books-feature .real-book-showcase{
    min-height:360px!important;
  }

  .home-books-feature .book-float-wrap{
    width:min(340px,82vw)!important;
  }
}

/* Homepage books section: right-tilted floating book */
.home-books-feature .book-photo.main-book,
.home-books-feature .main-book{
  animation:homeBookTiltRight 4.8s ease-in-out infinite!important;
  transform-origin:62% 54%!important;
}

@keyframes homeBookTiltRight{
  0%,100%{
    transform:rotate(15deg) rotateX(7deg) translate3d(0,0,0);
  }
  50%{
    transform:rotate(17deg) rotateX(5deg) translate3d(0,-22px,0);
  }
}

/* About closing CTA: make the main sentence the headline */
.about-cta-card > h2{
  width:min(1180px,94vw)!important;
  margin:0 auto 16px!important;
  font-size:clamp(2.25rem,4.1vw,4.7rem)!important;
  line-height:1.18!important;
  text-align:center!important;
  margin-inline:auto!important;
}
.about-cta-card .about-cta-signature{
  width:min(900px,92vw)!important;
  margin:0 auto 24px!important;
  font-size:clamp(1.25rem,1.75vw,1.85rem)!important;
  line-height:1.45!important;
  text-align:center!important;
  margin-inline:auto!important;
}
@media(max-width:760px){
  .about-cta-card > h2{
    font-size:clamp(2rem,10vw,3rem)!important;
  }
}

/* Definitive mobile book-card layout */
@media(max-width:680px){
  .premium-book-market{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }

  .premium-store-book:not(.is-featured){
    width:100%!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto 230px auto 46px!important;
    gap:0!important;
    padding:18px 16px 20px!important;
    overflow:hidden!important;
    text-align:center!important;
  }

  .premium-store-book:not(.is-featured) h3,
  .premium-store-book:not(.is-featured) .premium-book-content > span,
  .premium-store-book:not(.is-featured) .premium-book-visual,
  .premium-store-book:not(.is-featured) .premium-book-meta,
  .premium-store-book:not(.is-featured) .book-actions{
    grid-column:1!important;
    width:100%!important;
    max-width:100%!important;
    justify-self:stretch!important;
  }

  .premium-store-book:not(.is-featured) h3{
    grid-row:1!important;
    min-height:0!important;
    padding:0 8px!important;
    overflow:visible!important;
    white-space:normal!important;
    text-align:center!important;
    text-overflow:clip!important;
    line-height:1.2!important;
  }

  .premium-store-book:not(.is-featured) .premium-book-content > span{
    grid-row:2!important;
    margin:5px 0 4px!important;
    text-align:center!important;
  }

  .premium-store-book:not(.is-featured) .premium-book-visual{
    grid-row:3!important;
    position:relative!important;
    height:230px!important;
    min-height:230px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .premium-store-book:not(.is-featured) .premium-book-visual img{
    width:184px!important;
    height:214px!important;
    max-width:68vw!important;
    max-height:214px!important;
    margin:0!important;
    object-position:center!important;
  }

  .premium-store-book:not(.is-featured) .premium-book-meta{
    grid-row:4!important;
    min-height:50px!important;
    margin:3px 0 11px!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
  }

  .premium-store-book:not(.is-featured) .premium-book-meta[hidden]{
    display:none!important;
  }

  .premium-store-book:not(.is-featured) .book-actions{
    grid-row:5!important;
    height:46px!important;
    min-height:46px!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    direction:rtl!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    margin:0!important;
  }

  .premium-store-book:not(.is-featured) .book-qty{
    flex:0 0 140px!important;
    width:140px!important;
    min-width:140px!important;
    height:46px!important;
    margin:0!important;
  }

  .premium-store-book:not(.is-featured) .book-add-btn{
    flex:0 0 100px!important;
    width:100px!important;
    min-width:100px!important;
    height:46px!important;
    padding:0 10px!important;
    margin:0!important;
  }

  .premium-store-book:not(.is-featured) .book-badge{
    top:0!important;
    right:auto!important;
    left:calc(50% - 82px)!important;
    width:62px!important;
    min-width:62px!important;
    height:62px!important;
    padding:10px!important;
    transform:translateX(-50%) rotate(-5deg)!important;
    font-size:.7rem!important;
    z-index:3!important;
  }

  .premium-store-book:not(.is-featured) .book-badge-sold-out{
    width:72px!important;
    min-width:72px!important;
    height:72px!important;
    padding:12px!important;
    font-size:.63rem!important;
  }

  .premium-store-book:not(.is-featured).is-unavailable{
    grid-template-rows:auto auto 230px 46px!important;
  }

  .premium-store-book:not(.is-featured).is-unavailable .book-actions{
    grid-row:4!important;
  }
}

/* Mamonot flagship book */
.premium-store-book.is-featured[data-book-key="mamonot"]{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  min-height:350px!important;
  padding:34px 38px!important;
  border:1px solid rgba(244,221,125,.72)!important;
  border-radius:6px!important;
  background:
    radial-gradient(circle at 14% 12%,rgba(248,226,132,.2),transparent 27%),
    radial-gradient(circle at 82% 88%,rgba(184,158,20,.14),transparent 31%),
    linear-gradient(135deg,#063a20 0%,#002d17 48%,#001b0e 100%)!important;
  box-shadow:
    0 34px 76px rgba(0,35,17,.26),
    inset 0 0 0 5px rgba(0,28,14,.34),
    inset 0 0 0 6px rgba(244,221,125,.22)!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"]::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:13px!important;
  z-index:-1!important;
  border:1px solid rgba(244,221,125,.4)!important;
  border-radius:2px!important;
  background:
    linear-gradient(90deg,transparent 0 9%,rgba(244,221,125,.6) 9% 22%,transparent 22% 78%,rgba(244,221,125,.6) 78% 91%,transparent 91%) top center/100% 1px no-repeat,
    linear-gradient(90deg,transparent 0 9%,rgba(244,221,125,.34) 9% 22%,transparent 22% 78%,rgba(244,221,125,.34) 78% 91%,transparent 91%) bottom center/100% 1px no-repeat!important;
  pointer-events:none!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"]::after{
  display:none!important;
  content:none!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] h3{
  color:#fffbed!important;
  font-size:clamp(2rem,3.4vw,3.35rem)!important;
  line-height:1.05!important;
  text-shadow:0 3px 18px rgba(0,0,0,.34)!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-content > span{
  margin-top:7px!important;
  color:#ead36e!important;
  font-size:1.03rem!important;
  font-weight:850!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-visual{
  position:relative!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-visual::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  bottom:3px!important;
  width:190px!important;
  height:34px!important;
  transform:translateX(-50%)!important;
  border-radius:50%!important;
  background:rgba(0,0,0,.4)!important;
  filter:blur(15px)!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-visual::after{
  content:""!important;
  position:absolute!important;
  inset:12% 8% 4%!important;
  z-index:-1!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(244,221,125,.2),transparent 67%)!important;
  filter:blur(5px)!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-visual img{
  width:245px!important;
  height:280px!important;
  max-width:245px!important;
  max-height:280px!important;
  filter:drop-shadow(0 28px 22px rgba(0,0,0,.42)) saturate(1.06) contrast(1.03)!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .book-badge{
  top:12px!important;
  width:58px!important;
  min-width:58px!important;
  height:58px!important;
  padding:0!important;
  border-radius:50%!important;
  transform:translateX(-105px)!important;
  color:#fffbed!important;
  background:
    radial-gradient(circle,#f6df70 0 15%,#cfaa1d 16% 46%,#8c6500 72%,#d5b32a 100%)!important;
  border:1px solid rgba(255,244,186,.76)!important;
  box-shadow:0 12px 24px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.45)!important;
  font-family:Georgia,serif!important;
  font-size:1.65rem!important;
  line-height:1!important;
  text-shadow:0 2px 5px rgba(82,56,0,.42)!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-meta[hidden]{
  display:none!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .book-actions{
  grid-row:1 / 4!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-meta .price{
  border:1px solid rgba(255,239,168,.68)!important;
  border-radius:4px!important;
  background:linear-gradient(145deg,#d9bc37,#987200)!important;
  box-shadow:0 13px 28px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.45)!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-meta small{
  color:rgba(255,251,237,.72)!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .book-qty{
  border-color:rgba(244,221,125,.58)!important;
  box-shadow:0 13px 26px rgba(0,0,0,.22)!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .book-add-btn{
  border:1px solid rgba(255,239,168,.7)!important;
  border-radius:4px!important;
  background:linear-gradient(145deg,#d9bc37 0%,#a17c03 55%,#765700 100%)!important;
  box-shadow:0 13px 28px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.42)!important;
}

.premium-store-book.is-featured.is-unavailable[data-book-key="mamonot"] .book-qty,
.premium-store-book.is-featured.is-unavailable[data-book-key="mamonot"] .book-add-btn{
  opacity:.76!important;
}

@media(max-width:680px){
  .premium-store-book.is-featured[data-book-key="mamonot"]{
    width:100%!important;
    min-height:570px!important;
    grid-template-rows:auto auto 270px auto auto!important;
    gap:0!important;
    padding:30px 20px 34px!important;
    border-radius:5px!important;
    background:
      radial-gradient(circle at 50% 35%,rgba(248,226,132,.18),transparent 31%),
      linear-gradient(155deg,#063b20 0%,#002c16 52%,#001b0d 100%)!important;
    box-shadow:
      0 24px 54px rgba(0,35,17,.23),
      inset 0 0 0 4px rgba(0,28,14,.32),
      inset 0 0 0 5px rgba(244,221,125,.22)!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"]::before{
    inset:11px!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"]::after{
    bottom:13px!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] h3{
    align-self:center!important;
    min-height:0!important;
    font-size:clamp(1.72rem,8vw,2.25rem)!important;
    line-height:1.08!important;
    overflow:visible!important;
    white-space:normal!important;
    text-overflow:clip!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-content > span{
    margin:6px 0 0!important;
    font-size:.98rem!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-visual{
    width:100%!important;
    height:270px!important;
    min-height:270px!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-visual img{
    width:245px!important;
    height:270px!important;
    max-width:76vw!important;
    max-height:270px!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .book-badge{
    top:17px!important;
    left:50%!important;
    width:54px!important;
    min-width:54px!important;
    height:54px!important;
    transform:translateX(-116px)!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-meta{
    display:none!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .book-actions{
    grid-row:4 / 6!important;
    width:100%!important;
    min-height:46px!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    margin:0!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .book-qty{
    flex:0 1 140px!important;
    width:140px!important;
    min-width:0!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .book-add-btn{
    flex:0 1 108px!important;
    width:108px!important;
    min-width:0!important;
    padding:0 12px!important;
  }
}

/* Exact quantity-symbol centering */
.premium-store-book .book-qty button,
.premium-store-book.is-featured .book-qty button{
  position:relative!important;
  display:block!important;
  padding:0!important;
  line-height:1!important;
}

.premium-store-book .book-qty button::before,
.premium-store-book.is-featured .book-qty button::before,
.premium-store-book .book-qty button[data-qty="-1"]::before,
.premium-store-book.is-featured .book-qty button[data-qty="-1"]::before{
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  display:block!important;
  width:1em!important;
  height:1em!important;
  margin:0!important;
  line-height:1!important;
  text-align:center!important;
  transform:translate(-50%,-50%)!important;
}

/* Final emerald texture override */
.site-footer,
.legal-hero,
.premium-books-hero,
.premium-store-book.is-featured[data-book-key="mamonot"],
.qna-hero,
.donation-hero,
.ask-hero,
.page-hero.soul-hero,
.page-hero.levado-hero:not(.nefesh-hero){
  background-color:#001c0c!important;
  background-image:
    linear-gradient(135deg,rgba(0,16,7,.08),rgba(0,35,16,.16)),
    url("assets/torat-avi-green-texture-clean.webp")!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}

.btn-primary,
.nav-donate,
.book-add-btn,
.premium-store-book .book-qty button,
.premium-store-book.is-featured .book-qty button,
.accessibility-toggle,
.qna-search button,
.qna-hero-search button{
  background-color:#003018!important;
  background-image:
    linear-gradient(135deg,rgba(0,45,20,.1),rgba(0,12,5,.3)),
    url("assets/torat-avi-green-texture-clean.webp")!important;
  background-position:center!important;
  background-size:260px auto!important;
  background-repeat:no-repeat!important;
}

.footer-address-navigation{
  display:inline;
  padding:0;
  border:0;
  color:inherit;
  background:none;
  font:inherit;
  line-height:inherit;
  cursor:pointer;
  text-decoration:underline;
  text-decoration-color:rgba(215,177,72,.62);
  text-underline-offset:4px;
  transition:color 180ms ease,text-decoration-color 180ms ease;
}
.footer-address-navigation:hover,
.footer-address-navigation:focus-visible{
  color:#f0cf68;
  text-decoration-color:#f0cf68;
  outline:none;
}
.location-choice-modal{
  position:fixed;
  inset:0;
  z-index:10020;
  display:grid;
  place-items:center;
  padding:20px;
  opacity:0;
  transition:opacity 180ms ease;
}
.location-choice-modal[hidden]{display:none}
.location-choice-modal.is-open{opacity:1}
.location-choice-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,20,9,.7);
  backdrop-filter:blur(5px);
}
.location-choice-panel{
  position:relative;
  width:min(420px,100%);
  padding:34px 30px 30px;
  overflow:hidden;
  color:#fff;
  text-align:center;
  background:
    linear-gradient(145deg,rgba(0,55,26,.92),rgba(0,25,11,.98)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover;
  border:1px solid rgba(224,190,89,.65);
  border-radius:8px;
  box-shadow:0 28px 80px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.08);
  transform:translateY(18px) scale(.97);
  transition:transform 220ms cubic-bezier(.2,.8,.2,1);
}
.location-choice-modal.is-open .location-choice-panel{transform:translateY(0) scale(1)}
.location-choice-panel::before{
  content:"";
  position:absolute;
  inset:6px;
  pointer-events:none;
  border:1px solid rgba(224,190,89,.2);
  border-radius:4px;
}
.location-choice-close{
  position:absolute;
  top:12px;
  left:12px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.06);
  font-size:1.55rem;
  line-height:1;
  cursor:pointer;
}
.location-choice-close:hover,.location-choice-close:focus-visible{
  color:#f0cf68;
  border-color:#f0cf68;
  outline:none;
}
.location-choice-eyebrow{
  display:block;
  margin-bottom:7px;
  color:#e0be59;
  font-size:.82rem;
  font-weight:800;
}
.location-choice-panel h2{
  margin:0;
  color:#fff;
  font-size:1.65rem;
}
.location-choice-panel p{
  margin:10px 0 24px;
  color:rgba(255,255,255,.8);
}
.location-choice-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.location-map-link{
  min-height:48px;
  display:grid;
  place-items:center;
  padding:10px 14px;
  border:1px solid rgba(224,190,89,.62);
  border-radius:6px;
  color:#fff;
  font-weight:850;
  text-decoration:none;
  background:rgba(255,255,255,.07);
  transition:transform 180ms ease,background 180ms ease,color 180ms ease;
}
.location-map-link:hover,.location-map-link:focus-visible{
  color:#00200e;
  background:#e0be59;
  outline:none;
  transform:translateY(-2px);
}
@media(max-width:480px){
  .location-choice-panel{padding:32px 20px 22px}
  .location-choice-actions{grid-template-columns:1fr}
}

.footer-map-links{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:5px;
  direction:ltr;
  font-size:.9rem;
}
.footer-map-links a{
  color:#e0be59;
  text-decoration:underline;
  text-underline-offset:3px;
}
.footer-map-links a:hover,
.footer-map-links a:focus-visible{
  color:#fff;
  outline:none;
}
.footer-map-links > span{color:rgba(255,255,255,.42)}

/* Homepage directory premium artwork */
.torah-directory .directory-card.directory-soul-card{
  background-image:
    linear-gradient(180deg,rgba(0,24,12,.04) 8%,rgba(0,25,13,.34) 50%,rgba(0,21,11,.95) 100%),
    url("assets/directory-soul-premium.webp")!important;
  background-position:center 50%!important;
  background-size:cover!important;
}

.torah-directory .directory-card.directory-books-card{
  background-image:
    linear-gradient(180deg,rgba(0,24,12,.03) 10%,rgba(0,25,13,.34) 54%,rgba(0,21,11,.95) 100%),
    url("assets/directory-books-premium.webp")!important;
  background-position:center 50%!important;
  background-size:cover!important;
}

/* Mobile navigation: keep every submenu item reachable on short screens */
@media(max-width:900px){
  body.nav-open .site-header .main-nav{
    max-height:calc(100dvh - 126px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin!important;
    scrollbar-color:rgba(0,48,24,.34) transparent!important;
  }

  .site-header .main-nav .nav-dropdown.is-open .nav-dropdown-menu{
    max-height:340px!important;
    overflow:visible!important;
  }

  .site-header .main-nav::-webkit-scrollbar{
    width:5px!important;
  }

  .site-header .main-nav::-webkit-scrollbar-thumb{
    border-radius:999px!important;
    background:rgba(0,48,24,.34)!important;
  }
}

@media(max-width:560px){
  .torah-directory .directory-card.directory-soul-card{
    background-position:center 54%!important;
  }

  .torah-directory .directory-card.directory-books-card{
    background-position:center 52%!important;
  }
}

/* Keep the definition section title centered despite legacy page styles. */
.ij-definition .ij-definition-section-title{
  width:min(100%,780px);
  max-width:780px;
  margin:0 auto clamp(38px,4.5vw,54px);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  color:#9a7618;
  font:950 clamp(1.55rem,2.8vw,2.15rem)/1.2 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-align:center;
  transform:none;
}
@media(max-width:760px){
  .ij-definition .ij-definition-section-title{
    margin-right:auto;
    margin-bottom:34px;
    margin-left:auto;
    gap:12px;
    font-size:1.5rem;
  }
}

/* Inner Judge - section 5: personal deliverable. */
.ij-deliverable{
  --ij-title-ornament:#e1c35e;
  position:relative;
  padding:clamp(64px,6.5vw,88px) 0 clamp(58px,6vw,78px);
  overflow:hidden;
  color:#fff;
  background-color:#003d27;
  background-image:var(--emerald-texture);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  border-block:1px solid rgba(213,180,72,.5);
}
.ij-deliverable::before{
  content:"";
  position:absolute;
  inset:25px;
  border:1px solid rgba(231,207,121,.1);
  pointer-events:none;
}
.ij-deliverable .section-inner{position:relative;z-index:1;max-width:1080px}
.ij-deliverable-title{
  max-width:760px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  color:#f0d36d;
  font:950 clamp(1.7rem,3vw,2.35rem)/1.2 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-align:center;
  text-shadow:0 7px 22px rgba(0,0,0,.22);
}
.ij-deliverable-title::before,
.ij-deliverable-title::after{
  content:"";
  width:clamp(56px,8vw,108px);
  height:16px;
  flex:0 1 108px;
  background:
    radial-gradient(10px 7px at 50% 100%,transparent 68%,var(--ij-title-ornament) 72% 80%,transparent 84%) 0 0/20px 8px repeat-x,
    radial-gradient(10px 7px at 50% 0,transparent 68%,var(--ij-title-ornament) 72% 80%,transparent 84%) 10px 8px/20px 8px repeat-x;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);
  filter:drop-shadow(0 2px 3px rgba(108,77,7,.15));
}
.ij-deliverable-title::before{transform:scaleX(-1)}
.ij-deliverable-lead{
  max-width:710px;
  margin:13px auto 0;
  color:rgba(255,255,255,.72);
  font-size:.95rem;
  font-weight:650;
  line-height:1.75;
  text-align:center;
  text-wrap:balance;
}
.ij-deliverable-steps{
  position:relative;
  margin:clamp(38px,4vw,50px) 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  list-style:none;
  border-top:1px solid rgba(229,201,101,.42);
  border-bottom:1px solid rgba(229,201,101,.42);
}
.ij-deliverable-steps li{
  position:relative;
  min-height:235px;
  padding:34px 34px 30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.ij-deliverable-steps li+li{border-right:1px solid rgba(255,255,255,.13)}
.ij-deliverable-steps b{
  width:43px;
  height:43px;
  margin-bottom:15px;
  display:grid;
  place-items:center;
  border:1px solid rgba(234,204,99,.78);
  border-radius:50%;
  color:#f0d36d;
  background:rgba(0,30,17,.34);
  box-shadow:inset 0 0 0 5px rgba(255,255,255,.025),0 8px 20px rgba(0,0,0,.12);
  font:900 1rem "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-deliverable-steps small{
  color:rgba(255,255,255,.44);
  font-size:.59rem;
  font-weight:850;
  letter-spacing:.08em;
}
.ij-deliverable-steps strong{
  margin-top:5px;
  color:#fffef7;
  font:900 clamp(1.15rem,1.7vw,1.38rem)/1.4 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-deliverable-steps p{
  max-width:260px;
  margin:11px auto 0;
  color:rgba(255,255,255,.65);
  font-size:.79rem;
  font-weight:600;
  line-height:1.72;
}
.ij-deliverable-metrics{
  max-width:900px;
  margin:25px auto 0;
  border-bottom:1px solid rgba(229,201,101,.36);
}
.ij-deliverable-metrics summary{
  min-height:58px;
  padding:11px 4px;
  display:grid;
  grid-template-columns:1fr auto 28px;
  gap:14px;
  align-items:center;
  color:#fff;
  cursor:pointer;
  list-style:none;
}
.ij-deliverable-metrics summary::-webkit-details-marker{display:none}
.ij-deliverable-metrics summary span{font:900 1rem "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.ij-deliverable-metrics summary small{color:#e5ca6b;font-size:.65rem;font-weight:850}
.ij-deliverable-metrics summary i{
  width:24px;
  height:24px;
  position:relative;
  display:block;
  border:1px solid rgba(229,201,101,.55);
  border-radius:50%;
}
.ij-deliverable-metrics summary i::before,
.ij-deliverable-metrics summary i::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:9px;
  height:1px;
  background:#e5ca6b;
  transform:translate(-50%,-50%);
  transition:transform .2s ease;
}
.ij-deliverable-metrics summary i::after{transform:translate(-50%,-50%) rotate(90deg)}
.ij-deliverable-metrics[open] summary i::after{transform:translate(-50%,-50%) rotate(0)}
.ij-deliverable-metrics ul{
  margin:0;
  padding:20px 0 24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px 24px;
  border-top:1px solid rgba(255,255,255,.1);
  list-style:none;
}
.ij-deliverable-metrics li{
  position:relative;
  padding-right:14px;
  color:rgba(255,255,255,.76);
  font-size:.72rem;
  font-weight:750;
  line-height:1.45;
}
.ij-deliverable-metrics li::before{
  content:"";
  position:absolute;
  top:.58em;
  right:0;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#d9ba55;
}
.ij-deliverable-metrics>p{
  margin:0;
  padding:0 0 22px;
  color:rgba(255,255,255,.5);
  font-size:.65rem;
  line-height:1.65;
  text-align:center;
}
@media(max-width:780px){
  .ij-deliverable{padding:57px 0 58px}
  .ij-deliverable::before{inset:14px}
  .ij-deliverable-steps{grid-template-columns:1fr;max-width:650px;margin-inline:auto}
  .ij-deliverable-steps li{min-height:0;padding:25px 24px}
  .ij-deliverable-steps li+li{border-right:0;border-top:1px solid rgba(255,255,255,.13)}
  .ij-deliverable-steps p{max-width:470px}
  .ij-deliverable-metrics ul{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
  .ij-deliverable .section-inner{width:min(100% - 34px,1080px)}
  .ij-deliverable-title{gap:12px;font-size:1.55rem}
  .ij-deliverable-title::before,
  .ij-deliverable-title::after{width:52px;flex-basis:52px}
  .ij-deliverable-lead{font-size:.87rem}
  .ij-deliverable-steps{margin-top:31px}
  .ij-deliverable-steps li{padding:23px 15px}
  .ij-deliverable-steps strong{font-size:1.2rem}
  .ij-deliverable-metrics summary{grid-template-columns:1fr 27px;gap:10px}
  .ij-deliverable-metrics summary small{grid-column:1;grid-row:2}
  .ij-deliverable-metrics summary i{grid-column:2;grid-row:1 / span 2}
  .ij-deliverable-metrics ul{grid-template-columns:1fr;gap:9px;padding-right:5px;padding-left:5px}
}

/* Inner Judge - section 6: the questionnaire as the page focus. */
.ij-questionnaire{
  --ij-title-ornament:#c29a30;
  position:relative;
  padding:clamp(68px,7vw,92px) 0 clamp(72px,7vw,96px);
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 0,rgba(194,154,48,.1),transparent 24%),
    linear-gradient(90deg,rgba(0,84,51,.028) 1px,transparent 1px),
    #f6f0e3;
  background-size:auto,92px 100%,auto;
  border-top:0;
}
.ij-questionnaire::before{
  content:"";
  position:absolute;
  top:24px;
  right:24px;
  bottom:24px;
  left:24px;
  border:1px solid rgba(159,120,18,.1);
  pointer-events:none;
}
.ij-questionnaire>.section-inner{position:relative;z-index:1;max-width:1160px}
.ij-questionnaire-head{
  max-width:900px;
  margin:0 auto clamp(38px,4.5vw,52px);
  padding:0;
  text-align:center;
}
.ij-questionnaire-head::before{content:none!important;display:none!important}
.ij-questionnaire-head h2{
  max-width:880px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  color:#073e29;
  font:950 clamp(1.85rem,3.5vw,2.75rem)/1.18 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-align:center;
  text-wrap:balance;
  white-space:nowrap;
}
.ij-questionnaire-head h2::before,
.ij-questionnaire-head h2::after{
  content:"";
  width:clamp(56px,8vw,108px);
  height:16px;
  flex:0 1 108px;
  background:
    radial-gradient(10px 7px at 50% 100%,transparent 68%,var(--ij-title-ornament) 72% 80%,transparent 84%) 0 0/20px 8px repeat-x,
    radial-gradient(10px 7px at 50% 0,transparent 68%,var(--ij-title-ornament) 72% 80%,transparent 84%) 10px 8px/20px 8px repeat-x;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);
  filter:drop-shadow(0 2px 3px rgba(108,77,7,.12));
}
.ij-questionnaire-head h2::before{transform:scaleX(-1)}
.ij-questionnaire-head p{
  max-width:720px;
  margin:16px auto 0;
  color:#65746c;
  font-size:.95rem;
  font-weight:650;
  line-height:1.78;
  text-wrap:balance;
}
.ij-questionnaire-head p strong{color:#174a36;font-weight:950}
.ij-questionnaire-head>small{
  min-height:46px;
  width:min(100%,610px);
  margin:18px auto 0;
  padding:9px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  border-top:1px solid rgba(170,130,24,.35);
  border-bottom:1px solid rgba(170,130,24,.35);
  border-radius:0;
  color:#264d3b;
  background:linear-gradient(90deg,transparent,rgba(255,253,247,.86) 18%,rgba(255,253,247,.86) 82%,transparent);
  box-shadow:none;
  font:800 .76rem/1.55 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  letter-spacing:.01em;
}
.ij-questionnaire-head>small b{
  min-height:26px;
  padding:0 0 0 13px;
  display:inline-flex;
  align-items:center;
  border-left:1px solid rgba(174,134,29,.46);
  border-radius:0;
  color:#9a7412;
  background:transparent;
  font-size:.68rem;
  font-weight:950;
  letter-spacing:.09em;
}
.ij-questionnaire-head>small span{color:#234b39;font-weight:850}
.ij-clear-draft{
  margin:14px auto 0;
  padding:7px 15px;
  border:1px solid rgba(0,97,59,.28);
  border-radius:999px;
  color:#275c45;
  background:rgba(255,255,255,.64);
  font:800 .75rem/1.4 inherit;
  cursor:pointer;
  transition:border-color .2s ease,background-color .2s ease,color .2s ease;
}
.ij-clear-draft:hover,.ij-clear-draft:focus-visible{border-color:#00613b;color:#003f28;background:#fff}
.ij-clear-draft:disabled{cursor:default;opacity:.72}
.form-submit-status{min-height:1.5em;margin:12px 0 0;color:#53675c;font-weight:800;line-height:1.55}
.form-submit-status.is-success{color:#00613b}
.form-submit-status.is-error{color:#9b2f27}
.site-error-page{min-height:100vh;margin:0;color:#123d2b;background:radial-gradient(circle at 50% 12%,rgba(210,177,70,.16),transparent 30%),linear-gradient(145deg,#f8f3e7,#fffdf8)}
.site-error-main{min-height:100vh;width:min(100% - 32px,840px);margin:auto;padding:clamp(34px,6vw,70px) 0;display:grid;place-items:center;align-content:center;gap:24px;text-align:center}
.site-error-brand{display:block;width:min(240px,58vw)}
.site-error-brand img{display:block;width:100%;height:auto}
.site-error-card{position:relative;width:100%;padding:clamp(36px,7vw,70px);overflow:hidden;border:1px solid rgba(181,140,29,.45);background:rgba(255,255,255,.78);box-shadow:0 25px 65px rgba(0,59,38,.12);backdrop-filter:blur(8px)}
.site-error-card::before{content:"";position:absolute;inset:10px;border:1px solid rgba(0,97,59,.12);pointer-events:none}
.site-error-card>span{position:relative;color:#9b7818;font-weight:900;letter-spacing:.05em}
.site-error-card>strong{position:relative;display:block;margin-top:12px;color:#d4b75b;font:900 clamp(4.5rem,14vw,8rem)/.9 "Frank Ruhl Libre",serif;opacity:.48}
.site-error-card h1{position:relative;margin:12px 0 0;color:#063f29;font:900 clamp(2.25rem,6vw,4rem)/1.1 "Frank Ruhl Libre",serif}
.site-error-card p{position:relative;max-width:590px;margin:18px auto 0;color:#5b7064;line-height:1.8}
.site-error-card>div{position:relative;margin-top:28px;display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.site-error-card .btn-ghost{border-color:#1a6448;color:#06472f;background:#fff}
.ij-questionnaire-shell{
  max-width:1080px;
  gap:15px;
  filter:drop-shadow(0 27px 45px rgba(54,40,7,.1));
}
.ij-questionnaire-rail{
  background-color:#003d27;
  background-image:linear-gradient(145deg,rgba(0,26,14,.1),rgba(0,38,22,.36)),var(--emerald-texture);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.ij-questionnaire-form{
  border-color:#cbb97f;
  box-shadow:0 17px 42px rgba(54,40,7,.07);
}
@media(max-width:900px){
  .ij-questionnaire>.section-inner{max-width:760px}
  .ij-questionnaire-shell{max-width:720px}
}
@media(max-width:650px){
  .ij-questionnaire{padding:57px 0 62px;background-size:auto,52px 100%,auto}
  .ij-questionnaire::before{inset:13px}
  .ij-questionnaire>.section-inner{width:min(100% - 30px,760px)}
  .ij-questionnaire-head{margin-bottom:34px;padding:0 7px}
  .ij-questionnaire-head h2{gap:7px;font-size:clamp(1.08rem,4.6vw,1.4rem);line-height:1.25}
  .ij-questionnaire-head h2::before,
  .ij-questionnaire-head h2::after{width:27px;flex-basis:27px}
  .ij-questionnaire-head p{font-size:.87rem}
  .ij-questionnaire-head>small{width:100%;padding:9px 7px;gap:8px;font-size:.68rem}
  .ij-questionnaire-head>small b{padding:0 0 0 9px;font-size:.62rem}
  .ij-questionnaire-shell{filter:drop-shadow(0 18px 30px rgba(54,40,7,.08))}
}
@media(max-width:390px){
  .ij-questionnaire-head h2{font-size:1.04rem}
  .ij-questionnaire-head h2::before,
  .ij-questionnaire-head h2::after{width:21px;flex-basis:21px}
  .ij-questionnaire-head>small{font-size:.63rem}
}

/* WhatsApp icon: official brand green */
.whatsapp-community-section .whatsapp-icon,
.whatsapp-community-card .whatsapp-icon,
.whatsapp-community-section [class*="whatsapp"] svg,
.whatsapp-community-card [class*="whatsapp"] svg{
  color:#25D366!important;
}

.whatsapp-community-section .whatsapp-icon,
.whatsapp-community-card .whatsapp-icon{
  background:#25D366!important;
  background-image:none!important;
  box-shadow:0 18px 40px rgba(37,211,102,.24)!important;
}

.whatsapp-community-icon{
  background:#25D366!important;
  background-image:none!important;
  box-shadow:0 18px 40px rgba(37,211,102,.26)!important;
}

.whatsapp-community-section .whatsapp-icon svg,
.whatsapp-community-card .whatsapp-icon svg,
.whatsapp-community-icon svg{
  color:#fff!important;
  fill:none!important;
  stroke:#fff!important;
}

/* Final WhatsApp app-style icon */
.whatsapp-community-card .whatsapp-community-icon{
  width:96px!important;
  height:96px!important;
  border-radius:28px!important;
  background:#25D366!important;
  background-image:linear-gradient(145deg,#2AE36F 0%,#25D366 48%,#17AE4F 100%)!important;
  box-shadow:
    0 18px 38px rgba(37,211,102,.28),
    0 8px 18px rgba(0,48,24,.14),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -10px 18px rgba(0,84,34,.12)!important;
  transform:none!important;
  animation:whatsappIconFloatClean 4.8s ease-in-out infinite!important;
}

.whatsapp-community-card .whatsapp-community-icon::before{
  inset:-14px!important;
  border-radius:34px!important;
  border:1px solid rgba(37,211,102,.22)!important;
  background:transparent!important;
  opacity:1!important;
}

.whatsapp-community-card .whatsapp-community-icon::after{
  content:""!important;
  position:absolute!important;
  inset:8px 9px auto auto!important;
  width:34px!important;
  height:24px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.28),rgba(255,255,255,0))!important;
  filter:blur(.2px)!important;
  pointer-events:none!important;
}

.whatsapp-community-card .whatsapp-community-icon svg{
  width:60px!important;
  height:60px!important;
  position:relative!important;
  z-index:1!important;
  stroke:#fff!important;
  stroke-width:1.9!important;
  filter:drop-shadow(0 3px 7px rgba(0,84,34,.24))!important;
  transform:translate(0,1px)!important;
}

.whatsapp-community-card .whatsapp-community-icon svg path:nth-child(2){
  fill:#fff!important;
  stroke:none!important;
  transform:translate(-2px,-1px)!important;
  transform-box:fill-box!important;
  transform-origin:center!important;
}

.whatsapp-community-card .whatsapp-community-icon svg path:nth-child(1){
  stroke:#fff!important;
  stroke-width:2.45!important;
  fill:none!important;
  transform:scale(1.13) translate(-1.8px,-1.8px)!important;
  transform-box:view-box!important;
  transform-origin:center!important;
}

.whatsapp-community-card .whatsapp-community-icon svg path:nth-child(2){
  transform:translate(-1px,-.5px) scale(1.02)!important;
}

/* Use the supplied WhatsApp image as the community icon */
.whatsapp-community-card .whatsapp-community-icon.whatsapp-community-image-icon{
  width:112px!important;
  height:112px!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  overflow:visible!important;
  animation:whatsappIconFloatClean 4.8s ease-in-out infinite!important;
}

.whatsapp-community-card .whatsapp-community-icon.whatsapp-community-image-icon::before,
.whatsapp-community-card .whatsapp-community-icon.whatsapp-community-image-icon::after{
  display:none!important;
  content:none!important;
}

.whatsapp-community-card .whatsapp-community-icon.whatsapp-community-image-icon img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  border:0!important;
  filter:drop-shadow(0 16px 26px rgba(0,48,24,.12))!important;
}

@media(max-width:860px){
  .whatsapp-community-card .whatsapp-community-icon.whatsapp-community-image-icon{
    width:98px!important;
    height:98px!important;
  }
}

@keyframes whatsappIconFloatClean{
  0%,100%{
    transform:translateY(0) scale(1);
    box-shadow:
      0 18px 38px rgba(37,211,102,.28),
      0 8px 18px rgba(0,48,24,.14),
      inset 0 1px 0 rgba(255,255,255,.38),
      inset 0 -10px 18px rgba(0,84,34,.12);
  }
  50%{
    transform:translateY(-7px) scale(1.025);
    box-shadow:
      0 25px 48px rgba(37,211,102,.34),
      0 12px 24px rgba(0,48,24,.16),
      inset 0 1px 0 rgba(255,255,255,.42),
      inset 0 -10px 18px rgba(0,84,34,.10);
  }
}

@media(max-width:860px){
  .whatsapp-community-card .whatsapp-community-icon{
    width:88px!important;
    height:88px!important;
    border-radius:26px!important;
  }

  .whatsapp-community-card .whatsapp-community-icon svg{
    width:55px!important;
    height:55px!important;
    transform:translate(0,1px)!important;
  }
}

/* Updates and downloadable files */
.updates-hero{
  padding:92px 0 76px;
  color:#fff;
  text-align:center;
  background:
    linear-gradient(135deg,rgba(0,16,7,.08),rgba(0,35,16,.18)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover no-repeat;
}
.updates-hero-inner{display:grid;justify-items:center;gap:12px}
.updates-hero h1{font-size:clamp(2.5rem,7vw,5rem);line-height:1}
.updates-hero p{max-width:650px;color:rgba(255,255,255,.84);font-size:1.16rem}
.updates-count{
  display:inline-flex;
  gap:7px;
  align-items:center;
  margin-top:14px;
  padding:9px 18px;
  border:1px solid rgba(244,217,144,.45);
  border-radius:999px;
  color:#f4d990;
  background:rgba(0,0,0,.16);
}
.updates-section{min-height:420px;background:#f8f6ef}
.updates-status{
  padding:40px 24px;
  text-align:center;
  color:#52635b;
  background:#fff;
  border:1px solid rgba(0,48,24,.12);
  border-radius:18px;
}
.updates-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.updates-file-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:290px;
  padding:26px;
  border:1px solid rgba(0,48,24,.12);
  border-radius:22px 7px 22px 7px;
  background:#fff;
  box-shadow:0 16px 42px rgba(0,28,12,.08);
}
.updates-file-type{
  align-self:flex-start;
  padding:5px 11px;
  color:#fff;
  font-size:.78rem;
  font-weight:850;
  border-radius:999px;
  background:#003018;
}
.updates-file-card h2{font-size:1.35rem;color:#173126}
.updates-file-meta{color:#6b776f;font-size:.92rem}
.updates-file-name{overflow-wrap:anywhere;color:#364b41}
.updates-download{align-self:flex-start;margin-top:auto}
.directory-updates-card{
  background-image:
    linear-gradient(180deg,rgba(22,53,43,.06),rgba(22,53,43,.86)),
    url("assets/beit-midrash-hero.webp")!important;
}
@media(max-width:900px){.updates-file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .updates-hero{padding:68px 0 58px}
  .updates-file-grid{grid-template-columns:1fr}
  .updates-file-card{min-height:250px}
}

/* Homepage directory card artwork */
.torah-directory .directory-card.directory-qna-card{
  background-image:
    linear-gradient(180deg,rgba(0,24,12,.04) 12%,rgba(0,25,13,.36) 55%,rgba(0,21,11,.94) 100%),
    url("assets/directory-qna-premium.webp")!important;
  background-position:center 54%!important;
  background-size:cover!important;
}

.torah-directory .directory-card.directory-ask-card{
  background-image:
    linear-gradient(180deg,rgba(0,24,12,.03) 10%,rgba(0,25,13,.34) 54%,rgba(0,21,11,.95) 100%),
    url("assets/directory-ask-rabbi-premium.webp")!important;
  background-position:center 57%!important;
  background-size:cover!important;
}

@media(max-width:560px){
  .torah-directory .directory-card.directory-qna-card{
    background-position:center 57%!important;
  }

  .torah-directory .directory-card.directory-ask-card{
    background-position:center 55%!important;
  }
}

/* Donation button remains the original premium gold */
html body .site-header .main-nav .nav-donate,
html body .site-header .main-nav .nav-donate[aria-current="page"]{
  color:#fff!important;
  background:#b39434 linear-gradient(135deg,#8f6820 0%,#b8922e 42%,#dfc75d 100%)!important;
  border:1px solid rgba(255,235,157,.5)!important;
  box-shadow:0 10px 22px rgba(154,116,43,.22),inset 0 1px 0 rgba(255,255,255,.38)!important;
}

*** End of File
/* Keep the donation command gold */
html body .site-header .main-nav .nav-donate,
html body .site-header .main-nav .nav-donate[aria-current="page"]{
  color:#fff!important;
  background-color:#b39434!important;
  background-image:linear-gradient(135deg,#8f6820 0%,#b8922e 42%,#dfc75d 100%)!important;
  background-position:center!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  border:1px solid rgba(255,235,157,.5)!important;
  box-shadow:
    0 10px 22px rgba(154,116,43,.22),
    inset 0 1px 0 rgba(255,255,255,.38)!important;
}

body .main-nav .nav-donate,
body .main-nav .nav-donate[aria-current="page"]{
  color:#fff!important;
  background-color:#b39434!important;
  background-image:linear-gradient(135deg,#8f6820 0%,#b8922e 42%,#dfc75d 100%)!important;
  background-position:center!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  border:1px solid rgba(255,235,157,.5)!important;
  box-shadow:
    0 10px 22px rgba(154,116,43,.22),
    inset 0 1px 0 rgba(255,255,255,.38)!important;
}

body .btn.btn-primary,
body .main-nav .nav-donate,
body .premium-store-book .book-add-btn,
body .premium-store-book .book-qty button,
body .accessibility-toggle{
  background-color:#003018!important;
  background-image:
    linear-gradient(135deg,rgba(0,45,20,.1),rgba(0,12,5,.3)),
    url("assets/torat-avi-green-texture-clean.webp")!important;
  background-position:center!important;
  background-size:260px auto!important;
  background-repeat:no-repeat!important;
}

body .btn.btn-primary,
body .main-nav .nav-donate,
body .premium-store-book .book-add-btn,
body .premium-store-book .book-qty button,
body .accessibility-toggle{
  background-color:#003018!important;
  background-image:
    linear-gradient(135deg,rgba(0,45,20,.1),rgba(0,12,5,.3)),
    url("assets/torat-avi-green-texture-clean.webp")!important;
  background-position:center!important;
  background-size:260px auto!important;
  background-repeat:no-repeat!important;
}

/* Definitive site-wide emerald texture */
.site-footer,
.legal-hero,
.premium-books-hero,
.premium-store-book.is-featured[data-book-key="mamonot"],
.qna-hero,
.donation-hero,
.ask-hero,
.page-hero.soul-hero,
.page-hero.levado-hero:not(.nefesh-hero){
  background-color:#001c0c!important;
  background-image:
    linear-gradient(135deg,rgba(0,16,7,.08),rgba(0,35,16,.16)),
    url("assets/torat-avi-green-texture-clean.webp")!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}

.btn-primary,
.nav-donate,
.book-add-btn,
.premium-store-book .book-qty button,
.premium-store-book.is-featured .book-qty button,
.accessibility-toggle,
.qna-search button,
.qna-hero-search button{
  background-color:#003018!important;
  background-image:
    linear-gradient(135deg,rgba(0,45,20,.1),rgba(0,12,5,.3)),
    url("assets/torat-avi-green-texture-clean.webp")!important;
  background-position:center!important;
  background-size:260px auto!important;
  background-repeat:no-repeat!important;
}

/* Site-wide emerald texture */
:root{
  --brand-green:#003018;
  --brand-green-dark:#001c0c;
  --brand-green-deep:#001409;
  --forest:#003018;
  --sage-dark:#003018;
  --emerald-texture:url("assets/torat-avi-green-texture-clean.webp");
}

.site-footer,
.legal-hero,
.premium-books-hero,
.premium-store-book.is-featured[data-book-key="mamonot"],
.qna-hero,
.donation-hero,
.ask-hero,
.page-hero.soul-hero,
.page-hero.levado-hero:not(.nefesh-hero){
  background-color:#001c0c!important;
  background-image:
    linear-gradient(135deg,rgba(0,16,7,.08),rgba(0,35,16,.16)),
    var(--emerald-texture)!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}

.btn-primary,
.nav-donate,
.book-add-btn,
.premium-store-book .book-qty button,
.accessibility-toggle,
.qna-search button,
.qna-hero-search button{
  background-color:#003018!important;
  background-image:
    linear-gradient(135deg,rgba(0,45,20,.12),rgba(0,12,5,.28)),
    var(--emerald-texture)!important;
  background-position:center!important;
  background-size:260px auto!important;
  background-repeat:no-repeat!important;
}

.article-topic-hero::before,
.psakim-hero::before,
.page-hero.spark-premium-hero::before,
.about-rabbi-bg::after,
.home-live-hero::before{
  background-color:rgba(0,28,12,.22);
  background-blend-mode:multiply,normal;
}

/* Sun-shaped status seals for all books */
.premium-store-book .book-badge,
.premium-store-book.is-featured[data-book-key="mamonot"] .book-badge{
  width:86px!important;
  min-width:86px!important;
  height:86px!important;
  padding:13px!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  border:0!important;
  border-radius:0!important;
  clip-path:polygon(
    50% 0%,58% 9%,69% 4%,74% 16%,87% 13%,89% 27%,
    100% 34%,92% 45%,100% 55%,89% 63%,91% 77%,77% 79%,
    71% 93%,59% 87%,50% 100%,41% 87%,29% 93%,23% 79%,
    9% 77%,11% 63%,0% 55%,8% 45%,0% 34%,11% 27%,
    13% 13%,26% 16%,31% 4%,42% 9%
  )!important;
  color:#fffbed!important;
  background:
    radial-gradient(circle at 36% 28%,#f8e685 0 8%,#d6b631 32%,#a27a03 68%,#735300 100%)!important;
  box-shadow:none!important;
  filter:drop-shadow(0 10px 12px rgba(44,31,0,.3))!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:.92rem!important;
  line-height:1.05!important;
  font-weight:950!important;
  text-shadow:0 1px 4px rgba(65,43,0,.55)!important;
}

.premium-store-book .book-badge-sold-out{
  width:78px!important;
  min-width:78px!important;
  height:78px!important;
  padding:13px!important;
  font-size:.7rem!important;
}

.premium-store-book:not(.is-featured) .book-badge:not(.book-badge-sold-out){
  width:70px!important;
  min-width:70px!important;
  height:70px!important;
  padding:11px!important;
  font-size:.78rem!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .book-badge{
  top:8px!important;
  transform:translateX(-112px) rotate(-5deg)!important;
}

@media(max-width:680px){
  .premium-store-book .book-badge{
    width:66px!important;
    min-width:66px!important;
    height:66px!important;
    padding:10px!important;
    font-size:.75rem!important;
  }

  .premium-store-book .book-badge-sold-out{
    width:76px!important;
    min-width:76px!important;
    height:76px!important;
    padding:12px!important;
    font-size:.67rem!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .book-badge{
    top:10px!important;
    left:50%!important;
    width:82px!important;
    min-width:82px!important;
    height:82px!important;
    transform:translateX(-124px) rotate(-5deg)!important;
    font-size:.88rem!important;
  }

  .premium-store-book:not(.is-featured) .premium-book-meta[hidden]{
    display:none!important;
  }

  .premium-store-book:not(.is-featured) .premium-book-visual{
    position:relative!important;
  }

  .premium-store-book:not(.is-featured) .book-badge{
    top:24px!important;
    right:8px!important;
    left:auto!important;
    transform:rotate(5deg)!important;
  }

  .premium-store-book:not(.is-featured) .book-actions{
    grid-row:4 / 6!important;
    width:100%!important;
    min-height:46px!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    margin:8px 0 0!important;
  }

  .premium-store-book:not(.is-featured) .book-qty{
    flex:0 1 140px!important;
    width:140px!important;
    min-width:0!important;
  }

  .premium-store-book:not(.is-featured) .book-add-btn{
    flex:0 1 100px!important;
    width:100px!important;
    min-width:0!important;
    padding:0 10px!important;
  }
}

/* Books hero final composition: centered copy, transparent volume behind */
.premium-books-hero .section-inner{
  min-height:225px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  isolation:isolate!important;
}

.books-hero-copy{
  position:absolute!important;
  z-index:3!important;
  left:50%!important;
  top:50%!important;
  width:min(820px,90vw)!important;
  transform:translate(-50%,-50%)!important;
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
}

.books-hero-open-book{
  position:absolute!important;
  z-index:1!important;
  left:clamp(-150px,-7vw,-70px)!important;
  bottom:clamp(-185px,-12vw,-112px)!important;
  width:clamp(480px,46vw,650px)!important;
  min-height:0!important;
  display:block!important;
  margin:0!important;
  perspective:none!important;
  pointer-events:none!important;
  opacity:.48!important;
  filter:drop-shadow(28px 34px 34px rgba(0,0,0,.34))!important;
}

.books-hero-open-book::before,
.books-hero-open-book::after{
  display:none!important;
  content:none!important;
}

.books-hero-open-book img{
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  filter:saturate(.78) sepia(.12) brightness(.76) contrast(1.05)!important;
  opacity:1!important;
  transform:rotate(-7deg) rotateY(4deg)!important;
  transform-origin:center center!important;
  -webkit-mask-image:linear-gradient(100deg,#000 45%,rgba(0,0,0,.86) 70%,transparent 100%)!important;
  mask-image:linear-gradient(100deg,#000 45%,rgba(0,0,0,.86) 70%,transparent 100%)!important;
}

.premium-books-hero .books-hero-title,
.premium-books-hero .books-hero-subtitle{
  position:relative!important;
  z-index:2!important;
}

@media(max-width:760px){
  .premium-books-hero{
    min-height:330px!important;
    padding:42px 0 34px!important;
  }

  .premium-books-hero .section-inner{
    min-height:250px!important;
  }

  .books-hero-open-book{
    left:-92px!important;
    bottom:-62px!important;
    width:390px!important;
    opacity:.34!important;
    filter:drop-shadow(18px 22px 24px rgba(0,0,0,.3))!important;
  }

  .books-hero-open-book img{
    transform:rotate(-8deg)!important;
    filter:saturate(.74) sepia(.12) brightness(.7) contrast(1.04)!important;
    -webkit-mask-image:linear-gradient(92deg,#000 38%,rgba(0,0,0,.72) 68%,transparent 96%)!important;
    mask-image:linear-gradient(92deg,#000 38%,rgba(0,0,0,.72) 68%,transparent 96%)!important;
  }

  .books-hero-copy{
    top:44%!important;
    width:min(360px,92vw)!important;
  }
}

/* About closing CTA: center the whole content block inside the section */
.about-cta-section{
  display:grid!important;
  place-items:center!important;
}
.about-cta-card{
  width:min(1240px,94vw)!important;
  margin-inline:auto!important;
  display:grid!important;
  justify-items:center!important;
  align-content:center!important;
  text-align:center!important;
}
.about-cta-actions{
  justify-content:center!important;
}

/* Piskei din hero: quiet photographic justice decorations */
.psakim-hero{
  position:relative!important;
  overflow:hidden!important;
}
.psakim-hero::before{
  z-index:1!important;
}
.psakim-hero::after{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:34%!important;
  pointer-events:none!important;
  background:
    radial-gradient(ellipse at 16% 86%,rgba(0,0,0,.36),transparent 23%),
    radial-gradient(ellipse at 86% 88%,rgba(0,0,0,.34),transparent 24%),
    linear-gradient(180deg,transparent,rgba(0,18,8,.22))!important;
}
.psakim-hero .section-inner{
  position:relative!important;
  z-index:4!important;
}
.psakim-hero-symbol{
  position:absolute!important;
  z-index:3!important;
  height:auto!important;
  object-fit:contain!important;
  pointer-events:none!important;
  user-select:none!important;
  opacity:.92!important;
  mix-blend-mode:normal!important;
  filter:
    sepia(6%)
    saturate(112%)
    brightness(102%)
    contrast(118%)
    drop-shadow(0 36px 28px rgba(0,0,0,.58))
    drop-shadow(0 9px 9px rgba(0,0,0,.42))
    drop-shadow(0 0 22px rgba(221,202,98,.18))!important;
}
.psakim-hero-symbol-scales{
  right:clamp(-18px,2.4vw,42px)!important;
  top:auto!important;
  bottom:clamp(-74px,-4.2vw,-34px)!important;
  width:clamp(250px,22vw,380px)!important;
  transform:rotate(0deg)!important;
  opacity:.9!important;
}
.psakim-hero-symbol-gavel{
  left:clamp(-28px,2vw,34px)!important;
  top:auto!important;
  bottom:clamp(18px,3.2vw,42px)!important;
  width:clamp(260px,23vw,390px)!important;
  transform:rotate(0deg)!important;
  opacity:.94!important;
}
@media(max-width:640px){
  .psakim-hero{
    min-height:360px!important;
  }
  .psakim-hero-symbol{
    filter:
      sepia(6%)
      saturate(105%)
      brightness(92%)
      contrast(112%)
      drop-shadow(0 10px 14px rgba(0,0,0,.42))
      drop-shadow(0 0 12px rgba(221,202,98,.14))!important;
  }
  .psakim-hero-symbol-gavel{
    left:6px!important;
    top:18px!important;
    bottom:auto!important;
    width:128px!important;
    transform:rotate(0deg)!important;
    opacity:.76!important;
  }
  .psakim-hero-symbol-scales{
    right:6px!important;
    top:auto!important;
    bottom:-18px!important;
    width:112px!important;
    transform:rotate(0deg)!important;
    opacity:.76!important;
  }
}
@media(max-width:420px){
  .psakim-hero{
    min-height:340px!important;
  }
  .psakim-hero-symbol-gavel{
    left:4px!important;
    top:16px!important;
    bottom:auto!important;
    width:118px!important;
    opacity:.72!important;
  }
  .psakim-hero-symbol-scales{
    right:4px!important;
    bottom:-18px!important;
    width:104px!important;
    opacity:.72!important;
  }
}

/* Final mobile override: keep the homepage books-section volume centered and prominent */
@media(max-width:860px){
  .home-books-feature .books-home{
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-items:center!important;
    align-items:center!important;
    gap:14px!important;
    min-height:auto!important;
  }

  .home-books-feature .books-feature-copy{
    display:contents!important;
  }

  .home-books-feature .books-bg-title{
    order:1!important;
    text-align:center!important;
  }

  .home-books-feature .books-feature-copy h2{
    order:2!important;
    text-align:center!important;
  }

  .home-books-feature .real-book-showcase{
    order:3!important;
    width:100%!important;
    min-height:380px!important;
    display:grid!important;
    place-items:center!important;
    justify-items:center!important;
    overflow:visible!important;
    transform:none!important;
    margin:2px auto 0!important;
  }

  .home-books-feature .book-float-wrap{
    width:min(360px,78vw)!important;
    margin-inline:auto!important;
    justify-self:center!important;
    transform-origin:center center!important;
  }

  .home-books-feature .book-float-wrap .main-book,
  .home-books-feature .book-photo.main-book,
  .home-books-feature .main-book{
    width:100%!important;
    max-width:100%!important;
    justify-self:center!important;
    filter:
      drop-shadow(0 28px 34px rgba(0,0,0,.25))
      drop-shadow(0 0 30px rgba(184,158,20,.28))!important;
  }

  .home-books-feature .books-feature-copy .btn{
    order:4!important;
    justify-self:center!important;
    margin:0 auto!important;
  }
}

@media(max-width:480px){
  .home-books-feature .real-book-showcase{
    min-height:350px!important;
  }

  .home-books-feature .book-float-wrap{
    width:min(315px,76vw)!important;
  }
}

/* Premium back-to-top control */
.back-to-top{
  width:46px!important;
  height:46px!important;
  left:18px!important;
  bottom:20px!important;
  border:1px solid rgba(221,202,98,.34)!important;
  border-radius:50%!important;
  color:#fffdf2!important;
  background:
    radial-gradient(circle at 32% 24%,rgba(255,247,189,.20),transparent 30%),
    linear-gradient(135deg,#001A0D 0%,#003018 78%)!important;
  box-shadow:
    0 14px 30px rgba(3,63,27,.22),
    0 0 0 4px rgba(255,255,255,.62),
    inset 0 1px 0 rgba(255,255,255,.20)!important;
  font-size:0!important;
  font-weight:900!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
}

.back-to-top::before{
  content:""!important;
  width:13px!important;
  height:13px!important;
  border-top:2px solid currentColor!important;
  border-right:2px solid currentColor!important;
  transform:translateY(4px) rotate(-45deg)!important;
}

.back-to-top::after{
  content:""!important;
  position:absolute!important;
  width:2px!important;
  height:20px!important;
  border-radius:999px!important;
  background:currentColor!important;
  transform:translateY(4px)!important;
  box-shadow:0 0 14px rgba(255,247,189,.45)!important;
}

.back-to-top:hover{
  transform:translateY(-2px)!important;
  box-shadow:
    0 18px 34px rgba(3,63,27,.28),
    0 0 0 4px rgba(255,255,255,.70),
    0 0 18px rgba(184,158,20,.16),
    inset 0 1px 0 rgba(255,255,255,.24)!important;
}

body.scrolled .back-to-top{
  opacity:1!important;
  transform:translateY(0)!important;
}

body.scrolled .back-to-top:hover{
  transform:translateY(-2px)!important;
}

@media(max-width:560px){
  .back-to-top{
    width:44px!important;
    height:44px!important;
    left:14px!important;
    bottom:16px!important;
  }
}

/* Final logo width adjustment: horizontal only, fixed header height */
.site-header .brand-logo-panel{
  height:58px!important;
  overflow:visible!important;
}

.site-header .brand-logo-img{
  height:58px!important;
  max-height:58px!important;
  transform:scaleX(1.18) scaleY(1)!important;
  transform-origin:center center!important;
}

@media(max-width:760px){
  .site-header .brand-logo-panel{
    width:min(64vw,240px)!important;
  }
}

/* Mobile footer accordions */
.footer-accordion-toggle{
  width:100%;
  border:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:inherit;
  background:transparent;
  font:inherit;
  text-align:inherit;
  cursor:default;
}

.footer-accordion-icon{
  display:none;
}

@media(max-width:760px){
  .site-footer .footer-grid.footer-grid-wide,
  .site-footer .footer-grid{
    gap:0!important;
  }

  .site-footer .footer-brand-logo{
    justify-items:center!important;
    text-align:center!important;
    margin-top:-18px!important;
    margin-bottom:12px!important;
  }

  .site-footer .footer-logo-img{
    margin-inline:auto!important;
  }

  .site-footer .footer-grid > div:not(.footer-brand){
    border-top:0!important;
  }

  .site-footer .footer-grid > div:not(.footer-brand):last-child{
    border-bottom:0!important;
  }

  .site-footer h3{
    margin:0!important;
  }

  .footer-accordion-toggle{
    min-height:52px;
    padding:0 2px;
    cursor:pointer;
  }

  .footer-accordion-icon{
    width:28px;
    height:28px;
    min-width:28px;
    display:grid;
    place-items:center;
    border:1px solid rgba(221,202,98,.38);
    border-radius:50%;
    background:rgba(255,255,255,.06);
  }

  .footer-accordion-icon::before,
  .footer-accordion-icon::after{
    content:"";
    position:absolute;
    width:12px;
    height:2px;
    border-radius:999px;
    background:#ddca62;
    transition:transform 180ms ease, opacity 180ms ease;
  }

  .footer-accordion-icon::after{
    transform:rotate(90deg);
  }

  .footer-accordion-ready.is-open .footer-accordion-icon::after{
    transform:rotate(0deg);
    opacity:0;
  }

  .footer-accordion-content{
    padding:0 0 16px!important;
  }

  .footer-accordion-content[hidden]{
    display:none!important;
  }
}

/* Final Spark hero polish */
.page-hero.spark-premium-hero .spark-hero-title{
  color:#b89e14!important;
  -webkit-text-fill-color:#b89e14!important;
  background:none!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3.45rem,8.6vw,7.8rem)!important;
  line-height:.88!important;
  font-weight:950!important;
  letter-spacing:0!important;
  text-shadow:
    0 1px 0 #f8e9a0,
    0 4px 0 rgba(85,61,12,.52),
    0 14px 34px rgba(0,0,0,.42),
    0 0 28px rgba(221,202,98,.22)!important;
  filter:drop-shadow(0 0 10px rgba(221,202,98,.20))!important;
}

.page-hero.spark-premium-hero .spark-hero-subtitle{
  color:rgba(255,255,255,.92)!important;
  -webkit-text-fill-color:rgba(255,255,255,.92)!important;
  font-size:clamp(1.12rem,2.4vw,1.9rem)!important;
  font-weight:850!important;
  line-height:1.55!important;
  text-shadow:0 5px 22px rgba(0,0,0,.42)!important;
}

@media(max-width:860px){
  .page-hero.spark-premium-hero .spark-hero-title{
    font-size:clamp(3rem,16vw,5.8rem)!important;
  }
}

/* Final desktop nav rails: elegant fade inside menu area only */
@media (min-width:1081px){
  .site-header .main-nav{
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    isolation:isolate!important;
  }

  .site-header .main-nav::before,
  .site-header .main-nav::after{
    content:""!important;
    display:block!important;
    position:absolute!important;
    left:50%!important;
    right:auto!important;
    width:calc(100% + 72px)!important;
    max-width:900px!important;
    height:12px!important;
    transform:translateX(-50%)!important;
    pointer-events:none!important;
    background:
      radial-gradient(circle at 50% 50%,rgba(255,247,189,.98) 0 2px,transparent 3px),
      radial-gradient(circle at 34% 50%,rgba(184,158,20,.68) 0 2px,transparent 3px),
      radial-gradient(circle at 66% 50%,rgba(184,158,20,.68) 0 2px,transparent 3px),
      linear-gradient(90deg,transparent 0%,rgba(184,158,20,.10) 12%,rgba(184,158,20,.50) 27%,rgba(255,247,189,.78) 50%,rgba(184,158,20,.50) 73%,rgba(184,158,20,.10) 88%,transparent 100%) center/100% 1px no-repeat!important;
    opacity:.82!important;
    filter:drop-shadow(0 0 8px rgba(184,158,20,.18))!important;
  }

  .site-header .main-nav::before{
    top:-8px!important;
  }

  .site-header .main-nav::after{
    bottom:-8px!important;
  }
}

/* Final desktop logo: wider without changing header height */
@media (min-width:1081px){
  .site-header .brand-logo-panel{
    height:58px!important;
    width:clamp(190px,16.5vw,250px)!important;
    overflow:visible!important;
  }

  .site-header .brand-logo-img{
    height:58px!important;
    max-height:58px!important;
    width:100%!important;
    object-fit:contain!important;
    transform:scaleX(1.18) scaleY(1)!important;
    transform-origin:center center!important;
  }
}

/* Final Spark hero luxury treatment */
.page-hero.spark-premium-hero{
  isolation:isolate!important;
  border-bottom:0!important;
  background:
    linear-gradient(90deg,rgba(0,28,12,.88),rgba(4,70,33,.30),rgba(0,28,12,.90)),
    radial-gradient(circle at 50% 45%,rgba(255,247,189,.24),transparent 28%),
    url("assets/spark-hero-nitzotz-refined.jpg") center center/cover no-repeat!important;
}

.page-hero.spark-premium-hero::before{
  z-index:0!important;
  background:
    linear-gradient(180deg,rgba(255,247,189,.22),rgba(255,247,189,0) 18%,rgba(0,0,0,0) 78%,rgba(255,247,189,.18)),
    radial-gradient(circle at 50% 44%,rgba(255,247,189,.26),rgba(221,202,98,.10) 18%,transparent 38%),
    linear-gradient(90deg,rgba(0,22,8,.78),rgba(0,22,8,.16),rgba(0,22,8,.78))!important;
}

.page-hero.spark-premium-hero .section-inner{
  min-height:250px!important;
  width:min(1040px,92vw)!important;
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  padding:42px 28px 46px!important;
}

.page-hero.spark-premium-hero .section-inner::before,
.page-hero.spark-premium-hero .section-inner::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  width:min(620px,74vw)!important;
  height:1px!important;
  transform:translateX(-50%)!important;
  background:
    radial-gradient(circle,#fff7bd 0 3px,transparent 4px) center/18px 18px no-repeat,
    linear-gradient(90deg,transparent,#b89e14 18%,#fff7bd 50%,#b89e14 82%,transparent)!important;
  box-shadow:0 0 22px rgba(221,202,98,.34)!important;
  opacity:.96!important;
  pointer-events:none!important;
}

.page-hero.spark-premium-hero .section-inner::before{
  top:10px!important;
}

.page-hero.spark-premium-hero .section-inner::after{
  display:none!important;
}

.page-hero.spark-premium-hero .spark-hero-title{
  position:relative!important;
}

.page-hero.spark-premium-hero .spark-hero-title::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:-34px -70px -26px!important;
  border-radius:50%!important;
  background:
    radial-gradient(ellipse at center,rgba(255,247,189,.18),rgba(221,202,98,.08) 42%,transparent 72%)!important;
  filter:blur(2px)!important;
}

.page-hero.spark-premium-hero .spark-hero-subtitle{
  padding-top:2px!important;
}

@media(max-width:860px){
  .page-hero.spark-premium-hero .section-inner{
    min-height:218px!important;
    padding:34px 16px 38px!important;
  }

  .page-hero.spark-premium-hero .section-inner::before,
  .page-hero.spark-premium-hero .section-inner::after{
    width:min(430px,76vw)!important;
  }
}

/* Premium Choshen Mishpat Q&A layout */
.choshen-mishpat-list{
  width:min(1120px,100%)!important;
  margin:0 auto!important;
  display:grid!important;
  gap:14px!important;
}

.choshen-item{
  overflow:hidden!important;
  border:1px solid rgba(0,48,24,.12)!important;
  border-radius:22px 6px 22px 6px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 18px 44px rgba(0,48,24,.08)!important;
}

.choshen-item > button{
  width:100%!important;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 34px!important;
  align-items:center!important;
  gap:16px!important;
  border:0!important;
  padding:20px 24px!important;
  color:var(--forest)!important;
  background:
    linear-gradient(90deg,rgba(221,202,98,.10),transparent 45%),
    rgba(255,255,255,.86)!important;
  font:inherit!important;
  text-align:right!important;
  cursor:pointer!important;
}

.choshen-number{
  width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  color:#fff!important;
  background:linear-gradient(135deg,#003018,#001A0D)!important;
  box-shadow:0 10px 22px rgba(0,48,24,.16)!important;
  font-weight:950!important;
}

.choshen-head{
  display:grid!important;
  gap:4px!important;
}

.choshen-meta{
  color:#b89e14!important;
  font-size:.88rem!important;
  font-weight:900!important;
}

.choshen-head strong{
  color:#073c1b!important;
  font-size:clamp(1.08rem,1.55vw,1.42rem)!important;
  line-height:1.35!important;
  font-weight:950!important;
}

.choshen-open-icon{
  position:relative!important;
  width:30px!important;
  height:30px!important;
  border-radius:50%!important;
  border:1px solid rgba(0,48,24,.16)!important;
  background:#fffdf8!important;
}

.choshen-open-icon::before,
.choshen-open-icon::after{
  content:""!important;
  position:absolute!important;
  inset:50% auto auto 50%!important;
  width:14px!important;
  height:2px!important;
  border-radius:999px!important;
  background:#003018!important;
  transform:translate(-50%,-50%)!important;
}

.choshen-open-icon::after{
  transform:translate(-50%,-50%) rotate(90deg)!important;
  transition:opacity 160ms ease!important;
}

.choshen-item.is-open .choshen-open-icon::after{
  opacity:0!important;
}

.choshen-body{
  padding:0 26px 22px!important;
  border-top:1px solid rgba(0,48,24,.10)!important;
}

.choshen-overview{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  margin:14px 0 18px!important;
}

.choshen-divider{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:22px 0 14px!important;
  min-height:28px!important;
  text-align:center!important;
}

.choshen-divider::before,
.choshen-divider::after{
  content:""!important;
  height:1px!important;
  flex:1 1 auto!important;
  background:
    linear-gradient(90deg,transparent,rgba(184,158,20,.34),rgba(0,48,24,.20))!important;
}

.choshen-divider::after{
  background:
    linear-gradient(90deg,rgba(0,48,24,.20),rgba(184,158,20,.34),transparent)!important;
}

.choshen-divider span{
  display:inline-grid!important;
  place-items:center!important;
  min-height:34px!important;
  margin:0 14px!important;
  padding:5px 18px!important;
  border:1px solid rgba(184,158,20,.28)!important;
  border-radius:999px!important;
  color:#9f8610!important;
  background:
    linear-gradient(180deg,rgba(255,253,248,.98),rgba(244,238,213,.76))!important;
  box-shadow:0 10px 26px rgba(0,48,24,.06), inset 0 0 0 1px rgba(255,255,255,.62)!important;
  font-size:.94rem!important;
  font-weight:950!important;
}

.choshen-divider-full{
  margin:22px 0 0!important;
}

.choshen-divider-full span{
  color:#002611!important;
  border-color:rgba(0,48,24,.18)!important;
  background:
    linear-gradient(180deg,rgba(240,246,238,.96),rgba(255,253,248,.92))!important;
}

.choshen-overview-card{
  padding:18px!important;
  border:1px solid rgba(0,48,24,.12)!important;
  border-radius:18px 6px 18px 6px!important;
  background:linear-gradient(180deg,rgba(255,253,248,.98),rgba(240,246,238,.82))!important;
}

.choshen-ruling{
  background:
    linear-gradient(180deg,rgba(0,48,24,.08),rgba(255,253,248,.94))!important;
}

.choshen-overview-card span{
  color:#b89e14!important;
  font-weight:950!important;
}

.choshen-overview-card p{
  margin:8px 0 0!important;
  color:#12351f!important;
  font-weight:800!important;
  line-height:1.85!important;
  font-size:clamp(1rem,1.45vw,1.16rem)!important;
}

.choshen-body > p{
  margin:0!important;
  padding:15px 0!important;
  border-top:1px dashed rgba(0,48,24,.16)!important;
  color:#182d22!important;
  line-height:1.68!important;
  font-size:1rem!important;
  white-space:pre-wrap!important;
}

.choshen-body > p:first-of-type{
  border-top:0!important;
}

.choshen-body strong{
  color:#12351f!important;
  font-weight:900!important;
}

.choshen-body .doc-list-paragraph{
  grid-template-columns:34px minmax(0,1fr)!important;
  gap:8px!important;
}

@media(max-width:760px){
  .choshen-item > button{
    grid-template-columns:46px minmax(0,1fr) 28px!important;
    gap:10px!important;
    padding:16px 14px!important;
  }

  .choshen-number{
    width:38px!important;
    height:38px!important;
    font-size:.88rem!important;
  }

  .choshen-open-icon{
    width:26px!important;
    height:26px!important;
  }

  .choshen-body{
    padding:0 14px 18px!important;
  }

  .choshen-overview{
    grid-template-columns:1fr!important;
    margin:16px 0!important;
  }
}

/* Mobile-only PWA install prompt */
.install-app-button{
  display:none;
}

@media(max-width:760px){
  .install-app-button:not([hidden]){
    position:fixed;
    z-index:9998;
    right:auto;
    bottom:calc(14px + env(safe-area-inset-bottom));
    left:50%;
    display:grid;
    place-items:center;
    width:auto;
    min-width:170px;
    min-height:42px;
    padding:0 20px;
    border:1px solid rgba(221,202,98,.38);
    border-radius:999px;
    color:#fff;
    background:linear-gradient(135deg,#002611,#043315);
    box-shadow:0 16px 34px rgba(0,48,24,.22), inset 0 0 0 1px rgba(255,255,255,.14);
    font:800 .82rem/1.2 inherit;
    font-weight:950;
    cursor:pointer;
    transform:translateX(-50%);
    opacity:1;
    transition:opacity .28s ease, transform .28s ease, visibility .28s ease;
  }

  .install-app-button:not([hidden]).is-away-from-top{
    opacity:0;
    pointer-events:none;
    visibility:hidden;
    transform:translate(-50%,18px);
  }
}

/* Shared book details modal */
[data-book-key]{
  cursor:pointer;
}

[data-book-key]:focus-visible{
  outline:3px solid rgba(221,202,98,.72)!important;
  outline-offset:4px!important;
}

.premium-store-book[data-book-key]{
  transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease!important;
}

.premium-store-book[data-book-key]:hover{
  transform:translateY(-5px)!important;
  border-color:rgba(184,158,20,.48)!important;
}

.premium-store-book.is-unavailable .book-qty,
.premium-store-book.is-unavailable .book-add-btn{
  opacity:.52!important;
}

.premium-store-book.is-unavailable .book-qty button,
.premium-store-book.is-unavailable .book-add-btn{
  cursor:not-allowed!important;
}

.book-badge-sold-out{
  min-width:max-content!important;
}

.about-book-item{
  position:relative!important;
}

.about-book-item[data-book-key]{
  transition:transform .24s ease, filter .24s ease!important;
}

.about-book-item[data-book-key]:hover{
  transform:translateY(-7px)!important;
  filter:drop-shadow(0 18px 24px rgba(0,48,24,.18))!important;
}

.about-book-status{
  position:absolute;
  z-index:3;
  top:10px;
  right:10px;
  display:grid;
  place-items:center;
  min-height:30px;
  padding:4px 12px;
  border:1px solid rgba(255,244,188,.58);
  border-radius:999px;
  color:#fff8cf;
  background:rgba(0,38,17,.92);
  box-shadow:0 10px 24px rgba(0,0,0,.2);
  font-size:.78rem;
  font-weight:950;
}

.book-details-modal{
  position:fixed;
  z-index:10050;
  inset:0;
  display:grid;
  place-items:center;
  padding:28px;
  background:rgba(0,18,8,.76);
  backdrop-filter:blur(10px);
}

.book-details-modal[hidden]{
  display:none!important;
}

.book-details-dialog{
  position:relative;
  width:min(940px,94vw);
  max-height:min(760px,90vh);
  display:grid;
  grid-template-columns:minmax(260px,340px) minmax(0,1fr);
  overflow:auto;
  border:1px solid rgba(221,202,98,.58);
  border-radius:22px 7px 22px 7px;
  color:#fffdf0;
  background:
    radial-gradient(circle at 78% 8%,rgba(221,202,98,.14),transparent 30%),
    linear-gradient(145deg,#00351b 0%,#002611 58%,#001a0d 100%);
  box-shadow:
    0 34px 90px rgba(0,0,0,.48),
    inset 0 0 0 1px rgba(255,255,255,.06);
  scrollbar-width:thin;
  scrollbar-color:#ddca62 rgba(0,24,12,.58);
}

.book-details-dialog::-webkit-scrollbar{
  width:8px;
}

.book-details-dialog::-webkit-scrollbar-track{
  background:rgba(0,24,12,.58);
}

.book-details-dialog::-webkit-scrollbar-thumb{
  border:2px solid rgba(0,24,12,.58);
  border-radius:999px;
  background:#ddca62;
}

.book-details-dialog::before{
  content:"";
  position:absolute;
  inset:13px;
  pointer-events:none;
  border:1px solid rgba(221,202,98,.17);
  border-radius:15px 4px 15px 4px;
}

.book-details-close{
  position:absolute;
  z-index:5;
  top:16px;
  left:16px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,244,188,.46);
  border-radius:50%;
  color:#fff7c7;
  background:rgba(0,24,12,.72);
  box-shadow:0 10px 24px rgba(0,0,0,.24);
  font:400 1.85rem/1 Arial,sans-serif;
  cursor:pointer;
}

.book-details-close:hover{
  color:#002611;
  background:#ddca62;
}

.book-details-visual{
  position:relative;
  min-height:520px;
  display:grid;
  place-items:center;
  padding:62px 26px 34px;
  overflow:hidden;
  border-left:1px solid rgba(221,202,98,.22);
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.12),transparent 43%),
    linear-gradient(180deg,rgba(221,202,98,.12),rgba(0,24,12,.18));
}

.book-details-visual::after{
  content:"";
  position:absolute;
  inset:auto 12% 24px;
  height:24px;
  border-radius:50%;
  background:rgba(0,0,0,.32);
  filter:blur(12px);
}

.book-details-visual img{
  position:relative;
  z-index:1;
  width:min(250px,78%);
  max-height:410px;
  object-fit:contain;
  filter:drop-shadow(18px 26px 22px rgba(0,0,0,.42));
}

.book-details-status{
  position:absolute;
  z-index:3;
  top:24px;
  right:24px;
  min-height:34px;
  display:grid;
  place-items:center;
  padding:5px 15px;
  border:1px solid rgba(255,244,188,.58);
  border-radius:999px;
  color:#002611;
  background:linear-gradient(180deg,#f4e7a5,#c9a928);
  box-shadow:0 12px 28px rgba(0,0,0,.24);
  font-weight:950;
}

.book-details-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:72px clamp(34px,5vw,68px) 54px;
  text-align:right;
}

.book-details-kicker{
  color:#ddca62;
  font-size:1.02rem;
  font-weight:900;
}

.book-details-copy h2{
  margin:7px 0 0;
  color:#fff9dc;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(2.4rem,4.2vw,4.4rem);
  line-height:1.05;
  letter-spacing:0;
}

.book-details-rule{
  width:min(330px,76%);
  height:15px;
  margin:22px 0 20px auto;
  background:
    radial-gradient(circle,#f4e7a5 0 3px,transparent 4px) center/48px 100% repeat-x,
    linear-gradient(90deg,transparent,#b89e14 22%,#f4e7a5 50%,#b89e14 78%,transparent) center/100% 1px no-repeat;
}

.book-details-text{
  display:grid;
  gap:10px;
}

.book-details-text:empty{
  display:none;
}

.book-details-text p{
  margin:0;
  color:rgba(255,253,240,.9);
  font-size:clamp(1.02rem,1.35vw,1.18rem);
  line-height:1.82;
}

.book-details-meta{
  align-self:flex-start;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:46px;
  margin-top:28px;
  padding:8px 18px;
  border:1px solid rgba(221,202,98,.34);
  border-radius:999px;
  background:rgba(255,255,255,.06);
}

.book-details-meta[hidden]{
  display:none!important;
}

.book-details-meta strong{
  color:#f4e7a5;
  font-size:1.25rem;
}

.book-details-meta span{
  color:rgba(255,255,255,.7);
}

@media(max-width:700px){
  .book-details-modal{
    align-items:end;
    padding:12px;
  }

  .book-details-dialog{
    width:100%;
    max-height:92vh;
    grid-template-columns:1fr;
    border-radius:22px 22px 7px 7px;
  }

  .book-details-dialog::before{
    inset:9px;
  }

  .book-details-close{
    position:sticky;
    top:12px;
    left:12px;
    margin:12px 12px -54px;
    justify-self:start;
  }

  .book-details-visual{
    min-height:300px;
    padding:48px 24px 20px;
    border-left:0;
    border-bottom:1px solid rgba(221,202,98,.2);
  }

  .book-details-visual img{
    width:min(180px,55vw);
    max-height:255px;
  }

  .book-details-status{
    top:18px;
    right:18px;
  }

  .book-details-copy{
    padding:30px 24px 38px;
    text-align:center;
  }

  .book-details-copy h2{
    font-size:clamp(2.15rem,11vw,3.15rem);
  }

  .book-details-rule{
    margin-inline:auto;
  }

  .book-details-text p{
    font-size:1rem;
    line-height:1.72;
  }

  .book-details-meta{
    align-self:center;
    margin-top:22px;
  }
}

/* Compact modern book popup */
.book-details-modal{
  padding:20px!important;
  background:rgba(0,18,8,.58)!important;
  backdrop-filter:blur(8px)!important;
  animation:bookModalFadeIn .22s ease both;
}

.book-details-dialog{
  width:min(520px,92vw)!important;
  max-height:min(620px,86vh)!important;
  display:block!important;
  overflow:auto!important;
  border:1px solid rgba(221,202,98,.46)!important;
  border-radius:14px!important;
  background:
    linear-gradient(145deg,rgba(0,56,28,.98),rgba(0,35,17,.99))!important;
  box-shadow:
    0 24px 70px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.07)!important;
  animation:bookDialogEnter .34s cubic-bezier(.2,.82,.2,1) both;
}

.book-details-dialog::before{
  display:none!important;
}

.book-details-close{
  top:14px!important;
  left:14px!important;
  width:34px!important;
  height:34px!important;
  border-color:rgba(221,202,98,.38)!important;
  color:#f4e7a5!important;
  background:rgba(0,24,12,.48)!important;
  box-shadow:none!important;
  font-size:1.45rem!important;
  transition:transform .18s ease, background .18s ease, color .18s ease!important;
}

.book-details-close:hover{
  color:#002611!important;
  background:#ddca62!important;
  transform:rotate(90deg)!important;
}

.book-details-copy{
  display:block!important;
  padding:50px 38px 36px!important;
  text-align:right!important;
}

.book-details-heading{
  min-height:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-left:36px;
}

.book-details-kicker{
  color:#ddca62!important;
  font-size:.94rem!important;
}

.book-details-status{
  position:static!important;
  min-height:28px!important;
  padding:3px 11px!important;
  border-color:rgba(255,244,188,.42)!important;
  color:#002611!important;
  background:#ddca62!important;
  box-shadow:none!important;
  font-size:.78rem!important;
}

.book-details-status[hidden]{
  display:none!important;
}

.book-details-copy h2{
  margin:8px 0 0!important;
  font-size:clamp(2rem,4vw,2.8rem)!important;
  line-height:1.08!important;
}

.book-details-rule{
  width:72px!important;
  height:2px!important;
  margin:17px 0 20px auto!important;
  border-radius:999px;
  background:linear-gradient(90deg,#b89e14,#f4e7a5)!important;
}

.book-details-text{
  gap:8px!important;
}

.book-details-text p{
  font-size:1rem!important;
  line-height:1.68!important;
}

.book-details-meta{
  min-height:38px!important;
  margin-top:22px!important;
  padding:5px 14px!important;
  border-color:rgba(221,202,98,.3)!important;
  background:rgba(255,255,255,.055)!important;
}

.book-details-meta strong{
  font-size:1.05rem!important;
}

@keyframes bookModalFadeIn{
  from{opacity:0}
  to{opacity:1}
}

@keyframes bookDialogEnter{
  from{
    opacity:0;
    transform:translateY(24px) scale(.94);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media(max-width:700px){
  .book-details-modal{
    align-items:center!important;
    padding:14px!important;
  }

  .book-details-dialog{
    width:min(420px,100%)!important;
    max-height:84vh!important;
    border-radius:12px!important;
  }

  .book-details-close{
    position:absolute!important;
    top:12px!important;
    left:12px!important;
    margin:0!important;
  }

  .book-details-copy{
    padding:48px 24px 28px!important;
    text-align:right!important;
  }

  .book-details-heading{
    padding-left:32px;
  }

  .book-details-copy h2{
    font-size:clamp(1.9rem,9vw,2.55rem)!important;
  }

  .book-details-rule{
    margin-right:0!important;
    margin-left:auto!important;
  }

  .book-details-text p{
    font-size:.96rem!important;
    line-height:1.64!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .book-details-modal,
  .book-details-dialog{
    animation:none!important;
  }
}

/* Living journey map: a winding route that advances with the visitor. */
.home-journey{
  min-height:1420px!important;
  background:
    linear-gradient(110deg,rgba(0,16,8,.97),rgba(0,57,29,.88),rgba(1,24,15,.97)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover fixed!important;
}
.home-journey::before{
  background:
    radial-gradient(circle at 15% 18%,rgba(232,199,78,.2),transparent 18%),
    radial-gradient(circle at 84% 73%,rgba(74,156,111,.2),transparent 23%),
    repeating-radial-gradient(ellipse at 50% 48%,transparent 0 58px,rgba(235,207,98,.045) 59px 60px,transparent 61px 96px),
    linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.018) 1px,transparent 1px)!important;
  background-size:auto,auto,100% 100%,92px 100%,100% 92px!important;
}
.home-journey-heading h2{
  background:linear-gradient(180deg,#fff,#f5e7ad 58%,#cfaa39)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
.home-journey-origin{
  margin-top:64px!important;
}
.home-journey-grid{
  min-height:900px!important;
  max-width:1060px!important;
  padding:0!important;
}
.home-journey-grid::before{
  display:none!important;
}
.home-journey-map{
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  overflow:visible!important;
  pointer-events:none!important;
}
.journey-route-shadow,
.journey-route-base,
.journey-route-progress{
  fill:none!important;
  vector-effect:non-scaling-stroke!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.journey-route-shadow{
  stroke:rgba(0,0,0,.46)!important;
  stroke-width:11!important;
  filter:blur(4px)!important;
}
.journey-route-base{
  stroke:rgba(221,190,75,.24)!important;
  stroke-width:2!important;
  stroke-dasharray:5 10!important;
}
.journey-route-progress{
  stroke:#e3c259!important;
  stroke-width:3.4!important;
  filter:drop-shadow(0 0 5px rgba(245,217,112,.72)) drop-shadow(0 0 16px rgba(245,217,112,.28))!important;
}
.journey-map-waypoints circle{
  fill:#0a432a!important;
  stroke:#e7ca65!important;
  stroke-width:2!important;
  vector-effect:non-scaling-stroke!important;
  filter:drop-shadow(0 0 7px rgba(237,208,98,.6))!important;
  animation:journey-map-marker 2.8s ease-in-out infinite!important;
}
.journey-map-waypoints circle:nth-child(2){animation-delay:.45s!important}
.journey-map-waypoints circle:nth-child(3){animation-delay:.9s!important}
.journey-map-waypoints circle:nth-child(4){animation-delay:1.35s!important}
.journey-traveler-halo{
  fill:rgba(242,215,113,.12)!important;
  stroke:rgba(242,215,113,.28)!important;
  stroke-width:1!important;
  vector-effect:non-scaling-stroke!important;
  animation:journey-traveler-halo 1.8s ease-in-out infinite!important;
}
.journey-traveler{
  fill:#fff3ad!important;
  stroke:#a37b12!important;
  stroke-width:2!important;
  vector-effect:non-scaling-stroke!important;
  filter:drop-shadow(0 0 6px #ffe99b) drop-shadow(0 0 18px rgba(245,214,95,.72))!important;
}
.home-journey-step,
.home-journey-step:nth-child(2),
.home-journey-step:nth-child(3),
.home-journey-step:nth-child(4){
  z-index:2!important;
  min-height:205px!important;
  padding:38px 44px!important;
  border:1px solid rgba(236,205,91,.13)!important;
  border-inline-start:3px solid rgba(226,193,72,.46)!important;
  background:
    linear-gradient(105deg,rgba(255,255,255,.065),rgba(255,255,255,.014)),
    radial-gradient(circle at 84% 50%,rgba(221,190,75,.08),transparent 32%)!important;
  box-shadow:0 24px 60px rgba(0,0,0,.11),inset 0 1px rgba(255,255,255,.055)!important;
  backdrop-filter:blur(2px)!important;
}
.home-journey-step:nth-of-type(2){margin-top:8px!important}
.home-journey-step:nth-of-type(3){margin-top:12px!important}
.home-journey-step:nth-of-type(4){margin-top:16px!important}
.home-journey-step::before,
.home-journey-step::after{
  display:none!important;
}
.home-journey-step small{
  position:relative!important;
  z-index:1!important;
  max-width:310px!important;
  margin-top:8px!important;
  color:rgba(255,255,255,.62)!important;
  font-size:.9rem!important;
  font-weight:650!important;
  line-height:1.55!important;
}
.home-journey-step:hover,
.home-journey-step:focus-visible{
  border-color:rgba(239,210,102,.35)!important;
  border-inline-start-color:#e8c95e!important;
  background:
    linear-gradient(105deg,rgba(237,207,96,.14),rgba(255,255,255,.025)),
    radial-gradient(circle at 84% 50%,rgba(221,190,75,.12),transparent 34%)!important;
  box-shadow:0 30px 70px rgba(0,0,0,.2),0 0 0 1px rgba(239,210,102,.08)!important;
}
.home-journey-destination{
  margin-top:34px!important;
}
.home-journey-destination::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  top:2px!important;
  left:50%!important;
  width:310px!important;
  height:150px!important;
  transform:translateX(-50%)!important;
  background:radial-gradient(ellipse,rgba(231,198,79,.16),transparent 67%)!important;
  filter:blur(5px)!important;
}
.home-journey-destination em{
  margin-top:14px!important;
  color:rgba(255,255,255,.64)!important;
  font-size:.78rem!important;
  font-style:normal!important;
  font-weight:800!important;
  word-spacing:.42em!important;
}
@keyframes journey-map-marker{
  0%,100%{r:7;opacity:.72}
  50%{r:10;opacity:1}
}
@keyframes journey-traveler-halo{
  0%,100%{r:14;opacity:.4}
  50%{r:23;opacity:1}
}
@media(max-width:860px){
  .home-journey{
    min-height:0!important;
    background:
      linear-gradient(110deg,rgba(0,20,10,.97),rgba(0,58,30,.9),rgba(1,25,16,.97)),
      url("assets/torat-avi-green-texture-clean.webp") center/cover!important;
  }
  .home-journey-grid{
    min-height:0!important;
    padding-right:42px!important;
  }
  .home-journey-map{
    display:none!important;
  }
  .home-journey-grid::before{
    content:""!important;
    position:absolute!important;
    display:block!important;
    top:0!important;
    right:20px!important;
    bottom:0!important;
    width:3px!important;
    height:auto!important;
    transform:none!important;
    background:repeating-linear-gradient(180deg,#8c6814 0 18px,#f0d56c 18px 38px,#8c6814 38px 58px)!important;
    background-size:100% 116px!important;
    box-shadow:0 0 14px rgba(235,204,88,.34)!important;
    animation:journey-light-flow 2.8s linear infinite!important;
  }
  .home-journey-step,
  .home-journey-step:nth-child(2),
  .home-journey-step:nth-child(3),
  .home-journey-step:nth-child(4){
    width:100%!important;
    min-height:178px!important;
    padding:30px 45px 30px 22px!important;
  }
  .home-journey-step::after{
    content:""!important;
    position:absolute!important;
    display:block!important;
    top:50%!important;
    right:-30px!important;
    width:14px!important;
    height:14px!important;
    border:2px solid #ffe99b!important;
    border-radius:50%!important;
    background:#b68d1f!important;
    box-shadow:0 0 0 7px rgba(0,42,21,.9),0 0 26px rgba(244,216,112,.62)!important;
    transform:translateY(-50%)!important;
    animation:journey-node-pulse 2.4s ease-in-out infinite!important;
  }
  .home-journey-step small{
    max-width:260px!important;
    font-size:.82rem!important;
  }
}
@media(max-width:520px){
  .home-journey-step strong{
    font-size:1.42rem!important;
  }
  .home-journey-destination em{
    max-width:280px!important;
    line-height:1.7!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .journey-map-waypoints circle,
  .journey-traveler-halo{
    animation:none!important;
  }
}

/* Books hero: clean editorial banner with open volume */
.premium-books-hero{
  min-height:330px!important;
  padding:54px 0 48px!important;
  border-bottom:2px solid rgba(184,158,20,.72)!important;
  background:
    radial-gradient(circle at 18% 24%,rgba(221,202,98,.13),transparent 25%),
    linear-gradient(112deg,#002411 0%,#00351b 48%,#002a15 100%)!important;
  overflow:hidden!important;
}

.premium-books-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px) 0 0/92px 100%,
    linear-gradient(180deg,transparent 0 72%,rgba(0,16,7,.18) 100%)!important;
  opacity:1!important;
}

.premium-books-hero::after{
  content:""!important;
  position:absolute!important;
  inset:auto 8% 22px!important;
  height:1px!important;
  display:block!important;
  background:linear-gradient(90deg,transparent,rgba(184,158,20,.56),rgba(244,231,165,.82),rgba(184,158,20,.56),transparent)!important;
}

.premium-books-hero .section-inner{
  position:relative!important;
  z-index:2!important;
  width:min(1180px,92vw)!important;
  min-height:225px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(230px,310px)!important;
  gap:clamp(28px,5vw,74px)!important;
  align-items:center!important;
  justify-items:stretch!important;
}

.premium-books-hero .section-inner::before,
.premium-books-hero .section-inner::after{
  display:none!important;
  content:none!important;
}

.books-hero-copy{
  display:grid;
  justify-items:center;
  text-align:center;
}

.premium-books-hero .books-hero-title{
  font-size:clamp(4.2rem,8vw,7.4rem)!important;
  line-height:.9!important;
  color:#c6a719!important;
  text-shadow:
    0 1px 0 #f8e9a0,
    0 4px 0 rgba(85,61,12,.42),
    0 13px 30px rgba(0,0,0,.3)!important;
}

.premium-books-hero .books-hero-subtitle{
  margin:14px auto 0!important;
  max-width:650px!important;
  font-size:clamp(1.12rem,1.9vw,1.55rem)!important;
  color:rgba(255,253,240,.94)!important;
  text-shadow:0 4px 16px rgba(0,0,0,.28)!important;
}

.premium-books-hero .books-hero-subtitle::after{
  width:min(390px,72vw)!important;
  margin-top:18px!important;
  background:linear-gradient(90deg,transparent,#9f8610,#f4e7a5,#9f8610,transparent)!important;
}

.books-hero-open-book{
  position:relative;
  width:100%;
  min-height:210px;
  display:grid;
  place-items:center;
  perspective:1000px;
}

.books-hero-open-book::before{
  content:"";
  position:absolute;
  inset:18% 4% 8%;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(221,202,98,.18),transparent 68%);
  filter:blur(14px);
}

.books-hero-open-book::after{
  content:"";
  position:absolute;
  inset:auto 8% 8px;
  height:24px;
  border-radius:50%;
  background:rgba(0,0,0,.32);
  filter:blur(12px);
}

.books-hero-open-book img{
  position:relative;
  z-index:1;
  width:min(300px,100%);
  aspect-ratio:275/183;
  object-fit:cover;
  border:1px solid rgba(221,202,98,.2);
  border-radius:5px;
  transform:rotate(-4deg) rotateY(7deg) translateY(-2px);
  transform-origin:center;
  box-shadow:0 24px 38px rgba(0,0,0,.34);
  filter:saturate(.88) sepia(.08) contrast(1.04);
  -webkit-mask-image:radial-gradient(ellipse at center,#000 58%,rgba(0,0,0,.88) 72%,transparent 100%);
  mask-image:radial-gradient(ellipse at center,#000 58%,rgba(0,0,0,.88) 72%,transparent 100%);
}

@media(max-width:760px){
  .premium-books-hero{
    min-height:auto!important;
    padding:42px 0 32px!important;
  }

  .premium-books-hero .section-inner{
    min-height:auto!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
  }

  .premium-books-hero .books-hero-title{
    font-size:clamp(3.8rem,19vw,5.7rem)!important;
  }

  .premium-books-hero .books-hero-subtitle{
    font-size:1.08rem!important;
  }

  .books-hero-open-book{
    width:min(260px,76vw);
    min-height:142px;
    justify-self:stretch;
    margin:-2px auto 0 4vw;
  }

  .books-hero-open-book img{
    width:230px;
    transform:rotate(-3deg) rotateY(5deg);
    box-shadow:0 18px 30px rgba(0,0,0,.3);
  }

  .premium-books-hero::after{
    inset:auto 10% 15px!important;
  }
}

/* Definitive integrated books hero */
.premium-books-hero .section-inner{
  min-height:225px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  isolation:isolate!important;
}

.premium-books-hero .books-hero-copy{
  position:absolute!important;
  z-index:3!important;
  left:50%!important;
  top:50%!important;
  width:min(820px,90vw)!important;
  transform:translate(-50%,-50%)!important;
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
}

.premium-books-hero .books-hero-open-book{
  position:absolute!important;
  z-index:1!important;
  left:clamp(-150px,-7vw,-70px)!important;
  bottom:clamp(-185px,-12vw,-112px)!important;
  width:clamp(480px,46vw,650px)!important;
  min-height:0!important;
  display:block!important;
  margin:0!important;
  opacity:.48!important;
  filter:drop-shadow(28px 34px 34px rgba(0,0,0,.34))!important;
  pointer-events:none!important;
}

.premium-books-hero .books-hero-open-book::before,
.premium-books-hero .books-hero-open-book::after{
  display:none!important;
  content:none!important;
}

.premium-books-hero .books-hero-open-book img{
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  opacity:1!important;
  transform:rotate(-7deg) rotateY(4deg)!important;
  filter:saturate(.78) sepia(.12) brightness(.76) contrast(1.05)!important;
  -webkit-mask-image:linear-gradient(100deg,#000 45%,rgba(0,0,0,.86) 70%,transparent 100%)!important;
  mask-image:linear-gradient(100deg,#000 45%,rgba(0,0,0,.86) 70%,transparent 100%)!important;
}

@media(max-width:760px){
  .premium-books-hero{
    min-height:330px!important;
    height:330px!important;
    padding:0!important;
    border-bottom:0!important;
  }

  .premium-books-hero::after{
    display:none!important;
    content:none!important;
  }

  .premium-books-hero .section-inner{
    min-height:330px!important;
    height:330px!important;
  }

  .premium-books-hero .books-hero-copy{
    top:44%!important;
    width:min(360px,92vw)!important;
  }

  .premium-books-hero .books-hero-open-book{
    left:-92px!important;
    bottom:-62px!important;
    width:390px!important;
    opacity:.34!important;
    filter:drop-shadow(18px 22px 24px rgba(0,0,0,.3))!important;
  }

  .premium-books-hero .books-hero-open-book img{
    transform:rotate(-8deg)!important;
    filter:saturate(.74) sepia(.12) brightness(.7) contrast(1.04)!important;
    -webkit-mask-image:linear-gradient(92deg,#000 38%,rgba(0,0,0,.72) 68%,transparent 96%)!important;
    mask-image:linear-gradient(92deg,#000 38%,rgba(0,0,0,.72) 68%,transparent 96%)!important;
  }

  .premium-store-book .book-actions,
  .premium-store-book.is-featured .book-actions{
    min-height:46px!important;
  }

  .premium-store-book .book-qty,
  .premium-store-book.is-featured .book-qty{
    margin:0!important;
  }

  .premium-store-book .book-qty button::before,
  .premium-store-book.is-featured .book-qty button::before{
    display:block!important;
    transform:translateY(2px)!important;
  }

  .premium-store-book .book-qty button[data-qty="-1"]::before,
  .premium-store-book.is-featured .book-qty button[data-qty="-1"]::before{
    transform:translateY(1px)!important;
  }
}

.premium-store-book .book-qty button::before,
.premium-store-book.is-featured .book-qty button::before,
.premium-store-book .book-qty button[data-qty="-1"]::before,
.premium-store-book.is-featured .book-qty button[data-qty="-1"]::before{
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
}

@media(max-width:680px){
  .premium-store-book:not(.is-featured):not(.is-unavailable) .premium-book-meta{
    grid-column:1!important;
    grid-row:4!important;
  }

  .premium-store-book:not(.is-featured):not(.is-unavailable) .book-actions{
    grid-column:1!important;
    grid-row:5!important;
  }

  .premium-store-book:not(.is-featured).is-unavailable .book-actions{
    grid-column:1!important;
    grid-row:4!important;
  }
}

@media(max-width:680px){
  .premium-store-book:not(.is-featured) .premium-book-visual > .book-badge,
  .premium-store-book:not(.is-featured) .premium-book-visual > .book-badge-sold-out{
    top:0!important;
    right:auto!important;
    left:calc(50% - 77px)!important;
    transform:translateX(-50%) rotate(-5deg)!important;
  }

  .premium-store-book[data-book-key="lech-amar-libi"] .premium-book-visual > .book-badge{
    left:calc(50% - 49px)!important;
  }
}

/* Refined Mamonot flagship proportions */
.premium-store-book.is-featured[data-book-key="mamonot"]{
  min-height:320px!important;
  grid-template-columns:230px minmax(0,1fr) 230px!important;
  grid-template-rows:1fr 1fr!important;
  align-items:center!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] h3{
  grid-column:2!important;
  grid-row:1 / 3!important;
  align-self:center!important;
  justify-self:center!important;
  width:100%!important;
  min-height:0!important;
  margin:0 0 30px!important;
  overflow:visible!important;
  white-space:nowrap!important;
  text-align:center!important;
  text-overflow:clip!important;
  font-size:clamp(2rem,3.1vw,2.8rem)!important;
  line-height:1.08!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-content > span{
  grid-column:2!important;
  grid-row:1 / 3!important;
  align-self:center!important;
  justify-self:center!important;
  margin:30px 0 0!important;
  color:#ead36e!important;
  font-size:clamp(1rem,1.55vw,1.4rem)!important;
  line-height:1.1!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-visual{
  grid-column:1!important;
  grid-row:1 / 3!important;
}

.premium-store-book.is-featured[data-book-key="mamonot"] .book-actions{
  grid-column:3!important;
  grid-row:1 / 3!important;
}

@media(max-width:680px){
  .premium-store-book.is-featured[data-book-key="mamonot"]{
    min-height:510px!important;
    grid-template-columns:1fr!important;
    grid-template-rows:42px 30px 250px 46px!important;
    align-content:center!important;
    padding:24px 20px 28px!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] h3{
    grid-column:1!important;
    grid-row:1!important;
    align-self:center!important;
    width:100%!important;
    margin:0!important;
    white-space:normal!important;
    font-size:clamp(1.72rem,8vw,2.2rem)!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-content > span{
    grid-column:1!important;
    grid-row:2!important;
    align-self:center!important;
    width:100%!important;
    margin:0!important;
    text-align:center!important;
    font-size:clamp(.92rem,4vw,1.08rem)!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-visual{
    grid-column:1!important;
    grid-row:3!important;
    height:250px!important;
    min-height:250px!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .premium-book-visual img{
    height:250px!important;
    max-height:250px!important;
  }

  .premium-store-book.is-featured[data-book-key="mamonot"] .book-actions{
    grid-column:1!important;
    grid-row:4!important;
  }
}

/* Final optical centering for quantity glyphs */
.premium-store-book .book-qty button,
.premium-store-book.is-featured .book-qty button{
  position:relative!important;
  display:block!important;
  padding:0!important;
}

.premium-store-book .book-qty button::before,
.premium-store-book.is-featured .book-qty button::before,
.premium-store-book .book-qty button[data-qty="-1"]::before,
.premium-store-book.is-featured .book-qty button[data-qty="-1"]::before{
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  display:block!important;
  width:1em!important;
  height:1em!important;
  margin:0!important;
  line-height:1!important;
  text-align:center!important;
  transform:translate(-50%,-50%)!important;
}

/* Final emerald texture override */
.site-footer,
.legal-hero,
.premium-books-hero,
.premium-store-book.is-featured[data-book-key="mamonot"],
.qna-hero,
.donation-hero,
.ask-hero,
.page-hero.soul-hero,
.page-hero.levado-hero:not(.nefesh-hero){
  background-color:#001c0c!important;
  background-image:
    linear-gradient(135deg,rgba(0,16,7,.08),rgba(0,35,16,.16)),
    url("assets/torat-avi-green-texture-clean.webp")!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}

.btn-primary,
.nav-donate,
.book-add-btn,
.premium-store-book .book-qty button,
.premium-store-book.is-featured .book-qty button,
.accessibility-toggle,
.qna-search button,
.qna-hero-search button{
  background-color:#003018!important;
  background-image:
    linear-gradient(135deg,rgba(0,45,20,.1),rgba(0,12,5,.3)),
    url("assets/torat-avi-green-texture-clean.webp")!important;
  background-position:center!important;
  background-size:260px auto!important;
  background-repeat:no-repeat!important;
}


/* Weekly Q&A: current-week questions move into the comprehensive archive on Sunday. */
.weekly-qna-section {
  width: min(1040px, 100%);
  margin-inline: auto;
}

.weekly-qna-heading {
  position: relative;
  margin-bottom: 30px;
  padding: 38px 28px 30px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  border: 1px solid rgba(218, 187, 78, .5);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(0, 64, 39, .76), rgba(0, 30, 18, .9)),
    url("assets/site-emerald-banner-texture.webp") center / cover;
  box-shadow: 0 22px 54px rgba(0, 42, 25, .17);
}

.weekly-qna-heading::after {
  display: none;
}

.weekly-qna-heading > span {
  color: #e8ce70;
  font-size: .78rem;
  font-weight: 800;
}

.weekly-qna-heading h2 {
  margin: 7px 0 10px;
  color: #f3d76f;
  font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
  font-size: clamp(2.45rem, 5vw, 4rem);
  line-height: 1;
}

.weekly-qna-heading p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .94rem;
}

.weekly-countdown {
  width: min(560px, 100%);
  margin: 24px auto 0;
  padding: 17px 20px 15px;
  border: 1px solid rgba(229, 202, 103, .25);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(0, 30, 18, .52), rgba(0, 15, 9, .34));
  box-shadow: inset 0 1px rgba(255, 244, 181, .08), 0 16px 34px rgba(0, 17, 10, .18);
}

.weekly-countdown-heading {
  display: block;
  margin-bottom: 13px;
  color: #e9ce6b;
  font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
  font-size: 1rem;
  font-weight: 800;
}

.weekly-countdown-units {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  direction: rtl;
  perspective: 900px;
}

.weekly-countdown-unit {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.weekly-countdown-flip {
  position: relative;
  width: 100%;
  min-height: 62px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f4dd79;
  border: 1px solid rgba(229, 202, 103, .42);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(10, 84, 53, .92) 0 49.5%, rgba(0, 48, 29, .98) 50.5% 100%);
  box-shadow:
    0 9px 18px rgba(0, 12, 7, .28),
    inset 0 1px rgba(255, 255, 255, .1),
    inset 0 -1px rgba(0, 0, 0, .3);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.weekly-countdown-flip::before,
.weekly-countdown-flip::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 5px;
  height: 8px;
  background: #caa83f;
  transform: translateY(-50%);
}

.weekly-countdown-flip::before { right: -1px; border-radius: 3px 0 0 3px; }
.weekly-countdown-flip::after { left: -1px; border-radius: 0 3px 3px 0; }

.weekly-countdown-flip span {
  position: relative;
  z-index: 1;
  font-family: "Noto Sans Hebrew", Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .36);
}

.weekly-countdown-flip.is-flipping {
  animation: weeklyCountdownFlip .6s cubic-bezier(.35, .05, .2, 1) both;
}

.weekly-countdown-unit small {
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 700;
}

.weekly-countdown-progress {
  height: 2px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.weekly-countdown-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a98524, #f2dc7c);
  box-shadow: 0 0 9px rgba(237, 211, 112, .32);
  transition: width 1s linear;
}

@keyframes weeklyCountdownFlip {
  0% { transform: rotateX(0deg); filter: brightness(1); }
  44% { transform: rotateX(-88deg); filter: brightness(.72); }
  56% { transform: rotateX(88deg); filter: brightness(.82); }
  100% { transform: rotateX(0deg); filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
  .weekly-countdown-flip.is-flipping { animation: none; }
}

.weekly-qna-list {
  display: grid;
  gap: 14px;
}

.weekly-qna-section .weekly-qna-item {
  overflow: hidden;
  border: 1px solid rgba(0, 62, 38, .14);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 247, 238, .96));
  box-shadow: 0 15px 38px rgba(0, 48, 29, .08);
}

.weekly-qna-section .weekly-qna-item > button {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  text-align: right;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.weekly-qna-section .weekly-qna-item > button::after {
  content: "פתח";
  padding: 7px 13px;
  color: #0a4d35;
  font-size: .8rem;
  font-weight: 800;
  border: 1px solid rgba(0, 62, 38, .15);
  border-radius: 999px;
  background: #fff;
}

.weekly-qna-section .weekly-qna-item > button[aria-expanded="true"]::after {
  content: "סגור";
  color: #173a2d;
  border-color: #b99632;
  background: linear-gradient(135deg, #f1d86d, #cda93e);
}

.weekly-qna-section .alonim-question-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  background: #07553a;
}

.weekly-qna-section .weekly-qna-title-group {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.weekly-qna-section .weekly-qna-item strong { color: #123e2f; }

.weekly-qna-section .weekly-qna-published {
  color: #6d7f77;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
}
.weekly-qna-section .alonim-body { padding: 4px 30px 28px; color: #29483d; line-height: 1.85; }
.weekly-qna-section .alonim-body h4 { margin: 22px 0 8px; color: #a58123; }

.weekly-qna-empty {
  min-height: 230px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 34px 24px;
  color: #405b51;
  text-align: center;
  border: 1px solid rgba(0, 64, 39, .13);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(247, 246, 236, .94));
}

.weekly-qna-empty > span { color: #c19d36; font-size: 2rem; }
.weekly-qna-empty strong { margin-top: 7px; color: #073f2d; font-size: 1.35rem; }
.weekly-qna-empty p { max-width: 500px; margin: 8px 0 0; line-height: 1.7; }

@media (max-width: 620px) {
  .weekly-qna-heading { padding: 32px 14px 20px; }
  .weekly-countdown { margin-top: 20px; padding: 14px 10px 12px; }
  .weekly-countdown-units { gap: 6px; }
  .weekly-countdown-flip { min-height: 54px; }
  .weekly-countdown-flip span { font-size: 1.75rem; }
  .weekly-countdown-unit small { font-size: .65rem; }
  .weekly-qna-section .weekly-qna-item > button { grid-template-columns: 42px minmax(0, 1fr); padding: 13px; }
  .weekly-qna-section .weekly-qna-item > button::after { grid-column: 1 / -1; text-align: center; }
  .weekly-qna-section .weekly-qna-published { font-size: .78rem; }
  .weekly-qna-section .alonim-body { padding: 2px 18px 24px; }
}

/* Final weekly countdown: compact rolling counters. */
.weekly-qna-heading {
  padding: 30px 24px 24px;
}

.weekly-countdown {
  width: min(440px, 100%);
  margin: 17px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.weekly-countdown-heading {
  margin-bottom: 10px;
  color: rgba(239, 215, 125, .88);
  font-size: .78rem;
  font-weight: 750;
}

.weekly-countdown-units {
  width: min(390px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  direction: ltr;
  perspective: none;
}

.weekly-countdown-unit {
  gap: 4px;
  direction: rtl;
}

.weekly-countdown-flip {
  min-height: 49px;
  border-color: rgba(231, 205, 111, .3);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(9, 91, 58, .58), rgba(0, 39, 24, .76));
  box-shadow:
    0 8px 20px rgba(0, 13, 8, .2),
    inset 0 1px rgba(255, 255, 255, .09),
    inset 0 -1px rgba(0, 0, 0, .18);
  transform-style: flat;
}

.weekly-countdown-flip::before,
.weekly-countdown-flip::after {
  display: none;
}

.weekly-countdown-flip span {
  color: #f3dc7b;
  font-size: 1.65rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}

.weekly-countdown-flip.is-flipping {
  animation: weeklyCountdownRoll .42s cubic-bezier(.22, .72, .2, 1) both;
}

.weekly-countdown-unit small {
  color: rgba(255, 255, 255, .62);
  font-size: .64rem;
  font-weight: 650;
}

.weekly-countdown-progress {
  width: min(390px, 100%);
  height: 1px;
  margin: 10px auto 0;
  background: rgba(255, 255, 255, .09);
}

.weekly-countdown-progress span {
  background: linear-gradient(90deg, #a88426, #eed878);
  box-shadow: 0 0 7px rgba(237, 211, 112, .24);
}

@keyframes weeklyCountdownRoll {
  0% { opacity: 1; transform: translateY(0); }
  45% { opacity: 0; transform: translateY(-9px); }
  55% { opacity: 0; transform: translateY(9px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 620px) {
  .weekly-qna-heading { padding: 27px 12px 18px; }
  .weekly-countdown { width: min(350px, 100%); margin-top: 15px; }
  .weekly-countdown-heading { margin-bottom: 8px; font-size: .72rem; }
  .weekly-countdown-units { gap: 5px; }
  .weekly-countdown-flip { min-height: 43px; }
  .weekly-countdown-flip span { font-size: 1.42rem; }
  .weekly-countdown-unit small { font-size: .59rem; }
  .weekly-countdown-progress { margin-top: 8px; }
}

/* Site-wide alert for the newest weekly question. */
.weekly-question-alert {
  position: fixed;
  z-index: 10010;
  left: 22px;
  bottom: 22px;
  width: min(390px, calc(100vw - 44px));
  min-height: 104px;
  overflow: hidden;
  direction: rtl;
  color: #f1d66d;
  border: 1px solid rgba(225, 194, 83, .72);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(0, 74, 45, .94), rgba(0, 34, 21, .98)),
    url("assets/site-emerald-banner-texture.webp") center / cover;
  box-shadow: 0 24px 58px rgba(0, 25, 15, .38), inset 0 1px rgba(255, 240, 163, .2);
  animation: weekly-question-alert-arrive .8s ease both;
}

.weekly-question-alert::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #efd66e, transparent);
}

.weekly-question-alert-link {
  min-height: 104px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 17px 18px 17px 42px;
  color: inherit;
  text-decoration: none;
}

.weekly-question-alert-ornament {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #f3d86f;
  font-size: 1.35rem;
  border: 1px solid rgba(231, 201, 95, .44);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}

.weekly-question-alert-content {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.weekly-question-alert-content small {
  color: #e6c85f;
  font-size: .76rem;
  font-weight: 800;
}

.weekly-question-alert-content strong {
  display: -webkit-box;
  overflow: hidden;
  color: #f5df82;
  font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.weekly-question-alert-action {
  color: #f1d66d;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.weekly-question-alert-action::after {
  content: " ←";
}

.weekly-question-alert-close {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 1.1rem;
  line-height: 1;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 19, 11, .22);
  cursor: pointer;
}

.weekly-question-alert-link:hover .weekly-question-alert-action,
.weekly-question-alert-link:focus-visible .weekly-question-alert-action {
  color: #fff;
}

.weekly-question-alert-close:hover,
.weekly-question-alert-close:focus-visible {
  color: #163a2d;
  background: #efd66e;
}

.weekly-question-alert.is-leaving {
  pointer-events: none;
  animation: weekly-question-alert-leave .9s ease both;
}

@keyframes weekly-question-alert-arrive {
  from {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes weekly-question-alert-leave {
  from { opacity: 1; filter: blur(0); transform: translateY(0); }
  to { opacity: 0; filter: blur(7px); transform: translateY(12px); }
}

@media (max-width: 620px) {
  .weekly-question-alert {
    left: 12px;
    bottom: 14px;
    width: calc(100vw - 24px);
    min-height: 96px;
  }

  .weekly-question-alert-link {
    min-height: 96px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 14px 14px 40px;
  }

  .weekly-question-alert-ornament { width: 30px; height: 30px; }
  .weekly-question-alert-action { grid-column: 2; }

}

@media (prefers-reduced-motion: reduce) {
  .weekly-question-alert { animation: weekly-question-alert-fade .25s ease both; }
  .weekly-question-alert.is-leaving { animation: weekly-question-alert-leave .25s ease both; }
}

@keyframes weekly-question-alert-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* WhatsApp page-share action in the global header. */
body .site-header .header-quick-icons .quick-whatsapp-share {
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(205, 174, 63, .48) !important;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, .17), transparent 32%),
    linear-gradient(145deg, #075432, #002616) !important;
  box-shadow:
    0 9px 20px rgba(0, 39, 21, .2),
    inset 0 1px 0 rgba(255, 255, 255, .2) !important;
  transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease !important;
}

body .site-header .header-quick-icons .quick-whatsapp-share img {
  width: 31px;
  height: 31px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter .17s ease;
}

body .site-header .header-quick-icons .quick-whatsapp-share:hover,
body .site-header .header-quick-icons .quick-whatsapp-share:focus-visible {
  border-color: rgba(239, 218, 119, .78) !important;
  box-shadow:
    0 13px 26px rgba(0, 39, 21, .26),
    0 0 0 2px rgba(200, 169, 54, .1),
    inset 0 1px 0 rgba(255, 255, 255, .24) !important;
  transform: translateY(-2px) !important;
}

body .site-header .header-quick-icons .quick-whatsapp-share:hover img,
body .site-header .header-quick-icons .quick-whatsapp-share:focus-visible img {
  filter: brightness(0) saturate(100%) invert(83%) sepia(48%) saturate(611%) hue-rotate(3deg) brightness(101%);
}

@media (max-width: 430px) {
  .site-header .header-quick-icons {
    left: 6px !important;
    gap: 4px !important;
  }

  .site-header .header-quick-icons a,
  .site-header .header-quick-icons button {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  body .site-header .header-quick-icons .quick-whatsapp-share img { width: 25px; height: 25px; }
}

@media (max-width: 380px) {
  .site-header .brand { max-width: 138px !important; }
  .site-header .header-quick-icons { left: 5px !important; gap: 3px !important; }
  .site-header .header-quick-icons a,
  .site-header .header-quick-icons button {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }
  body .site-header .header-quick-icons .quick-whatsapp-share img { width: 23px; height: 23px; }
}

/* Weekly Q&A drawers share the comprehensive Q&A visual language. */
.weekly-qna-list {
  width: 100% !important;
  margin: 0 auto !important;
  display: grid !important;
  gap: 16px !important;
}

.weekly-qna-section .weekly-qna-item {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 48, 24, .13) !important;
  border-radius: 28px 7px 28px 7px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 248, 239, .92)),
    radial-gradient(circle at 8% 0, rgba(221, 202, 98, .13), transparent 30%) !important;
  box-shadow: 0 18px 52px rgba(1, 41, 18, .08) !important;
  scroll-margin-top: 120px !important;
}

.weekly-qna-section .weekly-qna-item::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 5px !important;
  background: linear-gradient(180deg, #ddca62, #b89e14, #003018) !important;
  opacity: .72 !important;
}

.weekly-qna-section .weekly-qna-item > button {
  width: 100% !important;
  min-height: 78px !important;
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  justify-items: stretch !important;
  padding: 17px 24px !important;
  border: 0 !important;
  text-align: right !important;
  background:
    linear-gradient(90deg, rgba(0, 48, 24, .08), rgba(255, 255, 255, .74), rgba(221, 202, 98, .12)) !important;
  cursor: pointer !important;
}

.weekly-qna-section .weekly-qna-item .alonim-question-number {
  display: grid !important;
  place-items: center !important;
  width: auto !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  color: #082a17 !important;
  background: linear-gradient(145deg, #f5df8d, #b89e14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48), 0 10px 22px rgba(184, 158, 20, .18) !important;
  direction: ltr !important;
  unicode-bidi: plaintext !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.weekly-qna-section .weekly-qna-title-group {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

.weekly-qna-section .weekly-qna-item strong {
  color: #003018 !important;
  font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", "Times New Roman", serif !important;
  font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
  line-height: 1.42 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.weekly-qna-section .weekly-qna-published {
  color: #6d7f77 !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.weekly-qna-section .weekly-qna-item > button::after {
  content: "פתח" !important;
  min-width: 74px !important;
  justify-self: end !important;
  padding: 8px 15px !important;
  border: 1px solid rgba(0, 48, 24, .16) !important;
  border-radius: 999px !important;
  color: #003018 !important;
  background: rgba(255, 255, 255, .72) !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: .86rem !important;
  font-weight: 850 !important;
  text-align: center !important;
}

.weekly-qna-section .weekly-qna-item > button[aria-expanded="true"]::after {
  content: "סגור" !important;
  color: #082a17 !important;
  border-color: rgba(184, 158, 20, .48) !important;
  background: linear-gradient(135deg, #b89e14, #ddca62) !important;
}

.weekly-qna-section .weekly-qna-item .alonim-body {
  padding: 2px 32px 30px !important;
  color: #18352a !important;
  font-size: 1.02rem !important;
  line-height: 1.9 !important;
}

@media (max-width: 680px) {
  .weekly-qna-section .weekly-qna-item > button {
    min-height: 72px !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 15px 13px !important;
  }

  .weekly-qna-section .weekly-qna-item .alonim-question-number {
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 9px !important;
    font-size: .9rem !important;
  }

  .weekly-qna-section .weekly-qna-item strong {
    font-size: .98rem !important;
    line-height: 1.38 !important;
  }

  .weekly-qna-section .weekly-qna-item > button::after {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
  }

  .weekly-qna-section .weekly-qna-item .alonim-body {
    padding: 0 18px 24px !important;
    font-size: .98rem !important;
    line-height: 1.82 !important;
  }
}

/* Site finishes - distinct article banners with restrained overlays */
.article-shabbat-hero{
  background:
    linear-gradient(90deg,rgba(1,38,18,.30),rgba(0,46,23,.08),rgba(1,38,18,.34)),
    url("assets/article-shabbat-hero-v2.webp") center/cover no-repeat!important;
}
.article-moadim-hero{
  background:
    linear-gradient(90deg,rgba(1,38,18,.32),rgba(0,46,23,.08),rgba(1,38,18,.36)),
    url("assets/article-moadim-hero-v2.webp") center/cover no-repeat!important;
}
.article-hitbonenut-hero{
  background:
    linear-gradient(90deg,rgba(1,38,18,.34),rgba(0,46,23,.08),rgba(1,38,18,.38)),
    url("assets/article-hitbonenut-hero-v2.webp") center/cover no-repeat!important;
}
.article-shabbat-hero::before,
.article-moadim-hero::before,
.article-hitbonenut-hero::before{
  background:
    radial-gradient(circle at 50% 28%,rgba(221,202,98,.12),transparent 25%),
    linear-gradient(90deg,rgba(0,31,14,.26),rgba(0,40,20,.04),rgba(0,31,14,.30))!important;
}

/* Homepage 2026: Mevakshei Panecha becomes the primary identity. */
.site-header .home-mevakshei-brand-link{
  display:grid!important;
  place-items:center!important;
  text-decoration:none!important;
}
.home-mevakshei-brand{
  min-width:210px;
  display:grid;
  justify-items:center;
  gap:1px;
  color:#003018;
  line-height:1;
}
.home-mevakshei-brand strong{
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(1.55rem,2.1vw,2.05rem);
  font-weight:950;
  text-shadow:0 1px 0 #fff,0 7px 20px rgba(0,48,24,.11);
}
.home-mevakshei-brand small{
  color:#9b7717;
  font-size:.68rem;
  font-weight:850;
}
.home-live-hero .home-mevakshei-hero-panel{
  max-width:760px!important;
  margin-inline:auto!important;
}
.home-live-hero .home-mevakshei-kicker{
  width:min(360px,64vw);
  display:grid;
  grid-template-columns:1fr 12px 1fr;
  align-items:center;
  gap:12px;
  margin:0 auto 20px;
}
.home-live-hero .home-mevakshei-kicker span{
  height:1px;
  background:linear-gradient(90deg,transparent,#d9b44b);
}
.home-live-hero .home-mevakshei-kicker span:last-child{
  background:linear-gradient(90deg,#d9b44b,transparent);
}
.home-live-hero .home-mevakshei-kicker i{
  width:10px;
  height:10px;
  display:block;
  border:1px solid #f3da7c;
  transform:rotate(45deg);
  box-shadow:0 0 14px rgba(243,218,124,.34);
}
.home-live-hero .home-mevakshei-title{
  margin:0!important;
  color:#f3d66f!important;
  background:linear-gradient(180deg,#fff4b5 0%,#e4bf52 32%,#98701d 68%,#f0d26b 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  -webkit-text-stroke:.7px rgba(83,59,12,.72);
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(4.6rem,8.4vw,8.1rem)!important;
  font-weight:950!important;
  line-height:.86!important;
  letter-spacing:0!important;
  text-shadow:0 3px 0 rgba(69,45,9,.72),0 18px 42px rgba(0,0,0,.38)!important;
  filter:drop-shadow(0 0 14px rgba(239,210,102,.12));
}
.home-live-hero .home-mevakshei-tagline{
  margin:28px auto 0!important;
  padding:0 0 26px!important;
  color:#fffdf2!important;
  -webkit-text-fill-color:#fffdf2!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.55rem,2.5vw,2.25rem)!important;
  font-weight:850!important;
  line-height:1.1!important;
}
.home-live-hero .home-mevakshei-tagline::after{
  width:min(380px,72vw)!important;
}
.home-live-hero .home-mevakshei-essence{
  margin:11px auto 0!important;
  padding:0!important;
  color:rgba(255,255,255,.88)!important;
  -webkit-text-fill-color:rgba(255,255,255,.88)!important;
  font-family:inherit!important;
  font-size:clamp(.98rem,1.35vw,1.14rem)!important;
  font-weight:650!important;
}
.home-live-hero .home-mevakshei-essence::after{
  display:none!important;
  content:none!important;
}
.home-live-hero .home-mevakshei-hero-panel .home-horaa-search{
  margin-top:26px!important;
}
.home-mevakshei-intro{
  position:relative;
  z-index:4;
  padding:74px 0 82px;
  background:
    radial-gradient(circle at 50% 0,rgba(221,202,98,.15),transparent 34%),
    linear-gradient(180deg,#fffdf8,#f6f2e7);
}
.home-mevakshei-intro-card{
  width:min(900px,100%);
  margin:auto;
  display:grid;
  justify-items:center;
  text-align:center;
  padding:12px 54px;
}
.home-mevakshei-intro-label{
  color:#a48122;
  font-size:.78rem;
  font-weight:900;
}
.home-mevakshei-intro-card h2{
  position:relative;
  margin:9px 0 32px;
  padding-bottom:19px;
  color:#003018;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(2rem,4vw,3.25rem);
  font-weight:950;
  line-height:1.05;
}
.home-mevakshei-intro-card h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:92px;
  height:2px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,#b89e14,transparent);
}
.home-mevakshei-intro-card p{
  max-width:820px;
  margin:0 0 10px;
  color:#405c4f;
  font-size:clamp(1.05rem,1.6vw,1.23rem);
  line-height:1.8;
}
.home-mevakshei-intro-card strong{
  margin-top:12px;
  color:#003018;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(1.14rem,1.7vw,1.35rem);
}
.home-mevakshei-intro-link{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:28px;
  padding:10px 24px;
  border:1px solid rgba(184,158,20,.58);
  border-radius:999px;
  color:#003018;
  background:linear-gradient(135deg,#f6df81,#bd941d);
  box-shadow:0 12px 28px rgba(153,116,22,.16),inset 0 1px 0 rgba(255,255,255,.5);
  font-weight:900;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease;
}
.home-mevakshei-intro-link:hover,
.home-mevakshei-intro-link:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(153,116,22,.23),inset 0 1px 0 rgba(255,255,255,.6);
}
@media(max-width:860px){
  .home-mevakshei-brand{min-width:145px}
  .home-mevakshei-brand strong{font-size:1.38rem}
  .home-mevakshei-brand small{font-size:.57rem}
  .home-live-hero .home-mevakshei-title{
    font-size:clamp(3.35rem,15vw,5.1rem)!important;
  }
  .home-live-hero .home-mevakshei-tagline{
    margin-top:20px!important;
    font-size:clamp(1.25rem,6.5vw,1.7rem)!important;
  }
  .home-live-hero .home-mevakshei-essence{
    max-width:270px;
    font-size:.9rem!important;
    line-height:1.55!important;
  }
  .home-mevakshei-intro{padding:58px 0 64px}
  .home-mevakshei-intro-card{padding-inline:18px}
}
@media(max-width:430px){
  .site-header .home-mevakshei-brand-link{max-width:142px!important}
  .home-mevakshei-brand{min-width:130px}
  .home-mevakshei-brand strong{font-size:1.24rem}
  .home-mevakshei-brand small{font-size:.53rem}
}

/* Homepage identity story: one connected journey, not separate departments. */
.home-journey{
  position:relative;
  overflow:hidden;
  padding:88px 0 94px;
  color:#fff;
  background:
    radial-gradient(circle at 50% 0,rgba(224,194,82,.13),transparent 34%),
    linear-gradient(125deg,rgba(0,31,15,.96),rgba(0,66,33,.94)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover;
}
.home-journey::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:90px 100%;
  opacity:.22;
}
.home-journey-heading{
  position:relative;
  z-index:1;
  display:grid;
  justify-items:center;
  text-align:center;
}
.home-journey-heading > span,
.home-stay-heading > span,
.home-life-statement-card > span{
  color:#d9b84d;
  font-size:.76rem;
  font-weight:900;
}
.home-journey-heading h2,
.home-stay-heading h2{
  margin:10px 0 14px;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(2.35rem,4.5vw,4rem);
  font-weight:950;
  line-height:1;
  letter-spacing:0;
}
.home-journey-heading p{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:1.04rem;
}
.home-journey-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-top:54px;
}
.home-journey-grid::before{
  content:"";
  position:absolute;
  top:34px;
  right:12.5%;
  left:12.5%;
  height:1px;
  background:linear-gradient(90deg,transparent,#caa537 12%,#f4dc83 50%,#caa537 88%,transparent);
  opacity:.72;
}
.home-journey-step{
  position:relative;
  min-height:190px;
  display:grid;
  justify-items:center;
  align-content:start;
  gap:8px;
  padding:0 26px 24px;
  color:#fff;
  text-align:center;
  text-decoration:none;
}
.home-journey-step:not(:last-child)::after{
  content:"";
  position:absolute;
  top:86px;
  bottom:10px;
  left:0;
  width:1px;
  background:linear-gradient(180deg,rgba(218,184,77,.52),transparent);
}
.home-journey-number{
  position:relative;
  z-index:1;
  width:68px;
  height:68px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
  border:1px solid rgba(225,195,91,.55);
  border-radius:50%;
  color:#f5dc82;
  background:#00351b;
  box-shadow:0 0 0 8px rgba(0,48,24,.76),0 14px 34px rgba(0,0,0,.2);
  font-family:"Segoe UI",Arial,sans-serif;
  font-size:.82rem;
  font-weight:800;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.home-journey-name{
  color:#d9b84d;
  font-size:.82rem;
  font-weight:900;
}
.home-journey-step strong{
  max-width:220px;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(1.22rem,1.75vw,1.48rem);
  line-height:1.3;
}
.home-journey-step:hover .home-journey-number,
.home-journey-step:focus-visible .home-journey-number{
  color:#003018;
  background:#e2bf53;
  transform:translateY(-4px);
}
.home-stay{
  padding:96px 0;
  background:
    linear-gradient(90deg,rgba(255,253,247,.96),rgba(245,240,226,.94)),
    url("assets/library-light.svg") center/cover;
}
.home-stay-layout{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.5fr);
  gap:64px;
  align-items:center;
}
.home-stay-heading h2{
  max-width:520px;
  color:#003018;
}
.home-stay-heading p{
  max-width:460px;
  margin:0;
  color:#5d7167;
  font-size:1.05rem;
  line-height:1.75;
}
.home-stay-reasons{
  display:grid;
  gap:12px;
}
.home-stay-reason{
  min-height:112px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-content:center;
  column-gap:20px;
  padding:20px 26px;
  border:1px solid rgba(0,48,24,.11);
  border-radius:6px;
  background:rgba(255,255,255,.78);
  box-shadow:0 16px 38px rgba(0,48,24,.07);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.home-stay-reason:hover{
  transform:translateX(-5px);
  border-color:rgba(190,153,37,.42);
  box-shadow:0 22px 46px rgba(0,48,24,.11);
}
.home-stay-reason > span{
  grid-row:1 / 3;
  align-self:center;
  color:rgba(177,139,28,.7);
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:3.5rem;
  font-weight:900;
  line-height:1;
}
.home-stay-reason p{
  margin:0;
  color:#6b7a72;
  font-size:.92rem;
}
.home-stay-reason strong{
  color:#003018;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(1.2rem,1.8vw,1.48rem);
  line-height:1.25;
}
.home-life-statement{
  position:relative;
  overflow:hidden;
  padding:28px 0;
  background:#f7f3e8;
}
.home-life-statement-card{
  position:relative;
  min-height:360px;
  display:grid;
  place-items:center;
  align-content:center;
  text-align:center;
  padding:58px 40px;
  color:#fff;
  border:1px solid rgba(219,185,77,.45);
  border-radius:6px;
  background:
    radial-gradient(circle at 50% 0,rgba(227,194,78,.15),transparent 35%),
    linear-gradient(135deg,rgba(0,32,15,.98),rgba(0,71,36,.94)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover;
  box-shadow:0 28px 64px rgba(0,38,18,.16);
}
.home-life-statement-card::before,
.home-life-statement-card::after{
  content:"";
  position:absolute;
  top:50%;
  width:18%;
  height:1px;
  background:linear-gradient(90deg,transparent,#d6b44a);
}
.home-life-statement-card::before{right:4%}
.home-life-statement-card::after{
  left:4%;
  transform:scaleX(-1);
}
.home-life-statement-card h2{
  margin:14px 0 18px;
  color:#f2d56b;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:clamp(2.5rem,5.5vw,5rem);
  font-weight:950;
  line-height:1.08;
  letter-spacing:0;
}
.home-life-statement-card p{
  max-width:760px;
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:clamp(1rem,1.45vw,1.18rem);
  line-height:1.75;
}
.home-footer-mevakshei{
  display:grid;
  align-content:center;
  justify-items:center;
  text-align:center;
  gap:5px;
}
.home-footer-mevakshei strong{
  color:#f0d267;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif;
  font-size:2.15rem;
  line-height:1;
}
.home-footer-mevakshei span{
  color:#fff;
  font-size:.82rem;
  font-weight:800;
}
.home-footer-mevakshei small{
  color:rgba(255,255,255,.58);
  font-size:.7rem;
}
@media(max-width:860px){
  .home-journey{padding:66px 0 70px}
  .home-journey-grid{
    grid-template-columns:1fr 1fr;
    gap:28px 0;
    margin-top:42px;
  }
  .home-journey-grid::before{display:none}
  .home-journey-step{min-height:170px;padding-inline:15px}
  .home-journey-step:nth-child(2)::after{display:none}
  .home-stay{padding:68px 0}
  .home-stay-layout{grid-template-columns:1fr;gap:34px}
  .home-stay-heading{text-align:center}
  .home-stay-heading h2,.home-stay-heading p{margin-inline:auto}
  .home-life-statement-card{min-height:320px;padding:48px 26px}
  .home-life-statement-card::before,
  .home-life-statement-card::after{display:none}
}
@media(max-width:520px){
  .home-journey-heading{padding-inline:12px}
  .home-journey-heading h2{font-size:2.4rem}
  .home-journey-heading p{max-width:300px;font-size:.92rem;line-height:1.55}
  .home-journey-step{min-height:155px}
  .home-journey-number{width:56px;height:56px}
  .home-journey-step strong{font-size:1.08rem}
  .home-stay-reason{
    min-height:102px;
    grid-template-columns:42px minmax(0,1fr);
    column-gap:13px;
    padding:16px;
  }
  .home-stay-reason > span{font-size:2.7rem}
  .home-stay-reason strong{font-size:1.12rem}
  .home-life-statement{padding:16px 0}
  .home-life-statement-card{min-height:300px;padding:42px 20px}
  .home-life-statement-card h2{font-size:2.55rem}
}

/* Homepage editorial luxury direction: open typography, ivory paper and fine gold rules. */
.home-journey{
  padding:104px 0 112px!important;
  color:#003018!important;
  background:
    linear-gradient(90deg,transparent 0 7%,rgba(184,158,20,.09) 7% 7.08%,transparent 7.08% 92.92%,rgba(184,158,20,.09) 92.92% 93%,transparent 93%),
    radial-gradient(circle at 50% 0,rgba(219,190,83,.13),transparent 32%),
    linear-gradient(180deg,#fffdf8,#f5f1e7)!important;
}
.home-journey::before{
  inset:34px 0 auto!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent 8%,rgba(184,158,20,.58) 26%,rgba(184,158,20,.16) 50%,rgba(184,158,20,.58) 74%,transparent 92%)!important;
  background-size:auto!important;
  opacity:1!important;
}
.home-journey-heading > span{
  color:#a17b18!important;
}
.home-journey-heading h2{
  color:#003018!important;
  font-size:clamp(2.7rem,5.2vw,4.9rem)!important;
  text-shadow:0 1px 0 #fff!important;
}
.home-journey-heading p{
  color:#607167!important;
  font-size:1.02rem!important;
}
.home-journey-grid{
  gap:0!important;
  margin-top:68px!important;
  border-top:1px solid rgba(184,158,20,.58)!important;
}
.home-journey-grid::before{
  display:none!important;
}
.home-journey-step{
  min-height:230px!important;
  justify-items:start!important;
  align-content:start!important;
  gap:7px!important;
  padding:34px 34px 22px!important;
  color:#003018!important;
  text-align:right!important;
  border:0!important;
  background:transparent!important;
}
.home-journey-step:not(:last-child)::after{
  top:28px!important;
  bottom:24px!important;
  left:0!important;
  width:1px!important;
  background:linear-gradient(180deg,rgba(184,158,20,.5),rgba(0,48,24,.08),transparent)!important;
}
.home-journey-number{
  width:auto!important;
  height:auto!important;
  display:block!important;
  margin:0 0 24px!important;
  border:0!important;
  border-radius:0!important;
  color:rgba(0,48,24,.16)!important;
  background:transparent!important;
  box-shadow:none!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3.9rem,5.5vw,5.7rem)!important;
  font-weight:500!important;
  line-height:.7!important;
  transition:color .22s ease,transform .22s ease!important;
}
.home-journey-name{
  color:#a17b18!important;
  font-size:.78rem!important;
  letter-spacing:0!important;
}
.home-journey-step strong{
  max-width:210px!important;
  color:#003018!important;
  font-size:clamp(1.32rem,1.75vw,1.58rem)!important;
  line-height:1.3!important;
}
.home-journey-step:hover .home-journey-number,
.home-journey-step:focus-visible .home-journey-number{
  color:#b28a20!important;
  background:transparent!important;
  transform:translateY(-3px)!important;
}
.home-journey-step:hover strong,
.home-journey-step:focus-visible strong{
  color:#896714!important;
}
.home-stay{
  padding:112px 0 130px!important;
  background:
    radial-gradient(circle at 8% 12%,rgba(190,153,37,.08),transparent 24%),
    linear-gradient(180deg,#fff,#faf8f1)!important;
}
.home-stay-layout{
  display:block!important;
}
.home-stay-heading{
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
}
.home-stay-heading h2{
  max-width:820px!important;
  margin:12px auto 18px!important;
  font-size:clamp(2.55rem,4.8vw,4.5rem)!important;
  line-height:1.04!important;
}
.home-stay-heading p{
  max-width:620px!important;
  margin:auto!important;
}
.home-stay-reasons{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:42px!important;
  margin-top:74px!important;
  padding-bottom:52px!important;
}
.home-stay-reasons::before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:0!important;
  left:0!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,rgba(184,158,20,.58),transparent)!important;
}
.home-stay-reason{
  position:relative!important;
  min-height:240px!important;
  display:block!important;
  padding:46px 18px 22px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-align:center!important;
  transform:none!important;
}
.home-stay-reason:nth-child(2){
  transform:translateY(26px)!important;
}
.home-stay-reason:nth-child(3){
  transform:translateY(52px)!important;
}
.home-stay-reason:hover{
  border:0!important;
  box-shadow:none!important;
}
.home-stay-reason > span{
  position:absolute!important;
  z-index:0!important;
  top:24px!important;
  right:50%!important;
  grid-row:auto!important;
  transform:translateX(50%)!important;
  color:rgba(184,158,20,.12)!important;
  font-size:8.5rem!important;
  line-height:.75!important;
}
.home-stay-reason p,
.home-stay-reason strong{
  position:relative!important;
  z-index:1!important;
  display:block!important;
}
.home-stay-reason p{
  margin:62px 0 10px!important;
  color:#75837b!important;
  font-size:.9rem!important;
}
.home-stay-reason strong{
  max-width:310px!important;
  margin:auto!important;
  color:#003018!important;
  font-size:clamp(1.45rem,2.05vw,1.9rem)!important;
  line-height:1.25!important;
}
.home-life-statement{
  padding:0!important;
  background:#f8f5ec!important;
}
.home-life-statement .section-inner{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
}
.home-life-statement-card{
  min-height:390px!important;
  padding:72px 7vw!important;
  border:0!important;
  border-radius:0!important;
  background:
    linear-gradient(90deg,rgba(0,31,15,.98),rgba(0,64,31,.94),rgba(0,31,15,.98)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover!important;
  box-shadow:none!important;
}
.home-life-statement-card > span{
  color:#d9b84d!important;
}
.home-life-statement-card h2{
  max-width:900px!important;
  font-size:clamp(3rem,6vw,5.8rem)!important;
  line-height:1.02!important;
}
.home-life-statement-card p{
  max-width:850px!important;
}
@media(max-width:860px){
  .home-journey{
    padding:72px 0 78px!important;
  }
  .home-journey-grid{
    grid-template-columns:1fr 1fr!important;
    gap:0!important;
    margin-top:48px!important;
    border-top:0!important;
  }
  .home-journey-step{
    min-height:190px!important;
    padding:28px 22px!important;
    border-top:1px solid rgba(184,158,20,.42)!important;
  }
  .home-journey-step::after{
    display:none!important;
  }
  .home-journey-step:nth-child(odd)::after{
    display:block!important;
  }
  .home-journey-number{
    margin-bottom:20px!important;
    font-size:4.25rem!important;
  }
  .home-stay{
    padding:76px 0 86px!important;
  }
  .home-stay-reasons{
    grid-template-columns:1fr!important;
    gap:0!important;
    margin-top:48px!important;
    padding-bottom:0!important;
  }
  .home-stay-reason,
  .home-stay-reason:nth-child(2),
  .home-stay-reason:nth-child(3){
    min-height:180px!important;
    padding:30px 16px!important;
    border-top:1px solid rgba(184,158,20,.34)!important;
    transform:none!important;
  }
  .home-stay-reason > span{
    top:21px!important;
    font-size:6.8rem!important;
  }
  .home-stay-reason p{
    margin-top:54px!important;
  }
  .home-life-statement-card{
    min-height:340px!important;
    padding:58px 24px!important;
  }
}
@media(max-width:520px){
  .home-journey-heading h2{
    font-size:2.5rem!important;
  }
  .home-journey-step{
    min-height:175px!important;
    padding:25px 16px!important;
  }
  .home-journey-number{
    font-size:3.65rem!important;
  }
  .home-journey-step strong{
    font-size:1.12rem!important;
  }
  .home-stay-heading h2{
    font-size:2.45rem!important;
  }
  .home-life-statement-card h2{
    font-size:2.65rem!important;
  }
}

/* Homepage four-gates direction: distinctive, visual and CSS-only. */
.home-journey{
  padding:92px 0 106px!important;
  color:#003018!important;
  background:
    radial-gradient(circle at 50% -10%,rgba(211,174,56,.18),transparent 33%),
    linear-gradient(180deg,#fffdf8 0%,#f3efe3 100%)!important;
}
.home-journey::before{
  inset:0!important;
  height:auto!important;
  background:
    linear-gradient(90deg,transparent 0 4%,rgba(184,158,20,.09) 4% 4.08%,transparent 4.08% 95.92%,rgba(184,158,20,.09) 95.92% 96%,transparent 96%),
    linear-gradient(180deg,rgba(184,158,20,.42),transparent 1px)!important;
  opacity:1!important;
}
.home-journey-heading > span{
  color:#9b7717!important;
}
.home-journey-heading h2{
  color:#003018!important;
  font-size:clamp(2.7rem,5vw,4.7rem)!important;
  text-shadow:0 1px 0 #fff!important;
}
.home-journey-heading p{
  color:#65776d!important;
}
.home-journey-grid{
  perspective:1200px!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
  margin-top:62px!important;
  padding:0!important;
  border:0!important;
}
.home-journey-grid::before{
  display:none!important;
}
.home-journey-step{
  isolation:isolate!important;
  position:relative!important;
  min-height:354px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  overflow:hidden!important;
  padding:64px 24px 34px!important;
  color:#fff!important;
  text-align:center!important;
  border:1px solid rgba(205,168,54,.72)!important;
  border-radius:150px 150px 7px 7px!important;
  background:
    radial-gradient(circle at 50% 18%,rgba(239,212,111,.18),transparent 24%),
    linear-gradient(145deg,#064329 0%,#002b18 54%,#001b0e 100%)!important;
  box-shadow:
    0 24px 48px rgba(0,39,21,.16),
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -36px 80px rgba(0,0,0,.2)!important;
  transform:none!important;
  transform-origin:center bottom!important;
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease!important;
}
.home-journey-step:nth-child(2){
  background:
    radial-gradient(circle at 50% 18%,rgba(239,212,111,.17),transparent 24%),
    linear-gradient(145deg,#17483d 0%,#073026 56%,#002019 100%)!important;
}
.home-journey-step:nth-child(3){
  background:
    radial-gradient(circle at 50% 18%,rgba(239,212,111,.17),transparent 24%),
    linear-gradient(145deg,#183e34 0%,#062c21 56%,#001d14 100%)!important;
}
.home-journey-step:nth-child(4){
  background:
    radial-gradient(circle at 50% 18%,rgba(239,212,111,.18),transparent 24%),
    linear-gradient(145deg,#3a382c 0%,#183129 54%,#061e16 100%)!important;
}
.home-journey-step::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:11px!important;
  border:1px solid rgba(239,213,113,.35)!important;
  border-radius:140px 140px 3px 3px!important;
  background:
    linear-gradient(90deg,transparent 49.7%,rgba(239,213,113,.13) 50%,transparent 50.3%),
    linear-gradient(180deg,transparent 0 58%,rgba(239,213,113,.12) 58.3%,transparent 58.6%)!important;
  pointer-events:none!important;
}
.home-journey-step::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  top:28px!important;
  right:50%!important;
  bottom:auto!important;
  left:auto!important;
  width:84px!important;
  height:84px!important;
  border:1px solid rgba(239,213,113,.24)!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(239,213,113,.11),transparent 66%)!important;
  transform:translateX(50%)!important;
  opacity:1!important;
}
.home-journey-number{
  position:absolute!important;
  z-index:1!important;
  top:53px!important;
  right:50%!important;
  width:auto!important;
  height:auto!important;
  display:block!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  color:#e5c75e!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:translateX(50%)!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:.76rem!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:.14em!important;
}
.home-journey-name{
  color:#e3c35c!important;
  font-size:.8rem!important;
  font-weight:900!important;
}
.home-journey-step strong{
  max-width:210px!important;
  color:#fff!important;
  font-size:clamp(1.28rem,1.7vw,1.55rem)!important;
  line-height:1.32!important;
  text-shadow:0 2px 14px rgba(0,0,0,.3)!important;
}
.home-journey-step:hover,
.home-journey-step:focus-visible{
  border-color:#f1d879!important;
  box-shadow:
    0 34px 64px rgba(0,39,21,.25),
    0 0 0 4px rgba(205,168,54,.08),
    inset 0 1px 0 rgba(255,255,255,.18)!important;
  transform:translateY(-9px) rotateX(1.5deg)!important;
}
.home-journey-step:hover .home-journey-number,
.home-journey-step:focus-visible .home-journey-number{
  color:#fff1af!important;
  background:transparent!important;
  transform:translateX(50%)!important;
}
.home-journey-step:hover strong,
.home-journey-step:focus-visible strong{
  color:#fff8d1!important;
}
.home-stay{
  padding:96px 0 104px!important;
  background:
    linear-gradient(90deg,rgba(0,48,24,.035) 1px,transparent 1px),
    linear-gradient(180deg,#f6f4ec,#fffdf8)!important;
  background-size:120px 100%,auto!important;
}
.home-stay-heading h2{
  color:#003018!important;
}
.home-stay-reasons{
  gap:20px!important;
  margin-top:62px!important;
  padding-bottom:0!important;
}
.home-stay-reasons::before{
  display:none!important;
}
.home-stay-reason,
.home-stay-reason:nth-child(2),
.home-stay-reason:nth-child(3){
  min-height:230px!important;
  display:grid!important;
  align-content:center!important;
  padding:38px 28px!important;
  border:1px solid rgba(0,48,24,.1)!important;
  border-top:3px solid #b89528!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.78)!important;
  box-shadow:0 18px 44px rgba(0,48,24,.07)!important;
  transform:none!important;
}
.home-stay-reason > span{
  position:static!important;
  display:block!important;
  margin:0 auto 18px!important;
  color:rgba(184,158,20,.32)!important;
  font-size:4.7rem!important;
  line-height:.7!important;
  transform:none!important;
}
.home-stay-reason p{
  margin:0 0 9px!important;
}
.home-stay-reason strong{
  font-size:clamp(1.35rem,1.85vw,1.7rem)!important;
}
.home-stay-reason:hover{
  border-color:rgba(184,158,20,.4)!important;
  border-top-color:#d8b84b!important;
  box-shadow:0 26px 54px rgba(0,48,24,.12)!important;
  transform:translateY(-5px)!important;
}
.home-life-statement-card{
  background:
    radial-gradient(circle at 50% 0,rgba(225,192,73,.14),transparent 32%),
    linear-gradient(120deg,rgba(0,30,14,.99),rgba(0,66,32,.96),rgba(19,53,42,.98)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover!important;
}
@media(max-width:980px){
  .home-journey-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    max-width:720px!important;
    margin-inline:auto!important;
  }
}
@media(max-width:620px){
  .home-journey{
    padding:68px 0 76px!important;
  }
  .home-journey-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
    width:min(310px,88vw)!important;
    margin-top:44px!important;
  }
  .home-journey-step{
    min-height:205px!important;
    padding:78px 24px 28px!important;
    border-radius:145px 145px 6px 6px!important;
  }
  .home-journey-step::before{
    border-radius:136px 136px 3px 3px!important;
  }
  .home-journey-step::after{
    display:block!important;
    top:24px!important;
  }
  .home-journey-number{
    top:49px!important;
  }
  .home-journey-step strong{
    font-size:1.3rem!important;
  }
  .home-stay{
    padding:72px 0 78px!important;
  }
  .home-stay-reasons{
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin-top:44px!important;
  }
  .home-stay-reason,
  .home-stay-reason:nth-child(2),
  .home-stay-reason:nth-child(3){
    min-height:185px!important;
    padding:28px 20px!important;
  }
  .home-stay-reason > span{
    font-size:3.7rem!important;
  }
}

/* Homepage evolving-journey direction: a single path connecting life disciplines. */
.home-journey{
  padding:94px 0 118px!important;
  color:#003018!important;
  background:
    radial-gradient(circle at 10% 22%,rgba(181,145,35,.09),transparent 24%),
    radial-gradient(circle at 90% 74%,rgba(0,75,38,.07),transparent 28%),
    linear-gradient(180deg,#fffdf8,#f4f0e5)!important;
}
.home-journey::before{
  inset:0!important;
  height:auto!important;
  background:
    linear-gradient(90deg,transparent 0 5%,rgba(184,158,20,.08) 5% 5.08%,transparent 5.08% 94.92%,rgba(184,158,20,.08) 94.92% 95%,transparent 95%),
    linear-gradient(180deg,rgba(184,158,20,.42),transparent 1px)!important;
  opacity:1!important;
}
.home-journey-heading h2{
  color:#003018!important;
  font-size:clamp(2.7rem,5vw,4.65rem)!important;
}
.home-journey-heading > span{
  color:#9e7918!important;
}
.home-journey-heading p{
  color:#64766c!important;
}
.home-journey-grid{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:6px!important;
  max-width:980px!important;
  margin:68px auto 0!important;
  padding:18px 0!important;
  border:0!important;
  perspective:none!important;
}
.home-journey-grid::before{
  content:""!important;
  position:absolute!important;
  display:block!important;
  top:0!important;
  bottom:0!important;
  right:50%!important;
  left:auto!important;
  width:2px!important;
  height:auto!important;
  transform:translateX(50%)!important;
  background:
    linear-gradient(180deg,transparent,#bd9828 8%,#e2c55e 48%,#927015 92%,transparent)!important;
  box-shadow:0 0 18px rgba(184,158,20,.14)!important;
}
.home-journey-step,
.home-journey-step:nth-child(2),
.home-journey-step:nth-child(3),
.home-journey-step:nth-child(4){
  isolation:isolate!important;
  position:relative!important;
  width:44%!important;
  min-height:182px!important;
  display:grid!important;
  justify-items:start!important;
  align-content:center!important;
  gap:7px!important;
  overflow:visible!important;
  padding:34px 44px!important;
  color:#003018!important;
  text-align:right!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  transition:transform .22s ease,color .22s ease!important;
}
.home-journey-step:nth-child(odd){
  justify-self:end!important;
}
.home-journey-step:nth-child(even){
  justify-self:start!important;
}
.home-journey-step::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  width:14%!important;
  height:1px!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(90deg,rgba(184,158,20,.7),transparent)!important;
  transform:none!important;
}
.home-journey-step:nth-child(odd)::before{
  right:-14%!important;
  left:auto!important;
  background:linear-gradient(90deg,transparent,#bd9828)!important;
}
.home-journey-step:nth-child(even)::before{
  right:auto!important;
  left:-14%!important;
  background:linear-gradient(90deg,#bd9828,transparent)!important;
}
.home-journey-step::after{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  top:50%!important;
  bottom:auto!important;
  width:13px!important;
  height:13px!important;
  border:2px solid #f2db84!important;
  border-radius:50%!important;
  background:#a9831e!important;
  box-shadow:0 0 0 6px #f5f1e7,0 0 18px rgba(184,158,20,.32)!important;
  opacity:1!important;
  transform:translateY(-50%)!important;
}
.home-journey-step:nth-child(odd)::after{
  right:calc(-14% - 7px)!important;
  left:auto!important;
}
.home-journey-step:nth-child(even)::after{
  right:auto!important;
  left:calc(-14% - 7px)!important;
}
.home-journey-number{
  position:absolute!important;
  z-index:-1!important;
  top:50%!important;
  right:28px!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  color:rgba(0,48,24,.09)!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:translateY(-50%)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:10rem!important;
  font-weight:900!important;
  line-height:.8!important;
  letter-spacing:0!important;
  transition:color .22s ease!important;
}
.home-journey-name{
  color:#a17b18!important;
  font-size:.8rem!important;
  font-weight:900!important;
}
.home-journey-step strong{
  max-width:300px!important;
  color:#003018!important;
  font-size:clamp(1.55rem,2.15vw,2rem)!important;
  line-height:1.24!important;
  text-shadow:none!important;
}
.home-journey-step:hover,
.home-journey-step:focus-visible{
  border:0!important;
  box-shadow:none!important;
}
.home-journey-step:nth-child(odd):hover,
.home-journey-step:nth-child(odd):focus-visible{
  transform:translateX(-8px)!important;
}
.home-journey-step:nth-child(even):hover,
.home-journey-step:nth-child(even):focus-visible{
  transform:translateX(8px)!important;
}
.home-journey-step:hover .home-journey-number,
.home-journey-step:focus-visible .home-journey-number{
  color:rgba(184,158,20,.2)!important;
  background:transparent!important;
  transform:translateY(-50%)!important;
}
.home-journey-step:hover strong,
.home-journey-step:focus-visible strong{
  color:#8a6815!important;
}
.home-stay{
  padding:100px 0!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.94),rgba(239,244,238,.96)),
    url("assets/library-light.svg") center/cover!important;
}
.home-stay-layout{
  display:grid!important;
  grid-template-columns:minmax(280px,.86fr) minmax(0,1.35fr)!important;
  gap:76px!important;
  align-items:center!important;
}
.home-stay-heading{
  display:block!important;
  text-align:right!important;
}
.home-stay-heading h2{
  max-width:500px!important;
  margin:12px 0 18px!important;
  font-size:clamp(2.65rem,4.3vw,4rem)!important;
}
.home-stay-heading p{
  max-width:470px!important;
  margin:0!important;
}
.home-stay-reasons{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
}
.home-stay-reasons::before{
  display:none!important;
}
.home-stay-reason,
.home-stay-reason:nth-child(2),
.home-stay-reason:nth-child(3){
  position:relative!important;
  min-height:126px!important;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-content:center!important;
  column-gap:18px!important;
  padding:24px 8px!important;
  border:0!important;
  border-top:1px solid rgba(184,158,20,.34)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-align:right!important;
  transform:none!important;
}
.home-stay-reason:last-child{
  border-bottom:1px solid rgba(184,158,20,.34)!important;
}
.home-stay-reason > span{
  position:static!important;
  grid-row:1 / 3!important;
  align-self:center!important;
  margin:0!important;
  color:rgba(184,158,20,.25)!important;
  font-size:4rem!important;
  line-height:1!important;
  transform:none!important;
}
.home-stay-reason p{
  margin:0 0 5px!important;
  text-align:right!important;
}
.home-stay-reason strong{
  max-width:none!important;
  margin:0!important;
  text-align:right!important;
  font-size:clamp(1.3rem,1.7vw,1.58rem)!important;
}
.home-stay-reason:hover{
  border-color:rgba(184,158,20,.6)!important;
  box-shadow:none!important;
  transform:translateX(-5px)!important;
}
.home-life-statement-card{
  background:
    radial-gradient(circle at 50% 0,rgba(225,192,73,.15),transparent 31%),
    linear-gradient(120deg,rgba(0,29,14,.99),rgba(0,68,33,.96),rgba(18,51,40,.98)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover!important;
}
@media(max-width:860px){
  .home-journey{
    padding:72px 0 82px!important;
  }
  .home-journey-grid{
    width:100%!important;
    margin-top:46px!important;
    padding-right:38px!important;
  }
  .home-journey-grid::before{
    right:20px!important;
    transform:none!important;
  }
  .home-journey-step,
  .home-journey-step:nth-child(2),
  .home-journey-step:nth-child(3),
  .home-journey-step:nth-child(4){
    width:100%!important;
    min-height:150px!important;
    justify-self:stretch!important;
    padding:25px 36px 25px 20px!important;
  }
  .home-journey-step::before{
    top:50%!important;
    right:-18px!important;
    left:auto!important;
    width:18px!important;
    background:#bd9828!important;
  }
  .home-journey-step::after,
  .home-journey-step:nth-child(odd)::after,
  .home-journey-step:nth-child(even)::after{
    display:block!important;
    top:50%!important;
    right:-24px!important;
    left:auto!important;
  }
  .home-journey-number{
    right:24px!important;
    font-size:7.5rem!important;
  }
  .home-journey-step:nth-child(odd):hover,
  .home-journey-step:nth-child(odd):focus-visible,
  .home-journey-step:nth-child(even):hover,
  .home-journey-step:nth-child(even):focus-visible{
    transform:translateX(-5px)!important;
  }
  .home-stay{
    padding:74px 0 80px!important;
  }
  .home-stay-layout{
    grid-template-columns:1fr!important;
    gap:42px!important;
  }
  .home-stay-heading{
    text-align:center!important;
  }
  .home-stay-heading h2,
  .home-stay-heading p{
    margin-inline:auto!important;
  }
}
@media(max-width:520px){
  .home-journey-heading h2{
    font-size:2.5rem!important;
  }
  .home-journey-step strong{
    font-size:1.38rem!important;
  }
  .home-stay-heading h2{
    font-size:2.45rem!important;
  }
  .home-stay-reason,
  .home-stay-reason:nth-child(2),
  .home-stay-reason:nth-child(3){
    grid-template-columns:44px minmax(0,1fr)!important;
    column-gap:12px!important;
    padding-block:20px!important;
  }
  .home-stay-reason > span{
    font-size:3.2rem!important;
  }
}

/* Immersive journey: animated light path, staged waypoints and a clear destination. */
.home-journey{
  isolation:isolate!important;
  position:relative!important;
  overflow:hidden!important;
  padding:104px 0 122px!important;
  color:#fff!important;
  background:
    linear-gradient(110deg,rgba(0,19,9,.96),rgba(0,55,28,.86),rgba(2,28,18,.96)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover!important;
}
.home-journey::before{
  content:""!important;
  position:absolute!important;
  z-index:-2!important;
  inset:0!important;
  height:auto!important;
  background:
    radial-gradient(circle at 18% 18%,rgba(231,199,84,.18),transparent 20%),
    radial-gradient(circle at 82% 74%,rgba(85,159,118,.2),transparent 24%),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.018) 1px,transparent 1px)!important;
  background-size:auto,auto,86px 100%,100% 86px!important;
  opacity:1!important;
}
.home-journey::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  top:-18%!important;
  left:18%!important;
  width:64%!important;
  height:136%!important;
  border-radius:50%!important;
  background:radial-gradient(ellipse,rgba(226,194,76,.1),transparent 62%)!important;
  filter:blur(8px)!important;
  animation:journey-aurora 9s ease-in-out infinite alternate!important;
  pointer-events:none!important;
}
.home-journey .section-inner{
  position:relative!important;
  z-index:1!important;
}
.home-journey-heading > span{
  color:#e2c45d!important;
}
.home-journey-heading h2{
  color:#fffdf4!important;
  font-size:clamp(3rem,5.6vw,5.4rem)!important;
  text-shadow:0 4px 28px rgba(0,0,0,.34)!important;
}
.home-journey-heading p{
  color:rgba(255,255,255,.72)!important;
}
.home-journey-origin,
.home-journey-destination{
  position:relative!important;
  width:max-content!important;
  max-width:90%!important;
  display:grid!important;
  justify-items:center!important;
  gap:3px!important;
  margin-inline:auto!important;
  text-align:center!important;
}
.home-journey-origin{
  margin-top:58px!important;
  padding-bottom:25px!important;
}
.home-journey-origin::after{
  content:""!important;
  position:absolute!important;
  bottom:0!important;
  width:11px!important;
  height:11px!important;
  border:1px solid #f0d77b!important;
  transform:rotate(45deg)!important;
  background:#b38b1f!important;
  box-shadow:0 0 0 7px rgba(0,48,24,.8),0 0 24px rgba(236,207,98,.4)!important;
}
.home-journey-origin span,
.home-journey-destination span{
  color:#d8b94e!important;
  font-size:.72rem!important;
  font-weight:900!important;
}
.home-journey-origin strong{
  color:#fff!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:1.35rem!important;
}
.home-journey-grid{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  max-width:980px!important;
  margin:0 auto!important;
  padding:28px 0!important;
}
.home-journey-grid::before{
  content:""!important;
  position:absolute!important;
  display:block!important;
  top:0!important;
  right:50%!important;
  bottom:0!important;
  left:auto!important;
  width:3px!important;
  height:auto!important;
  transform:translateX(50%)!important;
  background:
    repeating-linear-gradient(180deg,#7e5c0e 0 20px,#f2da78 20px 42px,#8d6915 42px 62px)!important;
  background-size:100% 124px!important;
  box-shadow:0 0 12px rgba(235,204,88,.34),0 0 34px rgba(235,204,88,.13)!important;
  animation:journey-light-flow 2.8s linear infinite!important;
}
.home-journey-step,
.home-journey-step:nth-child(2),
.home-journey-step:nth-child(3),
.home-journey-step:nth-child(4){
  isolation:isolate!important;
  position:relative!important;
  width:43%!important;
  min-height:190px!important;
  display:grid!important;
  justify-items:start!important;
  align-content:center!important;
  gap:8px!important;
  overflow:visible!important;
  padding:36px 42px!important;
  color:#fff!important;
  text-align:right!important;
  border:0!important;
  border-radius:0!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.055),rgba(255,255,255,.012))!important;
  box-shadow:inset 0 1px rgba(239,211,104,.14),inset 0 -1px rgba(239,211,104,.08)!important;
  transition:opacity .75s ease,transform .9s cubic-bezier(.2,.8,.2,1),background .22s ease!important;
}
.home-journey-step.reveal{
  opacity:0!important;
}
.home-journey-step:nth-child(odd){
  justify-self:end!important;
  transform:translateX(82px)!important;
}
.home-journey-step:nth-child(even){
  justify-self:start!important;
  transform:translateX(-82px)!important;
}
.home-journey-step:nth-child(2){transition-delay:.12s!important}
.home-journey-step:nth-child(3){transition-delay:.24s!important}
.home-journey-step:nth-child(4){transition-delay:.36s!important}
.home-journey-step.reveal.is-visible{
  opacity:1!important;
  transform:translateX(0)!important;
}
.home-journey-step::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  top:50%!important;
  width:17%!important;
  height:1px!important;
  border:0!important;
  background:linear-gradient(90deg,rgba(237,208,98,.9),rgba(237,208,98,.08))!important;
}
.home-journey-step:nth-child(odd)::before{
  right:-17%!important;
  left:auto!important;
  background:linear-gradient(90deg,rgba(237,208,98,.08),rgba(237,208,98,.9))!important;
}
.home-journey-step:nth-child(even)::before{
  right:auto!important;
  left:-17%!important;
}
.home-journey-step::after{
  content:""!important;
  position:absolute!important;
  z-index:2!important;
  top:50%!important;
  width:15px!important;
  height:15px!important;
  border:2px solid #ffe99b!important;
  border-radius:50%!important;
  background:#b68d1f!important;
  box-shadow:0 0 0 7px rgba(0,42,21,.9),0 0 26px rgba(244,216,112,.68)!important;
  transform:translateY(-50%)!important;
  animation:journey-node-pulse 2.4s ease-in-out infinite!important;
}
.home-journey-step:nth-child(odd)::after{
  right:calc(-17% - 8px)!important;
  left:auto!important;
}
.home-journey-step:nth-child(even)::after{
  right:auto!important;
  left:calc(-17% - 8px)!important;
}
.home-journey-step:nth-child(2)::after{animation-delay:.4s!important}
.home-journey-step:nth-child(3)::after{animation-delay:.8s!important}
.home-journey-step:nth-child(4)::after{animation-delay:1.2s!important}
.home-journey-number{
  position:absolute!important;
  z-index:-1!important;
  top:50%!important;
  right:24px!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  color:rgba(231,199,84,.13)!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:translateY(-50%)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:10.5rem!important;
  font-weight:900!important;
  line-height:.8!important;
  animation:journey-letter-breathe 4s ease-in-out infinite alternate!important;
}
.home-journey-name{
  position:relative!important;
  z-index:1!important;
  color:#e0bf54!important;
  font-size:.8rem!important;
  font-weight:900!important;
}
.home-journey-step strong{
  position:relative!important;
  z-index:1!important;
  max-width:310px!important;
  color:#fff!important;
  font-size:clamp(1.55rem,2.15vw,2rem)!important;
  line-height:1.24!important;
  text-shadow:0 3px 18px rgba(0,0,0,.34)!important;
}
.home-journey-step.reveal.is-visible:hover,
.home-journey-step.reveal.is-visible:focus-visible{
  background:linear-gradient(90deg,rgba(235,205,91,.13),rgba(255,255,255,.025))!important;
  transform:translateY(-5px)!important;
}
.home-journey-destination{
  margin-top:0!important;
  padding:30px 44px 0!important;
}
.home-journey-destination::before{
  content:""!important;
  width:1px!important;
  height:38px!important;
  margin-bottom:10px!important;
  background:linear-gradient(180deg,#e4c85f,transparent)!important;
}
.home-journey-destination strong{
  max-width:720px!important;
  color:#f3d66d!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(2rem,3.5vw,3.45rem)!important;
  line-height:1.16!important;
  text-shadow:0 5px 28px rgba(0,0,0,.34)!important;
}
@keyframes journey-light-flow{
  to{background-position:0 124px}
}
@keyframes journey-node-pulse{
  0%,100%{box-shadow:0 0 0 7px rgba(0,42,21,.9),0 0 18px rgba(244,216,112,.38)}
  50%{box-shadow:0 0 0 10px rgba(0,42,21,.68),0 0 34px rgba(244,216,112,.82)}
}
@keyframes journey-letter-breathe{
  from{opacity:.68;transform:translateY(-50%) scale(.96)}
  to{opacity:1;transform:translateY(-50%) scale(1.03)}
}
@keyframes journey-aurora{
  from{transform:translate3d(-3%,0,0) scale(.96);opacity:.65}
  to{transform:translate3d(4%,2%,0) scale(1.05);opacity:1}
}
@media(max-width:860px){
  .home-journey{
    padding:76px 0 86px!important;
  }
  .home-journey-origin{
    margin-top:44px!important;
  }
  .home-journey-grid{
    width:100%!important;
    padding:22px 0 22px 0!important;
  }
  .home-journey-grid::before{
    right:20px!important;
    transform:none!important;
  }
  .home-journey-step,
  .home-journey-step:nth-child(2),
  .home-journey-step:nth-child(3),
  .home-journey-step:nth-child(4){
    width:calc(100% - 46px)!important;
    min-height:156px!important;
    justify-self:start!important;
    padding:27px 54px 27px 22px!important;
  }
  .home-journey-step:nth-child(odd),
  .home-journey-step:nth-child(even){
    transform:translateX(-52px)!important;
  }
  .home-journey-step.reveal.is-visible{
    transform:translateX(0)!important;
  }
  .home-journey-step::before,
  .home-journey-step:nth-child(odd)::before,
  .home-journey-step:nth-child(even)::before{
    top:50%!important;
    right:-26px!important;
    left:auto!important;
    width:26px!important;
    background:linear-gradient(90deg,rgba(237,208,98,.08),rgba(237,208,98,.9))!important;
  }
  .home-journey-step::after,
  .home-journey-step:nth-child(odd)::after,
  .home-journey-step:nth-child(even)::after{
    top:50%!important;
    right:-34px!important;
    left:auto!important;
  }
  .home-journey-number{
    right:28px!important;
    font-size:7.7rem!important;
  }
  .home-journey-destination{
    padding-inline:24px!important;
  }
}
@media(max-width:520px){
  .home-journey-heading h2{
    font-size:2.62rem!important;
  }
  .home-journey-heading p{
    max-width:300px!important;
    line-height:1.6!important;
  }
  .home-journey-step strong{
    font-size:1.38rem!important;
  }
  .home-journey-destination strong{
    font-size:2.15rem!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .home-journey::after,
  .home-journey-grid::before,
  .home-journey-step::after,
  .home-journey-number{
    animation:none!important;
  }
  .home-journey-step.reveal{
    opacity:1!important;
    transform:none!important;
  }
}

/* Final living-map precedence over the earlier journey prototypes. */
@media(min-width:861px){
  .home-journey{
    min-height:1420px!important;
    background:
      linear-gradient(110deg,rgba(0,16,8,.97),rgba(0,57,29,.88),rgba(1,24,15,.97)),
      url("assets/torat-avi-green-texture-clean.webp") center/cover fixed!important;
  }
  .home-journey-grid{
    min-height:900px!important;
    max-width:1060px!important;
    padding:0!important;
  }
  .home-journey-grid::before{
    display:none!important;
    content:none!important;
  }
  .home-journey-step,
  .home-journey-step:nth-child(2),
  .home-journey-step:nth-child(3),
  .home-journey-step:nth-child(4){
    z-index:2!important;
    width:43%!important;
    min-height:205px!important;
    padding:38px 44px!important;
    border:1px solid rgba(236,205,91,.13)!important;
    border-inline-start:3px solid rgba(226,193,72,.46)!important;
    background:
      linear-gradient(105deg,rgba(255,255,255,.065),rgba(255,255,255,.014)),
      radial-gradient(circle at 84% 50%,rgba(221,190,75,.08),transparent 32%)!important;
    box-shadow:0 24px 60px rgba(0,0,0,.11),inset 0 1px rgba(255,255,255,.055)!important;
  }
  .home-journey-step::before,
  .home-journey-step::after{
    display:none!important;
    content:none!important;
  }
}
@media(max-width:860px){
  .home-journey{
    min-height:0!important;
    background:
      linear-gradient(110deg,rgba(0,20,10,.97),rgba(0,58,30,.9),rgba(1,25,16,.97)),
      url("assets/torat-avi-green-texture-clean.webp") center/cover!important;
  }
  .home-journey-grid{
    min-height:0!important;
    padding:22px 0 22px 42px!important;
  }
  .home-journey-map{
    display:none!important;
  }
  .home-journey-grid::before{
    content:""!important;
    position:absolute!important;
    display:block!important;
    top:0!important;
    right:20px!important;
    bottom:0!important;
    width:3px!important;
    height:auto!important;
    transform:none!important;
    background:repeating-linear-gradient(180deg,#8c6814 0 18px,#f0d56c 18px 38px,#8c6814 38px 58px)!important;
    background-size:100% 116px!important;
    animation:journey-light-flow 2.8s linear infinite!important;
  }
  .home-journey-step,
  .home-journey-step:nth-child(2),
  .home-journey-step:nth-child(3),
  .home-journey-step:nth-child(4){
    width:calc(100% - 46px)!important;
    min-height:178px!important;
    justify-self:start!important;
    padding:30px 45px 30px 22px!important;
    border:1px solid rgba(236,205,91,.13)!important;
    border-inline-start:3px solid rgba(226,193,72,.46)!important;
    background:
      linear-gradient(105deg,rgba(255,255,255,.065),rgba(255,255,255,.014)),
      radial-gradient(circle at 84% 50%,rgba(221,190,75,.08),transparent 32%)!important;
  }
  .home-journey-step::before{
    display:none!important;
    content:none!important;
  }
  .home-journey-step::after{
    content:""!important;
    position:absolute!important;
    display:block!important;
    top:50%!important;
    right:-34px!important;
    left:auto!important;
    width:14px!important;
    height:14px!important;
    border:2px solid #ffe99b!important;
    border-radius:50%!important;
    background:#b68d1f!important;
    box-shadow:0 0 0 7px rgba(0,42,21,.9),0 0 26px rgba(244,216,112,.62)!important;
    transform:translateY(-50%)!important;
    animation:journey-node-pulse 2.4s ease-in-out infinite!important;
  }
}

/* Final living map v2 precedence. */
.home-journey-map-mobile{
  display:none!important;
}
.journey-map-waypoints circle{
  transition:fill .35s ease,stroke .35s ease,opacity .35s ease!important;
}
.journey-map-waypoints circle.is-reached{
  fill:#f5dc7c!important;
  stroke:#fff2b1!important;
  opacity:1!important;
  filter:drop-shadow(0 0 8px #ffe99b) drop-shadow(0 0 20px rgba(245,214,95,.72))!important;
}
.home-journey-step.is-journey-reached{
  border-color:rgba(239,210,102,.4)!important;
  border-inline-start-color:#edcf67!important;
  background:
    linear-gradient(105deg,rgba(237,207,96,.15),rgba(255,255,255,.025)),
    radial-gradient(circle at 84% 50%,rgba(221,190,75,.15),transparent 36%)!important;
  box-shadow:0 28px 68px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.08)!important;
}
.home-journey-step.is-journey-reached .home-journey-number{
  color:rgba(238,207,94,.28)!important;
}
.home-journey-step.is-journey-reached .home-journey-name{
  color:#ffe58d!important;
}
.home-journey-step.is-journey-reached strong{
  color:#fff9da!important;
}
.home-journey-destination{
  transition:filter .5s ease,transform .5s ease!important;
}
.home-journey-destination.is-journey-reached{
  filter:drop-shadow(0 0 24px rgba(231,198,79,.2))!important;
  transform:translateY(-4px)!important;
}
.home-journey-destination.is-journey-reached strong{
  color:#ffe98f!important;
  text-shadow:0 0 18px rgba(246,215,95,.28),0 5px 28px rgba(0,0,0,.34)!important;
}
@media(max-width:860px){
  .home-journey-map-desktop{
    display:none!important;
  }
  .home-journey-map-mobile{
    position:absolute!important;
    z-index:3!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    display:block!important;
    overflow:visible!important;
    pointer-events:none!important;
  }
  .home-journey-grid::before{
    display:none!important;
    content:none!important;
  }
  .home-journey-grid{
    min-height:780px!important;
    padding:12px 36px 12px 0!important;
  }
  .home-journey-step,
  .home-journey-step:nth-child(2),
  .home-journey-step:nth-child(3),
  .home-journey-step:nth-child(4){
    z-index:2!important;
    width:calc(100% - 34px)!important;
    min-height:182px!important;
    padding:30px 48px 30px 20px!important;
  }
  .home-journey-step:nth-child(even){
    margin-inline-start:12px!important;
  }
  .home-journey-step::after{
    display:none!important;
    content:none!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .home-journey-step.is-journey-reached,
  .home-journey-destination.is-journey-reached{
    transition:none!important;
  }
}

/* Homepage nav brand logo replacement. */
.site-header .home-mevakshei-brand-link{
  min-width:0!important;
  width:auto!important;
  max-width:clamp(148px,13vw,188px)!important;
  margin-inline-start:auto!important;
  margin-inline-end:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.site-header .home-mevakshei-nav-logo-panel{
  width:clamp(148px,13vw,188px)!important;
  height:54px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

.site-header .home-mevakshei-nav-logo-img{
  width:100%!important;
  height:100%!important;
  max-height:54px!important;
  object-fit:contain!important;
  display:block!important;
  transform:scale(1.2)!important;
  transform-origin:center!important;
  filter:drop-shadow(0 8px 14px rgba(0,32,17,.16));
}

@media(max-width:760px){
  .site-header .home-mevakshei-brand-link{
    width:min(52vw,168px)!important;
    max-width:min(52vw,168px)!important;
    margin-inline:auto!important;
  }

  .site-header .home-mevakshei-nav-logo-panel{
    width:100%!important;
    height:50px!important;
  }

  .site-header .home-mevakshei-nav-logo-img{
    max-height:50px!important;
  }
}

/* Premium refinement for "התורה פוגשת את החיים" section only. */
.home-mevakshei-intro{
  isolation:isolate!important;
  overflow:hidden!important;
  padding:104px 0 112px!important;
  background:
    radial-gradient(circle at 50% 0,rgba(199,155,69,.18),transparent 30%),
    linear-gradient(180deg,rgba(255,253,248,.98),rgba(246,242,231,.98))!important;
}

.home-mevakshei-intro::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,transparent 0 8%,rgba(0,48,24,.035) 8.1% 8.25%,transparent 8.35% 91.65%,rgba(0,48,24,.035) 91.75% 91.9%,transparent 92%),
    radial-gradient(circle at 50% 100%,rgba(134,165,143,.16),transparent 32%)!important;
}

.home-mevakshei-intro .section-inner{
  position:relative!important;
  z-index:1!important;
}

.home-mevakshei-intro-card{
  position:relative!important;
  width:min(980px,100%)!important;
  min-height:390px!important;
  display:grid!important;
  justify-items:center!important;
  align-content:center!important;
  gap:0!important;
  margin:auto!important;
  padding:58px clamp(24px,5vw,76px)!important;
  text-align:center!important;
  border-top:1px solid rgba(184,158,20,.52)!important;
  border-bottom:1px solid rgba(184,158,20,.36)!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,253,248,.46)),
    radial-gradient(circle at 50% 0,rgba(255,244,223,.72),transparent 42%)!important;
  box-shadow:0 24px 70px rgba(0,48,24,.075)!important;
}

.home-mevakshei-intro-card::before,
.home-mevakshei-intro-card::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  pointer-events:none!important;
}

.home-mevakshei-intro-card::before{
  top:28px!important;
  width:min(330px,54vw)!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,#0b6a3c,#c7a33a,#0b6a3c,transparent)!important;
}

.home-mevakshei-intro-card::after{
  top:22px!important;
  width:11px!important;
  height:11px!important;
  border:1px solid rgba(184,158,20,.76)!important;
  background:#fffdf8!important;
  transform:translateX(-50%) rotate(45deg)!important;
  box-shadow:0 0 0 8px rgba(255,253,248,.92),0 0 24px rgba(184,158,20,.22)!important;
}

.home-mevakshei-intro-card h2{
  margin:0 0 30px!important;
  padding:0 0 23px!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(2.55rem,5vw,4.95rem)!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-shadow:0 1px 0 #fff,0 18px 42px rgba(0,48,24,.09)!important;
}

.home-mevakshei-intro-card h2::after{
  width:min(190px,42vw)!important;
  height:3px!important;
  background:linear-gradient(90deg,transparent,#0b6a3c,#c7a33a,transparent)!important;
  box-shadow:0 9px 22px rgba(184,158,20,.14)!important;
}

.home-mevakshei-intro-card p{
  max-width:760px!important;
  margin:0 auto 12px!important;
  color:#314f43!important;
  font-size:clamp(1.12rem,1.55vw,1.3rem)!important;
  font-weight:500!important;
  line-height:1.95!important;
}

.home-mevakshei-intro-card strong{
  max-width:760px!important;
  margin:18px auto 0!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.28rem,1.95vw,1.62rem)!important;
  font-weight:900!important;
  line-height:1.42!important;
}

.home-mevakshei-intro-link{
  min-height:50px!important;
  margin-top:34px!important;
  padding:11px 30px!important;
  border:1px solid rgba(184,158,20,.66)!important;
  border-radius:999px!important;
  color:#003018!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.42),transparent),
    linear-gradient(135deg,#f6df81,#c79b45)!important;
  box-shadow:0 16px 36px rgba(153,116,22,.17),inset 0 1px 0 rgba(255,255,255,.62)!important;
  font-size:1rem!important;
  font-weight:900!important;
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease!important;
}

.home-mevakshei-intro-link:hover,
.home-mevakshei-intro-link:focus-visible{
  transform:translateY(-3px)!important;
  filter:saturate(1.04)!important;
  box-shadow:0 22px 44px rgba(153,116,22,.24),inset 0 1px 0 rgba(255,255,255,.72)!important;
}

.home-mevakshei-intro-card.reveal{
  transform:translateY(22px) scale(.985);
}

.home-mevakshei-intro-card.reveal.is-visible{
  transform:translateY(0) scale(1);
}

@media(max-width:860px){
  .home-mevakshei-intro{
    padding:72px 0 82px!important;
  }

  .home-mevakshei-intro-card{
    min-height:0!important;
    padding:50px 20px 46px!important;
  }

  .home-mevakshei-intro-card h2{
    margin-bottom:24px!important;
    font-size:clamp(2.25rem,10vw,3.2rem)!important;
  }

  .home-mevakshei-intro-card p{
    font-size:1.02rem!important;
    line-height:1.82!important;
  }

  .home-mevakshei-intro-card strong{
    font-size:1.18rem!important;
  }

  .home-mevakshei-intro-link{
    width:min(280px,100%)!important;
  }
}

/* Open layout refinement for "התורה פוגשת את החיים" - no card background inside the section. */
.home-mevakshei-intro-card{
  min-height:0!important;
  padding:32px clamp(18px,4vw,54px)!important;
  border-top:0!important;
  border-bottom:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.home-mevakshei-intro-card::before{
  top:0!important;
  width:min(250px,46vw)!important;
  background:linear-gradient(90deg,transparent,#0b6a3c,#c7a33a,transparent)!important;
}

.home-mevakshei-intro-card::after{
  top:-5px!important;
  background:#f8f4ea!important;
  box-shadow:0 0 0 8px #f8f4ea,0 0 20px rgba(184,158,20,.16)!important;
}

@media(max-width:860px){
  .home-mevakshei-intro-card{
    padding:30px 18px!important;
  }
}

/* Journey origin and destination typography refinement only. */
.home-journey-origin,
.home-journey-destination{
  width:min(760px,92%)!important;
  max-width:92%!important;
  display:grid!important;
  justify-items:center!important;
  gap:8px!important;
  margin-inline:auto!important;
  text-align:center!important;
}

.home-journey-origin{
  margin-top:54px!important;
  padding:18px 32px 30px!important;
}

.home-journey-destination{
  margin-top:18px!important;
  padding:34px 32px 0!important;
}

.home-journey-origin span,
.home-journey-destination span{
  position:relative!important;
  display:inline-grid!important;
  grid-auto-flow:column!important;
  align-items:center!important;
  gap:12px!important;
  color:#f0d777!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1rem,1.35vw,1.24rem)!important;
  font-weight:900!important;
  line-height:1.1!important;
  text-shadow:0 3px 18px rgba(0,0,0,.28)!important;
}

.home-journey-origin span::before,
.home-journey-origin span::after,
.home-journey-destination span::before,
.home-journey-destination span::after{
  content:""!important;
  width:38px!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,rgba(240,215,119,.82))!important;
}

.home-journey-origin span::after,
.home-journey-destination span::after{
  background:linear-gradient(90deg,rgba(240,215,119,.82),transparent)!important;
}

.home-journey-origin strong,
.home-journey-destination strong{
  max-width:760px!important;
  margin:0!important;
  color:#fff9df!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-weight:950!important;
  letter-spacing:0!important;
  text-align:center!important;
  text-shadow:0 6px 28px rgba(0,0,0,.34)!important;
}

.home-journey-origin strong{
  font-size:clamp(1.75rem,2.7vw,2.65rem)!important;
  line-height:1.12!important;
}

.home-journey-destination strong{
  color:#f7dd7d!important;
  font-size:clamp(2.15rem,3.8vw,3.7rem)!important;
  line-height:1.12!important;
}

.home-journey-destination em{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin:18px auto 0!important;
  padding:10px 22px!important;
  border:1px solid rgba(240,215,119,.32)!important;
  border-radius:999px!important;
  color:#fff5c9!important;
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.025))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 14px 36px rgba(0,0,0,.14)!important;
  font-style:normal!important;
  font-size:clamp(.98rem,1.25vw,1.12rem)!important;
  font-weight:850!important;
  line-height:1.45!important;
  text-align:center!important;
}

@media(max-width:860px){
  .home-journey-origin{
    margin-top:42px!important;
    padding:14px 18px 24px!important;
  }

  .home-journey-destination{
    padding:28px 18px 0!important;
  }

  .home-journey-origin span,
  .home-journey-destination span{
    font-size:1rem!important;
  }

  .home-journey-origin span::before,
  .home-journey-origin span::after,
  .home-journey-destination span::before,
  .home-journey-destination span::after{
    width:24px!important;
  }

  .home-journey-origin strong{
    font-size:1.7rem!important;
  }

  .home-journey-destination strong{
    font-size:2.15rem!important;
  }

  .home-journey-destination em{
    max-width:310px!important;
    padding:10px 16px!important;
  }
}

/* "תורת חיים" title styling only. */
.home-life-statement-card > .home-life-title{
  width:min(1040px,100%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(28px,7vw,120px)!important;
  margin:0 auto -6px!important;
  color:#b9d8c4!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(4rem,11vw,9rem)!important;
  font-weight:900!important;
  line-height:.88!important;
  white-space:nowrap!important;
  text-shadow:none!important;
}

.home-life-statement-card > .home-life-title::before,
.home-life-statement-card > .home-life-title::after{
  content:""!important;
  flex:1 1 0!important;
  min-width:34px!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,rgba(7,61,35,.58))!important;
}

.home-life-statement-card > .home-life-title::after{
  background:linear-gradient(90deg,rgba(7,61,35,.58),transparent)!important;
}

.home-life-title span:first-child{
  order:-1!important;
}

.home-life-title span:last-child{
  order:1!important;
}

@media(max-width:860px){
  .home-life-statement-card > .home-life-title{
    justify-content:center!important;
    gap:18px!important;
    margin-bottom:0!important;
    font-size:clamp(3.1rem,17vw,5.8rem)!important;
  }

  .home-life-statement-card > .home-life-title::before,
  .home-life-statement-card > .home-life-title::after{
    display:none!important;
  }
}

/* Place "תורת" and "חיים" around the central statement only. */
.home-life-statement{
  background:#003018!important;
}

.home-life-statement-card{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto auto!important;
  align-items:center!important;
  justify-items:center!important;
  column-gap:clamp(24px,5vw,82px)!important;
  row-gap:20px!important;
  min-height:440px!important;
  background:
    linear-gradient(90deg,rgba(0,24,12,.38),rgba(0,48,24,.08),rgba(0,24,12,.38)),
    url("assets/home-life-green-bg.webp") center/cover no-repeat!important;
}

.home-life-statement-card::before,
.home-life-statement-card::after{
  display:none!important;
  content:none!important;
}

.home-life-statement-card > .home-life-title{
  grid-column:1!important;
  grid-row:1!important;
  width:min(1040px,100%)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.16em!important;
  margin:0 auto -4px!important;
  color:rgba(178,190,126,.38)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(4.6rem,12vw,10rem)!important;
  font-weight:900!important;
  line-height:.78!important;
  white-space:nowrap!important;
  text-shadow:0 1px 0 rgba(255,245,190,.08),0 12px 32px rgba(0,0,0,.18)!important;
}

.home-life-statement-card > .home-life-title::before,
.home-life-statement-card > .home-life-title::after{
  display:none!important;
  content:none!important;
}

.home-life-title span:first-child{
  grid-column:auto!important;
  grid-row:1!important;
  justify-self:auto!important;
  color:inherit!important;
}

.home-life-title span:last-child{
  grid-column:auto!important;
  grid-row:1!important;
  justify-self:auto!important;
  color:inherit!important;
}

.home-life-statement-card h2{
  grid-column:1!important;
  grid-row:2!important;
  margin:0!important;
  justify-self:center!important;
  text-align:center!important;
  font-size:clamp(2.45rem,4.25vw,4.15rem)!important;
}

.home-life-statement-card p{
  grid-column:1 / -1!important;
  grid-row:3!important;
  margin:0 auto!important;
  text-align:center!important;
}

@media(max-width:860px){
  .home-life-statement-card{
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto auto!important;
    row-gap:16px!important;
    min-height:420px!important;
  }

  .home-life-statement-card > .home-life-title{
    display:flex!important;
    grid-column:1!important;
    grid-row:1!important;
    gap:.16em!important;
    font-size:clamp(3.5rem,19vw,6.2rem)!important;
  }

  .home-life-title span:first-child,
  .home-life-title span:last-child,
  .home-life-statement-card h2,
  .home-life-statement-card p{
    grid-column:1!important;
  }

  .home-life-statement-card h2{
    grid-row:2!important;
  }

  .home-life-statement-card p{
    grid-row:3!important;
  }
}

/* Redesign "יותר מתשובה אחת" section only. */
.home-stay{
  padding:108px 0 118px!important;
  background:
    radial-gradient(circle at 50% 0,rgba(199,155,69,.12),transparent 30%),
    linear-gradient(180deg,#fffdf8,#f4f0e5)!important;
}

.home-stay-layout{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  gap:58px!important;
}

.home-stay-heading{
  width:min(860px,100%)!important;
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
}

.home-stay-heading > span{
  color:#b08a24!important;
  font-size:.82rem!important;
  font-weight:900!important;
}

.home-stay-heading h2{
  max-width:900px!important;
  margin:10px auto 18px!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(2.7rem,5vw,4.85rem)!important;
  font-weight:950!important;
  line-height:1!important;
  text-align:center!important;
}

.home-stay-heading p{
  max-width:680px!important;
  margin:0 auto!important;
  color:#52685e!important;
  font-size:clamp(1.05rem,1.45vw,1.2rem)!important;
  line-height:1.85!important;
  text-align:center!important;
}

.home-stay-reasons{
  width:min(1060px,100%)!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
  margin:0!important;
  padding:0!important;
}

.home-stay-reasons::before{
  display:none!important;
  content:none!important;
}

.home-stay-reason,
.home-stay-reason:nth-child(2),
.home-stay-reason:nth-child(3){
  position:relative!important;
  min-height:250px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto!important;
  align-content:center!important;
  justify-items:center!important;
  row-gap:12px!important;
  padding:46px 30px 38px!important;
  border:1px solid rgba(0,48,24,.12)!important;
  border-top:3px solid rgba(184,158,20,.78)!important;
  border-bottom:1px solid rgba(184,158,20,.22)!important;
  border-radius:0!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,253,248,.64)),
    radial-gradient(circle at 50% 0,rgba(199,155,69,.15),transparent 42%)!important;
  box-shadow:0 24px 60px rgba(0,48,24,.08)!important;
  text-align:center!important;
  transform:none!important;
  overflow:hidden!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}

.home-stay-reason:last-child{
  border-bottom:1px solid rgba(184,158,20,.22)!important;
}

.home-stay-reason > span{
  position:absolute!important;
  inset:18px auto auto 22px!important;
  grid-row:auto!important;
  align-self:auto!important;
  margin:0!important;
  color:rgba(184,158,20,.14)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:7rem!important;
  font-weight:900!important;
  line-height:.8!important;
  transform:none!important;
}

.home-stay-reason p,
.home-stay-reason strong{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  max-width:280px!important;
  margin-inline:auto!important;
  text-align:center!important;
}

.home-stay-reason p{
  margin:0!important;
  color:#536b60!important;
  font-size:clamp(1rem,1.25vw,1.1rem)!important;
  font-weight:650!important;
  line-height:1.7!important;
}

.home-stay-reason strong{
  margin:0!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.52rem,2vw,1.95rem)!important;
  font-weight:900!important;
  line-height:1.22!important;
}

.home-stay-reason:hover,
.home-stay-reason:focus-within{
  border-top-color:#0b6a3c!important;
  border-color:rgba(11,106,60,.24)!important;
  box-shadow:0 30px 76px rgba(0,48,24,.13)!important;
  transform:translateY(-5px)!important;
}

@media(max-width:860px){
  .home-stay{
    padding:78px 0 88px!important;
  }

  .home-stay-layout{
    gap:38px!important;
  }

  .home-stay-reasons{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }

  .home-stay-reason,
  .home-stay-reason:nth-child(2),
  .home-stay-reason:nth-child(3){
    min-height:210px!important;
    padding:40px 24px 34px!important;
  }

  .home-stay-reason > span{
    font-size:5.7rem!important;
  }
}

/* Reference-style redesign for "יותר מתשובה אחת" section only. */
.home-stay{
  overflow:hidden!important;
  padding:112px 0 126px!important;
  background:
    linear-gradient(180deg,rgba(255,253,247,.9),rgba(255,250,238,.96)),
    radial-gradient(circle at 50% 12%,rgba(199,155,69,.13),transparent 30%),
    url("assets/library-light.svg") center/cover no-repeat!important;
}

.home-stay::after{
  content:""!important;
  position:absolute!important;
  right:-10%!important;
  left:-10%!important;
  bottom:-70px!important;
  height:150px!important;
  border-top:2px solid rgba(184,132,28,.72)!important;
  border-radius:50% 50% 0 0!important;
  background:#003018!important;
  pointer-events:none!important;
}

.home-stay-layout{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  gap:62px!important;
}

.home-stay-heading{
  width:min(980px,100%)!important;
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
}

.home-stay-heading > span{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:18px!important;
  color:#a97917!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.05rem,1.45vw,1.32rem)!important;
  font-weight:800!important;
  line-height:1!important;
}

.home-stay-heading > span::before,
.home-stay-heading > span::after{
  content:""!important;
  width:116px!important;
  height:1px!important;
  background:linear-gradient(90deg,transparent,#b88622)!important;
}

.home-stay-heading > span::after{
  background:linear-gradient(90deg,#b88622,transparent)!important;
}

.home-stay-heading h2{
  max-width:980px!important;
  margin:22px auto 24px!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(3.2rem,6.6vw,6.8rem)!important;
  font-weight:950!important;
  line-height:.95!important;
  text-align:center!important;
  text-shadow:0 3px 0 rgba(255,255,255,.84),0 18px 30px rgba(0,48,24,.16)!important;
}

.home-stay-heading p{
  position:relative!important;
  max-width:820px!important;
  margin:0 auto!important;
  padding-top:22px!important;
  color:#333a34!important;
  font-size:clamp(1.15rem,1.65vw,1.38rem)!important;
  line-height:1.8!important;
  text-align:center!important;
}

.home-stay-heading p::before,
.home-stay-heading p::after{
  content:""!important;
  position:absolute!important;
  top:0!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  height:1px!important;
}

.home-stay-heading p::before{
  width:150px!important;
  background:linear-gradient(90deg,transparent,#b88622,transparent)!important;
}

.home-stay-heading p::after{
  top:-5px!important;
  width:10px!important;
  height:10px!important;
  border:1px solid rgba(184,132,28,.8)!important;
  background:#fff8e8!important;
  transform:translateX(-50%) rotate(45deg)!important;
}

.home-stay-reasons{
  width:min(1180px,100%)!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:30px!important;
  margin:0!important;
  padding:0 0 10px!important;
}

.home-stay-reasons::before{
  display:none!important;
  content:none!important;
}

.home-stay-reason,
.home-stay-reason:nth-child(2),
.home-stay-reason:nth-child(3){
  position:relative!important;
  min-height:310px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:center!important;
  justify-items:center!important;
  gap:12px!important;
  padding:92px 32px 42px!important;
  border:1px solid rgba(184,132,28,.32)!important;
  border-top:3px solid #a97917!important;
  border-bottom:10px solid #003018!important;
  border-radius:8px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,250,238,.94)),
    radial-gradient(circle at 50% 0,rgba(184,132,28,.13),transparent 42%)!important;
  box-shadow:0 18px 44px rgba(0,48,24,.13)!important;
  text-align:center!important;
  transform:none!important;
  overflow:visible!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}

.home-stay-reason::before{
  content:""!important;
  position:absolute!important;
  top:26px!important;
  right:50%!important;
  width:86px!important;
  height:86px!important;
  border:3px solid #d6b75d!important;
  border-radius:50%!important;
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.1),transparent 26%),
    linear-gradient(145deg,#003018,#062a19)!important;
  box-shadow:0 0 0 5px rgba(255,250,238,.95),0 14px 28px rgba(0,48,24,.22)!important;
  transform:translateX(50%)!important;
}

.home-stay-reason::after{
  content:""!important;
  position:absolute!important;
  top:54px!important;
  right:50%!important;
  width:38px!important;
  height:38px!important;
  background:#d6b75d!important;
  transform:translateX(50%)!important;
  -webkit-mask:center/contain no-repeat;
  mask:center/contain no-repeat;
}

.home-stay-reason:nth-child(1)::after{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3C/svg%3E")!important;
}

.home-stay-reason:nth-child(2)::after{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E")!important;
}

.home-stay-reason:nth-child(3)::after{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 22c1.8-4 4.4-6 8-6s6.2 2 8 6'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 22c1.8-4 4.4-6 8-6s6.2 2 8 6'/%3E%3C/svg%3E")!important;
}

.home-stay-reason > span{
  position:absolute!important;
  top:34px!important;
  right:32px!important;
  left:auto!important;
  margin:0!important;
  color:rgba(169,121,23,.72)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:4.3rem!important;
  font-weight:900!important;
  line-height:.8!important;
  transform:none!important;
}

.home-stay-reason p,
.home-stay-reason strong{
  position:relative!important;
  z-index:2!important;
  max-width:310px!important;
  margin-inline:auto!important;
  text-align:center!important;
}

.home-stay-reason p{
  margin:0!important;
  color:#26362f!important;
  font-size:clamp(1.02rem,1.25vw,1.14rem)!important;
  font-weight:500!important;
  line-height:1.75!important;
}

.home-stay-reason strong{
  margin:0!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(1.75rem,2.25vw,2.35rem)!important;
  font-weight:900!important;
  line-height:1.15!important;
}

.home-stay-reason:hover,
.home-stay-reason:focus-within{
  border-color:rgba(0,48,24,.28)!important;
  border-top-color:#003018!important;
  box-shadow:0 28px 66px rgba(0,48,24,.18)!important;
  transform:translateY(-5px)!important;
}

@media(max-width:900px){
  .home-stay{
    padding:84px 0 102px!important;
  }

  .home-stay-heading > span::before,
  .home-stay-heading > span::after{
    width:46px!important;
  }

  .home-stay-heading h2{
    font-size:clamp(2.7rem,11vw,4.2rem)!important;
  }

  .home-stay-reasons{
    grid-template-columns:1fr!important;
    gap:24px!important;
  }

  .home-stay-reason,
  .home-stay-reason:nth-child(2),
  .home-stay-reason:nth-child(3){
    min-height:280px!important;
    padding:88px 24px 38px!important;
  }
}

/* Compact the redesigned "יותר מתשובה אחת" section slightly. */
.home-stay{
  padding:86px 0 98px!important;
}

.home-stay-layout{
  gap:44px!important;
}

.home-stay-heading h2{
  margin:18px auto 18px!important;
  font-size:clamp(2.8rem,5.5vw,5.65rem)!important;
}

.home-stay-heading p{
  padding-top:16px!important;
  font-size:clamp(1.05rem,1.45vw,1.24rem)!important;
}

.home-stay-reasons{
  gap:24px!important;
}

.home-stay-reason,
.home-stay-reason:nth-child(2),
.home-stay-reason:nth-child(3){
  min-height:270px!important;
  padding:82px 28px 34px!important;
}

.home-stay-reason::before{
  top:22px!important;
  width:76px!important;
  height:76px!important;
}

.home-stay-reason::after{
  top:48px!important;
  width:32px!important;
  height:32px!important;
}

.home-stay-reason > span{
  top:30px!important;
  font-size:3.75rem!important;
}

.home-stay-reason strong{
  font-size:clamp(1.55rem,2vw,2.08rem)!important;
}

@media(max-width:900px){
  .home-stay{
    padding:70px 0 86px!important;
  }

  .home-stay-layout{
    gap:34px!important;
  }

  .home-stay-reason,
  .home-stay-reason:nth-child(2),
  .home-stay-reason:nth-child(3){
    min-height:246px!important;
    padding:78px 22px 32px!important;
  }
}

/* Footer Mevakshei Panecha logo replacement. */
.site-footer .home-footer-mevakshei{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  text-align:center!important;
  width:100%!important;
  padding-inline:0!important;
}

.site-footer .footer-mevakshei-logo{
  width:min(220px,100%)!important;
  height:auto!important;
  max-height:136px!important;
  object-fit:contain!important;
  display:block!important;
  transform:translateX(118px)!important;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.22))!important;
}

@media(max-width:760px){
  .site-footer .home-footer-mevakshei{
    justify-content:center!important;
  }

  .site-footer .footer-mevakshei-logo{
    width:min(210px,70vw)!important;
    transform:none!important;
  }
}

@media(min-width:761px){
  .site-footer .footer-grid.footer-grid-wide{
    grid-template-columns:minmax(260px,1.45fr) .8fr .9fr 1.05fr 1.05fr 1fr!important;
  }

  .site-footer .footer-grid.footer-grid-complete{
    grid-template-columns:minmax(220px,1.15fr) minmax(105px,.68fr) minmax(250px,1.35fr) minmax(120px,.78fr) minmax(160px,1fr) minmax(160px,.9fr)!important;
    gap:clamp(20px,2.2vw,38px)!important;
  }

  .site-footer .home-footer-mevakshei{
    justify-self:stretch!important;
    justify-content:center!important;
  }
}

.footer-content-map{
  display:grid!important;
  grid-template-columns:1fr;
  align-items:start;
  gap:18px!important;
}
.footer-content-map>div{display:grid;align-content:start;gap:8px}
.footer-content-map>div+div{padding-top:16px;border-top:1px solid rgba(228,202,105,.2)}
.footer-content-map strong{margin-bottom:2px;color:#e4ca69;font-size:.78rem;font-weight:950;letter-spacing:.03em}
.footer-grid-complete .footer-links a{line-height:1.45}
.footer-grid-complete .footer-contact-group p{line-height:1.9}

@media(max-width:1180px) and (min-width:761px){
  .site-footer .footer-grid.footer-grid-complete{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .site-footer .footer-grid.footer-grid-complete .footer-brand{grid-row:span 2}
}

@media(max-width:760px){
  .footer-content-map{grid-template-columns:1fr;gap:18px!important}
  .footer-content-map>div{gap:9px}
  .footer-policy-links{columns:2;column-gap:24px}
  .footer-policy-links a{break-inside:avoid;margin-bottom:8px}
}

@media(max-width:390px){
  .footer-policy-links{columns:1}
}

/* Exact main banner artwork requested for the homepage hero. */
.portal-ticker{
  display:none!important;
}

.home-live-hero{
  display:block!important;
  position:relative!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio:1672 / 941!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:url("assets/home-main-banner-exact.webp") center top / 100% 100% no-repeat!important;
}

.home-live-hero::before,
.home-live-hero::after,
.home-live-hero .horaa-hero-seal,
.home-live-hero .horaa-hero-gates,
.home-live-hero .home-rabbi-portrait,
.home-live-hero .home-live-grid{
  display:none!important;
  content:none!important;
}

/* About page narrative split and testimony dividers. */
.about-story-section.about-story-opening,
.about-story-section.about-story-leaders,
.about-story-section.about-story-life,
.about-testimony-section{
  position:relative!important;
  overflow:hidden!important;
  padding-block:clamp(70px,7vw,112px)!important;
}

.about-story-section.about-story-opening{
  min-height:auto!important;
  display:block!important;
  background:
    radial-gradient(circle at 50% 0,rgba(184,158,20,.14),transparent 34%),
    linear-gradient(180deg,#fffdf8,#f7f0df)!important;
  border-block:0!important;
}

.about-story-section.about-story-leaders{
  min-height:auto!important;
  display:block!important;
  background:
    radial-gradient(circle at 18% 12%,rgba(0,48,24,.08),transparent 32%),
    linear-gradient(180deg,#f4ead2,#fffaf0)!important;
  border-block:1px solid rgba(184,158,20,.2)!important;
}

.about-story-section.about-story-life{
  min-height:auto!important;
  display:block!important;
  background:
    linear-gradient(135deg,rgba(2,31,16,.95),rgba(0,48,24,.88)),
    url("assets/page-watermark.svg") center/cover no-repeat!important;
  border-block:1px solid rgba(221,202,98,.3)!important;
}

.about-story-section.about-story-opening::before,
.about-story-section.about-story-opening::after,
.about-story-section.about-story-leaders::before,
.about-story-section.about-story-leaders::after,
.about-story-section.about-story-life::before,
.about-story-section.about-story-life::after{
  display:none!important;
  content:none!important;
}

.about-story-section.about-story-opening .about-main-card,
.about-story-section.about-story-leaders .about-main-card{
  max-width:960px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#143924!important;
  backdrop-filter:none!important;
}

.about-story-section.about-story-opening .about-main-card h2,
.about-story-section.about-story-leaders .about-main-card h2{
  max-width:820px!important;
  color:#003018!important;
  text-shadow:none!important;
}

.about-story-section.about-story-opening .about-main-card p,
.about-story-section.about-story-leaders .about-main-card p{
  color:#1d3c2b!important;
  text-shadow:none!important;
  font-size:clamp(1.08rem,1.2vw,1.24rem)!important;
  line-height:2.05!important;
}

.about-story-section.about-story-life .about-main-card{
  max-width:940px!important;
  padding:clamp(32px,4.6vw,58px)!important;
  background:linear-gradient(180deg,rgba(3,38,19,.78),rgba(3,38,19,.58))!important;
  border:1px solid rgba(221,202,98,.28)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08)!important;
}

.about-story-section.about-story-life .about-main-card h2{
  color:#fffdf2!important;
}

.about-story-section.about-story-life .about-main-card p{
  color:rgba(255,255,255,.9)!important;
}

.about-testimony-section{
  isolation:isolate!important;
}

.about-testimony-dark{
  background:
    radial-gradient(circle at 50% 0,rgba(221,202,98,.18),transparent 30%),
    linear-gradient(180deg,#042817,#003018)!important;
  color:#fffdf2!important;
}

.about-testimony-light{
  background:
    linear-gradient(180deg,rgba(255,253,248,.9),rgba(246,239,222,.94)),
    radial-gradient(circle at 50% 0,rgba(184,158,20,.15),transparent 35%)!important;
  color:#173a28!important;
}

.about-testimony-gold{
  background:
    radial-gradient(circle at 50% 0,rgba(255,255,255,.2),transparent 32%),
    linear-gradient(135deg,#b8942d,#8f6c18)!important;
  color:#fff8de!important;
}

.about-testimony-card{
  width:min(900px,90vw)!important;
  margin-inline:auto!important;
  text-align:center!important;
}

.about-testimony-card blockquote{
  margin:0!important;
  padding:clamp(30px,4vw,54px)!important;
  border:1px solid rgba(221,202,98,.32)!important;
  border-radius:8px!important;
  background:rgba(255,253,248,.08)!important;
  box-shadow:0 22px 62px rgba(0,0,0,.12)!important;
}

.about-testimony-light .about-testimony-card blockquote{
  background:rgba(255,255,255,.66)!important;
  border-color:rgba(184,158,20,.24)!important;
}

.about-testimony-card h2{
  margin:0 0 24px!important;
  color:inherit!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(2rem,4vw,3.45rem)!important;
  font-weight:900!important;
  line-height:1.05!important;
  letter-spacing:0!important;
}

.about-testimony-card h2::after{
  content:""!important;
  display:block!important;
  width:min(260px,54vw)!important;
  height:1px!important;
  margin:20px auto 0!important;
  background:linear-gradient(90deg,transparent,currentColor,transparent)!important;
  opacity:.45!important;
}

.about-testimony-card p,
.about-testimony-card cite{
  display:block!important;
  max-width:620px!important;
  margin:0 auto 10px!important;
  color:inherit!important;
  font-size:clamp(1.04rem,1.25vw,1.22rem)!important;
  line-height:1.8!important;
  font-style:normal!important;
}

.about-testimony-card cite{
  margin-top:22px!important;
  color:#d9c772!important;
  font-weight:800!important;
}

@media(max-width:760px){
  .about-story-section.about-story-opening,
  .about-story-section.about-story-leaders,
  .about-story-section.about-story-life,
  .about-testimony-section{
    padding-block:54px!important;
  }

  .about-testimony-card blockquote{
    padding:28px 18px!important;
  }
}

/* About page testimonies - expressive quote moments. */
.about-testimony-section{
  min-height:clamp(520px,52vw,760px)!important;
  display:grid!important;
  place-items:center!important;
  padding-block:clamp(82px,8vw,136px)!important;
}

.about-testimony-section::before,
.about-testimony-section::after{
  content:""!important;
  position:absolute!important;
  pointer-events:none!important;
}

.about-testimony-section::before{
  inset:0!important;
  z-index:0!important;
  background:
    radial-gradient(circle at 18% 18%,rgba(255,235,155,.2),transparent 26%),
    radial-gradient(circle at 82% 72%,rgba(255,255,255,.13),transparent 28%),
    linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent)!important;
}

.about-testimony-section::after{
  inset:auto 50% 34px auto!important;
  width:min(280px,56vw)!important;
  height:18px!important;
  transform:translateX(50%)!important;
  background:
    radial-gradient(circle at 50% 50%,currentColor 0 5px,transparent 6px),
    linear-gradient(90deg,transparent,currentColor 32%,currentColor 68%,transparent)!important;
  opacity:.42!important;
}

.about-testimony-dark{
  background:
    linear-gradient(135deg,rgba(0,35,17,.96),rgba(0,67,36,.9)),
    url("assets/page-watermark.svg") center/cover no-repeat!important;
}

.about-testimony-light{
  background:
    linear-gradient(135deg,rgba(255,253,248,.92),rgba(239,228,202,.96)),
    radial-gradient(circle at 20% 20%,rgba(184,158,20,.2),transparent 32%)!important;
}

.about-testimony-gold{
  background:
    linear-gradient(135deg,rgba(152,108,21,.96),rgba(214,183,93,.9)),
    radial-gradient(circle at 75% 22%,rgba(255,255,255,.2),transparent 34%)!important;
}

.about-testimony-card{
  position:relative!important;
  z-index:1!important;
  width:min(1040px,91vw)!important;
}

.about-testimony-card blockquote{
  position:relative!important;
  display:grid!important;
  gap:0!important;
  width:100%!important;
  min-height:clamp(390px,35vw,520px)!important;
  align-content:center!important;
  padding:clamp(42px,5vw,76px) clamp(26px,5vw,78px)!important;
  overflow:hidden!important;
  border-radius:26px 8px 26px 8px!important;
  border:1px solid rgba(255,232,154,.36)!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04)),
    linear-gradient(135deg,rgba(0,0,0,.18),rgba(255,255,255,.08))!important;
  box-shadow:
    0 28px 90px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.28)!important;
}

.about-testimony-light .about-testimony-card blockquote{
  background:
    linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,250,236,.7)),
    linear-gradient(135deg,rgba(184,158,20,.08),rgba(0,48,24,.04))!important;
  border-color:rgba(184,158,20,.28)!important;
  box-shadow:0 28px 82px rgba(0,48,24,.12),inset 0 1px 0 rgba(255,255,255,.9)!important;
}

.about-testimony-card blockquote::before{
  content:"”"!important;
  position:absolute!important;
  top:clamp(10px,2vw,22px)!important;
  right:clamp(18px,4vw,56px)!important;
  z-index:0!important;
  color:rgba(255,232,154,.22)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(8rem,18vw,18rem)!important;
  font-weight:900!important;
  line-height:.75!important;
}

.about-testimony-card blockquote::after{
  content:"“"!important;
  position:absolute!important;
  bottom:clamp(-24px,-2vw,-8px)!important;
  left:clamp(18px,4vw,56px)!important;
  z-index:0!important;
  color:rgba(255,232,154,.16)!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(6rem,14vw,14rem)!important;
  font-weight:900!important;
  line-height:.75!important;
}

.about-testimony-light .about-testimony-card blockquote::before,
.about-testimony-light .about-testimony-card blockquote::after{
  color:rgba(184,132,28,.16)!important;
}

.about-testimony-card h2,
.about-testimony-card p,
.about-testimony-card cite{
  position:relative!important;
  z-index:1!important;
}

.about-testimony-card h2{
  margin:0 auto clamp(22px,3vw,34px)!important;
  max-width:720px!important;
  color:inherit!important;
  font-size:clamp(2.35rem,5.4vw,5.6rem)!important;
  text-shadow:0 16px 36px rgba(0,0,0,.24)!important;
}

.about-testimony-light .about-testimony-card h2{
  color:#003018!important;
  text-shadow:0 12px 28px rgba(184,158,20,.12)!important;
}

.about-testimony-card h2::after{
  width:min(360px,62vw)!important;
  margin-top:clamp(18px,2.6vw,28px)!important;
  opacity:.62!important;
}

.about-testimony-card p{
  max-width:680px!important;
  margin-bottom:8px!important;
  font-size:clamp(.98rem,1.08vw,1.12rem)!important;
  line-height:1.72!important;
}

.about-testimony-card cite{
  margin-top:24px!important;
  font-size:clamp(1rem,1.2vw,1.15rem)!important;
}

@media(max-width:760px){
  .about-testimony-section{
    min-height:auto!important;
    padding-block:58px!important;
  }

  .about-testimony-card{
    width:min(94vw,620px)!important;
  }

  .about-testimony-card blockquote{
    min-height:auto!important;
    padding:44px 20px 40px!important;
    border-radius:18px 6px 18px 6px!important;
  }

  .about-testimony-card blockquote::before{
    top:8px!important;
    right:14px!important;
    font-size:6.3rem!important;
  }

  .about-testimony-card blockquote::after{
    bottom:-18px!important;
    left:14px!important;
    font-size:5rem!important;
  }

  .about-testimony-card h2{
    font-size:clamp(2.05rem,12vw,3.6rem)!important;
    margin-bottom:24px!important;
  }

  .about-testimony-card p{
    font-size:.95rem!important;
    line-height:1.64!important;
    margin-bottom:7px!important;
  }
}

/* About testimonials compact wide layout. */
.about-testimony-section{
  min-height:auto!important;
  padding-block:clamp(38px,4vw,64px)!important;
}

.about-testimony-card{
  width:min(1280px,94vw)!important;
}

.about-testimony-card blockquote{
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(260px,.36fr) minmax(0,1fr)!important;
  grid-auto-rows:auto!important;
  align-items:center!important;
  gap:clamp(18px,3vw,42px)!important;
  padding:clamp(24px,3vw,42px) clamp(24px,4vw,62px)!important;
  text-align:right!important;
}

.about-testimony-card h2{
  grid-column:1!important;
  grid-row:1 / span 20!important;
  align-self:center!important;
  margin:0!important;
  max-width:100%!important;
  font-size:clamp(2.15rem,4.6vw,5rem)!important;
  line-height:.98!important;
  text-align:center!important;
}

.about-testimony-card h2::after{
  width:min(210px,40vw)!important;
  margin:20px auto 0!important;
}

.about-testimony-card p,
.about-testimony-card cite{
  grid-column:2!important;
  max-width:none!important;
  margin:0 0 6px!important;
  font-size:clamp(.92rem,1vw,1.04rem)!important;
  line-height:1.58!important;
  text-align:right!important;
}

.about-testimony-card cite{
  margin-top:10px!important;
}

.about-testimony-card blockquote::before{
  top:-12px!important;
  right:24px!important;
  font-size:clamp(6rem,10vw,11rem)!important;
}

.about-testimony-card blockquote::after{
  bottom:-36px!important;
  left:28px!important;
  font-size:clamp(4.8rem,8vw,8rem)!important;
}

@media(max-width:760px){
  .about-testimony-section{
    padding-block:34px!important;
  }

  .about-testimony-card{
    width:min(94vw,620px)!important;
  }

  .about-testimony-card blockquote{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:28px 18px!important;
    text-align:center!important;
  }

  .about-testimony-card h2{
    grid-column:1!important;
    grid-row:auto!important;
    font-size:clamp(1.85rem,9vw,3rem)!important;
  }

  .about-testimony-card p,
  .about-testimony-card cite{
    grid-column:1!important;
    font-size:.9rem!important;
    line-height:1.5!important;
    text-align:center!important;
  }
}

/* About testimonials - elegant divider style. */
.about-testimony-section{
  min-height:auto!important;
  display:block!important;
  padding-block:clamp(36px,4.2vw,64px)!important;
  background:
    radial-gradient(circle at 50% 0,rgba(184,158,20,.12),transparent 36%),
    linear-gradient(180deg,#fffdf8,#f8f2e4)!important;
  color:#003018!important;
  border-block:1px solid rgba(184,158,20,.18)!important;
}

.about-testimony-dark,
.about-testimony-light,
.about-testimony-gold{
  background:
    radial-gradient(circle at 50% 0,rgba(184,158,20,.12),transparent 36%),
    linear-gradient(180deg,#fffdf8,#f8f2e4)!important;
  color:#003018!important;
}

.about-testimony-section::before,
.about-testimony-section::after{
  display:none!important;
  content:none!important;
}

.about-testimony-card{
  width:min(1320px,86vw)!important;
  margin-inline:auto!important;
}

.about-testimony-card blockquote{
  position:relative!important;
  display:block!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  text-align:center!important;
}

.about-testimony-card blockquote::before,
.about-testimony-card blockquote::after{
  display:none!important;
  content:none!important;
}

.about-testimony-card h2{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:clamp(18px,3vw,46px)!important;
  width:100%!important;
  max-width:none!important;
  margin:0 auto clamp(20px,2.4vw,34px)!important;
  color:#003018!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew","Times New Roman",serif!important;
  font-size:clamp(2.05rem,3.8vw,4.25rem)!important;
  font-weight:900!important;
  line-height:1.08!important;
  text-align:center!important;
  text-shadow:0 10px 26px rgba(184,158,20,.14)!important;
}

.about-testimony-card h2::before,
.about-testimony-card h2::after{
  content:""!important;
  display:block!important;
  width:100%!important;
  height:1px!important;
  margin:0!important;
  background:
    radial-gradient(circle at 0 50%,#003018 0 5px,transparent 6px),
    radial-gradient(circle at 100% 50%,#003018 0 5px,transparent 6px),
    linear-gradient(90deg,transparent,rgba(184,132,28,.75),rgba(184,132,28,.22))!important;
  opacity:1!important;
}

.about-testimony-card h2::after{
  transform:scaleX(-1)!important;
}

.about-testimony-card p,
.about-testimony-card cite{
  display:inline!important;
  max-width:none!important;
  margin:0!important;
  color:#244432!important;
  font-size:clamp(.96rem,1.05vw,1.08rem)!important;
  line-height:1.85!important;
  text-align:center!important;
  text-shadow:none!important;
}

.about-testimony-card p::after{
  content:"  ·  ";
  color:#b8841c;
  font-weight:900;
}

.about-testimony-card p:last-of-type::after{
  content:"";
}

.about-testimony-card cite{
  display:block!important;
  margin-top:12px!important;
  color:#9a761c!important;
  font-weight:850!important;
  font-size:clamp(.92rem,1vw,1rem)!important;
}

@media(min-width:900px){
  .about-testimony-card blockquote{
    padding-inline:clamp(42px,6vw,120px)!important;
  }
}

@media(max-width:760px){
  .about-testimony-section{
    padding-block:36px!important;
  }

  .about-testimony-card{
    width:min(88vw,620px)!important;
  }

  .about-testimony-card h2{
    grid-template-columns:1fr!important;
    gap:12px!important;
    font-size:clamp(1.75rem,9.5vw,3rem)!important;
    margin-bottom:18px!important;
  }

  .about-testimony-card h2::before,
  .about-testimony-card h2::after{
    width:min(260px,72vw)!important;
    margin-inline:auto!important;
  }

  .about-testimony-card p,
  .about-testimony-card cite{
    display:block!important;
    font-size:.92rem!important;
    line-height:1.58!important;
    margin-bottom:7px!important;
  }

  .about-testimony-card p::after{
    content:"";
  }
}

/* Use the Mevakshei Panecha logo consistently across all site headers. */
.site-header .brand-logo-panel:has(.brand-logo-img[src$="mevakshei-panecha-nav-logo.webp"]){
  width:clamp(148px,13vw,188px)!important;
  height:54px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

.site-header .brand-logo-img[src$="mevakshei-panecha-nav-logo.webp"]{
  width:100%!important;
  height:100%!important;
  max-height:54px!important;
  object-fit:contain!important;
  transform:scale(1.2)!important;
  transform-origin:center center!important;
}

@media(max-width:760px){
  .site-header .brand-logo-panel:has(.brand-logo-img[src$="mevakshei-panecha-nav-logo.webp"]){
    width:min(54vw,178px)!important;
    height:50px!important;
  }

  .site-header .brand-logo-img[src$="mevakshei-panecha-nav-logo.webp"]{
    max-height:50px!important;
  }
}

/* About page color rhythm between adjacent sections. */
.about-story-section.about-story-opening{
  background:
    radial-gradient(circle at 50% 0,rgba(184,158,20,.14),transparent 34%),
    linear-gradient(180deg,#fffdf8,#f7f0df)!important;
}

.about-testimony-dark{
  background:
    radial-gradient(circle at 50% 0,rgba(221,202,98,.18),transparent 34%),
    linear-gradient(135deg,#002514,#004225)!important;
  color:#fff8de!important;
  border-block-color:rgba(221,202,98,.32)!important;
}

.about-story-section.about-story-leaders{
  background:
    radial-gradient(circle at 18% 12%,rgba(184,158,20,.1),transparent 32%),
    linear-gradient(180deg,#fffdf8,#f7f0df)!important;
  border-block:1px solid rgba(184,158,20,.18)!important;
}

.about-testimony-light{
  background:
    radial-gradient(circle at 50% 0,rgba(221,202,98,.18),transparent 34%),
    linear-gradient(135deg,#002514,#004225)!important;
  color:#fff8de!important;
  border-block-color:rgba(221,202,98,.32)!important;
}

.about-story-section.about-story-life{
  background:
    radial-gradient(circle at 50% 0,rgba(184,158,20,.14),transparent 34%),
    linear-gradient(180deg,#fffdf8,#f7f0df)!important;
  border-block:1px solid rgba(184,158,20,.18)!important;
}

.about-testimony-gold{
  background:
    radial-gradient(circle at 50% 0,rgba(255,255,255,.26),transparent 34%),
    linear-gradient(135deg,#cda64b,#9a741c)!important;
  color:#fff8de!important;
  border-block-color:rgba(255,245,190,.34)!important;
}

.about-testimony-dark .about-testimony-card h2,
.about-testimony-gold .about-testimony-card h2{
  color:#fff8de!important;
}

.about-testimony-dark .about-testimony-card p,
.about-testimony-dark .about-testimony-card cite,
.about-testimony-gold .about-testimony-card p,
.about-testimony-gold .about-testimony-card cite{
  color:#fff4cf!important;
}

.about-story-section.about-story-leaders .about-main-card h2{
  color:#003018!important;
  text-shadow:none!important;
}

.about-story-section.about-story-leaders .about-main-card p{
  color:#1d3c2b!important;
  text-shadow:none!important;
}

.about-story-section.about-story-life .about-main-card{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.about-story-section.about-story-life .about-main-card h2{
  color:#003018!important;
  text-shadow:none!important;
}

.about-story-section.about-story-life .about-main-card p{
  color:#1d3c2b!important;
  text-shadow:none!important;
}

/* Global announcement strip typography match - final override. */
.site-header .horaa-top-strip {
  min-height: 50px !important;
}

.site-header .horaa-strip-inner {
  min-height: 50px !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.site-header .horaa-top-strip a,
.site-header .horaa-top-strip strong,
.site-header .horaa-phone,
.site-header .horaa-message {
  font-size: clamp(1.2rem, 1.75vw, 1.48rem) !important;
  line-height: 1.05 !important;
}

@media (max-width: 900px) {
  .site-header .horaa-top-strip {
    min-height: 38px !important;
  }

  .site-header .horaa-strip-inner {
    min-height: 38px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  .site-header .horaa-top-strip a,
  .site-header .horaa-top-strip strong,
  .site-header .horaa-phone,
  .site-header .horaa-message {
    font-size: clamp(1rem, 4.4vw, 1.22rem) !important;
    line-height: 1 !important;
  }
}

/* Mobile announcement strip exact two-item layout - final override. */
@media (max-width: 900px) {
  .site-header .horaa-top-strip {
    min-height: 38px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(0, 102, 68, .34), transparent 58%),
      linear-gradient(90deg, #002618 0%, #00442c 44%, #002f20 100%) !important;
  }

  .site-header .horaa-strip-inner {
    width: 100% !important;
    min-height: 38px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas: "ask phone" !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 0 !important;
    padding: 0 10px !important;
    margin: 0 !important;
    direction: ltr !important;
  }

  .site-header .horaa-message {
    display: none !important;
  }

  .site-header .horaa-strip-inner > a:not(.horaa-phone) {
    grid-area: ask !important;
    justify-self: start !important;
    text-align: left !important;
  }

  .site-header .horaa-phone {
    grid-area: phone !important;
    justify-self: end !important;
    text-align: right !important;
  }

  .site-header .horaa-strip-inner > a,
  .site-header .horaa-phone {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff7d8 !important;
    font-size: clamp(1.08rem, 4.6vw, 1.28rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    direction: rtl !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .28) !important;
  }
}
/* Journey testimonies - editorial separators inside the Q&A reading flow. */
.journey-testimony{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin:clamp(42px,7vw,88px) 0;
  border:1px solid rgba(184,145,54,.34);
  border-radius:32px 8px 32px 8px;
  background:
    radial-gradient(circle at 88% 18%,rgba(229,195,102,.22),transparent 25%),
    radial-gradient(circle at 8% 86%,rgba(255,255,255,.08),transparent 28%),
    linear-gradient(135deg,#062f20 0%,#0b4933 52%,#073323 100%);
  box-shadow:0 30px 70px rgba(0,35,22,.16),inset 0 1px rgba(255,255,255,.1);
  color:#fff;
}
.journey-testimony::before{
  content:"״";
  position:absolute;
  inset:-38px auto auto 34px;
  z-index:-1;
  color:rgba(237,207,125,.12);
  font:900 clamp(9rem,22vw,19rem)/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.journey-testimony::after{
  content:"";
  position:absolute;
  inset:18px;
  z-index:-1;
  border:1px solid rgba(244,217,144,.15);
  border-radius:24px 5px 24px 5px;
  pointer-events:none;
}
.journey-testimony-inner{
  width:min(820px,calc(100% - 48px));
  margin:auto;
  padding:clamp(50px,8vw,92px) 0;
  text-align:center;
}
.journey-testimony-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#efd47e;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.journey-testimony-eyebrow::before,.journey-testimony-eyebrow::after{content:"";width:38px;height:1px;background:currentColor;opacity:.62}
.journey-testimony h2{margin:18px 0 28px;color:#fff;font:900 clamp(2rem,4.5vw,3.7rem)/1.05 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.journey-testimony blockquote{margin:0;padding:0;border:0;color:rgba(255,255,255,.9)}
.journey-testimony blockquote p{max-width:690px;margin:0 auto 13px;color:inherit;font-size:clamp(1.04rem,1.8vw,1.28rem);line-height:1.72}
.journey-testimony blockquote .journey-testimony-highlight{margin-top:28px;color:#fff;font:850 clamp(1.35rem,2.5vw,2rem)/1.45 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.journey-testimony cite{display:block;margin-top:30px;color:#efd47e;font-size:.86rem;font-style:normal;font-weight:800}
.journey-testimony-gold{background:linear-gradient(120deg,#f7f1df,#fffdfa 48%,#f1e3b9);border-color:rgba(142,102,20,.28);color:#073323;box-shadow:0 26px 60px rgba(69,49,7,.11)}
.journey-testimony-gold::before{color:rgba(128,91,14,.09)}
.journey-testimony-gold::after{border-color:rgba(128,91,14,.14)}
.journey-testimony-gold h2,.journey-testimony-gold blockquote,.journey-testimony-gold blockquote p,.journey-testimony-gold blockquote .journey-testimony-highlight{color:#073323}
.journey-testimony-gold .journey-testimony-eyebrow,.journey-testimony-gold cite{color:#9a7015}
@media(max-width:640px){.journey-testimony{margin:36px -4px;border-radius:24px 6px}.journey-testimony::after{inset:10px}.journey-testimony-inner{width:calc(100% - 38px);padding:46px 0}.journey-testimony-eyebrow::before,.journey-testimony-eyebrow::after{width:24px}.journey-testimony blockquote p{line-height:1.62}}

/* Journey testimonies v2 - slim editorial dividers inspired by the home flow separators. */
.journey-testimony,.journey-testimony-gold{
  margin:clamp(34px,5vw,58px) 0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:linear-gradient(90deg,transparent 0%,rgba(249,247,240,.72) 12%,#faf8f2 50%,rgba(249,247,240,.72) 88%,transparent 100%);
  box-shadow:none;
  color:#073323;
}
.journey-testimony::before,.journey-testimony::after{content:"";position:absolute;inset:auto 5%;width:auto;height:1px;border:0;border-radius:0;background:linear-gradient(90deg,transparent 0%,rgba(177,139,47,.18) 18%,#b38b2f 50%,rgba(177,139,47,.18) 82%,transparent 100%);opacity:1}
.journey-testimony::before{top:0}.journey-testimony::after{bottom:0}
.journey-testimony-inner{width:min(920px,calc(100% - 34px));padding:clamp(24px,3.5vw,38px) 0;text-align:center}
.journey-testimony-eyebrow,.journey-testimony-gold .journey-testimony-eyebrow{color:#9a7628;font-size:.68rem;letter-spacing:.16em}
.journey-testimony-eyebrow::before,.journey-testimony-eyebrow::after{width:28px;background:currentColor}
.journey-testimony h2,.journey-testimony-gold h2{margin:9px 0 10px;color:#103d2c;font-size:clamp(1.18rem,2vw,1.58rem);font-weight:800;line-height:1.2}
.journey-testimony blockquote,.journey-testimony-gold blockquote{max-height:4.9em;overflow:hidden;margin:0;color:#234d3b;transition:max-height .45s ease}
.journey-testimony.is-expanded blockquote{max-height:1200px}
.journey-testimony blockquote p,.journey-testimony-gold blockquote p{display:inline;margin:0;color:inherit;font-size:clamp(.98rem,1.35vw,1.12rem);line-height:1.65}
.journey-testimony blockquote p::after{content:"  "}
.journey-testimony:not(.is-expanded) blockquote p{display:none}
.journey-testimony:not(.is-expanded) blockquote .journey-testimony-highlight{display:inline}
.journey-testimony blockquote .journey-testimony-highlight,.journey-testimony-gold blockquote .journey-testimony-highlight{margin:0;color:#073323;font:800 clamp(1.02rem,1.45vw,1.18rem)/1.65 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.journey-testimony cite,.journey-testimony-gold cite{display:none;margin:13px 0 0;color:#8b6a20;font-size:.75rem}
.journey-testimony.is-expanded cite{display:block}
.journey-testimony-toggle{margin-top:12px;padding:3px 0;border:0;border-bottom:1px solid rgba(154,112,21,.42);background:transparent;color:#826016;font:800 .78rem/1.4 inherit;cursor:pointer}
.journey-testimony-toggle:hover{color:#073323;border-color:#073323}
@media(max-width:640px){.journey-testimony,.journey-testimony-gold{margin:28px 0}.journey-testimony-inner{width:calc(100% - 24px);padding:21px 0}.journey-testimony blockquote{max-height:5.2em}.journey-testimony h2{font-size:1.2rem}.journey-testimony-eyebrow::before,.journey-testimony-eyebrow::after{width:18px}}

/* About testimonies v2 - one restrained emerald and cream design language. */
.about-testimony-section,
.about-testimony-dark,
.about-testimony-light,
.about-testimony-gold{
  --about-testimony-bg:#003018;
  --about-testimony-ink:#fbf8ef;
  --about-testimony-muted:rgba(251,248,239,.82);
  --about-testimony-line:rgba(251,248,239,.42);
  padding-block:clamp(58px,7vw,94px)!important;
  border:0!important;
  background:#003018 var(--site-emerald-texture) center / cover no-repeat!important;
  color:var(--about-testimony-ink)!important;
}
.about-testimony-light{
  --about-testimony-bg:#003018;
  --about-testimony-ink:#fbf8ef;
  --about-testimony-muted:rgba(251,248,239,.82);
  --about-testimony-line:rgba(251,248,239,.42);
  background:#003018 var(--site-emerald-texture) center / cover no-repeat!important;
}
.about-testimony-card{
  width:min(1120px,88vw)!important;
}
.about-testimony-card blockquote{
  padding-inline:0!important;
}
.about-testimony-card h2{
  gap:clamp(20px,4vw,58px)!important;
  margin-bottom:clamp(24px,3vw,38px)!important;
  color:var(--about-testimony-ink)!important;
  font-size:clamp(2rem,3.7vw,4rem)!important;
  font-weight:800!important;
  letter-spacing:-.015em!important;
  text-shadow:none!important;
}
.about-testimony-card h2::before,
.about-testimony-card h2::after{
  height:1px!important;
  background:linear-gradient(90deg,transparent,var(--about-testimony-line))!important;
}
.about-testimony-card h2::after{
  transform:scaleX(-1)!important;
}
.about-testimony-card p,
.about-testimony-card cite{
  color:var(--about-testimony-muted)!important;
  font-size:clamp(1rem,1.18vw,1.16rem)!important;
  line-height:1.9!important;
}
.about-testimony-card p::after{
  content:"  ·  ";
  color:var(--about-testimony-line)!important;
  font-weight:400!important;
}
.about-testimony-card p:last-of-type::after{content:""}
.about-testimony-card cite{
  margin-top:18px!important;
  color:var(--about-testimony-ink)!important;
  font-size:.9rem!important;
  font-weight:700!important;
}
@media(max-width:760px){
  .about-testimony-section,
  .about-testimony-dark,
  .about-testimony-light,
  .about-testimony-gold{padding-block:48px!important}
  .about-testimony-card{width:min(86vw,620px)!important}
  .about-testimony-card h2{font-size:clamp(1.8rem,9vw,2.7rem)!important}
  .about-testimony-card h2::before,
  .about-testimony-card h2::after{width:min(190px,58vw)!important}
  .about-testimony-card p{font-size:.96rem!important;line-height:1.68!important}
  .about-testimony-card p::after{content:""}
}

/* Fine gold jewelry for the About testimonies. */
.about-testimony-section{
  --about-testimony-gold:#c8a44a;
  position:relative!important;
  overflow:hidden!important;
}
.about-testimony-card blockquote::before{
  content:none!important;
  display:none!important;
}
.about-testimony-card h2::before,
.about-testimony-card h2::after{
  background:linear-gradient(90deg,transparent,rgba(200,164,74,.92))!important;
}
.about-testimony-card h2{
  text-decoration-color:var(--about-testimony-gold)!important;
}
.about-testimony-card cite{
  color:#d7bc76!important;
}
.about-testimony-card blockquote::after{
  content:none!important;
  display:none!important;
}
.about-testimony-section::before,
.about-testimony-section::after{
  content:"“"!important;
  display:block!important;
  position:absolute!important;
  z-index:3!important;
  color:#d8b85d!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif!important;
  font-size:clamp(6rem,9vw,9rem)!important;
  font-weight:900!important;
  line-height:.7!important;
  pointer-events:none!important;
  text-shadow:0 4px 18px rgba(0,0,0,.28)!important;
}
.about-testimony-section::before{
  inset:clamp(26px,3.5vw,48px) clamp(28px,5vw,82px) auto auto!important;
}
.about-testimony-section::after{
  content:"”"!important;
  inset:auto auto clamp(18px,2.5vw,34px) clamp(28px,5vw,82px)!important;
  transform:rotate(180deg)!important;
}
.about-testimony-card{
  position:relative!important;
  z-index:1!important;
}

/* Every green field on About uses the site's single emerald surface. */
.about-derech-section{
  background:#003018 var(--site-emerald-texture) center / cover no-repeat!important;
}
.about-worlds-section{
  background:#003018 var(--site-emerald-texture) center / cover no-repeat!important;
}

/* Lavi - refined site design and development signature. */
@font-face{
  font-family:"Lavi Signature";
  src:url("assets/fonts/shmulikclm.woff") format("woff");
  font-display:swap;
}
.site-footer .footer-lavi-credit{
  position:relative;
  display:inline-flex;
  width:auto;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:46px;
  padding:8px 4px 9px;
  border:0;
  border-radius:0;
  color:rgba(255,253,244,.58);
  background:transparent;
  box-shadow:none;
  font-size:.7rem;
  line-height:1;
  white-space:nowrap;
  text-decoration:none;
  transition:transform .2s ease,filter .2s ease;
  margin-top:5px;
}
.site-footer .footer-lavi-role{
  order:2;
  position:relative;
  padding-inline-start:14px;
  color:rgba(255,253,244,.72);
  font-weight:600;
  letter-spacing:.08em;
}
.site-footer .footer-lavi-role::before{
  content:"";
  position:absolute;
  inset:50% 0 auto auto;
  width:1px;
  height:17px;
  background:rgba(214,183,93,.48);
  transform:translateY(-50%);
}
.site-footer .footer-lavi-brand{
  order:1;
  position:relative;
  padding:0;
  color:#e5c86f;
  font-family:"Lavi Signature","Frank Ruhl Libre","Noto Serif Hebrew",serif;
  font-size:1.72rem;
  font-weight:700;
  letter-spacing:.035em;
  line-height:1;
  text-shadow:0 6px 20px rgba(0,0,0,.3),0 0 18px rgba(214,183,93,.10);
}
.site-footer .footer-lavi-brand::before{
  content:none;
}
.site-footer .footer-lavi-credit::before,
.site-footer .footer-lavi-credit::after{
  content:none;
}
.site-footer .footer-lavi-credit:hover{
  transform:translateY(-2px);
  filter:brightness(1.16);
}
.site-footer .footer-bottom{
  display:grid;
  grid-template-columns:1fr;
  justify-items:center;
  text-align:center;
}
.site-footer .footer-bottom > span{
  color:rgba(255,255,255,.46);
  font-size:.72rem;
}
@media(max-width:640px){
  .site-footer .footer-lavi-credit{
    margin-inline:auto;
    min-height:42px;
    padding-block:7px 8px;
  }
}

/* Required legal consent before purchase or donation. */
.transaction-consent{
  position:relative;
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  align-items:start;
  gap:11px;
  margin:18px 0 16px;
  padding:15px 16px;
  border:1px solid rgba(178,139,42,.28);
  border-radius:10px;
  background:linear-gradient(135deg,rgba(255,253,244,.96),rgba(246,239,214,.8));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 8px 20px rgba(67,48,7,.06);
  color:#234437;
  font-size:.84rem;
  font-weight:700;
  line-height:1.65;
  cursor:pointer;
}
.transaction-consent input[type="checkbox"]{
  width:19px;
  height:19px;
  margin:3px 0 0;
  accent-color:#087242;
  cursor:pointer;
}
.transaction-consent a{
  color:#7d5a0d;
  font-weight:900;
  text-decoration:underline;
  text-decoration-color:rgba(150,108,16,.38);
  text-underline-offset:3px;
}
.transaction-consent a:hover{
  color:#075c36;
  text-decoration-color:currentColor;
}
.transaction-consent:has(input:checked){
  border-color:rgba(7,114,66,.42);
  background:linear-gradient(135deg,rgba(247,253,248,.98),rgba(225,242,229,.86));
  box-shadow:inset 3px 0 0 #087242,0 8px 20px rgba(4,85,48,.08);
}
@media(max-width:640px){
  .transaction-consent{
    padding:13px 14px;
    font-size:.8rem;
  }
}

/* The Inner Judge sub-brand sits beside the Mevakshei Panecha logo. */
.site-header .header-brand-cluster{
  grid-area:brand!important;
  display:block!important;
  pointer-events:none!important;
  z-index:5!important;
}

.site-header .header-brand-cluster .brand-logo-link{
  position:static!important;
  inset:auto!important;
  margin:0!important;
  order:2!important;
  pointer-events:auto!important;
  transform:none!important;
}

.site-header .header-brand-cluster .brand-logo-img{
  transform:scaleX(1.08) scaleY(1.04)!important;
  transform-origin:center!important;
}

.site-header .inner-judge-emblem-link{
  position:relative!important;
  order:1!important;
  width:112px!important;
  height:59px!important;
  min-width:112px!important;
  flex:0 0 112px!important;
  padding:0!important;
  display:block!important;
  overflow:visible!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
  pointer-events:auto!important;
  transition:filter .2s ease!important;
}

.site-header .inner-judge-emblem-link,
.site-header .inner-judge-emblem-link:hover,
.site-header .inner-judge-emblem-link:active,
.site-header .inner-judge-emblem-link:focus,
.site-header .inner-judge-emblem-link:focus-visible,
.site-header .inner-judge-emblem-link[aria-current="page"]{
  margin:0!important;
  translate:none!important;
  rotate:none!important;
  scale:none!important;
}

.site-header .inner-judge-emblem-link::before,
.site-header .inner-judge-emblem-link::after{
  content:none!important;
  display:none!important;
}

.site-header .inner-judge-emblem-link img{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  bottom:auto!important;
  width:82px!important;
  height:82px!important;
  max-width:none!important;
  max-height:none!important;
  display:block!important;
  object-fit:cover!important;
  border:1px solid rgba(184,142,32,.7)!important;
  border-radius:50%!important;
  background:#fffdf8!important;
  box-shadow:0 8px 21px rgba(25,42,33,.17),0 0 0 4px rgba(212,180,75,.1),inset 0 1px 0 #fff!important;
  transform:translate(-50%,-50%)!important;
  transition:border-color .2s ease,box-shadow .2s ease!important;
}

.site-header .inner-judge-emblem-arc{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:112px!important;
  height:82px!important;
  max-width:none!important;
  overflow:visible!important;
  pointer-events:none!important;
  transform:translate(-50%,-50%)!important;
}

.site-header .inner-judge-emblem-arc text{
  fill:#0d3352!important;
  stroke:rgba(255,253,248,.96)!important;
  stroke-width:.7px!important;
  paint-order:stroke fill!important;
  font-family:"Frank Ruhl Libre","Noto Serif Hebrew",serif!important;
  font-size:13.4px!important;
  font-weight:900!important;
  letter-spacing:.12px!important;
}

.site-header .inner-judge-emblem-link:hover,
.site-header .inner-judge-emblem-link:focus-visible,
.site-header .inner-judge-emblem-link[aria-current="page"]{
  filter:drop-shadow(0 4px 8px rgba(21,51,37,.13))!important;
}

.site-header .inner-judge-emblem-link:hover img,
.site-header .inner-judge-emblem-link:focus-visible img,
.site-header .inner-judge-emblem-link[aria-current="page"] img{
  border-color:#c99b27!important;
  box-shadow:0 8px 19px rgba(21,51,37,.17),0 0 0 4px rgba(213,179,70,.17),0 0 17px rgba(199,157,43,.13)!important;
}

.site-header .inner-judge-emblem-link:focus-visible{
  outline:2px solid #0a6542!important;
  outline-offset:4px!important;
}

@media(min-width:1081px){
  .site-header .header-brand-cluster{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    transform:none!important;
  }

  .site-header .header-brand-cluster .brand-logo-link{
    position:absolute!important;
    right:34px!important;
    left:auto!important;
    top:50%!important;
    width:clamp(190px,16.5vw,250px)!important;
    min-width:clamp(190px,16.5vw,250px)!important;
    max-width:clamp(190px,16.5vw,250px)!important;
    transform:translateY(-50%)!important;
  }

  .site-header .header-brand-cluster .brand-logo-panel:has(.brand-logo-img[src$="mevakshei-panecha-nav-logo.webp"]){
    width:100%!important;
    height:58px!important;
  }

  .site-header .inner-judge-emblem-link,
  .site-header .inner-judge-emblem-link:hover,
  .site-header .inner-judge-emblem-link:active,
  .site-header .inner-judge-emblem-link:focus,
  .site-header .inner-judge-emblem-link:focus-visible,
  .site-header .inner-judge-emblem-link[aria-current="page"]{
    position:absolute!important;
    right:calc(52px + clamp(190px,16.5vw,250px))!important;
    left:auto!important;
    top:50%!important;
    transform:translateY(-50%)!important;
  }

  .site-header .main-nav{
    transform:translate(calc(-50% - clamp(54px,5vw,68px)),-50%)!important;
  }
}

@media(min-width:901px) and (max-width:1080px){
  .site-header .header-brand-cluster{
    position:relative!important;
    justify-self:center!important;
  }
}

@media(max-width:900px){
  .site-header .header-brand-cluster{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:74px!important;
    transform:none!important;
  }

  .site-header .header-brand-cluster .brand-logo-link{
    position:absolute!important;
    right:70px!important;
    left:auto!important;
    top:50%!important;
    width:138px!important;
    min-width:138px!important;
    max-width:138px!important;
    transform:translateY(-50%)!important;
  }

  .site-header .header-brand-cluster .brand-logo-panel:has(.brand-logo-img[src$="mevakshei-panecha-nav-logo.webp"]){
    width:138px!important;
    height:48px!important;
  }

  .site-header .header-brand-cluster .brand-logo-img{
    transform:scaleX(1.06) scaleY(1.02)!important;
  }

  .site-header .inner-judge-emblem-link,
  .site-header .inner-judge-emblem-link:hover,
  .site-header .inner-judge-emblem-link:active,
  .site-header .inner-judge-emblem-link:focus,
  .site-header .inner-judge-emblem-link:focus-visible,
  .site-header .inner-judge-emblem-link[aria-current="page"]{
    position:absolute!important;
    right:226px!important;
    left:auto!important;
    top:50%!important;
    width:90px!important;
    height:49px!important;
    min-width:90px!important;
    flex-basis:90px!important;
    transform:translateY(-50%)!important;
  }

  .site-header .inner-judge-emblem-link img{
    width:70px!important;
    height:70px!important;
  }

  .site-header .inner-judge-emblem-arc{
    top:50%!important;
    width:90px!important;
    height:68px!important;
  }

  .site-header .inner-judge-emblem-arc text{
    font-size:17.5px!important;
  }
}

@media(max-width:430px){
  .site-header .header-brand-cluster .brand-logo-link{
    right:72px!important;
    width:96px!important;
    min-width:96px!important;
    max-width:96px!important;
  }

  .site-header .header-brand-cluster .brand-logo-panel:has(.brand-logo-img[src$="mevakshei-panecha-nav-logo.webp"]){
    width:96px!important;
    height:42px!important;
  }

  .site-header .inner-judge-emblem-link,
  .site-header .inner-judge-emblem-link:hover,
  .site-header .inner-judge-emblem-link:active,
  .site-header .inner-judge-emblem-link:focus,
  .site-header .inner-judge-emblem-link:focus-visible,
  .site-header .inner-judge-emblem-link[aria-current="page"]{
    right:188px!important;
    width:74px!important;
    height:43px!important;
    min-width:74px!important;
    flex-basis:74px!important;
    transform:translateY(-50%)!important;
  }

  .site-header .inner-judge-emblem-link img{
    width:60px!important;
    height:60px!important;
  }

  .site-header .inner-judge-emblem-arc{
    top:50%!important;
    width:80px!important;
    height:60px!important;
  }

  .site-header .inner-judge-emblem-arc text{
    font-size:20px!important;
  }
}

/* Temporary foundation for the dedicated page, pending its full build. */
.inner-judge-foundation{
  min-height:calc(100vh - 260px);
  display:grid;
  place-items:center;
  padding:clamp(80px,12vw,150px) 22px;
  color:#fffdf2;
  text-align:center;
  background:
    radial-gradient(circle at 50% 34%,rgba(225,194,81,.15),transparent 30%),
    linear-gradient(135deg,rgba(0,22,12,.98),rgba(2,72,41,.94),rgba(0,26,15,.98)),
    url("assets/torat-avi-green-texture-clean.webp") center/cover;
}
.inner-judge-foundation-inner{width:min(780px,100%)}
.inner-judge-foundation .eyebrow{color:#e8cb63;font-weight:900;letter-spacing:.12em}
.inner-judge-foundation h1{margin:14px 0;color:#f4dc78;font:950 clamp(3.2rem,8vw,6.8rem)/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif;text-shadow:0 7px 30px rgba(0,0,0,.4),0 0 28px rgba(231,199,82,.16)}
.inner-judge-foundation p{max-width:590px;margin:0 auto;color:rgba(255,255,255,.76);font-size:clamp(1.05rem,2vw,1.28rem);line-height:1.8}
.inner-judge-foundation-line{width:min(290px,60%);height:1px;margin:32px auto 0;background:linear-gradient(90deg,transparent,#e7c95f,transparent);box-shadow:0 0 12px rgba(231,201,95,.5)}

/* Inner Judge - dedicated journey page. */
.inner-judge-page{--ij-green:#004a2b;--ij-deep:#001f12;--ij-gold:#d8b94f;--ij-cream:#fbf8ed;color:#123526;background:var(--ij-cream)}
.inner-judge-page main{overflow:hidden}
.ij-article-hero{
  min-height:430px;
  background:
    linear-gradient(90deg,rgba(1,38,18,.28),rgba(0,40,20,.12),rgba(1,38,18,.32)),
    url("assets/inner-judge-hero-v3.png") center/cover no-repeat!important;
}
.ij-article-hero::before{
  background:
    radial-gradient(circle at 50% 28%,rgba(221,202,98,.14),transparent 25%),
    linear-gradient(90deg,rgba(0,31,14,.28),rgba(0,40,20,.07),rgba(0,31,14,.31))!important;
}
.ij-article-hero .article-hero-title{font-size:clamp(3.45rem,8vw,7.2rem)}
.ij-article-hero .article-hero-subtitle{max-width:820px}
.ij-kicker{margin:0 0 14px;color:#bd9826;font-size:.76rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.ij-section-heading{max-width:790px;margin:0 auto 54px;text-align:center}
.ij-section-heading h2,.ij-definition h2,.ij-pdf h2,.ij-not-test h2,.ij-privacy h2,.ij-cta h2{margin:0;color:#073b25;font:900 clamp(2.25rem,5vw,4.35rem)/1.08 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.ij-section-heading>p:last-child{max-width:650px;margin:18px auto 0;color:#637469;font-size:1.08rem;line-height:1.8}
.ij-hero{position:relative;min-height:min(790px,calc(100vh - 115px));display:flex;align-items:center;color:#fff;background:#001f13;overflow:hidden}
.ij-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0 34%,rgba(0,27,15,.46) 51%,#001f13 75%),linear-gradient(180deg,rgba(0,0,0,.05),transparent 55%,rgba(0,18,10,.78));z-index:1}
.ij-hero-visual{position:absolute;inset:0;background:url("assets/inner-judge-hero-v2.png") left center/cover no-repeat;animation:ijHeroBreath 10s ease-in-out infinite alternate}
.ij-hero-glow{position:absolute;inset:auto 15% 10% auto;width:430px;height:430px;border-radius:50%;background:rgba(216,185,79,.07);filter:blur(65px);z-index:1}
.ij-hero-inner{position:relative;z-index:2;width:100%}
.ij-hero-copy{width:min(570px,48%);margin-right:clamp(22px,4vw,60px);margin-left:auto;padding:95px 0 110px;text-align:right}
.ij-hero .ij-kicker{color:#e0c55f}
.ij-hero h1{margin:0 0 20px;color:#f5d96e;font:950 clamp(4rem,8.5vw,7.8rem)/.9 "Frank Ruhl Libre","Noto Serif Hebrew",serif;text-shadow:0 6px 35px rgba(0,0,0,.5)}
.ij-hero-lead{max-width:600px;margin:0;color:#fffdf3;font:800 clamp(1.45rem,2.7vw,2.2rem)/1.35 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.ij-hero-note{max-width:570px;margin:23px 0 0;color:rgba(255,255,255,.72);font-size:1.03rem;line-height:1.8}
.ij-hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:32px}
.ij-button{min-height:51px;padding:0 25px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:3px;font-weight:900;text-decoration:none;transition:.25s ease}
.ij-button-gold{color:#17351f;background:linear-gradient(135deg,#f1dc83,#c9a335);box-shadow:0 11px 25px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.5)}
.ij-button-ghost{color:#fff;border-color:rgba(237,211,116,.6);background:rgba(0,32,18,.34);backdrop-filter:blur(7px)}
.ij-button:hover{transform:translateY(-3px);filter:brightness(1.07)}
.ij-scroll-cue{position:absolute;right:50%;bottom:21px;z-index:3;width:27px;height:42px;border:1px solid rgba(238,213,123,.5);border-radius:20px;transform:translateX(50%)}
.ij-scroll-cue span{position:absolute;right:50%;top:8px;width:4px;height:8px;border-radius:5px;background:#e2c65f;transform:translateX(50%);animation:ijScroll 1.8s infinite}
@keyframes ijHeroBreath{to{transform:scale(1.025)}}@keyframes ijScroll{0%{opacity:0;transform:translate(50%,0)}40%{opacity:1}100%{opacity:0;transform:translate(50%,15px)}}
.ij-questions{padding:clamp(85px,10vw,145px) 0;background:radial-gradient(circle at 50% 50%,#fff 0,#fbf8ed 62%)}
.ij-question-cloud{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1050px;margin:auto}
.ij-question-cloud p{position:relative;margin:0;padding:24px 22px;border:1px solid rgba(177,145,42,.22);background:rgba(255,255,255,.68);color:#234c3a;font:800 1.08rem/1.55 "Frank Ruhl Libre",serif;text-align:center;box-shadow:0 13px 30px rgba(0,50,29,.045)}
.ij-question-cloud p::before{content:"";position:absolute;right:50%;top:0;width:32px;height:2px;background:#d2ad3b;transform:translateX(50%)}
.ij-definition{padding:clamp(85px,10vw,145px) 0;color:#fff;background:linear-gradient(135deg,#001e11,#005232 55%,#002416)}
.ij-definition-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:8vw;align-items:center}
.ij-definition h2{color:#f0d46b}.ij-definition .ij-kicker{color:#d9bd5a}.ij-large-copy{margin:20px 0 0;color:rgba(255,255,255,.82);font:700 clamp(1.3rem,2.4vw,1.75rem)/1.75 "Frank Ruhl Libre",serif}
.ij-definition-mark{width:min(390px,90vw);aspect-ratio:1;margin:auto;display:flex;align-items:center;justify-content:center;gap:14px;border:1px solid rgba(218,188,87,.38);border-radius:50%;box-shadow:inset 0 0 70px rgba(218,188,87,.05),0 0 0 18px rgba(255,255,255,.025)}
.ij-definition-mark span{color:#f1dc81;font:900 1.25rem "Frank Ruhl Libre",serif}.ij-definition-mark i{width:28px;height:1px;background:#b99632}
.ij-principles{display:flex;gap:8px;flex-wrap:wrap;margin-top:27px}.ij-principles span{padding:8px 13px;border:1px solid rgba(231,205,112,.32);color:#f8eab4;font-size:.87rem}
.ij-process{padding:clamp(90px,11vw,155px) 0;background:#fffdf6}
.ij-process-track{position:relative;max-width:1150px;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;list-style:none}
.ij-process-track::before{content:"";position:absolute;right:12%;left:12%;top:34px;height:1px;background:linear-gradient(90deg,transparent,#d0a936 12% 88%,transparent)}
.ij-process-track li{position:relative;padding:0 17px;text-align:center}.ij-process-track b{position:relative;z-index:1;width:68px;height:68px;margin:0 auto 25px;display:grid;place-items:center;border:1px solid #cfaa3c;border-radius:50%;color:#b28b19;background:#fffdf6;font:800 .82rem Arial;box-shadow:0 0 0 8px #fffdf6}
.ij-process-track h3{margin:0;color:#073b25;font:900 1.35rem "Frank Ruhl Libre",serif}.ij-process-track p{margin:11px 0 0;color:#67756c;line-height:1.7}
.ij-life-map{padding:clamp(95px,12vw,170px) 0;color:#fff;background:radial-gradient(circle at 50% 50%,#075e3a,#002719 58%,#001b10)}
.ij-life-map .ij-section-heading h2{color:#f3d66d}.ij-life-map .ij-section-heading>p:last-child{color:rgba(255,255,255,.67)}.ij-life-map .ij-kicker{color:#d5b750}
.ij-orbit-map{position:relative;width:min(900px,92vw);aspect-ratio:1.62;margin:20px auto 0}
.ij-orbit-map::before,.ij-orbit-map::after{content:"";position:absolute;inset:8% 16%;border:1px solid rgba(216,185,79,.21);border-radius:50%}.ij-orbit-map::after{inset:22% 31%;border-color:rgba(216,185,79,.36)}
.ij-map-center{position:absolute;right:50%;top:50%;z-index:2;width:170px;height:170px;display:grid;place-content:center;border:1px solid #d7b747;border-radius:50%;color:#fff;text-align:center;background:radial-gradient(circle,#087047,#003b24 72%);box-shadow:0 0 0 11px rgba(216,185,79,.08),0 0 45px rgba(216,185,79,.13);transform:translate(50%,-50%)}
.ij-map-center small{color:#dbbd57;font-size:.7rem}.ij-map-center strong{font:900 1.45rem/1.15 "Frank Ruhl Libre",serif}
.ij-map-item{position:absolute;z-index:3;width:170px;min-height:72px;padding:14px;border:1px solid rgba(219,189,87,.35);color:#fff;background:rgba(0,35,20,.83);text-align:center;box-shadow:0 10px 25px rgba(0,0,0,.16);transition:.25s}.ij-map-item strong{display:block;color:#eed574;font:900 1.02rem "Frank Ruhl Libre",serif}.ij-map-item span{display:block;max-height:0;opacity:0;overflow:hidden;color:rgba(255,255,255,.7);font-size:.75rem;line-height:1.45;transition:.25s}.ij-map-item:hover{border-color:#e0c65d;transform:translateY(-4px)}.ij-map-item:hover span{max-height:50px;margin-top:6px;opacity:1}
.ij-map-1{right:3%;top:8%}.ij-map-2{right:0;top:40%}.ij-map-3{right:11%;bottom:2%}.ij-map-4{right:35%;bottom:-4%}.ij-map-5{left:11%;bottom:2%}.ij-map-6{left:0;top:40%}.ij-map-7{left:3%;top:8%}.ij-map-8{right:41%;top:-1%}
.ij-root-path{padding:clamp(90px,11vw,145px) 0;background:#f9f5e8}.ij-root-flow{display:flex;align-items:center;justify-content:center;gap:20px}.ij-root-flow div{width:250px;min-height:125px;padding:25px;display:grid;place-content:center;border:1px solid rgba(178,141,28,.3);background:#fff;text-align:center;box-shadow:0 15px 35px rgba(0,54,31,.06)}.ij-root-flow span{color:#07452b;font:900 1.4rem "Frank Ruhl Libre",serif}.ij-root-flow small{margin-top:7px;color:#758079}.ij-root-flow i{color:#c6a139;font-size:1.8rem;font-style:normal}.ij-root-note{max-width:750px;margin:38px auto 0;color:#53665b;font-size:1.05rem;line-height:1.8;text-align:center}
.ij-pdf{padding:clamp(95px,12vw,165px) 0;background:#fff}.ij-pdf-grid{display:grid;grid-template-columns:1fr 1fr;gap:9vw;align-items:center}.ij-pdf-mockup{position:relative;width:min(410px,80vw);aspect-ratio:.72;margin:auto;perspective:1000px}.ij-pdf-sheet{position:absolute;inset:0;padding:55px 37px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #cfad41;color:#113d28;background:linear-gradient(145deg,#fffef9,#f4efdF);text-align:center;box-shadow:0 30px 60px rgba(0,46,25,.18);transform:rotateY(-8deg) rotateZ(1deg)}.ij-pdf-sheet-back{inset:15px -18px -14px 18px;background:#064b2d;transform:rotate(-4deg)}.ij-pdf-sheet span{color:#a98518;font-size:.8rem;font-weight:900;letter-spacing:.12em}.ij-pdf-sheet i{width:70px;height:1px;margin:25px;background:#caa63b}.ij-pdf-sheet strong{font:900 2.15rem/1.18 "Frank Ruhl Libre",serif}.ij-pdf-sheet small{margin-top:28px;color:#718077}.ij-pdf-copy>p:not(.ij-kicker){color:#617167;line-height:1.8}.ij-pdf-copy ul{margin:25px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 25px;list-style:none}.ij-pdf-copy li{position:relative;padding-right:18px;color:#234b38}.ij-pdf-copy li::before{content:"◆";position:absolute;right:0;top:.25em;color:#c5a032;font-size:.55rem}
.ij-not-test{padding:100px 0;background:#f7f2e4}.ij-not-test-panel{max-width:1120px;margin:auto;padding:60px;border:1px solid rgba(195,156,37,.35);background:#fff;text-align:center;box-shadow:0 20px 50px rgba(0,47,27,.07)}.ij-not-test-panel>p:not(.ij-kicker){color:#67766d}.ij-not-test-panel>div{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:35px;background:#e6dcc0}.ij-not-test-panel span{padding:27px 15px;color:#214b37;background:#fff;font-weight:800}.ij-not-test-panel b{display:block;margin-bottom:6px;color:#b69020;font-size:.7rem}
.ij-for-whom{padding:clamp(90px,11vw,150px) 0;background:#fff}.ij-fit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;max-width:1050px;margin:auto}.ij-fit-grid p{margin:0;padding:25px 26px;border-right:3px solid #c9a63a;color:#214a37;background:#f8f5eb;font-weight:800;line-height:1.5}
.ij-privacy{padding:80px 0;color:#fff;background:linear-gradient(120deg,#002619,#075f3b)}.ij-privacy-inner{max-width:910px!important;display:flex;align-items:center;justify-content:center;gap:35px}.ij-privacy-inner>span{width:100px;height:100px;display:grid;place-items:center;border:1px solid rgba(229,203,110,.5);border-radius:50%;color:#e2c75f;font-size:2rem}.ij-privacy h2{color:#fff;font-size:clamp(2rem,4vw,3.25rem)}.ij-privacy p:not(.ij-kicker){color:rgba(255,255,255,.72);line-height:1.8}.ij-privacy a{color:#edd679;font-weight:900}
.ij-faq{padding:clamp(90px,11vw,145px) 0;background:#fbf8ee}.ij-faq-list{max-width:900px;margin:auto;border-top:1px solid #d9cfb2}.ij-faq details{border-bottom:1px solid #d9cfb2}.ij-faq summary{padding:23px 4px;color:#123f2b;font:900 1.2rem "Frank Ruhl Libre",serif;cursor:pointer}.ij-faq details p{margin:0;padding:0 4px 24px;color:#64736a;line-height:1.75}
.ij-cta{padding:clamp(100px,13vw,180px) 0;color:#fff;background:radial-gradient(circle at 50% 20%,rgba(219,188,78,.14),transparent 30%),linear-gradient(135deg,#001a0f,#005333,#001d11);text-align:center}.ij-cta .ij-kicker{color:#d8bd5c}.ij-cta h2{color:#fff;font-size:clamp(2.7rem,6vw,5.3rem)}.ij-cta h2 em{color:#f0d366;font-style:normal}.ij-cta p{margin:24px 0;color:rgba(255,255,255,.68)}
@media(max-width:900px){.ij-hero{min-height:auto;padding-top:0;display:block}.ij-hero::before{background:linear-gradient(180deg,rgba(0,25,14,.05),#001f13 58%,#001f13)}.ij-hero-visual{position:relative;height:410px;background-position:left center}.ij-hero-inner{margin-top:-120px}.ij-hero-copy{width:100%;margin:0;padding:75px 0 90px;text-align:center}.ij-hero-actions{justify-content:center}.ij-definition-grid,.ij-pdf-grid{grid-template-columns:1fr}.ij-definition-copy{text-align:center}.ij-principles{justify-content:center}.ij-process-track{grid-template-columns:1fr 1fr;gap:42px 10px}.ij-process-track::before{display:none}.ij-orbit-map{aspect-ratio:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px}.ij-orbit-map::before,.ij-orbit-map::after{display:none}.ij-map-center{position:relative;right:auto;top:auto;grid-column:1/-1;margin:0 auto 20px;transform:none}.ij-map-item{position:relative;inset:auto!important;width:auto;min-height:84px}.ij-map-item span{max-height:50px;margin-top:6px;opacity:1}.ij-root-flow{flex-direction:column}.ij-root-flow i{transform:rotate(-90deg)}.ij-pdf-grid{gap:70px}.ij-fit-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.ij-hero-visual{height:330px;background-size:auto 100%}.ij-hero-copy{padding-right:16px;padding-left:16px}.ij-hero h1{font-size:4rem}.ij-hero-actions{display:grid}.ij-question-cloud,.ij-process-track,.ij-fit-grid{grid-template-columns:1fr}.ij-definition-mark{width:290px}.ij-definition-mark span{font-size:1rem}.ij-orbit-map{grid-template-columns:1fr}.ij-map-center{grid-column:auto}.ij-pdf-copy ul{grid-template-columns:1fr}.ij-not-test-panel{padding:42px 20px}.ij-not-test-panel>div{grid-template-columns:1fr}.ij-privacy-inner{align-items:flex-start;gap:20px}.ij-privacy-inner>span{width:65px;height:65px;flex:0 0 65px}}
@media(prefers-reduced-motion:reduce){.ij-hero-visual,.ij-scroll-cue span{animation:none}}

/* Inner Judge - narrative dividers and distinctive section identities. */
.ij-transition{
  position:relative;
  min-height:118px;
  padding:27px 70px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  overflow:hidden;
  text-align:center;
  isolation:isolate;
}
.ij-transition::before,.ij-transition::after{
  content:"";
  width:min(190px,18vw);
  height:1px;
  flex:0 1 190px;
  background:linear-gradient(90deg,transparent,currentColor);
  opacity:.55;
}
.ij-transition::after{transform:scaleX(-1)}
.ij-transition p{max-width:720px;margin:0;font:900 clamp(1.16rem,2.2vw,1.7rem)/1.5 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.ij-transition-number{position:absolute;right:50%;top:8px;color:currentColor;font:800 .66rem Arial,sans-serif;opacity:.58;transform:translateX(50%)}
.ij-transition-number::before,.ij-transition-number::after{content:"◆";padding:0 8px;font-size:.45rem}
.ij-transition-emerald{color:#edd572;background:radial-gradient(circle at 50% 0,rgba(224,195,91,.14),transparent 46%),linear-gradient(110deg,#001c11,#005133,#001e12)}
.ij-transition-cream{color:#805f08;background:linear-gradient(90deg,#f5efdf,#fffdf7 48%,#f5efdf);border-block:1px solid rgba(188,151,39,.2)}
.ij-transition-gold{color:#fff9dc;background:linear-gradient(115deg,#937114,#d1ad3d 48%,#8e6b0f);text-shadow:0 2px 12px rgba(50,31,0,.35)}
.ij-transition-ink{color:#e8cb67;background:radial-gradient(circle at 50% 100%,rgba(13,97,61,.45),transparent 45%),#001b11}
.ij-transition-gold::before,.ij-transition-gold::after{color:#fff6c8}

.ij-questions{position:relative;padding:clamp(100px,12vw,165px) 0;background:radial-gradient(circle at 50% 46%,rgba(220,192,93,.15),transparent 23%),linear-gradient(135deg,#fffdf8,#f4efe1)}
.ij-questions::before{content:"";position:absolute;inset:40px 4%;border:1px solid rgba(180,144,36,.13);pointer-events:none}
.ij-questions::after{content:"";position:absolute;right:50%;top:40px;bottom:40px;width:1px;background:linear-gradient(transparent,rgba(186,149,39,.16),transparent)}
.ij-questions .section-inner{position:relative;z-index:1}
.ij-inquiry-heading{max-width:900px}.ij-inquiry-heading h2{font-size:clamp(2.7rem,5.7vw,5rem)}
.ij-inquiry-heading>p:last-child{max-width:710px}
.ij-inquiry-stage{position:relative;max-width:1120px;min-height:545px;margin:10px auto 0;display:grid;grid-template-columns:1fr 310px 1fr;grid-template-rows:repeat(3,1fr);gap:16px 34px;align-items:center}
.ij-inquiry-stage::before,.ij-inquiry-stage::after{content:"";position:absolute;right:50%;top:50%;border:1px solid rgba(184,148,39,.18);border-radius:50%;transform:translate(50%,-50%);pointer-events:none}
.ij-inquiry-stage::before{width:470px;height:470px}.ij-inquiry-stage::after{width:370px;height:370px;border-style:dashed;animation:ijInquiryOrbit 40s linear infinite}
.ij-inquiry-core{grid-column:2;grid-row:1/4;position:relative;z-index:2;width:280px;height:280px;margin:auto;padding:35px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #c9a53c;border-radius:50%;color:#fff;background:radial-gradient(circle at 48% 38%,#087048,#004228 65%,#002c1a);text-align:center;box-shadow:0 0 0 10px rgba(203,166,55,.08),0 24px 60px rgba(0,51,29,.24),inset 0 1px 0 rgba(255,255,255,.16)}
.ij-inquiry-core::before{content:"◆";position:absolute;top:-9px;width:20px;height:18px;color:#d7b74d;background:#f8f4e9;font-size:.6rem;line-height:18px}
.ij-inquiry-core small{color:rgba(255,255,255,.63);font-size:.74rem}.ij-inquiry-core strong{margin:4px 0;color:#f4db78;font:900 1.34rem/1.25 "Frank Ruhl Libre",serif}.ij-inquiry-core i{width:70px;height:1px;margin:15px 0;background:linear-gradient(90deg,transparent,#e0c35c,transparent)}
.ij-question-card{position:relative;z-index:2;min-height:112px;margin:0;padding:19px 23px;display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(173,137,28,.27);color:#244c39;background:rgba(255,255,255,.85);box-shadow:0 15px 35px rgba(0,54,31,.065);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.ij-question-card::before{content:"";position:absolute;top:50%;width:28px;height:1px;background:#c5a13a}
.ij-question-card b{color:#aa8418;font-size:.7rem;letter-spacing:.08em}.ij-question-card span{margin-top:5px;font:900 1.08rem/1.45 "Frank Ruhl Libre",serif}
.ij-question-card:hover{z-index:3;border-color:#c5a13a;transform:translateY(-5px);box-shadow:0 22px 42px rgba(0,54,31,.11)}
.ij-question-1,.ij-question-3,.ij-question-5{grid-column:1;text-align:left}.ij-question-2,.ij-question-4,.ij-question-6{grid-column:3;text-align:right}
.ij-question-1,.ij-question-2{grid-row:1}.ij-question-3,.ij-question-4{grid-row:2}.ij-question-5,.ij-question-6{grid-row:3}
.ij-question-1::before,.ij-question-3::before,.ij-question-5::before{left:-29px}.ij-question-2::before,.ij-question-4::before,.ij-question-6::before{right:-29px}
.ij-inquiry-conclusion{margin:48px auto 0;display:flex;align-items:center;justify-content:center;gap:18px;color:#6d7b72;font-weight:850}.ij-inquiry-conclusion i{width:55px;height:1px;background:linear-gradient(90deg,transparent,#b99325)}.ij-inquiry-conclusion strong{color:#0a5032;font:900 1.25rem "Frank Ruhl Libre",serif}
@keyframes ijInquiryOrbit{to{transform:translate(50%,-50%) rotate(360deg)}}

.ij-definition{position:relative;background:radial-gradient(circle at 18% 50%,rgba(221,192,86,.11),transparent 24%),linear-gradient(135deg,#001e11,#005232 55%,#002416)}
.ij-definition::before{content:"";position:absolute;inset:25px;border:1px solid rgba(223,198,105,.11);pointer-events:none}
.ij-process{position:relative;background:linear-gradient(180deg,#fffdf6,#f5f0e2)}
.ij-process::before{content:"ארבע תחנות";position:absolute;left:-32px;top:50%;color:rgba(2,65,38,.045);font:950 6rem "Frank Ruhl Libre",serif;transform:rotate(-90deg)}
.ij-life-map{position:relative;background:radial-gradient(circle at 50% 50%,#087048,#002719 58%,#001b10)}
.ij-life-map::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(226,199,102,.22) .7px,transparent .7px);background-size:28px 28px;opacity:.18}
.ij-root-path{position:relative;background:linear-gradient(135deg,#f8f3e4,#fffdf8)}
.ij-root-path::before{content:"";position:absolute;right:8%;left:8%;top:50%;height:280px;border:1px solid rgba(181,144,31,.1);border-radius:50%;transform:translateY(-50%);pointer-events:none}
.ij-pdf{position:relative;background:radial-gradient(circle at 18% 50%,rgba(4,92,55,.08),transparent 28%),#fff}
.ij-pdf::before{content:"PDF";position:absolute;right:3%;bottom:2%;color:rgba(0,74,43,.035);font:950 15rem/1 Arial,sans-serif}
.ij-not-test{position:relative;background:repeating-linear-gradient(135deg,#f7f2e4 0,#f7f2e4 18px,#f3eddd 18px,#f3eddd 19px)}
.ij-not-test-panel{position:relative;border-radius:0}.ij-not-test-panel::before,.ij-not-test-panel::after{content:"◆";position:absolute;right:50%;width:28px;height:22px;color:#bd982b;background:#fff;transform:translateX(50%);font-size:.55rem;line-height:22px}.ij-not-test-panel::before{top:-11px}.ij-not-test-panel::after{bottom:-11px}
.ij-for-whom{position:relative;background:radial-gradient(circle at 50% 0,rgba(211,179,72,.1),transparent 30%),#fff}
.ij-fit-grid p{position:relative;overflow:hidden;transition:.25s}.ij-fit-grid p::after{content:"";position:absolute;right:0;bottom:0;width:28px;height:1px;background:#c9a63a;transition:.25s}.ij-fit-grid p:hover{transform:translateY(-4px);box-shadow:0 16px 30px rgba(0,61,35,.08)}.ij-fit-grid p:hover::after{width:100%}
.ij-privacy{position:relative;background:radial-gradient(circle at 15% 50%,rgba(231,205,110,.13),transparent 22%),linear-gradient(120deg,#002619,#075f3b)}
.ij-privacy::before{content:"";position:absolute;inset:18px;border:1px solid rgba(228,201,103,.16)}
.ij-faq{position:relative;background:linear-gradient(90deg,#f4efe1,#fffdf8 50%,#f4efe1)}
.ij-faq details{transition:.25s}.ij-faq details[open]{padding-inline:24px;background:rgba(255,255,255,.72);box-shadow:inset 3px 0 #c5a036}
.ij-cta{position:relative}.ij-cta::before{content:"";position:absolute;right:50%;top:34px;width:130px;height:130px;border:1px solid rgba(224,196,94,.19);border-radius:50%;transform:translateX(50%);box-shadow:0 0 0 20px rgba(224,196,94,.035)}
.ij-cta .section-inner{position:relative}

@media(max-width:900px){
  .ij-transition{min-height:105px;padding-inline:26px}.ij-transition::before,.ij-transition::after{width:50px;flex-basis:50px}
  .ij-inquiry-stage{min-height:auto;grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}.ij-inquiry-stage::before,.ij-inquiry-stage::after{display:none}
  .ij-inquiry-core{grid-column:1/-1;grid-row:auto;margin-bottom:18px}
  .ij-question-card{grid-column:auto!important;grid-row:auto!important;text-align:center!important}.ij-question-card::before{display:none}
}
@media(max-width:600px){
  .ij-transition{min-height:98px;padding:28px 20px 22px}.ij-transition::before,.ij-transition::after{display:none}.ij-transition p{font-size:1.1rem}
  .ij-questions::before{inset:20px 10px}.ij-inquiry-stage{grid-template-columns:1fr}.ij-inquiry-core{width:245px;height:245px;padding:28px}.ij-inquiry-conclusion{gap:10px}.ij-inquiry-conclusion i{width:25px}
  .ij-process::before,.ij-pdf::before{display:none}
}
@media(prefers-reduced-motion:reduce){.ij-inquiry-stage::after{animation:none}}

/* Inner Judge inquiry - restrained editorial reconstruction. */
.ij-questions{
  padding:clamp(95px,11vw,150px) 0;
  background:linear-gradient(115deg,#f4efe2 0 32%,#fffdf8 32% 100%);
}
.ij-questions::before{inset:30px 3%;border-color:rgba(177,141,31,.14)}
.ij-questions::after{
  content:"?";
  right:auto;
  left:4%;
  top:auto;
  bottom:-55px;
  width:auto;
  height:auto;
  color:rgba(0,67,39,.035);
  background:none;
  font:950 24rem/1 "Frank Ruhl Libre",serif;
}
.ij-inquiry-intro{max-width:1080px;margin:0 auto 65px;display:grid;grid-template-columns:1.2fr .8fr;gap:8vw;align-items:end}
.ij-inquiry-intro h2{margin:0;color:#073b25;font:900 clamp(2.8rem,5.7vw,5.25rem)/1.02 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.ij-inquiry-intro>p:last-child{margin:0 0 7px;padding-right:27px;border-right:1px solid #c8a137;color:#66766c;font-size:1.08rem;line-height:1.85}
.ij-inquiry-editorial{max-width:1100px;margin:auto;display:grid;grid-template-columns:.82fr 1.18fr;border:1px solid rgba(171,135,26,.3);background:#fff;box-shadow:0 26px 65px rgba(0,55,31,.09)}
.ij-inquiry-thesis{position:relative;min-height:570px;padding:58px 50px;display:flex;flex-direction:column;justify-content:center;color:#fff;background:radial-gradient(circle at 90% 10%,rgba(222,194,92,.14),transparent 28%),linear-gradient(145deg,#00613b,#003722 68%,#00291a)}
.ij-inquiry-thesis::before{content:"";position:absolute;inset:13px;border:1px solid rgba(231,205,110,.22)}
.ij-inquiry-thesis::after{content:"◆";position:absolute;right:50%;bottom:-9px;width:23px;height:18px;color:#d5b54b;background:#fffdf8;font-size:.55rem;line-height:18px;text-align:center;transform:translateX(50%)}
.ij-inquiry-thesis>span{position:relative;color:#dfc35e;font-size:.72rem;font-weight:900;letter-spacing:.12em}
.ij-inquiry-thesis blockquote{position:relative;margin:25px 0;color:#fff;font:900 clamp(2rem,3.5vw,3.35rem)/1.16 "Frank Ruhl Libre",serif}
.ij-inquiry-thesis blockquote em{display:block;margin-top:17px;color:#f0d46e;font-size:.7em;font-style:normal;line-height:1.35}
.ij-inquiry-thesis p{position:relative;margin:auto 0 0;color:rgba(255,255,255,.63);font-size:.88rem;line-height:1.65}
.ij-inquiry-lines{margin:0;padding:27px 45px;display:flex;flex-direction:column;justify-content:center;list-style:none;counter-reset:none}
.ij-inquiry-lines li{position:relative;min-height:78px;padding:19px 0;display:grid;grid-template-columns:118px 1fr;gap:22px;align-items:center;border-bottom:1px solid #e4dcc5;transition:padding .22s ease,background .22s ease}
.ij-inquiry-lines li:last-child{border-bottom:0}.ij-inquiry-lines li::after{content:"";position:absolute;right:0;bottom:-1px;width:0;height:1px;background:#b78f1d;transition:width .3s ease}.ij-inquiry-lines li:hover{padding-inline:12px;background:#fbf8ef}.ij-inquiry-lines li:hover::after{width:100%}
.ij-inquiry-lines b{color:#b28a17;font:800 .68rem Arial,sans-serif;letter-spacing:.04em}.ij-inquiry-lines b small{display:block;margin-top:5px;color:#12452e;font:900 .8rem "Noto Sans Hebrew",Arial,sans-serif;letter-spacing:0}
.ij-inquiry-lines span{color:#294e3c;font:900 clamp(1.02rem,1.7vw,1.25rem)/1.45 "Frank Ruhl Libre",serif}
.ij-inquiry-closing{max-width:740px;margin:47px auto 0;color:#244d39;font:900 clamp(1.2rem,2vw,1.5rem)/1.6 "Frank Ruhl Libre",serif;text-align:center}
.ij-inquiry-closing::before,.ij-inquiry-closing::after{content:"";display:inline-block;width:45px;height:1px;margin:0 15px;vertical-align:middle;background:linear-gradient(90deg,transparent,#bd9625)}.ij-inquiry-closing::after{transform:scaleX(-1)}
@media(max-width:800px){.ij-inquiry-intro{grid-template-columns:1fr;gap:22px;text-align:center}.ij-inquiry-intro>p:last-child{max-width:650px;margin:auto;padding:0 0 20px;border-right:0;border-bottom:1px solid #c8a137}.ij-inquiry-editorial{grid-template-columns:1fr}.ij-inquiry-thesis{min-height:430px;text-align:center}.ij-inquiry-thesis p{margin-top:30px}.ij-inquiry-lines{padding:18px 25px}}
@media(max-width:520px){.ij-questions{background:#fffdf8}.ij-inquiry-thesis{min-height:390px;padding:48px 30px}.ij-inquiry-lines li{grid-template-columns:78px 1fr;gap:12px}.ij-inquiry-lines{padding-inline:18px}.ij-inquiry-closing::before,.ij-inquiry-closing::after{width:20px;margin-inline:7px}}

/* Inner Judge - focused Beit Din questionnaire experience. */
.ij-court-main{background:#f8f4e8}
.ij-court-hero .section-inner{gap:10px}
.ij-court-file{padding:7px 18px;border:1px solid rgba(231,207,121,.48);color:#ecd477;background:rgba(0,38,22,.5);font-size:.72rem;font-weight:900;letter-spacing:.08em}
.ij-court-hero .article-hero-subtitle{max-width:760px;font-size:clamp(1.05rem,2vw,1.55rem)}
.ij-court-hero-cta{min-width:180px;min-height:45px;margin-top:10px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e3c65c;color:#143721;background:linear-gradient(135deg,#f2dc82,#c9a335);font-weight:950;text-decoration:none;box-shadow:0 10px 26px rgba(0,0,0,.25);transition:.25s}
.ij-court-hero-cta:hover{transform:translateY(-3px);filter:brightness(1.06)}
.ij-court-why{padding:clamp(85px,10vw,140px) 0;background:linear-gradient(115deg,#f0eadb 0 38%,#fffdf7 38%)}
.ij-court-why-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:9vw;align-items:center}
.ij-court-docket{position:relative;min-height:410px;padding:55px 45px;display:flex;flex-direction:column;justify-content:center;border:1px solid #bf992b;color:#fff;background:radial-gradient(circle at 75% 15%,rgba(230,202,101,.14),transparent 28%),linear-gradient(145deg,#00613b,#00331f 70%);box-shadow:0 24px 60px rgba(0,51,29,.2)}
.ij-court-docket::before{content:"";position:absolute;inset:12px;border:1px solid rgba(238,215,133,.23)}.ij-court-docket>span{position:relative;color:#dec25c;font-size:.7rem;font-weight:900;letter-spacing:.12em}.ij-court-docket strong{position:relative;margin-top:22px;color:#fff;font:900 clamp(2.6rem,4.8vw,4.5rem)/1.02 "Frank Ruhl Libre",serif}.ij-court-docket i{position:relative;width:80px;height:1px;margin:28px 0;background:#d3b247}.ij-court-docket p{position:relative;margin:0;color:#efd674;font:900 1.2rem/1.6 "Frank Ruhl Libre",serif}
.ij-court-why-copy h2,.ij-court-heading h2,.ij-questionnaire-head h2{margin:0;color:#073b25;font:900 clamp(2.6rem,5.2vw,4.8rem)/1.05 "Frank Ruhl Libre",serif}.ij-court-why-copy>p:not(.ij-kicker){color:#5e7066;font-size:1.08rem;line-height:1.85}.ij-court-why-copy ul{margin:28px 0;padding:0;display:grid;gap:11px;list-style:none}.ij-court-why-copy li{padding:11px 20px;border-right:2px solid #c6a039;color:#214a37;background:#f7f2e5;font-weight:850}.ij-court-why-copy>a{color:#00613b;font-weight:950;text-decoration-thickness:1px;text-underline-offset:5px}
.ij-court-process{padding:clamp(85px,10vw,135px) 0;color:#fff;background:radial-gradient(circle at 50% 0,rgba(219,190,84,.11),transparent 30%),linear-gradient(130deg,#001d12,#005334,#001e12)}
.ij-court-heading{text-align:center}.ij-court-heading>span{color:#d9bc58;font-size:.75rem;font-weight:900;letter-spacing:.13em}.ij-court-heading h2{margin-top:12px;color:#f0d46c}
.ij-court-process-list{max-width:1080px;margin:58px auto 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid rgba(224,197,99,.35);list-style:none}.ij-court-process-list li{position:relative;min-height:255px;padding:40px 32px;display:grid;grid-template-columns:55px 1fr;gap:18px;border-left:1px solid rgba(224,197,99,.24)}.ij-court-process-list li:last-child{border-left:0}.ij-court-process-list b{width:48px;height:48px;display:grid;place-items:center;border:1px solid #d9bc58;border-radius:50%;color:#e7ce73;font:900 1.35rem "Frank Ruhl Libre",serif}.ij-court-process-list small{color:#bca650;font-size:.68rem}.ij-court-process-list strong{display:block;margin-top:7px;color:#fff;font:900 1.35rem "Frank Ruhl Libre",serif}.ij-court-process-list p{color:rgba(255,255,255,.66);line-height:1.7}
.ij-court-trust{padding:36px 0;background:#d0aa37;color:#17371f}.ij-court-trust .section-inner{display:flex;align-items:center;justify-content:center;gap:25px}.ij-court-trust p{max-width:850px;margin:0;line-height:1.65}.ij-court-trust a{color:#14351f;font-weight:950;white-space:nowrap}.ij-court-seal{width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;border:1px solid rgba(20,53,31,.65);border-radius:50%;font:900 1.2rem "Frank Ruhl Libre",serif;box-shadow:inset 0 0 0 5px rgba(20,53,31,.08)}
.ij-questionnaire{padding:clamp(90px,11vw,155px) 0;background:radial-gradient(circle at 50% 0,rgba(205,170,57,.12),transparent 24%),#f7f2e6}
.ij-questionnaire-head{max-width:850px;margin:0 auto 55px;text-align:center}.ij-questionnaire-head>span{color:#a78013;font-size:.75rem;font-weight:900;letter-spacing:.14em}.ij-questionnaire-head p{color:#66766d;line-height:1.75}
.ij-questionnaire-shell{max-width:1180px;margin:auto;display:grid;grid-template-columns:300px 1fr;border:1px solid #b89124;background:#fff;box-shadow:0 30px 75px rgba(0,52,30,.15)}
.ij-questionnaire-rail{position:relative;padding:46px 34px;color:#fff;background:radial-gradient(circle at 80% 10%,rgba(224,197,99,.13),transparent 25%),linear-gradient(160deg,#00613b,#00321f 72%)}.ij-questionnaire-rail::before{content:"";position:absolute;inset:11px;border:1px solid rgba(231,207,121,.2)}.ij-rail-title,.ij-questionnaire-rail ol,.ij-rail-progress{position:relative}.ij-rail-title small{display:block;color:#d9bd5e;font-size:.64rem}.ij-rail-title strong{display:block;margin-top:5px;font:900 1.65rem "Frank Ruhl Libre",serif}.ij-questionnaire-rail ol{margin:40px 0;padding:0;display:grid;gap:22px;list-style:none}.ij-questionnaire-rail li{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:12px;color:rgba(255,255,255,.48);transition:.25s}.ij-questionnaire-rail li b{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(221,193,91,.35);border-radius:50%;font:900 1rem "Frank Ruhl Libre",serif}.ij-questionnaire-rail li.is-active{color:#f4db79}.ij-questionnaire-rail li.is-complete{color:#fff}.ij-questionnaire-rail li.is-complete b{color:#173a25;background:#d5b74d}.ij-rail-progress{margin-top:55px;color:rgba(255,255,255,.66);font-size:.72rem}.ij-rail-progress strong{display:block;margin-top:5px;color:#fff}.ij-rail-progress i{height:3px;margin-top:12px;display:block;background:rgba(255,255,255,.16)}.ij-rail-progress em{display:block;width:25%;height:100%;background:#e0c35e;transition:width .3s}
.ij-questionnaire-form{min-height:720px;padding:52px 58px;display:flex;flex-direction:column}.ij-form-step[hidden]{display:none!important}.ij-form-step{animation:ijFormIn .35s ease}.ij-form-step-head{padding-bottom:24px;border-bottom:1px solid #ddd2b4}.ij-form-step-head>span{color:#ae8719;font-size:.7rem;font-weight:900}.ij-form-step-head h3{margin:5px 0;color:#073b25;font:900 2.4rem "Frank Ruhl Libre",serif}.ij-form-step-head p{margin:0;color:#738078}.ij-field-grid{margin-top:30px;display:grid;grid-template-columns:1fr 1fr;gap:23px}.ij-field-grid label,.ij-wide-field{display:grid;gap:8px}.ij-field-grid label>span,.ij-wide-field>span{color:#214b37;font-weight:900}.ij-questionnaire-form input,.ij-questionnaire-form select,.ij-questionnaire-form textarea{width:100%;border:1px solid #cfc5aa;border-radius:0;color:#163c29;background:#fffdf8;font:inherit;outline:none;transition:.2s}.ij-questionnaire-form input,.ij-questionnaire-form select{height:48px;padding:0 13px}.ij-questionnaire-form textarea{padding:13px;resize:vertical;line-height:1.65}.ij-questionnaire-form input:focus,.ij-questionnaire-form select:focus,.ij-questionnaire-form textarea:focus{border-color:#a98419;box-shadow:0 0 0 3px rgba(196,158,43,.1)}.ij-wide-field{margin-top:25px}.ij-consent{margin-top:26px;display:flex;align-items:flex-start;gap:10px;color:#51645a;line-height:1.6}.ij-consent input{width:18px;height:18px;margin-top:4px}.ij-consent a{color:#00613b;font-weight:900}.ij-form-actions{margin-top:auto;padding-top:35px;display:flex;justify-content:space-between;gap:15px}.ij-form-actions button,.ij-submit-locked button{min-height:47px;padding:0 23px;border:1px solid #b69022;font:900 .95rem inherit;cursor:pointer}.ij-form-next{margin-right:auto;color:#183923;background:linear-gradient(135deg,#ecd576,#c69e2f)}.ij-form-prev{color:#13442e;background:#fff}.ij-submit-locked{margin-top:28px;padding:22px;border:1px solid #d2c7aa;background:#f7f2e5;text-align:center}.ij-submit-locked>span{display:block;color:#8c6910;font-weight:900}.ij-submit-locked button{width:100%;margin-top:13px;color:#7b7b72;background:#ddd9cc;cursor:not-allowed}.ij-submit-locked small{display:block;margin-top:10px;color:#7a827d;line-height:1.55}
.ij-submission-success{max-width:850px;margin:auto;padding:75px 65px;border:1px solid #c09a2d;color:#fff;background:radial-gradient(circle at 50% 18%,rgba(226,199,98,.14),transparent 25%),linear-gradient(145deg,#005637,#00281a);text-align:center;box-shadow:0 30px 70px rgba(0,45,26,.22)}.ij-success-seal{width:105px;height:105px;margin:auto;display:grid;place-items:center;border:2px solid #d9bc58;border-radius:50%;color:#e7cc6d;font:900 1.5rem "Frank Ruhl Libre",serif;transform:rotate(-8deg);box-shadow:inset 0 0 0 7px rgba(217,188,88,.08)}.ij-submission-success h2{color:#f1d56d;font:900 clamp(2.7rem,5vw,4.5rem) "Frank Ruhl Libre",serif}.ij-submission-success p{color:rgba(255,255,255,.75);line-height:1.8}.ij-submission-success small,.ij-submission-success strong{display:block;margin-top:20px}.ij-submission-success a{margin-top:30px;display:inline-block;color:#efd572;font-weight:900}
@keyframes ijFormIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:900px){.ij-court-why-grid{grid-template-columns:1fr}.ij-court-docket{min-height:340px}.ij-court-process-list{grid-template-columns:1fr}.ij-court-process-list li{min-height:0;border-left:0;border-bottom:1px solid rgba(224,197,99,.24)}.ij-questionnaire-shell{grid-template-columns:1fr}.ij-questionnaire-rail{padding:30px}.ij-questionnaire-rail ol{grid-template-columns:repeat(4,1fr);gap:8px;margin:25px 0}.ij-questionnaire-rail li{grid-template-columns:1fr;text-align:center}.ij-questionnaire-rail li b{margin:auto}.ij-rail-progress{margin-top:22px}.ij-questionnaire-form{min-height:680px}}
@media(max-width:600px){.ij-court-file{font-size:.62rem}.ij-court-why{background:#fffdf7}.ij-court-docket{padding:45px 30px}.ij-court-trust .section-inner{flex-direction:column;text-align:center}.ij-questionnaire-rail ol span{display:none}.ij-questionnaire-form{min-height:0;padding:35px 20px}.ij-field-grid{grid-template-columns:1fr}.ij-form-step-head h3{font-size:2rem}.ij-form-actions{margin-top:35px}.ij-form-actions button{flex:1}.ij-submission-success{padding:55px 25px}}

/* Inner Judge - full Torah Beit Din protocol language. */
.ij-case-status{min-height:52px;padding:11px 24px;display:flex;align-items:center;justify-content:center;gap:20px;color:#f0df9c;background:#00291a;border-bottom:1px solid #b99121;font-size:.76rem}.ij-case-status i{width:1px;height:18px;background:rgba(231,204,106,.35)}.ij-case-status strong{color:#fff;font-weight:900}
.ij-court-principles{margin:27px 0;padding:0;display:grid;gap:8px;list-style:none}.ij-court-principles li{padding:12px 16px;display:grid;grid-template-columns:35px 1fr;gap:13px;align-items:center;border:1px solid #ded4b8;background:#faf7ee}.ij-court-principles b{width:31px;height:31px;display:grid;place-items:center;border:1px solid #b99020;border-radius:50%;color:#9d7710;font:900 1rem "Frank Ruhl Libre",serif}.ij-court-principles span{color:#647269;font-size:.88rem}.ij-court-principles strong{display:block;color:#123f2b;font:900 1.06rem "Frank Ruhl Libre",serif}
.ij-court-process-list em{display:inline-block;margin-top:14px;padding:5px 9px;border:1px solid rgba(224,197,99,.28);color:#e7ce78;font-size:.66rem;font-style:normal;font-weight:900}.ij-court-disclaimer{max-width:820px;margin:28px auto 0;color:rgba(255,255,255,.48);font-size:.75rem;line-height:1.65;text-align:center}
.ij-rail-meta{margin-top:20px;padding-block:13px;border-block:1px solid rgba(222,196,98,.21);display:grid;gap:6px;color:rgba(255,255,255,.58);font-size:.66rem}.ij-rail-meta b{color:#ead477}
.ij-questionnaire-rail ol{gap:17px}.ij-questionnaire-form{position:relative;padding-top:180px}.ij-protocol-header{position:absolute;inset:0 0 auto;padding:27px 45px 25px;border-bottom:3px double #b89124;background:linear-gradient(180deg,#fcfaf3,#f4eedf);text-align:center}.ij-protocol-header>span{display:block;color:#8f6b0a;font-size:.62rem;font-weight:900;letter-spacing:.1em}.ij-protocol-header>strong{display:block;margin-top:4px;color:#073c26;font:900 1.5rem "Frank Ruhl Libre",serif}.ij-protocol-header>small{color:#9b7a1e;font-weight:900}.ij-protocol-header>div{margin-top:16px;padding-top:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border-top:1px solid #d9cfb3}.ij-protocol-header b{color:#65746b;font-size:.68rem}.ij-protocol-header em{display:block;margin-top:3px;color:#16442f;font-style:normal}
.ij-form-step-head>span{letter-spacing:.05em}.ij-form-step-head::after{content:"פרוטוקול";float:left;margin-top:-35px;color:rgba(0,70,41,.055);font:950 3rem "Frank Ruhl Libre",serif}
.ij-testimonies{margin-top:27px;border-top:1px solid #d9cfb3}.ij-testimonies details{border-bottom:1px solid #d9cfb3;background:#fff}.ij-testimonies summary{padding:18px 15px;color:#123f2b;font:900 1.08rem "Frank Ruhl Libre",serif;cursor:pointer}.ij-testimonies summary b{display:inline-grid;width:34px;height:34px;margin-left:12px;place-items:center;border:1px solid #bd9525;border-radius:50%;color:#9b7410;font:800 .7rem Arial}.ij-testimonies details[open]{background:#faf7ed;box-shadow:inset 3px 0 #b99020}.ij-testimonies .ij-wide-field{padding:0 20px 24px;margin-top:4px}
.ij-heart-plea{position:relative;margin-top:25px;padding:28px;border:1px solid #c4a13a;background:linear-gradient(135deg,#faf7ed,#fff)}.ij-heart-plea::before{content:"טענת הלב";position:absolute;left:20px;top:-17px;padding:4px 12px;color:#a17a10;background:#fff;font:900 .75rem "Frank Ruhl Libre",serif}
.ij-declaration{position:relative;margin-top:30px;padding:34px;border:3px double #b79124;background:linear-gradient(145deg,#fffdf7,#f3eddd)}.ij-declaration-title{display:block;color:#073e27;font:900 1.45rem "Frank Ruhl Libre",serif;text-align:center}.ij-declaration>p{color:#53665b;line-height:1.8;text-align:center}.ij-signature-row{margin-top:25px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.ij-signature-row label{display:grid;gap:8px;color:#214b37;font-weight:900}.ij-before-submit{margin-top:22px;padding:13px 18px;border-right:3px solid #b58d1d;color:#53655b;background:#f7f2e6;font-size:.85rem;line-height:1.65}
.ij-success-meta{margin:28px auto;display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid rgba(228,201,103,.3)}.ij-success-meta span{padding:16px 10px;color:rgba(255,255,255,.6);font-size:.72rem}.ij-success-meta b{display:block;margin-top:5px;color:#ecd477}
.ij-success-seal{font-size:1.05rem;width:125px;height:125px}
@media(max-width:900px){.ij-questionnaire-rail ol{grid-template-columns:repeat(5,1fr)}.ij-rail-meta{grid-template-columns:repeat(3,1fr)}.ij-questionnaire-form{padding-top:180px}}
@media(max-width:600px){.ij-case-status{gap:9px;padding-inline:10px;font-size:.62rem}.ij-case-status i{height:13px}.ij-protocol-header{padding-inline:15px}.ij-protocol-header>div{gap:5px}.ij-questionnaire-form{padding-top:190px}.ij-form-step-head::after{display:none}.ij-signature-row,.ij-success-meta{grid-template-columns:1fr}.ij-declaration{padding:25px 18px}.ij-heart-plea{padding:22px 14px}.ij-testimonies summary{font-size:.95rem}}

/* Inner Judge - the meeting point between Torah judgment and the human soul. */
.ij-court-why{
  position:relative;
  background:
    radial-gradient(circle at 18% 52%,rgba(209,171,55,.13),transparent 24%),
    linear-gradient(115deg,#eee7d6 0 38%,#fffdf7 38%);
}
.ij-court-why::before{
  content:"";
  position:absolute;
  inset:30px;
  border:1px solid rgba(160,124,24,.12);
  pointer-events:none;
}
.ij-din-nefesh-mark{
  min-height:460px;
  align-items:center;
  text-align:center;
  background:
    radial-gradient(circle at 50% 50%,rgba(227,199,98,.12),transparent 34%),
    linear-gradient(145deg,#00613b,#00331f 70%);
}
.ij-din-nefesh-mark::after{
  content:"";
  position:absolute;
  inset:27px;
  border:1px solid rgba(238,215,133,.12);
  border-radius:50% 50% 4px 4px / 18% 18% 4px 4px;
}
.ij-din-nefesh-mark>span{z-index:1;letter-spacing:.16em}
.ij-din-nefesh-mark>p{z-index:1;margin-top:28px!important;color:rgba(255,255,255,.7)!important;font-size:.9rem!important;letter-spacing:.08em}
.ij-din-nefesh-axis{
  position:relative;
  z-index:1;
  width:100%;
  margin-top:42px;
  display:grid;
  grid-template-columns:1fr 88px 1fr;
  align-items:center;
  gap:15px;
}
.ij-din-nefesh-axis>strong{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(2.8rem,5vw,4.5rem)!important;
  line-height:1!important;
}
.ij-din-nefesh-axis>strong:first-child{text-align:left}
.ij-din-nefesh-axis>strong:last-child{text-align:right;color:#f0d477!important;text-shadow:0 0 26px rgba(225,194,82,.22)}
.ij-din-nefesh-axis>i{
  width:82px;
  height:82px;
  margin:0!important;
  display:grid;
  place-items:center;
  border:1px solid #d5b64d;
  border-radius:50%;
  background:rgba(0,35,20,.62);
  box-shadow:0 0 0 8px rgba(216,185,79,.06),inset 0 0 24px rgba(216,185,79,.07);
}
.ij-din-nefesh-axis>i::before,.ij-din-nefesh-axis>i::after{content:"";position:absolute;width:18%;height:1px;background:linear-gradient(90deg,transparent,#d5b64d)}
.ij-din-nefesh-axis>i::before{right:18%}.ij-din-nefesh-axis>i::after{left:18%;transform:scaleX(-1)}
.ij-din-nefesh-axis b{color:#ead170;font:900 .85rem "Frank Ruhl Libre",serif;letter-spacing:.08em}
.ij-court-why-copy h2{font-size:clamp(2.75rem,5vw,4.65rem)}
.ij-court-principles li{position:relative;overflow:hidden;border-right:3px solid #b99020;box-shadow:0 7px 18px rgba(0,55,31,.035)}
.ij-court-principles li::after{content:"";position:absolute;inset:auto 0 0;width:36%;height:1px;background:linear-gradient(90deg,#c29a27,transparent)}

.ij-questionnaire{
  background:
    linear-gradient(rgba(159,122,21,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(159,122,21,.04) 1px,transparent 1px),
    radial-gradient(circle at 50% 0,rgba(205,170,57,.15),transparent 24%),#f7f2e6;
  background-size:44px 44px,44px 44px,auto,auto;
}
.ij-questionnaire-head::before{
  content:"אמת";
  width:72px;
  height:72px;
  margin:0 auto 22px;
  display:grid;
  place-items:center;
  border:3px double #b89124;
  border-radius:50%;
  color:#946f0b;
  background:#fbf8ef;
  font:900 1.05rem "Frank Ruhl Libre",serif;
  box-shadow:0 0 0 8px rgba(184,145,36,.06);
}
.ij-questionnaire-shell{border:1px solid #9d7614;box-shadow:0 34px 85px rgba(0,45,26,.19),0 0 0 7px rgba(184,145,36,.055)}
.ij-questionnaire-rail{background:radial-gradient(circle at 50% 32%,rgba(224,197,99,.14),transparent 20%),linear-gradient(160deg,#00613b,#00321f 72%)}
.ij-rail-emblem{
  position:relative;
  z-index:1;
  margin:31px 0;
  padding:17px 0;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:11px;
  border-block:1px solid rgba(222,196,98,.22);
  color:rgba(255,255,255,.68);
  font:900 .88rem "Frank Ruhl Libre",serif;
  text-align:center;
}
.ij-rail-emblem b{width:50px;height:50px;display:grid;place-items:center;border:1px solid #d9bd5e;border-radius:50%;color:#e8d176;font-size:.72rem}
.ij-questionnaire-rail ol{margin:32px 0;gap:25px}
.ij-questionnaire-rail li{position:relative}
.ij-questionnaire-rail li:not(:last-child)::after{content:"";position:absolute;right:17px;top:39px;width:1px;height:20px;background:rgba(221,193,91,.23)}
.ij-questionnaire-form{min-height:780px;padding-top:232px}
.ij-protocol-header{padding:24px 45px 22px}
.ij-protocol-header>strong{font-size:1.75rem}
.ij-protocol-balance{
  width:min(360px,82%);
  margin:13px auto 0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center;
  gap:12px!important;
  border:0!important;
  color:#244b38;
  font:900 .78rem "Frank Ruhl Libre",serif;
}
.ij-protocol-balance::before,.ij-protocol-balance::after{content:"";height:1px;background:linear-gradient(90deg,transparent,#b28a1c)}
.ij-protocol-balance::after{transform:scaleX(-1)}
.ij-protocol-balance span{display:none}
.ij-protocol-balance i{padding:5px 13px;border:1px solid #c7a039;border-radius:20px;color:#956f0c;font-style:normal;background:#fbf8ef}
.ij-protocol-header>div:last-child{margin-top:12px!important}
.ij-form-step-head{position:relative;padding-right:20px;border-right:3px solid #b58e1e;border-bottom:1px solid #ddd2b4}
.ij-form-step-head::before{content:"";position:absolute;right:-3px;top:0;width:3px;height:35px;background:#075c39}
.ij-form-step-head h3{font-size:clamp(2.3rem,4vw,3.3rem)}
.ij-form-step-head::after{content:"בית דין צדק";font-size:2.3rem}
.ij-inquiry-chapters{margin-top:31px;border:3px double #b99428;background:#fbf8f0}
.ij-inquiry-chapters>details{border-bottom:1px solid #d8ccb0;background:#fff}
.ij-inquiry-chapters>details:last-child{border-bottom:0}
.ij-inquiry-chapters>details[open]{background:linear-gradient(90deg,#f7f1e3,#fff);box-shadow:inset 4px 0 #07593a}
.ij-inquiry-chapters>details>summary{padding:22px 24px;display:grid;grid-template-columns:96px 1fr;align-items:center;gap:20px;color:#173f2c;cursor:pointer;list-style:none}
.ij-inquiry-chapters>details>summary::-webkit-details-marker{display:none}
.ij-inquiry-chapters>details>summary>b{padding:8px 10px;border:1px solid #b99122;color:#956f0d;font-size:.68rem;text-align:center;letter-spacing:.04em}
.ij-inquiry-chapters>details>summary span{position:relative;padding-left:35px;color:#718077;font-size:.77rem;line-height:1.5}
.ij-inquiry-chapters>details>summary span::after{content:"+";position:absolute;left:0;top:50%;color:#a47c0e;font:400 1.4rem Arial;transform:translateY(-50%)}
.ij-inquiry-chapters>details[open]>summary span::after{content:"−"}
.ij-inquiry-chapters>details>summary strong{display:block;color:#0a412a;font:900 1.28rem "Frank Ruhl Libre",serif}
.ij-chapter-fields{padding:2px 28px 34px;border-top:1px solid #e1d7bf}
.ij-chapter-fields .ij-wide-field{padding-top:22px;margin-top:0;border-bottom:1px solid #e5ddca}
.ij-chapter-fields .ij-wide-field:last-child{border-bottom:0}
.ij-life-testimonies{display:grid;grid-template-columns:1fr 1fr;gap:0 23px}
.ij-life-testimonies .ij-wide-field:nth-last-child(-n+2){border-bottom:0}
.ij-inquiry-chapters .ij-heart-plea{margin:0;border:0;background:transparent}
.ij-inquiry-chapters .ij-heart-plea::before{content:none}
.ij-testimony-note{margin:19px 0 0;padding:11px 15px;border-right:2px solid #b58e1e;color:#6d7771;background:#f8f3e8;font-size:.75rem;line-height:1.6}
.ij-declaration::after{content:"אמת";position:absolute;left:24px;bottom:18px;width:58px;height:58px;display:grid;place-items:center;border:2px solid rgba(167,127,18,.32);border-radius:50%;color:rgba(137,101,7,.42);font:900 .78rem "Frank Ruhl Libre",serif;transform:rotate(-9deg)}

@media(max-width:900px){
  .ij-questionnaire-rail ol{grid-template-columns:repeat(3,1fr)}
  .ij-questionnaire-rail li:not(:last-child)::after{right:calc(50% + 24px);top:17px;width:calc(100% - 48px);height:1px}
  .ij-rail-emblem{max-width:430px;margin-inline:auto}
  .ij-questionnaire-form{padding-top:232px}
}
@media(max-width:650px){
  .ij-court-why::before{inset:15px}
  .ij-din-nefesh-mark{min-height:360px;padding-inline:25px}
  .ij-din-nefesh-axis{grid-template-columns:1fr 67px 1fr;gap:8px}
  .ij-din-nefesh-axis>i{width:64px;height:64px}
  .ij-din-nefesh-axis>i::before,.ij-din-nefesh-axis>i::after{display:none}
  .ij-questionnaire-form{padding-top:238px}
  .ij-protocol-header{padding-inline:15px}
  .ij-protocol-header>strong{font-size:1.45rem}
  .ij-inquiry-chapters>details>summary{padding:18px 15px;grid-template-columns:76px 1fr;gap:12px}
  .ij-inquiry-chapters>details>summary span{padding-left:22px}
  .ij-chapter-fields{padding-inline:16px}
  .ij-life-testimonies{grid-template-columns:1fr}
  .ij-life-testimonies .ij-wide-field{border-bottom:1px solid #e5ddca!important}
  .ij-life-testimonies .ij-wide-field:last-child{border-bottom:0!important}
}

/* Inner Judge - Heichal HaBirur concept. */
.ij-court-hero .section-inner{max-width:900px}
.ij-article-hero{min-height:390px}
.ij-article-hero .article-hero-title{font-size:clamp(3rem,6.2vw,5.55rem)}
.ij-court-file{border-color:rgba(238,216,139,.36);background:rgba(0,29,17,.56);letter-spacing:.06em}
.ij-court-hero .article-hero-subtitle{max-width:900px;color:#fff8df;font:800 clamp(1.25rem,2.5vw,1.9rem)/1.5 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.ij-court-hero-cta{border-radius:50px;padding-inline:31px}
.ij-opening-statement{
  min-height:62px;
  padding:12px 25px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  color:rgba(255,255,255,.72);
  background:#002d1c;
  border-block:1px solid rgba(215,183,78,.52);
  font-size:.77rem;
  letter-spacing:.04em;
}
.ij-opening-statement strong{color:#edd475;font:900 1.04rem "Frank Ruhl Libre",serif}
.ij-opening-statement i{width:42px;height:1px;background:linear-gradient(90deg,transparent,#c6a23a,transparent)}

.ij-heichal{
  position:relative;
  isolation:isolate;
  padding:clamp(72px,8vw,115px) 0 clamp(82px,9vw,125px);
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 48%,rgba(216,178,61,.13),transparent 29%),
    linear-gradient(90deg,rgba(0,68,40,.035) 1px,transparent 1px),
    #fbf8ef;
  background-size:auto,90px 100%,auto;
}
.ij-heichal::before,.ij-heichal::after{content:"";position:absolute;z-index:-1;top:0;bottom:0;width:clamp(20px,4vw,70px);border-inline:1px solid rgba(167,127,24,.15);background:linear-gradient(90deg,rgba(224,209,168,.18),transparent)}
.ij-heichal::before{right:3%}.ij-heichal::after{left:3%;transform:scaleX(-1)}
.ij-heichal-head{max-width:800px;margin:0 auto 48px;text-align:center}
.ij-heichal-head>span{color:#a47b0d;font-size:.72rem;font-weight:950;letter-spacing:.18em}
.ij-heichal-head h2{margin:10px 0 0;color:#063c27;font:950 clamp(2.75rem,5.4vw,4.85rem)/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.ij-heichal-head p{margin:12px 0 0;color:#a47b0d;font:900 clamp(1.2rem,2.3vw,1.85rem)/1.3 "Frank Ruhl Libre",serif}
.ij-heichal-head::after{content:"";width:min(270px,56%);height:1px;margin:23px auto 0;display:block;background:linear-gradient(90deg,transparent,#b68d1e,transparent)}
.ij-heichal-stage{
  position:relative;
  min-height:500px;
  padding:88px clamp(30px,4vw,60px) 58px;
  display:grid;
  grid-template-columns:1fr 220px 1fr;
  gap:clamp(25px,4vw,58px);
  align-items:center;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 50% 45%,rgba(230,201,102,.16),transparent 22%),
    repeating-linear-gradient(90deg,transparent 0 16.5%,rgba(231,211,143,.035) 16.6% 16.75%),
    linear-gradient(145deg,#001f14,#005035 49%,#001f14);
  border:1px solid #b99024;
  border-radius:170px 170px 4px 4px / 82px 82px 4px 4px;
  box-shadow:0 35px 85px rgba(0,46,28,.22),inset 0 0 90px rgba(0,0,0,.13);
}
.ij-heichal-stage::before{content:"";position:absolute;inset:16px;border:1px solid rgba(232,208,126,.2);border-radius:155px 155px 2px 2px / 70px 70px 2px 2px;pointer-events:none}
.ij-heichal-stage::after{content:"";position:absolute;right:50%;bottom:35px;width:54%;height:1px;background:linear-gradient(90deg,transparent,#d6b852,transparent);transform:translateX(50%)}
.ij-heichal-arch{position:absolute;right:50%;top:35px;width:46%;height:105px;border:1px solid rgba(225,198,103,.24);border-bottom:0;border-radius:50% 50% 0 0 / 100% 100% 0 0;transform:translateX(50%)}
.ij-heichal-arch::before{content:"מושב הדיין הפנימי";position:absolute;right:50%;top:30px;padding:0 20px;color:#d9bd5f;background:#00402a;font-size:.66rem;font-weight:900;letter-spacing:.15em;white-space:nowrap;transform:translateX(50%)}
.ij-heichal-side{position:relative;z-index:1;min-height:255px;padding:30px 25px;border-block:1px solid rgba(231,206,120,.2)}
.ij-heichal-side::before{content:"";position:absolute;top:0;bottom:0;width:1px;background:linear-gradient(transparent,rgba(231,206,120,.38),transparent)}
.ij-heichal-law{padding-right:36px}.ij-heichal-law::before{right:0}
.ij-heichal-soul{padding-left:36px}.ij-heichal-soul::before{left:0}
.ij-heichal-side small{color:#d7bb5d;font-size:.68rem;font-weight:950;letter-spacing:.14em}
.ij-heichal-side h3{margin:8px 0 12px;color:#fff;font:950 clamp(1.65rem,2.5vw,2.35rem)/1.05 "Frank Ruhl Libre",serif}
.ij-heichal-side p{margin:0;color:rgba(255,255,255,.67);line-height:1.8}
.ij-heichal-side ul{margin:20px 0 0;padding:0;display:flex;gap:7px;flex-wrap:wrap;list-style:none}
.ij-heichal-side li{padding:6px 11px;border:1px solid rgba(223,198,106,.25);color:#efd980;font-size:.72rem}
.ij-pattern-stand{position:relative;z-index:2;text-align:center}
.ij-pattern-stand>small{display:block;margin-bottom:19px;color:rgba(255,255,255,.57);font-size:.68rem;letter-spacing:.12em}
.ij-pattern-stand>div{position:relative;width:202px;height:202px;margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #d5b64d;border-radius:50%;background:radial-gradient(circle,rgba(9,99,65,.96),rgba(0,42,26,.96) 68%);box-shadow:0 0 0 11px rgba(215,183,77,.055),0 0 60px rgba(223,192,82,.14),inset 0 0 40px rgba(0,0,0,.18)}
.ij-pattern-stand>div::before,.ij-pattern-stand>div::after{content:"";position:absolute;border:1px solid rgba(218,187,83,.22);border-radius:50%}
.ij-pattern-stand>div::before{inset:18px}.ij-pattern-stand>div::after{inset:37px;border-style:dashed;animation:ijPatternOrbit 24s linear infinite}
.ij-pattern-stand span,.ij-pattern-stand strong,.ij-pattern-stand em{position:relative;z-index:1;display:block}
.ij-pattern-stand span{color:rgba(255,255,255,.54);font-size:.72rem}
.ij-pattern-stand strong{margin:4px 0;color:#f1d66e;font:950 clamp(2.15rem,3.2vw,2.85rem)/1 "Frank Ruhl Libre",serif;text-shadow:0 0 28px rgba(231,198,78,.2)}
.ij-pattern-stand em{color:#fff;font:900 1rem "Frank Ruhl Libre",serif;font-style:normal}
.ij-pattern-stand>i{width:1px;height:58px;margin:auto;display:block;background:linear-gradient(#d5b64d,rgba(213,182,77,.1))}
@keyframes ijPatternOrbit{to{transform:rotate(360deg)}}
.ij-truth-verdict{position:relative;width:min(790px,88%);margin:-22px auto 0;padding:30px clamp(28px,5vw,58px);z-index:3;border:1px solid #c29a2b;background:#fffdf7;text-align:center;box-shadow:0 22px 50px rgba(0,48,29,.13)}
.ij-truth-verdict::before{content:"";position:absolute;right:50%;top:-9px;width:17px;height:17px;background:#d2ad3c;transform:translateX(50%) rotate(45deg);box-shadow:0 0 0 5px #fffdf7}
.ij-truth-verdict>span{color:#a17a0f;font-size:.7rem;font-weight:950;letter-spacing:.14em}
.ij-truth-verdict h3{margin:8px 0;color:#073e28;font:950 clamp(1.55rem,2.7vw,2.2rem)/1.28 "Frank Ruhl Libre",serif}
.ij-truth-verdict p{max-width:690px;margin:0 auto;color:#64756b;line-height:1.8}

.ij-voice-process{position:relative;padding-top:0;background:linear-gradient(145deg,#001a10,#004e32 50%,#001a10)}
.ij-voice-manifesto{max-width:1180px;margin:0 auto;padding:clamp(42px,5.5vw,72px) 0;display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#f3ecdc;color:#073c27}
.ij-voice-manifesto p{position:relative;margin:0;padding:15px clamp(18px,2.4vw,34px);font:950 clamp(1.65rem,3vw,2.9rem)/1.12 "Frank Ruhl Libre",serif}
.ij-voice-manifesto p:not(:last-child){border-left:1px solid #cdbb8e}
.ij-voice-manifesto p::after{content:"";position:absolute;right:clamp(20px,3vw,48px);bottom:0;width:52px;height:3px;background:#b68d1e}
.ij-voice-manifesto p:last-child{color:#fff;background:#005235;box-shadow:0 24px 55px rgba(0,45,27,.18)}
.ij-voice-manifesto p:last-child::after{background:#e0c35e}
.ij-voice-manifesto small{display:block;margin-bottom:14px;color:#a37b10;font:950 .69rem/1.2 "Noto Sans Hebrew",Arial,sans-serif;letter-spacing:.12em}
.ij-voice-manifesto p:last-child small{color:#e1c65f}
.ij-voice-process .ij-court-heading{margin-top:clamp(62px,7vw,92px)}
.ij-voice-process .ij-court-heading h2{font-size:clamp(2.15rem,3.8vw,3.55rem)}
.ij-voice-process .ij-court-process-list{border:0;gap:1px;background:rgba(225,197,97,.25)}
.ij-voice-process .ij-court-process-list li{min-height:215px;padding:32px 27px;border:0;background:rgba(0,38,23,.86)}
.ij-voice-process .ij-court-process-list li:nth-child(2){background:rgba(2,75,48,.9)}
.ij-voice-process .ij-court-process-list b{border-radius:50%;transform:none}
.ij-voice-process .ij-court-process-list strong{font-size:1.4rem}
.ij-court-trust{background:#d2ad3c}
.ij-court-trust .ij-court-seal{border-radius:50%;transform:none}

.ij-questionnaire{padding-top:clamp(78px,9vw,120px);background:radial-gradient(circle at 50% 6%,rgba(206,167,50,.13),transparent 22%),#f4ecda}
.ij-questionnaire-head::before{content:"◆";width:auto;height:auto;border:0;background:transparent;box-shadow:none;color:#b38a19;font-size:1rem}
.ij-questionnaire-head>span{letter-spacing:.2em}
.ij-questionnaire-head h2{font-size:clamp(2.55rem,4.7vw,4.35rem)}
.ij-questionnaire-head p{max-width:650px;margin:18px auto 0}
.ij-questionnaire-shell{
  position:relative;
  max-width:1160px;
  grid-template-columns:285px 1fr;
  border:1px solid #ae8520;
  border-radius:5px 13px 13px 5px;
  background:#fffdf8;
  box-shadow:0 38px 90px rgba(52,40,8,.17),0 0 0 9px rgba(255,255,255,.45);
}
.ij-questionnaire-shell::before{content:"";position:absolute;z-index:4;top:9px;bottom:9px;right:285px;width:30px;pointer-events:none;background:linear-gradient(90deg,rgba(60,45,12,.1),transparent 46%,rgba(255,255,255,.72));transform:translateX(50%)}
.ij-questionnaire-rail{padding:54px 34px;color:#153f2c;background:linear-gradient(90deg,#eee4cc,#fffaf0 21%,#f8f0df);border-left:1px solid #cab67d;box-shadow:inset 9px 0 20px rgba(81,61,14,.055)}
.ij-questionnaire-rail::before{inset:15px;border:1px solid rgba(167,128,28,.2)}
.ij-rail-title small{color:#9e7610;letter-spacing:.13em}
.ij-rail-title strong{color:#073e28;font-size:1.72rem}
.ij-rail-title p{margin:13px 0 0;color:#738078;font-size:.78rem;line-height:1.7}
.ij-rail-emblem{border-block-color:#d9c99f;color:#496356}
.ij-rail-emblem b{border-color:#b38a19;color:#98710d;background:#fffaf0}
.ij-questionnaire-rail li{color:#8b928c}
.ij-questionnaire-rail li b{border-color:#c6af71;color:#987313;background:#fffaf0}
.ij-questionnaire-rail li.is-active{color:#064128;font-weight:900}
.ij-questionnaire-rail li.is-active b{color:#fff;background:#00613b;border-color:#00613b;box-shadow:0 0 0 5px rgba(0,97,59,.08)}
.ij-questionnaire-rail li.is-complete{color:#365847}
.ij-questionnaire-rail li.is-complete b{color:#fff;background:#b99020}
.ij-questionnaire-rail li:not(:last-child)::after{background:#d4c18e}
.ij-rail-progress{color:#858e88}.ij-rail-progress strong{color:#144630}.ij-rail-progress i{background:#ded2b4}.ij-rail-progress em{background:#00613b}
.ij-questionnaire-form{min-height:700px;padding:203px 54px 48px;background:linear-gradient(90deg,#fff,#fffefa 84%,#f5edda)}
.ij-protocol-header{padding:29px 48px 25px;border-bottom:1px solid #d7c597;background:linear-gradient(90deg,#fff,#fffdf7 80%,#f2e8d2)}
.ij-protocol-header>span{color:#a17a0f;letter-spacing:.18em}
.ij-protocol-header>strong{font-size:1.72rem}
.ij-protocol-header>small{color:#7a857e;font-weight:700}
.ij-protocol-header>div:last-child{border-top-color:#e2d8bf}
.ij-form-step-head{padding-right:0;border-right:0}
.ij-form-step-head::before{right:0;top:auto;bottom:-2px;width:85px;height:3px;background:linear-gradient(90deg,#b58e1e,#075c39)}
.ij-form-step-head::after{content:"ספר הבירור";color:rgba(0,70,41,.04)}
.ij-form-step-head>span{color:#9a7410;letter-spacing:.08em}
.ij-form-step-head h3{font-size:clamp(2rem,3.45vw,2.9rem)}
.ij-questionnaire-form input,.ij-questionnaire-form select,.ij-questionnaire-form textarea{border-width:0 0 1px;background:rgba(255,253,247,.55)}
.ij-questionnaire-form input:focus,.ij-questionnaire-form select:focus,.ij-questionnaire-form textarea:focus{border-color:#087047;box-shadow:inset 0 -2px #087047;background:#fff}
.ij-inquiry-chapters{border:1px solid #cdb879;border-radius:3px;background:#fffdf8}
.ij-inquiry-chapters>details[open]{background:linear-gradient(90deg,#f8f1df,#fff 24%);box-shadow:inset -4px 0 #00613b}
.ij-inquiry-chapters>details>summary>b{border:0;border-bottom:1px solid #b99122}
.ij-inquiry-chapters>details>summary strong{font-size:1.4rem}
.ij-form-actions button,.ij-submit-locked button{border-radius:50px}
.ij-form-next{padding-inline:32px;color:#fff;background:#00613b;border-color:#00613b;box-shadow:0 10px 22px rgba(0,79,47,.15)}
.ij-form-prev{border-color:#bba66e;background:#fffdf8}

@media(max-width:980px){
  .ij-heichal-stage{grid-template-columns:1fr 180px 1fr;gap:22px;padding-inline:26px}
  .ij-pattern-stand>div{width:170px;height:170px}
  .ij-heichal-side{padding-inline:24px}
  .ij-questionnaire-shell{grid-template-columns:250px 1fr}
  .ij-questionnaire-shell::before{right:250px}
  .ij-questionnaire-form{padding-inline:42px}
}
@media(max-width:800px){
  .ij-heichal-stage{min-height:0;padding:82px 26px 52px;grid-template-columns:1fr;gap:20px;border-radius:100px 100px 4px 4px / 55px 55px 4px 4px}
  .ij-heichal-arch{width:75%;height:75px}.ij-heichal-arch::before{top:21px}
  .ij-pattern-stand{order:-1}.ij-pattern-stand>i{height:30px}
  .ij-heichal-side{min-height:0;text-align:center;border:1px solid rgba(231,206,120,.18)}
  .ij-heichal-side::before{display:none}.ij-heichal-side ul{justify-content:center}
  .ij-voice-manifesto{grid-template-columns:1fr;padding:42px 22px}
  .ij-voice-manifesto p{padding:26px 23px}.ij-voice-manifesto p:not(:last-child){border-left:0;border-bottom:1px solid #cdbb8e}
  .ij-questionnaire-shell{grid-template-columns:1fr;border-radius:8px}
  .ij-questionnaire-shell::before{display:none}
  .ij-questionnaire-rail{border-left:0;border-bottom:1px solid #cbb679}
  .ij-questionnaire-rail ol{grid-template-columns:repeat(3,1fr)}
  .ij-questionnaire-form{padding-top:203px;background:#fffefa}
}
@media(max-width:520px){
  .ij-opening-statement{gap:9px;padding-inline:10px;font-size:.61rem}.ij-opening-statement i{width:14px}.ij-opening-statement strong{font-size:.85rem}
  .ij-heichal{padding-top:62px}.ij-heichal-head{margin-bottom:34px}.ij-heichal-head h2{font-size:2.65rem}
  .ij-heichal-stage{padding-inline:14px}.ij-heichal-side{padding:23px 18px}.ij-pattern-stand>div{width:158px;height:158px}
  .ij-truth-verdict{width:94%;padding:26px 19px}.ij-truth-verdict h3{font-size:1.48rem}
  .ij-voice-manifesto p{font-size:1.75rem}
  .ij-court-trust .ij-court-seal{transform:none;margin-bottom:8px}
  .ij-questionnaire-rail{padding:38px 24px}.ij-rail-title{text-align:center}.ij-rail-title strong{font-size:1.75rem}
  .ij-questionnaire-form{padding:202px 19px 32px}
  .ij-protocol-header{padding:21px 13px 17px}.ij-protocol-header>strong{font-size:1.4rem}
  .ij-protocol-header>div:last-child{font-size:.58rem}
  .ij-form-step-head h3{font-size:1.9rem}
}
@media(prefers-reduced-motion:reduce){.ij-pattern-stand>div::after{animation:none}}

/* Inner Judge - three professional lenses: Din, Nefesh and Torah. */
.ij-court-main{background:#f7f3e9}
.ij-court-hero .section-inner{max-width:900px}
.ij-court-hero .article-hero-title{font-size:clamp(3.2rem,6.4vw,5.7rem)}
.ij-court-hero .article-hero-subtitle{max-width:780px;font-size:clamp(1.05rem,2vw,1.4rem);font-weight:700}
.ij-court-hero-cta{min-width:190px;min-height:43px;border-radius:8px;box-shadow:0 11px 26px rgba(0,0,0,.19)}
.ij-lens-ribbon{min-height:62px;padding:12px 24px;display:flex;align-items:center;justify-content:center;gap:24px;color:rgba(255,255,255,.67);background:#002e1d;border-block:1px solid rgba(215,183,78,.5);font-size:.75rem}
.ij-lens-ribbon span{display:flex;align-items:baseline;gap:7px}.ij-lens-ribbon b{color:#ebcf68;font:900 1.05rem "Frank Ruhl Libre",serif}.ij-lens-ribbon i{width:1px;height:20px;background:rgba(229,204,111,.28)}

.ij-lenses{position:relative;padding:clamp(75px,8vw,115px) 0 clamp(85px,9vw,125px);overflow:hidden;background:radial-gradient(circle at 80% 20%,rgba(0,92,56,.055),transparent 23%),linear-gradient(90deg,transparent 0 50%,rgba(184,145,36,.045) 50% 50.1%,transparent 50.1%),#f8f4e9}
.ij-lenses::before{content:"";position:absolute;inset:28px;border:1px solid rgba(153,116,18,.1);pointer-events:none}
.ij-lenses-head{max-width:1120px;margin:0 auto 44px;display:grid;grid-template-columns:250px 1fr;gap:8vw;align-items:end}
.ij-lenses-head>div:first-child{padding:20px 0;border-block:1px solid #cfbd8a;color:#7f8e84}
.ij-lenses-head>div:first-child span,.ij-lenses-head>div:first-child small{display:block}.ij-lenses-head>div:first-child span{color:#9c7510;font-size:.68rem;font-weight:950;letter-spacing:.13em}.ij-lenses-head>div:first-child small{margin-top:7px;color:#194b35;font:900 1.28rem "Frank Ruhl Libre",serif}
.ij-lenses-head h2{margin:0;color:#063d27;font:950 clamp(2.75rem,5vw,4.6rem)/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif}.ij-lenses-head p{max-width:720px;margin:18px 0 0;color:#65766c;font-size:1rem;line-height:1.8}
.ij-lens-console{--lens-accent:#d7b74d;max-width:1120px;margin:auto;display:grid;grid-template-columns:245px 1fr;overflow:hidden;border:1px solid #a98219;border-radius:24px;background:#003c27;box-shadow:0 28px 70px rgba(0,53,32,.17)}
.ij-lens-console[data-active-lens="nefesh"]{--lens-accent:#85c9a7}.ij-lens-console[data-active-lens="torah"]{--lens-accent:#f0d777}
.ij-case-brief{grid-column:1/-1;padding:24px 30px;display:grid;grid-template-columns:125px 1fr auto;gap:22px;align-items:center;color:#fff;background:linear-gradient(90deg,#002719,#005137);border-bottom:1px solid rgba(222,193,91,.26)}
.ij-case-brief>span{color:#e4c95f;font-size:.69rem;font-weight:950;letter-spacing:.1em}.ij-case-brief p{margin:0;color:rgba(255,255,255,.82);font:800 1.03rem/1.6 "Frank Ruhl Libre",serif}.ij-case-brief small{color:rgba(255,255,255,.45);font-size:.63rem;white-space:nowrap}
.ij-lens-tabs{padding:20px 0;background:#003620;border-left:1px solid rgba(222,193,91,.2)}
.ij-lens-tabs button{position:relative;width:100%;min-height:92px;padding:17px 25px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;gap:1px 12px;border:0;border-bottom:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.55);background:transparent;text-align:right;cursor:pointer;transition:.25s ease}
.ij-lens-tabs button::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:transparent}.ij-lens-tabs button:hover{color:#fff;background:rgba(255,255,255,.035)}.ij-lens-tabs button[aria-selected="true"]{color:#fff;background:linear-gradient(90deg,rgba(255,255,255,.055),transparent)}.ij-lens-tabs button[aria-selected="true"]::before{background:var(--lens-accent);box-shadow:0 0 15px var(--lens-accent)}
.ij-lens-tabs button>span{grid-row:1/3;align-self:center;color:var(--lens-accent);font:800 .66rem Arial}.ij-lens-tabs button>b{font:900 1.25rem "Frank Ruhl Libre",serif}.ij-lens-tabs button>small{font-size:.68rem}.ij-lens-tabs button:focus-visible{outline:2px solid #efd675;outline-offset:-5px}
.ij-lens-panels{min-height:390px;background:#fffdfa}
.ij-lens-panel{height:100%;padding:42px 48px;color:#173e2b;background:radial-gradient(circle at 0 100%,color-mix(in srgb,var(--lens-accent) 13%,transparent),transparent 30%),#fffdfa;animation:ijLensIn .32s ease}.ij-lens-panel[hidden]{display:none!important}
.ij-lens-panel header{padding-bottom:25px;border-bottom:1px solid #dfd4b8}.ij-lens-panel header>span{color:#9a7310;font-size:.68rem;font-weight:950;letter-spacing:.12em}.ij-lens-panel h3{max-width:680px;margin:8px 0 0;color:#063d27;font:950 clamp(1.65rem,2.8vw,2.5rem)/1.25 "Frank Ruhl Libre",serif}
.ij-lens-panel dl{margin:28px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:0}.ij-lens-panel dl>div{padding:5px 22px 5px 0;border-left:1px solid #e1d7bd}.ij-lens-panel dl>div:last-child{border-left:0}.ij-lens-panel dt{color:#a27a10;font-size:.68rem;font-weight:950}.ij-lens-panel dd{margin:8px 0 0;color:#4f6659;font-size:.87rem;line-height:1.7}
.ij-path-ruling{grid-column:1/-1;padding:20px 30px;display:flex;align-items:center;gap:32px;color:#163b29;background:linear-gradient(90deg,#ead47a,#caa435);border-top:1px solid #f0dc8d}.ij-path-ruling>span{font:950 1.25rem "Frank Ruhl Libre",serif;white-space:nowrap}.ij-path-ruling p{margin:0;display:flex;align-items:center;gap:15px;font-size:.75rem}.ij-path-ruling p i{width:18px;height:1px;background:rgba(17,58,39,.38)}
@keyframes ijLensIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.ij-depth-process{padding:clamp(85px,9vw,130px) 0;color:#fff;background:radial-gradient(circle at 72% 38%,rgba(33,143,95,.24),transparent 24%),linear-gradient(135deg,#001a10,#00442c 55%,#001b11)}
.ij-depth-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(50px,8vw,105px);align-items:center}
.ij-depth-copy>span{color:#d9bc58;font-size:.7rem;font-weight:950;letter-spacing:.14em}.ij-depth-copy h2{margin:10px 0 18px;color:#f1d46a;font:950 clamp(2.7rem,5vw,4.5rem)/1.03 "Frank Ruhl Libre",serif}.ij-depth-copy>p{max-width:560px;margin:0;color:rgba(255,255,255,.67);line-height:1.8}
.ij-depth-copy ol{margin:30px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;list-style:none}.ij-depth-copy li{padding:13px 15px;display:grid;grid-template-columns:29px 1fr;gap:10px;border:1px solid rgba(222,196,99,.18);background:rgba(255,255,255,.025)}.ij-depth-copy li>b{color:#d8bd62;font:800 .62rem Arial}.ij-depth-copy li span{color:rgba(255,255,255,.55);font-size:.72rem}.ij-depth-copy li strong{display:block;margin-bottom:3px;color:#fff;font:900 .98rem "Frank Ruhl Libre",serif}
.ij-depth-visual{position:relative;min-height:510px;display:grid;place-items:center}
.ij-depth-ring{position:relative;display:grid;place-items:center;border:1px solid rgba(229,203,108,.4);border-radius:50%;background:radial-gradient(circle,rgba(0,81,51,.72),rgba(0,39,24,.42));box-shadow:0 0 45px rgba(0,0,0,.09),inset 0 0 50px rgba(0,0,0,.1)}
.ij-depth-ring>span{position:absolute;top:25px;padding:4px 11px;color:#e8cf72;background:#003b25;font-size:.65rem;font-weight:900}.ij-depth-ring-1{width:min(445px,85vw);aspect-ratio:1}.ij-depth-ring-2{width:74%;aspect-ratio:1;border-color:rgba(230,205,112,.46)}.ij-depth-ring-3{width:65%;aspect-ratio:1;border-color:rgba(230,205,112,.22)}.ij-depth-ring-3::before{content:"";position:absolute;inset:0;border:1px dashed rgba(230,205,112,.55);border-radius:50%;animation:ijDepthTurn 30s linear infinite;pointer-events:none}
.ij-depth-core{width:58%;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #d8b951;border-radius:50%;background:radial-gradient(circle,#08714b,#002b1b 72%);text-align:center;box-shadow:0 0 0 12px rgba(217,187,80,.055),0 0 45px rgba(222,192,84,.15)}.ij-depth-core small{color:rgba(255,255,255,.57);font-size:.66rem}.ij-depth-core strong{margin-top:5px;color:#f1d66f;font:950 1.45rem/1.1 "Frank Ruhl Libre",serif}
.ij-depth-output{position:absolute;left:0;bottom:35px;padding:15px 22px;border:1px solid #d3b248;color:#103923;background:#e6cd6f;box-shadow:0 15px 34px rgba(0,0,0,.19)}.ij-depth-output span{display:block;font-size:.61rem;font-weight:900}.ij-depth-output b{display:block;margin-top:3px;font:950 1.25rem "Frank Ruhl Libre",serif}
@keyframes ijDepthTurn{to{transform:rotate(360deg)}}
.ij-process-compact{margin-top:clamp(65px,8vw,100px);display:grid;grid-template-columns:310px 1fr;border:1px solid rgba(225,198,101,.3);background:rgba(0,29,18,.68)}
.ij-process-compact header{padding:32px 34px;border-left:1px solid rgba(225,198,101,.24)}.ij-process-compact header span{color:#d9bd5d;font-size:.65rem;font-weight:950;letter-spacing:.12em}.ij-process-compact h3{margin:9px 0 0;color:#fff;font:900 1.45rem/1.45 "Frank Ruhl Libre",serif}
.ij-process-compact ol{margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);list-style:none}.ij-process-compact li{padding:30px 22px;display:grid;grid-template-columns:37px 1fr;gap:13px;border-left:1px solid rgba(225,198,101,.16)}.ij-process-compact li:last-child{border-left:0}.ij-process-compact li>b{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d2b44e;border-radius:50%;color:#e4ca6c;font:900 .95rem "Frank Ruhl Libre",serif}.ij-process-compact li strong{color:#fff;font:900 1.15rem "Frank Ruhl Libre",serif}.ij-process-compact li p{margin:7px 0 0;color:rgba(255,255,255,.55);font-size:.75rem;line-height:1.65}
.ij-depth-process .ij-court-disclaimer{margin-top:24px}
.ij-trust-line{padding:27px 0;background:#d6b547}.ij-trust-line .ij-court-seal{width:56px;height:56px;flex-basis:56px;font-size:.86rem}

/* The questionnaire becomes a contemporary private inquiry chamber. */
.ij-questionnaire{padding:clamp(80px,9vw,125px) 0;background:linear-gradient(90deg,rgba(185,148,39,.035) 1px,transparent 1px),#f5efe2;background-size:90px 100%}
.ij-questionnaire-head{margin-bottom:42px}.ij-questionnaire-head::before{content:"";width:46px;height:3px;margin-bottom:20px;border:0;border-radius:0;background:linear-gradient(90deg,#b68d1d,#00613b);box-shadow:none}.ij-questionnaire-head h2{font-size:clamp(2.7rem,4.8vw,4.25rem)}
.ij-questionnaire-shell{max-width:1180px;display:grid;grid-template-columns:270px 1fr;gap:18px;border:0;border-radius:0;background:transparent;box-shadow:none}
.ij-questionnaire-shell::before{display:none}
.ij-questionnaire-rail{padding:40px 30px;border:1px solid #0d6845;border-radius:22px;color:#fff;background:radial-gradient(circle at 50% 12%,rgba(222,195,96,.12),transparent 25%),linear-gradient(155deg,#006341,#002f1e 75%);box-shadow:0 22px 50px rgba(0,53,32,.15)}
.ij-questionnaire-rail::before{inset:10px;border-color:rgba(231,207,121,.18);border-radius:15px}
.ij-rail-title small{color:#d9bd5e}.ij-rail-title strong{color:#fff;font-size:1.72rem}.ij-rail-title p{color:rgba(255,255,255,.55)}
.ij-rail-emblem{border-block-color:rgba(222,196,98,.2);color:rgba(255,255,255,.6)}.ij-rail-emblem b{border-color:#d3b44d;color:#ecd374;background:rgba(0,46,28,.62)}
.ij-questionnaire-rail li{color:rgba(255,255,255,.44)}.ij-questionnaire-rail li b{border-color:rgba(221,193,91,.35);color:#d4bd6c;background:transparent}.ij-questionnaire-rail li.is-active{color:#f1da7b}.ij-questionnaire-rail li.is-active b{color:#153a26;background:#e1c65e;border-color:#e1c65e;box-shadow:0 0 0 5px rgba(225,198,94,.08)}.ij-questionnaire-rail li.is-complete{color:#fff}.ij-questionnaire-rail li.is-complete b{background:#fff;color:#075235}.ij-questionnaire-rail li:not(:last-child)::after{background:rgba(222,196,98,.2)}
.ij-rail-progress{color:rgba(255,255,255,.45)}.ij-rail-progress strong{color:#fff}.ij-rail-progress i{background:rgba(255,255,255,.12)}.ij-rail-progress em{background:#e1c65e}
.ij-questionnaire-form{min-height:660px;padding:0 0 30px;overflow:hidden;border:1px solid #d0c198;border-radius:22px;background:#fffdf8;box-shadow:0 24px 60px rgba(61,46,8,.1)}
.ij-protocol-header{position:relative;inset:auto;padding:25px 38px 22px;display:grid;grid-template-columns:1fr auto;align-items:center;border-bottom:1px solid #ded2b5;background:linear-gradient(90deg,#fffdf8,#f5edda);text-align:right}
.ij-protocol-header>span{grid-column:1;color:#9c7510}.ij-protocol-header>strong{grid-column:1;color:#073e28;font-size:1.55rem}.ij-protocol-header>strong em{font-style:normal;color:#9b7410}.ij-protocol-header>small{grid-column:2;grid-row:1/3;padding:7px 12px;border:1px solid #c4a03a;border-radius:30px;color:#8e6a0a}.ij-protocol-balance{display:none!important}.ij-protocol-header>div:last-child{grid-column:1/-1;margin-top:16px!important;padding-top:12px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ded2b5}
.ij-form-step{padding:38px 46px 0}.ij-form-step-head{padding:0 0 22px;border-right:0}.ij-form-step-head::before{right:0;bottom:-2px;width:72px}.ij-form-step-head::after{content:"בירור אישי";font-size:2.1rem}.ij-form-step-head h3{font-size:clamp(1.9rem,3vw,2.65rem)}
.ij-field-grid{gap:19px}.ij-questionnaire-form input,.ij-questionnaire-form select,.ij-questionnaire-form textarea{border:1px solid #d6ccb1;border-radius:9px;background:#fff}.ij-questionnaire-form input,.ij-questionnaire-form select{height:46px}.ij-questionnaire-form input:focus,.ij-questionnaire-form select:focus,.ij-questionnaire-form textarea:focus{border-color:#08704a;box-shadow:0 0 0 3px rgba(8,112,74,.08);background:#fff}
.ij-inquiry-chapters{border:0;border-radius:12px;background:#f8f3e8;overflow:hidden}.ij-inquiry-chapters>details{border:1px solid #ded3b8;border-bottom:0}.ij-inquiry-chapters>details:last-child{border-bottom:1px solid #ded3b8}.ij-inquiry-chapters>details[open]{background:#fff;box-shadow:inset -4px 0 #08704a}.ij-inquiry-chapters>details>summary{padding:18px 20px}.ij-inquiry-chapters>details>summary>b{border:1px solid #c3a03d;border-radius:20px}.ij-inquiry-chapters>details>summary strong{font-size:1.2rem}
.ij-declaration{border:1px solid #c7a23d;border-radius:12px}.ij-declaration::after{display:none}
.ij-form-actions{margin:0 46px;padding-top:30px}.ij-form-actions button{border-radius:8px}.ij-form-next{background:linear-gradient(135deg,#08714b,#004c30)}

@media(max-width:900px){
  .ij-lenses-head{grid-template-columns:1fr;gap:22px}.ij-lenses-head>div:first-child{max-width:260px}
  .ij-lens-console{grid-template-columns:1fr}.ij-case-brief{grid-template-columns:1fr}.ij-case-brief small{white-space:normal}.ij-lens-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-left:0}.ij-lens-tabs button{min-height:80px;padding:13px;grid-template-columns:1fr;text-align:center}.ij-lens-tabs button>span{display:none}.ij-lens-panels{min-height:0}.ij-lens-panel dl{grid-template-columns:1fr}.ij-lens-panel dl>div{padding:14px 0;border-left:0;border-bottom:1px solid #e1d7bd}.ij-lens-panel dl>div:last-child{border-bottom:0}
  .ij-depth-grid{grid-template-columns:1fr}.ij-depth-copy{max-width:680px}.ij-depth-visual{min-height:470px}.ij-depth-ring-1{width:min(410px,85vw)}
  .ij-process-compact{grid-template-columns:1fr}.ij-process-compact header{border-left:0;border-bottom:1px solid rgba(225,198,101,.24)}
  .ij-questionnaire-shell{grid-template-columns:1fr}.ij-questionnaire-rail ol{grid-template-columns:repeat(3,1fr)}.ij-questionnaire-form{min-height:620px}
}
@media(max-width:600px){
  .ij-lens-ribbon{gap:9px;padding-inline:9px;font-size:.6rem}.ij-lens-ribbon span{display:grid;gap:0;text-align:center}.ij-lens-ribbon b{font-size:.9rem}.ij-lens-ribbon i{height:28px}
  .ij-lenses{padding-top:65px}.ij-lenses::before{inset:14px}.ij-lenses-head h2{font-size:2.7rem}.ij-lens-console{border-radius:16px}.ij-case-brief{padding:21px}.ij-lens-tabs button>b{font-size:1.05rem}.ij-lens-tabs button>small{font-size:.59rem}.ij-lens-panel{padding:29px 21px}.ij-lens-panel h3{font-size:1.55rem}.ij-path-ruling{padding:17px 20px;display:block}.ij-path-ruling p{margin-top:10px;gap:8px;flex-wrap:wrap}.ij-path-ruling p i{width:9px}
  .ij-depth-process{padding-top:72px}.ij-depth-copy h2{font-size:2.7rem}.ij-depth-copy ol{grid-template-columns:1fr}.ij-depth-visual{min-height:390px}.ij-depth-ring-1{width:min(330px,88vw)}.ij-depth-output{left:6px;bottom:12px;padding:11px 15px}.ij-depth-output b{font-size:1rem}
  .ij-process-compact ol{grid-template-columns:1fr}.ij-process-compact li{padding:22px;border-left:0;border-bottom:1px solid rgba(225,198,101,.16)}
  .ij-trust-line .section-inner{flex-direction:column;text-align:center}
  .ij-questionnaire-head h2{font-size:2.55rem}.ij-questionnaire-rail{padding:34px 22px}.ij-questionnaire-rail ol span{display:none}.ij-protocol-header{padding:22px 18px 18px}.ij-protocol-header>strong{font-size:1.25rem}.ij-protocol-header>small{font-size:.59rem}.ij-protocol-header>div:last-child{gap:5px}.ij-protocol-header b{font-size:.58rem}.ij-form-step{padding:29px 19px 0}.ij-form-step-head h3{font-size:1.85rem}.ij-form-actions{margin-inline:19px}.ij-inquiry-chapters>details>summary{grid-template-columns:72px 1fr;padding:16px 13px}.ij-chapter-fields{padding-inline:13px}
}
@media(prefers-reduced-motion:reduce){.ij-depth-ring-3::before{animation:none}.ij-lens-panel{animation:none}}

/* Inner Judge - Compass of Inquiry, a custom three-direction instrument. */
.ij-compass-head{grid-template-columns:230px 1fr;align-items:center}
.ij-compass-head h2{font-size:clamp(3rem,5.4vw,4.9rem)}
.ij-compass-head h2::after{content:"";display:inline-block;width:10px;height:10px;margin-right:12px;border:1px solid #b68d1e;transform:rotate(45deg);vertical-align:middle}
.ij-compass-console{
  --compass-accent:#dbbb52;
  position:relative;
  max-width:1180px;
  min-height:610px;
  display:grid;
  grid-template-columns:minmax(440px, .92fr) minmax(520px, 1.08fr);
  overflow:hidden;
  border:1px solid #a77e16;
  border-radius:34px 6px 34px 6px;
  background:#002d1c;
  box-shadow:0 35px 90px rgba(0,45,27,.22),0 0 0 8px rgba(183,142,28,.045);
}
.ij-compass-console[data-active-lens="nefesh"]{--compass-accent:#8ed4b1}
.ij-compass-console[data-active-lens="torah"]{--compass-accent:#f1d778}
.ij-compass-console::before{content:"";position:absolute;z-index:5;right:calc(50% - 37px);top:50%;width:74px;height:74px;border:1px solid rgba(218,187,82,.35);border-radius:50%;background:#003823;transform:translate(50%,-50%);pointer-events:none;box-shadow:0 0 0 7px rgba(216,185,79,.04)}
.ij-compass-console::after{content:"אמת";position:absolute;z-index:6;right:calc(50% - 37px);top:50%;color:#e1c65e;font:900 .73rem "Frank Ruhl Libre",serif;letter-spacing:.07em;transform:translate(50%,-50%);pointer-events:none}
.ij-compass-instrument{
  position:relative;
  min-height:610px;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 49%,rgba(25,133,88,.3),transparent 18%),
    radial-gradient(circle at 50% 50%,transparent 0 37%,rgba(220,192,93,.06) 37.2% 37.5%,transparent 37.8%),
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px),
    linear-gradient(145deg,#001d12,#00412a 58%,#001f14);
  background-size:auto,auto,40px 40px,40px 40px,auto;
}
.ij-compass-instrument::before{content:"";position:absolute;inset:18px;border:1px solid rgba(223,197,102,.16);border-radius:25px 4px 25px 4px;pointer-events:none}
.ij-compass-instrument::after{content:"מצפן הבירור";position:absolute;right:28px;top:28px;color:rgba(231,207,121,.56);font-size:.61rem;font-weight:950;letter-spacing:.15em}
.ij-compass-map{position:absolute;z-index:-1;inset:28px;width:calc(100% - 56px);height:calc(100% - 56px);overflow:visible}
.ij-compass-triangle{fill:rgba(0,86,55,.07);stroke:rgba(224,198,101,.25);stroke-width:1.2}
.ij-compass-orbit{fill:none;stroke:rgba(229,204,111,.18);stroke-width:1;stroke-dasharray:3 7}.ij-compass-orbit-inner{stroke:rgba(255,255,255,.09);stroke-dasharray:none}
.ij-compass-axis{fill:none;stroke:rgba(255,255,255,.08);stroke-width:1.5;stroke-dasharray:4 7;transition:stroke .35s ease,stroke-width .35s ease,filter .35s ease}
.ij-compass-console[data-active-lens="din"] .ij-axis-din,.ij-compass-console[data-active-lens="nefesh"] .ij-axis-nefesh,.ij-compass-console[data-active-lens="torah"] .ij-axis-torah{stroke:var(--compass-accent);stroke-width:2.8;stroke-dasharray:none;filter:url(#ijGlow)}
.ij-compass-point{position:absolute;z-index:4;width:116px;min-height:82px;padding:10px 8px;border:1px solid rgba(224,198,101,.3);border-radius:50%;color:rgba(255,255,255,.6);background:rgba(0,46,29,.88);text-align:center;cursor:pointer;box-shadow:0 12px 25px rgba(0,0,0,.15);transition:transform .3s ease,color .3s ease,border-color .3s ease,background .3s ease,box-shadow .3s ease}
.ij-compass-point>span,.ij-compass-point>b,.ij-compass-point>small{display:block}.ij-compass-point>span{color:var(--compass-accent);font:800 .58rem Arial}.ij-compass-point>b{margin-top:2px;color:inherit;font:950 1.35rem "Frank Ruhl Libre",serif}.ij-compass-point>small{margin-top:1px;color:inherit;font-size:.59rem;opacity:.75}
.ij-compass-point:hover{color:#fff;transform:translateY(-3px)}.ij-compass-point[aria-selected="true"]{color:#0a3522;border-color:var(--compass-accent);background:var(--compass-accent);box-shadow:0 0 0 9px color-mix(in srgb,var(--compass-accent) 13%,transparent),0 15px 32px rgba(0,0,0,.23)}.ij-compass-point[aria-selected="true"]>span{color:#23462f}.ij-compass-point:focus-visible{outline:2px solid #fff;outline-offset:4px}
.ij-point-torah{right:50%;top:4.8%;transform:translateX(50%)}.ij-point-torah:hover{transform:translate(50%,-3px)}
.ij-point-din{right:4.2%;bottom:9%}.ij-point-nefesh{left:4.2%;bottom:9%}
.ij-compass-case{position:absolute;z-index:3;right:50%;top:49.5%;width:174px;height:174px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #d5b54c;border-radius:50%;color:#fff;background:radial-gradient(circle at 50% 35%,#08734d,#00271a 72%);text-align:center;transform:translate(50%,-50%);box-shadow:0 0 0 11px rgba(217,187,80,.055),0 0 52px rgba(218,187,81,.15),inset 0 0 35px rgba(0,0,0,.22)}
.ij-compass-case::before,.ij-compass-case::after{content:"";position:absolute;border:1px solid rgba(225,199,103,.2);border-radius:50%}.ij-compass-case::before{inset:14px}.ij-compass-case::after{inset:29px;border-style:dashed;animation:ijCompassCase 25s linear infinite}
.ij-compass-case span,.ij-compass-case strong,.ij-compass-case small{position:relative;z-index:1}.ij-compass-case span{color:#dcc15f;font-size:.61rem;font-weight:950;letter-spacing:.1em}.ij-compass-case strong{margin:5px 0;color:#fff;font:950 1.75rem/1.02 "Frank Ruhl Libre",serif}.ij-compass-case small{color:rgba(255,255,255,.56);font-size:.66rem}.ij-compass-case i{position:absolute;right:50%;bottom:-38px;width:1px;height:27px;background:linear-gradient(var(--compass-accent),transparent);transition:background .3s ease}
.ij-compass-hint{position:absolute;right:50%;bottom:27px;margin:0;color:rgba(255,255,255,.38);font-size:.62rem;letter-spacing:.11em;transform:translateX(50%)}
@keyframes ijCompassCase{to{transform:rotate(360deg)}}
.ij-compass-dossier{min-width:0;display:flex;flex-direction:column;background:#fffdfa}
.ij-compass-dossier .ij-case-brief{grid-column:auto;padding:25px 34px;display:block;color:#fff;background:linear-gradient(90deg,#00563a,#003421);border-bottom:1px solid rgba(221,193,91,.28)}
.ij-compass-dossier .ij-case-brief span{display:block}.ij-compass-dossier .ij-case-brief p{margin:8px 0 0;max-width:600px}.ij-compass-dossier .ij-case-brief small{display:block;margin-top:7px}
.ij-compass-dossier .ij-lens-panels{flex:1;min-height:0;background:#fffdfa}
.ij-compass-dossier .ij-lens-panel{min-height:400px;padding:38px 42px 25px;display:flex;flex-direction:column;background:radial-gradient(circle at 0 100%,color-mix(in srgb,var(--compass-accent) 14%,transparent),transparent 29%),#fffdfa}
.ij-compass-dossier .ij-lens-panel[hidden]{display:none!important}.ij-compass-dossier .ij-lens-panel header{padding-bottom:21px}.ij-compass-dossier .ij-lens-panel header>span{color:#97710e}.ij-compass-dossier .ij-lens-panel h3{font-size:clamp(1.55rem,2.35vw,2.15rem)}
.ij-compass-dossier .ij-lens-panel dl{margin-top:23px}.ij-compass-dossier .ij-lens-panel dl>div{padding-inline:16px}.ij-compass-dossier .ij-lens-panel dl>div:first-child{padding-right:0}.ij-compass-dossier .ij-lens-panel footer{margin-top:auto;padding:16px 19px;display:grid;grid-template-columns:100px 1fr;gap:15px;align-items:center;border-right:3px solid var(--compass-accent);background:#f4eedf}.ij-compass-dossier .ij-lens-panel footer span{color:#93700f;font-size:.62rem;font-weight:950}.ij-compass-dossier .ij-lens-panel footer strong{color:#16432f;font:900 1rem "Frank Ruhl Libre",serif}
.ij-compass-dossier .ij-path-ruling{grid-column:auto;padding:18px 28px;background:linear-gradient(90deg,#efd878,#cba536)}

@media(max-width:1000px){
  .ij-compass-console{grid-template-columns:minmax(390px,.85fr) minmax(450px,1.15fr)}
  .ij-compass-console::before,.ij-compass-console::after{display:none}
  .ij-compass-point{width:100px;min-height:75px}.ij-compass-case{width:155px;height:155px}.ij-compass-case strong{font-size:1.55rem}
  .ij-compass-dossier .ij-lens-panel{padding-inline:30px}.ij-compass-dossier .ij-lens-panel dl{grid-template-columns:1fr}.ij-compass-dossier .ij-lens-panel dl>div{padding:10px 0;border-left:0;border-bottom:1px solid #e1d7bd}.ij-compass-dossier .ij-lens-panel dl>div:last-child{border-bottom:0}
}
@media(max-width:820px){
  .ij-compass-head{grid-template-columns:1fr}.ij-compass-head>div:first-child{max-width:240px}
  .ij-compass-console{min-height:0;grid-template-columns:1fr;border-radius:25px 5px 25px 5px}
  .ij-compass-instrument{min-height:520px;border-bottom:1px solid rgba(220,191,91,.28)}
  .ij-compass-dossier .ij-lens-panel{min-height:0}.ij-compass-dossier .ij-lens-panel dl{grid-template-columns:repeat(3,1fr)}.ij-compass-dossier .ij-lens-panel dl>div{padding:4px 14px;border-bottom:0;border-left:1px solid #e1d7bd}.ij-compass-dossier .ij-lens-panel dl>div:last-child{border-left:0}
}
@media(max-width:560px){
  .ij-compass-head h2{font-size:2.8rem}.ij-compass-head h2::after{width:8px;height:8px}
  .ij-compass-console{width:100%;border-radius:19px 4px 19px 4px}
  .ij-compass-instrument{min-height:430px}
  .ij-compass-instrument::before{inset:9px;border-radius:14px 3px 14px 3px}.ij-compass-instrument::after{right:17px;top:17px}
  .ij-compass-map{inset:24px 5px;width:calc(100% - 10px);height:calc(100% - 48px)}
  .ij-compass-point{width:78px;min-height:65px;padding:7px 4px}.ij-compass-point>b{font-size:1.05rem}.ij-compass-point>small{font-size:.51rem}.ij-compass-point>span{font-size:.5rem}
  .ij-point-torah{top:6%}.ij-point-din{right:2.5%;bottom:9%}.ij-point-nefesh{left:2.5%;bottom:9%}
  .ij-compass-case{top:49%;width:132px;height:132px;padding:16px}.ij-compass-case strong{font-size:1.35rem}.ij-compass-case::before{inset:10px}.ij-compass-case::after{inset:23px}.ij-compass-hint{bottom:18px}
  .ij-compass-dossier .ij-case-brief{padding:22px 20px}.ij-compass-dossier .ij-case-brief p{font-size:.91rem}
  .ij-compass-dossier .ij-lens-panel{padding:27px 20px 20px}.ij-compass-dossier .ij-lens-panel h3{font-size:1.45rem}
  .ij-compass-dossier .ij-lens-panel dl{grid-template-columns:1fr}.ij-compass-dossier .ij-lens-panel dl>div{padding:11px 0;border-left:0;border-bottom:1px solid #e1d7bd}.ij-compass-dossier .ij-lens-panel dl>div:last-child{border-bottom:0}
  .ij-compass-dossier .ij-lens-panel footer{grid-template-columns:1fr;gap:5px;padding:14px 15px}
  .ij-compass-dossier .ij-path-ruling{padding:16px 19px;display:block}.ij-compass-dossier .ij-path-ruling p{margin-top:9px;gap:7px;flex-wrap:wrap}.ij-compass-dossier .ij-path-ruling p i{width:8px}
}
@media(prefers-reduced-motion:reduce){.ij-compass-case::after{animation:none}}

/* Inner Judge - a living Talmudic page of Din, Nefesh and Torah. */
.ij-daf-head{grid-template-columns:220px 1fr;align-items:center}
.ij-daf-head h2{font-size:clamp(3rem,5.2vw,4.7rem)}
.ij-daf-head h2::after{content:"א";width:34px;height:34px;margin-right:13px;display:inline-grid;place-items:center;border:1px solid #b58c1d;border-radius:50%;color:#9d7610;font:900 .9rem "Frank Ruhl Libre",serif;vertical-align:middle}
.ij-living-daf{
  position:relative;
  max-width:1160px;
  margin:auto;
  isolation:isolate;
  overflow:hidden;
  border:1px solid #aa8219;
  border-radius:5px 24px 5px 24px;
  color:#233f31;
  background:
    linear-gradient(rgba(152,116,23,.035) 1px,transparent 1px),
    radial-gradient(circle at 50% 22%,rgba(207,171,59,.07),transparent 24%),
    linear-gradient(100deg,#f4ecd8,#fffdf6 16%,#fffefa 84%,#f2e8d1);
  background-size:100% 32px,auto,auto;
  box-shadow:0 34px 85px rgba(63,47,7,.16),0 0 0 8px rgba(255,255,255,.46);
}
.ij-living-daf::before{content:"";position:absolute;z-index:5;inset:12px;border:1px solid rgba(163,124,20,.15);border-radius:3px 15px 3px 15px;pointer-events:none}
.ij-living-daf::after{content:"אמת";position:absolute;z-index:0;right:50%;top:45%;color:rgba(0,71,42,.025);font:950 17rem/1 "Frank Ruhl Libre",serif;transform:translate(50%,-50%);pointer-events:none}
.ij-daf-folio{position:relative;z-index:2;padding:27px 50px 23px;border-bottom:3px double #b38a1d;text-align:center;background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(245,237,218,.64))}
.ij-daf-folio>span{color:#99720c;font-size:.62rem;font-weight:950;letter-spacing:.17em}.ij-daf-folio>div{max-width:670px;margin:10px auto 0;display:grid;grid-template-columns:70px 1fr 70px;align-items:center}.ij-daf-folio small,.ij-daf-folio em{color:#9c7610;font-size:.67rem;font-style:normal;font-weight:900}.ij-daf-folio strong{color:#063e27;font:950 clamp(1.85rem,3.2vw,2.75rem)/1.1 "Frank Ruhl Libre",serif}.ij-daf-folio>p{margin:10px 0 0;color:#7b867f;font-size:.72rem}
.ij-daf-body{position:relative;z-index:1;direction:ltr;display:grid;grid-template-columns:minmax(245px,.9fr) minmax(350px,1.25fr) minmax(245px,.9fr);grid-template-areas:"nefesh sugya din";border-bottom:1px solid #cfbf96}
.ij-daf-margin,.ij-daf-sugya{direction:rtl;min-width:0}
.ij-daf-din{grid-area:din}.ij-daf-nefesh{grid-area:nefesh}.ij-daf-sugya{grid-area:sugya}
.ij-daf-margin{padding:33px 28px 30px;background:rgba(246,239,221,.46)}.ij-daf-din{border-right:0;border-left:1px solid #d2c39e}.ij-daf-nefesh{border-right:1px solid #d2c39e}
.ij-daf-margin>header{padding-bottom:18px;border-bottom:1px solid #c7b582}.ij-daf-margin>header span,.ij-daf-torah>header span{color:#9b7410;font-size:.62rem;font-weight:950;letter-spacing:.1em}.ij-daf-margin h3,.ij-daf-torah h3{margin:5px 0 2px;color:#073e28;font:950 1.55rem/1.1 "Frank Ruhl Libre",serif}.ij-daf-margin>header small,.ij-daf-torah>header small{color:#7d8881;font-size:.64rem}
.ij-daf-notes{margin-top:12px}.ij-daf-notes article{position:relative;padding:17px 28px 17px 0;border-bottom:1px solid #ded3b6;opacity:.38;transition:opacity .3s ease,background .3s ease,transform .3s ease}.ij-daf-notes article:last-child{border-bottom:0}.ij-daf-notes article.is-active{opacity:1;background:linear-gradient(90deg,transparent,rgba(211,175,61,.1));transform:translateX(-3px)}
.ij-daf-notes article>b{position:absolute;right:0;top:19px;width:21px;height:21px;display:grid;place-items:center;border:1px solid #baa04f;border-radius:50%;color:#96710d;font:900 .67rem "Frank Ruhl Libre",serif}.ij-daf-notes h4,.ij-daf-torah-notes h4{margin:0;color:#16442f;font:900 1rem "Frank Ruhl Libre",serif}.ij-daf-notes p,.ij-daf-torah-notes p{margin:6px 0 0;color:#65766d;font-size:.77rem;line-height:1.72}
.ij-daf-sugya{position:relative;padding:43px 42px 34px;text-align:center;background:rgba(255,255,255,.52)}
.ij-daf-sugya::before,.ij-daf-sugya::after{content:"";position:absolute;right:22px;left:22px;height:1px;background:linear-gradient(90deg,transparent,#b99225,transparent)}.ij-daf-sugya::before{top:25px}.ij-daf-sugya::after{bottom:22px}
.ij-daf-sugya>span{color:#a27a10;font-size:.62rem;font-weight:950;letter-spacing:.15em}.ij-daf-sugya>h3{margin:7px 0 25px;color:#073e28;font:950 2.2rem/1.1 "Frank Ruhl Libre",serif}
.ij-daf-case-lines{display:grid;gap:8px}.ij-daf-case-lines button{position:relative;width:100%;padding:14px 38px 14px 17px;border:1px solid transparent;border-radius:2px;color:#4c5f55;background:transparent;font:800 clamp(1.06rem,1.7vw,1.28rem)/1.65 "Frank Ruhl Libre",serif;text-align:right;cursor:pointer;transition:color .25s ease,background .25s ease,border-color .25s ease,transform .25s ease}.ij-daf-case-lines button>small{position:absolute;right:11px;top:18px;color:#a17b12;font:900 .7rem "Frank Ruhl Libre",serif}.ij-daf-case-lines button:hover{color:#073e28;background:#f8f2e4}.ij-daf-case-lines button.is-active{color:#073e28;border-color:#c5a343;background:linear-gradient(90deg,#fffdf8,#f2e7cc);box-shadow:inset -4px 0 #00623f,0 7px 18px rgba(64,48,8,.06);transform:translateY(-1px)}.ij-daf-case-lines button:focus-visible{outline:2px solid #08704a;outline-offset:3px}
.ij-daf-sugya>p{margin:27px 0 0;color:#7d8881;font-size:.7rem;line-height:1.65}
.ij-daf-torah{position:relative;z-index:1;padding:27px 42px 30px;border-bottom:1px solid #cdbb8e;background:linear-gradient(90deg,rgba(0,91,55,.045),transparent 25% 75%,rgba(0,91,55,.045))}
.ij-daf-torah>header{display:grid;grid-template-columns:100px 1fr 210px;align-items:center;border-bottom:1px solid #c6b581;padding-bottom:16px}.ij-daf-torah>header span{grid-column:1}.ij-daf-torah>header h3{grid-column:2;text-align:center}.ij-daf-torah>header small{grid-column:3;text-align:left}
.ij-daf-torah-notes{margin-top:20px;display:grid;grid-template-columns:repeat(3,1fr);gap:0}.ij-daf-torah-notes article{padding:8px 20px;display:grid;grid-template-columns:27px 1fr;gap:10px;border-left:1px solid #d7c9a7;opacity:.38;transition:opacity .3s ease,background .3s ease}.ij-daf-torah-notes article:last-child{border-left:0}.ij-daf-torah-notes article.is-active{opacity:1;background:rgba(211,175,61,.07)}.ij-daf-torah-notes article>b{width:24px;height:24px;display:grid;place-items:center;border:1px solid #b99325;border-radius:50%;color:#98710d;font:900 .7rem "Frank Ruhl Libre",serif}
.ij-daf-conclusion{position:relative;z-index:2;padding:23px 38px;display:grid;grid-template-columns:150px 1fr auto;gap:25px;align-items:center;color:#fff;background:linear-gradient(100deg,#002d1c,#00613f 53%,#002f1e);border-top:1px solid #d1ae3f}.ij-daf-conclusion>span{color:#e3c861;font-size:.68rem;font-weight:950;letter-spacing:.11em}.ij-daf-conclusion>p{margin:0;font:900 1.15rem/1.55 "Frank Ruhl Libre",serif}.ij-daf-conclusion>small{color:rgba(255,255,255,.42);font-size:.62rem;white-space:nowrap}

@media(max-width:960px){
  .ij-daf-body{grid-template-columns:minmax(210px,.85fr) minmax(320px,1.3fr) minmax(210px,.85fr)}
  .ij-daf-margin{padding-inline:20px}.ij-daf-sugya{padding-inline:28px}.ij-daf-torah{padding-inline:30px}
}
@media(max-width:820px){
  .ij-daf-head{grid-template-columns:1fr}.ij-daf-head>div:first-child{max-width:230px}
  .ij-living-daf{border-radius:4px 16px 4px 16px}
  .ij-living-daf::after{font-size:10rem}
  .ij-daf-folio{padding:23px 20px 20px}.ij-daf-folio>div{grid-template-columns:45px 1fr 45px}.ij-daf-folio strong{font-size:1.8rem}.ij-daf-folio>p{max-width:280px;margin-inline:auto;line-height:1.5}
  .ij-daf-body{direction:rtl;display:flex;flex-direction:column;border-bottom:0}.ij-daf-sugya{order:1;padding:38px 22px 31px;border-bottom:1px solid #cdbd94}.ij-daf-din{order:2}.ij-daf-nefesh{order:3}.ij-daf-margin{padding:25px 23px;border-right:0;border-left:0;border-bottom:1px solid #cdbd94}.ij-daf-margin h3{font-size:1.4rem}
  .ij-daf-notes article:not(.is-active){display:none}.ij-daf-notes article.is-active{min-height:105px;animation:ijDafNoteIn .3s ease}
  .ij-daf-torah{padding:25px 23px}.ij-daf-torah>header{display:block;text-align:right}.ij-daf-torah>header h3{font-size:1.4rem}.ij-daf-torah>header small{display:block;margin-top:3px;text-align:right}
  .ij-daf-torah-notes{display:block}.ij-daf-torah-notes article{border-left:0}.ij-daf-torah-notes article:not(.is-active){display:none}.ij-daf-torah-notes article.is-active{animation:ijDafNoteIn .3s ease}
  .ij-daf-conclusion{grid-template-columns:1fr;gap:7px;padding:22px 24px}.ij-daf-conclusion>p{font-size:1.05rem}.ij-daf-conclusion>small{white-space:normal}
}
@media(max-width:430px){
  .ij-daf-head h2{font-size:2.65rem}.ij-daf-head h2::after{width:29px;height:29px;font-size:.76rem}
  .ij-daf-folio>span{font-size:.55rem}.ij-daf-folio strong{font-size:1.58rem}
  .ij-daf-sugya>h3{font-size:1.8rem}.ij-daf-case-lines button{padding:12px 34px 12px 12px;font-size:1.03rem}.ij-daf-case-lines button>small{top:16px}
  .ij-daf-margin,.ij-daf-torah{padding-inline:19px}
}
@keyframes ijDafNoteIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.ij-daf-notes article.is-active,.ij-daf-torah-notes article.is-active{animation:none}}

/* Inner Judge - simplified page and live submission. */
.ij-court-hero .section-inner{max-width:860px}
.ij-court-hero .article-hero-title{font-size:clamp(3.25rem,6vw,5.25rem)}
.ij-court-hero .article-hero-subtitle{max-width:730px;font-size:clamp(1rem,1.8vw,1.28rem);line-height:1.7}
.ij-hero-privacy{margin-top:4px;color:rgba(255,255,255,.64);font-size:.7rem}

.ij-simple-intro{position:relative;padding:clamp(68px,8vw,105px) 0 55px;overflow:hidden;background:#fbf8ef}
.ij-simple-intro::before{content:"";position:absolute;inset:24px;border:1px solid rgba(163,124,20,.1);pointer-events:none}
.ij-simple-copy{max-width:790px;margin:auto;text-align:center}
.ij-simple-copy>span{color:#9a7512;font-size:.68rem;font-weight:950;letter-spacing:.15em}
.ij-simple-copy h2{margin:9px 0 17px;color:#063f29;font:950 clamp(2.45rem,4.5vw,3.9rem)/1.08 "Frank Ruhl Libre","Noto Serif Hebrew",serif}
.ij-simple-copy p{margin:0;color:#5e7066;font-size:1rem;line-height:1.85}
.ij-simple-copy>strong{max-width:660px;margin:26px auto 0;padding:16px 25px;display:block;border-block:1px solid #cdb873;color:#184b35;font:900 clamp(1.15rem,2vw,1.42rem)/1.55 "Frank Ruhl Libre",serif}
.ij-simple-flow{max-width:940px;margin:45px auto 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);list-style:none;border:1px solid rgba(177,139,37,.34);border-radius:16px;background:linear-gradient(180deg,#fff 0%,#fffdf8 100%);box-shadow:0 18px 44px rgba(59,45,9,.07),inset 0 1px 0 rgba(255,255,255,.9)}
.ij-simple-flow li{position:relative;min-height:104px;padding:22px 32px;display:flex;align-items:center;justify-content:center;gap:15px;color:#164732;text-align:center}
.ij-simple-flow li+li{border-right:1px solid rgba(177,139,37,.2)}
.ij-simple-flow li:not(:last-child)::after{content:"\2190";position:absolute;z-index:3;left:-19px;top:50%;width:38px;height:30px;display:grid;place-items:center;border:1px solid rgba(184,142,32,.58);border-radius:999px;color:#8b6507;background:linear-gradient(145deg,#fffdf7,#f4e8be);box-shadow:0 0 0 5px #fbf8ef,0 6px 16px rgba(102,73,7,.13),inset 0 1px 0 #fff;font:800 1.08rem/1 Arial,sans-serif;direction:ltr;unicode-bidi:isolate;transform:translateY(-50%)}
.ij-simple-flow b{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1px solid rgba(178,137,28,.72);border-radius:50%;color:#8d680a;background:radial-gradient(circle at 36% 28%,#fff,#f9f1d6);box-shadow:inset 0 0 0 4px #fff,0 5px 14px rgba(100,73,10,.09);font:900 .96rem "Frank Ruhl Libre",serif}
.ij-simple-flow span{font-size:1.02rem;font-weight:900;line-height:1.45}
.ij-simple-disclaimer{margin:23px auto 0;color:#7a867f;font-size:.72rem;text-align:center}

.ij-questionnaire{padding:clamp(65px,7vw,95px) 0;background:#f2ecde;background-size:auto}
.ij-questionnaire-head{margin-bottom:34px}
.ij-questionnaire-head h2{font-size:clamp(2.45rem,4.25vw,3.6rem)}
.ij-questionnaire-head p{margin-top:13px}
.ij-questionnaire-head>small{display:block;margin-top:8px;color:#8f751f;font-size:.68rem;font-weight:800}
.ij-questionnaire-shell{max-width:1080px;grid-template-columns:235px 1fr;gap:14px}
.ij-questionnaire-rail{padding:34px 26px;border-radius:12px}
.ij-questionnaire-rail::before{inset:8px;border-radius:7px}
.ij-rail-title strong{font-size:1.55rem}
.ij-rail-title p{font-size:.72rem}
.ij-rail-emblem{margin-block:23px}
.ij-questionnaire-rail ol{margin:25px 0;gap:18px}
.ij-questionnaire-rail li:not(:last-child)::after{height:13px}
.ij-rail-progress{margin-top:35px}
.ij-questionnaire-form{min-height:610px;border-radius:12px}
.ij-protocol-header{padding:20px 31px 18px}
.ij-protocol-header>strong{font-size:1.38rem}
.ij-protocol-header>div:last-child{margin-top:12px!important;padding-top:10px}
.ij-form-step{padding:30px 38px 0}
.ij-form-step-head h3{font-size:clamp(1.75rem,2.7vw,2.25rem)}
.ij-form-step-head::after{font-size:1.7rem}
.ij-form-actions{margin-inline:38px;padding-top:27px}
.ij-honeypot{position:absolute!important;right:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.ij-submit-area{margin-top:25px;padding:22px;border:1px solid #d4c69e;border-radius:10px;background:#f8f3e7;text-align:center}
.ij-submit-area button{width:100%;min-height:49px;padding:0 24px;border:1px solid #a77d12;border-radius:7px;color:#fff;background:linear-gradient(135deg,#08734b,#003d27);font:900 .95rem inherit;cursor:pointer;box-shadow:0 10px 24px rgba(0,76,48,.15);transition:.2s}
.ij-submit-area button:hover{transform:translateY(-1px);filter:brightness(1.05)}
.ij-submit-area button:disabled{color:rgba(255,255,255,.76);cursor:wait;filter:saturate(.55);transform:none}
.ij-submit-area small{display:block;margin-top:10px;color:#76827b;font-size:.68rem;line-height:1.6}
.ij-submit-message{min-height:1.4em;margin:12px 0 0;color:#557063;font-size:.78rem;font-weight:700}
.ij-submit-message.is-error{padding:10px 12px;border:1px solid #c77770;color:#7c2e29;background:#fff1ef}

@media(max-width:900px){
  .ij-questionnaire-shell{grid-template-columns:1fr}
  .ij-questionnaire-rail{padding:29px 28px}
  .ij-questionnaire-rail ol{grid-template-columns:repeat(3,1fr);margin-block:23px}
  .ij-rail-progress{margin-top:25px}
}
@media(max-width:650px){
  .ij-simple-intro{padding:58px 0 42px}.ij-simple-intro::before{inset:12px}
  .ij-simple-copy{padding-inline:12px}.ij-simple-copy h2{font-size:2.45rem}.ij-simple-copy p{font-size:.92rem}.ij-simple-copy>strong{padding:14px 10px;font-size:1.12rem}
  .ij-simple-flow{margin-top:32px;display:block;border-radius:14px;overflow:visible}
  .ij-simple-flow li{min-height:78px;padding:18px 24px;justify-content:flex-start;text-align:right}.ij-simple-flow li:first-child{border-radius:14px 14px 0 0}.ij-simple-flow li:last-child{border-radius:0 0 14px 14px}.ij-simple-flow li+li{border-right:0;border-top:1px solid rgba(177,139,37,.2)}.ij-simple-flow li:not(:last-child)::after{content:"\2193";left:50%;top:auto;bottom:-16px;width:30px;height:32px;transform:translateX(-50%);box-shadow:0 0 0 5px #fbf8ef,0 6px 16px rgba(102,73,7,.13)}
  .ij-questionnaire{padding-top:58px}.ij-questionnaire-head{padding-inline:10px}.ij-questionnaire-head h2{font-size:2.35rem}
  .ij-questionnaire-shell{gap:10px}.ij-questionnaire-rail{border-radius:10px}.ij-questionnaire-rail ol span{display:block;font-size:.67rem}.ij-questionnaire-rail li{display:flex;flex-direction:column;gap:7px;text-align:center}.ij-questionnaire-rail li:not(:last-child)::after{display:none}
  .ij-questionnaire-form{border-radius:10px}.ij-protocol-header{grid-template-columns:1fr;padding:19px 16px 16px}.ij-protocol-header>small{grid-column:1;grid-row:auto;margin-top:8px;justify-self:start}.ij-protocol-header>div:last-child{grid-template-columns:1fr 1fr}.ij-protocol-header>div:last-child b:last-child{grid-column:1/-1}
  .ij-form-step{padding:27px 17px 0}.ij-form-step-head::after{font-size:1.45rem}.ij-field-grid{grid-template-columns:1fr}.ij-form-actions{margin-inline:17px}
  .ij-submit-area{padding:17px 13px}
}

/* Inner Judge - section 1: completed hero banner. */
.ij-court-hero{
  min-height:clamp(480px,61vh,560px);
  padding:64px 0 56px;
  isolation:isolate;
  border-bottom:2px solid #c6a43c;
  box-shadow:inset 0 -1px 0 rgba(255,244,190,.28);
}
.ij-court-hero::before{
  background:
    radial-gradient(circle at 50% 35%,rgba(218,185,74,.12),transparent 33%),
    linear-gradient(90deg,rgba(0,24,13,.42),rgba(0,31,18,.22) 38%,rgba(0,31,18,.22) 62%,rgba(0,24,13,.46))!important;
}
.ij-court-hero::after{
  inset:auto 0 0;
  height:140px;
  background:linear-gradient(0deg,rgba(0,23,13,.78),transparent);
}
.ij-court-hero .section-inner{
  width:min(100% - 36px,980px);
  max-width:980px;
  gap:10px;
}
.ij-court-file{
  min-height:31px;
  padding:6px 18px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(236,209,112,.56);
  border-radius:999px;
  color:#f0d77c;
  background:rgba(0,27,16,.62);
  box-shadow:0 9px 24px rgba(0,0,0,.2),inset 0 0 0 1px rgba(255,255,255,.04);
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.035em;
  line-height:1;
}
.ij-court-file i{
  width:4px;
  height:4px;
  display:block;
  border-radius:50%;
  background:#e3c35c;
  box-shadow:0 0 9px rgba(227,195,92,.8);
}
.ij-court-hero .article-hero-title{
  margin-top:8px;
  color:#d4b649;
  font-size:clamp(3.5rem,6.4vw,5.65rem);
  line-height:.92;
  text-shadow:0 1px 0 #f7e69d,0 5px 0 rgba(63,44,5,.44),0 15px 34px rgba(0,0,0,.46),0 0 26px rgba(221,202,98,.17);
}
.ij-hero-thesis{
  max-width:840px;
  margin:10px auto 0;
  color:#fffdf5;
  font:800 clamp(1.42rem,2.55vw,2.15rem)/1.32 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-wrap:balance;
  text-shadow:0 6px 25px rgba(0,0,0,.55);
}
.ij-hero-thesis span,
.ij-hero-thesis strong{display:block}
.ij-hero-thesis strong{
  margin-top:2px;
  color:#f0d46d;
  font-weight:950;
}
.ij-hero-rule{
  width:min(300px,55vw);
  height:1px;
  position:relative;
  margin:7px 0 5px;
  background:linear-gradient(90deg,transparent,rgba(229,199,94,.75),transparent);
}
.ij-hero-rule::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:7px;
  height:7px;
  border:1px solid #e0c15b;
  background:#073921;
  transform:translate(-50%,-50%) rotate(45deg);
  box-shadow:0 0 0 4px rgba(5,49,29,.7),0 0 13px rgba(224,193,91,.42);
}
.ij-court-hero .article-hero-subtitle{
  max-width:760px;
  margin-top:0!important;
  color:rgba(255,255,255,.88)!important;
  font-size:clamp(.96rem,1.55vw,1.12rem);
  font-weight:650;
  line-height:1.68;
  text-wrap:balance;
}
.ij-court-hero-cta{
  min-width:280px;
  min-height:48px;
  margin-top:10px;
  padding:0 29px;
  border:1px solid #efd678;
  border-radius:7px;
  color:#123722;
  background:linear-gradient(145deg,#f5e59b 0%,#d5b84e 55%,#bea03a 100%);
  box-shadow:0 11px 28px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.68);
  font-size:.93rem;
  font-weight:950;
  transition:transform .22s ease,filter .22s ease,box-shadow .22s ease;
}
.ij-court-hero-cta:hover,
.ij-court-hero-cta:focus-visible{
  transform:translateY(-2px);
  filter:brightness(1.06);
  box-shadow:0 15px 34px rgba(0,0,0,.32),0 0 0 3px rgba(236,207,105,.18),inset 0 1px 0 rgba(255,255,255,.72);
}
.ij-court-hero-cta:focus-visible{outline:2px solid #fff3b5;outline-offset:3px}
.ij-hero-privacy{
  margin-top:1px;
  color:rgba(255,255,255,.65);
  font-size:.68rem;
  font-weight:650;
}
@media(max-width:650px){
  .ij-court-hero{
    min-height:535px;
    padding:48px 0 42px;
    background-position:center center!important;
  }
  .ij-court-hero .section-inner{width:min(100% - 28px,520px);gap:9px}
  .ij-court-file{min-height:29px;padding:6px 13px;font-size:.61rem;gap:8px}
  .ij-court-hero .article-hero-title{margin-top:6px;font-size:clamp(3rem,15vw,4.2rem)}
  .ij-hero-thesis{max-width:360px;margin-top:9px;font-size:clamp(1.22rem,6.15vw,1.52rem);line-height:1.35}
  .ij-hero-rule{width:min(220px,58vw);margin-block:6px 4px}
  .ij-court-hero .article-hero-subtitle{max-width:390px;font-size:.9rem;line-height:1.62}
  .ij-court-hero-cta{width:min(100%,340px);min-width:0;min-height:48px;margin-top:8px;padding:0 18px;font-size:.86rem;line-height:1.3;text-align:center}
  .ij-hero-privacy{max-width:330px;font-size:.61rem;line-height:1.45}
}
@media(max-width:390px){
  .ij-court-hero{min-height:520px;padding-top:42px}
  .ij-court-hero .article-hero-title{font-size:2.85rem}
  .ij-hero-thesis{font-size:1.18rem}
  .ij-court-hero .article-hero-subtitle{font-size:.84rem}
  .ij-court-hero-cta{font-size:.8rem}
}

/* Inner Judge - section 2: founder statement. */
.ij-founder-statement{
  position:relative;
  padding:clamp(66px,7vw,96px) 0;
  overflow:hidden;
  background:
    radial-gradient(circle at 14% 50%,rgba(0,83,51,.065),transparent 27%),
    radial-gradient(circle at 86% 42%,rgba(205,171,61,.08),transparent 25%),
    linear-gradient(180deg,#fffdf7 0%,#f9f4e7 100%);
}
.ij-founder-statement::before,
.ij-founder-statement::after{
  content:"";
  position:absolute;
  right:7%;
  left:7%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(182,142,35,.72) 18%,rgba(182,142,35,.72) 82%,transparent);
}
.ij-founder-statement::before{top:0}
.ij-founder-statement::after{bottom:0}
.ij-founder-statement .section-inner{max-width:1210px}
.ij-founder-section-title,
.ij-definition-section-title,
.ij-protocol-section-title{
  max-width:780px;
  margin:0 auto clamp(38px,4.5vw,54px);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  color:#9a7618;
  font:950 clamp(1.55rem,2.8vw,2.15rem)/1.2 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-align:center;
}
.ij-founder-section-title::before,
.ij-founder-section-title::after,
.ij-definition-section-title::before,
.ij-definition-section-title::after,
.ij-protocol-section-title::before,
.ij-protocol-section-title::after{
  content:"";
  width:clamp(45px,8vw,105px);
  height:1px;
  background:linear-gradient(90deg,transparent,#c29a30);
}
.ij-founder-section-title::before,
.ij-definition-section-title::before,
.ij-protocol-section-title::before{transform:scaleX(-1)}
.ij-founder-statement-shell{
  position:relative;
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:clamp(38px,5vw,72px);
  align-items:center;
}
.ij-founder-seal-column{
  min-height:245px;
  padding-left:clamp(30px,4vw,55px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:19px;
  border-left:1px solid rgba(176,137,31,.34);
}
.ij-founder-seal-ring{
  width:158px;
  height:158px;
  position:relative;
  display:grid;
  place-items:center;
  border:1px solid rgba(183,143,36,.46);
  border-radius:50%;
  background:rgba(255,255,255,.7);
  box-shadow:0 18px 42px rgba(17,65,44,.09),0 0 0 7px rgba(255,253,246,.82),0 0 0 8px rgba(183,143,36,.14);
}
.ij-founder-seal-ring::before{
  content:"";
  position:absolute;
  inset:-15px;
  border:1px solid rgba(182,141,33,.13);
  border-radius:50%;
}
.ij-founder-seal-ring img{
  width:142px;
  height:142px;
  display:block;
  border-radius:50%;
  object-fit:cover;
  mix-blend-mode:multiply;
  opacity:.88;
}
.ij-founder-seal-column>small{
  display:flex;
  align-items:center;
  gap:9px;
  color:#8f711d;
  font-size:.62rem;
  font-weight:950;
  letter-spacing:.12em;
}
.ij-founder-seal-column>small i{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#b5912f;
}
.ij-founder-statement-copy{
  position:relative;
  max-width:890px;
  padding:12px 12px 10px 34px;
}
.ij-founder-eyebrow{
  margin:0;
  display:flex;
  align-items:center;
  gap:13px;
  color:#9a7618;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.11em;
}
.ij-founder-eyebrow::after{
  content:"";
  width:70px;
  height:1px;
  background:linear-gradient(90deg,rgba(188,148,43,.15),#b9932e);
}
.ij-founder-quote{
  position:relative;
  margin:0;
  padding:0;
}
.ij-founder-quote p{
  position:relative;
  z-index:1;
  margin:0;
  color:#103c2b;
  font:800 clamp(1.45rem,2.15vw,2rem)/1.68 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-wrap:pretty;
}
.ij-founder-quote mark{
  position:relative;
  color:#9a7210;
  background:transparent;
  font-weight:950;
  white-space:nowrap;
}
.ij-founder-quote mark::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-3px;
  width:100%;
  height:1px;
  background:linear-gradient(90deg,transparent,#c5a13e 18%,#c5a13e 82%,transparent);
}
.ij-founder-quote-mark{
  position:absolute;
  z-index:0;
  color:#c19a34;
  font:900 5.8rem/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  opacity:.48;
  pointer-events:none;
}
.ij-founder-quote-mark-open{top:-48px;right:-41px}
.ij-founder-quote-mark-close{left:-20px;bottom:4px;transform:rotate(180deg)}
.ij-founder-quote footer{
  margin-top:28px;
  display:flex;
  align-items:center;
  gap:16px;
}
.ij-founder-quote footer>i{
  width:62px;
  height:1px;
  background:linear-gradient(90deg,rgba(181,141,35,.16),#b58d23);
}
.ij-founder-quote footer>span{display:grid;gap:2px}
.ij-founder-quote cite{
  color:#06442e;
  font:900 1.08rem "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  font-style:normal;
}
.ij-founder-quote footer small{
  color:#79857e;
  font-size:.67rem;
  font-weight:750;
}
@media(max-width:760px){
  .ij-founder-statement{padding:54px 0 58px}
  .ij-founder-statement::before,
  .ij-founder-statement::after{right:4%;left:4%}
  .ij-founder-statement-shell{grid-template-columns:1fr;gap:28px}
  .ij-founder-section-title,
  .ij-definition-section-title{margin-bottom:34px;gap:12px;font-size:1.5rem}
  .ij-founder-section-title::before,
  .ij-founder-section-title::after,
  .ij-definition-section-title::before,
  .ij-definition-section-title::after{width:37px}
  .ij-founder-seal-column{
    min-height:0;
    padding:0 0 26px;
    border-left:0;
    border-bottom:1px solid rgba(176,137,31,.26);
  }
  .ij-founder-seal-ring{width:102px;height:102px;box-shadow:0 13px 31px rgba(17,65,44,.08),0 0 0 5px rgba(255,253,246,.82),0 0 0 6px rgba(183,143,36,.14)}
  .ij-founder-seal-ring::before{inset:-10px}
  .ij-founder-seal-ring img{width:92px;height:92px}
  .ij-founder-seal-column>small{font-size:.56rem}
  .ij-founder-statement-copy{max-width:620px;margin:auto;padding:0 16px;text-align:center}
  .ij-founder-eyebrow{justify-content:center;font-size:.66rem}
  .ij-founder-eyebrow::before,
  .ij-founder-eyebrow::after{content:"";width:37px;height:1px;background:linear-gradient(90deg,transparent,#b9932e)}
  .ij-founder-eyebrow::before{transform:scaleX(-1)}
  .ij-founder-quote{margin-top:18px}
  .ij-founder-quote p{font-size:clamp(1.1rem,4.65vw,1.32rem);line-height:1.78}
  .ij-founder-quote mark{white-space:normal}
  .ij-founder-quote-mark{font-size:4.2rem;opacity:.42}
  .ij-founder-quote-mark-open{top:-35px;right:-10px}
  .ij-founder-quote-mark-close{left:-7px;bottom:7px}
  .ij-founder-quote footer{margin-top:25px;justify-content:center;gap:12px}
  .ij-founder-quote footer>i{width:38px}
  .ij-founder-quote footer>span{text-align:right}
}
@media(max-width:390px){
  .ij-founder-statement-copy{padding-inline:11px}
  .ij-founder-eyebrow::before,
  .ij-founder-eyebrow::after{width:27px}
  .ij-founder-quote p{font-size:1.08rem}
  .ij-founder-quote footer>i{width:26px}
}

/* Inner Judge - section 3: recognition before interpretation. */
.ij-recognition{
  position:relative;
  padding:clamp(58px,6vw,78px) 0 clamp(52px,5.5vw,70px);
  overflow:hidden;
  color:#fff;
  background-color:#003d27;
  background-image:var(--emerald-texture);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  border-bottom:1px solid rgba(211,177,67,.58);
}
.ij-recognition::before{
  content:"";
  position:absolute;
  top:28px;
  right:28px;
  bottom:28px;
  left:28px;
  border:1px solid rgba(229,203,112,.1);
  pointer-events:none;
}
.ij-recognition::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:17%;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(219,188,79,.2),transparent);
  pointer-events:none;
}
.ij-recognition .section-inner{position:relative;z-index:1;max-width:1060px}
.ij-recognition-pretitle{
  max-width:760px;
  margin:0 auto clamp(30px,3.5vw,42px);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  color:#f0d36d;
  font:950 clamp(1.55rem,2.8vw,2.15rem)/1.2 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-align:center;
  text-shadow:0 7px 22px rgba(0,0,0,.22);
}
.ij-recognition-pretitle::before,
.ij-recognition-pretitle::after{
  content:"";
  width:clamp(45px,8vw,105px);
  height:1px;
  background:linear-gradient(90deg,transparent,#d8b64f);
}
.ij-recognition-pretitle::before{transform:scaleX(-1)}
.ij-recognition-layout{
  display:grid;
  grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);
  gap:clamp(40px,5vw,64px);
  align-items:center;
}
.ij-recognition-head{
  width:100%;
  justify-self:center;
  text-align:center;
}
.ij-recognition-head>span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#e6c75e;
  font-size:.68rem;
  font-weight:950;
  letter-spacing:.13em;
}
.ij-recognition-head>span::before{
  content:"";
  width:34px;
  height:1px;
  background:#d1ad43;
}
.ij-recognition-head h2{
  margin:10px 0 17px;
  color:#fffdf4;
  font:950 clamp(2.65rem,5vw,4.5rem)/1.03 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-shadow:0 10px 28px rgba(0,0,0,.22);
}
.ij-recognition-head p{
  max-width:410px;
  margin:0 auto;
  color:rgba(255,255,255,.72);
  font-size:1rem;
  font-weight:650;
  line-height:1.85;
}
.ij-recognition-records{
  margin:0;
  padding:0;
  list-style:none;
  border-top:1px solid rgba(226,197,93,.38);
  border-bottom:1px solid rgba(226,197,93,.38);
}
.ij-recognition-records li{
  min-height:94px;
  padding:14px 5px;
  display:grid;
  grid-template-columns:42px minmax(150px,.8fr) minmax(230px,1.2fr);
  gap:23px;
  align-items:center;
}
.ij-recognition-records li+li{border-top:1px solid rgba(255,255,255,.12)}
.ij-recognition-index{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(227,196,89,.7);
  border-radius:50%;
  color:#efd77c;
  background:rgba(0,25,14,.24);
  font:900 .84rem "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  box-shadow:inset 0 0 0 4px rgba(255,255,255,.025);
}
.ij-recognition-event,
.ij-recognition-verdict{display:grid;gap:6px}
.ij-recognition-event small,
.ij-recognition-verdict small{
  color:rgba(255,255,255,.48);
  font-size:.62rem;
  font-weight:850;
  letter-spacing:.06em;
}
.ij-recognition-event strong{
  color:#fff;
  font-size:.96rem;
  font-weight:850;
  line-height:1.5;
}
.ij-recognition-verdict{
  min-height:56px;
  padding-right:25px;
  align-content:center;
  border-right:1px solid rgba(224,193,86,.28);
}
.ij-recognition-verdict b{
  color:#efd36d;
  font:900 clamp(1.16rem,1.8vw,1.42rem)/1.4 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-recognition-closing{
  max-width:940px;
  position:relative;
  margin:32px auto 0;
  padding:22px 24px 0;
  color:rgba(255,255,255,.78);
  font:750 clamp(1.08rem,2vw,1.32rem)/1.7 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-align:center;
  text-wrap:balance;
}
.ij-recognition-closing::before{
  content:"";
  position:absolute;
  top:0;
  right:11%;
  left:11%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(221,190,83,.6),transparent);
}
.ij-recognition-closing strong{color:#f0d36b;font-weight:950}
@media(max-width:820px){
  .ij-recognition{padding:58px 0 57px}
  .ij-recognition::before{inset:14px}
  .ij-recognition::after{display:none}
  .ij-recognition-layout{grid-template-columns:1fr;gap:38px}
  .ij-recognition-head{max-width:590px;margin:auto;text-align:center}
  .ij-recognition-head p{max-width:520px;margin:auto;font-size:.93rem}
  .ij-recognition-records{max-width:680px;width:100%;margin:auto}
}
@media(max-width:560px){
  .ij-recognition{padding:52px 0 53px}
  .ij-recognition .section-inner{width:min(100% - 34px,1060px)}
  .ij-recognition-pretitle{margin-bottom:35px;gap:12px;font-size:1.5rem}
  .ij-recognition-pretitle::before,
  .ij-recognition-pretitle::after{width:37px}
  .ij-recognition-head h2{font-size:2.75rem}
  .ij-recognition-records li{
    min-height:0;
    padding:21px 3px;
    grid-template-columns:36px 1fr;
    gap:8px 14px;
  }
  .ij-recognition-index{grid-row:1 / span 2;width:31px;height:31px}
  .ij-recognition-event{grid-column:2}
  .ij-recognition-verdict{grid-column:2;min-height:0;padding:11px 0 0;border-right:0;border-top:1px solid rgba(224,193,86,.2)}
  .ij-recognition-event strong{font-size:.9rem}
  .ij-recognition-verdict b{font-size:1.17rem}
  .ij-recognition-closing{margin-top:36px;padding:24px 4px 0;font-size:1.04rem}
}

/* Inner Judge - section 4: definition and core principles. */
.ij-definition{
  position:relative;
  padding:clamp(72px,7vw,98px) 0 clamp(64px,6vw,86px);
  overflow:hidden;
  background:
    radial-gradient(circle at 11% 20%,rgba(0,96,59,.055),transparent 27%),
    radial-gradient(circle at 88% 82%,rgba(201,166,56,.075),transparent 28%),
    linear-gradient(180deg,#fffdf8 0%,#f8f3e6 100%);
}
.ij-definition::before{
  content:"";
  position:absolute;
  inset:24px;
  border:1px solid rgba(162,126,26,.1);
  pointer-events:none;
}
.ij-definition .section-inner{position:relative;z-index:1;max-width:1100px}
.ij-definition-layout{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);
  gap:clamp(48px,7vw,88px);
  align-items:center;
}
.ij-definition-head>span{
  display:flex;
  align-items:center;
  gap:12px;
  color:#9d7817;
  font-size:.7rem;
  font-weight:950;
  letter-spacing:.12em;
}
.ij-definition-head>span::after{
  content:"";
  width:62px;
  height:1px;
  background:linear-gradient(90deg,rgba(185,146,39,.12),#b99227);
}
.ij-definition-head h3{
  max-width:620px;
  margin:11px 0 18px;
  color:#073d29;
  font:950 clamp(2.45rem,4.5vw,4rem)/1.08 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-wrap:balance;
}
.ij-definition-head>p{
  max-width:610px;
  margin:0;
  color:#5e7067;
  font-size:1rem;
  font-weight:650;
  line-height:1.85;
}
.ij-definition-head>strong{
  max-width:620px;
  margin-top:20px;
  padding-right:20px;
  display:block;
  border-right:2px solid #c4a03b;
  color:#244c3a;
  font:850 1rem/1.75 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-definition-principles{
  margin:0;
  padding:0;
  list-style:none;
  border-top:1px solid rgba(165,126,21,.38);
  border-bottom:1px solid rgba(165,126,21,.38);
}
.ij-definition-principles li{
  min-height:92px;
  padding:18px 8px;
  display:grid;
  grid-template-columns:42px 1fr;
  gap:18px;
  align-items:center;
}
.ij-definition-principles li+li{border-top:1px solid rgba(13,67,43,.13)}
.ij-definition-principles b{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(177,136,29,.56);
  border-radius:50%;
  color:#956f0b;
  background:#fffdf7;
  box-shadow:0 6px 16px rgba(77,57,5,.07),inset 0 0 0 4px #f8f2df;
  font:900 .88rem "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-definition-principles span{
  color:#0d4932;
  font:900 clamp(1.15rem,1.9vw,1.43rem)/1.5 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-definition-principles span i{
  width:24px;
  height:1px;
  margin:0 8px;
  display:inline-block;
  vertical-align:middle;
  background:#c29b32;
}
.ij-definition-voices{
  margin-top:clamp(40px,5vw,58px);
  padding:24px 0;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:clamp(30px,5vw,64px);
  align-items:center;
  border-top:1px solid rgba(166,128,25,.27);
  border-bottom:1px solid rgba(166,128,25,.27);
}
.ij-definition-voices>strong{
  color:#8d6b11;
  font:900 1.02rem "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  white-space:nowrap;
}
.ij-definition-voices ul{
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:11px 19px;
  list-style:none;
}
.ij-definition-voices li{
  position:relative;
  color:#315847;
  font-size:.78rem;
  font-weight:850;
  white-space:nowrap;
}
.ij-definition-voices li:not(:last-child)::after{
  content:"";
  position:absolute;
  top:50%;
  left:-12px;
  width:3px;
  height:3px;
  border-radius:50%;
  background:#c19b32;
  transform:translateY(-50%);
}
@media(max-width:820px){
  .ij-definition{padding:64px 0 62px}
  .ij-definition::before{inset:14px}
  .ij-definition-layout{grid-template-columns:1fr;gap:42px}
  .ij-definition-head{max-width:680px;margin:auto;text-align:center}
  .ij-definition-head>span{justify-content:center}
  .ij-definition-head>span::before{content:"";width:45px;height:1px;background:linear-gradient(90deg,transparent,#b99227)}
  .ij-definition-head>span::after{width:45px}
  .ij-definition-head h3,
  .ij-definition-head>p,
  .ij-definition-head>strong{margin-right:auto;margin-left:auto}
  .ij-definition-head>strong{padding:16px 9px 0;border-right:0;border-top:1px solid rgba(183,143,35,.38)}
  .ij-definition-principles{max-width:650px;width:100%;margin:auto}
  .ij-definition-voices{grid-template-columns:1fr;gap:18px;text-align:center}
  .ij-definition-voices ul{justify-content:center}
}
@media(max-width:520px){
  .ij-definition{padding:56px 0 55px}
  .ij-definition .section-inner{width:min(100% - 34px,1100px)}
  .ij-definition-head h3{font-size:2.45rem}
  .ij-definition-head>p{font-size:.92rem}
  .ij-definition-head>strong{font-size:.93rem}
  .ij-definition-principles li{min-height:78px;padding:15px 4px;grid-template-columns:37px 1fr;gap:13px}
  .ij-definition-principles b{width:32px;height:32px}
  .ij-definition-principles span{font-size:1.08rem}
  .ij-definition-principles span i{width:17px;margin-inline:5px}
  .ij-definition-voices{margin-top:34px;padding:21px 4px}
  .ij-definition-voices>strong{white-space:normal}
  .ij-definition-voices ul{gap:10px 20px}
}

/* Inner Judge - compact transition from interpretation to the internal trial. */
.ij-deliberation-divider{
  position:relative;
  isolation:isolate;
  min-height:210px;
  padding:34px 0 32px;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#fffaf0;
  background:
    linear-gradient(90deg,rgba(0,18,10,.52),rgba(0,56,34,.12) 48%,rgba(0,18,10,.52)),
    linear-gradient(180deg,rgba(0,21,12,.28),rgba(0,39,23,.42)),
    var(--emerald-texture) center/cover no-repeat;
  border-block:1px solid rgba(221,190,87,.58);
  box-shadow:inset 0 16px 42px rgba(0,0,0,.14),inset 0 -16px 42px rgba(0,0,0,.18);
}
.ij-deliberation-divider::before,
.ij-deliberation-divider::after{
  content:"";
  position:absolute;
  z-index:-1;
  right:7%;
  left:7%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(231,204,111,.72) 24%,rgba(231,204,111,.72) 76%,transparent);
}
.ij-deliberation-divider::before{top:15px}
.ij-deliberation-divider::after{bottom:15px}
.ij-deliberation-divider .section-inner{
  width:min(100% - 40px,1120px);
  position:relative;
  text-align:center;
}
.ij-deliberation-kicker{
  margin:0 0 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#e0bf58;
  font-size:.62rem;
  font-weight:950;
  letter-spacing:.16em;
}
.ij-deliberation-kicker::before,
.ij-deliberation-kicker::after{
  content:"";
  width:44px;
  height:1px;
  background:linear-gradient(90deg,transparent,#d7b649);
}
.ij-deliberation-kicker::before{transform:scaleX(-1)}
.ij-deliberation-divider h2{
  margin:0;
  color:#fffdf7;
  font:950 clamp(1.7rem,3vw,2.55rem)/1.12 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-wrap:balance;
  text-shadow:0 3px 20px rgba(0,0,0,.28);
}
.ij-deliberation-flow{
  margin:14px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(14px,2vw,25px);
  color:rgba(255,253,246,.84);
  font:750 clamp(.9rem,1.35vw,1.04rem)/1.5 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-deliberation-flow strong{
  color:#e3c563;
  font-size:1.08em;
  font-weight:950;
}
.ij-deliberation-flow i{
  position:relative;
  width:44px;
  height:1px;
  flex:0 0 44px;
  background:linear-gradient(90deg,transparent,#c99f31,transparent);
}
.ij-deliberation-flow i::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:6px;
  height:6px;
  border:1px solid #d7b64e;
  background:#03472c;
  transform:translate(-50%,-50%) rotate(45deg);
}
.ij-deliberation-closing{
  margin:13px auto 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:rgba(255,252,242,.69);
  font-size:.72rem;
  font-weight:750;
  letter-spacing:.025em;
}
.ij-deliberation-closing b{
  width:4px;
  height:4px;
  border-radius:50%;
  background:#d6b449;
  box-shadow:0 0 12px rgba(222,190,82,.72);
}
@media(max-width:620px){
  .ij-deliberation-divider{min-height:236px;padding:31px 0 29px}
  .ij-deliberation-divider::before{top:12px}
  .ij-deliberation-divider::after{bottom:12px}
  .ij-deliberation-divider .section-inner{width:min(100% - 34px,1120px)}
  .ij-deliberation-kicker{font-size:.57rem}
  .ij-deliberation-kicker::before,
  .ij-deliberation-kicker::after{width:32px}
  .ij-deliberation-divider h2{font-size:1.7rem}
  .ij-deliberation-flow{
    margin-top:12px;
    display:grid;
    grid-template-columns:1fr;
    justify-items:center;
    gap:5px;
    font-size:.88rem;
  }
  .ij-deliberation-flow i{width:1px;height:12px;flex-basis:auto;background:linear-gradient(180deg,transparent,#c99f31,transparent)}
  .ij-deliberation-closing{margin-top:11px;font-size:.66rem}
}

/* Inner Judge - curled gold ornaments for the three section titles. */
.ij-recognition-pretitle{--ij-title-ornament:#e1c35e}
.ij-founder-section-title,
.ij-definition-section-title,
.ij-protocol-section-title{--ij-title-ornament:#c29a30}
.ij-recognition-pretitle::before,
.ij-recognition-pretitle::after,
.ij-founder-section-title::before,
.ij-founder-section-title::after,
.ij-definition-section-title::before,
.ij-definition-section-title::after,
.ij-protocol-section-title::before,
.ij-protocol-section-title::after{
  width:clamp(56px,8vw,108px);
  height:16px;
  flex:0 1 108px;
  background:
    radial-gradient(10px 7px at 50% 100%,transparent 68%,var(--ij-title-ornament) 72% 80%,transparent 84%) 0 0/20px 8px repeat-x,
    radial-gradient(10px 7px at 50% 0,transparent 68%,var(--ij-title-ornament) 72% 80%,transparent 84%) 10px 8px/20px 8px repeat-x;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);
  filter:drop-shadow(0 2px 3px rgba(108,77,7,.15));
}
@media(max-width:560px){
  .ij-recognition-pretitle::before,
  .ij-recognition-pretitle::after,
  .ij-founder-section-title::before,
  .ij-founder-section-title::after,
  .ij-definition-section-title::before,
  .ij-definition-section-title::after,
  .ij-protocol-section-title::before,
  .ij-protocol-section-title::after{
    width:52px;
    flex-basis:52px;
  }
}

/* Final questionnaire heading and confidentiality treatment. */
.inner-judge-page .ij-questionnaire-head h2{
  max-width:940px;
  margin-inline:auto;
  font-size:clamp(1.85rem,3.5vw,2.75rem);
  white-space:nowrap;
}
.inner-judge-page .ij-questionnaire-head>small{
  min-height:46px;
  width:min(100%,610px);
  margin:18px auto 0;
  padding:9px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:0;
  border-top:1px solid rgba(170,130,24,.35);
  border-bottom:1px solid rgba(170,130,24,.35);
  border-radius:0;
  color:#264d3b;
  background:linear-gradient(90deg,transparent,rgba(255,253,247,.9) 18%,rgba(255,253,247,.9) 82%,transparent);
  box-shadow:none;
  font:800 .76rem/1.55 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  letter-spacing:.01em;
}
.inner-judge-page .ij-questionnaire-head>small b{
  min-height:34px;
  padding:0 0 0 13px;
  display:inline-flex;
  align-items:center;
  border-left:1px solid rgba(174,134,29,.46);
  color:#9a7412;
  background:transparent;
  font:950 1.12rem/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  font-weight:950;
  letter-spacing:.09em;
}
.inner-judge-page .ij-questionnaire-head>small span{color:#234b39;font-weight:850}
@media(max-width:650px){
  .inner-judge-page .ij-questionnaire-head h2{
    gap:7px;
    font-size:clamp(1.08rem,4.6vw,1.4rem);
  }
  .inner-judge-page .ij-questionnaire-head h2::before,
  .inner-judge-page .ij-questionnaire-head h2::after{
    width:27px;
    flex-basis:27px;
  }
  .inner-judge-page .ij-questionnaire-head>small{
    width:100%;
    padding:9px 7px;
    gap:8px;
    font-size:.68rem;
  }
  .inner-judge-page .ij-questionnaire-head>small b{min-height:32px;padding-left:9px;font-size:1rem}
}
@media(max-width:390px){
  .inner-judge-page .ij-questionnaire-head h2{font-size:1.04rem}
  .inner-judge-page .ij-questionnaire-head h2::before,
  .inner-judge-page .ij-questionnaire-head h2::after{
    width:21px;
    flex-basis:21px;
  }
  .inner-judge-page .ij-questionnaire-head>small{font-size:.63rem}
}
@media(max-width:350px){
  .inner-judge-page .ij-questionnaire-head h2{gap:4px;font-size:.88rem}
  .inner-judge-page .ij-questionnaire-head h2::before,
  .inner-judge-page .ij-questionnaire-head h2::after{width:16px;flex-basis:16px}
}

/* Piskei din hero title - same typographic treatment as the Beit Din hero. */
.psakim-page .psakim-hero h1.levado-hero-title{
  display:block!important;
  margin:0!important;
  max-width:none!important;
  color:rgba(221,202,98,.28)!important;
  font-family:"Noto Sans Hebrew","Heebo",Arial,sans-serif!important;
  font-size:clamp(4rem,12vw,10rem)!important;
  font-weight:900!important;
  line-height:.82!important;
  letter-spacing:0!important;
  text-shadow:0 24px 60px rgba(0,0,0,.36)!important;
}
@media(max-width:640px){
  .psakim-page .psakim-hero h1.levado-hero-title{
    font-size:clamp(3.8rem,20vw,6rem)!important;
  }
}

/* Inner Judge - the inner court protocol. */
.ij-protocol{
  --ij-protocol-gold:#b88d20;
  position:relative;
  scroll-margin-top:150px;
  padding:clamp(74px,7vw,100px) 0 clamp(68px,6.5vw,92px);
  overflow:hidden;
  background:
    radial-gradient(circle at 10% 15%,rgba(0,78,47,.075),transparent 27%),
    radial-gradient(circle at 91% 84%,rgba(187,143,31,.105),transparent 25%),
    linear-gradient(90deg,rgba(141,106,20,.027) 1px,transparent 1px),
    linear-gradient(180deg,#f5efe2 0%,#ece2ce 100%);
  background-size:auto,auto,84px 100%,auto;
  border-block:1px solid rgba(177,136,28,.34);
}
.ij-protocol::before{
  content:"";
  position:absolute;
  inset:24px;
  border:1px solid rgba(154,116,18,.13);
  pointer-events:none;
}
.ij-protocol::after{
  content:"";
  position:absolute;
  top:0;
  right:9%;
  left:9%;
  height:1px;
  background:linear-gradient(90deg,transparent,#b8902b 19%,#b8902b 81%,transparent);
  pointer-events:none;
}
.ij-protocol .section-inner{
  position:relative;
  z-index:1;
  max-width:1110px;
}
.ij-protocol-heading{
  max-width:860px;
  margin:0 auto;
  text-align:center;
}
.ij-protocol-section-title{margin-bottom:clamp(34px,4vw,48px)}
.ij-protocol-heading h3{
  max-width:850px;
  margin:0 auto 18px;
  color:#063c28;
  font:950 clamp(2.25rem,4.4vw,3.7rem)/1.08 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-align:center;
  text-wrap:balance;
}
.ij-protocol-heading>span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  color:#96700e;
  font-size:.67rem;
  font-weight:950;
  letter-spacing:.16em;
}
.ij-protocol-heading>span::before,
.ij-protocol-heading>span::after{
  content:"";
  width:56px;
  height:1px;
  background:linear-gradient(90deg,transparent,#b78c20);
}
.ij-protocol-heading>span::before{transform:scaleX(-1)}
.ij-protocol-heading h2{
  max-width:850px;
  margin:15px auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  color:#063c28;
  font:950 clamp(2.25rem,4.4vw,3.7rem)/1.08 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-align:center;
  text-wrap:balance;
}
.ij-protocol-heading h2::before,
.ij-protocol-heading h2::after{
  content:"";
  width:clamp(48px,7vw,92px);
  height:16px;
  flex:0 1 92px;
  background:
    radial-gradient(10px 7px at 50% 100%,transparent 68%,var(--ij-protocol-gold) 72% 80%,transparent 84%) 0 0/20px 8px repeat-x,
    radial-gradient(10px 7px at 50% 0,transparent 68%,var(--ij-protocol-gold) 72% 80%,transparent 84%) 10px 8px/20px 8px repeat-x;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);
}
.ij-protocol-heading h2::before{transform:scaleX(-1)}
.ij-protocol-heading p{
  max-width:760px;
  margin:0 auto;
  color:#52675d;
  font-size:1rem;
  font-weight:650;
  line-height:1.85;
  text-wrap:balance;
}
.ij-protocol-sheet{
  position:relative;
  margin:clamp(42px,5vw,60px) auto 0;
  padding:0 clamp(24px,3vw,38px) clamp(25px,3vw,38px);
  overflow:hidden;
  border:1px solid rgba(159,119,18,.42);
  border-radius:2px;
  background:
    radial-gradient(circle at 50% 0,rgba(191,148,38,.07),transparent 34%),
    rgba(255,253,247,.76);
  box-shadow:0 28px 66px rgba(39,58,45,.11),inset 0 0 0 8px rgba(255,255,255,.33);
}
.ij-protocol-sheet::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(163,123,22,.13);
  pointer-events:none;
}
.ij-protocol-meta{
  min-height:63px;
  position:relative;
  z-index:1;
  padding:0 4px;
  display:flex;
  align-items:center;
  gap:18px;
  border-bottom:1px solid rgba(157,117,15,.3);
  color:#87670f;
  font-size:.64rem;
  font-weight:950;
  letter-spacing:.09em;
}
.ij-protocol-meta i{
  height:1px;
  flex:1;
  background:linear-gradient(90deg,transparent,rgba(170,128,20,.5),transparent);
}
.ij-protocol-meta b{
  padding-inline:5px;
  color:#b18825;
  font-size:.58rem;
}
.ij-protocol-steps{
  position:relative;
  z-index:1;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  list-style:none;
}
.ij-protocol-steps li{
  min-height:225px;
  position:relative;
  padding:30px clamp(20px,2.5vw,31px) 27px;
  display:grid;
  align-content:start;
  justify-items:center;
  text-align:center;
}
.ij-protocol-steps li:nth-child(n+4){border-top:1px solid rgba(17,74,50,.12)}
.ij-protocol-steps li:not(:nth-child(3n)){border-inline-end:1px solid rgba(17,74,50,.12)}
.ij-protocol-seal{
  width:45px;
  height:45px;
  position:relative;
  z-index:1;
  margin-bottom:16px;
  display:grid;
  place-items:center;
  border:1px solid rgba(169,127,20,.66);
  border-radius:50%;
  color:#8c680c;
  background:#fbf6e9;
  box-shadow:0 7px 18px rgba(88,67,13,.09),inset 0 0 0 5px rgba(188,147,40,.075);
  font:950 .92rem "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-protocol-seal::before{
  content:"";
  position:absolute;
  inset:-6px;
  border:1px solid rgba(166,124,18,.15);
  border-radius:50%;
}
.ij-protocol-steps small{
  display:block;
  color:#a17b18;
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.08em;
}
.ij-protocol-steps h3{
  margin:6px 0 10px;
  color:#0a4932;
  font:950 clamp(1.17rem,1.75vw,1.42rem)/1.35 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-protocol-steps p{
  max-width:270px;
  margin:0 auto;
  color:#5f6e67;
  font-size:.78rem;
  font-weight:650;
  line-height:1.72;
}
.ij-protocol-verdict{
  max-width:900px;
  position:relative;
  margin:clamp(34px,4vw,47px) auto 0;
  padding:clamp(27px,3vw,36px) clamp(62px,8vw,100px) 29px;
  overflow:hidden;
  border:1px solid rgba(223,193,91,.68);
  color:#fff;
  text-align:center;
  background-color:#003d27;
  background-image:var(--emerald-texture);
  background-position:center;
  background-size:cover;
  box-shadow:0 21px 50px rgba(0,46,28,.2),inset 0 0 0 8px rgba(0,22,12,.17);
}
.ij-protocol-verdict::before{
  content:"";
  position:absolute;
  inset:9px;
  border:1px solid rgba(232,207,117,.14);
  pointer-events:none;
}
.ij-protocol-verdict>span{
  position:absolute;
  top:4px;
  right:27px;
  color:#e2c45e;
  font:950 5rem/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  opacity:.36;
}
.ij-protocol-verdict p{
  position:relative;
  z-index:1;
  margin:0;
  color:#f4d873;
  font:950 clamp(1.62rem,3vw,2.25rem)/1.35 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-protocol-verdict footer{
  position:relative;
  z-index:1;
  margin-top:9px;
  color:rgba(255,255,255,.68);
  font-size:.76rem;
  font-weight:700;
  line-height:1.65;
}
@media(max-width:880px){
  .ij-protocol-sheet{max-width:720px}
  .ij-protocol-steps{grid-template-columns:repeat(2,1fr)}
  .ij-protocol-steps li{border:0!important}
  .ij-protocol-steps li:nth-child(-n+4){border-bottom:1px solid rgba(17,74,50,.12)!important}
  .ij-protocol-steps li:nth-child(odd){border-inline-end:1px solid rgba(17,74,50,.12)!important}
}
@media(max-width:620px){
  .ij-protocol{padding:58px 0 57px;background-size:auto,auto,64px 100%,auto}
  .ij-protocol::before{inset:14px}
  .ij-protocol .section-inner{width:min(100% - 34px,1110px)}
  .ij-protocol-heading>span{font-size:.6rem;letter-spacing:.12em}
  .ij-protocol-heading>span::before,
  .ij-protocol-heading>span::after{width:34px}
  .ij-protocol-heading h2{gap:10px;font-size:1.75rem;line-height:1.2}
  .ij-protocol-heading h2::before,
  .ij-protocol-heading h2::after{width:33px;flex-basis:33px}
  .ij-protocol-heading p{font-size:.89rem;line-height:1.78}
  .ij-protocol-section-title{margin-bottom:30px;gap:12px;font-size:1.5rem}
  .ij-protocol-section-title::before,
  .ij-protocol-section-title::after{width:37px;flex-basis:37px}
  .ij-protocol-heading h3{font-size:1.75rem;line-height:1.2}
  .ij-protocol-sheet{margin-top:34px;padding:0 18px 14px}
  .ij-protocol-meta{min-height:56px;gap:9px;font-size:.54rem;letter-spacing:.04em}
  .ij-protocol-meta i{min-width:25px}
  .ij-protocol-meta b{padding-inline:2px}
  .ij-protocol-steps{grid-template-columns:1fr;padding-block:6px}
  .ij-protocol-steps li{
    min-height:0;
    padding:22px 2px;
    grid-template-columns:48px 1fr;
    gap:0 15px;
    align-items:start;
    justify-items:stretch;
    text-align:right;
    border:0!important;
  }
  .ij-protocol-steps li:not(:last-child){border-bottom:1px solid rgba(17,74,50,.12)!important}
  .ij-protocol-seal{grid-column:1;grid-row:1;margin:3px 0 0;width:38px;height:38px}
  .ij-protocol-steps li>div{grid-column:2;grid-row:1}
  .ij-protocol-steps h3{margin:4px 0 7px;font-size:1.15rem}
  .ij-protocol-steps p{max-width:none;margin:0;font-size:.74rem;line-height:1.7}
  .ij-protocol-verdict{margin-top:30px;padding:28px 28px 25px}
  .ij-protocol-verdict>span{top:8px;right:16px;font-size:3.8rem}
  .ij-protocol-verdict p{padding-inline:12px;font-size:1.42rem}
  .ij-protocol-verdict footer{font-size:.69rem}
}
@media(max-width:370px){
  .ij-protocol-heading h2{font-size:1.57rem}
  .ij-protocol-heading h2::before,
  .ij-protocol-heading h2::after{width:25px;flex-basis:25px}
  .ij-protocol-meta{font-size:.49rem}
  .ij-protocol-meta i{min-width:13px}
  .ij-protocol-sheet{padding-inline:14px}
  .ij-protocol-heading h3{font-size:1.57rem}
}

/* Inner Judge - premium chamber layout for the method protocol. */
.ij-protocol-sheet{
  max-width:1060px;
  padding:0;
  border-color:rgba(141,103,11,.5);
  border-radius:4px;
  background:#fffdf7;
  box-shadow:0 34px 84px rgba(28,52,38,.16),0 3px 0 rgba(151,111,17,.13),inset 0 0 0 8px rgba(246,239,222,.82);
}
.ij-protocol-sheet::before{inset:8px;border-color:rgba(155,115,16,.16)}
.ij-protocol-meta{
  min-height:68px;
  padding:0 30px;
  border-bottom:1px solid rgba(224,194,92,.55);
  color:#f3d56e;
  background:
    linear-gradient(90deg,rgba(0,20,11,.48),rgba(0,56,34,.08),rgba(0,20,11,.48)),
    var(--emerald-texture) center/cover no-repeat;
  box-shadow:inset 0 -8px 22px rgba(0,0,0,.13);
  font-size:.62rem;
}
.ij-protocol-meta i{background:linear-gradient(90deg,transparent,rgba(231,202,100,.7),transparent)}
.ij-protocol-meta b{color:#e0c259}
.ij-protocol-phases{
  position:relative;
  z-index:1;
  padding:16px 34px 12px;
}
.ij-protocol-phase{
  min-height:156px;
  position:relative;
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  align-items:stretch;
  border-bottom:1px solid rgba(22,72,49,.14);
}
.ij-protocol-phase:last-child{border-bottom:0}
.ij-protocol-phase-head{
  position:relative;
  padding:25px 2px 23px 26px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
  border-inline-end:1px solid rgba(177,137,34,.28);
}
.ij-protocol-phase::before{
  content:attr(data-phase-letter);
  position:absolute;
  z-index:-1;
  top:50%;
  right:2px;
  color:rgba(173,132,28,.065);
  font:950 7.4rem/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  transform:translateY(-50%);
  pointer-events:none;
}
.ij-protocol-phase-head small{
  color:#a27a13;
  font-size:.56rem;
  font-weight:950;
  letter-spacing:.13em;
}
.ij-protocol-phase-head h3{
  margin:7px 0 7px;
  color:#073e29;
  font:950 1.38rem/1.2 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-protocol-phase-head p{
  max-width:165px;
  margin:0;
  color:#66756e;
  font-size:.68rem;
  font-weight:700;
  line-height:1.65;
}
.ij-protocol-phase-steps{
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  list-style:none;
}
.ij-protocol-phase-steps li{
  min-width:0;
  padding:25px clamp(18px,2.2vw,30px);
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:14px;
  align-items:center;
  text-align:right;
}
.ij-protocol-phase-steps li+li{border-inline-start:1px solid rgba(18,69,46,.12)}
.ij-protocol-phase-steps .ij-protocol-seal{
  width:40px;
  height:40px;
  margin:0;
  color:#e4c45a;
  border-color:rgba(203,163,53,.72);
  background:#06472f var(--emerald-texture) center/cover no-repeat;
  box-shadow:0 9px 22px rgba(0,54,33,.18),inset 0 0 0 4px rgba(0,25,13,.17);
}
.ij-protocol-phase-steps .ij-protocol-seal::before{border-color:rgba(170,128,20,.24)}
.ij-protocol-phase-steps small{
  display:block;
  color:#a17b18;
  font-size:.54rem;
  font-weight:950;
  letter-spacing:.07em;
}
.ij-protocol-phase-steps h4{
  margin:5px 0 7px;
  color:#0b4932;
  font:950 clamp(1.08rem,1.5vw,1.3rem)/1.3 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-protocol-phase-steps p{
  max-width:285px;
  margin:0;
  color:#5e6e66;
  font-size:.72rem;
  font-weight:680;
  line-height:1.68;
}
.ij-protocol-sheet-principle{
  min-height:66px;
  position:relative;
  z-index:1;
  padding:13px 32px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:center;
  border-top:3px double rgba(172,131,27,.42);
  background:linear-gradient(90deg,#f3ead6,#fffdf7 50%,#f3ead6);
}
.ij-protocol-sheet-principle span{
  color:#9a7210;
  font-size:.57rem;
  font-weight:950;
  letter-spacing:.11em;
}
.ij-protocol-sheet-principle strong{
  color:#184d38;
  font:900 .9rem/1.45 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
  text-align:center;
}
.ij-protocol-sheet-principle i{
  width:34px;
  height:34px;
  position:relative;
  display:block;
  border:1px solid rgba(169,126,18,.52);
  border-radius:50%;
  box-shadow:inset 0 0 0 4px #f8f0dc;
}
.ij-protocol-sheet-principle i::before,
.ij-protocol-sheet-principle i::after{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
}
.ij-protocol-sheet-principle i::before{
  content:"דין";
  color:#9a7210;
  background:transparent;
  font:950 .52rem/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif;
}
.ij-protocol-sheet-principle i::after{content:none}
.ij-protocol-verdict{
  max-width:760px;
  padding-top:24px;
  border-radius:2px;
}
.ij-protocol-verdict small{
  position:relative;
  z-index:1;
  margin-bottom:7px;
  display:block;
  color:rgba(244,218,121,.72);
  font-size:.56rem;
  font-weight:950;
  letter-spacing:.16em;
}
@media(max-width:900px){
  .ij-protocol-sheet{max-width:760px}
  .ij-protocol-phases{padding-inline:24px}
  .ij-protocol-phase{grid-template-columns:180px minmax(0,1fr)}
  .ij-protocol-phase-head{padding-left:19px}
  .ij-protocol-phase-steps li{padding-inline:18px;grid-template-columns:42px minmax(0,1fr);gap:11px}
  .ij-protocol-phase-steps .ij-protocol-seal{width:36px;height:36px}
}
@media(max-width:680px){
  .ij-protocol-sheet{padding:0}
  .ij-protocol-meta{min-height:57px;padding-inline:17px}
  .ij-protocol-phases{padding:10px 16px 8px}
  .ij-protocol-phase{grid-template-columns:1fr;min-height:0}
  .ij-protocol-phase::before{top:33px;right:3px;font-size:4rem;transform:none}
  .ij-protocol-phase-head{
    min-height:76px;
    padding:14px 53px 13px 4px;
    border-inline-end:0;
    border-bottom:1px solid rgba(177,137,34,.2);
  }
  .ij-protocol-phase-head h3{margin:4px 0 3px;font-size:1.18rem}
  .ij-protocol-phase-head p{max-width:none;font-size:.63rem}
  .ij-protocol-phase-steps{grid-template-columns:1fr}
  .ij-protocol-phase-steps li{min-height:102px;padding:17px 4px;grid-template-columns:42px minmax(0,1fr);gap:12px}
  .ij-protocol-phase-steps li+li{border-inline-start:0;border-top:1px solid rgba(18,69,46,.1)}
  .ij-protocol-phase-steps h4{font-size:1.08rem}
  .ij-protocol-phase-steps p{max-width:none;font-size:.7rem}
  .ij-protocol-sheet-principle{min-height:76px;padding:13px 18px;grid-template-columns:1fr auto;gap:5px 12px}
  .ij-protocol-sheet-principle span{grid-column:1}
  .ij-protocol-sheet-principle strong{grid-column:1;text-align:right;font-size:.78rem}
  .ij-protocol-sheet-principle i{grid-column:2;grid-row:1/3;width:30px;height:30px}
  .ij-protocol-verdict{padding-top:25px}
}
@media(max-width:370px){
  .ij-protocol-phases{padding-inline:13px}
  .ij-protocol-meta{padding-inline:13px;font-size:.49rem}
  .ij-protocol-phase-head{padding-right:47px}
  .ij-protocol-phase-steps li{grid-template-columns:39px minmax(0,1fr);gap:9px}
  .ij-protocol-phase-steps .ij-protocol-seal{width:34px;height:34px}
}

/* Timed visitor messages. */
body.visitor-promo-open{
  overflow:hidden!important;
}
.visitor-promo-modal{
  position:fixed;
  inset:0;
  z-index:3600;
  display:grid;
  place-items:center;
  padding:18px;
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease,visibility .3s ease;
}
.visitor-promo-modal[hidden]{display:none!important}
.visitor-promo-modal.is-visible{
  opacity:1;
  visibility:visible;
}
.visitor-promo-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,19,11,.7);
  -webkit-backdrop-filter:blur(9px) brightness(.62);
  backdrop-filter:blur(9px) brightness(.62);
}
.visitor-promo-dialog{
  position:relative;
  z-index:1;
  max-width:calc(100% - 36px);
  overflow:visible;
  padding:0;
  border:1px solid rgba(225,195,91,.62);
  border-radius:10px;
  background:#0a2117;
  box-shadow:
    0 34px 90px rgba(0,0,0,.5),
    0 0 0 6px rgba(226,199,103,.08),
    inset 0 0 0 1px rgba(255,255,255,.13);
  opacity:0;
  transform:translateY(22px) scale(.965);
  transition:opacity .34s ease,transform .46s cubic-bezier(.2,.8,.2,1);
}
.visitor-promo-dialog.is-light{
  width:min(88vw,620px,calc((100dvh - 38px) * 1.775));
}
.visitor-promo-dialog.is-dark{
  width:min(88vw,620px,calc((100dvh - 38px) * 1.3333));
}
.visitor-promo-modal.is-visible .visitor-promo-dialog{
  opacity:1;
  transform:translateY(0) scale(1);
}
.visitor-promo-media{
  position:relative;
  overflow:hidden;
  width:100%;
  border-radius:9px;
  background:#06150e;
}
.visitor-promo-media.is-light{
  aspect-ratio:1672 / 942;
  background:#eee5d9;
}
.visitor-promo-media.is-dark{
  aspect-ratio:4 / 3;
  background:#050402;
}
.visitor-promo-media img{
  display:block;
  width:100%;
  height:auto;
  user-select:none;
  -webkit-user-drag:none;
}
.visitor-promo-media.is-light img{
  transform:translateY(-12.36%);
}
.visitor-promo-close{
  position:absolute;
  z-index:3;
  top:-16px;
  right:-16px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(242,218,128,.78);
  border-radius:50%;
  color:#fff8d6;
  background:linear-gradient(145deg,#0b5a3b,#003721);
  box-shadow:0 10px 28px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.17);
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.visitor-promo-close span{
  display:block;
  font:300 2rem/1 Arial,sans-serif;
  transform:translateY(-1px);
}
.visitor-promo-close:hover,
.visitor-promo-close:focus-visible{
  outline:none;
  transform:scale(1.07);
  background:linear-gradient(145deg,#14734f,#00472b);
  box-shadow:0 12px 32px rgba(0,0,0,.4),0 0 0 4px rgba(225,195,91,.2);
}
@media(max-width:620px){
  .visitor-promo-modal{padding:12px}
  .visitor-promo-dialog.is-light,
  .visitor-promo-dialog.is-dark{
    width:min(86vw,330px,calc((100dvh - 26px) * 1.3333));
    max-width:calc(100% - 24px);
  }
  .visitor-promo-close{
    top:-12px;
    right:-8px;
    width:38px;
    height:38px;
  }
  .visitor-promo-close span{font-size:1.72rem}
}
@media(prefers-reduced-motion:reduce){
  .visitor-promo-modal,
  .visitor-promo-dialog,
  .visitor-promo-close{transition:none!important}
}
