/* =========================================================
   Shree Amit Mittal Garbhdhan Sanskar & Maternity Home
   Editorial design system — warm sanctuary aesthetic
   (Loaded globally so Elementor widgets styled via CSS classes
   render exactly like the original design.)
   ========================================================= */

:root {
  /* Paper / surface */
  --paper:        #F6EEDE;
  --paper-soft:   #FBF6EB;
  --paper-deep:   #EFE3CD;
  --ivory:        #FFFBF2;

  /* Ink */
  --ink:          #2B1410;     /* near-black warm */
  --ink-soft:     #4A2A20;
  --ink-mute:     #7A5C50;

  /* Accents — pulled from logo + sandstone building */
  --saffron:      #E26A1F;     /* primary saffron orange */
  --saffron-deep: #B84A14;
  --maroon:       #6B1B1B;     /* deep maroon — body ink for headlines */
  --terracotta:   #B85436;     /* hospital sandstone */
  --gold:         #B98432;
  --gold-soft:    #D9B26B;
  --lotus:        #C84B7E;     /* lotus pink */
  --leaf:         #4A6B3A;     /* small dose green */

  /* Helpers */
  --rule:         rgba(43, 20, 16, 0.18);
  --rule-soft:    rgba(43, 20, 16, 0.08);

  /* Type */
  --serif:        "Cormorant Garamond", "Times New Roman", serif;
  --sans:         "Sora", "Helvetica Neue", Arial, sans-serif;
  --hindi:        "Tiro Devanagari Hindi", "Cormorant Garamond", serif;
  --mono:         "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --max:          1280px;
  --gutter:       clamp(20px, 4vw, 56px);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1200px 600px at 85% -200px, rgba(226,106,31,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 120%, rgba(184,84,54,0.10), transparent 60%);
}

/* ============ Typography ============ */
.serif { font-family: var(--serif); }
.hindi { font-family: var(--hindi); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--saffron-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}

.samm h1, .samm h2, .samm h3, .samm h4,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--maroon);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}
.samm h1 { font-size: clamp(44px, 7vw, 96px); font-weight: 500; }
.samm h1 em { font-style: italic; color: var(--saffron); font-weight: 400; }
.samm h2 { font-size: clamp(34px, 4.6vw, 60px); }
.samm h2 em { font-style: italic; color: var(--saffron-deep); font-weight: 400; }
.samm h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; }
.samm h4 { font-size: 18px; font-weight: 500; font-family: var(--sans); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-soft); }

/* Elementor headings opt into the serif look via the .serif class */
h1.serif em, h2.serif em, h3.serif em { font-style: italic; font-weight: 400; }
h1.serif em { color: var(--saffron); }
h2.serif em { color: var(--saffron-deep); }

p { margin: 0 0 1em; }
.lede { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.45; color: var(--ink-soft); font-weight: 400; }
.lede em { color: var(--saffron-deep); }

.devnag-stamp {
  font-family: var(--hindi);
  color: var(--maroon);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
}

/* ============ Layout primitives ============ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.center { display: flex; align-items: center; justify-content: center; }

/* ============ Top bar / Header ============ */
.topstrip {
  background: var(--maroon);
  color: var(--paper-soft);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topstrip .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; padding-bottom: 10px; gap: 24px;
  flex-wrap: wrap;
}
.topstrip a { color: var(--gold-soft); }
.topstrip .pulse {
  display: inline-flex; align-items: center; gap: 8px;
}
.topstrip .pulse::before {
  content:""; width:8px; height:8px; border-radius:50%;
  background: var(--saffron); box-shadow: 0 0 0 4px rgba(226,106,31,0.25);
  animation: heart 1.6s ease-in-out infinite;
}
@keyframes heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 238, 222, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display:flex; align-items:center; gap: 14px; }
.brand img { height: 56px; width: auto; }
.brand .name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--maroon);
  line-height: 1.1;
}
.brand .name small {
  display:block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-top: 4px;
}

.navlinks {
  display: flex; gap: 4px; justify-content: center; flex-wrap: wrap;
}
.navlinks ul {
  display: flex; gap: 4px; justify-content: center; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0;
}
.navlinks li { list-style: none; }
.navlinks a {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
  position: relative;
  transition: color .2s, background .2s;
}
.navlinks a:hover { color: var(--maroon); background: rgba(184, 84, 54, 0.08); }
.navlinks a.is-active,
.navlinks .current-menu-item > a {
  color: var(--maroon);
  background: var(--paper-deep);
}
.navlinks a.is-active::after,
.navlinks .current-menu-item > a::after {
  content: "";
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--saffron);
}

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--maroon);
  color: var(--paper-soft);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  transition: transform .2s, background .2s;
}
.cta:hover { background: var(--saffron-deep); transform: translateY(-1px); color: var(--paper-soft); }
.cta.outline {
  background: transparent;
  color: var(--maroon);
  border: 1px solid var(--maroon);
}
.cta.outline:hover { background: var(--maroon); color: var(--paper-soft); }
.cta.saffron { background: var(--saffron); }
.cta.saffron:hover { background: var(--saffron-deep); }
.cta .arrow { font-size: 16px; }

/* Hamburger (mobile) */
.menubtn { display: none; }
@media (max-width: 980px) {
  .nav .wrap { grid-template-columns: 1fr auto; }
  .navlinks { display: none; }
  .nav.open .navlinks {
    display: flex; flex-direction: column; align-items: stretch;
    grid-column: 1 / -1;
    border-top: 1px solid var(--rule-soft);
    padding-top: 12px;
  }
  .nav.open .navlinks ul { flex-direction: column; align-items: stretch; }
  .nav .cta.nav-cta { display: none; }
  .menubtn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--rule);
    border-radius: 12px; color: var(--maroon);
  }
}

/* ============ Sections ============ */
.samm section { padding: clamp(64px, 9vw, 120px) 0; }
.samm section.tight { padding: clamp(40px, 6vw, 80px) 0; }

.section-head {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-bottom: clamp(40px, 5vw, 72px);
  max-width: 880px;
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============ Page hero (small, used by inner pages) ============ */
.page-hero {
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 5vw, 70px);
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(48px, 7vw, 100px); }
.page-hero .lede { max-width: 720px; margin-top: 24px; }
.page-hero .crumb {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.page-hero .crumb a:hover { color: var(--saffron-deep); }
.page-hero .crumb span { margin: 0 10px; color: var(--rule); }

.arch-bg {
  position: absolute; pointer-events: none; opacity: 0.5;
  inset: 0;
}

/* ============ Cards ============ */
.card {
  background: var(--ivory);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  padding: 32px;
  position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -28px rgba(75,27,27,0.4);
  border-color: var(--gold-soft);
}
.card .num {
  font-family: var(--serif); font-style: italic;
  color: var(--saffron); font-size: 22px;
  position: absolute; top: 24px; right: 28px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Arch card — top has arched window shape */
.arch-card {
  background: var(--ivory);
  border: 1px solid var(--rule-soft);
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  display: flex; flex-direction: column;
}
.arch-card .arch-top {
  height: 220px;
  background: var(--terracotta);
  position: relative;
  -webkit-mask: radial-gradient(120% 100% at 50% 100%, black 70%, transparent 70.5%);
  mask: radial-gradient(120% 100% at 50% 100%, black 70%, transparent 70.5%);
  display: flex; align-items: center; justify-content: center;
}
.arch-card .arch-top svg { width: 64px; height: 64px; opacity: 0.95; }
.arch-card .body { padding: 28px; flex: 1; }

/* ============ Buttons inline ============ */
.linkmore {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--maroon);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
  transition: color .2s, border-color .2s, gap .2s;
}
.linkmore:hover { color: var(--saffron-deep); border-color: var(--saffron); gap: 14px; }

/* ============ Footer ============ */
footer.foot {
  background: var(--maroon);
  color: var(--paper-soft);
  padding: 80px 0 32px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
footer.foot::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--saffron) 0%, var(--gold) 40%, var(--lotus) 70%, var(--saffron-deep) 100%);
}
footer.foot .wrap { position: relative; }
footer.foot h4 { color: var(--gold-soft); margin-bottom: 18px; font-family: var(--sans); font-size: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; }
footer.foot .grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 880px) {
  footer.foot .grid { grid-template-columns: 1fr 1fr; }
}
footer.foot .grid p, footer.foot .grid a { color: rgba(251,246,235,0.78); font-size: 14px; }
footer.foot a:hover { color: var(--saffron); }
footer.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
footer.foot .brand-foot { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
footer.foot .brand-foot img { height: 60px; background: var(--paper); padding: 4px; border-radius: 4px; }
footer.foot .brand-foot .name { font-family: var(--serif); font-size: 22px; color: var(--paper-soft); line-height: 1.1; }
footer.foot .brand-foot .name small {
  display:block; font-family: var(--sans);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 500; margin-top: 6px;
}
footer.foot .tagline { font-family: var(--hindi); color: var(--gold-soft); font-size: 22px; margin-top: 18px; }
footer.foot .copy {
  padding-top: 24px; display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(251,246,235,0.55);
}

/* ============ Decorative SVG: arch frame ============ */
.arch-divider {
  display: block; margin: 40px auto; opacity: 0.6;
  color: var(--saffron);
}

/* ============ Utility ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.text-center { text-align: center; }
.muted { color: var(--ink-mute); }
.saff { color: var(--saffron-deep); }
.mar  { color: var(--maroon); }

.tag-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper-deep);
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.tag-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); }

/* Lotus bullet */
.lotus-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.lotus-list li {
  display: grid; grid-template-columns: 24px 1fr; gap: 14px;
  align-items: flex-start;
  font-size: 16px; color: var(--ink-soft); line-height: 1.5;
}
.lotus-list li::before {
  content: "";
  display: block; width: 14px; height: 14px;
  margin-top: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E26A1F'><path d='M12 2C9 6 9 10 12 14C15 10 15 6 12 2Z M2 12C6 9 10 9 14 12C10 15 6 15 2 12Z M22 12C18 9 14 9 10 12C14 15 18 15 22 12Z M12 22C9 18 9 14 12 10C15 14 15 18 12 22Z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Stat row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 800px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat { padding: 24px 0; border-top: 1px solid var(--rule); }
.stat .num { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); color: var(--saffron-deep); line-height: 1; font-weight: 500; }
.stat .lbl { display:block; margin-top: 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }

/* Image holder */
.img-frame {
  position: relative; overflow: hidden;
  border: 1px solid var(--rule);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.img-frame:hover img { transform: scale(1.03); }
.img-frame .corner {
  position: absolute; top: 12px; left: 12px;
  background: var(--paper);
  padding: 6px 12px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--maroon);
}

/* Page transitions / reveals */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Selection ============ */
::selection { background: var(--saffron); color: var(--ivory); }

/* =========================================================
   Home page sections
   ========================================================= */
.hero {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-left h1 { margin-top: 24px; }
.hero-left .lede { margin-top: 32px; max-width: 560px; }
.hero-actions {
  display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap;
}
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 56px; border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.hero-meta > div { padding-right: 16px; }
.hero-meta .num { font-size: clamp(28px, 3.5vw, 40px); color: var(--maroon); line-height: 1; }
.hero-meta .lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-top: 8px; }

/* Founder portrait frame */
.hero-right { position: relative; }
.founder-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5.4;
  max-width: 460px;
  margin: 0 auto;
}
.arch-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: drop-shadow(0 30px 50px rgba(75,27,27,0.35));
}
.founder-img {
  position: absolute;
  inset: 6% 6% 22% 6%;
  width: 88%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  -webkit-mask: radial-gradient(120% 100% at 50% 100%, black 80%, transparent 80.5%);
          mask: radial-gradient(120% 100% at 50% 100%, black 80%, transparent 80.5%);
  border-bottom: 2px solid var(--gold-soft);
  z-index: 2;
}
.founder-rays {
  position: absolute;
  top: 8%; left: 50%; transform: translateX(-50%);
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 100, 0.7) 0%, rgba(255,177,40,0.3) 35%, transparent 65%);
  filter: blur(8px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}
.founder-caption {
  position: absolute; left: 8%; right: 8%; bottom: 5%;
  text-align: center;
  z-index: 3;
}
.corner-flower {
  position: absolute;
  width: 60px; height: 60px;
  z-index: 4;
}
.corner-flower.top-left { top: -20px; left: -20px; transform: rotate(-12deg); }
.corner-flower.bottom-right { bottom: -10px; right: -20px; transform: rotate(18deg); }

.founder-quote {
  position: relative;
  margin-top: 36px;
  padding-left: 22px;
  border-left: 2px solid var(--saffron);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* Marquee */
.marquee {
  margin-top: clamp(60px, 8vw, 100px);
  background: var(--maroon);
  color: var(--gold-soft);
  padding: 18px 0;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  border-top: 1px solid var(--rule-soft);
}
.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: scroll 50s linear infinite;
  width: max-content;
}
.marquee-track span:first-child, .marquee-track span:nth-child(10) { font-family: var(--hindi); font-style: normal; color: var(--saffron); font-size: 20px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* About grid */
.about-grid { align-items: start; gap: clamp(40px, 6vw, 100px); }
.about-grid h2 { font-size: clamp(36px, 4.4vw, 56px); }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

/* Hospital grid */
.hospital-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .hospital-grid { grid-template-columns: 1fr; } }

.hospital-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 600px;
}
.hospital-collage .big { grid-column: 1 / 3; height: 100%; }
.hospital-collage .img-frame { height: 100%; }
.hospital-collage .img-frame:not(.big) { height: 300px; }

@media (max-width: 900px) {
  .hospital-collage { height: auto; }
  .hospital-collage .big, .hospital-collage .img-frame { height: 280px; }
}

/* Donate CTA */
.donate-cta {
  position: relative;
  background: var(--paper-soft);
  border: 1px solid var(--rule-soft);
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.donate-bg { position: absolute; right: -100px; bottom: -100px; width: 400px; pointer-events: none; }
.donate-text { position: relative; z-index: 1; }
.donate-action { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; }
.donate-tiers { display: flex; flex-direction: column; gap: 12px; }
.tier {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ivory); padding: 18px 22px;
  border: 1px solid var(--rule-soft);
  transition: border-color .2s, transform .2s;
}
.tier:hover { border-color: var(--saffron); transform: translateX(4px); }
.tier .amt { font-size: 24px; color: var(--maroon); }
.tier .lbl { font-size: 13px; color: var(--ink-mute); }
.tier.featured { background: var(--maroon); color: var(--paper-soft); border-color: var(--maroon); }
.tier.featured .amt { color: var(--gold-soft); }
.tier.featured .lbl { color: rgba(251,246,235,0.85); }
@media (max-width: 900px) { .donate-cta { grid-template-columns: 1fr; } }

/* ============ WordPress / posts ============ */
.samm-main { padding: clamp(48px, 7vw, 96px) 0; }
.samm-post + .samm-post { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--rule-soft); }
.samm-post .entry-title { margin-bottom: 16px; }
.samm-post .entry-title a:hover { color: var(--saffron-deep); }
.samm-post .entry-meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.samm-post .entry-content > * + * { margin-top: 1em; }
.samm-pagination { margin-top: 56px; display: flex; gap: 12px; flex-wrap: wrap; }
.samm-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--rule); border-radius: 999px;
  font-size: 13px; color: var(--ink-soft);
}
.samm-pagination .page-numbers.current,
.samm-pagination .page-numbers:hover { background: var(--maroon); color: var(--paper-soft); border-color: var(--maroon); }
.samm-404 { text-align: center; }
