/* ==========================================================================
   Service Areas pages: hub and region pages (one stylesheet)
   Pages:  /service-areas/generator-rental.html                      (hub)
           /service-areas/south-florida-generator-services.html      (region)
           /service-areas/treasure-coast-generator-services.html     (region)
           /service-areas/central-florida-generator-services.html    (region)

   PART A: hub. Everything is nested under <main class="service-areas-hub">, so no
           other page is affected. Also holds the components the region pages share:
           hero, partner intro, buttons, feature tiles and section headings.
   PART B: region pages. Nested under <main class="service-areas-hub region-page">:
           county cards, assistance card and bar, feature split, other regions.
           It comes after part A on purpose, because it overrides a few of its rules.

   Naming follows BEM (block__element--modifier).
   The <link> has no ?v= version, so after editing this file hard-refresh (Ctrl+F5);
   browsers and the server can keep serving a cached copy.
   ========================================================================== */


/* ##########################################################################
   PART A: HUB AND SHARED COMPONENTS
   ########################################################################## */

/* ---------- Page scope, variables and resets ---------- */

.service-areas-hub {
  --accent: #ffcc29;
  --surface: #222222;
  --ink: #191919;
  --font-heading: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;

  clear: both;
  width: 100%;
  overflow: hidden;
  background: #000000;
  color: #ffffff;
  font-family: var(--font-body);
  line-height: 1.5;
}

.service-areas-hub *,
.service-areas-hub *::before,
.service-areas-hub *::after {
  box-sizing: border-box;
}

/* Neutralise the global p / a / h2 / ul rules from style.css and county-pages.css */
.service-areas-hub :where(h1, h2, h3, h4, p, ul, li, address) {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  font-style: normal;
  background: none;
}

.service-areas-hub :where(p, li, address) {
  color: inherit;
  line-height: 1.45;
}

.service-areas-hub :where(a) {
  color: inherit;
  text-decoration: none;
}

.service-areas-hub :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
}

.service-areas-hub a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.service-areas-hub :where(h1, h2, h3) {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}


/* ---------- Shared layout and typography ---------- */

.section-container {
  width: min(1590px, 83.2vw);
  margin: 0 auto;
}

.section-header {
  text-align: center;
}

.section-eyebrow {
  margin-bottom: 0.25em;
  color: var(--accent);
  font-size: clamp(13px, 1.15vw, 23px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 0.35em;
  font-size: clamp(26px, 2.75vw, 54px);
  line-height: 1.08;
}

.section-tagline {
  margin-bottom: 0.8em;
  color: var(--accent);
  font-size: clamp(14px, 1.3vw, 25px);
}

.section-lead {
  font-size: clamp(15px, 1.5vw, 29px);
}

.section-subtitle {
  margin: 0.4em 0 clamp(24px, 3.2vw, 62px);
  font-size: clamp(14px, 1.45vw, 28px);
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: clamp(8px, 0.9vw, 18px);
}


/* ---------- Buttons ---------- */

.cta-button {
  display: inline-block;
  padding: 0.6em 0.95em;
  border: 3px solid transparent;
  font-family: var(--font-heading);
  font-size: clamp(16px, 2vw, 38px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cta-button--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

/* the site's global "a:hover, a:focus { color: inherit }" would turn the text white, so the colour is set explicitly */
.cta-button--primary:hover,
.cta-button--primary:focus {
  background: #ffd84d;
  border-color: #ffd84d;
  color: var(--ink);
}

.cta-button--outline {
  border-color: #ffffff;
  color: #ffffff;
}

.cta-button--outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.cta-button--dark {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.cta-button--dark:focus {
  color: #ffffff;
}

.cta-button--dark:hover {
  background: #ffffff;
  color: #000000;
}


/* ---------- 1. Hero ---------- */

.regional-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: clamp(330px, 34.5vw, 700px);
  overflow: hidden;
  background: #0a1a30;
}

.regional-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.39));
}

.regional-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.regional-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(22px, 3vw, 58px);
}

.regional-hero__title {
  margin-bottom: 0.3em;
  font-size: clamp(32px, 4.05vw, 81px);
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.regional-hero__title-accent {
  display: block;
  color: var(--accent);
}

.regional-hero__regions {
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(14px, 1.25vw, 25px);
  font-weight: 500;
}

.regional-hero__region:nth-child(odd) {
  color: var(--accent);
}

.regional-hero__region:not(:last-child)::after {
  content: "\00B7";
  margin: 0 0.45em;
  color: #ffffff;
}


/* ---------- 2. Partner intro ---------- */

.partner-intro {
  padding: clamp(28px, 2.9vw, 56px) 0 clamp(40px, 4.4vw, 84px);
}

.partner-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.1vw, 22px);
  margin: clamp(20px, 2.3vw, 44px) 0 clamp(20px, 2.6vw, 50px);
}

.feature-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.95vw, 38px);
}

.feature-tiles__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: clamp(90px, 8.7vw, 166px);
  padding: clamp(14px, 1.6vw, 30px) 10px;
  background: var(--surface);
  font-size: clamp(14px, 1.45vw, 28px);
  text-align: center;
}

.feature-tiles__icon {
  width: auto;
  height: clamp(28px, 3.5vw, 66px);
}


/* ---------- 3. Service regions ---------- */

.service-regions {
  padding: clamp(24px, 2.5vw, 48px) 0 clamp(36px, 4vw, 76px);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.8vw, 54px);
  width: 97.7%;
  margin: 0 auto;
}

.region-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.region-card__image {
  width: 100%;
  aspect-ratio: 480 / 334;
  object-fit: cover;
}

.region-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(14px, 1.45vw, 28px);
}

.region-card__title {
  margin-bottom: 0.45em;
  font-size: clamp(22px, 2vw, 40px);
  line-height: 1.1;
}

.region-card__description {
  margin-bottom: 1em;
  font-size: clamp(13px, 1.15vw, 22px);
  line-height: 1.35;
}

.region-card__counties-heading {
  margin-bottom: 0.4em;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 21px);
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

.county-list {
  font-size: clamp(13px, 1.1vw, 21px);
  line-height: 1.45;
}

.county-list__item {
  display: inline;
}

.county-list__item:not(:last-child)::after {
  content: ", ";
}

.county-list__item:nth-last-child(2)::after {
  content: " and ";
}

.county-list__item:last-child::after {
  content: ".";
}

.region-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.6em;
  margin-top: auto;
  padding-top: 1.3em;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.65vw, 32px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.region-card__link-icon {
  flex: none;
  width: 1.7em;
  height: auto;
  transition: transform 0.2s;
}

.region-card__link:hover .region-card__link-icon {
  transform: translateX(6px);
}


/* ---------- 4. Power solutions ---------- */

.power-solutions {
  padding: clamp(28px, 2.6vw, 50px) 0 clamp(36px, 4.6vw, 88px);
  background: var(--surface);
  scroll-margin-top: 110px;
}

.power-solutions__layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(24px, 4vw, 76px);
  align-items: center;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.4vw, 64px) 2vw;
  margin-top: clamp(28px, 3.6vw, 70px);
}

.service-list__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  font-size: clamp(15px, 1.55vw, 30px);
  text-align: center;
}

.service-list__link:hover .service-list__label {
  color: var(--accent);
}

.service-list__icon {
  width: auto;
  height: clamp(30px, 3.4vw, 64px);
}


/* ---------- 5. Regional support ---------- */

.regional-support {
  padding: clamp(24px, 2.6vw, 50px) 0 clamp(24px, 2.5vw, 48px);
}

.regional-support__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 76px);
  align-items: center;
}

.regional-support__image {
  aspect-ratio: 1080 / 1350;
  object-fit: cover;
}

.regional-support .section-title {
  font-size: clamp(24px, 2.1vw, 41px);
}

.coverage-summary {
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
  margin-top: clamp(18px, 2.2vw, 42px);
  padding-top: clamp(14px, 1.5vw, 28px);
  border-top: 2px solid #ffffff;
}

.coverage-summary__icon {
  flex: none;
  width: auto;
  height: clamp(28px, 2.8vw, 54px);
}

.coverage-summary__headline {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.75vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.coverage-summary__text {
  font-size: clamp(13px, 1.3vw, 25px);
}

.office-list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 1.6vw, 32px) clamp(18px, 2.4vw, 46px);
  margin: clamp(14px, 1.6vw, 30px) 0 0 clamp(0px, 3.3vw, 63px);
}

.office-list__item {
  flex: 1 1 0;
  min-width: 0;
}

.office-list__region {
  margin-bottom: 0.35em;
  color: var(--accent);
  font-size: clamp(18px, 1.5vw, 29px);
  white-space: nowrap;
}

.office-list__address {
  font-size: clamp(12px, 1.05vw, 20px);
  line-height: 1.4;
}

.office-list__street,
.office-list__locality {
  display: block;
}


/* ---------- 6. Quote call to action ---------- */

.quote-cta {
  padding: clamp(22px, 2.4vw, 46px) 0 clamp(24px, 2.6vw, 50px);
  background: var(--accent);
  color: var(--ink);
  text-align: center;
}

.quote-cta .section-title {
  color: #000000;
  margin-bottom: 0.3em;
}

.quote-cta__title-part {
  white-space: nowrap;
}

.quote-cta__text {
  font-size: clamp(14px, 1.4vw, 27px);
}

.quote-cta__action {
  margin-top: 0.9em;
}

.quote-cta a:focus-visible {
  outline-color: #000000;
}


/* ---------- Tablet and mobile ---------- */

@media (max-width: 900px) {
  .section-container {
    width: calc(100% - 40px);
  }

  .regional-hero {
    height: auto;
    min-height: 340px;
  }

  .regional-hero__content {
    padding-top: 120px;
  }

  .feature-tiles,
  .region-grid,
  .power-solutions__layout,
  .regional-support__layout {
    grid-template-columns: 1fr;
  }

  .region-grid {
    width: 100%;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .office-list {
    flex-direction: column;
    margin-left: 0;
  }

  .regional-support__image {
    max-height: 420px;
  }

  /* Intro buttons: full width, stacked */
  .partner-intro__actions {
    flex-direction: column;
    gap: 12px;
  }

  .partner-intro__actions .cta-button {
    display: block;
    width: 100%;
    padding: 0.7em 0.95em;
    font-size: 18px;
    text-align: center;
  }

  /* Office addresses: street and city on a single line */
  .office-list__address {
    font-size: clamp(11px, 3.3vw, 14px);
    white-space: nowrap;
  }

  .office-list__street,
  .office-list__locality {
    display: inline;
  }

  .office-list__street::after {
    content: ",";
  }

  /* Quote call to action: the heading scales so "Need Power Solutions in" always fits on one line */
  .quote-cta .section-title {
    font-size: clamp(20px, 6.6vw, 30px);
  }
}


/* ##########################################################################
   PART B: REGION PAGES
   ########################################################################## */

/* ---------- 1. Hero tweaks ---------- */

.region-page .regional-hero__title {
  font-size: clamp(28px, 3.3vw, 66px);
}

.region-page .regional-hero__highlights {
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(14px, 1.3vw, 26px);
  font-weight: 500;
}

.region-page .regional-hero__highlight:not(:last-child)::after {
  content: "\00B7";
  margin: 0 0.45em;
}


/* ---------- 2. Intro tweaks (desktop) ---------- */

@media (min-width: 901px) {
  .region-page .regional-hero {
    height: clamp(330px, 35.8vw, 720px);
  }

  .region-page .partner-intro .section-lead {
    font-size: clamp(14px, 1.25vw, 25px);
  }

  .region-page .partner-intro .cta-button {
    font-size: clamp(15px, 1.7vw, 32px);
  }
}


/* ---------- 3. County directory ---------- */

.county-directory {
  padding: clamp(24px, 2.5vw, 48px) 0 clamp(36px, 4vw, 80px);
}

.county-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3.4vw, 66px);
}

/* three larger cards per row; an incomplete last row is centred */
.county-grid--three {
  --county-gap: clamp(18px, 4.5vw, 86px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--county-gap);
}

.county-grid--three > * {
  flex: 0 0 calc((100% - 2 * var(--county-gap)) / 3);
}

.county-grid--three .county-card,
.county-grid--three .assistance-card {
  padding: clamp(16px, 2.4vw, 46px) clamp(16px, 2.1vw, 40px);
}

.county-grid--three .county-card__icon,
.county-grid--three .assistance-card__icon {
  height: clamp(36px, 4.5vw, 86px);
}

.county-grid--three .county-card__title,
.county-grid--three .assistance-card__title {
  font-size: clamp(20px, 1.95vw, 38px);
}

.county-grid--three .county-card__description,
.county-grid--three .assistance-card__text {
  font-size: clamp(14px, 1.5vw, 28px);
}

.county-grid--three .county-card__link,
.county-grid--three .assistance-card__link {
  font-size: clamp(15px, 1.65vw, 32px);
}

.county-card,
.assistance-card {
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 1.85vw, 36px) clamp(14px, 1.6vw, 30px);
}

.county-card {
  background: var(--surface);
  border: 1px solid #fff;
}

.county-card__icon,
.assistance-card__icon {
  align-self: flex-start;
  width: auto;
  height: clamp(32px, 3.5vw, 68px);
  margin-bottom: clamp(10px, 1.2vw, 24px);
}

.county-card__title {
  margin-bottom: 0.5em;
  font-size: clamp(17px, 1.45vw, 28px);
  line-height: 1.1;
}

.county-card__description,
.assistance-card__text {
  font-size: clamp(13px, 1.15vw, 22px);
  line-height: 1.35;
}

/* short divider line above the button / link, pinned to the bottom of the card */
.county-card__footer,
.assistance-card__footer {
  margin-top: auto;
  padding-top: clamp(14px, 1.6vw, 30px);
}

.county-card__footer::before,
.assistance-card__footer::before {
  content: "";
  display: block;
  width: 64%;
  margin-bottom: clamp(12px, 1.4vw, 26px);
  border-top: 2px solid rgba(255, 255, 255, 0.55);
}

.county-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.55em 1em;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.3vw, 25px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.county-card__link:hover,
.county-card__link:focus {
  background: #ffd84d;
  color: var(--ink);
}

.county-card__link-icon,
.assistance-card__link-icon {
  width: 1.9em;
  height: auto;
  transition: transform 0.2s;
}

.county-card__link:hover .county-card__link-icon,
.assistance-card__link:hover .assistance-card__link-icon {
  transform: translateX(4px);
}

/* yellow "Need Assistance?" card at the end of the grid */
.assistance-card {
  background: var(--accent);
  color: var(--ink);
  border: 1px solid #fff;
}

.assistance-card__title {
  margin-bottom: 0.5em;
  color: var(--ink);
  font-size: clamp(17px, 1.45vw, 28px);
  line-height: 1.1;
}

.assistance-card__footer::before {
  border-top-color: var(--ink);
}

.assistance-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.3vw, 25px);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.assistance-card a:focus-visible {
  outline-color: var(--ink);
}


/* ---------- 3b. Assistance bar (Treasure Coast) ---------- */

.assistance-bar {
  margin-bottom: clamp(12px, 2.4vw, 46px);
  padding: clamp(16px, 1.9vw, 36px) 0;
  background: var(--surface);
}

.assistance-bar__layout {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 30px);
}

.assistance-bar__icon {
  flex: none;
  width: auto;
  height: clamp(40px, 4.4vw, 86px);
}

.assistance-bar__content {
  flex: 1;
}

.assistance-bar__title {
  margin-bottom: 0.15em;
  font-size: clamp(22px, 2.5vw, 48px);
  line-height: 1.05;
}

.assistance-bar__title-part {
  white-space: nowrap;
}

.assistance-bar__text {
  font-size: clamp(14px, 1.25vw, 24px);
}

.assistance-bar__button {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.8em;
  padding: 0.55em 1.2em;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.9vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.assistance-bar__button:hover,
.assistance-bar__button:focus {
  background: #ffd84d;
  color: var(--ink);
}

.assistance-bar__button-icon {
  width: 1.9em;
  height: auto;
  transition: transform 0.2s;
}

.assistance-bar__button:hover .assistance-bar__button-icon {
  transform: translateX(4px);
}


/* ---------- 4. Feature split: photo + heading + checklist ---------- */

.feature-split {
  padding: clamp(28px, 2.6vw, 50px) 0;
  background: var(--surface);
}

.feature-split__layout {
  display: grid;
  grid-template-columns: 0.43fr 0.57fr;
  gap: clamp(24px, 2.4vw, 46px);
  align-items: center;
}

.feature-split__image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* mirrored variant: text on the left, photo on the right */
.feature-split--reverse .feature-split__layout {
  grid-template-columns: 0.56fr 0.44fr;
}

.feature-split--reverse .section-title {
  font-size: clamp(22px, 2.25vw, 44px);
}

/* boxed variant: the same content inside a dark panel inset on the black page (Central Florida) */
.feature-split--panel {
  background: #000000;
}

.feature-split--panel .feature-split__layout {
  grid-template-columns: 0.56fr 0.44fr;
  width: min(1700px, 88.6vw);
  padding: clamp(24px, 3.5vw, 68px) clamp(24px, 3.1vw, 60px);
  background: var(--surface);
}

.feature-split--panel .section-eyebrow {
  font-size: clamp(14px, 1.4vw, 27px);
}

.feature-split--panel .section-title {
  font-size: clamp(24px, 3vw, 58px);
}

.feature-split--panel .check-list__item {
  font-size: clamp(16px, 1.7vw, 33px);
}

.feature-split--panel .check-list__icon {
  height: clamp(30px, 3vw, 58px);
}

.check-list {
  margin-top: clamp(18px, 2.2vw, 42px);
}

.check-list__item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 26px);
  padding: clamp(8px, 1vw, 20px) 0;
  font-size: clamp(15px, 1.55vw, 30px);
  line-height: 1.3;
}

.check-list__icon {
  flex: none;
  width: auto;
  height: clamp(26px, 2.5vw, 48px);
}


/* ---------- 5. Other regions ---------- */

.other-regions {
  padding: clamp(28px, 3vw, 58px) 0 clamp(48px, 7vw, 134px);
}

.other-regions .section-title {
  margin-bottom: 0.2em;
  font-size: clamp(26px, 3.3vw, 64px);
}

.other-regions .section-subtitle {
  margin-bottom: clamp(24px, 3vw, 58px);
  font-size: clamp(14px, 1.9vw, 36px);
}

.other-regions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 3.3vw, 64px);
  width: 98%;
  margin: 0 auto;
}

.other-region-card {
  display: flex;
  flex-direction: column;
  padding-bottom: clamp(24px, 4.4vw, 84px);
  overflow: hidden;
  background: var(--surface);
  border-radius: clamp(6px, 0.7vw, 14px);
}

.other-region-card__image {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.other-region-card__body {
  padding: clamp(14px, 1.5vw, 30px) clamp(16px, 1.6vw, 32px) 0;
}

.other-region-card__title {
  margin-bottom: 0.35em;
  color: var(--accent);
  font-size: clamp(22px, 2.7vw, 52px);
  line-height: 1.1;
}

.other-region-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.7vw, 32px);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.other-region-card__link-icon {
  width: 1.7em;
  height: auto;
  transition: transform 0.2s;
}

.other-region-card__link:hover .other-region-card__link-icon {
  transform: translateX(6px);
}


/* ---------- Tablet and mobile ---------- */

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

  .county-grid--three > * {
    flex-basis: calc((100% - var(--county-gap)) / 2);
  }
}

@media (max-width: 900px) {
  .feature-split__layout,
  .feature-split--reverse .feature-split__layout,
  .feature-split--panel .feature-split__layout,
  .other-regions__grid {
    grid-template-columns: 1fr;
  }

  .feature-split--panel .feature-split__layout {
    width: calc(100% - 24px);
    padding: 24px 20px;
  }

  /* long section headings stay on one line */
  .county-directory .section-title,
  .other-regions .section-title {
    font-size: clamp(15px, 5.3vw, 28px);
    white-space: nowrap;
  }

  .other-regions__grid {
    width: 100%;
  }

  .feature-split__image {
    max-height: 460px;
  }
}

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

  .county-grid--three > * {
    flex-basis: 100%;
  }

  .assistance-bar__layout {
    flex-wrap: wrap;
  }

  .assistance-bar__title {
    font-size: clamp(18px, 5.6vw, 26px);
  }

  .assistance-bar__content {
    flex-basis: calc(100% - 80px);
  }

  .assistance-bar__button {
    justify-content: center;
    width: 100%;
  }
}
