/* ============================================================
   JIVANAM FOUNDATION — jivanamfoundation.org
   Brand: crimson red + warm maroon + heartbeat (ECG) motif
   Type:  "Baloo 2" (display) + "Nunito Sans" (body)
   ============================================================ */

:root {
  --red:        #D6202A;
  --red-dark:   #A5121B;
  --red-soft:   #FBE9EA;
  --maroon:     #5B3A3A;
  --ink:        #2A1E1E;
  --body:       #57493F;
  --cream:      #FFF9F3;
  --sand:       #F7EDE1;
  --gold:       #E8A33D;
  --gold-soft:  #FDF3E2;
  --white:      #FFFFFF;
  --line:       #EBDDCE;

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(91, 58, 58, .12);
  --shadow-lg: 0 20px 50px rgba(91, 58, 58, .18);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }

.section { padding: 90px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--sand); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { margin-top: 14px; }

/* Eyebrow with heartbeat tick */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 14px; flex: none;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 28'%3E%3Cpath d='M0 14h18l6-9 8 18 6-13 4 4h26' fill='none' stroke='%23D6202A' stroke-width='3'/%3E%3C/svg%3E");
}

/* Heartbeat divider — the brand signature */
.heartbeat-divider { color: var(--red); opacity: .85; height: 44px; overflow: hidden; }
.heartbeat-divider svg { width: 100%; height: 100%; display: block; }
.heartbeat-divider path {
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: hb-draw 3.2s ease forwards;
}
@keyframes hb-draw { to { stroke-dashoffset: 0; } }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 13px 28px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(214, 32, 42, .32); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px rgba(232, 163, 61, .35); }

/* ---------------- Header ---------------- */
#site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  transition: box-shadow .25s ease;
}
#site-header.scrolled { box-shadow: 0 6px 24px rgba(42, 30, 30, .1); }

.topbar { background: var(--maroon); color: #F3E4E4; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #F3E4E4; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-right span { color: var(--gold); font-weight: 600; letter-spacing: .04em; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { height: 58px; width: auto; }

.main-nav ul { list-style: none; }
.main-nav > ul { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; }
.main-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  color: var(--ink); padding: 10px 13px; border-radius: 999px;
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--red); background: var(--red-soft); }
.main-nav a.active { color: #fff; background: var(--red); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-donate {
  background: var(--red); color: #fff; padding: 10px 22px;
  box-shadow: 0 6px 18px rgba(214, 32, 42, .3);
}
.btn-donate:hover { background: var(--red-dark); color: #fff; }
.btn-donate svg { animation: pulse-heart 1.8s ease-in-out infinite; }
@keyframes pulse-heart { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.22); } 24% { transform: scale(1); } }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(232, 163, 61, .22), transparent 60%),
    radial-gradient(700px 500px at -8% 110%, rgba(214, 32, 42, .1), transparent 60%),
    var(--sand);
}
.hero-inner {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center;
  padding: 84px 24px 96px;
}
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 span { color: var(--red); }
.hero-copy p.lede { margin: 20px 0 32px; font-size: 1.15rem; max-width: 34rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust div { font-size: .9rem; }
.hero-trust strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--maroon); line-height: 1.2; }

.hero-visual { position: relative; }
.hero-visual .hero-card {
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}
.hero-visual .hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; border-radius: var(--radius);
  padding: 14px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
}
.hero-badge .hb-icon {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--red-soft); display: grid; place-items: center;
}
.hero-badge .hb-icon svg { width: 22px; height: 22px; fill: var(--red); }
.hero-badge small { display: block; font-family: var(--font-body); font-weight: 600; color: var(--body); font-size: .8rem; }

/* Hero heartbeat baseline */
.hero-heartbeat {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46px;
  color: var(--red); opacity: .35; pointer-events: none;
}
.hero-heartbeat svg { width: 100%; height: 100%; }

/* ---------------- Cards / grids ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

.card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px 26px 28px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: .97rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700; margin-top: 14px;
}
.card-link::after { content: "→"; transition: transform .18s ease; }
.card:hover .card-link::after { transform: translateX(4px); }

/* Icon feature tiles */
.tile {
  background: #fff; border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.tile:hover { transform: translateY(-5px); }
.tile-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--red-soft); display: grid; place-items: center;
  margin-bottom: 18px;
}
.tile-icon svg { width: 28px; height: 28px; fill: var(--red); }
.tile.gold .tile-icon { background: var(--gold-soft); }
.tile.gold .tile-icon svg { fill: var(--gold); }
.tile h3 { margin-bottom: 8px; font-size: 1.18rem; }
.tile p { font-size: .95rem; }

/* ---------------- Stats band ---------------- */
.stats-band { background: var(--maroon); color: #F6E9E2; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background: no-repeat center / 140% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Cpath d='M0 100h300l20-40 30 80 25-60 15 20h250l20-45 30 90 25-70 15 25h270l20-40 30 80 25-60 15 20h110' fill='none' stroke='%23fff' stroke-width='4'/%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.stat { text-align: center; }
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold); line-height: 1.1;
}
.stat span { font-size: .95rem; letter-spacing: .03em; }

/* ---------------- Donate / QR block ---------------- */
.donate-panel {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 28px; color: #fff;
  padding: clamp(32px, 5vw, 60px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.donate-panel::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.donate-panel h2 { color: #fff; }
.donate-panel p { color: #FBDCDD; margin-top: 14px; }
.donate-panel .amount-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.amount-chip {
  font-family: var(--font-display); font-weight: 700;
  background: rgba(255, 255, 255, .14); color: #fff;
  border: 2px solid rgba(255, 255, 255, .4);
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.amount-chip:hover { transform: translateY(-2px); }
.amount-chip.selected { background: #fff; color: var(--red); border-color: #fff; }

.qr-card {
  background: #fff; border-radius: 22px; padding: 26px;
  text-align: center; color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  position: relative; z-index: 1;
}
.qr-card img { width: min(250px, 100%); margin: 12px auto; border-radius: 10px; }
.qr-card h3 { font-size: 1.15rem; }
.qr-card small { color: var(--body); display: block; line-height: 1.55; }
.qr-card .qr-org { font-family: var(--font-display); font-weight: 700; color: var(--red); margin-top: 4px; }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(91, 58, 58, .92), rgba(165, 18, 27, .88)),
    var(--maroon);
  color: #fff; text-align: center;
  padding: 76px 0 86px; position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero p { max-width: 620px; margin: 14px auto 0; color: #F3DBDB; }
.page-hero .crumbs { font-size: .88rem; margin-top: 20px; color: #E8B9B9; }
.page-hero .crumbs a { color: var(--gold); }
.page-hero .hero-heartbeat { opacity: .25; color: #fff; }

/* ---------------- About page ---------------- */
.about-media { position: relative; }
.about-media img { border-radius: 24px; box-shadow: var(--shadow-lg); }
.about-media .years {
  position: absolute; right: -14px; bottom: -18px;
  background: var(--gold); color: var(--ink);
  border-radius: 18px; padding: 16px 22px; text-align: center;
  font-family: var(--font-display); box-shadow: var(--shadow);
}
.about-media .years strong { display: block; font-size: 1.9rem; line-height: 1; }
.about-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; }
.about-list li::before {
  content: "✔"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; font-size: .8rem; margin-top: 3px;
}

.reg-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.reg-table th, .reg-table td { padding: 15px 20px; text-align: left; font-size: .96rem; }
.reg-table th { font-family: var(--font-display); background: var(--maroon); color: #fff; }
.reg-table tr:nth-child(even) td { background: var(--sand); }
.reg-table td:first-child { font-weight: 700; color: var(--ink); width: 42%; }

/* Mission / vision */
.mv-card { border-top: 5px solid var(--red); }
.mv-card.gold-top { border-top-color: var(--gold); }

/* ---------------- Services page ---------------- */
.service-row {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px;
  align-items: center; padding: 56px 0; border-bottom: 1px dashed var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row.flip { direction: rtl; }
.service-row.flip > * { direction: ltr; }
.service-row img { border-radius: 22px; box-shadow: var(--shadow-lg); }
.service-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.service-points { list-style: none; margin: 18px 0 26px; display: grid; gap: 10px; }
.service-points li { padding-left: 30px; position: relative; font-size: .98rem; }
.service-points li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 18px; height: 12px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Cpath d='M0 12h10l4-8 6 16 4-11 3 3h9' fill='none' stroke='%23D6202A' stroke-width='3'/%3E%3C/svg%3E");
}

/* ---------------- Cases page ---------------- */
.case-card .card-img { aspect-ratio: 16 / 10; }
.case-tag {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--red-soft); color: var(--red);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.case-tag.gold { background: var(--gold-soft); color: #B27718; }
.progress { height: 10px; background: var(--sand); border-radius: 999px; margin: 18px 0 8px; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--gold)); }
.progress-meta { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; color: var(--maroon); }

/* ---------------- Volunteers ---------------- */
.vol-card { text-align: center; padding: 34px 22px 30px; }
.vol-avatar {
  width: 96px; height: 96px; margin: 0 auto 16px;
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: #fff;
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 3px var(--red-soft);
}
.vol-card h3 { font-size: 1.12rem; }
.vol-role { color: var(--red); font-weight: 700; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.vol-meta { font-size: .88rem; margin-top: 8px; }
.vol-badge {
  display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700;
  background: var(--gold-soft); color: #A56F14; padding: 4px 12px; border-radius: 999px;
}

/* ---------------- Forms ---------------- */
.form-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 46px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-weight: 600; font-size: .93rem; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; color: var(--ink);
  padding: 13px 16px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--cream);
  transition: border-color .15s ease, background .15s ease;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check-chip { position: relative; }
.check-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-chip span {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  border: 2px solid var(--line); font-size: .9rem; font-weight: 700; color: var(--body);
  transition: all .15s ease; cursor: pointer;
}
.check-chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.check-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-success {
  background: #E9F7EC; border: 2px solid #4CAF50; color: #205B27;
  border-radius: 14px; padding: 18px 22px; margin-top: 22px;
  font-weight: 700;
}

/* ---------------- Contact page ---------------- */
.contact-info-card { background: var(--maroon); color: #F6E9E2; border-radius: 24px; padding: 40px 36px; height: 100%; }
.contact-info-card h3 { color: #fff; margin-bottom: 22px; }
.contact-line { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-line svg { width: 22px; height: 22px; fill: var(--gold); flex: none; margin-top: 4px; }
.contact-line a { color: var(--gold); }
.contact-line strong { color: #fff; display: block; font-family: var(--font-display); }
.map-embed { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------------- FAQ ---------------- */
.faq-item { background: #fff; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  padding: 20px 54px 20px 24px; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; color: var(--red);
  transition: transform .2s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 24px 22px; font-size: .96rem; }

/* ---------------- CTA strip ---------------- */
.cta-strip {
  background: linear-gradient(120deg, var(--gold) 0%, #F2BC63 100%);
  border-radius: 26px; padding: clamp(34px, 5vw, 54px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow);
}
.cta-strip h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-strip p { color: #5C4310; }
.cta-strip .btn-primary { flex: none; }

/* ---------------- Footer ---------------- */
#site-footer { background: var(--ink); color: #D9C8BC; margin-top: 0; }
.footer-heartbeat { height: 40px; color: var(--red); opacity: .8; background: var(--ink); }
.footer-heartbeat svg { width: 100%; height: 100%; display: block; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.2fr;
  gap: 42px; padding: 56px 24px 46px;
}
.footer-logo { height: 62px; width: auto; background: #fff; padding: 8px 14px; border-radius: 12px; margin-bottom: 18px; }
.footer-col p { font-size: .93rem; }
.footer-reg { margin-top: 14px; font-size: .82rem !important; color: #A08D80; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #D9C8BC; font-size: .94rem; transition: color .15s ease, padding-left .15s ease; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact a { color: var(--gold); }
.footer-contact p { margin-bottom: 12px; }
.footer-contact strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 20px 24px; font-size: .82rem; color: #A08D80;
}
.footer-credit a { color: inherit; text-decoration: none; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav a { padding: 9px 9px; font-size: .92rem; }
}

@media (min-width: 1121px) and (max-width: 1300px) {
  .main-nav > ul { gap: 2px; }
  .main-nav a, .sub-toggle { padding: 9px 10px; font-size: .92rem; }
  .header-inner { gap: 12px; }
}

@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  /* dim backdrop behind the drawer */
  body.nav-open::before {
    content: ""; position: fixed; inset: 0; z-index: 88;
    background: rgba(28, 14, 12, .48); backdrop-filter: blur(2px);
    animation: navFade .3s ease;
  }
  @keyframes navFade { from { opacity: 0; } to { opacity: 1; } }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 90;
    width: min(86%, 360px);
    background: var(--white);
    border-radius: 0;
    transform: translateX(105%);
    transition: transform .34s cubic-bezier(.4, 0, .2, 1);
    padding: 104px 16px 40px;
    overflow-y: auto;
  }
  .main-nav.open { transform: none; box-shadow: -30px 0 80px rgba(28, 14, 12, .28); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  /* show leading icons in the drawer */
  .nav-ico { display: inline-flex; fill: var(--red); }
  /* top-level rows: full width, left aligned, clean list */
  .main-nav > ul > li > a,
  .main-nav .sub-toggle {
    display: flex; align-items: center; gap: 14px; width: 100%;
    text-align: left; font-family: var(--font-display); font-weight: 600;
    font-size: 1.08rem; padding: 15px 12px;
    border-radius: 0; border-bottom: 1px solid rgba(28, 14, 12, .08);
    transition: background .2s ease, color .2s ease;
  }
  .main-nav > ul > li > a { color: var(--ink); }
  .main-nav > ul > li > a:active { background: var(--red-soft); color: var(--red); }
  .main-nav > ul > li > a.active {
    color: #fff; background: var(--red); border-bottom-color: transparent;
  }
  .main-nav > ul > li > a.active .nav-ico { fill: #fff; }
  .main-nav > ul > li:last-child > a,
  .main-nav > ul > .has-sub:last-child .sub-toggle { border-bottom: 0; }
  .header-actions { position: relative; z-index: 95; }
}

@media (max-width: 880px) {
  .section { padding: 68px 0; }
  .hero-inner, .grid-2, .donate-panel, .service-row { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 24px 76px; gap: 40px; }
  .service-row.flip { direction: ltr; }
  .grid-3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 10px; }
  .about-media .years { right: 10px; }
  .topbar-right { display: none; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand img { height: 46px; }
  .btn-donate { padding: 9px 16px; font-size: .9rem; }
  .topbar-left { gap: 12px; }
  .topbar-mail { display: none !important; }
  .hero-trust { gap: 18px; }
}

/* ============================================================
   PAYMENT PAGE
   ============================================================ */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 34px; }
.pay-tab {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  transition: all .18s ease; box-shadow: var(--shadow);
}
.pay-tab svg { width: 34px; height: 34px; fill: var(--maroon); display: block; margin: 0 auto 10px; transition: fill .18s ease; }
.pay-tab small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--body); margin-top: 4px; }
.pay-tab:hover { transform: translateY(-3px); border-color: var(--red); }
.pay-tab.active { border-color: var(--red); background: var(--red); color: #fff; }
.pay-tab.active svg { fill: #fff; }
.pay-tab.active small { color: #FBDCDD; }

.pay-panel { display: none; }
.pay-panel.active { display: block; animation: fade-up .35s ease; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.pay-box {
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: clamp(26px, 4vw, 44px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center;
}
.pay-box.single { grid-template-columns: 1fr; }
.pay-box h3 { font-size: 1.35rem; margin-bottom: 10px; }
.pay-steps { list-style: none; display: grid; gap: 14px; margin-top: 18px; counter-reset: step; }
.pay-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: .97rem; }
.pay-steps li::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  font-family: var(--font-display); font-weight: 700;
  display: grid; place-items: center; margin-top: 1px;
}
.pay-qr-wrap { text-align: center; }
.pay-qr-wrap img { width: min(300px, 100%); margin: 0 auto 12px; border-radius: 14px; border: 2px solid var(--line); }

.upi-id-box {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--sand); border: 2px dashed var(--gold);
  border-radius: 14px; padding: 14px 18px; margin: 18px 0;
}
.upi-id-box code { font-family: ui-monospace, monospace; font-weight: 700; font-size: 1.02rem; color: var(--maroon); word-break: break-all; }
.btn-copy {
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  background: var(--maroon); color: #fff; border: 0; border-radius: 999px;
  padding: 8px 18px; cursor: pointer; transition: background .15s ease;
}
.btn-copy:hover { background: var(--ink); }
.btn-copy.copied { background: #2E7D32; }

.upi-apps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.upi-apps span {
  font-size: .82rem; font-weight: 700; color: var(--maroon);
  background: var(--sand); border-radius: 999px; padding: 6px 14px;
}

/* Screenshot upload */
.upload-zone {
  border: 2px dashed var(--line); border-radius: 14px;
  background: var(--cream); padding: 26px; text-align: center;
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
  position: relative;
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--red); background: var(--red-soft); }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-zone svg { width: 38px; height: 38px; fill: var(--maroon); margin: 0 auto 10px; display: block; }
.upload-zone p { font-size: .93rem; }
.upload-zone strong { color: var(--red); }
.upload-preview { margin-top: 16px; display: none; align-items: center; gap: 14px; text-align: left; }
.upload-preview.show { display: flex; }
.upload-preview img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); }
.upload-preview .up-name { font-weight: 700; color: var(--ink); font-size: .92rem; word-break: break-all; }
.upload-preview .up-remove { background: none; border: 0; color: var(--red); font-weight: 700; cursor: pointer; font-size: .85rem; padding: 4px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid { columns: 4 260px; column-gap: 16px; }
.gallery-item {
  display: block; margin-bottom: 16px; border-radius: 14px; overflow: hidden;
  position: relative; box-shadow: var(--shadow); break-inside: avoid; cursor: zoom-in;
}
.gallery-item img { width: 100%; transition: transform .4s ease; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(91,58,58,.45), transparent 45%);
  opacity: 0; transition: opacity .25s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 12, 12, .93);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1200px); max-height: 86vh;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: fade-up .25s ease;
}
.lb-btn {
  position: absolute; background: rgba(255,255,255,.12); border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .15s ease, transform .15s ease;
}
.lb-btn:hover { background: var(--red); transform: scale(1.08); }
.lb-btn svg { width: 26px; height: 26px; fill: #fff; }
.lb-prev { left: max(16px, 3vw); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(16px, 3vw); top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }
.lb-close { top: 20px; right: 20px; }
.lb-counter {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  color: #fff; font-family: var(--font-display); font-weight: 700;
  background: rgba(255,255,255,.12); padding: 6px 20px; border-radius: 999px; font-size: .95rem;
}

/* Video gallery */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { cursor: pointer; }
.video-thumb { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(42,30,30,.28); transition: background .2s ease;
}
.video-card:hover .play-btn { background: rgba(214,32,42,.35); }
.play-btn span {
  width: 64px; height: 64px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.video-card:hover .play-btn span { transform: scale(1.12); }
.play-btn svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.video-card h3 { font-size: 1.08rem; margin-top: 14px; }
.video-card p { font-size: .88rem; }

.video-modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 12, 12, .93);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal .vm-frame {
  width: min(960px, 94vw); aspect-ratio: 16/9;
  border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  background: #000; animation: fade-up .25s ease;
}
.video-modal iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   DOCUMENTS
   ============================================================ */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doc-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s ease, box-shadow .2s ease;
  border-top: 4px solid var(--red);
}
.doc-card.gold-top { border-top-color: var(--gold); }
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.doc-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--red-soft);
  display: grid; place-items: center; margin-bottom: 12px;
}
.doc-icon svg { width: 26px; height: 26px; fill: var(--red); }
.doc-card h3 { font-size: 1.1rem; }
.doc-card p { font-size: .88rem; flex: 1; }
.doc-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.doc-actions .btn { padding: 9px 20px; font-size: .88rem; }

@media (max-width: 880px) {
  .pay-methods { grid-template-columns: 1fr; }
  .pay-box { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
@media (max-width: 560px) {
  .doc-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 150px; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
}

/* ---- Long-string overflow safety (emails, CIN, UPI, UTR) ---- */
.reg-table td, .contact-line div, .footer-contact p, .footer-contact a,
.upi-id-box code, .qr-card small, .up-name { overflow-wrap: anywhere; }
.reg-table { display: block; overflow-x: auto; }
.reg-table thead, .reg-table tbody { display: table; width: 100%; }

/* ============================================================
   NAV DROPDOWNS
   ============================================================ */
.has-sub { position: relative; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: 3px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  color: var(--ink); padding: 10px 13px; border-radius: 999px;
  background: none; border: 0; cursor: pointer;
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
}
.sub-toggle .sub-caret { width: 16px; height: 16px; fill: currentColor; transition: transform .2s ease; }
.sub-toggle:hover { color: var(--red); background: var(--red-soft); }
.sub-toggle.active { color: #fff; background: var(--red); }
/* leading item icons: mobile drawer only */
.nav-ico { display: none; flex: none; width: 22px; height: 22px; }
.sub-menu {
  list-style: none; min-width: 220px; max-width: min(280px, calc(100vw - 32px));
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 10px; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
/* invisible bridge so moving the cursor into the menu keeps hover */
.sub-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px;
}
.sub-menu a { display: block; border-radius: 10px; padding: 10px 14px !important; white-space: nowrap; }
/* keep dropdowns near the right edge from overflowing the viewport */
.main-nav > ul > .has-sub:nth-last-child(-n+2) .sub-menu { left: auto; right: 0; }
@media (min-width: 1121px) {
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu {
    opacity: 1; visibility: visible; transform: none;
  }
  .has-sub:hover .sub-toggle .sub-caret, .has-sub.open .sub-toggle .sub-caret { transform: rotate(180deg); }
}
@media (max-width: 1120px) {
  .has-sub { width: 100%; }
  .sub-toggle { justify-content: flex-start; }
  .sub-toggle.active { color: var(--ink); background: none; }
  /* hide the desktop caret; use a flat +/- indicator instead */
  .sub-toggle .sub-caret { display: none; }
  .sub-toggle::after {
    content: ""; flex: none; width: 16px; height: 16px; margin-left: auto;
    background-image: linear-gradient(var(--red), var(--red)),
                      linear-gradient(var(--red), var(--red));
    background-size: 16px 2.5px, 2.5px 16px;   /* horizontal + vertical bar = plus */
    background-position: center, center;
    background-repeat: no-repeat;
    transition: background-size .25s ease;
  }
  .has-sub.open .sub-toggle::after { background-size: 16px 2.5px, 0 0; }   /* minus */
  /* submenu: smooth accordion expand, indented with a left accent */
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: var(--sand); border-radius: 0;
    border-left: 3px solid var(--red);
    overflow: hidden; max-height: 0; padding: 0 8px 0 14px; margin: 0;
    transition: max-height .32s ease, padding .32s ease;
  }
  .has-sub.open .sub-menu { max-height: 460px; padding: 4px 8px 8px 14px; }
  .sub-menu a {
    display: flex; align-items: center; gap: 12px;
    font-size: 1rem !important; padding: 13px 8px !important;
    border-bottom: 0; color: var(--ink);
  }
  .sub-menu .nav-ico { width: 19px; height: 19px; opacity: .85; }
  .sub-menu a:active { color: var(--red); }
  .sub-menu a:active .nav-ico { opacity: 1; }
}

/* ============================================================
   CASE DETAILS
   ============================================================ */
.cd-layout { display: grid; grid-template-columns: 1.55fr .95fr; gap: 44px; align-items: start; }
.cd-cover { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); }
.cd-location { font-size: .92rem; font-weight: 700; color: var(--maroon); margin-bottom: 18px; }
.cd-para { margin-bottom: 16px; }
.cd-breakdown { list-style: none; display: grid; gap: 12px; }
.cd-breakdown li {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
}
.cd-breakdown strong {
  font-family: var(--font-display); color: var(--red); font-size: 1.05rem;
  min-width: 90px; flex: none;
}
.cd-breakdown span { font-size: .95rem; }
.cd-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.cd-gallery img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }

.cd-side { position: sticky; top: 150px; display: grid; gap: 20px; }
.sidebar-card {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 30px 28px; border-top: 5px solid var(--red);
}
.sidebar-card.mini { border-top-color: var(--gold); padding: 22px 24px; }
.sidebar-card.mini h4 { margin-bottom: 6px; }
.sidebar-card.mini p { font-size: .92rem; }
.cd-raised { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--red); line-height: 1.1; }
.cd-goal { font-size: .92rem; color: var(--body); }
.cd-note { font-size: .84rem; margin-top: 14px; color: var(--body); }

.share-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.share-row > span { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--ink); }
.share-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--sand); display: grid; place-items: center;
  transition: background .15s ease, transform .15s ease;
}
.share-btn svg { width: 19px; height: 19px; fill: var(--maroon); transition: fill .15s ease; }
.share-btn:hover { background: var(--red); transform: translateY(-2px); }
.share-btn:hover svg { fill: #fff; }
.share-btn.copied { background: #2E7D32; }
.share-btn.copied svg { fill: #fff; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-card .card-img { aspect-ratio: 16/10; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-date { font-size: .82rem; font-weight: 700; color: var(--body); }

.article { max-width: 760px; margin: 34px auto 0; }
.article p { margin-bottom: 18px; font-size: 1.05rem; }
.article h3 {
  margin: 34px 0 14px; font-size: 1.45rem; position: relative; padding-left: 46px;
}
.article h3::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 34px; height: 16px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 28'%3E%3Cpath d='M0 14h18l6-9 8 18 6-13 4 4h26' fill='none' stroke='%23D6202A' stroke-width='3'/%3E%3C/svg%3E");
}
.article a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-share { max-width: 760px; margin: 34px auto 0; padding-top: 24px; border-top: 1px dashed var(--line); }
.bd-hero-meta { color: #F3DBDB; font-size: .95rem; margin-top: 16px; }

/* ---- Blog details: two-column layout + sidebar ---- */
.bd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.bd-main .cd-cover { margin-bottom: 6px; }
.bd-main .article,
.bd-main .article-share { max-width: none; margin-left: 0; margin-right: 0; }

.bd-aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.bd-widget {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 24px 22px;
}
.bd-widget-title {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
  margin-bottom: 16px; padding-bottom: 12px; position: relative;
  border-bottom: 1px solid var(--line);
}
.bd-widget-title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 46px; height: 3px; background: var(--red); border-radius: 3px;
}

/* category list */
.bd-cat-list { list-style: none; display: grid; gap: 8px; }
.bd-cat-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border-radius: 12px; background: var(--sand);
  color: var(--maroon); font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  transition: background .18s ease, color .18s ease;
}
.bd-cat-list a em {
  font-style: normal; font-size: .78rem; font-weight: 800;
  min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--red);
}
.bd-cat-list a:hover { background: var(--red-soft); color: var(--red); }
.bd-cat-list li.is-active a { background: var(--red); color: #fff; }
.bd-cat-list li.is-active a em { background: rgba(255, 255, 255, .22); color: #fff; }

/* tag chips */
.bd-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.bd-tag {
  font-size: .85rem; font-weight: 700; color: var(--maroon);
  background: var(--sand); padding: 7px 13px; border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.bd-tag:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

/* recent stories */
.bd-recent { list-style: none; display: grid; gap: 14px; }
.bd-recent a { display: flex; gap: 13px; align-items: center; color: var(--ink); }
.bd-recent img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; flex: none; box-shadow: var(--shadow); }
.bd-recent span { font-family: var(--font-display); font-weight: 600; font-size: .92rem; line-height: 1.35; }
.bd-recent em { display: block; font-style: normal; font-weight: 600; font-size: .78rem; color: var(--body); margin-top: 4px; }
.bd-recent a:hover span { color: var(--red); }

/* sidebar CTA */
.bd-cta {
  border: 0; text-align: center; color: #fff;
  background:
    radial-gradient(520px 260px at 100% 0, rgba(232, 163, 61, .28), transparent 60%),
    var(--red);
}
.bd-cta h4 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }
.bd-cta p { font-size: .92rem; color: #FBE9EA; margin-bottom: 16px; }
.bd-cta .btn-donate { background: #fff; color: var(--red); box-shadow: none; }
.bd-cta .btn-donate:hover { background: var(--gold-soft); color: var(--red-dark); }

.blogs-filter-note {
  text-align: center; margin: -18px auto 30px; padding: 10px 18px;
  background: var(--red-soft); color: var(--maroon); border-radius: 999px;
  width: fit-content; font-weight: 600; font-size: .95rem;
}
.blogs-filter-note strong { color: var(--red); }

@media (max-width: 980px) {
  .bd-layout { grid-template-columns: 1fr; gap: 36px; }
  .bd-aside { position: static; }
}

/* ============================================================
   TEAM
   ============================================================ */
.team-card { text-align: center; padding: 38px 26px 32px; border-top: 4px solid var(--red); }
.team-card .vol-avatar { width: 104px; height: 104px; font-size: 1.9rem; }
.team-bio { font-size: .92rem; margin-top: 12px; }
.team-quote {
  max-width: 700px; margin: 0 auto; text-align: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--maroon); line-height: 1.5;
}
.team-quote::before { content: "\201C"; color: var(--red); font-size: 2.4rem; line-height: 0; vertical-align: -12px; margin-right: 6px; }

@media (max-width: 980px) {
  .cd-layout { grid-template-columns: 1fr; }
  .cd-side { position: static; }
}
@media (max-width: 560px) {
  .cd-gallery { grid-template-columns: 1fr 1fr; }
}
