/*
Theme Name:  OMSE Fund
Theme URI:   https://omsefund.org
Author:      Overzat-McNealy Student Emergency Fund, Inc.
Author URI:  https://omsefund.org
Description: Custom theme for the Overzat-McNealy Student Emergency Fund — emergency grants for college students in Georgia.
Version:     1.0.4
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omsefund
Tags:        nonprofit, custom-colors, custom-logo, custom-menu, responsive-layout, block-patterns, full-site-editing
*/

/* ============================================================
   OMSE Fund Theme Styles
   Primary navy: #1a2857  |  Accent gold: #F0B429
   Fonts: Playfair Display (headings) + Source Serif 4 (body)
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1a2857;
  --navy-deep: #121d3e;
  --navy-mid:  #243370;
  --gold:      #F0B429;
  --gold-dark: #D9A01E;
  --gold-pale: #FDF3D8;
  --light-bg:  #F4F7FB;
  --blue-pale: #EBF1FB;
  --white:     #FFFFFF;
  --muted:     #5a6a8a;
  --border:    #dce5f5;
  --shadow:    0 2px 16px rgba(26,40,87,0.10);
  --shadow-lg: 0 8px 40px rgba(26,40,87,0.14);
  --radius:    8px;
  --max-w:     1100px;
  --ff-head:   'Playfair Display', Georgia, serif;
  --ff-body:   'Source Serif 4', Georgia, serif;
}

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

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

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

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1.2em; color: #2e3d6a; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.5em; color: #2e3d6a; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--light     { background: var(--light-bg); }
.section--blue-pale { background: var(--blue-pale); }
.section--navy      { background: var(--navy); }
.section--gold      { background: var(--gold); }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-muted  { color: var(--muted); }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,40,87,0.07);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.nav__logo img { height: 48px; width: auto; }

/* wp_nav_menu() outputs a <ul> — we target it via its container or class */
.nav__links,
.nav__links .menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links li,
.nav__links .menu li { list-style: none; }

.nav__links a,
.nav__links .menu a {
  display: block;
  padding: 6px 10px;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav__links a:hover,
.nav__links .menu a:hover,
.nav__links .current-menu-item > a,
.nav__links .current_page_item > a {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

/* "Apply Now" CTA button in nav — assign menu item CSS class "nav__cta" in WP admin */
.nav__links .nav__cta > a,
.nav__links .menu .nav__cta > a {
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: var(--radius);
  padding: 8px 18px !important;
  border-bottom: none !important;
  transition: background 0.2s !important;
}
.nav__links .nav__cta > a:hover,
.nav__links .menu .nav__cta > a:hover { background: var(--gold-dark) !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}
.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gold);
  color: var(--navy) !important;
  border-color: var(--gold) !important;
}
.btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn--secondary {
  background: var(--navy);
  color: var(--white) !important;
  border-color: var(--navy) !important;
}
.btn--secondary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn--outline-white {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.7) !important;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white) !important; }

.btn--outline-navy {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy) !important;
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white) !important; }

.btn--lg { padding: 18px 44px; font-size: 1.1rem; }
.btn--sm { padding: 10px 22px; font-size: 0.9rem; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card--gold-top { border-top-color: var(--gold); }
.card--no-hover:hover { transform: none; box-shadow: var(--shadow); }

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(240,180,41,0.08) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb span { color: var(--gold); }

.page-hero h1  { color: var(--white); margin-bottom: 12px; }
.page-hero h2  { color: var(--white); margin-bottom: 12px; }
.page-hero p   { color: rgba(255,255,255,0.8); font-size: 1.2rem; max-width: 560px; margin-bottom: 0; }

/* ── Section Labels & Headings ────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title  { margin-bottom: 16px; }
.section-intro  { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin-bottom: 48px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
}

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

.footer__logo    { margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.9; height: 40px; width: auto; }
.footer__tagline { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 0; }

.footer h4 {
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__links         { list-style: none; padding: 0; }
.footer__links li      { margin-bottom: 10px; }
.footer__links a       { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--gold); }

/* WordPress auto-generates footer widget nav lists — normalize them */
.footer .wp-block-navigation a,
.footer .widget_nav_menu a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color 0.2s; }
.footer .widget_nav_menu a:hover { color: var(--gold); }
.footer .widget_nav_menu ul { list-style: none; padding: 0; }
.footer .widget_nav_menu li { margin-bottom: 10px; }

.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }

/* ── Homepage Hero ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #1e3068 40%, var(--navy-mid) 100%);
  min-height: 580px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(240,180,41,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 75%, rgba(255,255,255,0.05) 0%, transparent 45%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(240,180,41,0.15);
  border: 1px solid rgba(240,180,41,0.35);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1          { color: var(--white); max-width: 680px; margin-bottom: 20px; line-height: 1.15; }
.hero h1 em       { font-style: normal; color: var(--gold); }
.hero h2          { color: var(--white); max-width: 680px; margin-bottom: 20px; line-height: 1.15; }
.hero h2 em       { font-style: normal; color: var(--gold); }
.hero__sub        { color: rgba(255,255,255,0.78); font-size: 1.2rem; max-width: 520px; margin-bottom: 40px; line-height: 1.65; }
.hero__buttons    { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px;
  padding: 12px 8px;
  flex-wrap: wrap;
}

.stat-item {
  padding: 4px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
  border-right: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 0 !important;
}
.stat-item:last-child { border-right: none; }

/* ── Mission Section ──────────────────────────────────────── */
.mission__pull {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 28px;
  margin-bottom: 52px;
  line-height: 1.4;
  max-width: 820px;
}

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

/* ── Stat Highlight Block ─────────────────────────────────── */
.stat-highlight {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.stat-highlight::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(240,180,41,0.12);
}
.stat-highlight__number { font-family: var(--ff-head); font-size: 4rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-highlight__label  { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.stat-highlight__note   { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 20px; }
.stat-highlight a       { color: var(--gold); font-size: 0.85rem; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 0.2s; }
.stat-highlight a:hover { text-decoration-color: var(--gold); }

/* ── Split Sections (Apply / Donate on homepage) ──────────── */
.split-section       { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-section__icon { font-size: 3.5rem; margin-bottom: 20px; display: block; }

.split-section ul          { list-style: none; padding: 0; margin: 20px 0 32px; }
.split-section ul li       { padding: 10px 0 10px 32px; border-bottom: 1px solid var(--border); position: relative; font-size: 0.95rem; }
.split-section ul li::before { content: '→'; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.split-section ul li:last-child { border-bottom: none; }

/* ── Donation Amount Cards ────────────────────────────────── */
.donate-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 32px; }

.amount-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}
.amount-card:hover { border-color: var(--gold); background: var(--gold-pale); transform: translateY(-2px); box-shadow: var(--shadow); }

.amount-card__value { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); display: block; }
.amount-card__label { font-size: 0.75rem; color: var(--muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; display: block; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--ff-head);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.8;
  position: absolute;
  top: 20px; left: 24px;
  opacity: 0.5;
}
.testimonial-card__text   { font-size: 0.975rem; color: var(--navy); line-height: 1.75; margin-top: 28px; margin-bottom: 24px; font-style: italic; }
.testimonial-card__author { font-weight: 700; font-size: 0.9rem; color: var(--navy); letter-spacing: 0.04em; text-transform: uppercase; }

/* ── About Section ────────────────────────────────────────── */
.about-split  { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.board-list       { list-style: none; padding: 0; margin: 24px 0 32px; }
.board-list li    { padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.board-list li:last-child { border-bottom: none; }
.board-list__name { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.board-list__role { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }

.donor-quote-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  padding: 44px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.donor-quote-card::before {
  content: '\201C';
  font-family: var(--ff-head);
  font-size: 8rem;
  color: rgba(240,180,41,0.15);
  line-height: 0.7;
  position: absolute;
  top: 16px; left: 20px;
}
.donor-quote-card__text   { font-size: 1.1rem; font-style: italic; line-height: 1.75; color: rgba(255,255,255,0.9); margin-bottom: 24px; position: relative; }
.donor-quote-card__author { color: var(--gold); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner            { background: var(--gold); padding: 64px 24px; text-align: center; }
.cta-banner h2         { color: var(--navy); margin-bottom: 12px; }
.cta-banner p          { color: var(--navy-deep); opacity: 0.8; margin-bottom: 36px; font-size: 1.05rem; }
.cta-banner__buttons   { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Steps List (Requirements page) ──────────────────────── */
.steps         { list-style: none; padding: 0; counter-reset: step; }
.step          { counter-increment: step; display: grid; grid-template-columns: 60px 1fr; gap: 24px; margin-bottom: 32px; align-items: start; }
.step__num     { width: 60px; height: 60px; background: var(--navy); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 1.4rem; font-weight: 700; flex-shrink: 0; }
.step__body h4 { margin-bottom: 8px; font-size: 1rem; }
.step__body p  { margin: 0; font-size: 0.95rem; }
.step__body ul { margin: 8px 0 0; font-size: 0.92rem; }

/* ── Callout Boxes ────────────────────────────────────────── */
.callout {
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.callout--gold { background: var(--gold-pale); border-left: 4px solid var(--gold); }
.callout--blue { background: var(--blue-pale); border-left: 4px solid var(--navy); }
.callout__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.callout__body { flex: 1; }
.callout__body p { margin: 0; font-size: 0.95rem; }

/* ── Resource Cards ───────────────────────────────────────── */
.resource-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 32px; border-left: 4px solid var(--gold); transition: transform 0.2s, box-shadow 0.2s; }
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.resource-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.resource-card p  { font-size: 0.93rem; margin-bottom: 20px; }
.resource-card a.resource-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: 0.9rem; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color 0.2s; }
.resource-card a.resource-link:hover { color: var(--gold-dark); }
.resources-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* ── Document Table ───────────────────────────────────────── */
.doc-table         { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.doc-table th      { background: var(--navy); color: var(--white); padding: 14px 20px; text-align: left; font-family: var(--ff-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.doc-table td      { padding: 16px 20px; font-size: 0.93rem; border-bottom: 1px solid var(--border); color: var(--navy); }
.doc-table tr:last-child td { border-bottom: none; }
.doc-table tr:hover td { background: var(--light-bg); }
.doc-table a       { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--gold); transition: color 0.2s; }
.doc-table a:hover { color: var(--gold-dark); }

/* ── Fundraiser Components ────────────────────────────────── */
.bracket-how-grid    { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 32px 0; }
.bracket-how-item    { background: var(--white); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); text-align: center; }
.bracket-how-item__icon { font-size: 2rem; margin-bottom: 12px; }
.bracket-how-item h4 { font-size: 0.95rem; margin-bottom: 8px; }
.bracket-how-item p  { font-size: 0.88rem; color: var(--muted); margin: 0; }

.recap-card { background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid)); color: var(--white); border-radius: var(--radius); padding: 44px; position: relative; overflow: hidden; }
.recap-card::before { content: '🏆'; position: absolute; right: 32px; top: 32px; font-size: 4rem; opacity: 0.25; }
.recap-card h3 { color: var(--gold); margin-bottom: 20px; }
.recap-card p  { color: rgba(255,255,255,0.85); margin-bottom: 12px; font-size: 0.95rem; }

.past-events { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.past-event-badge { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); border-radius: 20px; padding: 6px 18px; font-size: 0.88rem; font-weight: 600; }

/* ── Board Cards ──────────────────────────────────────────── */
.board-grid          { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.board-card          { background: var(--white); border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow); border-top: 4px solid var(--navy); text-align: center; }
.board-card__avatar  { width: 72px; height: 72px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 20px; border: 3px solid var(--border); }
.board-card__name    { font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.board-card__creds   { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.board-card__role    { display: inline-block; background: var(--gold-pale); color: var(--gold-dark); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 12px; }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-card   { max-width: 560px; margin: 0 auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 56px 48px; text-align: center; }
.contact-email  { display: inline-flex; align-items: center; gap: 12px; background: var(--light-bg); border-radius: var(--radius); padding: 18px 28px; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 24px 0 32px; text-decoration: none; border: 2px solid var(--border); transition: border-color 0.2s, background 0.2s; word-break: break-all; }
.contact-email:hover { border-color: var(--gold); background: var(--gold-pale); }

/* ── WordPress Content Area ───────────────────────────────── */
/* Styles for the_content() output inside page templates */
.entry-content h2,
.entry-content h3 { margin-top: 1.8em; margin-bottom: 0.6em; }
.entry-content p  { margin-bottom: 1.2em; }
.entry-content ul,
.entry-content ol { margin-bottom: 1.2em; }
.entry-content a  { color: var(--navy); border-bottom: 1px solid var(--gold); transition: color 0.2s; }
.entry-content a:hover { color: var(--gold-dark); }
.entry-content blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--muted);
}
.entry-content img { border-radius: var(--radius); margin: 1.2em 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .mission__grid,
  .split-section,
  .about-split,
  .board-grid        { grid-template-columns: 1fr; gap: 40px; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid      { grid-template-columns: 1fr 1fr; }
  .donate-amounts    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__links .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 16px 0 24px;
    gap: 0;
  }
  .nav__links.open,
  .nav__links.open .menu { display: flex; }
  .nav__links a,
  .nav__links .menu a    { padding: 12px 24px; border-bottom: none !important; border-radius: 0; }
  .nav__links a:hover,
  .nav__links .menu a:hover { background: var(--light-bg); }
  .nav__links .nav__cta { margin: 8px 24px 0; }
  .nav__hamburger { display: flex; }
  .nav { position: relative; }

  .section        { padding: 56px 0; }
  .hero           { min-height: auto; }
  .hero__inner    { padding: 56px 24px; }
  .hero__stats    { flex-direction: column; border-radius: var(--radius); }
  .stat-item      { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stat-item:last-child { border-bottom: none; }
  .footer__grid   { grid-template-columns: 1fr; gap: 32px; }
  .board-grid     { grid-template-columns: 1fr; }
  .step           { grid-template-columns: 48px 1fr; gap: 16px; }
  .step__num      { width: 48px; height: 48px; font-size: 1.1rem; }
  .recap-card     { padding: 28px 24px; }
  .contact-card   { padding: 36px 24px; }
  .mission__pull  { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .donate-amounts      { grid-template-columns: repeat(2, 1fr); }
  .hero__buttons       { flex-direction: column; }
  .hero__buttons .btn  { text-align: center; }
  .cta-banner__buttons { flex-direction: column; align-items: center; }
  .bracket-how-grid    { grid-template-columns: 1fr 1fr; }
}
