/* ============================================================
   B.T. COOPER SCHOOL — DONOR WEBSITE
   Color palette from the school crest: forest green #013819, gold #F5B00D, white
   Ported from the original static site; the WordPress block layer
   is at the end of this file.
   ============================================================ */

:root {
  --green-900: #013819;
  --green-800: #024a22;
  --green-700: #075c2c;
  --green-600: #0f6b36;
  --green-500: #2a8250;
  --green-400: #4c9a6b;
  --green-300: #86c09c;
  --green-100: #d3eadb;
  --green-50:  #edf6f0;

  --cream-100: #fffdf7;
  --cream-200: #fbf5e8;
  --cream-300: #f3e6c8;
  --cream-400: #e8d29e;

  --gold:      #f5b00d;
  --gold-light:#ffc93c;
  --gold-dark: #946500;

  --text-dark:  #0b2414;
  --text-mid:   #2f4a3a;
  --text-muted: #587263;
  --white:      #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;
  --font-ui:      'Source Sans 3', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(1,56,25,0.10);
  --shadow-md:  0 6px 24px rgba(1,56,25,0.15);
  --shadow-lg:  0 16px 48px rgba(1,56,25,0.20);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream-100);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(1,56,25,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,176,13,0.25);
  transition: var(--transition);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.logo-cross {
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px; /* space between logo and text */
  text-decoration: none;
}
.logo-img {
  height: 40px; /* adjust size as needed */
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
}
.nav-links li a:hover::after,
.nav-links li a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--green-900) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-900);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,176,13,0.4);
}
.btn-secondary {
  background: var(--green-700);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-outline-light:hover {
  background: var(--gold);
  color: var(--green-900);
  transform: translateY(-2px);
}
.btn-large {
  padding: 18px 44px;
  font-size: 1.05rem;
}
.btn-ghost {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-300);
}
.btn-ghost:hover {
  border-color: var(--green-600);
  background: var(--green-50);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION TAGS
   ============================================================ */
.section-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(245,176,13,0.12);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-tag.light {
  color: var(--gold-light);
  background: rgba(245,176,13,0.15);
}
.section-tag.on-dark {
  color: var(--gold-light);
  background: rgba(245,176,13,0.15);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--green-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-family: var(--font-body);
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.75); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(1,56,25,0.88) 0%,
    rgba(1,56,25,0.65) 60%,
    rgba(1,56,25,0.40) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 32px 80px;
  margin: 0 auto 0 calc((100vw - 1160px)/2 + 32px);
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-title .gold-word { color: var(--gold-light); }
.hero-title-small {
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions .btn-primary {
  font-size: 1.05rem;
  padding: 18px 44px;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--green-900);
  padding: 0;
  border-bottom: 3px solid var(--gold);
}
.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-item {
  padding: 36px 48px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(245,176,13,0.25);
}

/* ============================================================
   MISSION SECTION
   ============================================================ */
.mission-section {
  padding: 100px 0;
  background: var(--cream-100);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mission-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--green-900);
  line-height: 1.25;
  margin-bottom: 20px;
}
.mission-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1rem;
}
.mission-quote {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  background: var(--cream-200);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.65;
}
.mission-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: 0.04em;
}

.verse-card {
  background: var(--green-900);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.verse-card::before {
  content: '"';
  position: absolute;
  top: -20px; right: 20px;
  font-family: var(--font-display);
  font-size: 160px;
  color: rgba(245,176,13,0.08);
  font-weight: 900;
  line-height: 1;
}
.verse-cross {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.verse-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin-bottom: 16px;
}
.verse-ref {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.mission-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.value-chip {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--green-50);
  color: var(--green-700);
  border: 1.5px solid var(--green-100);
  letter-spacing: 0.04em;
}

/* ============================================================
   IMPACT PHOTOS STRIP
   ============================================================ */
.photo-strip {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  height: 480px;
}
.photo-strip .photo-cell {
  overflow: hidden;
  position: relative;
}
.photo-strip .photo-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.photo-strip .photo-cell:hover img {
  transform: scale(1.04);
}
.photo-cell-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(1,56,25,0.85), transparent);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   URGENT NEEDS
   ============================================================ */
.urgent-section {
  padding: 100px 0;
  background: var(--green-900);
}
.urgent-section .section-header h2 { color: var(--white); }
.urgent-section .section-header p { color: rgba(255,255,255,0.7); }
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.need-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245,176,13,0.2);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.need-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.need-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(245,176,13,0.4);
}
.need-card:hover::before { transform: scaleX(1); }
.need-rank {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(245,176,13,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.need-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 14px;
}
.need-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.need-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.need-link:hover { color: var(--gold-light); gap: 12px; }

/* ============================================================
   QUICK GIVE
   ============================================================ */
.quick-give {
  padding: 80px 0;
  background: var(--cream-200);
}
.qg-inner {
  text-align: center;
}
.qg-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--green-900);
  margin-bottom: 12px;
}
.qg-inner > p {
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 48px;
}
.qg-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto 40px;
}
.amount-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 2px solid transparent;
}
.amount-card:hover {
  border-color: var(--green-300);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.amount-card.featured {
  background: var(--green-900);
  border-color: var(--gold);
  transform: scale(1.03);
}
.amount-card.featured:hover {
  transform: scale(1.05) translateY(-3px);
}
.amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green-700);
  line-height: 1.1;
  margin-bottom: 8px;
}
.amount-card.featured .amount { color: var(--gold-light); }
.amount small {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.amount-card.featured .amount small { color: rgba(232,192,106,0.7); }
.amount-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.amount-card.featured p { color: rgba(255,255,255,0.7); }

/* ============================================================
   TESTIMONIAL SECTION
   ============================================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--cream-100);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-300);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--gold);
  position: absolute;
  top: 20px; left: 32px;
  line-height: 1;
  opacity: 0.3;
}
.tc-role {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.tc-quote {
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.97rem;
  margin-bottom: 24px;
}
.tc-name {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-800);
}

/* ============================================================
   LOCATION / MAP SECTION
   ============================================================ */
.location-section {
  padding: 100px 0;
  background: var(--green-50);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.location-map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
  background: var(--green-100);
  border-color: black;
  border-width: thick;
  position: relative;
}

.location-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--green-900);
  margin-bottom: 20px;
  line-height: 1.25;
}
.location-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.97rem;
}
.location-facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.location-fact {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
}
.location-fact .lf-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
  margin-bottom: 4px;
}
.location-fact .lf-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   NEWSLETTER / UPDATES SECTION
   ============================================================ */
.newsletter-section {
  padding: 80px 0;
  background: var(--green-800);
}
.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 12px;
}
.newsletter-inner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  font-size: 1rem;
}
.newsletter-form {
  display: flex;
  gap: 12px;
}
.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--gold); }

/* ============================================================
   SOCIAL / CONNECT
   ============================================================ */
.social-section {
  padding: 60px 0;
  background: var(--cream-100);
  text-align: center;
}
.social-section h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green-900);
  margin-bottom: 8px;
}
.social-section p {
  color: var(--text-muted);
  margin-bottom: 32px;
}
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--cream-300);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.social-link:hover {
  border-color: var(--green-400);
  background: var(--green-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.social-icon { font-size: 1.3rem; }

/* ============================================================
   PARTNER BAND (home page)
   ============================================================ */
.li-section {
  padding: 64px 0;
  background: var(--green-900);
  text-align: center;
}
.li-inner {
  max-width: 680px;
  margin: 0 auto;
}
.li-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.li-text {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,176,13,0.08), transparent 60%);
}
.page-hero.has-image {
  background: none;
}
.page-hero.has-image .ph-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero.has-image .ph-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1,56,25,0.78);
}
.ph-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.ph-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.ph-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  padding: 100px 0;
  background: var(--cream-100);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.ai-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--green-900);
  margin-bottom: 20px;
  line-height: 1.25;
}
.ai-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.fact-box {
  background: var(--green-900);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--white);
}
.fact-box h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(245,176,13,0.3);
}
.fact-list { display: flex; flex-direction: column; gap: 14px; }
.fact-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.fact-list li span { color: rgba(255,255,255,0.6); flex-shrink: 0; }
.fact-list li strong { color: var(--white); text-align: right; }

/* ABOUT — PHOTO GALLERY */
.school-gallery {
  padding: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 300px 300px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1,56,25,0.0);
  transition: background var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay { background: rgba(1,56,25,0.4); }
.gallery-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}
.gallery-item:hover .gallery-label { opacity: 1; transform: translateY(0); }

/* UNIQUE SECTION */
.unique-section {
  padding: 100px 0;
  background: var(--cream-200);
}
.unique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.unique-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-300);
  transition: all var(--transition);
}
.unique-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.uc-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.unique-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
  margin-bottom: 10px;
}
.unique-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* PRINCIPAL BIO */
.principal-section {
  padding: 100px 0;
  background: var(--green-50);
}
.principal-bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}
.principal-photo {
  text-align: center;
}
.principal-img {
  width: 320px;
  height: 360px;
  border-radius: var(--radius-lg);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem; /* optional if you want a fallback icon/text */
  overflow: hidden; /* ensures rounded corners clip the image */
}

.principal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.principal-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--green-900);
  margin-bottom: 4px;
}
.principal-title {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.principal-bio h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--green-900);
  margin-bottom: 20px;
  line-height: 1.3;
}
.principal-bio p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.75;
}
.ps-quote-block {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--green-900);
  border-radius: var(--radius-md);
  color: var(--white);
}
.ps-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.8;
  margin-bottom: 12px;
}
.ps-quote-block p {
  font-style: italic;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 12px;
}
.ps-quote-block cite {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* STAFF GRID */
.staff-section {
  padding: 80px 0;
  background: var(--cream-100);
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.staff-card {
  text-align: center;
}
.staff-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--green-100);
  margin: 0 auto 14px;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.staff-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.staff-title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* TIMELINE */
.timeline-section {
  padding: 100px 0;
  background: var(--green-900);
}
.timeline-section .section-header h2 { color: var(--white); }
.timeline-section .section-header p { color: rgba(255,255,255,0.7); }
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 80px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(245,176,13,0.3);
}
.tl-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 8px;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(245,176,13,0.2);
}
.tl-year {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  padding-top: 2px;
}
.tl-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 8px;
}
.tl-content p {
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}
.tl-hard .tl-year { color: #e07070; }
.tl-hard::before { background: #e07070; }
.tl-grace .tl-year { color: var(--gold-light); }
.tl-now .tl-year { color: var(--green-300); }
.tl-now::before { background: var(--green-300); box-shadow: 0 0 0 4px rgba(122,184,149,0.2); }

/* VALUES */
.values-section {
  padding: 80px 0;
  background: var(--cream-200);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.val-item {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.val-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: 10px;
}
.val-item p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-intro {
  padding: 80px 0 40px;
  background: var(--cream-100);
  text-align: center;
}
.projects-intro p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  border: 1px solid var(--cream-300);
  transition: box-shadow var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-lg); }
.project-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.project-card-inner.reverse { direction: rtl; }
.project-card-inner.reverse > * { direction: ltr; }
.project-img {
  position: relative;
  overflow: hidden;
}
.project-img img {
  width: 100%; height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.project-card:hover .project-img img { transform: scale(1.03); }
.project-priority-badge {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.badge-urgent { background: rgba(220,60,60,0.85); color: var(--white); }
.badge-high { background: rgba(245,176,13,0.9); color: var(--green-900); }
.badge-important { background: rgba(15,107,54,0.85); color: var(--white); }

.project-content {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.project-content h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--green-900);
  margin-bottom: 16px;
  line-height: 1.2;
}
.project-cost {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-dark);
  margin-bottom: 20px;
  line-height: 1;
}
.project-content p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* COMPARISON TABLE */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}
.comparison-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.comparison-table th:first-child { color: #e07070; }
.comparison-table th:last-child { color: var(--green-600); }
.comparison-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--cream-300);
  color: var(--text-mid);
  line-height: 1.45;
  vertical-align: top;
}
.comparison-table tr:first-child td { border-top: none; }
.col-now { background: rgba(220,60,60,0.04); }
.col-then { background: rgba(15,107,54,0.05); }
.col-now td:first-child { color: #b04040; font-style: italic; }
.col-then td:last-child { color: var(--green-600); font-weight: 600; }

/* ============================================================
   DONATE / GIVE PAGE
   ============================================================ */
.donate-hero {
  position: relative;
}
.donate-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1,56,25,0.80);
}
.donate-hero .ph-content { position: relative; z-index: 2; }

.verse-band {
  background: var(--gold);
  padding: 22px 0;
  text-align: center;
}
.verse-band p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--green-900);
}

.monthly-first-callout {
  background: var(--green-800);
  padding: 48px 0;
  text-align: center;
}
.mfc-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px;
}
.mfc-inner h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--white);
  margin-bottom: 12px;
}
.mfc-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
}
.mfc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--green-900);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.giving-section {
  padding: 80px 0;
  background: var(--cream-100);
}
.alt-giving { background: var(--cream-200); }

/* GIVING TABS */
.giving-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--cream-200);
  padding: 6px;
  border-radius: var(--radius-md);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.giving-tab {
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
}
.giving-tab.active {
  background: var(--green-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* SLIDER IMPACT */
.slider-section {
  padding: 80px 0;
  background: var(--green-50);
}
.slider-wrap {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.slider-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--green-900);
  margin-bottom: 8px;
}
.slider-wrap > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}
.donation-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--green-600) 0%, var(--green-600) 50%, var(--green-100) 50%);
  outline: none;
  margin-bottom: 12px;
  cursor: pointer;
}
.donation-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-600);
  box-shadow: 0 2px 8px rgba(1,56,25,0.25);
  cursor: pointer;
  transition: border-color var(--transition);
}
.donation-slider::-webkit-slider-thumb:hover { border-color: var(--gold); }
.slider-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green-900);
  line-height: 1;
  margin-bottom: 8px;
}
.slider-value small {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.impact-breakdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.impact-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  border: 1px solid var(--cream-300);
  box-shadow: var(--shadow-sm);
}
.impact-icon { font-size: 1.8rem; margin-bottom: 8px; }
.impact-amount {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
  margin-bottom: 4px;
}
.impact-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.monthly-note {
  margin-top: 16px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* GIVING CARDS */
.giving-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.giving-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  text-align: center;
}
.giving-card:hover {
  border-color: var(--green-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.giving-card.featured-card {
  border-color: var(--gold);
  background: var(--green-900);
}
.giving-card.featured-card:hover { border-color: var(--gold-light); }
.gc-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--green-900);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.gc-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--green-800);
  line-height: 1;
  margin-bottom: 4px;
}
.gc-amount small {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.featured-card .gc-amount { color: var(--gold-light); }
.featured-card .gc-amount small { color: rgba(232,192,106,0.6); }
.gc-annual {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.featured-card .gc-annual { color: rgba(255,255,255,0.45); }
.giving-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
  margin-bottom: 10px;
}
.featured-card h4 { color: var(--white); }
.giving-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}
.featured-card p { color: rgba(255,255,255,0.65); }
.gc-btn { width: 100%; justify-content: center; }

/* DONORBOX */
.donorbox-section {
  padding: 80px 0;
  background: var(--green-50);
}
.donorbox-embed-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.donorbox-placeholder {
  background: var(--white);
  border: 2px dashed var(--green-300);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
}
.dbp-icon { font-size: 3rem; margin-bottom: 20px; }
.donorbox-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-900);
  margin-bottom: 12px;
}
.donorbox-placeholder p { color: var(--text-muted); margin-bottom: 12px; }
.donorbox-placeholder code {
  display: block;
  background: var(--cream-200);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--green-700);
  text-align: left;
  margin: 12px 0;
  line-height: 1.65;
}
.dbp-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* TRUST SIGNALS */
.trust-section {
  padding: 80px 0;
  background: var(--cream-100);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 32px 20px;
}
.ti-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.trust-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-900);
  margin-bottom: 8px;
}
.trust-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 80px 0;
  background: var(--cream-100);
}
.contact-container {
  width: 100%;
  max-width: 700px;   /* limit width */
  margin: 0 auto;     /* center horizontally */
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green-900);
  margin-bottom: 20px;
}
.contact-info p {
  color: var(--text-mid);
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.65;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--cream-200);
  border-radius: var(--radius-sm);
}
.cd-icon { font-size: 1.2rem; flex-shrink: 0; }
.cd-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.cd-value {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-300);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green-900);
  margin-bottom: 8px;
}
.form-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 7px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--cream-100);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* MISSION TRIP SECTION */
.mission-trip-section {
  padding: 80px 0;
  background: var(--cream-200);
}
.mt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mt-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}
.mt-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.mt-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--green-900);
  margin-bottom: 20px;
  line-height: 1.3;
}
.mt-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.75;
}
.trip-details {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trip-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-mid);
}
.trip-detail .td-icon {
  width: 36px; height: 36px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   CONTEXT / COMMUNITY
   ============================================================ */
.context-section {
  padding: 100px 0;
  background: var(--cream-100);
}
.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.context-image-block {
  background: var(--green-900);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.context-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.context-image-block h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.context-image-block p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.7;
}
.context-main h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--green-900);
  margin-bottom: 20px;
  line-height: 1.3;
}
.context-main p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-900);
  padding: 72px 0 32px;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 8px;
}
.footer-verse {
  color: var(--gold) !important;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 0.82rem !important;
  margin-top: 16px !important;
}
.footer h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  transition: color var(--transition);
  font-family: var(--font-ui);
}
.footer-links a:hover { color: var(--white); }
.footer-contact p {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 8px;
  font-family: var(--font-ui);
}
.footer-contact a {
  color: var(--gold);
  font-size: 0.88rem;
  font-family: var(--font-ui);
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.62);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-social-link:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-family: var(--font-ui);
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.62); text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   PRAYER PAGE
   ============================================================ */
.prayer-section {
  padding: 80px 0;
  background: var(--cream-100);
}
.prayer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prayer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--green-400);
  text-align: center;
  transition: all var(--transition);
}
.prayer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.prayer-icon { font-size: 2.2rem; margin-bottom: 16px; }
.prayer-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: 10px;
}
.prayer-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content {
    margin-left: 32px;
    padding: 120px 32px 80px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(1,56,25,0.98);
    backdrop-filter: blur(12px);
    padding: 32px;
    overflow-y: auto;
    align-items: flex-start;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 16px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-cta {
    margin-top: 24px;
    padding: 14px 24px !important;
    text-align: center;
    border-radius: var(--radius-sm);
  }
  .nav-toggle { display: flex; }

  .stats-inner { flex-wrap: wrap; }
  .stat-item { padding: 24px 28px; }
  .stat-divider { display: none; }

  .mission-grid,
  .ai-grid,
  .location-grid,
  .context-grid,
  .mt-grid,
  .contact-grid,
  .principal-bio-grid { grid-template-columns: 1fr; gap: 40px; }

  .needs-grid,
  .unique-grid,
  .values-grid,
  .giving-grid,
  .testimonials-grid,
  .prayer-grid { grid-template-columns: 1fr; }

  .qg-amounts { grid-template-columns: 1fr; }
  .amount-card.featured { transform: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.large { grid-column: span 2; }
  .impact-breakdown { grid-template-columns: repeat(2, 1fr); }
  .project-card-inner,
  .project-card-inner.reverse { grid-template-columns: 1fr; direction: ltr; }
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .photo-strip { grid-template-columns: 1fr; height: auto; }
  .photo-strip .photo-cell { height: 240px; }
  .photo-strip .photo-cell.large { height: 320px; }

  h1.hero-title { font-size: 3rem; }
  .hero-content { margin-left: 0; padding: 100px 24px 60px; }
  .container { padding: 0 20px; }
}

/* UTILITY */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }

/* Reveal animation setup */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Visitors whose device asks for less motion get no reveal, pulse or zoom. */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   WORDPRESS BLOCK LAYER
   The pages are built from core blocks (groups, paragraphs, images,
   buttons). These rules map the design above onto that markup.
   ============================================================ */

/* ---- Base ---- */
.wp-site-blocks { padding: 0; }
.site-main .wp-block-image,
.footer .wp-block-image { margin: 0; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
#donorbox, #calculator, #trip, #principal, [id^="btc-"] { scroll-margin-top: 96px; }

/* Placeholder content waiting for real quotes, photos or facts. */
.is-placeholder { outline: 2px dashed rgba(245,176,13,0.75); outline-offset: 4px; }

/* Classes that sit on paragraphs now, re-asserted over the
   "section p" text rules earlier in this file. */
.section-tag.section-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(245,176,13,0.12);
  padding: 5px 14px;
  border-radius: 100px;
  margin: 0 0 16px;
  max-width: none;
}
.section-tag.section-tag.light,
.section-tag.section-tag.on-dark { color: var(--gold-light); background: rgba(245,176,13,0.15); }

/* ---- Buttons (core Button block + the styles in functions.php) ---- */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.wp-block-buttons.is-centered { justify-content: center; }
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: var(--gold);
  color: var(--green-900);
  text-decoration: none;
  transition: all var(--transition);
}
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-gold .wp-block-button__link { background: var(--gold); color: var(--green-900); }
.wp-block-button.is-style-gold .wp-block-button__link:hover { background: var(--gold-light); box-shadow: 0 8px 24px rgba(245,176,13,0.4); }
.wp-block-button.is-style-green .wp-block-button__link { background: var(--green-700); color: var(--white); }
.wp-block-button.is-style-green .wp-block-button__link:hover { background: var(--green-600); box-shadow: var(--shadow-md); }
.wp-block-button.is-style-outline-light .wp-block-button__link { background: transparent; color: var(--white); border-color: var(--gold); }
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: var(--gold); color: var(--green-900); }
.wp-block-button.is-style-outline-white .wp-block-button__link { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.wp-block-button.is-style-outline-white .wp-block-button__link:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--green-700); border-color: var(--green-300); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { border-color: var(--green-600); background: var(--green-50); }
.wp-block-button.is-style-social .wp-block-button__link {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--cream-300);
  border-radius: var(--radius-md);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  padding: 14px 28px;
  box-shadow: var(--shadow-sm);
}
.wp-block-button.is-style-social .wp-block-button__link:hover { border-color: var(--green-400); background: var(--green-50); box-shadow: var(--shadow-md); }
.wp-block-button.btn-large .wp-block-button__link { padding: 18px 44px; font-size: 1.05rem; }
.wp-block-button.btn-full,
.wp-block-buttons:has(> .btn-full) { width: 100%; }
.wp-block-button.btn-full .wp-block-button__link { width: 100%; }
.btn-full { width: 100%; }

/* ---- Header ---- */
.nav .nav-inner { gap: 28px; }
.nav-brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.nav-brand .wp-block-site-logo img { height: 62px; width: auto; }
.nav-brand .wp-block-site-logo { flex-shrink: 0; }
.nav-brand .wp-block-site-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
}
.nav-brand .wp-block-site-title a { color: inherit; }
.nav-menu .wp-block-navigation__container { gap: 32px; }
.nav .nav-menu .wp-block-navigation-item__content {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}
.nav-menu .wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav .nav-menu .wp-block-navigation-item__content:hover,
.nav .nav-menu .current-menu-item > .wp-block-navigation-item__content { color: var(--white); }
.nav-menu .wp-block-navigation-item__content:hover::after,
.nav-menu .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.nav-menu .wp-block-navigation__responsive-container-open,
.nav-menu .wp-block-navigation__responsive-container-close { color: var(--white); }
.nav-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 24px;
}
.nav-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-size: 1.2rem;
  padding: 10px 0;
}
.nav-give .nav-give-btn .wp-block-button__link { padding: 10px 22px; font-size: 0.85rem; letter-spacing: 0.04em; }
.admin-bar .nav { top: 32px; }

/* ---- Home hero ---- */
.hero {
  align-items: stretch;
  background: linear-gradient(120deg, var(--green-900) 0%, var(--green-800) 100%);
}
.hero-content {
  flex: 0 1 680px;
  margin: 0 0 0 max(0px, calc((100vw - 1160px) / 2));
  align-self: center;
}
.hero-motto {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-photo { flex: 1 1 40%; position: relative; min-height: 420px; }
.hero-photo .wp-block-image { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Stats ---- */
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 1px; height: 56px;
  margin-top: -28px;
  background: rgba(245,176,13,0.25);
}

/* ---- Photo cells, gallery, community pair ---- */
.photo-cell .wp-block-image,
.gallery-item .wp-block-image,
.community-cell .wp-block-image,
.project-img .wp-block-image,
.mt-img .wp-block-image,
.principal-img .wp-block-image,
.location-map-embed .wp-block-image { height: 100%; width: 100%; }
.location-map-embed img { width: 100%; height: 100%; object-fit: cover; }
.gallery-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 20px 18px;
  background: linear-gradient(to top, rgba(1,56,25,0.8), transparent);
  opacity: 1;
  transform: none;
}
.community-pair { display: grid; grid-template-columns: 1fr 1fr; height: 520px; overflow: hidden; }
.community-cell { position: relative; overflow: hidden; }
.community-cell img { width: 100%; height: 100%; object-fit: cover; }
.community-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,56,25,0.82), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}
.cc-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.cc-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); font-weight: 700; line-height: 1.25; max-width: 420px; }

/* ---- Quotes ---- */
.mission-quote p { margin: 0; color: var(--text-dark); font-size: 1.05rem; }
.mission-quote .quote-cite,
.ps-quote-block .quote-cite,
.big-quote .quote-cite {
  display: block;
  margin: 10px 0 0;
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mission-quote .quote-cite { color: var(--green-700); }
.ps-quote-block .quote-cite,
.big-quote .quote-cite { color: var(--gold); }
.quote-section { padding: 80px 0; background: var(--cream-100); }
.big-quote {
  max-width: 720px;
  margin: 0 auto;
  background: var(--green-900);
  border-radius: var(--radius-xl);
  padding: 56px 52px;
  position: relative;
  overflow: hidden;
}
.big-quote::before {
  content: '"';
  position: absolute;
  top: -20px; right: 20px;
  font-family: var(--font-display);
  font-size: 180px;
  color: rgba(245,176,13,0.06);
  font-weight: 900;
  line-height: 1;
}
.big-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255,255,255,0.92);
  font-size: 1.2rem;
  line-height: 1.65;
  position: relative;
}

/* ---- Home: needs, monthly amounts, location ---- */
.need-card .need-rank {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(245,176,13,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.need-card .need-link { margin: 0; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.need-card .need-link a { color: var(--gold); transition: color var(--transition); }
.need-card .need-link a:hover { color: var(--gold-light); }
.qg-inner .qg-lead { color: var(--text-mid); max-width: 560px; margin: 0 auto 48px; }
.amount.amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green-700);
  line-height: 1.1;
  margin-bottom: 8px;
}
.amount-card.featured .amount.amount { color: var(--gold-light); }
.location-map-embed { border-width: 0; }

/* ---- Inner page heroes ---- */
.page-hero.has-image .ph-bg-img { position: absolute; inset: 0; z-index: 0; }
.page-hero.has-image .ph-bg-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(1,56,25,0.78);
}

/* ---- Our Story ---- */
.ai-actions { margin-top: 28px; }
.fact-list li { color: rgba(255,255,255,0.6); }
.principal-img { width: 100%; max-width: 320px; }
.principal-bio h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--green-900);
  margin-bottom: 20px;
  line-height: 1.3;
}
.staff-note { text-align: center; margin-top: 28px; color: var(--text-muted); font-size: 0.85rem; font-style: italic; }
.val-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: 10px;
}
.li-heading { font-family: var(--font-display); color: var(--white); font-size: 1.8rem; line-height: 1.25; margin-bottom: 16px; }

/* ---- Projects ---- */
.project-row { padding: 40px 0 0; background: var(--cream-100); }
.project-row--last { padding-bottom: 80px; }
.projects-intro .projects-note { margin-top: -24px; font-family: var(--font-ui); font-weight: 600; color: var(--green-700); }
.photo-note {
  position: absolute;
  right: 12px; bottom: 12px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(0,0,0,0.55);
  padding: 3px 10px;
  border-radius: 100px;
}
.project-content .project-cost,
.project-mini .project-cost {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-dark);
  margin-bottom: 20px;
  line-height: 1;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 16px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}
.compare-col { padding: 10px 14px; }
.compare-now { background: rgba(220,60,60,0.04); }
.compare-after { background: rgba(15,107,54,0.05); }
.compare .compare-head {
  margin: 0 0 4px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}
.compare-now .compare-head { color: #b04040; }
.compare-after .compare-head { color: var(--green-600); }
.compare li { padding: 8px 0; border-top: 1px solid var(--cream-300); line-height: 1.45; }
.compare li:first-child { border-top: none; }
.compare-now li { color: #b04040; font-style: italic; }
.compare-after li { color: var(--text-mid); }
.project-content .compare-outcome { color: var(--green-600); font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; }
.project-minis { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; }
.project-mini { border-radius: var(--radius-lg); padding: 36px 32px; margin-bottom: 0; }
.mini-badge {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 8px;
}
.project-mini h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-900); margin-bottom: 8px; }
.project-mini .project-cost { font-size: 1.8rem; margin-bottom: 16px; }
.project-mini > p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.65; margin-bottom: 24px; }
.mini-compare {
  background: var(--cream-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
}
.mini-compare p + p { margin-top: 10px; }
.mini-compare strong { display: block; margin-bottom: 4px; color: var(--green-800); }

/* ---- Pray ---- */
.prayer-intro { padding: 80px 0 40px; background: var(--cream-100); }
.narrow-center { max-width: 700px; margin: 0 auto; text-align: center; }
.narrow-center h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--green-900);
  margin-bottom: 20px;
  line-height: 1.25;
}
.narrow-center p { color: var(--text-mid); font-size: 1.05rem; line-height: 1.75; }

/* ---- Give ---- */
.mfc-inner .mfc-badge {
  display: inline-flex;
  color: var(--green-900);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.slider-wrap .slider-intro { color: var(--text-muted); margin-bottom: 12px; }
.slider-mode {
  display: block;
  margin: 20px auto 32px;
  padding: 10px 20px;
  border: 2px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
}
.donation-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-600);
  cursor: pointer;
}
.impact-heading { font-family: var(--font-ui); font-weight: 600; color: var(--text-mid); font-size: 0.95rem; }
.impact-breakdown { margin-top: 16px; }
.impact-basis { margin: 16px 0 32px; font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-muted); font-style: italic; line-height: 1.55; }
.giving-card .gc-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--green-900);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
  margin: 0;
}
.giving-card .gc-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--green-800);
  line-height: 1;
  margin-bottom: 4px;
}
.giving-card .gc-annual { font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.giving-card.featured-card .gc-amount { color: var(--gold-light); }
.giving-card.featured-card .gc-annual { color: rgba(255,255,255,0.45); }
.giving-card .wp-block-buttons { margin-top: auto; }
.giving-card { display: flex; flex-direction: column; }
.giving-more { text-align: center; margin: 32px 0 16px; color: var(--text-muted); font-size: 0.9rem; }
.monthly-ask {
  margin-top: 48px;
  background: var(--green-900);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.ma-eyebrow { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.monthly-ask h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
.monthly-ask-text p:last-child { color: rgba(255,255,255,0.72); font-size: 0.92rem; line-height: 1.65; }
.donorbox-embed-wrap dbox-widget { display: block; min-height: 200px; }
.give-disclaimer { margin-top: 24px; font-family: var(--font-ui); font-size: 0.8rem; line-height: 1.6; color: var(--text-muted); }
.give-disclaimer a { color: var(--green-700); text-decoration: underline; }

/* ---- Contact and forms ---- */
.contact-container { padding: 0 20px; max-width: 740px; }
.mt-text .wp-block-buttons { margin-top: 28px; }
.trip-detail p { margin: 0; font-family: var(--font-ui); font-size: 0.9rem; color: var(--text-mid); line-height: 1.5; }
.trip-detail .td-icon { margin: 0; }
.trip-section { padding: 80px 0; background: var(--cream-100); }
.trip-inner { max-width: 680px; margin: 0 auto; }
.trip-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-300);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a5244' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.btc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success.is-visible { display: block; }
.form-success-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-800); margin-bottom: 10px; }
.form-success p:not(.form-success-title) { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-mid); }
.newsletter-inner .form-success { padding: 8px 0 0; }
.newsletter-inner .form-success p { margin: 0 0 6px; }
.newsletter-inner .form-success .form-success-title { color: var(--gold-light); }
.newsletter-inner .form-success p:not(.form-success-title) { color: rgba(255,255,255,0.8); }
.form-error {
  background: #fdecec;
  color: #8a1f1f;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---- Footer ---- */
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-legal { max-width: 760px; margin: 0 auto 8px; line-height: 1.6; }

/* ---- Plain pages (privacy policy etc.) and posts ---- */
.plain-page { padding: 130px 20px 80px; }
.plain-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green-900); line-height: 1.15; margin-bottom: 24px; }
.plain-page .wp-block-post-content > * + * { margin-top: 1em; }
.plain-page .wp-block-post-content a,
.plain-page p a { color: var(--green-700); text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .nav-menu .wp-block-navigation__container { gap: 20px; }
  .nav-menu .wp-block-navigation-item__content { font-size: 0.82rem; }
}
@media (max-width: 1024px) {
  /* Switch to the menu button earlier than core's 600px so the bar never crowds. */
  .nav-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .nav-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .nav .nav-inner { gap: 16px; }
  .monthly-ask { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; min-height: 0; }
  .hero-content { flex: none; margin: 0; padding: 110px 20px 48px; }
  .hero-photo { flex: none; height: 320px; min-height: 0; }
  .stat-item + .stat-item::before { display: none; }
  .community-pair { grid-template-columns: 1fr; height: auto; }
  .community-cell { height: 300px; }
  .gallery-item { height: 220px; }
  .gallery-item.large { height: 300px; }
  .location-map-embed { height: 320px; }
  .mt-img { height: 280px; }
  .project-minis { grid-template-columns: 1fr; }
  .project-content { padding: 32px 24px; }
  .contact-form-wrap,
  .trip-form-card { padding: 32px 22px; }
  .monthly-ask { padding: 32px 24px; }
  .big-quote { padding: 40px 28px; }
  .trust-grid { grid-template-columns: 1fr; }
  .nav-brand .wp-block-site-title { font-size: 1.05rem; }
  .nav-brand .wp-block-site-logo img { height: 52px; }
}
@media (max-width: 520px) {
  .stat-item { flex: 1 1 45%; padding: 20px 10px; }
  .stat-num { font-size: 2.4rem; }
  .compare { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: auto; }
  .location-facts { grid-template-columns: 1fr; }
  .nav-brand .wp-block-site-title { display: none; }
  .wp-block-button.btn-large .wp-block-button__link { padding: 16px 28px; }
}

/* Timeline years sit clear of the dots on the line. */
.tl-year { padding-right: 14px; }

/* Headings default to a tighter line height; section rules above still win. */
:where(h1, h2, h3, h4, h5, h6) { line-height: 1.25; }

@media (max-width: 1024px) {
  /* Logo, then Give Now, then the menu button at the far right. */
  .nav .nav-give { order: 2; }
  .nav .nav-menu { order: 3; }
}
@media (max-width: 768px) {
  .newsletter-inner { padding: 0 20px; }
}

/* backdrop-filter would trap the full-screen mobile menu inside the bar. */
.nav { backdrop-filter: none; }
.nav-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.nav-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  align-items: flex-start;
  justify-content: flex-start;
}
.nav-menu .wp-block-navigation__responsive-container.is-menu-open { padding: 24px 28px; }

/* ---- Give page: one form, with what a monthly gift does beside it ---- */
.give-main { padding: 72px 0 80px; background: var(--green-50); }
.give-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.give-impact { position: sticky; top: 110px; }
.give-impact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: var(--green-900);
  margin-bottom: 24px;
}
.give-tier {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--green-100);
}
.give-tier .tier-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-800);
  line-height: 1;
}
.give-tier .tier-amount small { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); }
.give-tier .tier-text { color: var(--text-mid); font-size: 0.98rem; line-height: 1.5; }
.give-verse {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--green-100);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.6;
}
.give-verse strong { display: block; margin-top: 6px; font-family: var(--font-ui); font-style: normal; font-size: 0.85rem; color: var(--gold-dark); }
.give-main .donorbox-embed-wrap { max-width: none; margin: 0; }
.trust-grid--three { grid-template-columns: repeat(3, 1fr); }
.projects-intro { padding: 56px 0 8px; }
.projects-intro .projects-note { margin: 0 auto; }
.project-content .compare { margin-bottom: 0; }

@media (max-width: 900px) {
  .give-grid { grid-template-columns: 1fr; gap: 40px; }
  .give-impact { position: static; }
  .trust-grid--three { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .give-tier { grid-template-columns: 1fr; gap: 4px; }
}

/* Social links under the updates sign-up forms. */
.social-row { margin-top: 20px; font-family: var(--font-ui); font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.newsletter-inner .social-row { margin-bottom: 0; }
.social-row a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.social-row a:hover { color: var(--white); }

/* ---- Thank-you page: social buttons ---- */
.social-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 8px 0 32px; padding: 0; }
.social-button {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  border: 2px solid var(--gold); color: var(--white);
  font-family: var(--font-ui); font-weight: 700; font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}
.social-button:hover, .social-button:focus-visible { background: var(--gold); color: var(--green-900); }
.newsletter-inner .connect-label { font-family: var(--font-ui); font-weight: 700; color: var(--gold-light); margin: 0 0 12px; }

/* ---- Needs page ---- */
.project-cost small { font-family: var(--font-ui); font-size: 0.95rem; font-weight: 600; color: var(--text-muted); margin-left: 6px; }
.need-give { margin-top: 24px; }
.project-mini .need-give { margin-top: 20px; }

/* ---- Needs page: support one child + section headings ---- */
.sponsor-section { padding: 80px 0 64px; background: var(--white); }
.sponsor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 880px; margin: 0 auto; }
.sponsor-card {
  background: var(--cream-100); border: 2px solid var(--cream-300); border-radius: var(--radius-lg);
  padding: 36px 32px; display: flex; flex-direction: column;
}
.sponsor-card--feature { background: var(--green-900); border-color: var(--gold); color: var(--white); }
.sponsor-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-900); margin-bottom: 8px; }
.sponsor-card--feature h3 { color: var(--gold-light); }
.sponsor-card .sponsor-price { font-family: var(--font-display); font-size: 3rem; font-weight: 900; line-height: 1; color: var(--green-900); margin: 4px 0; }
.sponsor-card--feature .sponsor-price { color: var(--white); }
.sponsor-price small { font-family: var(--font-ui); font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.sponsor-card--feature .sponsor-price small, .sponsor-card--feature .sponsor-month { color: rgba(255,255,255,0.75); }
.sponsor-month { font-family: var(--font-ui); font-weight: 700; color: var(--gold-dark); margin-bottom: 16px; }
.sponsor-card > p:not([class]) { color: var(--text-mid); margin-bottom: 16px; }
.sponsor-card--feature > p:not([class]) { color: rgba(255,255,255,0.85); }
.sponsor-lines { list-style: none; margin: 0 0 8px; padding: 0; font-family: var(--font-ui); }
.sponsor-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--cream-300); }
.sponsor-card--feature .sponsor-lines li { border-color: rgba(255,255,255,0.15); }
.sponsor-card .need-give { margin-top: auto; padding-top: 20px; }
.sponsor-note { max-width: 880px; margin: 24px auto 0; text-align: center; font-family: var(--font-ui); font-size: 0.85rem; color: var(--text-muted); }
.needs-heading { padding: 72px 0 8px; background: var(--cream-100); }
.needs-heading .section-header { margin-bottom: 0; }
@media (max-width: 768px) {
  .sponsor-grid { grid-template-columns: 1fr; }
  .sponsor-card { padding: 28px 22px; }
  .sponsor-card .sponsor-price { font-size: 2.5rem; }
}
.project-img .img-contain { background: #fbf7ee; height: 100%; display: flex; align-items: center; }
.project-img .img-contain img { object-fit: contain !important; height: auto !important; }

/* ---- Give page: monthly gift calculator ---- */
.give-calc {
  background: var(--white); border: 2px solid var(--green-100); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm); font-family: var(--font-ui);
}
.give-calc .calc-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 6px; }
.give-calc h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; color: var(--green-900); margin: 0 0 10px; }
.give-calc .calc-intro { font-family: var(--font-body); color: var(--text-mid); font-size: 0.98rem; line-height: 1.6; margin: 0 0 18px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--cream-300); }
.calc-label { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.calc-label strong { color: var(--green-900); font-size: 1.02rem; }
.calc-label span { color: var(--text-muted); font-size: 0.86rem; line-height: 1.4; }
.calc-label b { color: var(--green-700); }
.calc-stepper { display: flex; align-items: center; flex-shrink: 0; border: 2px solid var(--green-100); border-radius: 999px; overflow: hidden; }
.calc-step {
  width: 40px; height: 40px; border: 0; background: var(--green-50); color: var(--green-900);
  font-size: 1.3rem; font-weight: 700; cursor: pointer; line-height: 1;
}
.calc-step:hover, .calc-step:focus-visible { background: var(--gold); }
.calc-stepper input, .calc-money input {
  width: 52px; height: 40px; border: 0; text-align: center; font: 700 1.05rem var(--font-ui); color: var(--green-900); background: var(--white);
  -moz-appearance: textfield; appearance: textfield;
}
.calc-stepper input::-webkit-outer-spin-button, .calc-stepper input::-webkit-inner-spin-button,
.calc-money input::-webkit-outer-spin-button, .calc-money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-money { display: flex; align-items: center; flex-shrink: 0; gap: 4px; border: 2px solid var(--green-100); border-radius: var(--radius-sm); padding: 0 10px; font-weight: 700; color: var(--green-900); }
.calc-money input { width: 80px; text-align: right; }
.calc-money .calc-per { font-weight: 600; font-size: 0.82rem; color: var(--text-muted); }
.calc-stepper:focus-within, .calc-money:focus-within { border-color: var(--gold); }
.calc-total {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px;
  margin: 8px 0 16px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--green-900); color: var(--white);
}
.calc-total span { font-weight: 600; color: rgba(255,255,255,0.8); }
.calc-total .calc-sum { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-light); line-height: 1; grid-row: span 2; align-self: center; }
.calc-total .calc-year { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.calc-give {
  display: block; text-align: center; padding: 15px 20px; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--green-900); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em;
  transition: background var(--transition);
}
.calc-give:hover, .calc-give:focus-visible { background: var(--gold-light); }
.calc-give.is-empty { background: var(--cream-300); color: var(--text-muted); cursor: default; }
.give-calc .calc-note { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin: 12px 0 0; }
.give-impact .give-verse { margin-top: 24px; }
@media (max-width: 520px) {
  .give-calc { padding: 24px 18px; }
  .calc-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}
.give-main .give-impact { position: static; }
.calc-summary { margin: 0 0 16px; }
.calc-summary[hidden] { display: none; }
.give-calc .calc-summary-label { font-size: 0.8rem; font-weight: 700; color: var(--green-900); margin: 0 0 6px; }
.calc-summary-box {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px;
  border: 2px dashed var(--gold); border-radius: var(--radius-sm); background: var(--cream-100);
}
.calc-summary-text { flex: 1; font-weight: 600; color: var(--green-900); line-height: 1.45; }
.calc-copy {
  flex-shrink: 0; padding: 8px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--green-900); color: var(--white); font: 700 0.85rem var(--font-ui);
}
.calc-copy:hover, .calc-copy:focus-visible { background: var(--green-700); }
.give-calc .calc-summary-help { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; margin: 8px 0 0; }

/* ---- Our Story: staff cards (initials until photos arrive) ---- */
.staff-grid { max-width: 960px; margin: 0 auto; }
.staff-card .staff-avatar { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--gold-light); background: var(--green-900); border-color: var(--gold); }
.staff-card .staff-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--green-900); margin: 0 0 4px; }
.staff-card .staff-name.is-pending { font-family: var(--font-ui); font-size: 0.9rem; font-weight: 600; font-style: italic; color: var(--text-muted); }
.staff-card .staff-title { line-height: 1.4; }

/* ---- Needs page: tabs ---- */
.needs-panel > .tab-label {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap;
}
.needs-tabbar {
  position: sticky; top: var(--tabs-top, 72px); z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--cream-300); box-shadow: 0 6px 18px rgba(1,56,25,0.06);
}
.needs-tablist {
  display: flex; gap: 8px; max-width: 1160px; margin: 0 auto; padding: 14px 32px;
  overflow-x: auto; scrollbar-width: none; justify-content: center;
}
.needs-tablist::-webkit-scrollbar { display: none; }
.needs-tab {
  flex-shrink: 0; padding: 11px 22px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--green-100); background: var(--white); color: var(--green-900);
  font: 700 0.95rem var(--font-ui); transition: background var(--transition), border-color var(--transition);
}
.needs-tab:hover { border-color: var(--gold); }
.needs-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.needs-tab[aria-selected="true"] { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.needs-panel:focus { outline: none; }
.needs-tabs.is-tabbed .needs-panel[hidden] { display: none; }
.needs-tabs.is-tabbed .needs-panel > .needs-heading:first-of-type,
.needs-tabs.is-tabbed .needs-panel > .sponsor-section { padding-top: 56px; }
.needs-tabs.is-tabbed .needs-panel > .project-row:last-child { padding-bottom: 80px; }
@media (max-width: 768px) {
  .needs-tablist { justify-content: flex-start; padding: 12px 16px; }
  .needs-tab { padding: 9px 16px; font-size: 0.88rem; }
}

/* ---- School Tour ---- */
.tour-teaser { background: var(--green-50); padding: 48px 24px; text-align: center; }
.tour-teaser-inner { max-width: 640px; margin: 0 auto; }
.tour-teaser-inner p { font-size: 1.15rem; color: var(--text-mid); margin: 0 0 20px; }
.tour-teaser .wp-block-buttons { justify-content: center; }

.tour-section { padding: 64px 0 96px; background: var(--cream-100); }
.tour { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.tour-map { position: sticky; top: 96px; }
.tour-hint { font: 600 0.95rem var(--font-ui); color: var(--text-muted); margin: 0 0 12px; }
.tour-map-frame {
  background: #f6efdd; border: 1px solid var(--cream-300); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.tour-svg { display: block; width: 100%; height: auto; font-family: var(--font-ui); }
.tm-ground { fill: #f6efdd; }
.tm-grounds { fill: #ece0bf; }
.tm-wall { fill: none; stroke: var(--green-900); stroke-width: 3; stroke-dasharray: 10 7; }
.tm-yard { fill: #e2d1a4; }
.tm-yard-label { font-size: 22px; font-weight: 700; letter-spacing: 4px; fill: #a8925c; }
.tm-trees circle { fill: var(--green-400); opacity: 0.55; }
.tm-other { fill: #cfc6b0; stroke: #a99f86; stroke-width: 2; stroke-linejoin: round; }
.tm-north polygon { fill: var(--green-900); }
.tm-north text { font-size: 15px; font-weight: 700; fill: var(--green-900); }

.tour-spot { cursor: pointer; outline: none; }
.tm-building { fill: var(--green-600); stroke: var(--green-900); stroke-width: 3; stroke-linejoin: round; transition: fill var(--transition); }
.tm-gate { stroke: var(--gold-dark); stroke-width: 9; stroke-linecap: round; }
.tm-well { fill: #6b8fa3; stroke: var(--green-900); stroke-width: 3; }
.tm-tank { fill: #1f2a24; stroke: var(--green-900); stroke-width: 2; }
.tm-tables rect { fill: #9aa5a0; stroke: var(--green-900); stroke-width: 2; }
.tm-play { fill: rgba(245,176,13,0.18); stroke: var(--gold-dark); stroke-width: 2; stroke-dasharray: 6 5; }
.tm-pin circle { fill: var(--gold); stroke: var(--green-900); stroke-width: 3; transition: fill var(--transition); }
.tm-pin text { font-size: 19px; font-weight: 700; fill: var(--green-900); pointer-events: none; }
.tour-spot:hover .tm-building { fill: var(--green-500); }
.tour-spot:hover .tm-pin circle { fill: var(--gold-light); }
.tour-spot:focus-visible .tm-pin circle { stroke: var(--gold-dark); stroke-width: 5; }
.tour-spot.is-active .tm-building { fill: var(--gold); }
.tour-spot.is-active .tm-tables rect,
.tour-spot.is-active .tm-well { fill: var(--gold); }
.tour-spot.is-active .tm-play { fill: rgba(245,176,13,0.45); }
.tour-spot.is-active .tm-pin circle { fill: var(--green-900); stroke: var(--gold); }
.tour-spot.is-active .tm-pin text { fill: var(--gold-light); }

.tour-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tour-chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 2px solid var(--green-100); background: var(--white); color: var(--green-900);
  font: 600 0.9rem var(--font-ui); text-decoration: none; transition: border-color var(--transition), background var(--transition);
}
.tour-chips a:hover { border-color: var(--gold); }
.tour-chips a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tour-chips a.is-active { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.tour-num {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--green-900);
  font: 700 0.85rem var(--font-ui);
}

.tour-stops { display: grid; gap: 32px; }
.tour-stop { scroll-margin-top: 96px; }
.tour-stop:focus { outline: none; }
.tour.is-live .tour-stops { gap: 0; }
.tour.is-live .tour-stop[hidden] { display: none; }
.tour-stop-title { display: flex; align-items: center; gap: 12px; font-size: 1.8rem; margin: 0 0 18px; color: var(--green-900); }
.tour-stop-title .tour-num { width: 36px; height: 36px; font-size: 1.05rem; }
.tour-photos { display: grid; gap: 12px; margin: 0 0 20px; }
.tour-photos.is-multi { grid-template-columns: 2fr 1fr; }
.tour-photos .wp-block-image { margin: 0; }
.tour-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); display: block; }
.tour-photos.is-3 { grid-template-columns: 1fr 1fr; }
.tour-photos.is-3 > :first-child { grid-column: 1 / -1; }
.tour-photos .is-contain img { object-fit: contain; background: var(--white); border: 1px solid var(--cream-300); }
.tour-photo-pending {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; margin: 0 0 20px;
  border: 2px dashed var(--cream-400); border-radius: var(--radius-md); background: var(--cream-200);
  font: 600 0.95rem var(--font-ui); color: var(--text-muted); text-align: center; padding: 16px;
}
.tour-stop p { font-size: 1.08rem; line-height: 1.7; color: var(--text-mid); }
.tour-stop .tour-more a { font: 700 1rem var(--font-ui); color: var(--green-700); text-decoration: none; border-bottom: 2px solid var(--gold); }
.tour-stop .tour-more a:hover { color: var(--green-900); }
.tour-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--cream-300); }
.tour-nav button {
  padding: 10px 18px; border-radius: 999px; cursor: pointer; border: 2px solid var(--green-100);
  background: var(--white); color: var(--green-900); font: 700 0.92rem var(--font-ui);
}
.tour-nav button:hover { border-color: var(--gold); }
.tour-nav button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tour-nav .tour-next { margin-left: auto; background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.tour-nav .tour-next:hover { background: var(--green-700); border-color: var(--green-700); }

@media (max-width: 900px) {
  .tour { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tour-map { position: static; }
}
@media (max-width: 768px) {
  .tour-section { padding: 32px 0 64px; }
  .tour-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 12px -20px 0; padding: 2px 20px 6px; }
  .tour-chips::-webkit-scrollbar { display: none; }
  .tour-chips li { flex-shrink: 0; }
  .tour-stop-title { font-size: 1.5rem; }
  .tour-photos.is-multi { grid-template-columns: 1fr 1fr; }
  .tour-photos.is-multi > :first-child { grid-column: 1 / -1; }
}

/* ---- School Tour: look around ---- */
.look-section { padding: 88px 0 96px; background: var(--green-50); }
.look { max-width: 980px; margin: 0 auto; }
.look-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--green-900);
  scrollbar-width: none; overscroll-behavior-x: contain; position: relative;
}
.look-track::-webkit-scrollbar { display: none; }
.look-track:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.look-frame { flex: 0 0 100%; margin: 0; scroll-snap-align: center; position: relative; }
.look-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.look-frame figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  padding: 16px 22px 18px; background: var(--green-900); color: var(--white);
  font: 400 1.05rem var(--font-body);
}
.look-dir { font: 700 0.85rem var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-light); }
.look-cap { flex: 1 1 260px; }
.look-stop { font: 700 0.92rem var(--font-ui); color: var(--gold-light); text-decoration: none; border-bottom: 2px solid var(--gold); white-space: nowrap; }
.look-stop:hover { color: var(--white); }
.look-controls { display: none; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }
.look.is-live .look-controls { display: flex; }
.look-turn {
  padding: 12px 22px; border-radius: 999px; cursor: pointer; border: 2px solid var(--green-900);
  background: var(--white); color: var(--green-900); font: 700 0.98rem var(--font-ui);
  transition: background var(--transition), color var(--transition);
}
.look-turn:hover { background: var(--green-900); color: var(--white); }
.look-turn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.look-compass { width: 64px; height: 64px; flex-shrink: 0; }
.look-compass circle { fill: var(--white); stroke: var(--green-900); stroke-width: 2.5; }
.look-compass text { font: 700 10px var(--font-ui); fill: var(--green-900); }
.look-needle { transition: transform 0.45s ease; }
.look-needle polygon { fill: var(--gold); stroke: var(--green-900); stroke-width: 1.5; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .look-needle { transition: none; } }
@media (max-width: 768px) {
  .look-section { padding: 56px 0 64px; }
  .look-track { border-radius: var(--radius-md); margin: 0 -4px; }
  .look-frame figcaption { padding: 12px 16px 14px; font-size: 0.98rem; }
  .look-turn { padding: 11px 16px; }
  .look-turn span { display: none; }
  .look-turn { width: 52px; height: 52px; padding: 0; font-size: 1.3rem; }
}
.project-cost.is-pending small { margin-left: 0; font-size: 1.05rem; font-style: italic; color: var(--gold-dark); }

/* Coloured words in headings use <mark>; never show the browser's yellow highlight. */
mark.has-inline-color { background: transparent; }

/* ---- Needs: the single "Send a child to school" card ---- */
.sponsor-card--single { max-width: 560px; margin: 0 auto; text-align: left; }
.sponsor-card--single .sponsor-price { font-size: 4rem; color: var(--gold-light); }
.sponsor-card--single .sponsor-price small { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-left: 4px; }
.sponsor-card--single .sponsor-month { font-size: 1.05rem; margin-bottom: 24px; }
.sponsor-lines-head { font: 700 0.85rem var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 4px; }
.sponsor-card--single .sponsor-lines li:last-child { border-top: 2px solid rgba(255,255,255,0.5); font-weight: 700; color: var(--white); }
.sponsor-card--single .sponsor-lines li:last-child strong { color: var(--gold-light); }
@media (max-width: 768px) {
  .sponsor-card--single .sponsor-price { font-size: 3.2rem; }
}

/* ---- School Tour: illustrated map (1.7) ---- */
.tm-ground { fill: #efe8d8; }
.tm-boundary { fill: none; stroke: #8a7a5c; stroke-width: 6; stroke-linejoin: round; }
.tm-boundary-in { fill: none; stroke: #cdbd95; stroke-width: 2.5; stroke-linejoin: round; }
.tm-yard-label { font-size: 22px; font-weight: 700; letter-spacing: 5px; fill: #b39c62; }
.tm-small-label { font: 600 11px var(--font-ui); fill: #587263; paint-order: stroke; stroke: #e6d6ab; stroke-width: 3px; }
.tm-shadow { fill: rgba(40,30,10,0.2); }
.tm-side { stroke: #2b3d33; stroke-width: 1; }
.tm-roof { fill: var(--roof); stroke: #2b3d33; stroke-width: 1.2; stroke-linejoin: round; transition: fill var(--transition); }
.tm-room { stroke: rgba(43,61,51,0.55); stroke-width: 2; }
.tm-roof-text { font: 600 11px var(--font-ui); fill: #3b4a42; pointer-events: none; }
.tm-gate { fill: #4f8fcb; stroke: #24476a; stroke-width: 1.5; }
.tm-play { fill: #cfe0b8; stroke: #9bb37f; stroke-width: 1.5; stroke-dasharray: none; }
.tm-shelter { fill: #c8cec9; stroke: #556b62; stroke-width: 1; transition: fill var(--transition); }
.tm-table { fill: #3a7f4f; }
.tm-hit { fill: transparent; }
.tm-water { fill: #4f8fcb; }
.tm-north circle { fill: #fff; stroke: var(--green-900); stroke-width: 2; }
.tm-north polygon { fill: var(--green-900); }
.tm-north text { font: 700 13px var(--font-ui); fill: var(--green-900); }

.tm-tag-pill, .tm-tag-tip { fill: #fff; stroke: var(--green-900); stroke-width: 1.5; transition: fill var(--transition); }
.tm-tag-num-dot { fill: var(--gold); }
.tm-tag-num-text { font: 700 12px var(--font-ui); fill: var(--green-900); pointer-events: none; }
.tm-tag-text { font-family: var(--font-ui); font-weight: 700; fill: var(--green-900); pointer-events: none; }
.tm-tag-small { display: none; }
.tm-tag-small circle { fill: var(--gold); stroke: var(--green-900); stroke-width: 3; }
.tm-tag-small text { font: 700 22px var(--font-ui); fill: var(--green-900); pointer-events: none; }

.tour-spot:hover .tm-roof { fill: color-mix(in srgb, var(--roof) 80%, #fff); }
.tour-tag:hover .tm-tag-pill, .tour-tag:hover .tm-tag-tip { stroke: var(--gold-dark); stroke-width: 2.5; }
.tour-tag:focus-visible .tm-tag-pill { stroke: var(--gold); stroke-width: 4; }
.tour-spot.is-active .tm-roof { fill: var(--gold); }
.tour-spot.is-active .tm-shelter, .tour-spot.is-active .tm-gate, .tour-spot.is-active .tm-water { fill: var(--gold); }
.tour-spot.is-active .tm-play { fill: var(--gold-light); }
.tour-spot.is-active .tm-coal rect { fill: var(--gold-dark); }
.tour-tag.is-active .tm-tag-pill, .tour-tag.is-active .tm-tag-tip { fill: var(--green-900); }
.tour-tag.is-active .tm-tag-text { fill: var(--white); }
.tour-tag.is-active .tm-tag-small circle { fill: var(--green-900); stroke: var(--gold); }
.tour-tag.is-active .tm-tag-small text { fill: var(--gold-light); }
@media (max-width: 600px) {
  .tm-tag-full { display: none; }
  .tm-tag-small { display: inline; }
}

/* ---- School Tour: 3D map (1.8) ---- */
.tour-svg--3d .tm-yardfill { fill: url(#tm-yard); filter: url(#tm-grain); }
.tour-svg--3d .tm-yard-label { fill: rgba(140,112,58,0.55); font-size: 26px; letter-spacing: 8px; }
.tour-svg--3d .tm-shadow { fill: rgba(45,32,10,0.32); }
.tm-face { stroke: rgba(30,40,35,0.5); stroke-width: 0.8; stroke-linejoin: round; }
.tour-svg--3d .tm-roof { stroke: rgba(40,30,20,0.55); stroke-width: 0.9; }
.tm-roofshade { pointer-events: none; }
.tm-corr { stroke: rgba(30,20,10,0.13); stroke-width: 1; pointer-events: none; }
.tm-ridge { stroke: rgba(40,30,20,0.6); stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.tm-eave { fill: none; stroke: rgba(30,35,30,0.65); stroke-width: 1.1; stroke-linejoin: round; pointer-events: none; }
.tm-parapet { fill: none; stroke: rgba(0,0,0,0.1); stroke-width: 3; pointer-events: none; }
.tm-roomline { stroke: rgba(0,0,0,0.16); stroke-width: 1.5; }
.tm-divider { stroke: rgba(0,0,0,0.3); stroke-width: 1; }
.tm-door { fill: #4a3424; }
.tm-window { fill: #2c4656; stroke: rgba(255,255,255,0.65); stroke-width: 0.8; }
.tm-wallface { fill: #b8a67d; stroke: #8d7b55; stroke-width: 0.8; stroke-linejoin: round; }
.tm-walltop { stroke: #ece2c4; stroke-width: 4.5; stroke-linecap: round; }
.tm-post { stroke: #66706a; stroke-width: 2.2; }
.tour-svg--3d .tm-gate { fill: #3d7cc4; stroke: #1f4a75; stroke-width: 1; }
.tm-gatebar { stroke: #1f4a75; stroke-width: 1.2; pointer-events: none; }
.tour-svg--3d .tm-play { fill: #c7dcae; stroke: #9bb37f; stroke-width: 1.2; }
.tm-slide { stroke: #9aa5a0; stroke-width: 3; stroke-linecap: round; }
.tour-svg--3d .tm-water { fill: #4f8fcb; }
.tour-svg--3d .tm-small-label { font: 600 12px var(--font-ui); fill: #4a5d52; paint-order: stroke; stroke: rgba(234,216,168,0.9); stroke-width: 3px; }
.tm-tag-drop { fill: rgba(1,56,25,0.16); }
.tour-svg--3d .tm-tag-text { font-size: 16px; }
.tour-svg--3d .tm-north circle { fill: #fff; stroke: var(--green-900); stroke-width: 2; }
.tour-spot.is-active .tm-gate { fill: var(--gold); }
.tour-spot.is-active .tm-face { filter: brightness(1.04); }

/* ============================================================
   1.9: review changes (Nov 2026)
   ============================================================ */

/* Header: "Nairobi, Kenya" under the name, social icons by Give Now. */
.nav-brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-brand-text > * { margin: 0; }
.nav-place {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
}
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-actions > * { margin: 0; }
.social-icons { display: flex; align-items: center; gap: 8px; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.85);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { color: var(--green-900); background: var(--gold); border-color: var(--gold); }
.footer-links .social-icons { margin: 4px 0 14px; }
@media (max-width: 1024px) {
  .nav .nav-actions { order: 2; }
  .nav .nav-menu { order: 3; }
}
@media (max-width: 768px) {
  .nav-place { font-size: 0.64rem; }
}
@media (max-width: 520px) {
  .nav-brand-text { display: none; }
  .nav-actions { gap: 8px; }
  .nav .social-icons { gap: 4px; }
  .nav .social-icon { width: 30px; height: 30px; }
  .nav .social-icon svg { width: 16px; height: 16px; }
}

/* Home: photo row that scrolls sideways. */
.photo-strip { display: block; height: auto; position: relative; }
.photo-strip .strip-track,
.photo-strip:not(.is-live) {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% / 3.4);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.photo-strip:not(.is-live) { height: 440px; }
.photo-strip .strip-track { height: 440px; }
.photo-strip .strip-track::-webkit-scrollbar { display: none; }
.photo-strip .photo-cell { scroll-snap-align: start; height: 100%; }
.strip-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: var(--green-900);
  font-size: 2rem; line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  padding: 0 0 4px;
  z-index: 2;
}
.strip-arrow:hover { background: var(--gold); }
.strip-prev { left: 16px; }
.strip-next { right: 16px; }
@media (max-width: 768px) {
  .photo-strip .strip-track,
  .photo-strip:not(.is-live) { grid-auto-columns: 82%; height: 300px; }
  .photo-strip .photo-cell,
  .photo-strip .photo-cell.large { height: 100%; }
  .strip-arrow { width: 40px; height: 40px; font-size: 1.7rem; }
}

/* Home: four biggest needs. */
.needs-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.need-card { padding: 36px 26px; }
@media (max-width: 1100px) { .needs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .needs-grid { grid-template-columns: 1fr; } }

/* Our Story: the gallery grows a row for each four extra photos. */
.gallery-grid { grid-template-rows: none; grid-auto-rows: 300px; }
@media (max-width: 768px) { .gallery-grid { grid-auto-rows: auto; } }

/* Needs: extra photos under a card's main photo, and funded needs. */
.project-img.has-more { display: grid; grid-template-rows: 1fr auto; }
.project-img.has-more > .wp-block-image:first-child img { min-height: 300px; }
.project-more { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 4px; }
.project-more > * { margin: 0; }
.project-more img { min-height: 0; height: 180px; width: 100%; object-fit: cover; }
.badge-funded { background: var(--green-700); color: var(--white); }
.funded-note {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--green-700);
  margin-top: 8px;
}

/* Give: the gift table. */
.gift-table-wrap h2 { margin-bottom: 8px; }
.gift-intro { color: var(--text-mid, #555); margin-bottom: 20px; }
.gift-table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.gift-table thead th {
  background: var(--green-900); color: var(--white);
  text-align: left; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px 18px;
}
.gift-table tbody th, .gift-table td { padding: 14px 18px; border-top: 1px solid var(--cream-300); vertical-align: top; text-align: left; }
.gift-table tbody tr:first-child th, .gift-table tbody tr:first-child td { border-top: 0; }
.gift-table tbody th { white-space: nowrap; font-weight: 700; }
.gift-table tbody th a { color: var(--green-900); font-size: 1.15rem; text-decoration: none; }
.gift-table tbody th a:hover { color: var(--gold-dark); text-decoration: underline; }
.gift-table tbody th small { font-size: 0.75rem; font-weight: 600; color: var(--green-700); }
.gift-table .gift-or { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-mid, #666); margin-top: 2px; }
.gift-table .gift-or a { font-size: 0.85rem; color: var(--green-700); }
.gift-table td { color: var(--text-dark); line-height: 1.45; }
.gift-table tbody tr:nth-child(even) { background: var(--cream-100, #fbf8f1); }
.gift-note { margin-top: 16px; font-size: 0.92rem; color: var(--text-mid, #555); }
@media (max-width: 520px) {
  .gift-table tbody th, .gift-table td { padding: 12px; }
  .gift-table tbody th a { font-size: 1rem; }
}

/* Header fits on one line with the social icons added. */
.nav .nav-menu .wp-block-navigation__container { gap: 24px; flex-wrap: nowrap; }
.nav .nav-menu .wp-block-navigation-item__content { white-space: nowrap; }
@media (max-width: 1240px) {
  .nav-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .nav-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .nav .nav-actions { order: 2; }
  .nav .nav-menu { order: 3; }
}
