/* ===========================================================
   Shree Jivkalyan Panjrapole Trust — Static Site v2
   Refined warm aesthetic; matches original WP site structure.
   =========================================================== */

:root {
  /* Refined warm palette with brand red sampled from logo (#ce2e2e) */
  --ivory: #fbf7ee;
  --ivory-dark: #f0e7d3;
  --paper: #ffffff;
  --maroon: #6e1f1f;
  --maroon-dark: #4a1212;
  --saffron: #cf8d20;
  --saffron-dark: #ce2e2e;       /* Brand red from logo — used as accent everywhere */
  --brand-red: #ce2e2e;          /* Primary brand red (alias) */
  --brand-red-dark: #a82424;     /* Hover/darker variant */
  --gold: #b8902a;
  --yellow-band: #f4c019;
  --yellow-band-soft: #f9d853;
  --grey-band: #3d3d3d;
  --ink: #261d14;
  --ink-soft: #5e4f3a;
  --rule: #d4c8aa;
  --rule-soft: #e9dec5;

  --display: 'Cormorant Garamond', 'Noto Serif Gujarati', 'Noto Serif Devanagari', Georgia, serif;
  --body: 'Hind', 'Noto Serif Gujarati', 'Noto Serif Devanagari', system-ui, sans-serif;
  --gujarati: 'Noto Serif Gujarati', serif;
  --devanagari: 'Noto Serif Devanagari', serif;

  --container: 1180px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(74, 18, 18, 0.05), 0 1px 2px rgba(74, 18, 18, 0.04);
  --shadow-md: 0 8px 24px rgba(74, 18, 18, 0.08), 0 3px 8px rgba(74, 18, 18, 0.05);
  --shadow-lg: 0 20px 50px rgba(74, 18, 18, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--saffron); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  color: var(--maroon-dark);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.05rem; color: var(--ink); font-family: var(--body); font-weight: 600; }

p { margin: 0 0 1em; }
em { font-style: italic; color: var(--saffron-dark); }
strong { font-weight: 600; color: var(--maroon-dark); }

.muted { color: var(--ink-soft); }
.centered { text-align: center; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-primary {
  background: var(--maroon);
  color: var(--ivory);
  border-color: var(--maroon);
}
.btn-primary:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-ghost:hover { background: var(--maroon); color: var(--ivory); }

.text-link {
  font-weight: 500;
  border-bottom: 1px solid var(--saffron);
  padding-bottom: 1px;
}

/* ============= HEADER ============= */
.site-header {
  background: var(--paper);
  border-bottom: 3px double var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-top {
  background: linear-gradient(180deg, var(--paper) 0%, var(--ivory) 100%);
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--maroon); }
.brand-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-title {
  font-family: var(--display);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--maroon-dark);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.brand-sub {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 5px;
  line-height: 1.4;
}

.header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.reg-no {
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}
.reg-no strong {
  color: var(--brand-red);
  font-weight: 600;
}
.header-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.map-pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-red);
  font-weight: 500;
  font-size: 0.95rem;
}
.map-pin:hover { color: var(--maroon-dark); }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.lang-switch .lang-opt {
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-right: 1px solid var(--rule-soft);
  transition: all 0.18s ease;
  font-family: var(--body);
  font-weight: 500;
  line-height: 1.2;
  background: var(--paper);
}
.lang-switch .lang-opt:last-child { border-right: none; }
.lang-switch .lang-opt:hover {
  background: var(--ivory-dark);
  color: var(--maroon);
}
.lang-switch .lang-opt.active {
  background: var(--brand-red);
  color: white;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--maroon);
  border-radius: 1px;
  transition: transform 0.2s;
}

.primary-nav {
  background: var(--maroon-dark);
}
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.primary-nav a {
  display: block;
  padding: 14px 22px;
  color: var(--ivory);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  transition: all 0.2s;
}
.primary-nav a:hover, .primary-nav a.active { background: var(--maroon); color: var(--ivory-dark); }
.primary-nav a.active { background: var(--saffron); color: white; }

/* ============= FLOATING DONATE BUTTON ============= */
.floating-donate {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  background: var(--maroon);
  color: var(--ivory) !important;
  padding: 16px 12px;
  border-radius: 12px 0 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: -4px 4px 18px rgba(0,0,0,0.18);
  transition: all 0.2s ease;
  border: 2px solid var(--brand-red);
  border-right: none;
  max-width: 80px;
  text-align: center;
}
.floating-donate:hover {
  background: var(--brand-red);
  color: white !important;
  padding-right: 18px;
}
.fd-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brand-red);
}
.floating-donate:hover .fd-icon { color: var(--ivory); }
.fd-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.15;
}

/* ============= HOME — HERO SLIDER ============= */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 32px auto 0;
  background: var(--ivory-dark);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--rule-soft);
}
.hero-slider .slides {
  position: relative;
  aspect-ratio: 21 / 9;
  max-height: 520px;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slider .slide.active { opacity: 1; }
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--rule);
  color: var(--maroon);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  font-family: var(--display);
  transition: all 0.2s;
}
.slider-prev:hover, .slider-next:hover {
  background: var(--maroon);
  color: white;
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.slider-dots .dot.active { background: var(--saffron); border-color: var(--saffron); }

/* ============= HOME — WELCOME (below slider) ============= */
.welcome {
  background: var(--ivory);
  padding: 50px 0 40px;
  text-align: center;
}
.welcome-flag {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--saffron-dark);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.welcome h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 18px;
  color: var(--maroon-dark);
}
.welcome-lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 32px;
}
.welcome-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============= HOME — section-head with flowers ============= */
.section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 36px;
}
.section-head h2 {
  margin: 0;
  font-size: 2rem;
  color: var(--maroon-dark);
  font-style: italic;
}
.flower-deco {
  height: 32px;
  width: auto;
  opacity: 0.9;
}

.home-about {
  background: var(--paper);
  padding: 70px 0;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.home-about-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
}

.home-facilities {
  padding: 80px 0;
  background: var(--ivory-dark);
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.facility-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  display: block;
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
  color: inherit;
}
.fc-img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--ivory);
}
.fc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.facility-card:hover .fc-img img { transform: scale(1.05); }
.facility-card h3 {
  margin: 22px 22px 10px;
  font-size: 1.4rem;
  color: var(--maroon-dark);
}
.facility-card p {
  margin: 0 22px 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ============= HOME — STATS BAND ============= */
.stats-band {
  background:
    linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  color: var(--ivory);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.stat-num {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-value {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 600;
  color: var(--saffron);
  line-height: 1;
}
.stat-label {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  margin-top: 6px;
  color: var(--ivory);
}
.stat-cta {
  text-align: right;
}
.stat-cta p {
  font-size: 1.1rem;
  margin: 0 0 16px;
  font-style: italic;
}
.stats-band .btn-primary {
  background: var(--saffron);
  border-color: var(--saffron);
}
.stats-band .btn-primary:hover {
  background: var(--ivory);
  color: var(--maroon-dark);
  border-color: var(--ivory);
}

/* ============= HOME — PHOTO STRIP ============= */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 60px 24px 30px;
}
.photo-strip img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--paper);
  outline: 1px solid var(--rule-soft);
  box-shadow: var(--shadow-sm);
}

/* ============= HOME — DAILY ACTIVITIES & LATEST NEWS ============= */
.home-bottom {
  padding: 40px 0 80px;
}
.home-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.daily-card, .latest-news {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-top: 4px solid var(--saffron);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.daily-card h3, .latest-news h3 {
  font-size: 1.35rem;
  color: var(--maroon-dark);
  margin-top: 0;
}
.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
}
.schedule li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 1rem;
}
.schedule li:last-child { border-bottom: none; }
.schedule strong {
  display: inline-block;
  min-width: 90px;
  color: var(--saffron-dark);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
}

.ln-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--saffron-dark);
}
.ln-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ln-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  align-items: center;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.ln-item:hover {
  background: var(--ivory-dark);
  border-color: var(--rule-soft);
  color: var(--ink);
}
.ln-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}
.ln-item time {
  font-size: 0.78rem;
  color: var(--saffron-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}
.ln-item h4 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--maroon-dark);
  font-family: var(--body);
}

/* ============= GENERIC PAGE HEADER (light, left-aligned) ============= */
.page-header-light {
  background: var(--ivory);
  padding: 38px 0 18px;
  border-bottom: 1px solid var(--rule-soft);
}
.page-header-light h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--maroon-dark);
  text-align: left;
}
.page-header-light .back-link {
  display: inline-block;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  color: var(--saffron-dark);
}
.page-header-light .post-date {
  display: block;
  margin-top: 6px;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Old heavy header — keep for any leftover references but unused */
.page-header {
  background: linear-gradient(180deg, var(--ivory-dark) 0%, var(--ivory) 100%);
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--rule-soft);
  text-align: center;
  position: relative;
}
.page-header::after {
  content: '✦';
  display: block;
  margin: 18px auto 0;
  color: var(--saffron);
  font-size: 1.4rem;
}
.page-header h1 { margin: 0; }
.back-link {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  color: var(--saffron-dark);
}
.post-date {
  display: block;
  margin-top: 14px;
  font-style: italic;
  color: var(--saffron-dark);
}

/* ============= ABOUT PAGE ============= */
.about-intro {
  max-width: 880px;
  padding: 40px 24px 30px;
}
.about-intro p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 1.2em;
}

.motivation {
  padding: 50px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.motivation h2 {
  margin-bottom: 32px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--maroon-dark);
}
.maharaj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.maharaj-card {
  text-align: center;
  background: var(--ivory);
  padding: 32px 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--rule-soft);
  transition: all 0.25s;
}
.maharaj-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-red);
}
.m-photo {
  width: 200px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory-dark);
  border: 4px solid var(--paper);
  outline: 1px solid var(--rule);
}
.m-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.maharaj-card h3 {
  font-size: 1.1rem;
  color: var(--maroon-dark);
  margin: 0;
  line-height: 1.3;
}

.committee {
  padding: 60px 0 70px;
  background: var(--ivory);
}
.committee h2 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.committee .muted {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  font-weight: 500;
}
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.committee-grid.leads {
  grid-template-columns: repeat(4, 1fr);
}
.committee-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: all 0.25s;
}
.committee-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}
.cc-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ivory);
}
.cc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cc-body {
  padding: 16px 14px 20px;
}
.cc-role {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  font-weight: 600;
  margin-bottom: 6px;
}
.cc-name {
  font-size: 0.95rem;
  margin: 0;
  color: var(--maroon-dark);
  font-family: var(--body);
  font-weight: 600;
  line-height: 1.3;
}

/* ============= DONATION BANNER (yellow strip) ============= */
.donate-banner {
  margin: 50px 0 30px;
  background: var(--yellow-band);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 30px;
  padding: 30px 40px 30px 0;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.donate-banner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 180px;
  background: var(--grey-band);
  clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
}
.db-photo {
  position: relative;
  z-index: 2;
  margin-left: 20px;
}
.db-photo img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  border: 4px solid var(--paper);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.db-text {
  font-family: var(--gujarati), var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--maroon-dark);
  line-height: 1.4;
  z-index: 2;
}
.db-cta {
  text-align: center;
  z-index: 2;
}
.db-cta p {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--maroon-dark);
  font-weight: 500;
}
.btn-donate {
  display: inline-block;
  background: var(--maroon);
  color: var(--ivory) !important;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(80,20,20,0.25);
}
.btn-donate:hover {
  background: var(--maroon-dark);
  transform: translateY(-1px);
}

/* ============= GENERIC PROSE ============= */
.prose, .page-body {
  padding: 50px 24px 30px;
  max-width: 880px;
  margin: 0 auto;
}
.prose h2 {
  margin-top: 1.6em;
  padding-top: 0.4em;
  border-top: 1px solid var(--rule-soft);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { margin-top: 1.4em; color: var(--saffron-dark); }
.prose p { margin-bottom: 1.1em; }
.prose img {
  margin: 30px auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--paper);
  outline: 1px solid var(--rule-soft);
}
.prose iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}
.prose ul, .prose ol { margin-bottom: 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }

.full-figure {
  margin: 0 0 30px;
}
.full-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ============= JAIN DAHERASAR ============= */
.daherasar-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 50px 24px 30px;
}
.daherasar-photos img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--paper);
  outline: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
}
.daherasar-titles {
  text-align: center;
  padding: 20px 24px;
}
.daherasar-titles h2 {
  margin: 4px 0;
  color: var(--saffron-dark);
  font-style: italic;
}
.stavan-block {
  padding: 50px 24px;
  margin-bottom: 30px;
}
.stavan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.stavan-col {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-top: 4px solid var(--saffron);
  border-radius: var(--radius);
  padding: 28px;
}
.stavan-col h3 {
  font-size: 1.2rem;
  margin: 0 0 16px;
  color: var(--maroon-dark);
}
.stavan-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stavan-col li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.stavan-col li:last-child { border-bottom: none; }
.stavan-col a {
  color: var(--maroon);
  font-size: 0.95rem;
}

/* ============= FACILITIES (page) ============= */
.facility-detail {
  padding: 50px 24px 30px;
}
.facility-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.facility-row:last-child { border-bottom: none; }
.facility-row.reverse .fr-img { order: 2; }
.fr-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--paper);
  outline: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
}
.fr-body h2 {
  margin-top: 0;
  font-size: 2rem;
  color: var(--maroon-dark);
}
.fr-body p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink);
}

/* ============= GALLERY ============= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 50px 24px 30px;
}
.gallery-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: all 0.25s;
  display: block;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}
.gc-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory-dark);
}
.gc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-card:hover .gc-img img { transform: scale(1.05); }
.gc-body {
  padding: 22px 24px;
}
.gc-body h3 {
  margin: 0 0 6px;
  color: var(--maroon-dark);
}
.gc-body p {
  margin: 0;
  color: var(--saffron-dark);
  font-size: 0.92rem;
}

/* ============= DONATION PAGE — 50/50 split layout ============= */
.donate-hero {
  padding: 30px 0 60px;
  background: var(--ivory);
}
.donate-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.donate-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.donate-right {
  position: sticky;
  top: 130px;
}
.donate-right h2 {
  margin: 0 0 22px;
  color: var(--maroon-dark);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}
.donate-right p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.1em;
  color: var(--ink);
}
.upi-card {
  background: var(--paper);
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--rule-soft);
  text-align: center;
}
.upi-card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: var(--maroon-dark);
}
.upi-card img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}
.upi-id {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.bank-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-top: 4px solid var(--brand-red);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}
.bank-card h3 {
  margin: 0 0 14px;
  color: var(--maroon-dark);
  font-size: 1.15rem;
}
.bank-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 14px;
  font-size: 0.92rem;
}
.bank-card dt {
  font-weight: 600;
  color: var(--ink-soft);
}
.bank-card dd { margin: 0; }
.copyable {
  font-family: 'Courier New', monospace;
  background: var(--ivory);
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px dashed var(--rule);
  user-select: all;
  transition: all 0.2s;
}
.copyable:hover {
  background: var(--brand-red);
  color: white;
  border-style: solid;
}
.verify-note {
  margin-top: 14px;
  padding: 14px 20px;
  background: rgba(244, 192, 25, 0.15);
  border-left: 3px solid var(--brand-red);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ============= VIDEO EMBEDS ============= */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--paper);
  outline: 1px solid var(--rule);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-embed-large {
  margin: 0 auto 28px;
  max-width: 800px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stavan-block {
  padding: 50px 24px;
  margin-bottom: 30px;
}
.stavan-block h2 {
  margin-bottom: 30px;
  color: var(--maroon-dark);
}
.stavan-section-title {
  margin: 30px 0 16px;
  color: var(--brand-red);
  font-size: 1.3rem;
  font-style: italic;
}
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--ivory-dark);
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--maroon);
  margin-top: 8px;
}
.pdf-link:hover {
  background: var(--brand-red);
  color: white;
  border-style: solid;
}
.pdf-link-disabled {
  cursor: not-allowed;
  opacity: 0.65;
  background: var(--ivory-dark);
  color: var(--ink-soft);
  border: 1px dashed var(--rule);
}
.pdf-link-disabled:hover {
  background: var(--ivory-dark);
  color: var(--ink-soft);
  border-style: dashed;
}
.pdf-link .badge,
.pdf-link-disabled .badge {
  background: var(--brand-red);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
}

/* Gujarati prose */
.gu-prose {
  font-family: var(--gujarati);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--ink);
  margin: 24px 0;
  padding: 18px 24px;
  background: var(--ivory-dark);
  border-left: 4px solid var(--brand-red);
  border-radius: 4px;
}

/* ============= GOOGLE REVIEWS (Featurable widget) ============= */
.reviews-section {
  margin: 60px 0 80px;
  padding-top: 50px;
  border-top: 1px solid var(--rule-soft);
}
.reviews-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 6px;
  color: var(--maroon-dark);
}
.reviews-section .muted {
  margin-bottom: 30px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.reviews-cta {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-top: 4px solid var(--brand-red);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}
.reviews-cta p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

/* ============= CONTACT ============= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 50px 0 30px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-top: 4px solid var(--saffron);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-size: 1.15rem;
  margin: 0 0 14px;
  color: var(--maroon-dark);
}
.contact-card address {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-soft);
}
.contact-card .phone {
  margin-top: 12px;
  font-weight: 500;
}

.map-wrap {
  margin: 30px 0 70px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--paper);
  outline: 1px solid var(--rule);
}
.map-wrap iframe {
  width: 100%;
  height: 460px;
  border: none;
  display: block;
}

/* ============= NEWS LIST ============= */
.news-list {
  padding: 50px 24px 70px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.news-card {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}
.news-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ivory-dark);
}
.news-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-body time {
  font-size: 0.8rem;
  color: var(--saffron-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.news-body h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 10px;
}
.news-body h3 a { color: var(--maroon-dark); }
.news-body p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.read-more {
  font-size: 0.9rem;
  font-weight: 500;
  align-self: flex-start;
}

.post-feature {
  margin: 0 0 32px;
}
.post-feature img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--paper);
  outline: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
}

/* ============= FOOTER ============= */
.site-footer {
  background: #1f1410;
  color: #ffffff;
  padding: 60px 0 0;
  font-size: 1rem;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 0.6fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.footer-jain {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.footer-brand h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 600;
}
.footer-tag {
  color: #ffffff;
  font-style: italic;
  font-size: 0.96rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-desc {
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.6;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--body);
  font-weight: 600;
}
.footer-col address {
  font-style: normal;
  line-height: 1.65;
  color: #ffffff;
  font-size: 0.96rem;
  font-family: var(--body);
}
.footer-col strong { color: #ffffff; font-weight: 500; }
.footer-col a { color: #ffffff; }
.footer-col a:hover { color: var(--brand-red); }

.map-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-family: var(--body);
  transition: all 0.2s;
}
.map-nav:hover {
  background: var(--brand-red);
  color: white !important;
  border-color: var(--brand-red);
}

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.87rem;
  color: #ffffff;
  font-family: var(--body);
}
.footer-bottom p { margin: 0; color: #ffffff; }
.footer-links a { color: #ffffff; margin: 0 4px; }
.footer-links .sep { opacity: 0.5; margin: 0 4px; color: #ffffff; }

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .home-bottom-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .committee-grid, .committee-grid.leads { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .header-meta { display: none; }
  .facility-grid { grid-template-columns: 1fr; }
  .maharaj-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .donate-split { grid-template-columns: 1fr; gap: 32px; }
  .donate-right { position: static; }
  .upi-card img { max-width: 280px; }
  .facility-row, .facility-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .facility-row.reverse .fr-img { order: 0; }
  .stats-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .stat-cta { text-align: left; }
  .committee-grid, .committee-grid.leads { grid-template-columns: repeat(2, 1fr); }
  .donate-banner {
    grid-template-columns: 1fr;
    padding: 30px 24px;
    text-align: center;
  }
  .donate-banner::before { display: none; }
  .db-photo { margin: 0 auto; }
  .daherasar-photos { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .primary-nav { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .primary-nav.open { max-height: 600px; }
  .primary-nav ul { flex-direction: column; padding: 8px 0; }
  .primary-nav a { padding: 12px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }

  .brand-title { font-size: 1.4rem; }
  .brand-sub { font-size: 0.78rem; }
  .brand-logo { width: 64px; height: 64px; }

  .hero-slider .slides { aspect-ratio: 16 / 10; }
  .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 1.2rem; }

  .floating-donate {
    bottom: 18px;
    right: 18px;
    top: auto;
    transform: none;
    border-radius: 50px;
    border-right: 2px solid var(--brand-red);
    flex-direction: row;
    padding: 10px 16px;
    max-width: none;
  }
  .fd-text { font-size: 0.78rem; }
  .fd-icon { font-size: 1.2rem; }

  .gallery-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .section-head { gap: 12px; }
  .flower-deco { height: 22px; }
  .section-head h2 { font-size: 1.6rem; }

  .committee-grid, .committee-grid.leads { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .brand-logo { width: 56px; height: 56px; }
  .brand-title { font-size: 1.15rem; }
  .brand-sub { font-size: 0.72rem; }
  .hero-slider { margin: 16px auto 0; border-radius: 4px; }
  .photo-strip { grid-template-columns: 1fr; }
  .welcome-cta { flex-direction: column; align-items: stretch; }
  .welcome-cta .btn { width: 100%; }
  .committee-grid, .committee-grid.leads { grid-template-columns: 1fr; }
  .bank-card dl { grid-template-columns: 1fr; gap: 4px; }
  .bank-card dt { margin-top: 8px; }
}
