/*
Theme Name: LiftUp Community Resources
Theme URI: https://liftupcr.org
Author: LiftUp Community Resources
Author URI: https://liftupcr.org
Description: Official WordPress theme for LiftUp Community Resources — Bridging the Gap in Baltimore. SNAP, TDAP, SUD Recovery, Disability Programs & Case Management.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: liftupcr
Tags: non-profit, community, resources, clean, modern
*/

/* =========================================
   ROOT VARIABLES
   ========================================= */
:root {
  --green-primary:   #2d7a4f;
  --green-dark:      #1e5535;
  --green-light:     #ddf1e6;
  --green-accent:    #4ca87a;
  --white:           #ffffff;
  --off-white:       #f7faf8;
  --gray-light:      #f0f0f0;
  --gray-mid:        #888;
  --text-dark:       #1a1a2e;
  --text-body:       #3d3d4d;
  --border:          #dde8e2;
  --shadow:          0 4px 24px rgba(45,122,79,.10);
  --shadow-hover:    0 8px 40px rgba(45,122,79,.18);
  --radius:          12px;
  --radius-sm:       8px;
  --transition:      0.3s ease;
  --max-width:       1200px;
  --font-head:       'Playfair Display', Georgia, serif;
  --font-body:       'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }

img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem,5vw,3.5rem); }
h2 { font-size: clamp(1.6rem,4vw,2.6rem); }
h3 { font-size: clamp(1.2rem,2.5vw,1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

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

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

em, .italic-green { font-style: italic; color: var(--green-primary); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--green-primary);
  border-color: var(--green-primary);
}
.btn-outline:hover {
  background: var(--green-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--green-primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-light);
  color: var(--green-dark);
  transform: translateY(-2px);
}

/* =========================================
   HEADER
   ========================================= */
#site-header {
  background: var(--green-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: none;
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  min-height: 88px;
}

.site-logo img {
  width: 175px;
  height: 175px;
  max-width: 175px;
  max-height: 175px;
  object-fit: contain;
}

/* Custom logo markup (WordPress) */
.custom-logo-link img {
  width: 175px;
  height: 175px;
  max-width: 175px;
  max-height: 175px;
  object-fit: contain;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

@media (max-width: 768px) {
  .custom-logo-link img,
  .site-logo img {
    width: 96px;
    height: 96px;
    max-width: 96px;
    max-height: 96px;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-text .logo-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1.2;
}
.logo-text .logo-sub {
  font-size: 0.7rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-nav ul li a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition);
  display: block;
}

#main-nav ul li a:hover,
#main-nav ul li.current-menu-item a {
  color: var(--green-primary);
  background: var(--green-light);
}

.nav-cta { margin-left: 12px; }
.nav-cta a {
  background: var(--green-primary) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta a:hover {
  background: var(--green-dark) !important;
  color: var(--white) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: linear-gradient(160deg, var(--green-light) 0%, #d4ede0 45%, var(--white) 100%);
  padding: 60px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,122,79,.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title { margin-bottom: 24px; }

.hero-description {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}
.hero-stat .number {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-primary);
  display: block;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-image {
  position: relative;
}
.hero-image img {
  border-radius: 20px;
  width: 100%;
  height: 440px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge .badge-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.hero-badge .badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.hero-badge .badge-text span {
  font-size: 0.75rem;
  color: var(--gray-mid);
}

/* =========================================
   MARQUEE / TICKER
   ========================================= */
.marquee-section {
  background: var(--green-primary);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 24px;
}
.marquee-track span::after {
  content: '◆';
  margin-left: 24px;
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================
   SECTION LABELS
   ========================================= */
.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-primary);
  margin-bottom: 12px;
  display: block;
}
.section-title { margin-bottom: 16px; }
.section-desc {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 560px;
  margin-bottom: 48px;
}

/* =========================================
   PROGRAMS / SERVICES GRID
   ========================================= */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.program-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.program-card:hover::before { transform: scaleX(1); }

.program-number {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.program-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.program-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.program-card p { color: var(--text-body); font-size: 0.95rem; margin-bottom: 20px; }
.program-card .card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.program-card .card-link:hover { gap: 10px; }

/* =========================================
   IMPACT STATS BAR
   ========================================= */
.impact-bar {
  background: var(--green-primary);
  padding: 52px 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.impact-item .number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.impact-item .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========================================
   ABOUT SPLIT SECTION
   ========================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  border-radius: 20px;
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: var(--green-primary);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.about-accent .big { font-size: 2.2rem; font-weight: 700; font-family: var(--font-head); line-height: 1; }
.about-accent .small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: .8; text-align: center; }

.about-quote {
  background: var(--green-light);
  border-left: 4px solid var(--green-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-dark);
  font-size: 1rem;
}

/* =========================================
   VALUES GRID
   ========================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.value-icon { font-size: 2.2rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { font-size: 0.9rem; color: var(--text-body); }

/* =========================================
   SERVICES PAGE
   ========================================= */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-number {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-accent);
  margin-bottom: 8px;
}
.service-content h2 { margin-bottom: 16px; }
.service-content p { margin-bottom: 24px; color: var(--text-body); }

.service-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}
.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.service-checklist li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--green-primary);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.service-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.service-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.service-tag {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* =========================================
   BLOG — redesigned landing page
   ========================================= */

/* ── Hero ── */
.blg-hero {
  background: var(--green-dark);
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
}
.blg-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(76,168,122,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,.04) 0%, transparent 70%),
    radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px;
  pointer-events: none;
}
.blg-hero > .container { position: relative; }

/* Top bar */
.blg-hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.blg-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.65);
}
.blg-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ca87a;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

/* Search form in hero */
.blg-search-form {
  display: flex;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  transition: border-color .25s;
}
.blg-search-form:focus-within {
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.12);
}
.blg-search-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white);
}
.blg-search-input::placeholder { color: rgba(255,255,255,.45); }
.blg-search-btn {
  padding: 10px 16px;
  background: rgba(255,255,255,.12);
  border: none;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  transition: background .2s, color .2s;
  display: flex;
  align-items: center;
}
.blg-search-btn:hover { background: rgba(255,255,255,.2); color: var(--white); }

/* Headline */
.blg-hero-headline { margin-bottom: 32px; }
.blg-hero-headline h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 14px;
}
.blg-hero-headline h1 em { font-style: italic; color: #a8e6c4; }
.blg-hero-headline p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  max-width: 560px;
}

/* Stats row */
.blg-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.blg-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 28px;
}
.blg-hero-stat:first-child { padding-left: 0; }
.bhs-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: #a8e6c4;
  line-height: 1;
}
.bhs-lbl {
  font-size: 0.68rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.blg-hero-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
}

/* Topic chip filter */
.blg-hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.blg-chip {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .22s ease;
}
.blg-chip:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.blg-chip-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--green-dark) !important;
}

/* ── Featured Post ── */
.blg-featured-section {
  padding: 56px 0 0;
}
.blg-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.14);
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: box-shadow .3s ease, transform .3s ease;
  background: var(--white);
}
.blg-featured-card:hover {
  box-shadow: 0 20px 64px rgba(0,0,0,.18);
  transform: translateY(-4px);
}
.blg-featured-img {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: var(--green-light);
}
.blg-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.blg-featured-card:hover .blg-featured-img img { transform: scale(1.05); }
.blg-featured-img-placeholder {
  width: 100%; height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}
.blg-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.35) 0%, transparent 60%);
  pointer-events: none;
}
.blg-featured-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.blg-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.blg-cat-pill {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.blg-featured-date {
  font-size: 0.82rem;
  color: var(--gray-mid);
}
.blg-featured-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0;
}
.blg-featured-excerpt {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.72;
  margin: 0;
}
.blg-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 4px;
  transition: gap .22s ease;
}
.blg-featured-card:hover .blg-featured-cta { gap: 14px; }
.blg-featured-btn { white-space: nowrap; }

/* ── Main section layout ── */
.blg-main-section { padding: 56px 0 80px; }
.blg-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.blg-sidebar {
  position: sticky;
  top: 108px;
}
.blg-posts-header { margin-bottom: 32px; }
.blg-posts-header h2 { font-size: clamp(1.5rem,3vw,2rem); }

/* ── 2×2 post grid ── */
.blg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Inline donate CTA spans both columns */
.blg-inline-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--green-dark);
  border-radius: var(--radius);
  padding: 20px 28px;
  flex-wrap: wrap;
}
.blg-inline-cta-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  animation: heartbeat 2s ease-in-out infinite;
}
.blg-inline-cta-text {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blg-inline-cta-text strong {
  color: var(--white);
  font-size: 0.97rem;
}
.blg-inline-cta-text span {
  color: rgba(255,255,255,.65);
  font-size: 0.85rem;
}
.blg-inline-cta-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #e8443a;
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(232,68,58,.4);
  transition: all .22s ease;
  flex-shrink: 0;
}
.blg-inline-cta-btn:hover {
  background: #c93530;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232,68,58,.5);
}

/* ── Post card ── */
.blg-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.blg-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.blg-card:hover { border-color: var(--green-primary); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.blg-card:hover::after { transform: scaleX(1); }

.blg-card-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--green-light);
  flex-shrink: 0;
}
.blg-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.blg-card:hover .blg-card-img { transform: scale(1.07); }
.blg-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.blg-card-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--green-dark);
  color: rgba(255,255,255,.92);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  pointer-events: none;
}

.blg-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.blg-card-date {
  font-size: 0.72rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.blg-card-title {
  font-size: 1rem;
  line-height: 1.42;
  margin: 0;
}
.blg-card-title a { color: var(--text-dark); text-decoration: none; }
.blg-card-title a:hover { color: var(--green-primary); }
.blg-card-excerpt {
  font-size: 0.86rem;
  color: var(--gray-mid);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.blg-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-primary);
  text-decoration: none;
  margin-top: 4px;
  transition: gap .2s ease;
}
.blg-card-link:hover { gap: 9px; }

/* ── Keep legacy blog-meta + blog-category + blog-quick-chip + sidebar classes ── */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--gray-mid);
  flex-wrap: wrap;
}
.blog-category {
  background: var(--green-light);
  color: var(--green-primary);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.blog-quick-chip {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.blog-quick-chip:hover { background: var(--green-primary); color: var(--white); }
.chip-count { font-weight: 400; opacity: .65; }
.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  margin-top: auto;
}
.blog-read-more:hover { gap: 8px; }


/* ── Sidebar ── */
.blog-sidebar {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.widget-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}

/* Get Help CTA widget */
.sidebar-widget-cta {
  background: linear-gradient(145deg, var(--green-dark), var(--green-primary));
  border-color: transparent;
  text-align: center;
  color: var(--white);
}
.sw-cta-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  animation: heartbeat 2s ease-in-out infinite;
}
.sidebar-widget-cta h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.sidebar-widget-cta p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 18px;
  line-height: 1.55;
}
.sw-cta-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  margin: 8px 0 0 !important;
}

/* Programs list */
.sidebar-program-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-program-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.sidebar-program-list li a:hover {
  background: var(--green-light);
  color: var(--green-dark);
  padding-left: 16px;
}
.spl-icon { font-size: 1.1rem; flex-shrink: 0; }

/* Recent articles list */
.sidebar-recent-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sidebar-recent-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sri-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
}
.sri-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sri-thumb-placeholder {
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
}
.sri-text { flex: 1; min-width: 0; }
.sri-text a {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
  text-decoration: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sri-text a:hover { color: var(--green-primary); }
.sri-text span {
  font-size: 0.72rem;
  color: var(--gray-mid);
}

/* Category chips in sidebar */
.sidebar-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Donate sidebar widget */
.sidebar-widget-donate {
  background: var(--text-dark);
  border-color: transparent;
  text-align: center;
  color: var(--white);
}
.sw-donate-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
  animation: heartbeat 2s ease-in-out infinite;
}
.sidebar-widget-donate h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}
.sidebar-widget-donate p {
  font-size: 0.84rem;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
  margin-bottom: 16px;
}
.sw-donate-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: #e8443a;
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(232,68,58,.4);
  transition: all 0.25s ease;
}
.sw-donate-btn:hover {
  background: #c93530;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232,68,58,.5);
  color: var(--white) !important;
}
.sw-donate-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,.35);
  margin: 8px 0 0 !important;
}

/* ── Blog Meta (shared) ── */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--gray-mid);
  flex-wrap: wrap;
}
.blog-category {
  background: var(--green-light);
  color: var(--green-primary);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ── Single Post ── */
.blog-single-hero {
  background: linear-gradient(135deg, var(--green-light) 0%, #d4ede0 100%);
  padding: 72px 0 52px;
  text-align: center;
}
.blog-single-hero h1 {
  max-width: 800px;
  margin: 16px auto 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.22;
}
.blog-single-layout { grid-template-columns: 1fr 300px; }
.blog-single-col {}
.blog-single-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}
.blog-single-thumb img { width: 100%; max-height: 480px; object-fit: cover; }
.post-content h2 { margin: 36px 0 16px; }
.post-content h3 { margin: 28px 0 12px; }
.post-content p { margin-bottom: 20px; line-height: 1.8; color: var(--text-body); }
.post-content ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.post-content ul li { margin-bottom: 8px; line-height: 1.7; }
.post-content img { border-radius: var(--radius-sm); max-width: 100%; }
.post-content a { color: var(--green-primary); text-decoration: underline; }
.blog-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Post navigation */
.blog-single-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  flex-wrap: wrap;
}
.bsn-prev, .bsn-next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 200px;
}
.bsn-next { text-align: right; }
.bsn-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-mid);
}
.bsn-prev a, .bsn-next a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-primary);
  text-decoration: none;
  line-height: 1.4;
}
.bsn-prev a:hover, .bsn-next a:hover { color: var(--green-dark); }

/* Related Posts */
.blog-related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.blog-related h3 { font-size: 1.2rem; margin-bottom: 20px; }
.blog-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.blog-related-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
}
.blog-related-card:hover { border-color: var(--green-primary); box-shadow: var(--shadow); }
.brc-thumb {
  display: block;
  height: 140px;
  overflow: hidden;
  background: var(--green-light);
}
.brc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.brc-placeholder { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.brc-body { padding: 16px; }
.brc-body h4 { font-size: 0.9rem; line-height: 1.4; }
.brc-body h4 a { color: var(--text-dark); text-decoration: none; }
.brc-body h4 a:hover { color: var(--green-primary); }


/* =========================================
   CONTACT
   ========================================= */
.contact-section {
  background: var(--off-white);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text-body); margin-bottom: 32px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.85rem; color: var(--text-dark); }
.contact-detail-text span { font-size: 0.9rem; color: var(--gray-mid); }

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-wrap h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}
.contact-form-wrap .form-subtitle {
  color: var(--gray-mid);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(45,122,79,.10);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; }

/* Inline form strip for non-contact pages */
.contact-strip {
  background: var(--green-light);
  padding: 60px 0;
}
.contact-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}
.contact-strip-text h2 { margin-bottom: 12px; font-size: 1.8rem; }
.contact-strip-text p { color: var(--text-body); }
.contact-strip-form { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.contact-strip-form h4 { margin-bottom: 20px; font-size: 1.1rem; }

/* =========================================
   TEAM SECTION
   ========================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.team-avatar {
  width: 72px;
  height: 72px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card .role { font-size: 0.82rem; color: var(--green-primary); font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 0.88rem; color: var(--text-body); }

/* =========================================
   PARTNERS BAR
   ========================================= */
.partners-bar {
  background: var(--white);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  margin-bottom: 28px;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.partner-badge {
  background: var(--gray-light);
  color: var(--text-body);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* =========================================
   PAGE HERO (interior pages)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--green-light) 0%, #d4ede0 100%);
  padding: 72px 0 60px;
  text-align: center;
}
.page-hero .eyebrow {
  display: inline-block;
  background: var(--green-primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p {
  color: var(--text-body);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   BLOG SINGLE
   ========================================= */
.single-post-wrap {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 24px;
}
.single-post-wrap .post-header { margin-bottom: 36px; }
.single-post-wrap .post-header h1 { margin-bottom: 16px; }
.single-post-wrap .post-featured-image img {
  border-radius: var(--radius);
  width: 100%;
  margin-bottom: 36px;
}
.post-content h2 { margin: 36px 0 16px; }
.post-content h3 { margin: 28px 0 12px; }
.post-content p { margin-bottom: 20px; line-height: 1.8; }
.post-content ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.post-content ul li { margin-bottom: 8px; }

/* =========================================
   FOOTER
   ========================================= */
#site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .footer-logo img,
.footer-brand .footer-logo .custom-logo-link img {
  height: 44px;
  width: 44px;
  max-height: 44px;
  max-width: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-brand .footer-logo .custom-logo-link {
  display: inline-flex;
}
.footer-brand .footer-logo-text .name {
  font-family: var(--font-head);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  display: block;
}
.footer-brand .footer-logo-text .sub {
  font-size: 0.65rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--green-accent); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-bottom .copyright { color: rgba(255,255,255,.45); }
.footer-bottom .footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom .footer-bottom-links a {
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-bottom .footer-bottom-links a:hover { color: var(--green-accent); }


/* Footer Donate Button */
.footer-bottom .footer-bottom-links a.footer-donate {
  background: var(--green-primary);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.footer-bottom .footer-bottom-links a.footer-donate:hover {
  background: var(--green-dark);
  color: var(--white) !important;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 36px; }
  .service-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-strip-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  #main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 4px; }
  #main-nav ul li a { padding: 12px 16px; }
  .nav-cta { margin-left: 0; margin-top: 8px; }

  .menu-toggle { display: flex; }

  .programs-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .impact-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* =========================================
   WORDPRESS CORE
   ========================================= */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin: 0 auto 16px; text-align: center; }
.wp-caption-text { font-size: 0.82rem; color: var(--gray-mid); font-style: italic; margin-top: 6px; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: white;
}

/* Notices / Messages */
.wpcf7-response-output {
  border: none !important;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 12px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.9rem;
  margin-top: 16px !important;
}

/* =========================================
   DONATE FEATURE
   ========================================= */

/* ---- Nav donate button ---- */
.nav-donate { margin-left: 8px; }
.nav-donate a,
.nav-donate-btn {
  background: #e8443a !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: .02em !important;
  box-shadow: 0 4px 14px rgba(232,68,58,.32) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}
.nav-donate a:hover,
.nav-donate-btn:hover {
  background: #c93530 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(232,68,58,.42) !important;
}

/* ---- Donate Hero ---- */
/* Reuses .hero, .hero-inner, .hero-content, .hero-eyebrow, .hero-title,
   .hero-description, .hero-actions, .hero-stats from main theme.
   Only donate-specific overrides below. */

.donate-page-hero {
  /* Keep the same light-green gradient as homepage hero */
}

.donate-hero-btn {
  background: #e8443a !important;
  border-color: #e8443a !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(232,68,58,.32) !important;
}
.donate-hero-btn:hover {
  background: #c93530 !important;
  border-color: #c93530 !important;
  color: var(--white) !important;
  box-shadow: 0 8px 24px rgba(232,68,58,.45) !important;
}

/* Trust card — sits in hero-image slot */
.donate-hero-card-wrap {
  position: relative;
}

.donate-trust-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
  text-align: center;
}
.donate-trust-card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: heartbeat 2s ease-in-out infinite;
}
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  14%      { transform: scale(1.18); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.1); }
  56%      { transform: scale(1); }
}
.donate-trust-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.donate-trust-card > p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.donate-trust-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.donate-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-body);
}
.trust-check {
  width: 22px;
  height: 22px;
  background: var(--green-light);
  color: var(--green-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.donate-card-btn-link { display: block; text-decoration: none; width: 100%; }
.donate-card-btn {
  width: 100%;
  justify-content: center;
  background: #e8443a !important;
  border-color: #e8443a !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(232,68,58,.32) !important;
}
.donate-card-btn:hover {
  background: #c93530 !important;
  border-color: #c93530 !important;
  color: var(--white) !important;
  box-shadow: 0 8px 24px rgba(232,68,58,.45) !important;
}

.donate-no-url-notice { font-size: 0.9rem; color: var(--gray-mid); }
.donate-no-url-notice a { color: var(--green-primary); text-decoration: underline; }

.donate-reassurance {
  font-size: 0.78rem;
  color: var(--gray-mid);
  margin: 12px 0 0;
}

/* Hero badge position for donate page */
.donate-hero-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
}

/* ---- Impact Amount Cards — extend .program-card ---- */
/* .programs-grid and .program-card are reused as-is from main theme */

.donate-amounts-grid {
  grid-template-columns: repeat(2, 1fr); /* 2-col like programs */
}

.donate-amount-card {
  display: flex;
  flex-direction: column;
}

.donate-amount-figure {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.donate-amount-btn-link {
  display: block;
  text-decoration: none;
  margin-top: auto;
  padding-top: 20px;
}
.donate-amount-btn {
  width: 100%;
  padding: 12px 20px;
  background: var(--green-primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .02em;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(45,122,79,.22);
}
.donate-amount-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45,122,79,.38);
}

/* ---- Why Give visual block ---- */
/* .about-split, .about-image-wrap, .about-accent, .about-quote reused from theme */

.donate-why-visual {
  /* Override: instead of an img, fill with a styled card */
}

.donate-why-bg-card {
  background: linear-gradient(145deg, var(--green-dark) 0%, var(--green-primary) 100%);
  border-radius: 20px;
  width: 100%;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  gap: 24px;
}

.donate-why-bg-icon {
  font-size: 3.5rem;
  animation: heartbeat 2s ease-in-out infinite;
}

.donate-why-quote-text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.9);
  line-height: 1.6;
  border: none;
  padding: 0;
  margin: 0;
}

.donate-why-mini-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.donate-mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.donate-mini-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.donate-mini-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Why give checklist — matches .donate-why-list pattern */
.donate-why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.donate-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.55;
}
.donate-why-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green-light);
  color: var(--green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}

/* Why give donate button */
.donate-why-btn-link { text-decoration: none; }
.donate-why-btn {
  background: #e8443a !important;
  border-color: #e8443a !important;
  box-shadow: 0 4px 16px rgba(232,68,58,.32) !important;
  font-weight: 700 !important;
}
.donate-why-btn:hover {
  background: #c93530 !important;
  border-color: #c93530 !important;
  color: var(--white) !important;
  box-shadow: 0 8px 24px rgba(232,68,58,.45) !important;
}

/* ---- Donate CTA Banner (redesigned, all pages) ---- */
.donate-cta-banner {
  position: relative;
  background: var(--green-dark);
  overflow: hidden;
  color: var(--white);
}
.donate-cta-banner::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(76,168,122,.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.donate-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Stat ribbon across the top */
.donate-cta-ribbon {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
}
.donate-cta-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.donate-cta-ribbon-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 36px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.donate-cta-ribbon-stat:last-child { border-right: none; }
.donate-cta-ribbon-stat .rs-icon { font-size: 1.2rem; }
.donate-cta-ribbon-stat .rs-val {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: #a8e6c4;
  line-height: 1;
}
.donate-cta-ribbon-stat .rs-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 600;
}

/* Main body */
.donate-cta-body {
  position: relative;
  z-index: 1;
  padding: 72px 0 68px;
}
.donate-cta-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: center;
}

/* Left text column */
.donate-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.donate-cta-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 18px;
}
.donate-cta-text h2 em { font-style: italic; color: #a8e6c4; }
.donate-cta-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Amount suggestion chips */
.donate-cta-amounts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.donate-cta-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  text-decoration: none;
  transition: all 0.22s ease;
}
.donate-cta-chip:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.4);
  transform: translateY(-3px);
  color: var(--white);
}
.donate-cta-chip .chip-amt {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.donate-cta-chip .chip-lbl {
  font-size: 0.62rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}

/* Trust bullets */
.donate-cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.donate-cta-trust span {
  font-size: 0.84rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}
.donate-cta-trust span::before {
  content: '✓';
  width: 18px; height: 18px;
  background: rgba(168,230,196,.2);
  color: #a8e6c4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Right CTA card */
.donate-cta-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.donate-cta-card-heart {
  font-size: 3rem;
  line-height: 1;
  animation: heartbeat 2s ease-in-out infinite;
}
.donate-cta-card-heading {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  margin: 0;
}
.donate-cta-card-sub {
  font-size: 0.86rem;
  color: rgba(255,255,255,.58);
  line-height: 1.5;
  margin: 0;
}
.donate-cta-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 28px;
  background: #e8443a;
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 6px 22px rgba(232,68,58,.48);
  transition: all 0.25s ease;
  cursor: pointer;
}
.donate-cta-main-btn:hover {
  background: #c93530;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232,68,58,.6);
}
.donate-cta-secure {
  font-size: 0.74rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}

/* Legacy class — redirect to new design */
.home-donate-banner { display: none; }
/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .donate-amounts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .donate-why-bg-card { height: auto; min-height: 300px; }
  .home-donate-inner { flex-direction: column; text-align: center; }
  .home-donate-text p { max-width: 100%; }
  .home-donate-trust { align-items: center; }
  .home-donate-cta-block { width: 100%; max-width: 340px; }
  .donate-hero-badge { display: none; }
}
@media (max-width: 640px) {
  .donate-amounts-grid { grid-template-columns: 1fr; }
  .donate-why-mini-stats { gap: 16px; }
  .home-donate-cta-block { padding: 28px 24px; }
}

/* =========================================
   ABOUT PAGE ENHANCEMENTS
   ========================================= */

/* Mission strip — full-width dark green accent */
.about-mission-strip {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  padding: 80px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-mission-strip::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.about-mission-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
}
.about-mission-text {
  flex: 1 1 420px;
}
.about-mission-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 16px;
}
.about-mission-text p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  line-height: 1.68;
  max-width: 500px;
}
.about-mission-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.about-mission-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 28px 32px;
  min-width: 130px;
  text-align: center;
}
.stat-icon { font-size: 1.8rem; }
.stat-val {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* =========================================
   SERVICES PAGE ENHANCEMENTS
   ========================================= */

/* Service lead line */
.service-lead {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px !important;
}

/* Service feature card — replaces placeholder image slot */
.service-visual-card {
  display: flex;
  align-items: stretch;
}
.service-feature-card {
  background: linear-gradient(145deg, var(--green-dark) 0%, var(--green-primary) 100%);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  gap: 16px;
}
.sfc-icon {
  font-size: 3.2rem;
  line-height: 1;
}
.service-feature-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin: 0;
}
.service-feature-card p {
  color: rgba(255,255,255,.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.sfc-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.sfc-list li {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 8px 20px;
  color: rgba(255,255,255,.9);
  font-size: 0.88rem;
  font-weight: 500;
}

/* =========================================
   RESPONSIVE — about & services additions
   ========================================= */
@media (max-width: 768px) {
  .about-mission-inner { flex-direction: column; text-align: center; }
  .about-mission-text p { max-width: 100%; }
  .about-mission-stats { justify-content: center; }
  .service-lead { margin-bottom: 8px !important; }
  .service-feature-card { padding: 36px 28px; }
}
@media (max-width: 480px) {
  .about-mission-stats { gap: 16px; }
  .about-mission-stat { min-width: 100px; padding: 20px 20px; }
}

/* Donate CTA Banner — responsive */
@media (max-width: 900px) {
  .donate-cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .donate-cta-card { width: 100%; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .donate-cta-ribbon-stat { padding: 6px 18px; }
  .donate-cta-body { padding: 48px 0 44px; }
  .donate-cta-amounts { gap: 8px; }
  .donate-cta-chip { padding: 8px 14px; }
  .donate-cta-chip .chip-amt { font-size: 1rem; }
  .donate-cta-ribbon-stat .rs-val { font-size: 1.05rem; }
}

/* Blog responsive */
@media (max-width: 1100px) {
  .blog-hero-inner { grid-template-columns: 1fr 320px; gap: 36px; }
  .blog-layout { grid-template-columns: 1fr 280px; gap: 36px; }
}
@media (max-width: 900px) {
  .blog-hero-inner { grid-template-columns: 1fr; }
  .blog-hero-search-card { max-width: 480px; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 260px; }
  .blog-featured-body { padding: 32px 28px; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-single-layout { grid-template-columns: 1fr; }
  .blog-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog-list { grid-template-columns: 1fr; }
  .blog-hero-stats { gap: 20px; }
  .blog-single-nav { flex-direction: column; align-items: flex-start; }
  .bsn-next { text-align: left; }
}

/* ── Blog landing — responsive ── */
@media (max-width: 1100px) {
  .blg-layout { grid-template-columns: 1fr 280px; gap: 36px; }
}
@media (max-width: 900px) {
  .blg-hero { padding: 48px 0 40px; }
  .blg-hero-topbar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .blg-search-form { width: 100%; max-width: 440px; }
  .blg-hero-stats { gap: 0; }
  .blg-hero-stat { padding: 0 16px; }
  .blg-featured-card { grid-template-columns: 1fr; }
  .blg-featured-img { min-height: 260px; }
  .blg-featured-body { padding: 32px 28px; }
  .blg-layout { grid-template-columns: 1fr; }
  .blg-sidebar { position: static; }
}
@media (max-width: 640px) {
  .blg-grid { grid-template-columns: 1fr; }
  .blg-hero-stats { flex-wrap: wrap; gap: 12px; }
  .blg-hero-stat-div { display: none; }
  .blg-hero-stat { padding: 0; }
  .blg-inline-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .blg-inline-cta-btn { width: 100%; text-align: center; }
}
