@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);
  }
}

@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;
  }
}

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

  .home-books-feature .book-float-wrap{
    width:min(330px,86vw)!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{
  stroke-width:1.25;
  opacity:.38;
}
.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:760px){
  .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(230px,100%)!important;
  max-height:108px!important;
  object-fit:contain!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!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:20px;
  top:50%;
  width:15px;
  height:15px;
  border:3px solid #003018;
  border-radius:50%;
  transform:translateY(-55%);
  opacity:.85;
}
.moadim-search-wrap::after{
  content:"";
  position:absolute;
  left:18px;
  top:calc(50% + 8px);
  width:10px;
  height:3px;
  border-radius:999px;
  background:#003018;
  transform:rotate(-42deg);
  opacity:.85;
}
#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-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;
  }
}

/* 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;
    inset:auto 18px calc(18px + env(safe-area-inset-bottom)) 18px;
    display:grid;
    place-items:center;
    min-height:48px;
    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:inherit;
    font-weight:950;
    cursor:pointer;
    transform:translateY(0);
    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:translateY(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;
  }
}

/* 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;
}
