* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* v27 */
  --navy: #1b2a3b;
  --navy-light: #2c3e52;
  --gold: #b8952a;
  --gold-light: #d4aa40;
  --accent: #8b2635;
  --accent-hover: #6e1e2b;
  --white: #ffffff;
  --off-white: #f8f6f2;
  --text: #2a2420;
  --text-soft: #4a4440;
  --rule: #dcd8d0;
  color-scheme: light only;
}

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: #ffffff !important;
  color: #2a2420 !important;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* PAGE NAV */
.page-nav {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: center;
  gap: 0;
  position: sticky;
  top: 54px;
  z-index: 240;
  box-shadow: 0 1px 0 var(--rule);
}
.page-nav-link {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  padding: 14px 28px;
  border-right: 1px solid var(--rule);
  transition: color 0.2s, background 0.2s;
}
.page-nav-link:first-child { border-left: 1px solid var(--rule); }
.page-nav-link:hover { color: var(--navy); background: var(--off-white); }


.lang-bar {
  background: var(--navy);
  display: flex;
  justify-content: flex-end;
  padding: 0 48px;
  direction: ltr;
}
.lang-btn {
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.lang-btn:hover { color: rgba(255,255,255,0.9); }
.lang-btn.active { color: var(--gold-light); }

.lang-back-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold-light);
  font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer; transition: all 0.2s;
  align-items: center; gap: 0;
  margin-right: auto;
}
.lang-back-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* HEADER */
.page-header {
  background: var(--navy);
  padding: 60px 64px 56px;
}
.header-inner {
  max-width: 820px;
  margin: 0 auto;
}
.logo-band {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 250;
}
.logo-band-spacer {
  width: 40px;
  flex-shrink: 0;
}
.logo-band img {
  width: min(130px, 36vw);
  height: auto;
}
.header-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.header-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 6px;
}
.header-hebrew {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(212,170,64,0.6);
  direction: rtl;
  text-align: left;
  margin-top: 10px;
  letter-spacing: 0.03em;
}
.gold-bar {
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light) 30%, rgba(212,170,64,0.2));
}

/* BODY */
.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px 88px;
}

/* BIO */
.bio-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.bio-section p {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-soft);
  font-weight: 300;
  margin-bottom: 1.5em;
}
.bio-section p:last-child { margin-bottom: 0; }
.bio-section strong {
  font-weight: 400;
  color: var(--text);
}
.bio-section em {
  font-style: italic;
}

/* BLOCKQUOTES */
blockquote {
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding: 0.6em 1.2em;
  margin: 1.5em 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.8;
  background: rgba(139,38,53,0.04);
}
blockquote p { margin-bottom: 0; }

/* HERO CTA BUTTON */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 28px;
  margin-top: 28px;
  transition: background 0.25s, gap 0.2s;
  cursor: pointer;
  border: none;
  border-radius: 2px;
}
.hero-cta-btn:hover { background: var(--accent-hover); gap: 14px; }
html[lang="he"] .hero-cta-btn { flex-direction: row-reverse; }
html[lang="he"] .hero-cta-btn svg { transform: scaleX(-1); }

/* STATIONEN */
.stations-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--rule);
}
/* ── Career Timeline ── */
.timeline-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--rule);
}
.career-timeline {
  position: relative;
  margin-top: 32px;
  padding-left: 28px;
  max-width: 600px;
}
.career-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(184,149,42,0) 0%, rgba(184,149,42,0.45) 8%, rgba(184,149,42,0.45) 92%, rgba(184,149,42,0) 100%);
}
.tl-item {
  position: relative;
  padding-bottom: 36px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -33px;
  top: 7px;
  width: 11px;
  height: 11px;
  background: var(--gold, #b8952a);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184,149,42,0.12);
}
.tl-period {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold, #b8952a);
  margin-bottom: 5px;
}
.tl-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy, #1b2a3b);
  margin-bottom: 6px;
  line-height: 1.3;
}
.tl-desc {
  font-size: 14px;
  color: var(--text-soft, #5a6a7a);
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
}
/* RTL */
html[lang="he"] .career-timeline {
  padding-left: 0;
  padding-right: 28px;
}
html[lang="he"] .career-timeline::before {
  left: auto;
  right: 0;
}
html[lang="he"] .tl-dot {
  left: auto;
  right: -33px;
}
@media (max-width: 600px) {
  .career-timeline { padding-left: 22px; }
  .tl-dot { left: -27px; }
  html[lang="he"] .career-timeline { padding-left: 0; padding-right: 22px; }
  html[lang="he"] .tl-dot { right: -27px; }
}
.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: block;
}
.timeline {
  position: relative;
  padding-left: 22px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(184,149,42,0.15) 100%);
}
.station {
  position: relative;
  display: block;
  padding: 0 0 22px 0;
  border: none;
}
.station:last-child { padding-bottom: 0; }
.station::before {
  content: '';
  position: absolute;
  left: -26px; top: 5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold);
}
.station-period {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 3px;
}
.station-info strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.2;
}
.station-info span {
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.55;
  font-style: italic;
}

/* RTL (Hebrew) timeline fix */
html[lang="he"] .timeline {
  padding-left: 0;
  padding-right: 22px;
}
html[lang="he"] .timeline::before {
  left: auto;
  right: 0;
}
html[lang="he"] .station::before {
  left: auto;
  right: -26px;
}

/* CONTACT */
.ig-link-clean {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-soft);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.ig-link-clean:hover { color: var(--navy); }
.ig-link-clean svg { opacity: 0.6; }
.ig-link-clean:hover svg { opacity: 1; }
.ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 32px;
  transition: background 0.25s;
}
.ig-btn:hover { background: var(--gold); }

/* RESPONSIVE */
@media (max-width: 640px) {
  .page-header { padding: 48px 24px 44px; }
  .page-body { padding: 48px 24px 64px; }
  .lang-bar { padding: 0 24px; }
  .lang-back-btn { padding: 6px 20px 6px 4px; }
  .timeline { padding-left: 18px; }
  html[lang="he"] .timeline { padding-left: 0; padding-right: 18px; }
  .form-row { grid-template-columns: 1fr; }
}

.tab-bar { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 2px solid var(--rule); }
.tab-btn { background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-soft); padding: 12px 24px; cursor: pointer; transition: all 0.2s; }
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }

/* ARTICLES */
.articles-section { margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--rule); }
.articles-title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 30px); font-weight: 400; color: var(--text); margin-bottom: 28px; }

.torah-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.book-btn {
  background: var(--navy);
  color: #ffffff;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 8px;
  cursor: pointer;
  transition: background 0.22s;
  text-align: center;
}
.book-btn:hover { background: var(--gold); color: #ffffff; }

.back-btn {
  background: none;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  cursor: pointer;
  margin-bottom: 20px;
  display: inline-block;
  padding: 0;
  text-transform: uppercase;
}
.back-btn:hover { color: var(--navy); }

.parasha-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.parasha-btn {
  background: #fdfcfa;
  border: 1px solid var(--rule);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1a1815;
  padding: 14px 12px;
  cursor: pointer;
  transition: all 0.22s;
  text-align: center;
}
.parasha-btn:hover { background: var(--navy); color: #ffffff; border-color: var(--navy); }
.parasha-btn.has-articles { border-color: var(--gold); color: var(--gold); font-weight: 700; }

.nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  font-family: 'Raleway', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 0 4px;
  margin-left: 6px;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: middle;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.85);
}
.parasha-btn .nav-count { background: var(--gold); border-color: var(--gold); color: #fff; }
.parasha-btn:hover .nav-count { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }

.articles-list-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 400; color: var(--text); margin-bottom: 20px; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.article-card { border: 1px solid var(--rule); background: #fdfcfa; overflow: hidden; transition: border-color 0.22s, box-shadow 0.25s, transform 0.22s; display: flex; flex-direction: column; position: relative; }
.article-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width 0.35s ease; }
.article-card:hover::after { width: 100%; }
.article-card:hover { border-color: var(--navy); box-shadow: 0 6px 24px rgba(27,42,59,0.1); transform: translateY(-2px); }
.article-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.article-card-img-placeholder { width: 100%; height: 180px; background: linear-gradient(150deg, #111c2d 0%, #1b2a3b 60%, #1a3050 100%); display: block; position: relative; overflow: hidden; border-bottom: 3px solid var(--gold); }
.article-card-img-placeholder::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(184,149,42,0.18) 0%, transparent 70%); pointer-events: none; }
.article-card-img-placeholder::after { content: '\2721\FE0E'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%); font-size: 72px; color: rgba(184,149,42,0.55); line-height: 1; text-shadow: 0 0 30px rgba(184,149,42,0.3); font-family: 'Times New Roman', Times, serif; font-variant-emoji: text; }
.article-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.article-card-tag { font-family: 'Raleway', sans-serif; font-size: 8px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); background: rgba(184,149,42,0.08); border-left: 2px solid var(--gold); padding: 2px 7px; display: inline-block; margin-bottom: 9px; }
.article-card-date { font-family: 'Raleway', sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 7px; }
.article-card-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 500; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.article-card-excerpt { font-size: 13px; color: var(--text-soft); line-height: 1.75; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-card-readmore { font-family: 'Raleway', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 14px; display: flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.article-card:hover .article-card-readmore { gap: 9px; }
.articles-empty { font-size: 14px; color: var(--text-soft); font-style: italic; font-family: 'Playfair Display', serif; }
.latest-article-label { font-family: 'Raleway', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

@media (max-width: 540px) { .torah-nav { grid-template-columns: repeat(3, 1fr); } }


.inquiry-section {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--rule);
}
.inquiry-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.inquiry-sub {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.7;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-group label {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  border: 1px solid var(--rule);
  background: #fdfcfa;
  padding: 12px 14px;
  font-family: 'Source Serif 4', serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--navy); }
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 28px;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 4px;
}
.submit-btn:hover { background: var(--gold); }
.form-success { padding: 20px 0; }
.form-success p {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--gold);
}
.form-error { padding: 16px 0; display: none; }
.form-error p { font-family: 'Raleway', sans-serif; font-size: 13px; color: #c0392b; letter-spacing: 0.04em; }
.offline-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #c0392b; color: #fff;
  font-family: 'Raleway', sans-serif; font-size: 12px; letter-spacing: 0.08em;
  text-align: center; padding: 12px 24px;
  z-index: 999; display: none;
}
.photo-block {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.photo-credit {
  font-size: 10px;
  color: var(--text-soft);
  text-align: left;
  margin-top: 6px;
  margin-bottom: 0;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.05em;
  opacity: 0.6;
}
.photo-block img {
  width: 100%;
  max-width: 300px;
  display: block;
  object-fit: cover;
  object-position: center top;
}





/* HAMBURGER */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 302;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform-origin: center;
}
.hamburger-btn.active span { background: var(--gold-new); }
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hmenu-overlay { display: none; }

.hmenu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #08111f 0%, #0f1a2e 45%, #162240 75%, rgba(101,41,129,0.18) 100%);
  z-index: 301;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow-y: auto;
  padding: 100px 40px 60px;
  direction: ltr;
}
.hmenu.open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.hmenu-close {
  position: fixed;
  top: 18px; right: 18px;
  background: none;
  border: none;
  color: rgba(247,244,238,0.55);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  z-index: 303;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, transform 0.3s;
}
.hmenu-close:hover { color: var(--gold); transform: rotate(90deg); }

.hmenu-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 400px;
}

.hmenu-item {
  background: none;
  border: none;
  color: rgba(247,244,238,0.72);
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 15px 0;
  cursor: pointer;
  text-align: center;
  transition: color 0.25s, letter-spacing 0.25s;
  border-bottom: 1px solid rgba(212,175,55,0.12);
  width: 100%;
}
.hmenu-item:hover { color: var(--gold-light); letter-spacing: 0.05em; }
.hmenu-item-arrow { display: none; }

.hmenu-search-wrap { padding: 2px 0 8px; }
.hmenu-search-box {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px; padding: 10px 14px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.hmenu-search-box:focus-within { border-color: rgba(184,149,42,0.5); }
.hmenu-search-box svg { opacity: 0.45; flex-shrink: 0; color: #fff; }
.hmenu-search-box input {
  background: none; border: none; outline: none;
  color: rgba(247,244,238,0.9);
  font-family: 'Raleway', sans-serif;
  font-size: 12px; letter-spacing: 0.1em;
  width: 100%;
}
.hmenu-search-box input::placeholder { color: rgba(247,244,238,0.3); }
.hmenu-search-results { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; max-height: 240px; overflow-y: auto; }
.hmenu-search-result {
  background: rgba(255,255,255,0.05);
  border-radius: 4px; padding: 10px 12px;
  cursor: pointer; transition: background 0.15s;
  border: none; text-align: left; width: 100%; box-sizing: border-box;
  color: inherit;
}
.hmenu-search-result:hover { background: rgba(184,149,42,0.15); }
.hmenu-search-result-title { font-family: 'Playfair Display', serif; font-size: 13px; color: rgba(247,244,238,0.9); line-height: 1.35; }
.hmenu-search-none { font-size: 11px; color: rgba(247,244,238,0.35); font-style: italic; padding: 6px 2px; }
.hmenu-item.open .hmenu-item-arrow { transform: rotate(90deg); }

.hmenu-sub { display: none; flex-direction: column; padding-left: 0; gap: 0; border-left: 1px solid rgba(184,149,42,0.2); margin-left: 4px; padding-left: 16px; margin-top: 4px; }
.hmenu-sub.open { display: flex; }
.hmenu-sub-item {
  display: block; width: 100%; box-sizing: border-box;
  background: none; border: none;
  color: rgba(247,244,238,0.75);
  font-family: 'Raleway', sans-serif; font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 10px 0; cursor: pointer; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, padding-left 0.15s;
}
.hmenu-sub-item:last-child { border-bottom: none; }
.hmenu-sub-item:hover { color: var(--gold-light); padding-left: 4px; }
.hmenu-sub-item.has-articles { color: #d4a82a; font-weight: 700; }
.hmenu-sub-back {
  display: block;
  background: none; border: none;
  color: var(--gold); opacity: 0.6;
  font-family: 'Raleway', sans-serif; font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 6px 0 10px; cursor: pointer; text-align: left;
  transition: opacity 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 4px;
}
.hmenu-sub-back:hover { opacity: 1; }

.hmenu-admin-btn {
  background: none; border: none;
  color: rgba(247,244,238,0.22);
  font-family: 'Raleway', sans-serif; font-size: 9px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 2px 0; cursor: pointer; text-align: center;
  transition: color 0.2s;
}
.hmenu-admin-btn:hover { color: var(--gold-light); }

.hmenu-divider {
  height: 1px;
  background: rgba(212,175,55,0.15);
  margin: 20px 0;
  width: 100%;
  max-width: 400px;
}

.hmenu-langs {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hmenu-lang {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(247,244,238,0.45);
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 2px;
}
.hmenu-lang:hover, .hmenu-lang.active {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(212,175,55,0.06);
}

.hmenu-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(247,244,238,0.45);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}
.hmenu-ig:hover { color: var(--gold-light); }

.search-float {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
/* ── Staggered entrance animations ── */
.hmenu > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.hmenu.open > *:nth-child(1) { transition-delay: 0.04s; opacity: 1; transform: none; }
.hmenu.open > *:nth-child(2) { transition-delay: 0.10s; opacity: 1; transform: none; }
.hmenu.open > *:nth-child(3) { transition-delay: 0.17s; opacity: 1; transform: none; }
.hmenu.open > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: none; }
.hmenu.open > *:nth-child(5) { transition-delay: 0.31s; opacity: 1; transform: none; }
.hmenu.open > *:nth-child(6) { transition-delay: 0.38s; opacity: 1; transform: none; }
.hmenu.open > *:nth-child(7) { transition-delay: 0.44s; opacity: 1; transform: none; }
.hmenu.open > *:nth-child(8) { transition-delay: 0.50s; opacity: 1; transform: none; }
.hmenu.open > *:nth-child(9) { transition-delay: 0.56s; opacity: 1; transform: none; }
.hmenu.open > *:nth-child(10) { transition-delay: 0.62s; opacity: 1; transform: none; }



/* ── Language tab editor ── */
.lang-editor-section { margin-bottom: 0; }
.lang-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  background: #f0f1f3;
  padding: 5px;
  border-radius: 10px;
}
.lang-tab {
  padding: 9px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #999;
  border-radius: 8px;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.03em;
}
.lang-tab:hover { color: var(--navy); background: #e3e5e9; }
.lang-tab.active {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.lang-tab.has-content { color: #555; }
.lang-tab .tab-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.lang-tab.has-content .tab-dot { opacity: 1; }
.lang-panel { padding-top: 2px; }
.lang-panel input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 9px;
  font-size: 16px;
  font-family: 'Raleway', sans-serif;
  color: var(--navy);
  transition: border-color 0.2s;
}
.lang-panel input[type="text"]:focus { outline: none; border-color: var(--gold); }

/* SOCIAL BAR */
.social-bar {
  background: var(--navy);
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px 48px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}
.social-icon:hover { background: var(--gold); transform: scale(1.1); }


.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 48px 40px;
}
.footer-col-label {
  font-family: 'Raleway', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  color: rgba(247,244,238,0.9);
  margin-bottom: 6px;
}
.footer-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.4);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-link {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-link:hover { color: var(--gold); }
.footer-nav-sep { display: none; }
.footer-social-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social-link {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,244,238,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social-link:hover { color: var(--gold); }
.footer-cta-link {
  color: rgba(184,149,42,0.7);
  margin-top: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  padding: 18px 48px;
}
.footer-copy {
  font-size: 9px;
  color: rgba(247,244,238,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* BACK TO TOP */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, opacity 0.3s;
  z-index: 99;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
#back-to-top:hover { background: var(--gold); }
#back-to-top.visible { display: flex; }

/* INLINE SEARCH BAR (articles section) */
.articles-search-wrap {
  margin-bottom: 20px;
}
.articles-search-wrap input {
  width: 100%;
  border: 1px solid var(--rule);
  background: #fdfcfa;
  padding: 10px 16px 10px 40px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239a9185' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}
.articles-search-wrap input:focus { border-color: var(--navy); }
#articles-inline-results { margin-top: 16px; }

/* SEARCH */
.search-bar {
  margin-bottom: 28px;
}
.search-bar input {
  width: 100%;
  border: 1px solid var(--rule);
  background: #fdfcfa;
  padding: 11px 16px 11px 40px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239a9185' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}
.search-bar input:focus { border-color: var(--navy); }
.search-no-results { font-size: 14px; color: var(--text-soft); font-style: italic; font-family: 'Playfair Display', serif; padding: 16px 0; display: none; }

/* ARTICLE FULL VIEW */
.article-full-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,24,21,0.7);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.article-full-overlay.open { display: flex; }
.article-full-box {
  background: #fff;
  max-width: 700px;
  width: 100%;
  padding: 48px;
  position: relative;
}
.article-full-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-soft);
  line-height: 1;
}
.article-full-close:hover { color: var(--text); }
.article-full-date {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.article-full-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.3;
}
.article-full-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
}
.article-full-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-soft);
  font-weight: 300;
}
.article-full-text p {
  margin: 0 0 0.6em 0;
}
.art-spacer {
  height: 0.15em;
}
.article-full-share {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* legacy .share-btn kept for print/pdf buttons only */
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Raleway', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding: 9px 16px; border: 1px solid var(--rule);
  color: var(--text-soft); transition: all 0.2s; cursor: pointer; background: none;
}
.share-btn:hover { border-color: var(--navy); color: var(--navy); }

    /* ── ARTICLE FULL PAGE ───────────────────────────────────── */
    .article-full-overlay { display: none !important; }
    #article-page {
      display: none;
      max-width: 820px;
      margin: 0 auto;
      padding: 0 64px 80px;
    }
    @media(max-width:640px){ #article-page{ padding:0 24px 60px; } }
    .ap-back {
      background: none; border: none;
      font-family: 'Raleway', sans-serif; font-size: 10px; font-weight: 700;
      letter-spacing: .2em; text-transform: uppercase;
      color: var(--gold); cursor: pointer;
      display: inline-flex; align-items: center; gap: 6px;
      transition: color .2s; padding: 0;
    }
    .ap-back:hover { color: var(--navy); }
    .ap-reading-time { font-family:'Raleway',sans-serif; font-size:9px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--text-soft); opacity:0.6; }
    .ap-breadcrumb { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:14px; margin-top:6px; }
    .ap-breadcrumb-item { font-family:'Raleway',sans-serif; font-size:9px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--text-soft); opacity:0.55; }
    .ap-breadcrumb-sep { font-size:9px; color:var(--text-soft); opacity:0.3; }
    .ap-related { margin-top:64px; padding-top:32px; border-top:1px solid var(--rule); }
    .ap-related-title { font-family:'Raleway',sans-serif; font-size:10px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--text-soft); margin-bottom:20px; opacity:0.7; }
    .ap-lang-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
    .ap-lang-btn { background: none; border: 1px solid var(--rule); font-family: 'Raleway', sans-serif;
      font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
      color: var(--text-soft); padding: 5px 11px; cursor: pointer; transition: all .2s; }
    .ap-lang-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
    .ap-topbar { display: flex; align-items: center; justify-content: space-between;
      padding: 10px 0 14px; margin-bottom: 0; }
    #ap-parasha { font-family:'Raleway',sans-serif; font-size:12px; font-weight:700;
      letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:10px; margin-top:18px; }
    #ap-title { font-family: 'Playfair Display',serif; font-size: clamp(30px,4.5vw,52px);
      font-weight: 600; color: var(--text); margin-bottom: 24px; line-height: 1.2; }
    .ap-img-wrap { position: relative; margin-bottom: 32px; }
    #ap-date { font-family: 'Raleway',sans-serif; font-size: 9px; font-weight: 600;
      letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft);
      display: block; margin-bottom: 12px; opacity: 0.7; }
    #ap-img { width:100%; max-height:480px; object-fit:cover; display:block; }
    /* print-only logo */
    .ap-print-logo { display: none; }
    /* Reading progress bar */
    #ap-progress { position:fixed; top:0; left:0; height:3px; background:var(--gold); width:0%; z-index:9999; transition:width 0.15s linear; pointer-events:none; opacity:0; }
    #ap-progress.visible { opacity:1; }
    #ap-text { font-size:16px; line-height:1.8; color:var(--text-soft); font-weight:300; font-family:'Source Serif 4',Georgia,serif; }
    #ap-text p { margin-bottom:10px !important; font-size:16px !important; line-height:1.8 !important; color:var(--text-soft) !important; font-weight:300 !important; font-family:'Source Serif 4',Georgia,serif !important; }
    #ap-text span:not(.drop-cap):not(.drop-cap-rtl) { font-family:'Source Serif 4',Georgia,serif !important; font-size:inherit !important; font-weight:300 !important; color:var(--text-soft) !important; }
    #ap-text h1,#ap-text h2,#ap-text h3 { font-family:'Playfair Display',serif; color:var(--text); margin:28px 0 10px; }
    #ap-text strong, #ap-text b { font-weight:600 !important; color:var(--text) !important; }
    #ap-text em { font-style:italic; }
    #ap-text blockquote { border-left:3px solid var(--gold); margin:24px 0; padding:14px 22px; color:var(--text); font-style:italic; background:rgba(184,149,42,0.04); }
    /* Larger text on desktop/tablet */
    @media(min-width:768px) {
      #ap-text { font-size:19px; }
      #ap-text p { font-size:19px !important; }
    }
    /* Drop cap — injected as <span> by JS */
    .drop-cap {
      font-family:'Playfair Display',serif !important;
      font-size:5.8em !important;
      font-weight:700 !important;
      color:var(--gold) !important;
      float:left !important;
      line-height:0.68 !important;
      margin:0.08em 0.07em -0.05em 0 !important;
      padding:0 !important;
      display:block !important;
    }
    .drop-cap-rtl {
      font-family:'Frank Ruhl Libre',serif !important;
      float:right !important;
      margin:0.08em 0 -0.05em 0.07em !important;
    }
    @media(max-width:640px){
      .drop-cap { font-size:4.2em !important; line-height:0.72 !important; }
    }
    /* Lead paragraph — same weight as rest, only slightly larger */
    #ap-text > p:first-child { font-size:1.02em !important; color:var(--text-soft) !important; font-weight:300 !important; }
    /* Hebrew text — heavier weight, different spacing */
    #ap-text.ap-rtl p { font-size:18px !important; font-weight:400 !important; line-height:1.95 !important; }
    /* Gold ornamental divider */
    .ap-divider { display:flex; align-items:center; gap:14px; margin:28px 0 34px; }
    .ap-divider::before,.ap-divider::after { content:''; flex:1; height:1px; background:var(--gold); opacity:0.3; }
    .ap-divider-inner { color:var(--gold); font-size:13px; letter-spacing:0.45em; opacity:0.6; white-space:nowrap; }
    /* End rule */
    .ap-end-rule { border:none; border-top:1px solid var(--rule); margin:40px auto 0; width:60%; opacity:0.5; }
    /* Image */
    #ap-img { box-shadow:0 8px 32px rgba(0,0,0,0.14); }
    /* ── SHARE / ACTION BAR ─── */
    #ap-share { margin-top: 52px; padding-top: 28px; padding-bottom: 20px; border-top: 1px solid var(--rule); }
    .ap-share-header {
      display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
    }
    .ap-share-header::before, .ap-share-header::after {
      content: ''; flex: 1; height: 1px; background: var(--rule);
    }
    .ap-share-label {
      font-family: 'Raleway', sans-serif; font-size: 8px; font-weight: 700;
      letter-spacing: 0.38em; text-transform: uppercase;
      color: var(--text-soft); opacity: 0.45; white-space: nowrap; flex-shrink: 0;
    }
    .ap-share-row { display: flex; gap: 6px; flex-wrap: nowrap; align-items: center; }
    .share-icon-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 40px; height: 40px; border-radius: 50%;
      background: var(--navy); color: #fff; border: none;
      cursor: pointer; text-decoration: none; flex-shrink: 0;
      transition: background 0.25s ease, transform 0.2s ease;
      box-shadow: 0 2px 6px rgba(27,42,59,0.15);
    }
    .share-icon-btn svg { flex-shrink: 0; }
    .share-icon-btn:hover { background: var(--gold); transform: scale(1.08); }
    .share-icon-btn.btn-copied { background: #4a9e6b !important; }

    /* ── ADMIN PANEL ─────────────────────────────────────────── */
    .admin-fab { position:fixed; bottom:28px; right:28px; background:var(--navy); color:var(--gold-light); border:none;
      width:46px; height:46px; border-radius:50%; font-size:18px; cursor:pointer; z-index:500;
      display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(0,0,0,.25); transition:background .2s; }
    .admin-fab:hover { background:var(--gold); color:#fff; }
    .admin-overlay { position:fixed; inset:0; background:rgba(13,17,23,.88); z-index:600;
      display:none; align-items:flex-start; justify-content:center; padding:40px 16px; overflow-y:auto; }
    .admin-overlay.open { display:flex; }
    .admin-box { background:var(--off-white); max-width:700px; width:100%; padding:40px; position:relative; }
    .admin-box-title { font-family:'Playfair Display',serif; font-size:24px; font-weight:500; color:var(--navy); margin-bottom:28px; }
    .admin-close { position:absolute; top:14px; right:18px; background:none; border:none; font-size:22px; cursor:pointer; color:var(--text-soft); }
    .admin-section-title { font-family:'Raleway',sans-serif; font-size:9.5px; font-weight:700; letter-spacing:.28em;
      text-transform:uppercase; color:var(--gold); display:block; margin:28px 0 14px; }
    .aform-group { margin-bottom:18px; }
    .aform-group label { display:block; font-family:'Raleway',sans-serif; font-size:9px; font-weight:700;
      letter-spacing:.22em; text-transform:uppercase; color:var(--text-soft); margin-bottom:7px; }
    .aform-group input, .aform-group select, .aform-group textarea {
      width:100%; border:1px solid var(--rule); background:#fdfcfa; padding:10px 13px;
      font-family:'Source Serif 4',serif; font-size:14px; color:var(--text); outline:none;
      transition:border-color .2s; border-radius:0; -webkit-appearance:none; }
    .aform-group input:focus, .aform-group select:focus { border-color:var(--navy); }
    .aform-2col { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
    .admin-save-btn { background:var(--navy); color:#fff; border:none; font-family:'Raleway',sans-serif;
      font-size:10px; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
      padding:14px 28px; cursor:pointer; transition:background .2s; display:inline-flex; align-items:center; gap:8px; }
    .admin-save-btn:hover { background:var(--gold); }
    .admin-art-item { display:flex; justify-content:space-between; align-items:center; padding:10px 0;
      border-bottom:1px solid var(--rule); font-size:14px; gap:10px; }
    .admin-art-del { background:none; border:none; color:#8b0000; cursor:pointer; font-size:18px; flex-shrink:0; }
    #admin-msg { font-family:'Raleway',sans-serif; font-size:12px; color:var(--gold); margin-top:12px; min-height:18px; }
    #admin-pw-screen { text-align:center; padding:20px 0; }
    #admin-pw-screen input { padding:10px 14px; border:1px solid var(--rule); width:200px; outline:none; font-size:15px; }
    .ql-container.ql-snow { min-height:180px; font-size:15px; }

    /* ── PRINT ───────────────────────────────────────────────── */
    @media print {
      @page {
        size: A4;
        margin: 18mm 20mm 20mm 20mm;
      }

      /* Hide everything except the article */
      body > *:not(#article-page) { display: none !important; }
      .main-header, .main-footer, .page-band, .page-body,
      #loading-screen, #admin-overlay, #cookie-banner { display: none !important; }
      #article-page {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        box-shadow: none !important;
        background: #fff !important;
        color: #1a1a1a !important;
      }

      /* Hide UI elements inside article-page */
      #ap-progress,
      #ap-share,
      #ap-related,
      .ap-back,
      .ap-lang-bar,
      .print-btn-wrap,
      .admin-fab,
      .admin-preview-notice,
      #admin-preview-notice,
      .ap-divider { display: none !important; }

      /* ── Print logo header ── */
      .ap-print-logo {
        display: flex !important;
        align-items: center;
        gap: 14px;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 2px solid #c9a84c;
      }
      .ap-print-logo img {
        width: 56px;
        height: auto;
      }
      .ap-print-logo p {
        font-family: 'Raleway', Helvetica, Arial, sans-serif;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #2c3e52;
        line-height: 1.3;
      }
      .ap-print-logo p::after {
        content: '\A Rabbiner · elishaizizov.com';
        white-space: pre;
        display: block;
        font-size: 9px;
        font-weight: 400;
        letter-spacing: 0.12em;
        color: #888;
        margin-top: 2px;
      }

      /* ── Breadcrumb ── */
      #ap-breadcrumb {
        display: flex !important;
        margin-bottom: 10px;
      }
      .ap-breadcrumb-item {
        font-family: 'Raleway', Helvetica, Arial, sans-serif;
        font-size: 8px;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #888 !important;
      }
      .ap-breadcrumb-sep { color: #bbb !important; font-size: 8px; margin: 0 4px; }

      /* ── Parasha label ── */
      #ap-parasha {
        font-family: 'Raleway', Helvetica, Arial, sans-serif;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #c9a84c !important;
        margin-bottom: 10px;
      }

      /* ── Title ── */
      #ap-title {
        font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
        font-size: 30px;
        font-weight: 700;
        line-height: 1.25;
        color: #1b2a3b !important;
        margin-bottom: 14px;
        page-break-after: avoid;
      }

      /* ── Date and reading time ── */
      .ap-img-wrap {
        margin-bottom: 6px;
      }
      #ap-date {
        font-family: 'Raleway', Helvetica, Arial, sans-serif;
        font-size: 10px;
        color: #888 !important;
        letter-spacing: 0.06em;
      }
      .ap-reading-time {
        font-family: 'Raleway', Helvetica, Arial, sans-serif;
        font-size: 9px;
        color: #aaa !important;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }

      /* ── Article image ── */
      #ap-img {
        display: block !important;
        width: 100% !important;
        max-height: 340px;
        object-fit: cover;
        margin: 16px 0 22px;
        page-break-inside: avoid;
      }

      /* ── Gold divider line between meta and text ── */
      #ap-text::before {
        content: '';
        display: block;
        height: 1px;
        background: #c9a84c;
        margin-bottom: 22px;
        opacity: 0.4;
      }

      /* ── Body text ── */
      #ap-text {
        font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif !important;
        font-size: 11.5pt !important;
        line-height: 1.85 !important;
        color: #222 !important;
        font-weight: 400 !important;
      }
      #ap-text p {
        font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif !important;
        font-size: 11.5pt !important;
        line-height: 1.85 !important;
        color: #222 !important;
        font-weight: 400 !important;
        margin-bottom: 10px !important;
      }
      #ap-text h1, #ap-text h2, #ap-text h3 {
        font-family: 'Playfair Display', Georgia, serif !important;
        color: #1b2a3b !important;
        margin: 20px 0 8px !important;
        page-break-after: avoid;
      }
      #ap-text strong, #ap-text b {
        font-weight: 700 !important;
        color: #1a1a1a !important;
      }
      #ap-text em { font-style: italic; }
      #ap-text blockquote {
        border-left: 3px solid #c9a84c !important;
        margin: 18px 0 !important;
        padding: 10px 18px !important;
        color: #333 !important;
        font-style: italic;
        background: none !important;
        page-break-inside: avoid;
      }
      #ap-text.ap-rtl blockquote {
        border-left: none !important;
        border-right: 3px solid #c9a84c !important;
        padding: 10px 18px 10px 0 !important;
      }
      #ap-text span {
        font-family: 'Source Serif 4', Georgia, serif !important;
        font-size: inherit !important;
        color: inherit !important;
      }
      .drop-cap {
        float: left;
        font-size: 52pt !important;
        line-height: 0.82;
        margin: 4px 6px 0 0;
        font-family: 'Playfair Display', Georgia, serif !important;
        color: #c9a84c !important;
        font-weight: 700;
      }
      .drop-cap-rtl {
        float: right;
        font-size: 52pt !important;
        line-height: 0.82;
        margin: 4px 0 0 6px;
        font-family: 'Playfair Display', Georgia, serif !important;
        color: #c9a84c !important;
        font-weight: 700;
      }
      .ap-end-rule { border: none; border-top: 1px solid #ddd; margin: 24px 0 0; }
      .art-spacer { height: 8px; display: block; }

      /* ── RTL (Hebrew) ── */
      #ap-text.ap-rtl,
      #ap-text.ap-rtl p,
      #ap-text.ap-rtl span {
        direction: rtl !important;
        text-align: right !important;
        font-size: 13pt !important;
        line-height: 2 !important;
      }
      #ap-title[style*="rtl"],
      #ap-title[dir="rtl"] {
        text-align: right !important;
        direction: rtl !important;
        font-size: 26px;
      }

      /* ── Page footer attribution ── */
      #article-page::after {
        content: 'Verfasst von Rabbiner Elishai Zizov  ·  elishaizizov.com  ·  Alle Rechte vorbehalten';
        display: block;
        text-align: center;
        font-size: 8pt;
        color: #aaa;
        margin-top: 32px;
        padding-top: 10px;
        border-top: 1px solid #e0e0e0;
        font-family: 'Raleway', Helvetica, Arial, sans-serif;
        letter-spacing: 0.05em;
      }

      /* Avoid page breaks inside paragraphs */
      p, li, blockquote { page-break-inside: avoid; orphans: 3; widows: 3; }
    }

  
    /* ══════════════════════════════════════════════════
       DESIGN UPGRADE 2025
    ══════════════════════════════════════════════════ */

    /* ── Upgraded header ── */
    .page-header {
      background: linear-gradient(135deg, #111c2d 0%, #1b2a3b 55%, #1e3350 100%) !important;
      position: relative;
      overflow: hidden;
    }
    .page-header::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 80% 50%, rgba(184,149,42,0.08) 0%, transparent 60%);
      pointer-events: none;
    }
    .header-inner { position: relative; z-index: 1; }
    .header-name {
      background: linear-gradient(135deg, #ffffff 30%, rgba(212,170,64,0.85) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .gold-bar {
      height: 4px !important;
      background: linear-gradient(to right, rgba(184,149,42,0.2), var(--gold), var(--gold-light) 40%, rgba(212,170,64,0.15)) !important;
    }

    /* ── Upgraded lang bar ── */
    .lang-bar {
      background: linear-gradient(to bottom, #141f2e, #1b2a3b) !important;
      border-bottom: 1px solid rgba(184,149,42,0.18) !important;
    }
    .lang-btn {
      position: relative;
      transition: color 0.2s, background 0.2s !important;
    }
    .lang-btn.active {
      color: var(--gold-light) !important;
      background: rgba(184,149,42,0.12) !important;
    }
    .lang-btn:hover { background: rgba(255,255,255,0.05) !important; }

    /* ── Upgraded page nav ── */
    .page-nav {
      background: #fff;
      border-bottom: 1px solid var(--rule);
      box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    }
    .page-nav-link { transition: color 0.2s, background 0.2s, border-bottom 0.2s !important; border-bottom: 2px solid transparent !important; border-right: none !important; border-left: none !important; }
    .page-nav-link:hover { border-bottom-color: var(--gold) !important; background: transparent !important; color: var(--navy) !important; }
    .page-nav-link:first-child { border-left: none !important; }

    /* ── Upgraded article cards ── */
    .article-card {
      border: none !important;
      border-radius: 6px !important;
      box-shadow: 0 2px 12px rgba(27,42,59,0.08), 0 1px 3px rgba(0,0,0,0.06) !important;
      transition: box-shadow 0.25s, transform 0.22s !important;
      overflow: hidden;
      background: #fff !important;
    }
    .article-card:hover {
      box-shadow: 0 10px 36px rgba(27,42,59,0.14), 0 2px 8px rgba(184,149,42,0.1) !important;
      transform: translateY(-2px) !important;
    }
    .article-card-body { padding: 18px 20px 20px !important; }
    .article-card-title { line-height: 1.35 !important; }

    /* ── Upgraded section labels ── */
    .section-label {
      position: relative;
      display: flex !important;
      align-items: center;
      gap: 10px;
    }
    .section-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: linear-gradient(to right, var(--rule), transparent);
    }

    /* ── Upgraded bio section ── */
    .bio-section p { font-size: 16.5px !important; line-height: 1.9 !important; }

    /* ── Upgraded stations ── */
    .station { transition: background 0.2s; border-radius: 4px; }
    .station:hover .station-info strong { color: var(--gold); }

    /* ── Upgraded contact/inquiry ── */
    .submit-btn {
      border-radius: 2px;
      letter-spacing: 0.18em !important;
      transition: background 0.25s, box-shadow 0.2s !important;
      box-shadow: 0 2px 8px rgba(27,42,59,0.15);
    }
    .submit-btn:hover { box-shadow: 0 4px 16px rgba(184,149,42,0.3) !important; }
    .form-group input:focus, .form-group textarea:focus {
      box-shadow: 0 0 0 3px rgba(184,149,42,0.12) !important;
    }

    /* ── Upgraded social bar ── */
    .social-bar {
      background: linear-gradient(to bottom, #1b2a3b, #111c2d) !important;
      padding: 20px 48px !important;
    }
    .social-icon {
      border-radius: 50%;
      background: rgba(255,255,255,0.07) !important;
      border: 1px solid rgba(255,255,255,0.08) !important;
      transition: background 0.25s, transform 0.2s, border-color 0.2s !important;
    }
    .social-icon:hover {
      background: var(--gold) !important;
      border-color: var(--gold) !important;
      transform: scale(1.12) !important;
    }

    /* ── Upgraded footer ── */
    .site-footer {
      background: #0d1623 !important;
      border-top: 1px solid rgba(184,149,42,0.2) !important;
    }

    /* ── Upgraded hamburger menu ── */
    .hmenu {
      background: linear-gradient(160deg, #111c2d 0%, #1b2a3b 100%) !important;
      box-shadow: 4px 0 32px rgba(0,0,0,0.4) !important;
    }
    .hmenu-item { border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
    .hmenu-item:hover { color: var(--gold-light) !important; background: rgba(184,149,42,0.07) !important; padding-left: 4px !important; transition: padding-left 0.2s !important; }

    /* ── Back-to-top button ── */
    .back-to-top { border-radius: 50% !important; box-shadow: 0 4px 16px rgba(0,0,0,0.25) !important; }

    /* ── Book/Parasha buttons ── */
    .book-btn { border-radius: 3px !important; transition: background 0.2s, transform 0.15s !important; }
    .book-btn:hover { transform: translateY(-1px) !important; }
    .parasha-btn { border-radius: 3px !important; transition: all 0.2s !important; }
    .parasha-btn.has-articles { box-shadow: 0 0 0 1px var(--gold) !important; }

    /* ── Scrollbar ── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #f0ede8; }
    ::-webkit-scrollbar-thumb { background: rgba(184,149,42,0.4); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--gold); }

  
/* ── PREMIUM ADMIN PANEL DESIGN ── */
.admin-overlay {
  background: rgba(17, 28, 45, 0.85);
  backdrop-filter: blur(8px);
}
.admin-box {
  background: #fdfbf7;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  border: 1px solid rgba(184,149,42,0.3);
  padding: 40px;
  max-width: 800px;
  width: 90%;
  height: 85vh;
  overflow-y: auto;
}
.admin-box-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(184,149,42,0.2);
  padding-bottom: 10px;
}
.admin-section-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  margin: 30px 0 15px;
  font-weight: 600;
}
.aform-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.aform-group label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 8px;
  font-weight: 500;
}
.aform-group input[type="text"],
.aform-group input[type="date"],
.aform-group select {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Raleway', sans-serif;
  background: #fff;
  transition: all 0.2s ease;
}
.aform-group input:focus,
.aform-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,149,42,0.1);
}
.file-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border: 1px dashed #ccc;
  padding: 15px;
  border-radius: 6px;
}
.file-upload-btn {
  background: var(--gold);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.file-upload-btn:hover {
  background: var(--gold-light);
}
.ql-toolbar.ql-snow {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-color: #ddd !important;
  background: #f9f9f9;
}
.ql-container.ql-snow {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-color: #ddd !important;
  min-height: 150px;
}
.admin-save-btn {
  background: linear-gradient(135deg, var(--gold) 0%, #a38221 100%);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(184,149,42,0.3);
  transition: all 0.2s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.admin-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,149,42,0.4);
}
.admin-art-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.admin-art-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


/* ── ADMIN PANEL ── */
.admin-overlay {
  background: rgba(8, 12, 22, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.admin-overlay.open { display: flex; }
.admin-box {
  background: #eef0f4;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55);
  width: 100%;
  max-width: 1080px;
  max-height: 94vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.admin-header-bar {
  background: linear-gradient(135deg, #0d1b3e 0%, #1c2f60 100%);
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-radius: 20px 20px 0 0;
  gap: 16px;
}
.admin-header-bar h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #fff;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex: 1;
}
.admin-draft-badge {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.12);
  padding: 5px 14px;
  border-radius: 20px;
  display: none;
  white-space: nowrap;
}
.admin-draft-badge.visible { display: inline-block; }
.admin-close-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.admin-close-btn:hover { background: rgba(255,255,255,0.28); }
.admin-body {
  padding: 28px;
  flex: 1;
  overflow-y: auto;
}
.admin-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.admin-card-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold);
  font-weight: 800;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-card-title::before {
  content: '';
  display: inline-block;
  width: 3px; height: 16px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
/* keep old class as alias */
.admin-section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--gold);
  font-weight: 800;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-section-title::before {
  content: '';
  display: inline-block;
  width: 3px; height: 16px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
/* Lang progress */
.lang-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.lang-progress-label {
  font-size: 12px;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lang-progress-count {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 20px;
  background: #f0f1f3;
  color: #888;
  transition: all 0.3s;
}
.lang-progress-count.partial { background: #fef9c3; color: #b45309; }
.lang-progress-count.complete { background: #dcfce7; color: #15803d; }
/* Copy-from-DE button */
.copy-de-btn {
  background: #f3f4f6;
  border: 1px solid #e0e2e7;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 7px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.18s;
  letter-spacing: 0.04em;
}
.copy-de-btn:hover { background: #e3e5e9; color: var(--navy); border-color: #c6c9d0; }
/* Form grid */
.aform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .admin-overlay { padding: 0; align-items: flex-start; }
  .admin-box {
    border-radius: 0;
    max-height: 100dvh;
    height: 100dvh;
  }
  .admin-header-bar {
    padding: 14px 18px;
    border-radius: 0;
    gap: 10px;
  }
  .admin-header-bar h2 { font-size: 17px; }
  .admin-draft-badge { display: none !important; }
  .admin-close-btn { width: 36px; height: 36px; font-size: 19px; }
  .admin-body { padding: 12px; }
  .admin-card { padding: 16px 14px; margin-bottom: 12px; border-radius: 10px; }
  .admin-card-title { margin-bottom: 14px; font-size: 11px; }
  .aform-grid { grid-template-columns: 1fr; gap: 12px; }
  .aform-group input[type="text"],
  .aform-group input[type="date"],
  .aform-group select { padding: 14px 14px; font-size: 16px; }
  .lang-tabs { padding: 4px; gap: 3px; }
  .lang-tab { padding: 8px 11px; font-size: 12px; }
  .lang-panel input[type="text"] { padding: 14px 14px; font-size: 16px; }
  .ql-container.ql-snow { min-height: 220px; font-size: 16px; }
  .admin-save-btn { padding: 16px 24px; font-size: 15px; }
  .admin-list-search { padding: 13px 14px; font-size: 16px; }
  .admin-art-item { padding: 12px 14px; }
  .admin-art-title { font-size: 14px; }
  .admin-art-actions button { padding: 8px 12px; font-size: 12px; }
}
.aform-group { display: flex; flex-direction: column; }
.aform-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
  margin-bottom: 8px;
  font-weight: 700;
}
.aform-group input[type="text"],
.aform-group input[type="date"],
.aform-group select {
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 9px;
  font-size: 15px;
  font-family: 'Raleway', sans-serif;
  background: #fff;
  transition: border-color 0.2s;
  color: var(--navy);
}
.aform-group input:focus, .aform-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,149,42,0.12);
}
/* Image upload */
.premium-upload-box {
  border: 2px dashed #d1d5db;
  background: #fafafa;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  display: block;
}
.premium-upload-box:hover {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(184,149,42,0.12);
}
.premium-upload-icon { font-size: 34px; margin-bottom: 10px; }
.premium-upload-text { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.premium-upload-subtext { font-size: 12px; color: #bbb; }
#af-image-file { display: none; }
/* Custom editor (replaces Quill — no external CDN needed) */
.quill-wrapper {
  background: #fff;
  border-radius: 9px;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  margin-bottom: 0;
  transition: border-color 0.2s;
}
.quill-wrapper:focus-within { border-color: var(--gold); }
.editor-toolbar {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  padding: 6px 10px 6px 4px;
  border-bottom: 1px solid #e5e7eb;
  background: #fafafa;
  align-items: center;
}
.editor-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 13px;
  cursor: pointer;
  color: #555;
  line-height: 1.4;
  min-width: 28px;
}
.editor-btn:hover { background: #f0f0f0; border-color: #bbb; }
.custom-editor {
  min-height: 260px;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  line-height: 1.75;
  color: #222;
  font-family: inherit;
}
.custom-editor:focus { outline: none; }
.custom-editor h2, .custom-editor h3 { margin: 12px 0 6px; }
.custom-editor p { margin: 0 0 8px; }
.custom-editor ul, .custom-editor ol { padding-left: 22px; margin: 0 0 8px; }

/* Publish button */
.admin-save-btn {
  background: linear-gradient(135deg, var(--gold) 0%, #9e7f22 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 18px 40px;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(184,149,42,0.32);
  transition: all 0.25s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 0;
}
.admin-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(184,149,42,0.42);
}
/* Article list */
.admin-list-search {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 9px;
  font-size: 15px;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 16px;
  transition: border-color 0.2s;
  color: var(--navy);
  background: #fafafa;
}
.admin-list-search:focus { outline: none; border-color: var(--gold); }
.admin-art-list { display: flex; flex-direction: column; gap: 9px; }
.admin-art-item {
  background: #fafafa;
  border: 1px solid #e8eaed;
  border-left: 4px solid var(--gold);
  border-radius: 9px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.18s;
}
.admin-art-item:hover { background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.07); }
.admin-art-info { flex: 1; min-width: 0; }
.admin-art-title {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-art-meta { font-size: 12px; color: #aaa; margin-top: 3px; }
.admin-art-actions { display: flex; gap: 6px; flex-shrink: 0; margin-left: 12px; }
.admin-art-actions button {
  background: #f3f4f6;
  border: none;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s;
  letter-spacing: 0.04em;
}
.admin-art-actions button.edit-btn { color: var(--navy); }
.admin-art-actions button.edit-btn:hover { background: #dbeafe; color: #1d4ed8; }
.admin-art-actions button.del-btn { color: #dc2626; background: #fef2f2; }
.admin-art-actions button.del-btn:hover { background: #fee2e2; }

/* ── EDIT BANNER ── */
.admin-edit-banner {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.admin-edit-banner strong { font-weight: 800; }
.admin-edit-banner-cancel {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.admin-edit-banner-cancel:hover { background: rgba(255,255,255,0.35); }

/* ── STICKY PUBLISH BAR ── */
.admin-sticky-bar {
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.admin-sticky-langs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}
.admin-lang-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  background: #f3f4f6;
  color: #aaa;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.admin-lang-pill.done { background: #dcfce7; color: #15803d; }
.admin-sticky-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.admin-sticky-msg {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.admin-sticky-cancel {
  background: transparent;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  white-space: nowrap;
}
.admin-sticky-cancel:hover { border-color: #dc2626; color: #dc2626; }
.admin-preview-btn {
  background: transparent;
  border: 1.5px solid rgba(184,149,42,0.45);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.admin-preview-btn:hover { background: rgba(184,149,42,0.12); border-color: var(--gold); }
.admin-publish-btn {
  background: linear-gradient(135deg, var(--gold) 0%, #9e7f22 100%);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(184,149,42,0.3);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.admin-publish-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,149,42,0.4); }
.admin-publish-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.admin-publish-btn .spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.admin-publish-btn.loading .spinner { display: inline-block; }
.admin-publish-btn.loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── TOAST ── */
.admin-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  background: #1e293b;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 99999;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
  pointer-events: none;
}
.admin-toast.visible { transform: translateX(-50%) translateY(0); }
.admin-toast.success { background: #15803d; }
.admin-toast.error { background: #dc2626; }
.admin-toast.info { background: #1e40af; }

/* ── QUILL EXTRA BAR (word count + fullscreen) ── */
.quill-extra-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ql-word-count {
  font-size: 12px;
  color: #aaa;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
}
.ql-fullscreen-btn {
  background: transparent;
  border: 1px solid #e0e2e7;
  color: #888;
  font-size: 15px;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}
.ql-fullscreen-btn:hover { background: #e8e9ec; color: var(--navy); border-color: #c6c9d0; }

/* ── FULLSCREEN QUILL ── */
.quill-wrapper.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  border-radius: 0 !important;
  border: none !important;
  display: flex;
  flex-direction: column;
  max-height: 100dvh;
  background: #fff;
}
.quill-wrapper.fullscreen .quill-extra-bar {
  background: #0d1b3e;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 10px 20px;
  flex-shrink: 0;
}
.quill-wrapper.fullscreen .ql-word-count { color: rgba(255,255,255,0.55); font-size: 13px; }
.quill-wrapper.fullscreen .ql-fullscreen-btn {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 16px;
  padding: 5px 10px;
}
.quill-wrapper.fullscreen .ql-fullscreen-btn:hover { background: rgba(255,255,255,0.28); }
.quill-wrapper.fullscreen .editor-toolbar { flex-shrink: 0; background: #1a2a4a; border-color: rgba(255,255,255,0.15); }
.quill-wrapper.fullscreen .editor-btn { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.quill-wrapper.fullscreen .editor-btn:hover { background: rgba(255,255,255,0.25); }
.quill-wrapper.fullscreen .custom-editor {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  font-size: 18px;
  line-height: 1.8;
  padding: 20px 10%;
}

/* ── MOBILE STICKY BAR ── */
@media (max-width: 640px) {
  .admin-sticky-bar { padding: 10px 14px; gap: 8px; flex-wrap: nowrap; }
  .admin-sticky-langs { display: none; }
  .admin-publish-btn { padding: 12px 20px; font-size: 13px; flex: 1; justify-content: center; }
  .admin-sticky-cancel { padding: 10px 14px; font-size: 12px; }
  .admin-sticky-msg { font-size: 12px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .admin-edit-banner { padding: 8px 14px; font-size: 13px; }
}


/* ── MULTI-PAGE NAV ACTIVE STATE ── */
.page-nav-link.active {
  color: var(--navy);
  border-bottom: 2px solid var(--navy) !important;
}

/* ── FOOTER RESPONSIVE ── */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 28px 32px;
  }
  .footer-bottom { padding: 16px 28px; }
  .page-nav { top: 48px; }
}


/* ══════════════════════════════════════════════════════════
   MAJOR UPGRADE 2026 — New Design System
══════════════════════════════════════════════════════════ */

:root {
  --purple: #652981;
  --purple-h: #7a3199;
  --blue: #005a87;
  --blue-h: #0072ad;
  --gold-new: #D4AF37;
  --bg-cream: #F5F5F2;
  --text-main: #313131;
  --text-muted: #666666;
}

/* ── MAIN HEADER ── */
.main-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s;
}
.main-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.mh-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.mh-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  margin-right: 8px;
}
.mh-logo img { height: 36px; width: auto; }
.mh-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.mh-nav-link {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  padding: 8px 18px;
  position: relative;
  transition: color 0.2s;
}
.mh-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 18px; right: 18px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.mh-nav-link:hover { color: var(--navy); }
.mh-nav-link:hover::after,
.mh-nav-link.active::after { transform: scaleX(1); }
.mh-nav-link.active { color: var(--navy); }
.mh-langs {
  display: flex;
  align-items: center;
  background: var(--navy);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.mh-langs .lang-btn {
  padding: 7px 10px;
  font-size: 9px;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
}
.mh-langs .lang-btn:first-child { border-left: none; }
.mh-back-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold-light);
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-inline-start: auto;
}
.mh-back-btn:hover { color: #fff; background: rgba(0,0,0,0.06); }
.mh-back-btn svg { display: block; }
html[lang="he"] .mh-inner { direction: rtl; }
html[lang="he"] .mh-logo { margin-right: 0; margin-left: 8px; }
html[lang="he"] .mh-back-btn { margin-inline-start: 0; margin-inline-end: auto; }

@media (max-width: 1024px) {
  .mh-nav { display: none; }
  .mh-langs {
    background: transparent;
    border-radius: 0;
    border-left: 1px solid var(--rule);
  }
  .mh-langs .lang-btn {
    background: none;
    border: none;
    color: var(--text-soft);
    border-left: 1px solid var(--rule);
    padding: 7px 8px;
  }
  .mh-langs .lang-btn:first-child { border-left: none; }
  .mh-langs .lang-btn.active { color: var(--navy); }
}
@media (min-width: 1025px) {
  .hamburger-btn { display: none; }
}
@media (max-width: 768px) {
  .mh-inner { padding: 0 12px; gap: 6px; height: 56px; }
  .mh-logo img { height: 30px; }
}

/* ── HERO SECTION ── */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: var(--navy);
}
@media (min-width: 1025px) { .hero-section { height: 640px; } }
@media (max-width: 640px) { .hero-section { height: 420px; } }
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
}
.hero-slide:nth-child(1) .hero-slide-bg { background: linear-gradient(135deg, #0d1623 0%, #1b2a3b 55%, rgba(101,41,129,0.28) 100%); }
.hero-slide:nth-child(2) .hero-slide-bg { background: linear-gradient(135deg, #0a1825 0%, #0d2135 55%, rgba(0,90,135,0.38) 100%); }
.hero-slide:nth-child(3) .hero-slide-bg { background: linear-gradient(135deg, #110d1e 0%, #1a2230 55%, rgba(101,41,129,0.22) 100%); }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,175,55,0.07) 0%, transparent 65%);
}
.hero-slide.has-image .hero-slide-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.62) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 80px;
  max-width: 800px;
  width: 100%;
}
.hero-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-decor::before,
.hero-decor::after {
  content: '';
  width: 52px; height: 1px;
  background: rgba(212,175,55,0.4);
}
.hero-decor-star {
  color: var(--gold-new);
  font-size: 10px;
  letter-spacing: 6px;
  opacity: 0.65;
}
.hero-quote {
  font-family: 'Merriweather', 'Playfair Display', serif;
  font-size: clamp(17px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  border: none;
  padding: 0;
  margin: 0 0 28px;
  background: none;
  text-align: center;
}
.hero-quote p {
  margin: 0 0 18px;
}
.hero-quote p::before { content: '\201C'; font-size: 1.3em; color: var(--gold-new); opacity: 0.7; line-height: 0; vertical-align: -0.25em; margin-inline-end: 3px; }
.hero-quote p::after  { content: '\201D'; font-size: 1.3em; color: var(--gold-new); opacity: 0.7; line-height: 0; vertical-align: -0.25em; margin-inline-start: 3px; }
.hero-quote cite {
  display: block;
  font-style: normal;
  font-family: 'Raleway', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-new);
  opacity: 0.8;
}
html[lang="he"] .hero-content { direction: rtl; }
html[lang="he"] .hero-quote {
  text-align: center;
  font-style: normal;
  font-family: 'Frank Ruhl Libre', 'Merriweather', serif;
}
html[lang="he"] .hero-quote p::before,
html[lang="he"] .hero-quote p::after { content: ''; }
html[lang="he"] .hero-quote cite { text-align: center; letter-spacing: 0.08em; }

/* Carousel controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, color 0.22s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.carousel-control:hover { background: rgba(212,175,55,0.5); color: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-control.prev { left: 20px; }
.carousel-control.next { right: 20px; }
/* Prevent body direction:rtl from mirroring the arrow glyphs */
.carousel-control { direction: ltr; unicode-bidi: bidi-override; }
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  cursor: pointer;
  transition: background 0.22s, transform 0.22s;
  border: none;
  padding: 0;
}
.carousel-dot.active { background: var(--gold-new); transform: scale(1.35); }
@media (max-width: 640px) {
  .carousel-control { width: 36px; height: 36px; font-size: 13px; }
  .carousel-control.prev { left: 10px; }
  .carousel-control.next { right: 10px; }
  .hero-content { padding: 0 60px; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  line-height: 1;
}
.primary-btn { background: var(--purple); color: #fff !important; border-color: var(--purple); }
.primary-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff !important; }
.secondary-btn { background: transparent; color: var(--purple) !important; border-color: var(--purple); }
.secondary-btn:hover { background: var(--purple); color: #fff !important; }
.gold-btn { background: var(--gold-new); color: #1a1200 !important; border-color: var(--gold-new); }
.gold-btn:hover { background: #c8a230; border-color: #c8a230; }

/* ── PAGE BAND (sub-header for non-home pages) ── */
.page-band {
  background: linear-gradient(135deg, #111c2d 0%, #1b2a3b 55%, #1e3350 100%);
  padding: 52px 40px 48px;
  position: relative;
  overflow: hidden;
}
.page-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(184,149,42,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-band-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-band-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  display: block;
}
.page-band-title {
  font-family: 'Merriweather', 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.page-band-hebrew {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 16px;
  color: rgba(212,170,64,0.55);
  direction: rtl;
  margin-top: 8px;
  letter-spacing: 0.03em;
}
.page-band-gold {
  height: 3px;
  background: linear-gradient(to right, rgba(184,149,42,0.2), var(--gold), var(--gold-light) 30%, rgba(212,170,64,0.1));
}
html[lang="he"] .page-band-inner { direction: rtl; text-align: right; }
@media (max-width: 640px) { .page-band { padding: 40px 24px 36px; } }

/* ── CONTENT CARDS (enhanced) ── */
.content-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,42,59,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.content-card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(27,42,59,0.14); }
.content-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.card-image { width: 100%; height: 200px; background-size: cover; background-position: center; flex-shrink: 0; }
.card-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-category { display: block; font-family: 'Raleway', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; }
.card-title { font-family: 'Merriweather', 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; line-height: 1.35; }
.card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 14px; }
.card-read-more { font-family: 'Raleway', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.content-card:hover .card-read-more { gap: 9px; }

/* ── FAT FOOTER ── */
.main-footer {
  background: linear-gradient(160deg, #0d1623 0%, #111c2d 60%, #1a2440 100%);
  border-top: 1px solid rgba(184,149,42,0.2);
  padding-top: 64px;
}
.mf-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 56px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.mf-brand-logo { display: none; }
.mf-brand-name { font-family: 'Playfair Display', serif; font-size: 16px; font-style: italic; color: rgba(247,244,238,0.88); margin-bottom: 5px; }
.mf-brand-tagline { font-family: 'Raleway', sans-serif; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(247,244,238,0.38); margin-bottom: 20px; }
.mf-brand-socials { display: flex; gap: 10px; }
.mf-social-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.65); text-decoration: none; transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s; }
.mf-social-icon:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: scale(1.1); }
.mf-col-title { font-family: 'Raleway', sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.mf-col nav { display: flex; flex-direction: column; gap: 10px; }
.mf-nav-link { font-family: 'Raleway', sans-serif; font-size: 11px; font-weight: 500; color: rgba(247,244,238,0.5); text-decoration: none; transition: color 0.2s; letter-spacing: 0.04em; }
.mf-nav-link:hover { color: var(--gold); }
.mf-nl-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.mf-nl-input { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); color: rgba(247,244,238,0.9); padding: 11px 14px; font-family: 'Raleway', sans-serif; font-size: 12px; outline: none; border-radius: 3px; transition: border-color 0.2s; }
.mf-nl-input:focus { border-color: var(--gold); }
.mf-nl-input::placeholder { color: rgba(247,244,238,0.3); }
.mf-nl-msg { font-size: 11px; color: var(--gold); font-family: 'Raleway', sans-serif; letter-spacing: 0.06em; display: none; margin-top: 4px; }
.mf-col-text { font-size: 12px; color: rgba(247,244,238,0.45); line-height: 1.7; font-family: 'Raleway', sans-serif; margin-bottom: 4px; }
.mf-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 40px; display: flex; align-items: center; justify-content: center; max-width: 1100px; margin: 0 auto; }
.mf-copy { font-family: 'Raleway', sans-serif; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247,244,238,0.25); }

html[lang="he"] .mf-inner { direction: rtl; }
html[lang="he"] .mf-bottom { direction: rtl; }
html[lang="he"] .mf-col nav { align-items: flex-start; }
html[lang="he"] .mf-brand { text-align: right; }
html[lang="he"] .mf-brand-socials { justify-content: flex-end; }

@media (max-width: 900px) { .mf-inner { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .mf-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 24px 44px; } .mf-bottom { padding: 18px 24px; } }

/* ── SCROLL ANIMATIONS ── */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.fade-in-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.fade-in-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.fade-in-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.fade-in-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ── ADMIN TABS & DASHBOARD ── */
.admin-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #eee;
  padding: 0 24px;
  background: #fafafa;
  flex-shrink: 0;
}
.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  padding: 12px 18px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.admin-tab-btn:hover { color: var(--navy); }
.admin-tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }
.admin-stat-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.admin-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.admin-stat-label {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
}

/* ── HOMEPAGE LATEST ARTICLES ───────────────────────────── */
.home-articles { background: var(--bg-cream, #F5F5F2); padding: 72px 24px 80px; }
.home-articles-inner { max-width: 1100px; margin: 0 auto; }
.home-articles-title { font-family: 'Merriweather', serif; font-size: clamp(22px, 3vw, 30px); color: var(--navy); margin-bottom: 36px; font-weight: 700; }
.home-articles-cta { text-align: center; margin-top: 44px; }
.home-art-loading { height: 220px; display: flex; align-items: center; justify-content: center; }
.home-art-loading::after { content: ''; width: 32px; height: 32px; border: 3px solid #ddd; border-top-color: var(--gold, #b8952a); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── STATS BAR ───────────────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--navy, #1b2a3b);
  border-bottom: 3px solid var(--gold, #b8952a);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  flex: 1;
  max-width: 220px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Merriweather', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold, #b8952a);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
@media (max-width: 600px) {
  .stats-bar { flex-wrap: wrap; }
  .stat-item { max-width: 50%; min-width: 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(even) { border-right: none; }
}

/* ── HOME LIFT (overlap hero) ────────────────────────── */
.home-lift {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.13);
  overflow: hidden;
}
@media (max-width: 640px) {
  .home-lift { margin-top: -40px; border-radius: 18px 18px 0 0; }
}

/* ── BIO SPLIT ───────────────────────────────────────── */
.bio-split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: start;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule, #e0ddd6);
}
.bio-split-text p {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-soft, #555);
  font-weight: 300;
  margin-bottom: 1.5em;
}
.bio-split-text strong { font-weight: 400; color: var(--text, #1a1a1a); }
.bio-cta-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.bio-split-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 48px rgba(0,0,0,0.14);
}
.bio-split-photo .photo-credit {
  font-size: 10px;
  color: var(--text-soft, #888);
  margin-top: 6px;
  opacity: 0.6;
  font-family: 'Raleway', sans-serif;
}
html[lang="he"] .bio-split { direction: rtl; }
html[lang="he"] .bio-split-photo { order: -1; }
@media (min-width: 861px) {
  html[lang="he"] .bio-split { grid-template-columns: 400px 1fr; }
}
@media (max-width: 860px) {
  .bio-split { grid-template-columns: 1fr; gap: 32px; }
  .bio-split-photo { order: -1; max-width: 280px; margin: 0 auto; }
}

/* ── CTA BANNER ──────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy, #1b2a3b) 0%, #0d1824 100%);
  padding: 80px 24px;
  text-align: center;
  border-top: 3px solid var(--gold, #b8952a);
}
.cta-banner-inner { max-width: 680px; margin: 0 auto; }
.cta-banner-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold, #b8952a);
  display: block;
  margin-bottom: 20px;
}
.cta-banner-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.cta-banner-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 36px;
}
.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold, #b8952a);
  color: var(--navy, #1b2a3b);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 32px;
  transition: background 0.25s, gap 0.2s;
}
.cta-banner-btn:hover { background: #d4af37; gap: 14px; }
html[lang="he"] .cta-banner-btn { flex-direction: row-reverse; }
html[lang="he"] .cta-banner-btn svg { transform: scaleX(-1); }

/* ── STATIONS CARD GRID ──────────────────────────────── */
.stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.station-card {
  border-left: 3px solid var(--gold, #b8952a);
  padding: 20px 18px 20px 22px;
  background: #fdfcfa;
  border-top: 1px solid var(--rule, #e0ddd6);
  border-right: 1px solid var(--rule, #e0ddd6);
  border-bottom: 1px solid var(--rule, #e0ddd6);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: box-shadow 0.22s, border-left-color 0.22s;
}
.station-card:hover { box-shadow: 0 4px 18px rgba(27,42,59,0.08); border-left-color: var(--navy, #1b2a3b); }
.station-card .station-period {
  font-family: 'Raleway', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold, #b8952a);
}
.station-card strong {
  font-family: 'Merriweather', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy, #1b2a3b);
  line-height: 1.25;
}
.station-card span {
  font-size: 13px;
  color: var(--text-soft, #666);
  font-weight: 300;
  line-height: 1.55;
}
html[lang="he"] .station-card { border-left: none; border-right: 3px solid var(--gold, #b8952a); padding: 20px 22px 20px 18px; }
html[lang="he"] .station-card:hover { border-right-color: var(--navy, #1b2a3b); }

/* ── COOKIE BANNER ───────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: var(--navy, #1b2a3b);
  border-top: 2px solid var(--gold, #b8952a);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  transition: opacity 0.3s;
}
.cookie-text {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  line-height: 1.5;
  flex: 1;
  margin: 0;
}
.cookie-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-accept {
  background: var(--gold, #b8952a);
  color: var(--navy, #1b2a3b);
  padding: 8px 18px;
}
.cookie-accept:hover { background: #d4af37; }
.cookie-dismiss {
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  padding: 4px 8px;
  letter-spacing: 0;
}
.cookie-dismiss:hover { color: #fff; }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 16px 20px; }
  .cookie-actions { align-self: flex-end; }
}

/* ── CONTACT SPLIT LAYOUT ────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  padding-top: 56px;
}
.contact-info-col { padding-top: 4px; }
.contact-info-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--navy, #1b2a3b);
  margin-bottom: 12px;
  line-height: 1.25;
}
.contact-info-sub {
  font-size: 14px;
  color: var(--text-soft, #666);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-details {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.contact-details li {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; color: var(--text-soft, #666);
  font-weight: 300; font-family: 'Raleway', sans-serif;
  letter-spacing: 0.02em;
}
.contact-details li svg { flex-shrink: 0; color: var(--gold, #b8952a); }
.contact-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-social-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--rule, #e0ddd6);
  padding: 8px 16px;
  font-family: 'Raleway', sans-serif; font-size: 10px;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-soft, #666); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.contact-social-btn:hover { border-color: var(--navy, #1b2a3b); color: var(--navy, #1b2a3b); }
html[lang="he"] .contact-split { direction: rtl; }
html[lang="he"] .contact-details li { flex-direction: row-reverse; }
@media (max-width: 768px) {
  .contact-split { grid-template-columns: 1fr; gap: 36px; }
}

/* ── HERO DECORATIVE WATERMARK ───────────────────────── */
.hero-section {
  position: relative;
}
.hero-section::after {
  content: '\2721\FE0E';
  position: absolute;
  right: 6%;
  bottom: -10%;
  font-size: clamp(240px, 30vw, 420px);
  line-height: 1;
  color: rgba(255,255,255,0.028);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  font-family: 'Times New Roman', Times, serif;
  font-variant-emoji: text;
}
html[lang="he"] .hero-section::after {
  right: auto;
  left: 6%;
}
.hero-carousel { z-index: 2; }

/* ── PULL QUOTE STRIP ─────────────────────────────────── */
.quote-strip {
  background: linear-gradient(135deg, #0d1623 0%, #1b2a3b 60%, #1e3350 100%);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(184,149,42,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.quote-strip-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.quote-strip-decor {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.55em;
  margin-bottom: 32px;
  opacity: 0.65;
}
.quote-strip-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 400;
  font-style: italic;
  color: rgba(247,244,238,0.92);
  line-height: 1.6;
  margin-bottom: 28px;
  quotes: none;
}
.quote-strip-cite {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.8;
}
html[lang="he"] .quote-strip-text { direction: rtl; }
@media (max-width: 640px) { .quote-strip { padding: 52px 24px; } }


/* ══════════════════════════════════════════════════════════
   SECTIONS 2–12 UPGRADE — Animations, Polish & Loading
══════════════════════════════════════════════════════════ */

/* ── §2 / §12: selection + focus-visible ── */
::selection { background: rgba(212,175,55,0.35); color: var(--text); }

/* ── §3: Reveal animation classes ── */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-scale { transform: scale(0.88); }
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed { opacity: 1; transform: none; }

/* data-delay shorthand */
[data-delay="0.1s"] { transition-delay: 0.1s !important; }
[data-delay="0.2s"] { transition-delay: 0.2s !important; }
[data-delay="0.3s"] { transition-delay: 0.3s !important; }
[data-delay="0.4s"] { transition-delay: 0.4s !important; }

/* ── §2: Utility classes ── */
.glass-panel {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
}
.gold-gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-new) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── §3: Button shine effect ── */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -110%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 160%; }

/* ── §5: Enhanced scrolled header ── */
.main-header.scrolled {
  background: rgba(255,255,255,0.99) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
}

/* ── §6: Footer enhancements ── */
.mf-nl-input:focus {
  border-color: var(--gold-new, #D4AF37) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.14) !important;
}
.mf-social-icon {
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.2s !important;
}
.mf-social-icon:hover {
  box-shadow: 0 4px 18px rgba(212,175,55,0.3) !important;
  transform: scale(1.15) translateY(-2px) !important;
}

/* ── §7: Contact form label focus-within ── */
.form-group:focus-within label { color: var(--navy); }
.form-group input:focus,
.form-group textarea:focus {
  background: #fff !important;
}

/* ── §8: CTA banner gradient + shimmer ── */
.cta-banner {
  background: linear-gradient(135deg, #0a1220 0%, #192538 45%, rgba(101,41,129,0.12) 100%) !important;
  border-top: none !important;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-new, #D4AF37) 50%, transparent 100%);
  z-index: 1;
}
.cta-banner-inner { position: relative; z-index: 2; }

/* ── §9: Loading screen ── */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0f1a2e;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
}
.first-visit #loading-screen { display: flex; }
#loading-screen.hidden { opacity: 0; visibility: hidden; }
.loading-logo { width: 68px; height: auto; opacity: 0.9; }
.loading-spinner {
  width: 36px; height: 36px;
  border: 2px solid rgba(212,175,55,0.2);
  border-top-color: var(--gold-new, #D4AF37);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

/* ── §10: Station card gold hover ── */
.station-card:hover {
  background: linear-gradient(135deg, rgba(212,175,55,0.05) 0%, #fff 100%) !important;
  border-left-color: var(--gold-new, #D4AF37) !important;
  box-shadow: 0 6px 28px rgba(212,175,55,0.13) !important;
}
html[lang="he"] .station-card:hover {
  border-right-color: var(--gold-new, #D4AF37) !important;
}
.station-card .station-period,
.station-card strong { transition: color 0.22s; }
.station-card:hover strong { color: var(--gold-new, #D4AF37) !important; }

/* ── §11: Bio photo hover ── */
.bio-split-photo { overflow: hidden; border-radius: 2px; }
.bio-split-photo img {
  transition: transform 0.45s ease, box-shadow 0.45s ease !important;
}
.bio-split-photo:hover img {
  transform: scale(1.03) !important;
  box-shadow: 0 22px 64px rgba(0,0,0,0.22) !important;
}

/* Bio-split-text gold accent line */
.bio-split-text { position: relative; }
.bio-split-text::before {
  content: '';
  position: absolute;
  top: 6px; left: -16px;
  width: 3px; height: calc(100% - 12px);
  background: linear-gradient(to bottom, var(--gold-new, #D4AF37), rgba(212,175,55,0.08));
  border-radius: 2px;
  pointer-events: none;
}
html[lang="he"] .bio-split-text::before { left: auto; right: -16px; }
@media (max-width: 860px) { .bio-split-text::before { display: none; } }

/* ── §3: Article card 3D hover ── */
@media (hover: hover) {
  .article-card {
    transform-style: preserve-3d;
    will-change: transform;
  }
  .article-card:hover {
    transform: translateY(-4px) rotateX(1.5deg) !important;
  }
}

/* ── §3: Stat numbers gold gradient on scroll in ── */
.stats-bar.is-visible .stat-num {
  background: linear-gradient(135deg, var(--gold-light, #d4aa40) 0%, var(--gold-new, #D4AF37) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Combined parasha button in nav ── */
.parasha-btn-combined {
  background: rgba(212,175,55,0.06);
  border-color: rgba(212,175,55,0.4);
  color: var(--gold-new, #b8952a);
  font-style: italic;
  position: relative;
}
.parasha-btn-combined::before {
  content: '⟡ ';
  font-style: normal;
  font-size: 10px;
  opacity: 0.7;
}
.parasha-btn-combined:hover {
  background: var(--gold-new, #b8952a);
  border-color: var(--gold-new, #b8952a);
  color: #fff;
}
.parasha-btn-combined.has-articles {
  border-color: var(--gold-new, #b8952a);
  color: var(--gold-new, #b8952a);
  font-weight: 700;
}
