/*
Theme Name:  Fisher Campaign
Theme URI:   https://kimberlyefisher.com
Author:      Pixels + Ems
Author URI:  https://pixelsandems.com
Description: Official campaign theme for Kimberly E. Fisher — House District 11.
Version:     5.7.2
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
License:     GNU General Public License v2 or later
Text Domain: fisher-campaign
*/

:root {
  --navy:        #25346B;
  --navy-dark:   #1c2753;
  --navy-deeper: #111830;
  --red:         #C3151C;
  --red-dark:    #a01017;
  --periwinkle:  #C7D6EC;
  --amethyst:    #9393B9;
  --white:       #ffffff;
  --off-white:   #f4f6fb;
  --gray-light:  #e2e8f4;
  --gray:        #5f6880;
  --text-dark:   #18203a;

  --font-display: 'Roboto', sans-serif;
  --font-sans:    'Roboto', sans-serif;
  --font-label:   'Roboto', sans-serif;

  --radius:    6px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,.14);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.22);
  --transition: 0.25s ease;
  --max-w:      1200px;
  --section-py: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-label);
  font-size: .88rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius); border: 2px solid transparent;
  white-space: nowrap; transition: all var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-red  { background: var(--red);  color: var(--white); border-color: var(--red); }
.btn-red:hover  { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 6px 20px rgba(195,21,28,.35); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); box-shadow: 0 6px 20px rgba(37,52,107,.35); }
.btn-outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

/* ── Sections ── */
/* Global section padding — excluded for Elementor which manages its own spacing */
section:not([class*="elementor"]):not(.e-con):not(.e-parent) { padding: var(--section-py) 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem,3.5vw,2.8rem);
  font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.section-title .accent { color: var(--red); }
.section-title.on-dark { color: var(--white); }
.section-subtitle {
  font-family: var(--font-label);
  font-size: .88rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gray);
}
.section-subtitle.on-dark { color: rgba(255,255,255,.6); }

/* ── Hero Slider ── */
#hero-slider {
  position: relative; height: 100vh;
  min-height: 600px; max-height: 900px;
  overflow: hidden; background: var(--navy-dark);
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease; z-index: 0;
}
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  filter: brightness(.5) saturate(1.1);
  z-index: 0; transform: scale(1.04); transition: transform 6s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg, rgba(28,39,83,.88) 38%, rgba(28,39,83,.2) 100%);
}
.slide-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 28px; width: 100%;
  display: grid; grid-template-columns: 55% 45%;
  align-items: center; gap: 40px;
}
.slide-text { color: var(--white); }
.slide-eyebrow {
  display: inline-block; font-family: var(--font-label);
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--periwinkle); margin-bottom: 14px;
}
.slide-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.8rem,5vw,5rem); line-height: 1.05;
  color: var(--white); margin-bottom: 6px;
}
.slide-role {
  font-family: var(--font-label); font-size: .82rem;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--periwinkle); margin-bottom: 22px;
}
.slide-slogan {
  font-family: var(--font-display); font-size: clamp(1.5rem,2.5vw,2.2rem);
  font-style: italic; font-weight: 700; color: var(--white);
  line-height: 1.3; margin-bottom: 32px;
  padding-left: 18px; border-left: 4px solid var(--red);
}
.slide-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.slide-photo { display: flex; justify-content: center; align-items: flex-end; }
.slide-photo img { max-height: 78vh; width: auto; object-fit: contain; filter: drop-shadow(0 16px 48px rgba(0,0,0,.5)); }
.slider-nav {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slider-dot.active { background: var(--red); transform: scale(1.35); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; cursor: pointer; transition: background var(--transition);
}
.slider-arrow:hover { background: rgba(195,21,28,.7); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
.slider-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; background: var(--red); z-index: 10;
  width: 0%; transition: width 5s linear;
}

/* ── Bio ── */
#bio { background: var(--white); }
.bio-photos { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 36px; }
.bio-photos img { width: 100%; height: 270px; object-fit: cover; border-radius: var(--radius); transition: transform var(--transition), box-shadow var(--transition); }
.bio-photos img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.bio-text { max-width: 820px; margin: 0 auto 36px; text-align: center; font-size: 1.05rem; color: var(--gray); line-height: 1.85; }
.bio-cta { text-align: center; }

/* ── Priorities ── */
#priorities { background: var(--off-white); border-top: 4px solid var(--navy); }
.priorities-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.priority-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 22px 26px; border-bottom: 4px solid transparent;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.priority-card:hover { border-bottom-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.priority-icon {
  width: 58px; height: 58px; margin-bottom: 16px;
  clip-path: polygon(50% 0%,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);
  background: var(--red); display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 1.5rem;
}
.priority-title { font-family: var(--font-label); font-size: 1rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.priority-list { font-size: .9rem; color: var(--gray); line-height: 1.7; flex: 1; margin-bottom: 20px; }
.priority-list li { padding-left: 14px; position: relative; margin-bottom: 5px; }
.priority-list li::before { content: '•'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.priority-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-label); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-top: auto; transition: gap var(--transition); }
.priority-link:hover { gap: 10px; }

/* ── Endorsements ── */
#endorsements-teaser { position: relative; background: var(--navy-deeper); color: var(--white); overflow: hidden; }
#endorsements-teaser::before { content: ''; position: absolute; inset: 0; background-image: url('assets/images/flag-bg.jpg'); background-size: cover; opacity: .1; z-index: 0; }
#endorsements-teaser .container { position: relative; z-index: 1; }
.endorsements-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 52px; align-items: start; }
.cf7-form-box { background: var(--white); color: var(--text-dark); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-lg); }
.cf7-form-box h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); margin-bottom: 6px; }
.cf7-form-box .form-eyebrow { font-size: .8rem; color: var(--gray); margin-bottom: 22px; }
.cf7-form-box .wpcf7-form p { margin-bottom: 14px; }
.cf7-form-box .wpcf7-form label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); margin-bottom: 5px; }
.cf7-form-box .wpcf7-form input[type="text"],
.cf7-form-box .wpcf7-form input[type="email"],
.cf7-form-box .wpcf7-form input[type="tel"],
.cf7-form-box .wpcf7-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-light); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .95rem; color: var(--text-dark); background: var(--white);
  outline: none; transition: border-color var(--transition);
}
.cf7-form-box .wpcf7-form input:focus, .cf7-form-box .wpcf7-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(37,52,107,.1); }
.cf7-form-box .wpcf7-form input[type="submit"] { width: 100%; background: var(--red); color: var(--white); padding: 14px 24px; border: none; border-radius: var(--radius); font-family: var(--font-label); font-size: .95rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background var(--transition); }
.cf7-form-box .wpcf7-form input[type="submit"]:hover { background: var(--red-dark); }
.cf7-form-box .wpcf7-response-output { margin-top: 12px; padding: 12px 16px; border-radius: var(--radius); font-size: .88rem; border: none !important; }
.cf7-form-box .wpcf7-mail-sent-ok { background: #dcfce7; color: #166534; border-left: 4px solid #22c55e !important; }
.cf7-form-box .wpcf7-validation-errors { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444 !important; }
.endorsers-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.endorser-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 22px 16px; text-align: center; transition: background var(--transition), transform var(--transition); }
.endorser-card:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.endorser-card img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; margin: 0 auto 12px; border: 3px solid var(--red); }
.endorser-name { font-family: var(--font-label); font-size: .9rem; color: var(--white); font-weight: 600; }
.endorser-title { font-size: .75rem; color: rgba(255,255,255,.58); margin-top: 3px; }
.endorser-quote { font-size: .82rem; color: rgba(255,255,255,.75); font-style: italic; margin-top: 10px; line-height: 1.6; }

/* ════════════════════════════════════════
   PAGE HEADER BANNER
   Periwinkle background · navy text
   Optional per page — toggle in page editor
════════════════════════════════════════ */
.page-header-banner {
  background: var(--periwinkle);
  padding: 56px 0 52px;
  text-align: center;
}

.page-header-banner__inner {
  max-width: 720px;
  margin: 0 auto;
}

.page-header-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
}

.page-header-banner__subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: #4a5a7a;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Page content area ── */
.page-content-wrap {
  padding: 60px 0 80px;
  background: var(--white);
}

.page-content-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.page-content-body h2 { font-family: var(--font-display); color: var(--navy); font-size: clamp(1.6rem,2.5vw,2.2rem); margin: 2rem 0 .8rem; }
.page-content-body h3 { font-family: var(--font-display); color: var(--navy); font-size: clamp(1.3rem,2vw,1.7rem); margin: 1.75rem 0 .7rem; }
.page-content-body h4 { font-family: var(--font-label); color: var(--navy); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 1.5rem 0 .6rem; }
.page-content-body p  { margin-bottom: 1.2rem; }
.page-content-body ul { list-style: disc; padding-left: 1.6rem; margin-bottom: 1.2rem; }
.page-content-body ol { list-style: decimal; padding-left: 1.6rem; margin-bottom: 1.2rem; }
.page-content-body ul ul { list-style: circle; margin-top: .4rem; margin-bottom: .4rem; }
.page-content-body ol ol { list-style: lower-alpha; margin-top: .4rem; margin-bottom: .4rem; }
.page-content-body li { margin-bottom: .5rem; }
.page-content-body a  { color: var(--red); text-decoration: underline; transition: color var(--transition); }
.page-content-body a:hover { color: var(--red-dark); }
.page-content-body img { border-radius: var(--radius); margin: 1rem 0; }
.page-content-body blockquote {
  border-left: 4px solid var(--red);
  padding: .8rem 1.2rem;
  margin: 1.5rem 0;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray);
}

@media (max-width: 768px) {
  .page-header-banner { padding: 40px 0 36px; }
  .page-content-wrap  { padding: 40px 0 56px; }
}

/* ── Footer ── */
#site-footer { background: var(--navy-deeper); color: rgba(255,255,255,.65); border-top: 4px solid var(--red); }
.footer-top { padding: 64px 0 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.55); margin: 14px 0 20px; }
.footer-col h5 { font-family: var(--font-label); font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid rgba(195,21,28,.4); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.55); transition: color var(--transition), padding-left var(--transition); }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-col .footer-subscribe input[type="email"] { width: 100%; padding: 11px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.15); border-radius: var(--radius); color: var(--white); font-family: var(--font-sans); font-size: .9rem; outline: none; }
.footer-col .footer-subscribe input[type="email"]::placeholder { color: rgba(255,255,255,.35); }
.footer-col .footer-subscribe input[type="submit"] { margin-top: 8px; width: 100%; padding: 11px; background: var(--red); color: var(--white); border: none; border-radius: var(--radius); font-family: var(--font-label); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background var(--transition); }
.footer-col .footer-subscribe input[type="submit"]:hover { background: var(--red-dark); }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.38); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: .78rem; color: rgba(255,255,255,.38); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .9rem; transition: background var(--transition), transform var(--transition); }
.social-link:hover { background: var(--red); transform: scale(1.1); }
.site-logo-text { line-height: 1.1; color: var(--white); }
.site-logo-text strong { display: block; font-family: var(--font-label); font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
.site-logo-text span { display: block; font-family: var(--font-sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

/* ── Back to top ── */
#back-to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: var(--white); border: none; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; z-index: 999; box-shadow: var(--shadow-md); transition: opacity var(--transition), visibility var(--transition), transform var(--transition); }
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px); background: var(--red-dark); }

/* ── Elementor helpers ── */
.fisher-bg-navy      { background-color: var(--navy) !important; }
.fisher-bg-red       { background-color: var(--red) !important; }
.fisher-bg-periwinkle{ background-color: var(--periwinkle) !important; }
.fisher-bg-amethyst  { background-color: var(--amethyst) !important; }
.fisher-bg-white     { background-color: var(--white) !important; }
.fisher-bg-off-white { background-color: var(--off-white) !important; }
.fisher-text-white   { color: var(--white) !important; }
.fisher-text-navy    { color: var(--navy) !important; }
.fisher-text-red     { color: var(--red) !important; }

/* ── Scroll animations ── */
.animate-on-scroll { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .priorities-grid { grid-template-columns: repeat(2,1fr); }
  .endorsements-layout { grid-template-columns: 1fr; }
  .endorsers-grid  { grid-template-columns: repeat(3,1fr); }
  /* Footer: 4-col and 3-col become 2-col at tablet */
  .footer-cols-4 { grid-template-columns: 1fr 1fr; }
  .footer-cols-3 { grid-template-columns: 1fr 1fr; }
  .footer-cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .slide-content { grid-template-columns: 1fr; text-align: center; }
  .slide-slogan  { border-left: none; padding-left: 0; border-top: 4px solid var(--red); padding-top: 14px; }
  .slide-buttons { justify-content: center; }
  .slide-photo   { display: none; }
  .bio-photos    { grid-template-columns: 1fr; }
  .bio-photos img { height: 220px; }
  .priorities-grid { grid-template-columns: 1fr; }
  .endorsers-grid  { grid-template-columns: 1fr 1fr; }
  .footer-cols-4,
  .footer-cols-3,
  .footer-cols-2 { grid-template-columns: 1fr; gap: 28px; }
  /* Footer: collapse to single column on mobile */
  .footer-cols-4,
  .footer-cols-3,
  .footer-cols-2 { grid-template-columns: 1fr; gap: 28px; }
  .footer-upper { padding: 40px 0 32px; }
}
@media (max-width: 480px) {
  .endorsers-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   HEADER OFFSET — push all page content below the fixed header
   Header height:  80px desktop · 64px mobile
   Extra gap:      40px (requested)
   Admin bar adds its own margin-top to <html> via WP core,
   so no extra offset is needed for the admin bar here.
═══════════════════════════════════════════════════════════ */

/* All pages: push content below the 80px fixed header + 40px gap */
#main-content {
  padding-top: 136px; /* 96px header + 40px gap */
}

/* Mobile: header is 64px */
@media (max-width: 900px) {
  #main-content {
    padding-top: 112px; /* 72px header + 40px gap */
  }
}

/* Homepage hero fills the full viewport deliberately —
   the hero section handles its own top spacing internally */
/* Homepage — Elementor hero manages its own top spacing */
body.home #main-content,
body.front-page #main-content,
body.home main,
body.front-page main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── Footer Widget Styles ──────────────────────────────────
   WordPress wraps each widget in .widget.footer-widget
   These rules make common widget types look correct in the
   dark footer context.
─────────────────────────────────────────────────────────── */

/* Column heading — set in Campaign Options → Footer
   Sits above all widgets in the column */
.footer-col-heading {
  font-family: var(--font-label);
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(195,21,28,.4);
  /* Empty heading (space entered in Theme Options) = red line only, no text height */
  min-height: 0;
  line-height: 1;
}
/* When heading has no text content, collapse the font height */
.footer-col-heading:empty {
  font-size: 0;
  padding-bottom: 2px;
  margin-bottom: 18px;
}

/* Widget wrapper — reset any default margin/padding */
.footer-widget { margin: 0; padding: 0; }

/* When a column has a heading, suppress duplicate titles
   from individual widgets inside that column */
.footer-col .footer-col-heading ~ .footer-widget .footer-widget-title {
  display: none;
}

/* Widget title — matches the existing footer h5 style */
.footer-widget-title {
  font-family: var(--font-label);
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(195,21,28,.4);
}

/* Text / HTML widgets */
.footer-widget p {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
}
.footer-widget p:last-child { margin-bottom: 0; }
.footer-widget a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-widget a:hover { color: var(--white); }

/* Custom HTML widget — images (e.g. logo)
   No height cap — logo fills the full column width */
.footer-widget img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin-bottom: 14px;
}

/* Navigation Menu widget */
.footer-widget .menu,
.footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-widget .menu li,
.footer-widget ul li {
  margin-bottom: 10px;
}
.footer-widget .menu li a,
.footer-widget ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-widget .menu li a:hover,
.footer-widget ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Search widget */
.footer-widget .search-form { display: flex; gap: 6px; }
.footer-widget .search-field {
  flex: 1;
  padding: 10px 13px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .88rem;
}
.footer-widget .search-field::placeholder { color: rgba(255,255,255,.35); }
.footer-widget .search-submit {
  padding: 10px 16px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .82rem;
  transition: background var(--transition);
}
.footer-widget .search-submit:hover { background: var(--red-dark); }

/* CF7 / form widgets */
.footer-widget .wpcf7-form p { margin-bottom: 10px; }
.footer-widget .wpcf7-form input[type="text"],
.footer-widget .wpcf7-form input[type="email"] {
  width: 100%;
  padding: 10px 13px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .88rem;
  outline: none;
}
.footer-widget .wpcf7-form input[type="text"]::placeholder,
.footer-widget .wpcf7-form input[type="email"]::placeholder { color: rgba(255,255,255,.35); }
.footer-widget .wpcf7-form input[type="submit"] {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-label);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.footer-widget .wpcf7-form input[type="submit"]:hover { background: var(--red-dark); }
.footer-widget .wpcf7-response-output {
  font-size: .75rem;
  border: none !important;
  padding: 6px 10px;
  border-radius: var(--radius);
  margin-top: 6px;
}
.footer-widget .wpcf7-mail-sent-ok { background: rgba(34,197,94,.18); color: #4ade80; }

/* Social icon list (custom HTML widget common pattern) */
.footer-widget .social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.footer-lower {
  background: var(--navy-deeper);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
}

/* Two columns: copyright LEFT · legal links RIGHT */
.footer-lower__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
}

.footer-copyright {
  font-size: .78rem;
  color: rgba(255,255,255,.38);
  margin: 0;
  line-height: 1.5;
  flex-shrink: 1;
}

/* Legal links — right side, pipe-separated */
.footer-legal-links {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 0;
}

.footer-legal-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.38);
  transition: color var(--transition);
  white-space: nowrap;
  padding: 0 14px;
}
.footer-legal-links a:hover { color: var(--white); }

/* Pipe separator between links */
.footer-legal-links a + a {
  border-left: 1px solid rgba(255,255,255,.2);
}

/* Mobile — stack vertically */
@media (max-width: 600px) {
  .footer-lower__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-legal-links a:first-child { padding-left: 0; }
}
/* ════════════════════════════════════════
   FOOTER GRID — BASE DESKTOP RULES
   These MUST be outside any @media block.
   .footer-upper__grid gets display:grid here.
   Column counts are set by .footer-cols-N class.
════════════════════════════════════════ */
.footer-upper__grid {
  display: grid;
  gap: 40px;
}
.footer-cols-4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-cols-3 { grid-template-columns: 1.5fr 1fr 1.2fr; }
.footer-cols-2 { grid-template-columns: 1fr 1fr; }
.footer-cols-1 { grid-template-columns: 1fr; max-width: 680px; }

/* ════════════════════════════════════════
   FOOTER RESPONSIVE
════════════════════════════════════════ */

/* Tablet (768–1024px) — 2 columns max */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer-upper { padding: 48px 0 36px; }
}

/* Mobile (≤768px) — single column, tighter padding */
@media (max-width: 768px) {
  .footer-col { padding-bottom: 8px; }
  .footer-col-heading { margin-bottom: 14px; }
  .footer-logo-img { max-width: 240px; width: 100%; }
  .footer-newsletter-intro { font-size: .82rem; }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .footer-upper { padding: 32px 0 24px; }
  .footer-lower { padding: 14px 0; }
  .footer-lower__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-legal-links a:first-child { padding-left: 0; }
  .footer-copyright { font-size: .74rem; }
  .footer-legal-links a { font-size: .74rem; }
}



/* Footer logo — full width, top margin aligns with column headings */
.footer-logo-img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  margin-top: 33px;
  margin-bottom: 18px;
}

/* ════════════════════════════════════════
   FOOTER ENDORSEMENTS GALLERY — 2-column grid
   Explicit sizing to override all other rules
════════════════════════════════════════ */
.footer-endorsements-gallery {
  display: grid;
  grid-template-columns: calc(50% - 3px) calc(50% - 3px);
  grid-auto-rows: auto;
  gap: 6px;
  margin: 0 0 12px;
  width: 100%;
  list-style: none;
  padding: 0;
}
.footer-endorsement-item {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  transition: border-color .2s, opacity .2s;
}
/* Enforce square via padding trick — works everywhere */
.footer-endorsement-item::before {
  content: '';
  display: block;
  padding-top: 100%;
}
.footer-endorsement-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
}
.footer-endorsement-item:hover {
  border-color: rgba(195,21,28,.7);
  opacity: .9;
}
.footer-endorsements-all {
  display: block;
  text-align: right;
  font-size: .78rem;
  color: rgba(255,255,255,.42);
  text-decoration: none;
  letter-spacing: .04em;
  margin-top: 6px;
  transition: color .2s;
}
.footer-endorsements-all:hover { color: #C7D6EC; }
.footer-admin-hint {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  line-height: 1.65;
}
.footer-admin-hint a { color: rgba(199,214,236,.6); }

/* Footer upper — base padding (desktop) */
.footer-upper { padding: 40px 0 52px; }

/* ════════════════════════════════════════
   ENDORSEMENTS PAGE
════════════════════════════════════════ */
.endorsements-page {}

.endorsements-section {
  padding: 64px 0;
}
.endorsements-section--light  { background: var(--white); }
.endorsements-section--tinted { background: var(--off-white); }

/* Section header — rule · title · rule */
.endorsements-section__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}
.endorsements-section__line {
  flex: 1;
  height: 2px;
  background: var(--gray-light);
}
.endorsements-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.endorsements-section__desc {
  text-align: center;
  color: var(--gray);
  font-size: .95rem;
  margin-bottom: 32px;
}

/* Card grid — 4 columns */
.endorsements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

/* Individual card */
.endorsement-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.endorsement-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--periwinkle);
}

/* Photo — square crop */
.endorsement-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--periwinkle);
  flex-shrink: 0;
}
.endorsement-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.endorsement-card:hover .endorsement-card__photo img {
  transform: scale(1.04);
}
.endorsement-card__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  font-family: var(--font-label);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  letter-spacing: .05em;
}

/* Info block */
.endorsement-card__info {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.endorsement-card__org {
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.endorsement-card__name {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.endorsement-card__title {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
}
.endorsement-card__quote {
  font-size: .9rem;
  font-style: italic;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 6px;
  border-left: 3px solid var(--periwinkle);
  padding-left: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .endorsements-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .endorsements-section { padding: 44px 0; }
  .endorsements-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .endorsements-section__title { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .endorsements-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .endorsement-card__info { padding: 10px 12px 12px; }
  .endorsement-card__name { font-size: .88rem; }
}

/* Endorsements shortcode column overrides */
.endorsements-grid--cols-2 { grid-template-columns: repeat(2,1fr) !important; }
.endorsements-grid--cols-3 { grid-template-columns: repeat(3,1fr) !important; }
.endorsements-grid--cols-4 { grid-template-columns: repeat(4,1fr) !important; }

@media (max-width:768px) {
  .endorsements-grid--cols-2,
  .endorsements-grid--cols-3,
  .endorsements-grid--cols-4 { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width:480px) {
  .endorsements-grid--cols-3,
  .endorsements-grid--cols-4 { grid-template-columns: repeat(2,1fr) !important; }
}


/* Back-to-top button — smaller offset on mobile so it
   doesn't sit over content near the footer */
@media (max-width: 600px) {
  #back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}






/* Spacer is also positioned so it renders above sections */
.content-footer-spacer {
  position: relative;
  z-index: 1;
}

/* EAEL absolute button — reset all positioning properties */
.elementor-absolute.elementor-widget-eael-creative-button {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: auto !important;
}

/* ── Footer circle social icons ──────────────────────────── */
.footer-social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
  flex-shrink: 0;
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social-icon:hover {
  background: var(--red);
  transform: translateY(-2px);
  color: #fff;
}

/* ════════════════════════════════════════
   ENDORSEMENTS HERO HEADER
════════════════════════════════════════ */

/* Remove the main-content top padding on the endorsements page
   so the hero sits flush against the fixed header */
body.page-template-template-endorsements #main-content {
  padding-top: 0 !important;
}

.endorsements-hero {
  background: #25346B;
  padding-top: 140px !important;
  padding-bottom: 0 !important;
  position: relative;
}
body.admin-bar .endorsements-hero {
  padding-top: 172px !important;
}

.endorsements-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 40px 16px !important; /* tight bottom so cards sit close */
}

.endorsements-hero__headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -.01em;
  max-width: 820px;
  margin-bottom: 20px;
  font-family: inherit;
}

.endorsements-hero__subtext {
  font-size: 24px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
  font-family: inherit;
  font-weight: 400;
}

/* Stats strip — tight to hero content */
.endorsements-hero__stats {
  position: relative;
  z-index: 20;
  padding: 0 40px;
  transform: translateY(90px);
  margin-top: 0;
}

.endorsements-hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.26);
}

.endorsements-hero__stat {
  padding: 52px 32px;
  text-align: center;
  border-right: 1px solid #e8eaf0;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.endorsements-hero__stat:last-child { border-right: none; }

.endorsements-hero__stat-val {
  display: block;
  font-size: 44px;
  font-weight: 900;
  color: #C3151C;
  margin-bottom: 12px;
  line-height: 1;
  letter-spacing: -.02em;
  font-family: inherit;
}

.endorsements-hero__stat-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5f6880;
  font-family: inherit;
}

/* Content below — clears the translateY(90px) cards */
.endorsements-page--has-hero {
  padding-top: 120px;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  body.page-template-template-endorsements #main-content { padding-top: 0 !important; }
  .endorsements-hero { padding-top: 112px; } /* 72px mobile nav + 40px */
  body.admin-bar .endorsements-hero { padding-top: 150px; }
  .endorsements-hero__inner { padding: 0 24px 40px; }
  .endorsements-hero__subtext { font-size: 17px; }
  .endorsements-hero__stats { padding: 0 16px; transform: translateY(70px); }
  .endorsements-hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .endorsements-hero__stat {
    aspect-ratio: auto;
    padding: 28px 12px;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .endorsements-hero__stat:nth-child(2) { border-right: none; }
  .endorsements-hero__stat:nth-child(3),
  .endorsements-hero__stat:nth-child(4) { border-top: 1px solid #e8eaf0; }
  .endorsements-hero__stat-val { font-size: 30px; }
  .endorsements-page--has-hero { padding-top: 150px; }
}

/* Stat cards 3 & 4 — text-based values slightly smaller */
.endorsements-hero__stat:nth-child(3) .endorsements-hero__stat-val,
.endorsements-hero__stat:nth-child(4) .endorsements-hero__stat-val {
  font-size: 35px;
  letter-spacing: .01em;
}

/* ════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════ */
.contact-page {
  background: #f4f6fb;
  padding: 60px 0 80px;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Info column ── */
.contact-page__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 28px;
}

.contact-info-card__heading {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C3151C;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C3151C;
}

.contact-info-card__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-info-card__row:last-of-type { margin-bottom: 0; }

.contact-info-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #C7D6EC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25346B;
  flex-shrink: 0;
}

.contact-info-card__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9393B9;
  margin-bottom: 3px;
}

.contact-info-card__value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #25346B;
  text-decoration: none;
}
.contact-info-card__value:hover { color: #C3151C; }

.contact-info-card__body {
  font-size: 14px;
  color: #5f6880;
  line-height: 1.7;
}
.contact-info-card__body a { color: #C3151C; text-decoration: none; }
.contact-info-card__body a:hover { text-decoration: underline; }

.contact-info-card__social {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f4;
}
.contact-info-card__social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.contact-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25346B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.contact-social-icon:hover {
  background: #C3151C;
  transform: translateY(-2px);
}

/* ── CTA card ── */
.contact-cta-card {
  background: #25346B;
  border-radius: 12px;
  padding: 28px;
}
.contact-cta-card__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.contact-cta-card__text {
  font-size: 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 20px;
}
.contact-cta-card__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-cta-card__btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: background .2s ease, color .2s ease;
}
.contact-cta-card__btn--red {
  background: #C3151C;
  color: #fff;
}
.contact-cta-card__btn--red:hover { background: #a01017; color: #fff; }
.contact-cta-card__btn--outline {
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
}
.contact-cta-card__btn--outline:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ── Form card ── */
.contact-form-card {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  overflow: hidden;
}
.contact-form-card__header {
  background: #25346B;
  padding: 32px 36px 28px;
}
.contact-form-card__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.contact-form-card__sub {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
.contact-form-card__body {
  padding: 32px 36px;
}

/* CF7 form styling inside contact page */
.contact-form-card__body .wpcf7-form p {
  margin-bottom: 16px;
}
.contact-form-card__body .wpcf7-form input[type="text"],
.contact-form-card__body .wpcf7-form input[type="email"],
.contact-form-card__body .wpcf7-form input[type="tel"],
.contact-form-card__body .wpcf7-form select,
.contact-form-card__body .wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f4;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #18203a;
  background: #fff;
  transition: border-color .2s ease;
}
.contact-form-card__body .wpcf7-form input:focus,
.contact-form-card__body .wpcf7-form select:focus,
.contact-form-card__body .wpcf7-form textarea:focus {
  outline: none;
  border-color: #25346B;
}
.contact-form-card__body .wpcf7-form textarea {
  height: 140px;
  resize: vertical;
}
.contact-form-card__body .wpcf7-form input[type="submit"] {
  background: #C3151C;
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s ease;
  width: 100%;
}
.contact-form-card__body .wpcf7-form input[type="submit"]:hover {
  background: #a01017;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-page__grid {
    display: flex;
    flex-direction: column;
  }
  /* Dissolve the info wrapper so each card participates
     directly in the flex order */
  .contact-page__info {
    display: contents;
  }
  /* 1. Get in Touch */
  .contact-info-card:first-of-type  { order: 1; }
  /* 2. Press & Media */
  .contact-info-card:nth-of-type(2) { order: 2; }
  /* 3. Form */
  .contact-page__form-wrap          { order: 3; }
  /* 4. Get Involved CTA */
  .contact-cta-card                 { order: 4; }

  .contact-form-card__header,
  .contact-form-card__body {
    padding: 24px;
  }
}

/* ── Contact page — larger typography ── */
.contact-info-card__heading       { font-size: 12px; }
.contact-info-card__label         { font-size: 12px; }
.contact-info-card__value         { font-size: 16px; }
.contact-info-card__body          { font-size: 16px; }
.contact-cta-card__eyebrow        { font-size: 12px; }
.contact-cta-card__text           { font-size: 16px; }
.contact-cta-card__btn            { font-size: 13px; }
.contact-form-card__title         { font-size: 26px; }
.contact-form-card__sub           { font-size: 16px; }
.contact-form-card__body .wpcf7-form input[type="text"],
.contact-form-card__body .wpcf7-form input[type="email"],
.contact-form-card__body .wpcf7-form input[type="tel"],
.contact-form-card__body .wpcf7-form select,
.contact-form-card__body .wpcf7-form textarea { font-size: 16px; padding: 14px 16px; }
.contact-form-card__body .wpcf7-form input[type="submit"] { font-size: 14px; padding: 16px 40px; }

/* ════════════════════════════════════════
   GET INVOLVED PAGE
════════════════════════════════════════ */
.page-header-banner--centered .page-header-banner__inner { text-align: center; }
.page-header-banner--centered .page-header-banner__subtitle { margin: 8px auto 0; }

.get-involved-page {
  background: #f4f6fb;
  padding: 60px 0 80px;
}

.gi-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f4;
  padding: 48px;
  max-width: 820px;
  margin: 0 auto;
}

/* Section headings — bigger, standard weight */
.gi-section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C3151C;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #C3151C;
  font-family: inherit;
}

/* ── Tiles ── */
.gi-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}

.gi-tile {
  border: 1.5px solid #e2e8f4;
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: border-color .2s ease, background .2s ease;
  user-select: none;
}

.gi-tile:hover {
  border-color: #9393B9;
  background: #f8f9ff;
}

.gi-tile.is-on {
  border-color: #C3151C;
  background: #fff5f5;
}

.gi-tile.is-on .gi-tile__label { color: #C3151C; }

.gi-tile__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #C3151C;
  display: none;
  align-items: center;
  justify-content: center;
}
.gi-tile.is-on .gi-tile__check { display: flex; }

.gi-tile__icon {
  font-size: 36px;
  margin-bottom: 12px;
  line-height: 1;
}

.gi-tile__label {
  font-size: 14px;
  font-weight: 700;
  color: #25346B;
  font-family: inherit;
  letter-spacing: 0;
  transition: color .2s ease;
  line-height: 1.3;
}

/* ── Hint + Tags ── */
.gi-hint {
  font-size: 14px;
  color: #9393B9;
  margin-bottom: 14px;
  font-family: inherit;
}

.gi-tags {
  min-height: 0;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gi-tag {
  display: inline-block;
  background: #fff5f5;
  border: 1px solid #C3151C;
  color: #C3151C;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  padding: 5px 14px;
  border-radius: 20px;
}

.gi-divider {
  height: 1px;
  background: #e2e8f4;
  margin: 8px 0 32px;
}

/* ── CF7 form inside gi-card ── */
.gi-form-wrap .wpcf7-form .gi-row,
.gi-form-wrap .wpcf7-form p { margin-bottom: 16px; }

.gi-form-wrap .wpcf7-form .gi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gi-form-wrap .wpcf7-form input[type="text"],
.gi-form-wrap .wpcf7-form input[type="email"],
.gi-form-wrap .wpcf7-form input[type="tel"],
.gi-form-wrap .wpcf7-form select,
.gi-form-wrap .wpcf7-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f4;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  color: #18203a;
  background: #fff;
  transition: border-color .2s ease;
}

.gi-form-wrap .wpcf7-form input:focus,
.gi-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: #25346B;
}

.gi-form-wrap .wpcf7-form textarea { height: 120px; resize: vertical; }

.gi-form-wrap .wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 16px 40px;
  background: #C3151C;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: background .2s ease;
}

.gi-form-wrap .wpcf7-form input[type="submit"]:hover { background: #a01017; }

/* hide the hidden ways-to-help field */
.gi-form-wrap .wpcf7-form input[name="ways-to-help"] { display: none !important; }

/* Labels for CF7 fields */
.gi-form-wrap .wpcf7-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #25346B;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .gi-card { padding: 28px 20px; }
  .gi-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gi-tile { padding: 22px 12px; }
  .gi-tile__icon { font-size: 30px; }
  .gi-tile__label { font-size: 13px; }
  .gi-form-wrap .wpcf7-form .gi-row { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   PERFORMANCE
════════════════════════════════════════ */

/* Prevent layout shift during font load */
body { font-display: swap; }

/* Let browser skip rendering off-screen sections until needed */
.endorsements-section,
.contact-page,
.get-involved-page {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* Reduce paint cost on animations */
.gi-tile,
.contact-social-icon,
.endorsement-card,
.footer-social-icon {
  will-change: auto;
}

/* Reduce repaints on hover transitions */
.header-donate-btn,
.btn,
.gi-tile {
  transform: translateZ(0);
}


/* ════════════════════════════════════════
   ACCESSIBILITY + CWV
════════════════════════════════════════ */

/* Skip to content link — hidden until focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #25346B;
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  z-index: 999999;
  border-radius: 0 0 6px 6px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Prevent CLS — reserve space for logo image before it loads */
.site-logo__img {
  aspect-ratio: 3 / 1;
}

/* Prevent CLS on hero slider */
.site-hero, .rev_slider_wrapper {
  min-height: 400px;
}

/* Smooth font swap — prevent FOUT jank */
@font-face { font-display: swap; }


/* Remove default top gap from Elementor sections on homepage */
body.home .elementor-section,
body.home .e-con,
body.front-page .elementor-section,
body.front-page .e-con {
  margin-top: 0;
}

/* ════════════════════════════════════════
   SINGLE BLOG POST
════════════════════════════════════════ */

/* ── Banner ── */
.single-post-banner {
  background: #25346B;
  padding: 52px 0 44px;
}
.single-post-banner__cat {
  display: inline-block;
  background: #C3151C;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  margin-bottom: 16px;
}
.single-post-banner__title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 18px;
}
.single-post-banner__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.single-post-banner__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.single-post-banner__meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
}

/* ── Body ── */
.single-post-body {
  background: #f4f6fb;
  padding: 0 0 64px;
}
.single-post-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Featured image — wide cinematic ── */
.single-post-featured {
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
}
.single-post-featured img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Post content typography ── */
.single-post-content {
  background: #fff;
  border-radius: 12px;
  padding: 52px 60px;
  margin-bottom: 32px;
  border: 1px solid #e2e8f4;
  font-size: 19px;
  color: #2d2d2d;
  line-height: 1.9;
}
.single-post-content p { margin-bottom: 24px; }
.single-post-content h2 {
  font-size: 30px;
  font-weight: 800;
  color: #25346B;
  margin: 40px 0 16px;
  line-height: 1.25;
}
.single-post-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #25346B;
  margin: 32px 0 14px;
}
.single-post-content blockquote {
  border-left: 5px solid #C3151C;
  background: #f4f6fb;
  padding: 22px 32px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
  font-size: 21px;
  font-style: italic;
  font-weight: 600;
  color: #25346B;
  line-height: 1.6;
}
.single-post-content ul,
.single-post-content ol {
  padding-left: 28px;
  margin-bottom: 24px;
}
.single-post-content li { margin-bottom: 10px; }
.single-post-content a { color: #C3151C; text-decoration: underline; }
.single-post-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
}

/* ── Share row ── */
.single-post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid #e2e8f4;
  border-bottom: 1px solid #e2e8f4;
  margin-bottom: 28px;
}
.single-post-share__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9393B9;
  margin-right: 4px;
}
.single-post-share__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.single-post-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s ease;
}
.single-post-share__btn:hover { opacity: .85; }
.single-post-share__btn--fb    { background: #1877f2; color: #fff; }
.single-post-share__btn--tw    { background: #000; color: #fff; }
.single-post-share__btn--email { background: #25346B; color: #fff; }

/* ── Author card ── */
.single-post-author {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 36px;
}
.single-post-author__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.single-post-author__initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #C3151C;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.single-post-author__name {
  font-size: 16px;
  font-weight: 700;
  color: #25346B;
  margin-bottom: 4px;
}
.single-post-author__role {
  font-size: 13px;
  color: #9393B9;
}

/* ── Related posts ── */
.single-post-related { margin-bottom: 32px; }
.single-post-related__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C3151C;
  padding-bottom: 10px;
  border-bottom: 2px solid #C3151C;
  margin-bottom: 16px;
}
.single-post-related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.single-post-related__card {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.single-post-related__card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.single-post-related__img {
  height: 120px;
  background-size: cover;
  background-position: center;
}
.single-post-related__img--placeholder {
  background: linear-gradient(135deg, #25346B, #9393B9);
}
.single-post-related__card-body { padding: 14px 16px; }
.single-post-related__cat {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #C3151C;
  margin-bottom: 6px;
}
.single-post-related__title {
  font-size: 13px;
  font-weight: 700;
  color: #25346B;
  line-height: 1.4;
  margin-bottom: 6px;
}
.single-post-related__date {
  font-size: 11px;
  color: #9393B9;
}

/* ── Back link ── */
.single-post-back { margin-top: 8px; }
.single-post-back__link {
  font-size: 13px;
  font-weight: 600;
  color: #25346B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.single-post-back__link:hover { color: #C3151C; }

/* ── CTA Band ── */
.single-post-cta {
  background: #C3151C;
  padding: 36px 0;
}
.single-post-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.single-post-cta__text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.single-post-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.single-post-cta__btn {
  padding: 13px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s ease;
}
.single-post-cta__btn:hover { opacity: .88; }
.single-post-cta__btn--white   { background: #fff; color: #C3151C; }
.single-post-cta__btn--outline {
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .single-post-container { padding: 0 20px; }
  .single-post-content { padding: 32px 24px; font-size: 17px; }
  .single-post-featured img { height: 280px; }
  .single-post-related__grid { grid-template-columns: 1fr; }
  .single-post-cta__inner { flex-direction: column; text-align: center; }
  .single-post-cta__btns { justify-content: center; }
  .single-post-banner__title { font-size: 24px; }
  .single-post-content h2 { font-size: 24px; }
  .single-post-content blockquote { font-size: 18px; }
}

/* ── About Kimberly page — remove white gap before footer ── */
.page-id-1125 #main-content,
.postid-1125 #main-content,
.page-id-1661 #main-content {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.page-id-1125 #main-content > *:last-child,
.page-id-1125 .elementor-location-single > *:last-child,
.page-id-1661 #main-content > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* All Elementor canvas pages — remove bottom gap */
body.elementor-page #main-content {
  padding-bottom: 0 !important;
}

