/* MOBILE & TYPE OPTIMIZATIONS FOR LO-CO */

/* 0. Base body size – applied sitewide */
body {
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  body {
    font-size: 17px;
  }
}

/* 1. Hero / page headers */
@media (max-width: 600px) {
  .hero,
  .county-hero,
  .page-hero {
    padding: 72px 20px 32px;
    min-height: auto;
  }

  .hero h1,
  .county-hero h1,
  .page-hero h1 {
    font-size: clamp(40px, 11vw, 60px);
    line-height: 1;
  }
}

/* 2. Hero stats simplification */
@media (max-width: 480px) {
  .hero-stats-wrap {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }

  /* hide some stat columns on very small screens */
  .hero-stat-div:nth-of-type(2),
  .hero-stat-div:nth-of-type(4) {
    display: none;
  }
}

/* 3. Buttons and CTAs for thumbs */
@media (max-width: 480px) {
  .btn.btn-xl,
  .btn.btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-actions-wrap,
  .schedule-grid,
  .portal-grid {
    gap: 10px;
  }

  .mobile-sticky-cta a {
    padding: 12px 10px;
    font-size: 15px;
  }
}

/* 4. Grids -> single column on smaller screens */
@media (max-width: 768px) {
  .info-grid,
  .county-grid,
  .nearby-counties,
  .schedule-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .info-block,
  .county-card,
  .nearby-card {
    padding: 20px 18px;
  }
}

/* 5. Compact nav on mobile */
@media (max-width: 600px) {
  .site-nav {
    padding: 8px 14px;
    height: 54px;
  }

  .nav-logo img {
    width: 30px;
  }

  .nav-logo-text {
    font-size: 14px;
  }

  .nav-links {
    display: none;
  }
}

/* 6. Promote all small UI text (labels, nav, small links) */
.small,
.nav-links a,
.nav-mobile-menu a,
.urgency-bar,
.urgency-item,
.sec-label,
.eyebrow,
.footer-center a,
.footer-right,
.c-seat,
.faq-q,
.faq-a,
.info-block li,
.schedule-grid a,
.portal-grid a {
  font-size: 14px;
}

/* On phones, never let them drop below 14px */
@media (max-width: 480px) {
  .small,
  .nav-links a,
  .nav-mobile-menu a,
  .urgency-bar,
  .urgency-item,
  .sec-label,
  .eyebrow,
  .footer-center a,
  .footer-right,
  .c-seat,
  .faq-q,
  .faq-a,
  .info-block li,
  .schedule-grid a,
  .portal-grid a {
    font-size: 14px;
  }
}

/* 7. Make key items a bit larger */
.c-name,
.faq-q {
  font-size: 18px;
}

.hero-actions-wrap .btn {
  font-size: 15px;
}

/* 8. Hero / county hero supporting text */
.hero p,
.county-hero p,
.page-hero p {
  font-size: 15px;
}

/* 9. Eyebrows / section labels (yellow-strip tier) */
.urgency-bar,
.urgency-item,
.sec-label,
.eyebrow,
.hero .anim-1,
.page-hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
}

@media (max-width: 480px) {
  .urgency-bar,
  .urgency-item,
  .sec-label,
  .eyebrow,
  .hero .anim-1,
  .page-hero .eyebrow {
    font-size: 13px;
  }
}

/* 10. FAQ section alignment */
.wrap-narrow {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

.faq-toggle {
  flex-shrink: 0;
}

/* 11. Bottom CTA + footer alignment */
.bottom-cta .bcta-grid {
  max-width: 960px;
  margin: 0 auto;
}

.footer-center {
  display: flex;
  gap: 24px;
  justify-content: center;
}


/* FINAL DESKTOP ALIGNMENT OVERRIDES */

/* Center the FAQ block and its toggles */
section#faq .wrap-narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

section#faq .faq-list {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

section#faq .faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

section#faq .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

section#faq .faq-toggle {
  flex-shrink: 0;
}

/* Make the yellow bottom CTA content truly centered */
section.bottom-cta .bcta-inner {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Center footer link row on the same axis as logo and contact */
footer.site-footer .footer-center {
  display: flex;
  justify-content: center;
  gap: 24px;
}
