/*
Theme Name: Brighter Days
Theme URI: https://brighterdaysseniorcenter.org
Author: Julie Smith
Description: Brighter Days Senior Day Center - Compassionate Senior Day Center in Utah County
Version: 1.0
*/

/* ============================================================
   BASE
============================================================ */
@import url("/_fonts/4a27040705317662bbc7b1f56b14b0b91ff038842f8c7552572a44544453f45f.css");

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

:root {
  --primary: #006B7D;
  --primary-dark: #004D5A;
  --accent: #C9A574;
  --accent-light: #F5EDE3;
  --bg: #FAFAF7;
  --bg-light: #E8F5F2;
  --bg-alt: #F9FAFB;
  --text: #1A2B3C;
  --text-light: #5A6B7C;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #1A1A1A;
  border-color: var(--accent);
}
.btn-primary:hover { background: #d4942a; border-color: #d4942a; color: #1A1A1A; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-blue {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-blue:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }

/* ============================================================
   HEADER / NAV
============================================================ */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-top {
  background: var(--primary);
  color: var(--white);
  text-align: right;
  padding: 6px 24px;
  font-size: 14px;
}
.header-top a { color: var(--white); font-weight: 600; }
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.site-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.site-logo span { display: block; font-size: 13px; font-weight: 400; color: var(--text-light); }

.primary-nav ul { list-style: none; display: flex; gap: 32px; }
.primary-nav a {
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0; transition: 0.3s;
}
#nav-toggle-check { display: none; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  #nav-toggle-check:checked ~ .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; gap: 16px; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  background: #FFFFFF;
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 780px; margin: 0 auto; }
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero p { font-size: 20px; margin-bottom: 36px; opacity: 0.92; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  .hero { padding: 60px 24px; }
}

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar {
  background: var(--accent);
  padding: 18px 24px;
}
.stats-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px; }
.stat-item { text-align: center; color: #1A1A1A; }
.stat-item strong { display: block; font-size: 20px; font-weight: 800; }
.stat-item span { font-size: 13px; font-weight: 600; opacity: 0.75; }

/* ============================================================
   SECTIONS
============================================================ */
section { padding: 100px 0; }
.section-label {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px;
  font-weight: 700; color: var(--primary); margin-bottom: 12px;
}
.section-title { font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--text-light); max-width: 640px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* Signature Block */
.signature-block { background: var(--bg-light); }
.signature-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.signature-badge {
  background: var(--primary); color: var(--white);
  border-radius: 16px; padding: 40px;
  text-align: center; font-style: italic; font-size: 18px; line-height: 1.6;
}
.signature-badge::before {
  content: '\201C'; font-size: 72px; line-height: 1;
  display: block; color: var(--accent); font-family: Georgia, serif;
}

@media (max-width: 768px) {
  .signature-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Services Grid */
.services-bg { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.service-icon {
  font-size: 40px; margin-bottom: 16px;
  display: block;
}
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

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

/* About Strip */
.about-strip { background: var(--bg-alt); }
.about-inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center;
}
.founder-photo {
  background: var(--bg-light);
  border-radius: 16px;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: var(--primary);
}
.about-text .section-label { margin-bottom: 8px; }
.about-text p { margin-bottom: 16px; color: var(--text-light); }

@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; }
  .founder-photo { max-width: 200px; }
}

/* Payment Section */
.payment-bg { background: var(--bg-light); }
.payment-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.payment-card {
  background: var(--white); border-radius: 16px; padding: 32px 24px;
  border-left: 4px solid var(--primary);
}
.payment-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.payment-card p { color: var(--text-light); font-size: 15px; }

@media (max-width: 768px) { .payment-grid { grid-template-columns: 1fr; } }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #006B7D, #003845);
  color: var(--white); text-align: center; padding: 80px 24px;
}
.cta-banner h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-banner p { font-size: 18px; margin-bottom: 32px; opacity: 0.9; }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  background: var(--primary); color: var(--white);
  padding: 60px 24px; text-align: center;
}
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 18px; opacity: 0.85; }
.breadcrumb { font-size: 14px; margin-bottom: 16px; opacity: 0.7; }
.breadcrumb a { color: var(--white); }

/* ============================================================
   PAGE CONTENT
============================================================ */
.page-content { padding: 80px 0; }
.page-content h2 { font-size: 28px; font-weight: 800; color: var(--primary); margin: 40px 0 16px; }
.page-content h3 { font-size: 20px; font-weight: 700; margin: 24px 0 12px; }
.page-content p { margin-bottom: 16px; color: var(--text-light); }
.page-content ul { margin: 16px 0 24px 24px; }
.page-content ul li { margin-bottom: 8px; color: var(--text-light); }

/* Info boxes */
.info-box {
  background: var(--bg-light); border-left: 4px solid var(--accent);
  border-radius: 16px; padding: 24px 28px; margin: 24px 0;
}
.info-box strong { color: var(--primary); }

/* Services list page */
.services-list { margin-top: 48px; }
.service-detail {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  align-items: start; padding: 28px 0; border-bottom: 1px solid #E2E8F0;
}
.service-detail:last-child { border-bottom: none; }
.service-detail-icon { font-size: 48px; text-align: center; padding-top: 4px; }
.service-detail h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px;
}
.contact-info-card {
  background: var(--bg-light); border-radius: 16px; padding: 36px;
}
.contact-info-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--primary); }
.contact-row { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.contact-row-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-row-text strong { display: block; font-weight: 700; margin-bottom: 2px; }
.contact-row-text a { color: var(--primary); font-weight: 600; }
.map-placeholder {
  background: #E2E8F0; border-radius: 16px;
  aspect-ratio: 4/3; display: flex; align-items: center;
  justify-content: center; color: var(--text-light); font-weight: 600;
}

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #1A2E4A; color: #CBD5E0; padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 {
  color: var(--white); font-weight: 700; font-size: 15px;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #CBD5E0; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col address { font-style: normal; font-size: 14px; line-height: 1.8; }
.footer-col address a { color: #CBD5E0; }
.footer-col address a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #2D4A6E; padding: 20px 0;
  text-align: center; font-size: 13px; color: #718096;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   BLOG / POST CONTENT
============================================================ */
.post-content h2 { font-size: 26px; font-weight: 800; color: var(--primary); margin: 40px 0 16px; }
.post-content h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 16px 0 24px 28px; }
.post-content ul li, .post-content ol li { margin-bottom: 10px; }
.post-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-light);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 18px;
}
.post-content img { border-radius: 8px; margin: 24px auto; }
.post-content a { color: var(--primary); font-weight: 600; }
.post-content a:hover { text-decoration: underline; }

/* Quick answer box */
.post-content .quick-answer,
.post-content .info-box {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 28px 0;
}

/* Pagination */
.page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 6px;
  border: 2px solid #E2E8F0;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.page-numbers.current,
.page-numbers:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

@media (max-width: 768px) {
  .services-grid.blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE CTA BUTTON FIX
============================================================ */
@media (max-width: 600px) {
  .cta-banner .btn {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 12px !important;
    text-align: center;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* Blog grid: 1 column on mobile */
@media (max-width: 600px) {
  .archive-grid,
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* Hide top info bar on mobile — too cramped */
@media (max-width: 768px) {
  .header-top { display: none; }
}

/* Blog cards on homepage — equal height matching payment cards */
.blog-card-home {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card-home .blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-home h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text);
  flex: 1;
}
.blog-card-home .read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 12px;
  display: inline-block;
}

/* ============================================================
   DROPDOWN NAV
============================================================ */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ' ▾';
  font-size: 11px;
  opacity: 0.6;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px 0;
  z-index: 1001;
  list-style: none;
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: none !important;
  white-space: nowrap;
}
.dropdown a:hover {
  background: var(--bg-light);
  color: var(--primary);
}
.has-dropdown:hover .dropdown { display: block; }

@media (max-width: 768px) {
  .dropdown {
    position: static;
    box-shadow: none;
    background: var(--bg);
    padding-left: 16px;
  }
  .has-dropdown:hover .dropdown,
  .dropdown { display: block; }
  .dropdown a { padding: 8px 16px; }
}

/* Fix dropdown - force hidden by default */
.has-dropdown .dropdown { display: none !important; }
.has-dropdown:hover .dropdown { display: block !important; }

@media (max-width: 768px) {
  .has-dropdown .dropdown { display: none !important; }
  .has-dropdown:hover .dropdown { display: block !important; }
}

/* Transparent header that becomes solid on scroll */
.site-header {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Photo gallery responsive */
@media (max-width: 600px) {
  div[style*="grid-template-columns:repeat(3,1fr)"][style*="aspect-ratio"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Nav: white text on transparent header (blue hero), dark text when scrolled */
.site-header .primary-nav a { color: #fff; border-bottom-color: transparent; }
.site-header .primary-nav a:hover,
.site-header .primary-nav a.active { color: #fff; border-bottom-color: #fff; }
.site-header .has-dropdown > a::after { color: #fff; }

.site-header.scrolled .primary-nav a { color: var(--text); }
.site-header.scrolled .primary-nav a:hover,
.site-header.scrolled .primary-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.site-header.scrolled .has-dropdown > a::after { color: var(--text); }

/* Dropdown always dark text (it's on white bg) */
.site-header .dropdown a { color: var(--text) !important; }
.site-header .dropdown a:hover { color: var(--primary) !important; }

/* Mobile nav overlay always dark */
@media (max-width: 768px) {
  .site-header .primary-nav a { color: var(--text); }
}

/* Override: header always white, never transparent */
.site-header { background: rgba(255,255,255,0.97) !important; box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important; }
.site-header .primary-nav a { color: var(--text) !important; }
.site-header .primary-nav a:hover,
.site-header .primary-nav a.active { color: var(--primary) !important; border-bottom-color: var(--primary) !important; }
.site-header .has-dropdown > a::after { color: var(--text) !important; }

/* Shorter header */
.header-main { padding: 10px 24px !important; }
.site-logo img { height: 44px !important; }

/* Push hero content below fixed header */
.hero { padding-top: 140px !important; }
.page-hero { padding-top: 100px !important; }


/* Organic decorative shapes */
.signature-block::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: var(--accent);
  opacity: 0.12;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  z-index: 0;
}
.signature-block { position: relative; overflow: hidden; }

.about-strip::before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: var(--primary);
  opacity: 0.10;
  border-radius: 50% 40% 60% 40% / 40% 60% 40% 60%;
  z-index: 0;
}
.about-strip { position: relative; overflow: hidden; }

.payment-bg::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: var(--accent);
  opacity: 0.11;
  border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%;
  z-index: 0;
}
.payment-bg { position: relative; overflow: hidden; }

/* Softer card hover */
.service-card {
  border: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* Signature badge warmer */
.signature-badge {
  background: var(--primary) !important;
  border-radius: 20px !important;
}

/* Stats bar warmer */
.stats-bar { background: var(--accent) !important; }

/* Section labels */
.section-label { color: var(--primary) !important; }


/* Clean white hero - Zight style */
.hero { color: var(--text) !important; }
.hero h1 { color: #1A1A1A !important; font-size: 44px !important; }
.hero p { color: var(--text-light) !important; opacity: 1 !important; }
.hero::before { display: none !important; }

/* Primary CTA - solid blue/teal rounded */
.btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  border-radius: 50px !important;
}
.btn-primary:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

/* Secondary CTA - white with border (Zight "Talk to Sales" style) */
.btn-outline {
  background: #fff !important;
  color: #1A1A1A !important;
  border: 2px solid #D1D5DB !important;
  border-radius: 50px !important;
}
.btn-outline:hover {
  background: #F9FAFB !important;
  border-color: #9CA3AF !important;
  color: #1A1A1A !important;
}

/* Stats bar - softer, not intense */
.stats-bar { background: #F3F4F6 !important; }
.stat-item { color: #1A1A1A !important; }
.stat-item span { color: var(--text-light) !important; }

/* CTA banner - keep teal but softer */
.cta-banner { background: var(--primary) !important; }

/* Blue button style */
.btn-blue {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
.btn-blue:hover {
  background: var(--primary-dark) !important;
}

/* Mobile hero spacing fix */
@media (max-width: 768px) {
  .hero { padding-top: 120px !important; padding-bottom: 60px !important; }
  .hero h1 { font-size: 32px !important; }
  .page-hero { padding-top: 90px !important; }
  .page-hero h1 { font-size: 28px !important; }
  
  /* Stats bar tighter on mobile */
  .stats-bar .container { gap: 8px !important; }
  .stat-item strong { font-size: 16px !important; }
  .stat-item span { font-size: 11px !important; }
}

/* Fix geo page hero buttons - match homepage style */
div[style*="background:#006B7D"] a[style*="background:#C9A574"] {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

/* Inner page heroes - white background to match homepage */
.page-hero {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  border-bottom: 1px solid #E5E7EB;
}
.page-hero h1 { color: #1A1A1A !important; }
.page-hero p { color: #5A6B7C !important; opacity: 1 !important; }
.breadcrumb { color: #5A6B7C !important; }
.breadcrumb a { color: #5A6B7C !important; }

/* CTA button spacing - consistent across site */
.hero-btns { gap: 16px !important; }

@media (max-width: 768px) {
  .hero-btns { gap: 12px !important; }
  .hero-btns .btn { margin-bottom: 0 !important; }
}

/* All inline CTA pairs - add gap */
a.btn + a.btn,
a[style*="border-radius:50px"] + a[style*="border-radius:50px"] {
  margin-top: 12px;
}

/* Fix hero CTA button height - match outline button */
.hero-btns .btn,
.hero-btns a.btn {
  padding: 14px 32px !important;
  line-height: 1.4 !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Mobile CTA text centering fix — 2026-06-08
   The hero buttons are inline-flex, so text-align alone does not center the label. */
.hero-btns .btn,
.hero-btns a.btn,
.cta-banner .btn,
.cta-banner a.btn {
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Hero CTA alignment fix - keep adjacent button margin from stretching flex row */
.hero-btns {
  align-items: center !important;
}
.hero-btns a.btn + a.btn,
.hero-btns .btn + .btn {
  margin-top: 0 !important;
}
