/*
Theme Name: The Asylum Project
Theme URI: https://theasylumproject.org
Author: The Asylum Project
Author URI: https://theasylumproject.org
Description: Custom theme for The Asylum Project nonprofit website.
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: tap-theme
*/

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

:root {
  --navy:            #1a3668;
  --navy-dark:       #0f2244;
  --warm-white:      #fafaf8;
  --off-white:       #f4f2ef;
  --text:            #1c1c2e;
  --text-light:      #4a4a5a;
  --border:          #e0ddd8;
  --rainbow:         linear-gradient(90deg, #e40303 0%, #ff8c00 17%, #ffed00 33%, #008026 50%, #004dff 67%, #750787 100%);
  --rainbow-diag:    linear-gradient(135deg, #e40303 0%, #ff8c00 17%, #ffed00 33%, #008026 50%, #004dff 75%, #750787 100%);
  --cta-gradient:    linear-gradient(135deg, #004dff 0%, #750787 100%);
  --section-gap:     96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1 {
  font-family: 'Norwester', sans-serif;
  line-height: 1.1;
  color: var(--navy-dark);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
}

h2, h3 {
  font-family: 'Sedan SC', Georgia, serif;
  line-height: 1.2;
  color: var(--navy-dark);
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 400; }

h4, h5, h6 {
  font-family: 'Alegreya SC', Georgia, serif;
  line-height: 1.2;
  color: var(--navy-dark);
}

p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

blockquote {
  font-family: 'Philosopher', Georgia, serif;
  font-style: italic;
}

.eyebrow {
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   LAYOUT
============================================================ */
.rainbow-bar { height: 5px; background: var(--rainbow); width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 16px; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 6px;
  font-family: 'Norwester', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}
.btn--primary { background: var(--cta-gradient); color: #fff; box-shadow: 0 4px 20px rgba(0,77,255,0.3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,77,255,0.4); }
.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.btn--outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline-dark:hover { background: rgba(26,54,104,0.06); transform: translateY(-2px); }
.btn--rainbow { background: var(--rainbow-diag); color: #fff; box-shadow: 0 4px 24px rgba(117,7,135,0.3); }
.btn--rainbow:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(117,7,135,0.4); }
.btn--lg { padding: 20px 56px; font-size: 1.1rem; }

/* ============================================================
   NAV
============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 52px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }

.nav-logo-text .org-name {
  font-family: 'Norwester', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--navy-dark);
}

.nav-logo-text .org-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-links a {
  font-family: 'Norwester', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }

.nav-cta {
  background: var(--cta-gradient);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
}
.nav-cta:hover { opacity: 0.88; }

/* ============================================================
   HERO
============================================================ */
.hero {
  background: var(--navy-dark);
  padding: 110px 32px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--rainbow);
}
.hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,77,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.hero h1 {
  color: #fff;
  font-family: 'Norwester', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.04em;
  line-height: 1.0;
  margin-bottom: 28px;
  font-weight: 400;
}
.hero h1 .gradient-text, .hero h1 span.rainbow {
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 44px;
  font-family: 'Philosopher', Georgia, serif;
  font-style: italic;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Donations hero variant */
.hero--page { padding: 90px 32px 80px; }
.hero--page h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.hero--page .hero-sub { font-family: 'Trebuchet MS', Trebuchet, sans-serif; font-style: normal; font-size: 1.15rem; }

/* ============================================================
   MISSION STRIP
============================================================ */
.mission-strip { background: #fff; padding: 64px 32px; text-align: center; }
.mission-statement {
  font-family: 'Sedan SC', Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--navy-dark);
  max-width: 840px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 400;
}
.mission-statement .highlight {
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ============================================================
   WHAT WE DO / PILLARS
============================================================ */
.what-we-do { padding: var(--section-gap) 0; background: var(--off-white); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pillar:hover { box-shadow: 0 8px 28px rgba(26,54,104,0.1); transform: translateY(-4px); }
.pillar-icon { font-size: 2.4rem; margin-bottom: 20px; }
.pillar h3 { margin-bottom: 12px; }
.pillar p { font-size: 0.95rem; }

/* ============================================================
   STORY
============================================================ */
.story { padding: var(--section-gap) 0; background: #fff; }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-text h2 { margin-bottom: 20px; }
.story-quote {
  background: var(--navy-dark);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.story-quote::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--rainbow);
}
.story-quote blockquote {
  font-family: 'Philosopher', Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-style: italic;
  color: #fff;
  line-height: 1.65;
  margin-bottom: 20px;
}
.story-quote cite {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
}

/* ============================================================
   WHAT WE'RE BUILDING
============================================================ */
.building { padding: var(--section-gap) 0; background: var(--off-white); }
.building-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.building-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.building-card:hover { box-shadow: 0 6px 24px rgba(26,54,104,0.09); transform: translateY(-3px); }
.building-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.building-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.building-card-body p { font-size: 0.92rem; }

/* ============================================================
   DONATE BAND (homepage CTA)
============================================================ */
.donate-band {
  background: var(--navy-dark);
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--rainbow);
}
.donate-band-content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.donate-band h2 { color: #fff; font-family: 'Sedan SC', Georgia, serif; margin-bottom: 16px; }
.donate-band p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 36px; }
.donate-band .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BLOG TEASER
============================================================ */
.blog-teaser { padding: var(--section-gap) 0; background: #fff; }
.blog-teaser-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.blog-teaser-text h2 { margin-bottom: 16px; }
.blog-teaser-text p { margin-bottom: 20px; }
.blog-preview {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
}
.blog-preview-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--rainbow-diag);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
}
.blog-preview h3 { font-size: 1.2rem; margin-bottom: 12px; }
.blog-preview p { font-size: 0.95rem; margin-bottom: 20px; }
.blog-preview-link {
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.blog-preview-link:hover { gap: 10px; }

/* ============================================================
   WHY GIVE (donations page)
============================================================ */
.why-give { padding: var(--section-gap) 0; background: #fff; }
.why-grid { max-width: 760px; margin: 0 auto; }
.why-text h2 { margin-bottom: 20px; }
.why-reasons { margin: 28px 0 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.why-reason { display: flex; gap: 16px; align-items: flex-start; }
.why-reason-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.why-reason-text h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 4px; }
.why-reason-text p { font-size: 0.9rem; margin: 0; }

/* ============================================================
   ZEFFY EMBED SECTION
============================================================ */
.donate-embed-section { padding: var(--section-gap) 0; background: var(--off-white); }
.donate-embed-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.donate-embed-header h2 { margin-bottom: 12px; }
.donate-embed-header p { font-size: 1rem; }

/* ============================================================
   FUND USES (donations page)
============================================================ */
.fund-uses { padding: var(--section-gap) 0; background: #fff; }
.fund-uses .section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.use-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.use-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.use-card:hover { box-shadow: 0 6px 24px rgba(26,54,104,0.09); transform: translateY(-3px); }
.use-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.use-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.use-card-body p { font-size: 0.92rem; }

/* ============================================================
   QUOTE BAND
============================================================ */
.quote-section { background: var(--navy); padding: 72px 32px; text-align: center; }
.quote-section blockquote {
  font-family: 'Philosopher', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.5;
}
.quote-section cite {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   TRANSPARENCY
============================================================ */
.transparency { padding: var(--section-gap) 0; background: var(--off-white); }
.transparency-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.transparency-text h2 { margin-bottom: 20px; }
.trust-badges { display: flex; flex-direction: column; gap: 16px; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
}
.trust-badge-icon { font-size: 1.5rem; flex-shrink: 0; }
.trust-badge-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 2px; }
.trust-badge-text p { font-size: 0.82rem; color: var(--text-light); margin: 0; }

/* ============================================================
   OTHER WAYS TO GIVE
============================================================ */
.other-ways { background: var(--off-white); padding: var(--section-gap) 0; }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.way-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.way-card:hover { box-shadow: 0 6px 20px rgba(26,54,104,0.08); }
.way-card .way-icon { font-size: 2rem; margin-bottom: 12px; }
.way-card h3 { font-size: 1rem; margin-bottom: 8px; }
.way-card p { font-size: 0.88rem; }

/* ============================================================
   CRISIS BAND
============================================================ */
.crisis-band {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  text-align: center;
}
.crisis-band p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.crisis-band strong { color: var(--navy-dark); }

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand .org-name {
  font-family: 'Norwester', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.footer-social a {
  height: 34px;
  padding: 0 12px;
  border-radius: 17px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
  color: rgba(255,255,255,0.7);
  transition: background 0.2s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-social a:hover { background: rgba(255,255,255,0.18); color: #fff; }
.footer-col h4 {
  font-family: 'Alegreya SC', Georgia, serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   GENERIC PAGE (Privacy Policy, Legal Disclaimer, etc.)
============================================================ */
.page-hero {
  background: var(--navy-dark);
  padding: 64px 32px;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--rainbow);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  margin: 0 auto;
  max-width: 760px;
}
.page-body {
  padding: 72px 32px;
  max-width: 760px;
  margin: 0 auto;
}
.page-body h2 { margin: 2rem 0 0.75rem; }
.page-body h3 { margin: 1.5rem 0 0.5rem; }
.page-body p { margin-bottom: 1.1rem; }
.page-body ul, .page-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-body li { margin-bottom: 0.4rem; font-size: 1.05rem; color: var(--text-light); }
.page-body a { color: var(--navy); text-decoration: underline; }

/* ============================================================
   BLOG
============================================================ */
.blog-header {
  background: var(--navy-dark);
  padding: 80px 32px 72px;
  text-align: center;
  position: relative;
}
.blog-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--rainbow);
}
.blog-header h1 { color: #fff; }
.blog-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-top: 16px; }

.blog-grid {
  padding: var(--section-gap) 0;
  background: var(--warm-white);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover { box-shadow: 0 8px 28px rgba(26,54,104,0.1); transform: translateY(-4px); }
.post-card-img { height: 220px; background: var(--off-white); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 28px; }
.post-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--rainbow-diag);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
}
.post-card-body h2 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 10px; }
.post-card-body p { font-size: 0.92rem; margin-bottom: 16px; }
.post-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 12px;
  transition: gap 0.2s;
}
.read-more:hover { gap: 10px; }

.single-post { padding: 72px 0; background: var(--warm-white); }
.single-post-inner { max-width: 720px; margin: 0 auto; padding: 0 32px; }
.single-post-inner h1 { margin-bottom: 16px; }
.post-meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 40px; font-family: 'Trebuchet MS', Trebuchet, sans-serif; }
.post-content p { margin-bottom: 1.2rem; }
.post-content h2 { margin: 2rem 0 1rem; }
.post-content h3 { margin: 1.5rem 0 0.75rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.post-content li { margin-bottom: 0.4rem; }
.post-content a { color: var(--navy); text-decoration: underline; }
.post-content blockquote {
  border-left: 4px solid;
  border-image: var(--rainbow) 1;
  padding: 16px 24px;
  margin: 2rem 0;
  background: var(--off-white);
  font-family: 'Philosopher', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy-dark);
}
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Trebuchet MS', Trebuchet, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 36px;
}
.back-to-blog:hover { text-decoration: underline; }

/* ============================================================
   NO POSTS
============================================================ */
.no-posts { padding: var(--section-gap) 32px; text-align: center; }
.no-posts h2 { margin-bottom: 16px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .pillars           { grid-template-columns: 1fr; }
  .story-inner       { grid-template-columns: 1fr; gap: 40px; }
  .building-cards    { grid-template-columns: 1fr; }
  .blog-teaser-inner { grid-template-columns: 1fr; gap: 40px; }
  .use-cards         { grid-template-columns: 1fr; }
  .transparency-inner { grid-template-columns: 1fr; gap: 40px; }
  .ways-grid         { grid-template-columns: 1fr; }
  .posts-grid        { grid-template-columns: 1fr; }
  .footer-top        { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom     { flex-direction: column; gap: 12px; text-align: center; }
  .nav-links         { display: none; }
  .hero-actions      { flex-direction: column; align-items: center; }
  .donate-band .btn-group { flex-direction: column; align-items: center; }
}

/* ============================================================
   HOME NAV CARDS
============================================================ */
.home-nav-cards {
  padding: var(--section-gap) 0;
  background: var(--off-white);
}

.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.nav-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.nav-card:hover {
  box-shadow: 0 8px 28px rgba(26,54,104,0.1);
  transform: translateY(-4px);
}

.nav-card--accent {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.nav-card--accent h3,
.nav-card--accent p,
.nav-card--accent .nav-card-link {
  color: #fff;
}

.nav-card--accent p { color: rgba(255,255,255,0.75); }

.nav-card-icon { font-size: 2.2rem; margin-bottom: 8px; }

.nav-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.nav-card p {
  font-size: 0.9rem;
  margin: 0;
  flex-grow: 1;
}

.nav-card-link {
  font-family: 'Norwester', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  margin-top: 12px;
  display: block;
}

@media (max-width: 900px) {
  .nav-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .nav-cards-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HOME NAV CARDS — BUTTON STYLE (updated)
============================================================ */
.home-nav-cards {
  padding: var(--section-gap) 0;
  background: var(--warm-white);
}

.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.nav-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.nav-card h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--navy-dark);
  margin: 0;
}

.nav-card p {
  font-size: 0.95rem;
  flex-grow: 1;
  margin: 0;
}

.nav-card-btn {
  display: inline-block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--navy-dark);
  color: #fff;
  font-family: 'Norwester', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  transition: opacity 0.2s;
  margin-top: auto;
}
.nav-card-btn:hover { opacity: 0.85; }

.nav-card-btn--donate {
  background: #c0001a;
}

/* ============================================================
   NEWSLETTER SECTION
============================================================ */
.newsletter-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 72px 32px;
  text-align: center;
}

.newsletter-section h2 {
  margin-bottom: 12px;
}

.newsletter-section p {
  margin-bottom: 32px;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .nav-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .nav-cards-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GUTENBERG COLUMNS — CONTACT PAGE
============================================================ */
.page-body .wp-block-columns {
  gap: 48px;
  align-items: flex-start;
}

.page-body .wp-block-column p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}


/* ============================================================
   CONSTANT CONTACT FORMS
============================================================ */
.ctct-form-wrapper,
.ctct-form {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ctct-form p,
.ctct-form .ctct-form-field {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ctct-form input[type="text"],
.ctct-form input[type="email"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 16px !important;
  font-size: 1rem !important;
  border: 1.5px solid #e0ddd8 !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  min-height: 48px !important;
}

.ctct-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 160px !important;
  padding: 12px 16px !important;
  font-size: 1rem !important;
  border: 1.5px solid #e0ddd8 !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  resize: vertical !important;
}

.ctct-form .ctct-form-field-number {
  display: inline !important;
  width: auto !important;
}

.ctct-form .ctct-form-field-number input {
  width: 80px !important;
  max-width: 80px !important;
  min-height: 48px !important;
  display: inline-block !important;
  padding: 12px 8px !important;
  text-align: center !important;
}

.ctct-date-field-separator {
  display: inline !important;
  margin: 0 6px !important;
}

.ctct-form input[type="submit"],
.ctct-form button[type="submit"],
.ctct-form button {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, #004dff 0%, #750787 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 16px !important;
  border-radius: 6px !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  min-height: 52px !important;
  display: block !important;
}

/* ============================================================
   ABOUT US PAGE — intro text + nav cards
============================================================ */
.about-intro {
  background: var(--warm-white);
  padding: 60px 0 0;
}

.about-intro__body {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-intro__body p {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-nav-cards {
  padding-top: 48px;
}

/* ============================================================
   GUTENBERG BUTTON BLOCK — fix color + centering on page.php
   (fallback for any page that still uses WP button blocks)
============================================================ */
.page-body .wp-block-buttons {
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.page-body .wp-block-button__link,
.page-body .wp-element-button {
  background: var(--navy-dark) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 28px !important;
  font-family: 'Norwester', sans-serif !important;
  font-size: 1rem !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  text-align: center !important;
}

.page-body .wp-block-button__link:hover,
.page-body .wp-element-button:hover {
  opacity: 0.85 !important;
  color: #fff !important;
}
