/*
Theme Name: A4LIF Foundation
Theme URI: https://a4lifoundation.org
Author: Alliance for Longevity Initiatives Foundation
Author URI: https://a4lifoundation.org
Description: Official theme for the Alliance for Longevity Initiatives Foundation — a 501(c)(3) public charity.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: a4lif
Tags: nonprofit, advocacy, health, policy
*/

/* ===========================
   CSS VARIABLES & RESET
   =========================== */
:root {
  --navy:       #0d1f4e;
  --navy-dark:  #08152f;
  --navy-light: #1a3270;
  --red:        #c8102e;
  --red-hover:  #a50d25;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --light-gray: #edecea;
  --mid-gray:   #9a9896;
  --text-body:  #2c2c2c;
  --border:     #dddbd8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --max-width: 1180px;
  --nav-h:     72px;
  --radius:    4px;
  --shadow:    0 2px 16px rgba(13,31,78,0.10);
  --shadow-lg: 0 8px 40px rgba(13,31,78,0.15);
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-intro {
  font-size: 1.1rem;
  color: #555;
  max-width: 640px;
  margin: 0 auto;
}

/* ===========================
   LAYOUT UTILITIES
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--alt { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,16,46,0.3);
}

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

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ===========================
   NAVIGATION
   =========================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(13,31,78,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

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

.site-logo img {
  height: 46px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .logo-abbr {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.logo-text .logo-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--red);
  background: rgba(200,16,46,0.06);
}

.nav-cta {
  margin-left: 10px;
  padding: 9px 20px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover {
  background: var(--red-hover) !important;
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(200,16,46,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; max-width: 820px; }

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: #a8c4f0;
}

.hero-lead {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: 0;
  line-height: 1.75;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
}

/* ===========================
   STAT BAR
   =========================== */
.stat-bar {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-style: none;
}

.stat-item {
  padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number em {
  font-style: normal;
  color: #f87171;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ===========================
   PROGRAMS (HOME)
   =========================== */
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}

.program-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 20px;
}

.program-card h3 { margin-bottom: 14px; }

.program-card p {
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.7;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link::after {
  content: '→';
  transition: transform var(--transition);
}

.card-link:hover { color: var(--red-hover); }
.card-link:hover::after { transform: translateX(4px); }

/* ===========================
   SECTION: OUR STORY
   =========================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.story-content p {
  margin-bottom: 18px;
  color: #444;
}

.numbers-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.numbers-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-left: 3px solid var(--red);
  border-radius: 0 4px 4px 0;
  box-shadow: var(--shadow);
}

.numbers-list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===========================
   CTA BAND
   =========================== */
.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 36px; font-size: 1.05rem; }

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 90% 50%, rgba(200,16,46,0.14) 0%, transparent 65%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,0.80); font-size: 1.1rem; max-width: 620px; line-height: 1.75; }

/* ===========================
   INVESTORS PAGE
   =========================== */
.summit-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  padding: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
}

.feature-card h4 { color: var(--white); margin-bottom: 10px; }
.feature-card p { color: rgba(255,255,255,0.68); font-size: 0.94rem; line-height: 1.65; }

.glance-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.glance-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.80);
}

.glance-list li::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.playbook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 16px;
}

.playbook-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.playbook-list li::before {
  content: '—';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===========================
   PROJECTS PAGE
   =========================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  border-radius: 0 0 6px 6px;
  padding: 32px;
}

.pillar-card h4 { margin-bottom: 12px; }
.pillar-card p { font-size: 0.95rem; color: #555; line-height: 1.68; }

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.research-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  transition: box-shadow var(--transition);
}
.research-card:hover { box-shadow: var(--shadow-lg); }

.research-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 3px;
  padding: 3px 9px;
  margin-bottom: 14px;
}

.research-card h4 { margin-bottom: 10px; font-size: 1.05rem; }
.research-card p { font-size: 0.9rem; color: #666; line-height: 1.6; }

.polling-findings {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.polling-findings li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: #444;
}
.polling-findings li::before {
  content: '●';
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.6rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.media-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
}
.media-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.media-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.media-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 8px;
}

.media-card h4 { margin-bottom: 12px; }
.media-card p { font-size: 0.92rem; color: #666; line-height: 1.6; }

/* ===========================
   ABOUT / SUPPORT PAGE
   =========================== */
.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.glance-items {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.glance-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: #444;
}
.glance-items li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.team-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); }

.team-avatar {
  width: 72px; height: 72px;
  background: var(--navy);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}

.team-card h4 { font-size: 1rem; margin-bottom: 4px; }

.team-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.team-card p { font-size: 0.84rem; color: #666; line-height: 1.6; }

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.board-card {
  padding: 20px 22px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.board-card h4 { font-size: 1rem; margin-bottom: 4px; }
.board-card .team-title { margin-bottom: 6px; }
.board-card p { font-size: 0.84rem; color: #666; line-height: 1.55; }

.org-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.org-card {
  padding: 32px 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.org-card--active {
  background: var(--navy);
  border-color: var(--navy);
}

.org-card--active h4, .org-card--active p { color: var(--white); }

.org-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

.org-tag--c3 { background: rgba(200,16,46,0.12); color: var(--red); }
.org-tag--c4 { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.25); }

.org-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.org-card p { font-size: 0.92rem; color: #555; line-height: 1.65; }
.org-card--active p { color: rgba(255,255,255,0.75); }

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
}

.support-card h4 { margin-bottom: 10px; }
.support-card p { font-size: 0.94rem; color: #555; line-height: 1.65; margin-bottom: 20px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
}

.contact-card h4 { font-size: 0.85rem; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mid-gray); margin-bottom: 8px; }
.contact-card a { font-size: 0.97rem; font-weight: 600; color: var(--navy); }
.contact-card a:hover { color: var(--red); }

/* ===========================
   PATIENTS PAGE
   =========================== */
.patients-callout {
  background: rgba(200,16,46,0.06);
  border: 1px solid rgba(200,16,46,0.2);
  border-left: 4px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.patients-callout h4 { color: var(--red); margin-bottom: 8px; }
.patients-callout p { color: #444; font-size: 0.96rem; }

.steps-list {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.step-num {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.step-content h4 { margin-bottom: 6px; }
.step-content p { font-size: 0.94rem; color: #555; line-height: 1.65; }

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

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

.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid,
  .about-columns,
  .playbook-grid,
  .org-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .primary-nav { display: none; }
  .primary-nav.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .menu-toggle { display: flex; }
  #site-header { position: relative; }
}

@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 24px 16px; }
  .stat-number { font-size: 1.8rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
  .team-grid, .board-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* ===========================
   WORDPRESS ALIGNMENTS
   =========================== */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--mid-gray); text-align: center; margin-top: 6px; }

/* ===========================
   ELEMENTOR COMPATIBILITY
   =========================== */

/* Make Elementor's full-width sections respect our CSS vars */
.elementor-section.elementor-section-full_width,
.elementor-section.elementor-section-boxed {
  --e-column-margin-right: 0;
  --e-column-margin-left: 0;
}

/* Ensure Elementor containers inherit our body font */
.elementor-widget-container,
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-sans);
  color: var(--text-body);
}

.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-display);
  color: var(--navy);
}

/* Elementor button overrides — use our classes */
.elementor-button.btn--primary  { background: var(--red); border-color: var(--red); color: #fff; }
.elementor-button.btn--outline  { background: transparent; border-color: var(--navy); color: var(--navy); }

/* Prevent Elementor from collapsing empty sections in editor */
.elementor-edit-mode .elementor-section { min-height: 60px; }

/* Full-width page layout — remove default WP content padding
   so Elementor sections bleed edge-to-edge */
.elementor-page .site-main,
.elementor-page #main {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

/* Elementor "Elementor Header & Footer" template: hide theme header/footer */
.elementor-template-canvas #site-header,
.elementor-template-canvas #site-footer {
  display: none;
}
