/* ─── RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #FAF8F5;
  color: #1C1A18;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  --primary:        #D35722;
  --primary-light:  #E8784A;
  --primary-fg:     #ffffff;
  --secondary:      #2D5016;
  --accent:         #C49A2C;
  --bg:             #FAF8F5;
  --card:           #F5F0E8;
  --border:         #E8E0D5;
  --fg:             #1C1A18;
  --muted:          #524D49; 
  --shadow:         0 4px 24px rgba(28,26,24,.08);
  --shadow-lg:      0 12px 48px rgba(28,26,24,.14);
  --radius:         16px;
  --radius-sm:      10px;
  --radius-full:    9999px;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: 'Lora', serif; line-height: 1.2; font-weight: 700; }
p { line-height: 1.7; }

/* ─── UTILITY ────────────────────────────────────────────────────── */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm{ max-width: 820px;  margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.text-primary { color: var(--primary); }
.text-muted   { color: var(--muted); }
.text-white   { color: #fff; }
.font-serif   { font-family: 'Lora', serif; }
.uppercase    { text-transform: uppercase; }
.tracking-wide{ letter-spacing: .08em; }
.line-clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.line-clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .9rem;
  padding: 12px 28px; border-radius: var(--radius-full);
  cursor: pointer; border: 2px solid transparent;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover { background: #B8431A; border-color: #B8431A; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--fg); border-color: var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-white {
  background: #fff; color: var(--primary); border-color: #fff;
}
.btn-white:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 16px 38px; font-size: 1rem; }

/* ─── HEADER / NAV ──────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(1px)) {
  header {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 120px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 150px; width: auto; display: block; object-fit: contain; } 

nav.desktop { display: flex; align-items: center; gap: 32px; }
nav.desktop a {
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: color .15s;
}
nav.desktop a:hover, nav.desktop a.active { color: var(--primary); }
nav.desktop a.btn-primary { color: #fff; }
nav.desktop a.btn-primary:hover { color: #fff; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--fg);
  margin: 5px 0; transition: all .2s;
}
.mobile-nav {
  display: none; flex-direction: column; padding: 16px 24px 24px;
  background: var(--card); border-bottom: 1px solid var(--border);
  position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
}
.mobile-nav a {
  padding: 12px 0; font-size: 1.05rem; font-weight: 500;
  border-bottom: 1px solid var(--border); color: var(--fg);
}
.mobile-nav a.btn-primary { 
  border-bottom: none; color: #fff; text-align: center; margin-top: 16px; 
}
.mobile-nav.open { display: flex; }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--fg); color: rgba(255,255,255,.7);
  padding: 72px 0 0; margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
  padding-bottom: 64px;
}
.footer-brand .name { font-family: 'Lora', serif; font-weight: 700; font-size: 1.4rem; color: #fff; }
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-top: 16px; }
.footer-brand .location { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: .85rem; }
.footer-brand .location svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer-logo-bg {
  background: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
footer h4 { font-family: 'Lora', serif; font-weight: 600; color: #fff; margin-bottom: 20px; }
footer ul li { margin-bottom: 10px; font-size: .85rem; }
footer ul li a:hover { color: var(--primary); }
footer ul li .letter { color: var(--primary); font-weight: 700; margin-right: 4px; }
.footer-form input {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .85rem; margin-bottom: 10px;
}
.footer-form input::placeholder { color: rgba(255,255,255,.4); }
.footer-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-form .btn { width: 100%; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.footer-bottom span { color: rgba(255,255,255,.8); font-weight: 600; }

/* ─── PAGE ROUTER ────────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ─── HOME — HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; height: 88vh; min-height: 580px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(28,26,24,.88) 0%, rgba(28,26,24,.65) 55%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 680px; padding: 0 24px;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem); color: #fff; line-height: 1.1; margin-bottom: 20px;
}
.hero-content h1 em { color: var(--primary); font-style: italic; }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── HOME — BORDERS GRID ────────────────────────────────────────── */
.borders-section { padding: 96px 0; background: var(--card); }
.section-tag {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section-heading { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 600px; margin: 0 auto; }
.text-center { text-align: center; }
.hero-text { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1; color: #fff; position: relative; z-index: 2; text-shadow: 0 4px 20px rgba(0,0,0,0.4); }

/* Acronym pills */
.acronym-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 32px 0 48px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-full);
  border: 1px solid var(--border); cursor: pointer; transition: all .15s;
  font-size: .82rem; color: var(--muted);
}
.pill:hover { border-color: var(--primary); background: rgba(211,87,34,.05); color: var(--fg); }
.pill .letter { font-family: 'Lora', serif; font-weight: 700; color: var(--primary); font-size: 1.05rem; line-height: 1; }

/* Pillar cards grid */
.pillar-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; max-width: 900px; margin-left: auto; margin-right: auto; }

/* Utility Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.pillar-card {
  position: relative; height: 280px; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s;
  will-change: transform, box-shadow;
  content-visibility: auto;
}
.pillar-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pillar-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease-out;
  will-change: transform;
}
.pillar-card:hover img { transform: scale(1.06); }
.pillar-card .gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,26,24,.85) 0%, rgba(28,26,24,.25) 55%, transparent 100%);
}
.pillar-card .hover-tint {
  position: absolute; inset: 0; background: var(--primary);
  opacity: 0; transition: opacity .3s;
}
.pillar-card:hover .hover-tint { opacity: .18; }
.pillar-card .content {
  position: absolute; inset: 0; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.pillar-card .badge-letter {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-weight: 700; font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.pillar-card h3 { font-size: 1.15rem; color: #fff; margin-bottom: 6px; font-family: 'Lora', serif; }
.pillar-card .desc { font-size: .82rem; color: rgba(255,255,255,.78); line-height: 1.4; margin-bottom: 10px; }
.pillar-card .stat-badge {
  display: inline-block; background: rgba(255,255,255,.18);
  color: #fff; font-size: .72rem; font-weight: 500;
  padding: 5px 12px; border-radius: var(--radius-full);
}
.pillar-card .stat-badge.vision { background: rgba(211,87,34,.3); }
.pillar-card .badge-letter.vision { background: rgba(82,77,73,.85); }

/* ─── IMPACT STRIP ───────────────────────────────────────────────── */
.impact-strip { background: var(--primary); padding: 56px 0; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; color: #fff; }
.impact-grid .number { font-family: 'Lora', serif; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; margin-bottom: 8px; }
.impact-grid .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .72; }

/* ─── FIELD UPDATES SECTION ──────────────────────────────────────── */
.updates-section { padding: 96px 0; }
.updates-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.updates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  cursor: pointer; transition: transform .3s, box-shadow .3s;
  will-change: transform, box-shadow;
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .thumb {
  height: 210px; overflow: hidden; position: relative; flex-shrink: 0;
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-out; will-change: transform; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .cat-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fg);
}
.post-card .body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.post-card .meta { font-size: .8rem; color: var(--primary); font-weight: 500; margin-bottom: 10px; }
.post-card h3 { font-size: 1.1rem; font-family: 'Lora', serif; margin-bottom: 10px; line-height: 1.35; }
.post-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; flex-grow: 1; }
.post-card .read-link { font-size: .85rem; font-weight: 600; color: var(--fg); margin-top: 16px; transition: color .15s; }
.post-card:hover .read-link { color: var(--primary); }

/* ─── DONATE CTA BANNER ──────────────────────────────────────────── */
.donate-cta {
  background: var(--primary); padding: 96px 24px; text-align: center; position: relative; overflow: hidden;
}
.donate-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.12), transparent 70%);
}
.donate-cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; margin-bottom: 24px; position: relative; }
.donate-cta p { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 40px; position: relative; line-height: 1.75; }
.donate-cta .icon { font-size: 3rem; margin-bottom: 16px; }

/* ─── BORDERS LIST PAGE ──────────────────────────────────────────── */
.page-hero { padding: 96px 24px; text-align: center; }
.page-hero.green { background: var(--secondary); color: #fff; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; opacity: .88; max-width: 680px; margin: 0 auto; line-height: 1.75; }
.pillars-list { padding: 80px 0; }
.pillar-row {
  display: flex; align-items: center; gap: 80px; margin-bottom: 80px; cursor: pointer;
}
.pillar-row.reverse { flex-direction: row-reverse; }
.pillar-row .img-wrap {
  flex: 1; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; position: relative;
}
.pillar-row .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-out; will-change: transform; }
.pillar-row:hover .img-wrap img { transform: scale(1.04); }
.pillar-row .img-wrap::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.pillar-row .info { flex: 1; }
.letter-badge {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-weight: 700; font-size: 2rem;
  margin-bottom: 24px;
}
.letter-badge.primary { background: rgba(211,87,34,.12); color: var(--primary); }
.letter-badge.green   { background: rgba(45,80,22,.12);  color: var(--secondary); }
.letter-badge.gold    { background: rgba(196,154,44,.18); color: #8a6b1a; }
.letter-badge.vision  { background: rgba(82,77,73,.12); color: var(--muted); }
.pillar-row h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; transition: color .15s; }
.pillar-row:hover h2 { color: var(--primary); }
.pillar-row p { font-size: 1rem; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.read-more { color: var(--primary); font-weight: 600; font-size: .9rem; }

/* ─── PILLAR DETAIL PAGE ─────────────────────────────────────────── */
.page-detail { padding: 0; }
.pillar-hero { position: relative; aspect-ratio: 21/9; overflow: hidden; }
.pillar-hero img { width: 100%; height: 100%; object-fit: cover; }
.pillar-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
}
.pillar-hero .title {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 40px;
  max-width: 900px; margin: 0 auto;
}
.pillar-hero .title h1 { font-size: clamp(2rem, 5vw, 3.6rem); color: #fff; }
.pillar-hero .title p { color: rgba(255,255,255,.82); font-size: 1.15rem; margin-top: 10px; }
.pillar-content { padding: 48px 0 96px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: .9rem; font-weight: 500; margin-bottom: 40px;
  transition: color .15s;
}
.back-link:hover { color: var(--primary); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 56px; }
.stat-box { border-radius: var(--radius); padding: 28px; text-align: center; }
.stat-box.primary-tint { background: rgba(211,87,34,.08); }
.stat-box.green-tint   { background: rgba(45,80,22,.08); }
.stat-box .num { font-family: 'Lora', serif; font-size: 2.8rem; font-weight: 700; margin-bottom: 6px; }
.stat-box.primary-tint .num { color: var(--primary); }
.stat-box.green-tint   .num { color: var(--secondary); }
.stat-box .lbl { font-size: .85rem; color: var(--muted); font-weight: 500; }
.rich-content p { font-size: 1.05rem; line-height: 1.85; color: var(--muted); margin-bottom: 24px; }
.rich-content p:first-child { font-size: 1.18rem; color: var(--fg); font-weight: 500; }
.pillar-cta {
  margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border);
}
.cta-box {
  background: var(--card); border-radius: 24px; padding: 56px;
  text-align: center; box-shadow: var(--shadow);
}
.cta-box h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.cta-box p { color: var(--muted); max-width: 500px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── FIELD UPDATES PAGE ─────────────────────────────────────────── */
.fu-hero { background: var(--fg); color: #fff; padding: 80px 24px; text-align: center; }
.fu-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 20px; }
.fu-hero p { opacity: .78; max-width: 600px; margin: 0 auto 32px; line-height: 1.75; }
.cat-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cat-btn {
  padding: 8px 18px; border-radius: var(--radius-full); font-size: .82rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.25); color: #fff; background: transparent;
  cursor: pointer; transition: all .15s;
}
.cat-btn:hover { background: rgba(255,255,255,.12); }
.cat-btn.active { background: var(--primary); border-color: var(--primary); }
.fu-content { padding: 56px 0 80px; }
.security-notice {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(211,87,34,.06); border: 1px solid rgba(211,87,34,.2);
  border-radius: var(--radius-sm); padding: 16px; margin-bottom: 48px;
}
.security-notice svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.security-notice p { font-size: .85rem; color: var(--muted); }
.security-notice strong { color: var(--fg); }
.fu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ─── POST DETAIL PAGE ───────────────────────────────────────────── */
.post-hero { position: relative; height: 480px; overflow: hidden; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.post-hero .meta-block {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 40px;
  max-width: 900px; margin: 0 auto;
}
.post-hero .cat-label {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 14px; border-radius: var(--radius-full); margin-bottom: 12px;
}
.post-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin-bottom: 12px; }
.post-hero .author-line { font-size: .9rem; color: rgba(255,255,255,.75); }
.post-detail { padding: 64px 0 96px; }
.post-body p { font-size: 1.05rem; line-height: 1.9; color: #3a3632; margin-bottom: 24px; }
.share-section {
  border-top: 1px solid var(--border); padding-top: 40px; margin-top: 56px;
  display: flex; justify-content: space-between; align-items: center;
}

/* ─── DONATE PAGE & DONORBOX WIDGET ─────────────────────────────── */
.donate-hero { background: var(--primary); padding: 100px 24px; text-align: center; position: relative; overflow: hidden; }
.donate-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=1920&q=80') center/cover;
  opacity: .12;
}
.donate-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; position: relative; margin-bottom: 20px; }
.donate-hero p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 560px; margin: 0 auto; position: relative; }
.donate-content { padding: 80px 0 48px; }
.donate-intro { text-align: center; margin-bottom: 40px; }
.donate-intro h2 { font-size: 2.2rem; margin-bottom: 16px; font-family: 'Lora', serif; }
.donate-intro p { color: var(--muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.donorbox-wrapper {
  display: flex; justify-content: center; align-items: center;
  width: 100%; margin: 0 auto 32px;
}
.where-needed h3 { font-size: 2rem; text-align: center; margin-bottom: 48px; }
.giving-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.giving-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--shadow); transition: box-shadow .2s;
}
.giving-card:hover { box-shadow: var(--shadow-lg); }
.giving-card .icon { font-size: 1.6rem; flex-shrink: 0; }
.giving-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.giving-card p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* ─── RICH TEXT & INLINE IMAGES ──────────────────────────────────── */
.rich-content strong, .post-body strong, .rich-content b, .post-body b { font-weight: 700; color: var(--fg); }
.rich-content em, .post-body em, .rich-content i, .post-body i { font-style: italic; color: #5a5a5a; }
img.inline-img { width: 100%; border-radius: 16px; margin: 32px 0; box-shadow: var(--shadow); object-fit: cover; }

/* ─── SLIDESHOW COMPONENT ────────────────────────────────────────── */
.slideshow-wrapper { position: relative; max-width: 100%; margin: 48px auto; }
.slideshow-container { position: relative; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 16/9; background: #000; }
.slide { display: none; width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.slide.active { display: block; animation: fade .6s cubic-bezier(0.25, 1, 0.5, 1); }
@keyframes fade { from {opacity: .3} to {opacity: 1} }
.prev, .next {
  cursor: pointer; position: absolute; top: 50%; width: auto; padding: 18px; transform: translateY(-50%);
  color: white; font-weight: bold; font-size: 24px; transition: 0.3s;
  border-radius: 0 4px 4px 0; user-select: none; background: rgba(0,0,0,0.25);
}
.next { right: 0; border-radius: 4px 0 0 4px; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); }
.dot-container { text-align: center; margin-top: 20px; }
.slide-dot {
  cursor: pointer; height: 10px; width: 10px; margin: 0 5px; background-color: #ddd;
  border-radius: 50%; display: inline-block; transition: background-color 0.3s;
}
.slide-dot.active, .slide-dot:hover { background-color: var(--primary); }

/* ─── LIGHTBOX ───────────────────────────────────────────────────── */
.lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(5px); }
.lightbox-content {
  margin: auto; display: block; width: 80%; max-width: 1000px;
  max-height: 85vh; object-fit: contain;
  animation: zoom .3s;
}
.lightbox-prev, .lightbox-next {
  cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px;
  margin-top: -50px; color: white; font-weight: bold; font-size: 30px;
  transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none;
  background: rgba(0,0,0,0.3); z-index: 1001;
}
.lightbox-next { right: 5%; border-radius: 3px 0 0 3px; }
.lightbox-prev { left: 5%; }
.lightbox-prev:hover, .lightbox-next:hover { background-color: rgba(0,0,0,0.8); }
@keyframes zoom { from {transform:scale(0)} to {transform:scale(1)} }
.lightbox-close { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; z-index: 10000; }
.lightbox-close:hover { color: var(--primary); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillar-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid-3 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-hero { aspect-ratio: 16/9; }
  .contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
  .related-updates { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
  .pillar-row { gap: 48px; }
}
@media (max-width: 768px) {
  .nav-inner { height: 100px; }
  .logo img { height: 120px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  nav.desktop { display: none; }
  .hamburger { display: block; }
  .hero-content h1 { font-size: 2.2rem; }
  .pillar-grid-4, .pillar-grid-3 { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; gap: 24px; }
  .updates-grid, .fu-grid { grid-template-columns: 1fr; }
  .updates-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pillar-row, .pillar-row.reverse { flex-direction: column; gap: 32px; }
  .pillar-row .img-wrap { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .giving-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 36px 24px; }
  .donate-content { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .pillar-hero { aspect-ratio: 4/3; }
  .pillar-hero .title { padding: 24px; }
  .pillar-hero .title h1 { font-size: 1.8rem; }
  .pillar-hero .title p { font-size: 0.95rem; }
  .pillar-content { padding: 32px 0 64px; }
  .slideshow-wrapper { margin: 32px auto; }
  .slideshow-container { border-radius: 16px; }
  .prev, .next { padding: 12px; font-size: 18px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .impact-grid { grid-template-columns: 1fr; }
  .nav-inner { height: 90px; }
  .logo img { height: 100px; }
}