/* ==========================================================================
   Shemesh Ztadukah — Official Website Stylesheet
   Palette: Deep Heritage Navy (#18304F), Antique Gold (#B08D3B),
            Warm Ivory Paper (#FAF8F3), Soft Stone (#EFECE3),
            Deep Charcoal Ink (#1B2436)
   ========================================================================== */

:root {
  --navy: #18304F;
  --navy-deep: #10223A;
  --navy-soft: #244166;
  --gold: #B08D3B;
  --gold-hover: #9E7C2F;
  --gold-text: #856720;
  --gold-light: #D9BC73;
  --gold-tint: rgba(176, 141, 59, 0.11);
  --ivory: #FAF8F3;
  --stone: #EFECE3;
  --surface: #FFFFFF;
  --ink: #1B2436;
  --ink-muted: #475368;
  --border: #E2DCCE;
  --border-strong: #D0C7B3;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-hebrew: "Frank Ruhl Libre", "David Libre", Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(24, 48, 79, 0.05);
  --shadow-md: 0 12px 34px rgba(24, 48, 79, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 34, 58, 0.22);
  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  padding: 0.78rem 1.35rem;
  font-size: 0.95rem;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  text-align: center;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(176, 141, 59, 0.22);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--ivory);
  box-shadow: 0 4px 14px rgba(176, 141, 59, 0.3);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: rgba(24, 48, 79, 0.32);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
}

.inline-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(176, 141, 59, 0.65);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.inline-link:hover {
  color: var(--gold-text);
  text-decoration-color: var(--gold-text);
}

/* Sticky Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-emblem {
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.brand-hebrew {
  font-family: var(--font-hebrew);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-text);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.15s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-list a:hover {
  color: var(--navy);
}

.nav-list a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background-color: var(--ivory);
  padding: 1rem 0 1.5rem;
  box-shadow: var(--shadow-md);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-link {
  padding: 0.75rem 0.25rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid rgba(226, 220, 206, 0.7);
}

.mobile-cta {
  margin-top: 1rem;
}

/* Hero Section
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(176, 141, 59, 0.08), transparent 72%),
    linear-gradient(180deg, #FAF8F3 0%, #F4F0E6 100%);
  border-bottom: 1px solid var(--border);
}

.hero-ornament {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  width: 680px;
  max-width: 110vw;
  pointer-events: none;
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-hebrew {
  font-family: var(--font-hebrew);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold-text);
  margin: 0 0 1.1rem;
  letter-spacing: 0.02em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background-color: rgba(24, 48, 79, 0.06);
  border: 1px solid rgba(24, 48, 79, 0.14);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold);
}

.badge-sep {
  color: var(--gold-text);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.2vw, 3.85rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 1.35rem;
  text-wrap: balance;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-text);
  font-weight: 600;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 660px;
  margin: 0 auto 2.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 3rem;
}

.mishnah-banner {
  margin: 0 auto;
  padding: 1.45rem 1.75rem;
  max-width: 680px;
  background-color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.mishnah-hebrew {
  margin: 0 0 0.45rem;
  font-family: var(--font-hebrew);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}

.mishnah-citation {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* Shared Sections
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-ivory {
  background-color: var(--ivory);
}

.section-stone {
  background-color: var(--stone);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.section-header-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-text);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-subtitle {
  margin: 0;
  font-size: 1.03rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* Mission Section
   ========================================================================== */

.mission-statement-card {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.mission-accent-line {
  width: 56px;
  height: 3px;
  background-color: var(--gold);
  margin: 0 auto 1.4rem;
  border-radius: 2px;
}

.mission-statement-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
  text-align: center;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.principle-item {
  padding-top: 1.4rem;
  border-top: 2px solid var(--border-strong);
}

.principle-num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-text);
  margin-bottom: 0.45rem;
}

.principle-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.principle-copy {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-muted);
  line-height: 1.68;
}

/* Core Programs Section
   ========================================================================== */

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.program-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: rgba(24, 48, 79, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.program-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-text);
}

.program-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

.program-desc {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.68;
}

.program-points {
  margin: auto 0 0;
  padding: 1.1rem 0 0 1.1rem;
  border-top: 1px solid var(--stone);
  font-size: 0.9rem;
  color: var(--ink);
}

.program-points li {
  margin-bottom: 0.4rem;
}

.program-points li:last-child {
  margin-bottom: 0;
}

/* Donate Section
   ========================================================================== */

.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.donate-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.donate-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--stone);
}

.donate-card-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
}

.donate-card-sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.tax-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background-color: var(--gold-tint);
  border: 1px solid rgba(176, 141, 59, 0.32);
  color: var(--gold-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.field-group {
  margin-bottom: 1.4rem;
}

.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.55rem;
}

.optional-tag {
  font-weight: 400;
  color: var(--ink-muted);
}

.freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 4px;
  background-color: var(--stone);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.freq-btn {
  padding: 0.72rem 1rem;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.freq-btn.is-active {
  background-color: var(--navy);
  color: var(--ivory);
  box-shadow: var(--shadow-sm);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.amount-chip {
  padding: 0.85rem 0.75rem;
  background-color: var(--ivory);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.amount-chip:hover {
  border-color: var(--gold);
  background-color: #FFFFFF;
}

.amount-chip.is-active {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
}

.currency-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  overflow: hidden;
}

.currency-input:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 59, 0.16);
}

.currency-prefix {
  padding: 0 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
  background-color: var(--ivory);
  border-right: 1px solid var(--border);
  align-self: stretch;
  display: flex;
  align-items: center;
}

.currency-input input {
  width: 100%;
  border: none;
  padding: 0.8rem 0.95rem;
  background: transparent;
  outline: none;
}

.text-input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.text-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 59, 0.16);
}

.field-error {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: #9E2A2B;
}

.receipt-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.25rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--ivory);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.receipt-notice p {
  margin: 0;
}

.receipt-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold-text);
}

/* Giving Guide Aside */

.giving-guide {
  background-color: var(--stone);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.guide-heading {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
}

.guide-intro {
  margin: 0 0 1.35rem;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.way-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.9rem;
}

.way-card:last-child {
  margin-bottom: 0;
}

.way-title {
  margin: 0 0 0.35rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
}

.way-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.way-phone {
  margin-top: 0.45rem;
}

/* Leadership & Governance Section
   ========================================================================== */

.governance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.leader-card,
.verification-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.leader-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.leader-monogram {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--navy);
  border: 2px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.leader-role {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-text);
}

.leader-name {
  margin: 0 0 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
}

.leader-org {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.leader-bio {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.68;
}

.leader-email-row {
  margin: 0;
  font-size: 0.94rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  overflow-wrap: anywhere;
}

.meta-label {
  font-weight: 600;
  color: var(--ink-muted);
}

.verification-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--stone);
}

.facts-list {
  margin: 0;
}

.fact-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--stone);
  font-size: 0.93rem;
}

.fact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-row dt {
  font-weight: 600;
  color: var(--ink-muted);
}

.fact-row dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Footer / Contact
   ========================================================================== */

.site-footer {
  background-color: var(--navy);
  color: var(--ivory);
  padding: 4.5rem 0 2.5rem;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.7fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(250, 248, 243, 0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.footer-org-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.15;
}

.footer-hebrew {
  margin: 2px 0 0;
  font-family: var(--font-hebrew);
  font-size: 0.9rem;
  color: var(--gold-light);
}

.footer-desc {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(250, 248, 243, 0.82);
  max-width: 400px;
}

.footer-heading {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-light);
}

.footer-contact-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
  font-size: 0.94rem;
}

.footer-contact-list li:last-child {
  margin-bottom: 0;
}

.footer-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(217, 188, 115, 0.88);
  font-weight: 600;
  margin-bottom: 0.12rem;
}

.footer-contact-list a,
.footer-links a {
  color: var(--ivory);
  transition: color 0.15s ease;
  overflow-wrap: anywhere;
}

.footer-contact-list a {
  text-decoration: underline;
  text-decoration-color: rgba(217, 188, 115, 0.55);
  text-underline-offset: 3px;
}

.footer-contact-list a:hover,
.footer-links a:hover {
  color: var(--gold-light);
}

.footer-links li {
  margin-bottom: 0.55rem;
  font-size: 0.94rem;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(250, 248, 243, 0.75);
}

.footer-bottom p {
  margin: 0;
}

.footer-mishnah {
  font-family: var(--font-hebrew);
  font-size: 0.95rem;
  color: var(--gold-light);
}

/* Modal Dialog
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background-color: rgba(16, 34, 58, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-dialog {
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-text);
}

.modal-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--ivory);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--stone);
}

.modal-summary {
  background-color: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.93rem;
  color: var(--navy);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 1.5rem;
}

.modal-option {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--stone);
}

.modal-option:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-option-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.modal-option h4 {
  margin: 0 0 0.22rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.modal-option p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--ink-muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--stone);
}

/* Responsive Breakpoints
   ========================================================================== */

@media (max-width: 980px) {
  .principles-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .donate-layout,
  .governance-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 3.75rem 0 3.25rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .mission-statement-card {
    padding: 1.75rem 1.35rem;
  }

  .donate-card,
  .giving-guide,
  .leader-card,
  .verification-card {
    padding: 1.5rem 1.25rem;
  }

  .leader-card {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.1rem;
  }

  .brand-name {
    font-size: 1.32rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .modal-dialog {
    padding: 1.35rem;
  }

  .hero-badge {
    border-radius: var(--radius-md);
    padding: 0.45rem 0.9rem;
    row-gap: 0.15rem;
  }

  .badge-sep {
    display: none;
  }

  .modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* === Pledge Banner, Online Giving Portals & Wire Accordion === */
.pledge-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #FBF6E8;
  border: 1px solid rgba(176, 141, 59, 0.45);
  border-left: 4px solid #B08D3B;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3A2E14;
}
.pledge-banner p {
  margin: 0;
}
.pledge-bang {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 999px;
  background: #B08D3B;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.portal-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.portal-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  background: #FAF8F3;
  border: 1px solid rgba(24, 48, 79, 0.16);
  border-radius: 10px;
  text-decoration: none;
  color: #18304F;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.15s ease;
}
.portal-btn:hover,
.portal-btn:focus-visible {
  background: #FFFFFF;
  border-color: #B08D3B;
  transform: translateY(-1px);
  outline: none;
}
.portal-btn strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
  color: #18304F;
}
.portal-btn small {
  display: block;
  font-size: 0.8rem;
  color: #5A6475;
}
.portal-arrow {
  color: #B08D3B;
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wire-details {
  margin: 0;
}
.wire-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 650;
  font-size: 0.98rem;
  color: #18304F;
  padding: 0.15rem 0;
}
.wire-summary::-webkit-details-marker {
  display: none;
}
.wire-chevron {
  color: #B08D3B;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.wire-details[open] .wire-chevron {
  transform: rotate(180deg);
}
.wire-list {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(24, 48, 79, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.wire-list > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
  line-height: 1.4;
}
.wire-list dt {
  color: #5A6475;
  flex-shrink: 0;
}
.wire-list dd {
  margin: 0;
  color: #1B2436;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}


/* === Official Shemesh Ztadukah Logo Styling === */
.brand-emblem-img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(24, 48, 79, 0.16);
  flex-shrink: 0;
}
.hero-logo-wrap {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.hero-logo-img {
  width: 108px;
  height: 108px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 36px rgba(10, 22, 40, 0.35), 0 0 0 2px rgba(176, 141, 59, 0.55);
}
.org-crest-img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(24, 48, 79, 0.18);
  flex-shrink: 0;
}
.footer-emblem-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}


/* === Per-Payment-Method Share Controls & Toast === */
.card-top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.guide-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.way-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}
.way-head-row .way-title {
  margin-bottom: 0;
}
.wire-head-row {
  align-items: flex-start;
  margin-bottom: 0;
}
.wire-head-row .wire-details {
  flex: 1;
  min-width: 0;
}
.wire-share-bar {
  margin-top: 0.85rem;
  display: flex;
  justify-content: flex-end;
}
.portal-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}
.portal-row .portal-btn {
  flex: 1;
  min-width: 0;
}
.share-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 0.72rem;
  border-radius: 9px;
  border: 1px solid rgba(24, 48, 79, 0.18);
  background: #FFFFFF;
  color: #18304F;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.14s ease;
}
.share-icon-btn:hover,
.share-icon-btn:focus-visible {
  border-color: #B08D3B;
  background: #FBF6E8;
  color: #18304F;
  outline: none;
}
.share-icon-btn:active {
  transform: scale(0.97);
}
.share-sq-btn {
  width: 44px;
  padding: 0;
  border-radius: 10px;
  background: #FAF8F3;
}
.wire-top-share {
  height: 36px;
  width: 36px;
  border-radius: 9px;
}
.share-all-btn {
  margin-top: 2px;
}
.share-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #18304F;
  color: #FAF8F3;
  border: 1px solid rgba(176, 141, 59, 0.65);
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(10, 22, 40, 0.28);
  z-index: 2000;
  max-width: calc(100vw - 32px);
  text-align: center;
}
