/* ═══════════════════════════════════════════════════════
   SAI SAMSTHANA — MASTER THEME CSS
   Mirrors sai.css from the HTML prototype exactly.
   Bootstrap 5 loads first (via functions.php), then this.
═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   SAI SAMSTHANA — MASTER STYLESHEET
   Light · Elegant · Devotional
   Version 2.0 — Shared across all pages
═══════════════════════════════════════════════════════════════ */

/* ── Bootstrap Override Block ─────────────────────────────────
   Bootstrap loads first. These rules ensure our design tokens
   always win over Bootstrap's base resets and utility classes.
─────────────────────────────────────────────────────────────── */

/* Restore our base typography — Bootstrap resets these */
body {
  font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: #3D2810 !important;
  background-color: #FFFEF9 !important;
}

/* Headings — Bootstrap normalises these to system font */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1A0E04;
  margin-bottom: 0;
  line-height: 1.22;
}

/* Links — Bootstrap makes them blue */
a {
  color: inherit !important;
  text-decoration: none !important;
}
a:hover { color: inherit !important; }

/* Paragraphs — Bootstrap adds margin-bottom */
p { margin-bottom: 0; }

/* Bootstrap adds box-sizing but we set it too — no conflict needed */

/* Nav links — Bootstrap .nav-link adds padding/color */
.nav-link {
  padding: 3px 0 !important;
  color: rgba(58, 32, 16, 0.52) !important;
  font-family: 'Cinzel', serif !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}
.nav-link:hover,
.nav-link.on {
  color: #C05212 !important;
  background: transparent !important;
}
.nav-link:focus { box-shadow: none !important; }

/* Bootstrap carousel controls — hide default arrows, we use dots only */
.carousel-control-prev,
.carousel-control-next { display: none !important; }

/* Carousel dots — style with our tokens */
.carousel-indicators [data-bs-slide-to] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #C05212 !important;
  border: none !important;
  opacity: 0.3 !important;
  transition: opacity .3s !important;
}
.carousel-indicators .active {
  opacity: 1 !important;
  transform: scale(1.25);
}
.carousel-indicators {
  position: relative !important;
  margin: 20px 0 0 !important;
  bottom: auto !important;
  gap: 6px !important;
}

/* Bootstrap accordion — keep our styles */
.accordion-button:focus { box-shadow: none !important; }
.accordion-button:not(.collapsed) { box-shadow: none !important; }

/* Bootstrap form-control — keep our border and background */
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 3px rgba(192, 82, 18, 0.12) !important;
  border-color: #C05212 !important;
}

/* Bootstrap buttons — don't touch our custom ones */
.btn-donate,
.nav-cta,
.mob-donate,
.float-btn {
  all: unset !important;
  cursor: pointer !important;
}

/* Restore .btn-donate after all:unset */
.btn-donate {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  background: linear-gradient(135deg, #C05212, #8B3608) !important;
  color: #fff !important;
  font-family: 'Cinzel', serif !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  padding: 16px !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 24px rgba(192, 82, 18, .32) !important;
  transition: all .3s !important;
}
.btn-donate:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(192, 82, 18, .42) !important;
  color: #fff !important;
}

/* Restore .nav-cta */
.nav-cta {
  display: none !important;
}
.nav-cta:hover {
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* Restore .mob-donate */
.mob-donate {
  display: block !important;
  background: linear-gradient(135deg, #C05212, #8B3608) !important;
  color: #fff !important;
  font-family: 'Cinzel', serif !important;
  font-size: .66rem !important;
  font-weight: 600 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  padding: 15px !important;
  border-radius: 8px !important;
  text-align: center !important;
  margin-bottom: 14px !important;
}
.mob-donate:hover { color: #fff !important; }

/* Restore .float-btn */
.float-btn {
  position: fixed !important;
  bottom: 26px !important;
  right: 26px !important;
  z-index: 500 !important;
  background: linear-gradient(135deg, #C05212, #8B3608) !important;
  color: #fff !important;
  font-family: 'Cinzel', serif !important;
  font-size: .62rem !important;
  font-weight: 600 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  padding: 13px 24px !important;
  border-radius: 40px !important;
  box-shadow: 0 5px 24px rgba(192, 82, 18, .4) !important;
  animation: float-pulse 3.5s ease-in-out infinite !important;
}
.float-btn:hover { color: #fff !important; transform: translateY(-2px) !important; }

/* Bootstrap container max-width — let ours win */
.container,
.container-fluid {
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 1200px) {
  .container { max-width: 1080px; }
}
@media (min-width: 992px) {
  .container { max-width: 1080px; }
}

/* Bootstrap row negative margins — keep */
/* Bootstrap grid columns — keep as is, they're additive */

/* Logo — Bootstrap can affect flex children */
.logo-mark {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #7A3010, #C05212) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 228, 160, 0.95) !important;
  font-size: 1.35rem !important;
  flex-shrink: 0 !important;
}
.logo-name {
  font-family: 'Cinzel', serif !important;
  font-size: .8rem !important;
  font-weight: 600 !important;
  letter-spacing: .18em !important;
  color: #2E1808 !important;
  text-transform: uppercase !important;
  display: block !important;
}
.logo-sub {
  font-family: 'Lora', Georgia, serif !important;
  font-style: italic !important;
  font-size: .65rem !important;
  color: #7A5438 !important;
  display: block !important;
}

/* Header — Bootstrap may affect sticky */
.hdr {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 700 !important;
  background: rgba(255, 254, 249, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(138, 101, 8, 0.18) !important;
  transform: translateY(0) !important;
  transition: box-shadow 0.3s ease !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.hdr.scrolled {
  box-shadow: 0 2px 24px rgba(60, 30, 8, 0.12) !important;
}
/* Push page content down so it doesn't hide under fixed header */
body { padding-top: 78px !important; }
body.admin-bar { padding-top: 110px !important; }
@media (max-width: 782px) { body.admin-bar { padding-top: 124px !important; } }

/* Mobile panel — Bootstrap can affect fixed positioning */
.mob-panel {
  position: fixed !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important;
  width: min(320px, 88vw) !important;
  background: #FEFCF6 !important;
  z-index: 900 !important;
  transform: translateX(110%) !important;
  transition: transform .42s cubic-bezier(.4,0,.2,1) !important;
}
.mob-panel.on { transform: translateX(0) !important; }

/* mob-a — Bootstrap nav resets */
.mob-a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 15px 22px !important;
  font-family: 'Cinzel', serif !important;
  font-size: .68rem !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: #2E1808 !important;
  border-bottom: 1px solid rgba(138, 101, 8, .07) !important;
  transition: all .2s !important;
  text-decoration: none !important;
  background: transparent !important;
}
.mob-a:hover, .mob-a.on {
  color: #C05212 !important;
  background: #FFF4EE !important;
  padding-left: 26px !important;
}

/* Eyebrow — Bootstrap h6 reset may affect spans */
.eyebrow {
  font-family: 'Cinzel', serif !important;
  font-size: .62rem !important;
  letter-spacing: .42em !important;
  text-transform: uppercase !important;
  color: #B08010 !important;
  display: block !important;
}

/* Ticker */
.ticker-rail span {
  font-family: 'Cinzel', serif !important;
  font-size: .58rem !important;
  letter-spacing: .28em !important;
  text-transform: uppercase !important;
  color: rgba(255, 210, 140, .72) !important;
}


/* ── Google Fonts ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cinzel:wght@400;500;600;700&family=Cinzel+Decorative:wght@400;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  /* Saffron & Amber palette — warm, sacred, never harsh */
  --saffron:    #C05212;   /* primary CTA, links, accents */
  --saf-deep:   #8B3608;   /* hover states, gradients */
  --saf-pale:   #FFF4EE;   /* tag backgrounds, hover fills */
  --saf-soft:   #FDEADF;   /* selection, highlights */

  /* Gold — secondary accent */
  --gold:       #8A6508;
  --gold2:      #B08010;
  --gold-pale:  #FBF4DC;
  --gold-line:  rgba(176, 128, 16, 0.22);

  /* Page backgrounds — pure light */
  --cream:      #FFFEF9;   /* default page bg */
  --ivory:      #FAF8F2;   /* alternate section bg */
  --parchment:  #F5EDD8;   /* card bg, subtle warm */
  --warm:       #FDFAF4;   /* elevated cards */
  --pearl:      #F9F6EF;   /* sidebar, input bg */

  /* Text — rich warm ink, high contrast */
  --ink:        #1A0E04;   /* headings — near black with warmth */
  --ink2:       #2E1808;   /* nav, subheadings */
  --body:       #3D2810;   /* body text — warm dark brown, very readable */
  --muted:      #7A5438;   /* captions, secondary text */
  --subtle:     #A8876A;   /* placeholder, tertiary */

  /* Borders */
  --border:     rgba(138, 101, 8, 0.18);
  --bord2:      rgba(192, 82, 18, 0.18);
  --bord-card:  rgba(138, 101, 8, 0.14);

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(60, 30, 8, 0.08);
  --shadow-md:  0 6px 32px rgba(60, 30, 8, 0.12);
  --shadow-lg:  0 12px 56px rgba(60, 30, 8, 0.16);

  /* Typography */
  --serif:      'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --body-font:  'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --lora:       'Lora', 'Georgia', serif;
  --cap:        'Cinzel', serif;
  --display:    'Cinzel Decorative', serif;

  /* Layout */
  --r:          8px;
  --r-lg:       14px;
  --max-w:      1080px;
  --pad-x:      56px;
}

/* ── Base Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { border: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

::selection {
  background: var(--saf-soft);
  color: var(--saffron);
}

/* ── Utility ─────────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.sec         { padding: 92px 0; }
.sec-sm      { padding: 64px 0; }
.sec-xs      { padding: 48px 0; }
.bg-ivory    { background: var(--ivory); }
.bg-parch    { background: var(--parchment); }
.bg-warm     { background: var(--warm); }

/* Reveal on scroll */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── Typography System ───────────────────────────────────────── */

/* Eyebrow label — "Sacred Seva", "About Us" etc */
.eyebrow {
  font-family: var(--cap);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold2);
  display: block;
  margin-bottom: 12px;
}

/* Display headings — page titles, section heroes */
h1, .h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Section headings */
h2, .h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Card / sub-section headings */
h3, .h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.3;
  color: var(--ink);
}

/* Small caps headings */
h4, .h4 {
  font-family: var(--cap);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink2);
}

/* Body text */
p {
  font-family: var(--body-font);
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--body);
  font-weight: 400;
}

/* Lead paragraph */
.lead {
  font-family: var(--lora);
  font-size: 1.14rem;
  line-height: 1.88;
  color: var(--muted);
  font-weight: 400;
}

/* Caption */
.caption {
  font-family: var(--cap);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* Italic pull quote */
.pullquote {
  font-family: var(--lora);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.72;
  color: var(--ink2);
}

/* Gold horizontal rule */
.rule {
  display: block;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron), var(--gold2));
  border: none;
  margin: 16px 0;
  border-radius: 2px;
}
.rule-center { margin: 16px auto; }

/* Section head block */
.sec-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.sec-head .rule { margin: 14px auto 0; }
.sec-head .lead { max-width: 600px; margin: 16px auto 0; }

/* ── Announce Ticker ─────────────────────────────────────────── */
.ticker {
  background: var(--ink2);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--ink2), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--ink2), transparent); }

.ticker-rail {
  display: flex;
  gap: 72px;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
}
.ticker-rail:hover { animation-play-state: paused; }

.ticker-rail span {
  font-family: var(--cap);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: rgba(255, 210, 140, 0.72);
  text-transform: uppercase;
}
.ticker-rail em {
  font-style: normal;
  color: var(--gold2);
  margin: 0 10px;
}

@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ── Header / Navigation ─────────────────────────────────────── */
.hdr {
  position: sticky;
  top: 0;
  z-index: 700;
  background: rgba(255, 254, 249, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.hdr.scrolled { box-shadow: var(--shadow-sm); }

.hdr-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 13px; }

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, #7A3010, var(--saffron));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 228, 160, 0.95);
  font-size: 1.35rem;
  border: 1.5px solid rgba(192, 82, 18, 0.3);
  box-shadow: 0 2px 14px rgba(192, 82, 18, 0.2);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.logo:hover .logo-mark { transform: scale(1.06); }

.logo-name {
  font-family: var(--cap);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink2);
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
}
.logo-sub {
  font-family: var(--lora);
  font-style: italic;
  font-size: 0.65rem;
  color: var(--muted);
  display: block;
  margin-top: 1px;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--cap);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-link:hover, .nav-link.on { color: var(--saffron); }
.nav-link:hover::after, .nav-link.on::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--saffron), var(--saf-deep));
  color: #fff;
  font-family: var(--cap);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 11px 26px;
  border-radius: var(--r);
  box-shadow: 0 3px 16px rgba(192, 82, 18, 0.28);
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(192, 82, 18, 0.36);
}

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.ham:hover { border-color: var(--saffron); }
.ham span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink2);
  border-radius: 2px;
  transition: background 0.2s;
}
.ham:hover span { background: var(--saffron); }

/* Mobile drawer */
.mob-veil {
  position: fixed;
  inset: 0;
  background: rgba(26, 14, 4, 0.42);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.mob-veil.on { opacity: 1; pointer-events: all; }

.mob-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--warm);
  z-index: 900;
  transform: translateX(110%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(26, 14, 4, 0.16);
}
.mob-panel.on { transform: translateX(0); }

.mob-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--parchment);
}

.mob-x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--ink2);
  cursor: pointer;
  transition: all 0.2s;
}
.mob-x:hover {
  background: var(--saf-pale);
  color: var(--saffron);
  border-color: var(--bord2);
}

.mob-nav { flex: 1; overflow-y: auto; padding: 6px 0; }

.mob-a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 22px;
  font-family: var(--cap);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
  border-bottom: 1px solid rgba(138, 101, 8, 0.07);
  transition: all 0.2s;
}
.mob-a:hover, .mob-a.on {
  color: var(--saffron);
  background: var(--saf-pale);
  padding-left: 26px;
}

.mob-foot {
  padding: 20px 22px 28px;
  border-top: 1px solid var(--border);
}

.mob-donate {
  display: block;
  background: linear-gradient(135deg, var(--saffron), var(--saf-deep));
  color: #fff;
  font-family: var(--cap);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px;
  border-radius: var(--r);
  text-align: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(192, 82, 18, 0.28);
  transition: box-shadow 0.3s;
}
.mob-donate:hover { color: #fff; box-shadow: 0 6px 24px rgba(192, 82, 18, 0.36); }

.mob-info { display: flex; flex-direction: column; gap: 8px; }
.mob-info a {
  font-family: var(--body-font);
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.mob-info a:hover { color: var(--saffron); }

/* ── Page Banner ─────────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(160deg, var(--parchment) 0%, var(--ivory) 60%, var(--cream) 100%);
  padding: 76px 0 60px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: 'ॐ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  color: rgba(192, 82, 18, 0.035);
  pointer-events: none;
  font-family: var(--serif);
  line-height: 1;
}

.page-banner h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.page-banner p {
  font-family: var(--lora);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.88;
}

.breadcrumb {
  font-family: var(--cap);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.breadcrumb a { color: var(--saffron); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.75; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cap);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--r);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saf-deep));
  color: #fff;
  box-shadow: 0 4px 18px rgba(192, 82, 18, 0.28);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192, 82, 18, 0.36);
}

.btn-outline {
  background: transparent;
  color: var(--saffron);
  border: 1.5px solid var(--bord2);
}
.btn-outline:hover {
  background: var(--saf-pale);
  border-color: var(--saffron);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #fff;
  box-shadow: 0 4px 18px rgba(138, 101, 8, 0.28);
}
.btn-gold:hover { color: #fff; transform: translateY(-2px); }

/* ── Tags & Badges ───────────────────────────────────────────── */
.tag {
  font-family: var(--cap);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tag-saf   { background: var(--saf-pale);  color: var(--saffron); border: 1px solid var(--bord2); }
.tag-gold  { background: var(--gold-pale); color: var(--gold);    border: 1px solid var(--gold-line); }
.tag-green { background: #F0F7F2;          color: #2D7A4A;        border: 1px solid rgba(45,122,74,.2); }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--warm);
  border: 1px solid var(--bord-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img {
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 28px 20px;
  border-bottom: 1px solid var(--bord-card);
}
.card-img-em { font-size: 3.6rem; line-height: 1; display: block; }
.card-img-lbl {
  font-family: var(--cap);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  text-align: center;
  line-height: 1.5;
}

.card-body { padding: 26px 22px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: 0.96rem; color: var(--muted); }

.card-link {
  font-family: var(--cap);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 8px; }

/* ── Horizontal Blog/Article Card ───────────────────────────── */
.hcard {
  background: var(--warm);
  border: 1px solid var(--bord-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: transform 0.35s, box-shadow 0.35s;
}
.hcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hcard-img {
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-right: 1px solid var(--bord-card);
}
.hcard-img em { font-style: normal; font-size: 3rem; line-height: 1; }
.hcard-img span {
  font-family: var(--cap);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  text-align: center;
}

.hcard-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hcard-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.hcard-meta time {
  font-family: var(--lora);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--subtle);
}

.hcard-body h2 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
}
.hcard-body p {
  font-size: 0.94rem;
  line-height: 1.76;
  color: var(--muted);
  margin-bottom: 14px;
  flex: 1;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sw {
  background: var(--warm);
  border: 1px solid var(--bord-card);
  border-radius: var(--r-lg);
  padding: 22px 20px;
}

.sw-title {
  font-family: var(--cap);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: block;
}

.sw-cats { display: flex; flex-direction: column; gap: 2px; }
.sw-cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--body-font);
  font-size: 0.92rem;
  color: var(--muted);
  padding: 8px 4px;
  border-bottom: 1px solid rgba(138, 101, 8, 0.07);
  cursor: pointer;
  transition: color 0.2s, padding-left 0.2s;
}
.sw-cat:hover { color: var(--saffron); padding-left: 6px; }
.sw-cnt {
  font-family: var(--cap);
  font-size: 0.54rem;
  background: var(--parchment);
  border: 1px solid var(--border);
  padding: 2px 9px;
  border-radius: 12px;
  color: var(--subtle);
}

.sw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-tag {
  font-family: var(--cap);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.sw-tag:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}

/* ── Gallery ─────────────────────────────────────────────────── */
.gal-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}
.gf {
  font-family: var(--cap);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
}
.gf:hover, .gf.on {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.gal-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--bord-card);
  cursor: pointer;
  transition: all 0.38s;
  position: relative;
  background: var(--parchment);
}
.gal-item:hover {
  transform: scale(1.014);
  box-shadow: var(--shadow-md);
}
.gal-item.tall { grid-row: span 2; }

.gi {
  width: 100%;
  padding: 32px 18px;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.gal-item.tall .gi { min-height: 478px; }

.gi-em { font-size: 4rem; line-height: 1; display: block; }
.gi-label {
  font-family: var(--cap);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.gal-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 14px 12px;
  background: linear-gradient(to top, rgba(26, 14, 4, 0.65), transparent);
  font-family: var(--cap);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 224, 150, 0.95);
}

/* ── Quote Strip ─────────────────────────────────────────────── */
.quote-strip {
  background: linear-gradient(135deg, var(--parchment), #EDE0C4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.quote-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--pad-x);
}
.quote-om {
  font-size: 2.6rem;
  color: var(--gold2);
  display: block;
  margin-bottom: 18px;
  opacity: 0.55;
}
.quote-txt {
  font-family: var(--lora);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.78rem);
  color: var(--ink2);
  line-height: 1.72;
  margin-bottom: 18px;
}
.quote-cite {
  font-family: var(--cap);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--saffron);
}

/* ── Floating Donate Button ──────────────────────────────────── */
.float-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 500;
  background: linear-gradient(135deg, var(--saffron), var(--saf-deep));
  color: #fff;
  font-family: var(--cap);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 40px;
  box-shadow: 0 5px 24px rgba(192, 82, 18, 0.4);
  animation: float-pulse 3.5s ease-in-out infinite;
  transition: transform 0.2s;
}
.float-btn:hover { color: #fff; transform: translateY(-2px); }

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 5px 24px rgba(192, 82, 18, 0.4); }
  50%       { box-shadow: 0 8px 36px rgba(192, 82, 18, 0.6); }
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-family: var(--cap);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold2);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--pearl);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;
  font-family: var(--body-font);
  font-size: 0.98rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px var(--saf-soft);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--subtle); }
.form-textarea { resize: vertical; min-height: 120px; }

/* ── Footer ──────────────────────────────────────────────────── */
footer { background: var(--ink2); }

.ft-top { padding: 64px 0 48px; }

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
}

.ft-brand p {
  font-family: var(--body-font);
  font-size: 0.9rem;
  line-height: 1.82;
  color: rgba(230, 185, 120, 0.38);
  margin-top: 14px;
}

.ft-social { display: flex; gap: 9px; margin-top: 18px; }
.fsoc {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(176, 128, 16, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(230, 185, 120, 0.35);
  cursor: pointer;
  transition: all 0.2s;
}
.fsoc:hover {
  border-color: rgba(230, 185, 120, 0.5);
  color: rgba(230, 185, 120, 0.7);
}

.fc h5 {
  font-family: var(--cap);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 15px;
}
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fc a {
  font-family: var(--body-font);
  font-size: 0.88rem;
  color: rgba(230, 185, 120, 0.35);
  transition: color 0.25s;
}
.fc a:hover { color: rgba(230, 185, 120, 0.72); }

.ft-bottom { border-top: 1px solid rgba(138, 101, 8, 0.12); padding: 18px 0; }
.ft-btm-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ft-btm-inner p,
.ft-btm-inner a {
  font-family: var(--cap);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: rgba(230, 185, 120, 0.22);
}
.ft-btm-inner a:hover { color: rgba(230, 185, 120, 0.5); }

/* ── Article Single Page ─────────────────────────────────────── */
.article-hero {
  background: linear-gradient(160deg, var(--parchment), var(--ivory));
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--border);
}
.article-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.22;
  margin-bottom: 18px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.article-meta time {
  font-family: var(--lora);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--subtle);
}
.article-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--parchment);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.author-name {
  font-family: var(--cap);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink2);
  display: block;
}
.author-role {
  font-family: var(--lora);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--subtle);
  display: block;
}

/* Article body content */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px var(--pad-x) 80px;
}
.article-body p {
  font-family: var(--lora);
  font-size: 1.08rem;
  line-height: 1.96;
  color: var(--body);
  margin-bottom: 1.6em;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2.2em 0 0.8em;
  line-height: 1.3;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink2);
  margin: 1.8em 0 0.6em;
}
.article-body blockquote {
  border-left: 3px solid var(--saffron);
  margin: 2em 0;
  padding: 16px 24px;
  background: var(--saf-pale);
  border-radius: 0 var(--r) var(--r) 0;
}
.article-body blockquote p {
  font-family: var(--lora);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink2);
  margin-bottom: 0;
}

/* ── Timeline base (page-specific rules live in timeline.html <style>) ── */
.tl-year-badge {
  font-family: 'Cinzel', serif;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}
.tl-card {
  background: var(--warm);
  border: 1px solid var(--bord-card);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.tl-item:hover .tl-card { box-shadow: var(--shadow-md); }
.tl-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.36;
}
.tl-card p {
  font-size: 0.92rem;
  line-height: 1.74;
  color: var(--muted);
  margin-bottom: 0;
}
.tl-milestone { background: linear-gradient(135deg, var(--saf-pale), #FFF0E8); border-color: var(--bord2); }
.tl-milestone h3 { color: var(--saffron); }
.tl-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--saf-pale);
  border: 1px solid var(--bord2);
  border-radius: 20px;
  padding: 3px 12px;
  font-family: 'Cinzel', serif;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-top: 10px;
  width: fit-content;
}
.tl-dot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.tl-dot-inner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--saffron), var(--saf-deep));
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--saffron), 0 4px 16px rgba(192, 82, 18, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.tl-item:hover .tl-dot-inner { transform: scale(1.1); }
.tl-blank { }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad-x: 28px; }
  .nav    { display: none; }
  .ham    { display: flex; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .sec    { padding: 64px 0; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-item.tall { grid-row: span 1; }
  .hcard  { grid-template-columns: 180px 1fr; }
    /* Timeline: responsive rules are in timeline.html <style> */
  .hcard    { grid-template-columns: 1fr; }
  .hcard-img { border-right: none; border-bottom: 1px solid var(--bord-card); min-height: 110px; }
  .ft-grid  { grid-template-columns: 1fr; }
  .ft-btm-inner { flex-direction: column; text-align: center; }
  .sec      { padding: 52px 0; }
  .quote-inner { padding: 0 22px; }
  .article-body { padding: 44px 22px 60px; }
  .article-hero-inner { padding: 0 22px; }
}

@media (max-width: 480px) {
  .gal-filters { gap: 7px; }
  .gf { padding: 7px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   DROPDOWN SUBMENU SYSTEM
═══════════════════════════════════════════════════════════════ */

.nav { display: flex; align-items: center; gap: 28px; }

.nav-item { position: relative; }

/* Top-level link with dropdown arrow */
.nav-item > .nav-link::before {
  content: none;
}
.has-drop > .nav-link .drop-arrow {
  display: inline-block !important;
  font-size: .45rem !important;
  margin-left: 4px !important;
  transition: transform .25s !important;
  vertical-align: middle !important;
  opacity: .6 !important;
}
.has-drop:hover > .nav-link .drop-arrow,
.has-drop.open > .nav-link .drop-arrow {
  transform: rotate(180deg) !important;
}

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #FFFEF9;
  border: 1px solid rgba(138,101,8,.16);
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(60,30,8,.14);
  min-width: 210px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 800;
}
/* Arrow pip */
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px;
  background: #FFFEF9;
  border-top: 1px solid rgba(138,101,8,.16);
  border-left: 1px solid rgba(138,101,8,.16);
}

.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex !important;
  align-items: center;
  gap: 9px;
  padding: 10px 18px !important;
  font-family: 'Cinzel', serif !important;
  font-size: .58rem !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: rgba(58,32,16,.7) !important;
  transition: all .2s !important;
  white-space: nowrap;
  border-radius: 6px;
  margin: 1px 6px;
  text-decoration: none !important;
}
.dropdown a:hover {
  color: #C05212 !important;
  background: #FFF4EE !important;
  padding-left: 22px !important;
}
.dropdown a .dd-icon {
  font-size: .9rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.dropdown hr {
  border-color: rgba(138,101,8,.12);
  margin: 5px 12px;
}

/* Wide dropdown (2-col) */
.dropdown.wide {
  min-width: 380px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px;
  gap: 2px;
}
.dropdown.wide hr { grid-column: span 2; }
.dropdown.wide a { margin: 0; }

/* Mobile submenu accordion */
.mob-sub-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 15px 22px !important;
  font-family: 'Cinzel', serif !important;
  font-size: .68rem !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: #2E1808 !important;
  border-bottom: 1px solid rgba(138,101,8,.1) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: all .2s !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: left !important;
  line-height: 1.4 !important;
}
.mob-sub-toggle .msarrow {
  font-size: .7rem !important;
  transition: transform .28s !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}
.mob-sub-toggle.open .msarrow { transform: rotate(180deg) !important; }
.mob-sub-toggle:hover,
.mob-sub-toggle:focus { color: #C05212 !important; background: #FFF4EE !important; }
.mob-sub-toggle.open { color: #C05212 !important; background: rgba(255,244,238,.5) !important; }

.mob-sub {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height .42s cubic-bezier(0,1,.4,1) !important;
  background: #F5EDD8 !important;
  border-bottom: none !important;
}
.mob-sub.open { max-height: 500px !important; }
.mob-sub a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 28px !important;
  font-family: 'Cinzel', serif !important;
  font-size: .62rem !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: rgba(58,32,16,.72) !important;
  border-bottom: 1px solid rgba(138,101,8,.06) !important;
  transition: all .2s !important;
  text-decoration: none !important;
  background: transparent !important;
}
.mob-sub a:last-child { border-bottom: none !important; }
.mob-sub a:hover {
  color: #C05212 !important;
  background: rgba(255,244,238,.7) !important;
  padding-left: 34px !important;
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV SUBMENU — FINAL OVERRIDE BLOCK
   These rules come LAST in the file so they beat Bootstrap
   and any earlier declarations
═══════════════════════════════════════════════════════════════ */

/* ── Hamburger ── */
.ham { display: none !important; flex-direction: column; gap: 5px; padding: 9px; border: 1.5px solid rgba(138,101,8,.18); border-radius: 8px; background: none !important; cursor: pointer; }
.ham span { display: block !important; width: 20px; height: 1.5px; background: #2E1808 !important; border-radius: 2px; transition: background .2s; }
@media (max-width: 1100px) { .nav { display: none !important; } .ham { display: flex !important; } }

/* ── Mobile overlay veil ── */
.mob-veil { position: fixed !important; inset: 0 !important; background: rgba(26,14,4,.45) !important; z-index: 800 !important; opacity: 0 !important; pointer-events: none !important; transition: opacity .35s !important; }
.mob-veil.on { opacity: 1 !important; pointer-events: all !important; }

/* ── Mobile slide panel ── */
.mob-panel { position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; width: min(320px,88vw) !important; background: #FEFCF6 !important; z-index: 900 !important; transform: translateX(110%) !important; transition: transform .42s cubic-bezier(.4,0,.2,1) !important; display: flex !important; flex-direction: column !important; box-shadow: -6px 0 40px rgba(26,14,4,.18) !important; overflow: hidden !important; }
.mob-panel.on { transform: translateX(0) !important; }

/* ── Panel head ── */
.mob-head { padding: 18px 20px !important; border-bottom: 1px solid rgba(138,101,8,.15) !important; display: flex !important; align-items: center !important; justify-content: space-between !important; background: #F5EDD8 !important; flex-shrink: 0 !important; }

/* ── Close button ── */
.mob-x { width: 34px !important; height: 34px !important; border-radius: 50% !important; border: 1.5px solid rgba(138,101,8,.2) !important; background: none !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; font-size: 1rem !important; color: #2E1808 !important; flex-shrink: 0 !important; }

/* ── Nav scroll area ── */
.mob-nav { flex: 1 !important; overflow-y: auto !important; overflow-x: hidden !important; padding: 6px 0 !important; -webkit-overflow-scrolling: touch !important; }

/* ── Nav top-level links ── */
.mob-a { display: flex !important; align-items: center !important; gap: 10px !important; padding: 14px 20px !important; font-family: 'Cinzel', serif !important; font-size: .68rem !important; letter-spacing: .13em !important; text-transform: uppercase !important; color: #2E1808 !important; text-decoration: none !important; border-bottom: 1px solid rgba(138,101,8,.08) !important; background: transparent !important; transition: background .2s, color .2s !important; }
.mob-a:hover, .mob-a.on { color: #C05212 !important; background: #FFF4EE !important; }

/* ── SUBMENU TOGGLE BUTTON ── */
.mob-sub-toggle {
  /* Reset Bootstrap completely */
  all: unset !important;
  /* Now set everything we need */
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 14px 20px !important;
  font-family: 'Cinzel', serif !important;
  font-size: .68rem !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  color: #2E1808 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(138,101,8,.08) !important;
  cursor: pointer !important;
  line-height: 1.4 !important;
  -webkit-tap-highlight-color: transparent !important;
}
.mob-sub-toggle:hover  { color: #C05212 !important; background: rgba(255,244,238,.6) !important; }
.mob-sub-toggle.open   { color: #C05212 !important; background: rgba(255,244,238,.4) !important; }

/* ── Arrow ── */
.msarrow { font-size: .65rem !important; transition: transform .3s ease !important; display: inline-block !important; margin-left: 6px !important; flex-shrink: 0 !important; }
.mob-sub-toggle.open .msarrow { transform: rotate(180deg) !important; }

/* ── SUBMENU PANEL ── */
.mob-sub {
  /* Reset */
  all: unset !important;
  box-sizing: border-box !important;
  /* Collapsed state */
  display: block !important;
  max-height: 0 !important;
  overflow: hidden !important;
  background: #F0E8D4 !important;
  border-bottom: none !important;
  width: 100% !important;
  /* Transition */
  transition: max-height .4s cubic-bezier(0,1,.5,1) !important;
}
.mob-sub.open { max-height: 400px !important; }

/* ── Submenu links ── */
.mob-sub a {
  all: unset !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 12px 20px 12px 32px !important;
  font-family: 'Cinzel', serif !important;
  font-size: .62rem !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: rgba(58,32,16,.7) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(138,101,8,.06) !important;
  background: transparent !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: color .2s, background .2s !important;
}
.mob-sub a:hover { color: #C05212 !important; background: rgba(255,244,238,.7) !important; }
.mob-sub a:last-child { border-bottom: none !important; }

/* ── Panel footer ── */
.mob-foot { padding: 18px 20px 24px !important; border-top: 1px solid rgba(138,101,8,.12) !important; flex-shrink: 0 !important; }
.mob-donate { display: block !important; background: linear-gradient(135deg,#C05212,#8B3608) !important; color: #fff !important; font-family: 'Cinzel',serif !important; font-size: .65rem !important; font-weight: 600 !important; letter-spacing: .16em !important; text-transform: uppercase !important; padding: 14px !important; border-radius: 8px !important; text-align: center !important; margin-bottom: 12px !important; text-decoration: none !important; }
.mob-donate:hover { color: #fff !important; }
.mob-info { display: flex !important; flex-direction: column !important; gap: 8px !important; }
.mob-info a { font-size: .88rem !important; color: #7A5438 !important; text-decoration: none !important; display: flex !important; align-items: center !important; gap: 7px !important; }


/* ── Hero Full Width Override ── */
.hero,
.hero-bg,
.hero-bg svg,
.temple-hero,
.counter-strip,
.donate-hero,
.about-strip,
.tl-cta-section,
.bg-s,
.impact-strip {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* ── Page Banner full width ── */
.page-banner {
  width: 100% !important;
  max-width: 100% !important;
}

/* ── Elementor compatibility: remove extra padding on sai-page-content ── */
.sai-page-content {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
