/* Shared geographic presentation. Native Beaver Builder rows retain all content. */
body.kgeo-presentation {
  --kgeo-width: 1320px;
  --kgeo-gutter: clamp(12px, 3vw, 32px);
  --kgeo-gap: clamp(16px, 2vw, 30px);
  --kgeo-space: clamp(26px, 3.6vw, 52px);
  --kgeo-inset: clamp(18px, 4vw, 48px);
  --kgeo-radius: clamp(12px, 1.25vw, 18px);
  --kgeo-paper: #fff;
  --kgeo-sage: #f4f7f0;
  --kgeo-rule: #dbe5d3;
}

/* Inset panels reveal the site's existing charcoal and green canvas. */
.kgeo-presentation .fl-builder-content-primary > :is(.section:not(:where(.closing)), .lp-heading, .lp-cards, .kps-county-section) {
  box-sizing: border-box;
  width: min(var(--kgeo-width), calc(100% - 2 * var(--kgeo-gutter)));
  margin: var(--kgeo-gap) auto 0;
  border-radius: var(--kgeo-radius);
  background: var(--kgeo-paper);
}
.kgeo-presentation .fl-builder-content-primary > :is(.section:not(:where(.closing)), .lp-heading, .lp-cards) > .fl-row-content-wrap {
  padding-block: var(--kgeo-space) !important;
  padding-inline: var(--kgeo-inset) !important;
  background: transparent !important;
  border-radius: inherit;
}

.kgeo-presentation .fl-builder-content-primary > :is(.geo-services, .sh-regions-heading, .sh-regions, .sh-county-section, .geo-faq, .geo-start) {
  background: var(--kgeo-sage) !important;
}

/* Adjacent native rows that form one visual panel. */
.kgeo-presentation .fl-builder-content-primary > :is(.lp-heading, .sh-featured-heading, .sh-regions-heading, .sh-regions, .geo-services.geo-heading-row, .geo-engagements.geo-heading-row),
.kgeo-presentation .fl-builder-content-primary > .area-coverage:has(+ .kps-county-section),
.kgeo-presentation .fl-builder-content-primary > .geo-native-service:has(+ .geo-native-service) {
  border-end-start-radius: 0;
  border-end-end-radius: 0;
}
.kgeo-presentation .fl-builder-content-primary > :is(.lp-cards, .sh-featured, .sh-regions, .sh-county-section, .geo-native-service, .geo-native-engagements, .kps-county-section) {
  margin-block-start: 0;
  border-start-start-radius: 0;
  border-start-end-radius: 0;
}
.kgeo-presentation .fl-builder-content-primary > :is(.lp-heading, .sh-featured-heading, .sh-regions-heading, .geo-services.geo-heading-row, .geo-engagements.geo-heading-row) > .fl-row-content-wrap {
  padding-block-end: 14px !important;
}
.kgeo-presentation .fl-builder-content-primary > :is(.lp-cards, .sh-featured, .geo-native-engagements) > .fl-row-content-wrap {
  padding-block-start: 14px !important;
}
.kgeo-presentation .fl-builder-content-primary > :is(.sh-regions, .sh-county-section) > .fl-row-content-wrap {
  padding-block: 6px 12px !important;
}
.kgeo-presentation .fl-builder-content-primary > .sh-county-section > .fl-row-content-wrap {
  padding-block-end: var(--kgeo-space) !important;
}
.kgeo-presentation .sh-regions-heading .fl-module:has([data-statewide-finder]) > .fl-module-content {
  margin-block: 0 !important;
}
.kgeo-presentation .sh-regions-heading [data-statewide-finder] {
  margin-block: 14px 0;
}
.kgeo-presentation .sh-regions-heading [data-statewide-finder] [role="status"] {
  margin: 8px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}
.kgeo-presentation .fl-builder-content-primary > .geo-native-service > .fl-row-content-wrap {
  padding-block: 0 !important;
}
.kgeo-presentation .fl-builder-content-primary > .geo-native-service:not(:has(+ .geo-native-service)) > .fl-row-content-wrap {
  padding-block-end: clamp(22px, 3vw, 42px) !important;
}
.kgeo-presentation .geo-native-service .fl-module-content {
  margin-block: 0 !important;
}
.kgeo-presentation .geo-native-service .fl-col-content {
  min-width: 0;
}
.kgeo-presentation .fl-builder-content-primary > .area-coverage:has(+ .kps-county-section) > .fl-row-content-wrap {
  padding-block-end: 18px !important;
}
.kgeo-presentation .fl-builder-content-primary > .kps-county-section {
  padding: 0 var(--kgeo-inset) var(--kgeo-space);
}
.kgeo-presentation .kps-county-section > .kps-county-inner {
  padding: 18px 0 0;
  border-top: 1px solid var(--kgeo-rule);
}
.kgeo-presentation .fl-builder-content-primary > .closing {
  margin-block-start: var(--kgeo-gap);
}

/* Market pages preserve the early local brief, proof and enquiry choices. */
.kgeo-presentation.kgeo-market .fl-builder-content-primary > .geo-industries:has(+ .geo-services) {
  background: #f8faf5 !important;
}


@media (max-width: 600px) {
  body.kgeo-presentation {
    --kgeo-inset: 12px;
  }
}



/* Pilot entry paths and shared Beaver Builder catalog. */
.kgeo-presentation .fl-builder-content-primary > .kgeo-shared-services {
  margin-block-start: 0;
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  background: var(--kgeo-sage) !important;
}
.kgeo-presentation .fl-builder-content-primary > .kgeo-shared-services > .fl-row-content-wrap {
  padding-block: 0 var(--kgeo-space) !important;
}
.kgeo-presentation .kgeo-service {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(10px, 2vw, 28px);
  align-items: start;
  padding: clamp(16px, 2vw, 26px) 0;
  border-top: 1px solid var(--kgeo-rule);
}
.kgeo-presentation .kgeo-service h3 { margin: 0; font-size: clamp(19px, 2vw, 25px); line-height: 1.3; }
.kgeo-presentation .kgeo-service p { margin: 0; }
.kgeo-presentation .kgeo-service-number { color: #3e6437; font-weight: 700; }
/* Rich Text can insert an empty paragraph after the inline service number. */
.kgeo-presentation .kgeo-service > p:empty { display: none; }
.kgeo-presentation .kgeo-service > .kgeo-service-number { grid-area: 1 / 1; }
.kgeo-presentation .kgeo-service > h3 { grid-area: 1 / 2; }
.kgeo-presentation .kgeo-service > div { grid-area: 1 / 3; }
.kgeo-presentation .kgeo-service h3 a,
.kgeo-presentation .kgeo-project-links a,
.kgeo-presentation .kgeo-finder-help a { color: #315329; text-decoration: underline; text-underline-offset: .2em; }
.kgeo-presentation .kgeo-project-links { padding-inline-start: 1.2em; margin: .7rem 0 0; }
.kgeo-presentation .kgeo-project-links li { padding-block: 4px; }
.kgeo-presentation .kgeo-entry-options h2 { margin: 0 0 12px; }
.kgeo-presentation .kgeo-entry-options p { margin: 0 0 10px; }
.kgeo-presentation .kgeo-choice-links,
.kgeo-presentation .kgeo-county-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.kgeo-presentation .kgeo-choice-links a,
.kgeo-presentation .kgeo-county-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px;
  border: 1px solid #b8c9af; border-radius: 5px;
  color: #294524; background: #f4f7f0; font-weight: 650;
}
.kgeo-presentation .kgeo-county-links { margin-top: 12px; }
.kgeo-presentation .kgeo-hero-followup { margin: 12px 0 0; }
.kgeo-presentation .kgeo-hero-followup a { color: #e9f2e3; text-decoration: underline; text-underline-offset: .2em; }
.kgeo-presentation #find-a-city { scroll-margin-top: 110px; }
.kgeo-presentation .kgeo-finder-help { margin: 10px 0 0; font-size: 15px; }
.kgeo-presentation .fl-builder-content-primary > .kps-discovery {
  width: min(var(--kgeo-width), calc(100% - 2 * var(--kgeo-gutter)));
  margin: var(--kgeo-gap) auto 0;
  border-radius: var(--kgeo-radius);
}
.kgeo-presentation :is(.kgeo-choice-links, .kgeo-county-links, .kgeo-service, .kgeo-finder-help) a:focus-visible {
  outline: 3px solid #4f713a; outline-offset: 3px;
}
.kgeo-presentation .kgeo-industry-directory a { min-height: 44px; }
@media (max-width: 600px) {
  .kgeo-presentation .kgeo-service { grid-template-columns: 1.8rem minmax(0, 1fr); }
  .kgeo-presentation .kgeo-service > div { grid-area: 2 / 2; }
  .kgeo-presentation :is(.kgeo-choice-links, .kgeo-county-links) { gap: 8px; }
}


/* Beaver can render the Greensboro tools HTML module without its inner wrapper. */
.kgeo-presentation.kgeo-market .ks-tools-row .fl-module-html,
.kgeo-presentation.kgeo-market .ks-tools-row .fl-module-content {
  margin: 0 !important;
}


/* Center the shared closing copy and actions on the same axis. */
.kgeo-presentation .kgeo-shared-closing .fl-module {
  margin-inline: auto;
  text-align: center;
}
.kgeo-presentation .kgeo-shared-closing :is(.eyebrow, h2, p) {
  margin-inline: auto !important;
}


/* Keep county postcard navigation compact as the city directory grows. */
@media (max-width: 600px) {
  .kgeo-presentation.kgeo-county .kps-discovery {
    padding: 18px 12px;
  }
  .kgeo-presentation.kgeo-county .kps-discovery-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .kgeo-presentation.kgeo-county .kps-discovery-card h3 {
    font-size: 18px;
    line-height: 1.3;
    padding-block: 8px;
  }
}


/* Market pages use the coverage row for local guidance and the shared industry list. */
@media (min-width: 801px) {
  .kgeo-presentation.kgeo-market .area-coverage.geo-industries .fl-row-content > .fl-col-group {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: var(--kgeo-gap);
    align-items: start;
  }
}


/* Balance heading lines across geographic layouts to avoid isolated trailing words. */
.kgeo-presentation .fl-builder-content-primary :is(h1, h2, h3, h4, h5, h6) {
  text-wrap: balance;
}

