/* ==========================================================================
   Kinetico Quality Water Systems of SW VA 2026 brand
   Self-contained stylesheet (the parent dist/front.css is a purged Tailwind
   build, so new components cannot rely on arbitrary utilities).
   Loads after child style.css; Customizer CSS was folded in here.
   ========================================================================== */

:root {
  --ksv-navy: #032a42;        /* header, hero panel, footer, footer CTA */
  --ksv-navy-2: #184a67;      /* nav bar, water score, endorsement card, map section */
  --ksv-navy-3: #0f3d58;      /* endorsement card accent */
  --ksv-green: #00c78b;       /* buttons, pre-titles */
  --ksv-green-dark: #00a874;
  --ksv-light-blue: #5fb3dd;  /* utility bar, category labels, footer headings */
  --ksv-gold: #f5ad03;        /* rating stars */
  --ksv-orange: #ec6229;      /* zip GO button */
  --ksv-mist: #d1dbe1;        /* image backing plate, dividers */
  --ksv-muted: #bac9d2;       /* secondary text on navy */
  --ksv-text: #184a67;
  --ksv-radius: 6px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
/* Site content width (parent theme default is 1156px) */
.wrap,
.acf-block-preview .wrap {
  max-width: 1280px;
}

body {
  color: var(--ksv-text);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ksv-text);
  font-weight: 400;
}

.prose {
  --tw-prose-headings: var(--ksv-text);
  --tw-prose-body: var(--ksv-text);
  --tw-prose-bold: var(--ksv-text);
}

.prose :where(a):not(:where([class~="not-prose"] *)) {
  color: var(--ksv-navy-2);
}

.prose ul li {
  list-style-position: inside;
}

body *::selection {
  background-color: var(--ksv-navy);
  color: #fff;
}

.shadow {
  box-shadow: none;
}

/* Pre-titles (block templates + parent helpers) */
.pre-title,
div.font-semibold.uppercase.text-primary.text-sm,
.hero-block h4.text-primary,
.social-proof h4.text-primary {
  color: var(--ksv-green);
  font-family: Poppins, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
a.button,
input[type="submit"],
.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button {
  background: var(--ksv-green);
  border: 2px solid var(--ksv-green);
  border-radius: var(--ksv-radius);
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.95rem 2rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

a.button:hover,
a.button:focus,
input[type="submit"]:hover,
.gform_wrapper .gform_button:hover {
  background: var(--ksv-green-dark);
  border-color: var(--ksv-green-dark);
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

a.button.button--outline {
  background: #fff;
  border-color: var(--ksv-green);
  color: var(--ksv-green);
}

a.button.button--outline:hover,
a.button.button--outline:focus {
  background: var(--ksv-green);
  color: #fff;
}

.js-toggle-button,
a.button.js-toggle-button {
  background: transparent !important;
  border: 0;
  color: var(--ksv-green);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 0;
  text-transform: uppercase;
}

.js-toggle-button:hover {
  color: var(--ksv-green-dark);
}

/* --------------------------------------------------------------------------
   Utility bar
   -------------------------------------------------------------------------- */
.utility-bar {
  padding: 6px 15px;
}

.utility-bar img {
  margin-right: 15px;
  max-width: 300px;
}

.utility-text,
.utility-text a,
.ksv-sale-link {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
  white-space: normal;
}

@media (max-width: 639px) {
  .utility-text {
    font-size: 12px;
  }
}

.utility-bar__text {
  margin-right: 5px;
}

.utility-bar__button {
  background-color: #222;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 0.7rem !important;
  font-weight: 700;
  margin-left: 15px;
  padding: 0.5rem;
}

.utility-bar__button:hover {
  background-color: var(--ksv-navy);
  color: #fff !important;
  text-decoration: none;
}

.utility-bar__image {
  margin-right: 15px;
  max-width: 240px;
}

/* --------------------------------------------------------------------------
   Site header
   -------------------------------------------------------------------------- */
/* Fixed header: the parent front.js measures .site-header and pushes .site-inner down to match. */
.site-header {
  background: var(--ksv-navy);
  border: none;
  max-width: 2200px;
  padding-top: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.admin-bar .site-header {
  margin-top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    margin-top: 46px;
  }
}

.site-header .wrap {
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .site-header .wrap {
    z-index: 2000;
  }
}

.site-header .title-area a:hover {
  opacity: 0.85;
}

.site-header .max-w-\[250px\] {
  max-width: 220px;
}

/* Breathing room around the logo */
.site-header .title-area a {
  display: block;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Keep logo + phone + burger on one row on phones. */
@media (max-width: 639px) {
  .site-header .max-w-\[250px\] {
    max-width: 170px;
  }

  .site-header .title-area a {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .site-header .mr-6 {
    margin-right: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .site-header .lg\:max-w-\[300px\] {
    max-width: 230px;
  }
}

@media (min-width: 1280px) {
  .site-header .xl\:max-w-\[400px\] {
    max-width: 260px;
  }
}

.nav-areas {
  display: block;
  flex: 0 0 100%;
}

/* Rating */
.ksv-header-rating__row {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.ksv-header-rating .stars,
.site-header .stars,
.stars {
  color: var(--ksv-gold);
}

.ksv-header-rating__score {
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 0.95rem;
}

.ksv-header-rating__count {
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 0.85rem;
  margin-top: 2px;
  text-align: center;
}

/* Location switcher + phone: white on navy */
.site-header .text-gray-500,
.site-header .text-gray-700 {
  color: var(--ksv-muted);
}

.site-header .location-switcher-names-wrap div,
.site-header .location-switcher-select-wrap .text-xs,
.site-header .location-switcher-select-wrap .text-alert,
.site-header .location-phone-numbers-wrap a,
.site-header .text-alert {
  color: #fff;
}

.site-header .location-phone-numbers-wrap a:hover {
  color: var(--ksv-light-blue);
}

/* Header CTA button */
a.ksv-header-btn,
a.header-btn {
  text-decoration: none;
}

@media (min-width: 1024px) {
  .site-header .ksv-header-btn {
    margin-right: 1.5rem;
  }
}

.ksv-header-btn__inner {
  align-items: center;
  background: var(--ksv-green);
  border-radius: var(--ksv-radius);
  color: #fff;
  display: flex;
  flex-direction: column;
  font-family: Poppins, sans-serif;
  justify-content: center;
  line-height: 1.1;
  min-width: 190px;
  padding: 0.6rem 1.6rem;
  transition: background 0.2s ease;
}

.ksv-header-btn:hover .ksv-header-btn__inner {
  background: var(--ksv-green-dark);
}

.ksv-header-btn__line1 {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ksv-header-btn__line2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-menu-icon {
  color: #fff;
}

/* Primary nav */
nav.nav-primary {
  background: var(--ksv-navy-2);
  border-bottom: none;
  padding: 0.75rem 0;
}

nav.nav-primary .menu-item > a {
  color: #fff !important;
  font-family: Poppins, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 1.1rem;
  text-transform: none;
}

nav.nav-primary .menu-item:hover > a,
nav.nav-primary .menu-item.current-menu-item > a,
nav.nav-primary .menu-item.current-menu-ancestor > a,
nav.nav-primary .menu-item.current-menu-parent > a {
  color: var(--ksv-light-blue) !important;
}

nav.nav-primary .menu-item.menu-item-has-children > a:after {
  border-top: 0.5rem solid var(--ksv-light-blue);
}

nav.nav-primary .menu-item > .sub-menu,
nav.nav-primary .menu-item > .sub-menu li.menu-item {
  background: var(--ksv-navy-2);
}

nav.nav-primary .menu-item > .sub-menu li.menu-item > a:hover,
nav.nav-primary .menu-item > .sub-menu li.menu-item > a:focus,
nav.nav-primary .menu-item > .sub-menu li.menu-item.current-menu-item > a {
  background: var(--ksv-navy);
  color: #fff !important;
}

@media (min-width: 1024px) {
  .mega-menu .sub-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 550px !important;
  }
}

/* Mobile sub-bar (rating + location) */
.ksv-mobile-subbar {
  background: var(--ksv-navy-2);
  border-bottom: none;
}

.ksv-mobile-subbar .text-gray-500,
.ksv-mobile-subbar .text-alert,
.ksv-mobile-subbar .location-switcher-names-wrap div,
.ksv-mobile-subbar .location-switcher-select-wrap .text-xs {
  color: #fff;
}

.ksv-header-rating--mobile .ksv-header-rating__score {
  font-size: 0.85rem;
}

/* Mobile menu */
.mobile-menu {
  background-color: var(--ksv-navy);
}

.mobile-menu .menu li > a {
  color: #fff;
}

.mobile-menu .menu li:hover > a,
.mobile-menu .menu li.current-menu-item > a,
.mobile-menu .menu li.current-menu-ancestor > a,
.mobile-menu .menu li.current-menu-parent > a {
  color: #fff;
}

.mobile-menu .menu > li.menu-item-has-children > a:after {
  border-top-color: var(--ksv-light-blue);
}

/* Parent theme gives the mobile sub-menu a white panel; keep it on navy so the white links are readable. */
.mobile-menu .sub-menu {
  background-color: transparent;
}

.mobile-menu .sub-menu li > a {
  color: #fff;
}

.mobile-menu .ksv-header-btn {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 1.5rem;
}

.mobile-overlay {
  background: var(--ksv-navy);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.ksv-hero {
  background: var(--ksv-navy);
  min-height: 420px;
  overflow: hidden;
  padding: 4rem 0 5rem;
}

.ksv-hero picture {
  display: contents;
}

.ksv-hero__img {
  height: 100%;
  inset: 0;
  left: 0;
  object-fit: cover;
  object-position: 70% center;
  position: absolute;
  top: 0;
  width: 100%;
}

.ksv-hero__gradient {
  background: linear-gradient(to top, rgba(3, 42, 66, 0.96) 0%, rgba(3, 42, 66, 0.85) 55%, rgba(3, 42, 66, 0.35) 100%);
  inset: 0;
  position: absolute;
  z-index: 3;
}

.ksv-hero__wave {
  bottom: -2px;
  left: 0;
  line-height: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.ksv-hero__wave picture,
.ksv-hero__wave-img {
  display: block;
  height: auto;
  width: 100%;
}

.ksv-hero .wrap {
  z-index: 4;
}

.ksv-hero__content {
  color: #fff;
  max-width: 640px;
  text-align: left;
}

.ksv-hero__title {
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.12;
  margin: 0;
  text-transform: none;
}

.ksv-hero__blurb {
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 1rem;
  text-transform: none;
}

.ksv-hero__actions {
  margin-top: 2rem;
}

.ksv-hero__actions a.button {
  padding: 1rem 2.2rem;
}

@media (min-width: 640px) {
  .ksv-hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .ksv-hero {
    min-height: 560px;
    padding: 6rem 0 7rem;
  }

  /* Photo occupies the right two thirds so the subjects sit clear of the navy panel. */
  .ksv-hero__img {
    left: 32%;
    object-position: center center;
    width: 68%;
  }

  .ksv-hero__gradient {
    background: linear-gradient(to right, rgba(3, 42, 66, 1) 0%, rgba(3, 42, 66, 1) 36%, rgba(3, 42, 66, 0.9) 42%, rgba(3, 42, 66, 0.6) 48%, rgba(3, 42, 66, 0.2) 55%, rgba(3, 42, 66, 0) 64%);
  }

  .ksv-hero__title {
    font-size: 3.5rem;
  }

  .ksv-hero__title--lg {
    font-size: 3.4rem;
  }
}

@media (min-width: 1280px) {
  .ksv-hero {
    min-height: 640px;
    padding: 7rem 0 8rem;
  }

  .ksv-hero__content {
    max-width: 760px;
  }

  .ksv-hero__title--lg {
    font-size: 4rem;
  }
}

/* Line breaks in the hero title (e.g. 3-line homepage title) are for desktop;
   smaller screens wrap naturally. */
@media (max-width: 1023px) {
  .ksv-hero__title br {
    display: none;
  }
}

/* Interior page banners */
.page-banner .bg-primary {
  background: var(--ksv-navy);
  opacity: 0.7;
}

.page-banner h1 {
  color: #fff;
  font-weight: 400;
  text-transform: none;
}

/* --------------------------------------------------------------------------
   Service cards under the hero
   -------------------------------------------------------------------------- */
.ksv-hero-services {
  margin: 3rem 0;
}

.ksv-service-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.ksv-service-card {
  border-radius: 2px;
  display: block;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.ksv-service-card picture {
  display: contents;
}

.ksv-service-card__img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  transition: transform 0.5s ease;
  width: 100%;
}

.ksv-service-card:hover .ksv-service-card__img {
  transform: scale(1.04);
}

.ksv-service-card__gradient {
  /* Even overlay (mockup) so centered titles read over the whole photo */
  background: rgba(3, 42, 66, 0.62);
  inset: 0;
  position: absolute;
}

.ksv-service-card__body {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 1.5rem;
  position: absolute;
  text-align: center;
  z-index: 1;
}

.ksv-service-card__title {
  color: #fff;
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.15;
  /* ~2 words per line: keeps "Residential Water / Softeners" on two lines */
  max-width: min(100%, 11.5em);
  text-transform: none;
}

.ksv-service-card__sub {
  color: var(--ksv-muted);
  display: block;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

@media (max-width: 479px) {
  .ksv-service-card__title {
    font-size: 1.5rem;
  }
}

@media (min-width: 640px) {
  .ksv-service-cards--2,
  .ksv-service-cards--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Cards are narrowest here; smaller title keeps two words per line */
  .ksv-service-card__title {
    font-size: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .ksv-hero-services {
    margin: 4rem 0;
  }

  .ksv-service-cards {
    gap: 1.5rem;
  }

  .ksv-service-cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ksv-service-card {
    min-height: 380px;
  }

  .ksv-service-card__title {
    font-size: 2.1rem;
  }
}

@media (min-width: 1280px) {
  .ksv-service-card {
    min-height: 500px;
  }

  .ksv-service-card__title {
    font-size: 2.4rem;
  }
}

/* --------------------------------------------------------------------------
   Content + image (intro section)
   -------------------------------------------------------------------------- */
.content-image-block {
  overflow-x: clip;
}

.ksv-media-frame {
  position: relative;
}

.ksv-media-frame::before {
  background: var(--ksv-mist);
  bottom: -5%;
  content: "";
  left: -10%;
  position: absolute;
  right: -10%;
  top: 5%;
  z-index: 0;
}

.ksv-media-frame picture,
.ksv-media-frame img {
  display: block;
  position: relative;
  z-index: 1;
}

.ksv-media-frame img.rounded {
  border-radius: 0;
}

/* Video poster + popup (content-image block with a Video set) */
.ksv-video-trigger {
  background: none;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  position: relative;
  width: 100%;
}

.ksv-video-trigger picture,
.ksv-video-trigger img {
  display: block;
  width: 100%;
}

.ksv-video-trigger__play {
  align-items: center;
  background: var(--ksv-green);
  border: 4px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 10px rgba(0, 199, 139, 0.3);
  color: #fff;
  display: flex;
  height: 84px;
  justify-content: center;
  left: 50%;
  padding-left: 4px;
  position: absolute;
  top: 55%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 84px;
  z-index: 2;
}

.ksv-video-trigger:hover .ksv-video-trigger__play,
.ksv-video-trigger:focus-visible .ksv-video-trigger__play {
  box-shadow: 0 0 0 14px rgba(0, 199, 139, 0.35);
  transform: translate(-50%, -50%) scale(1.06);
}

.ksv-video-modal {
  background: #000;
  border: 0;
  max-width: 1100px;
  overflow: visible;
  padding: 0;
  width: calc(100% - 2rem);
}

.ksv-video-modal::backdrop {
  background: rgba(3, 42, 66, 0.85);
}

.ksv-video-modal__video {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  width: 100%;
}

.ksv-video-modal__close {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 2.5rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  position: absolute;
  right: 0;
  top: -3rem;
}

.content-image-block h1,
.ksv-content-title {
  color: var(--ksv-text);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.25;
}

.ksv-content-intro p:first-child {
  font-weight: 600;
}

@media (min-width: 1024px) {
  .content-image-block h1,
  .ksv-content-title {
    font-size: 2.1rem;
  }

  .ksv-media-frame {
    margin-right: 5%;
  }
}

/* Mobile/tablet: Content and Content + Image blocks read left-aligned (desktop keeps each block's own alignment). */
@media (max-width: 1023px) {
  section.content > .wrap > .text-center,
  .content-image-block > .wrap > .text-center,
  .content-image-block > .wrap > .flex > .text-center {
    text-align: left;
  }
}

/* Bullets in Content and Content + Image blocks hang like numbered lists (same text column, wrapped lines aligned).
   Desktop-centered Content blocks keep inside bullets so they still center. */
section.content .prose ul li,
.content-image-block .prose ul li {
  list-style-position: outside;
}

@media (min-width: 1024px) {
  section.content .text-center:not(.lg\:text-left) .prose ul li {
    list-style-position: inside;
  }
}

/* --------------------------------------------------------------------------
   Why Us
   -------------------------------------------------------------------------- */
.ksv-why-us {
  background: #fff;
  padding: 3rem 0 4rem;
}

.ksv-why-us .wrap {
  padding-top: 0;
  max-width: 1440px; /* matches the Water Problems section */
}

.ksv-why-us__intro {
  margin: 0 auto;
  max-width: 56rem;
  text-align: center;
}

.ksv-why-us__title {
  color: var(--ksv-text);
  font-size: 1.85rem;
  font-weight: 400;
  margin: 0.5rem 0;
}

.ksv-why-us__blurb {
  color: var(--ksv-text);
  font-size: 1.05rem;
  font-weight: 600;
}

.ksv-why-us__grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3rem;
}

.ksv-why-us__item {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ksv-why-us__icon {
  color: var(--ksv-navy-2);
  display: block;
  height: 40px;
  margin-bottom: 0.75rem;
  width: 40px;
}

.ksv-why-us__icon svg {
  height: 40px;
  width: 40px;
}

.ksv-why-us__text {
  color: var(--ksv-text);
  font-family: Poppins, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .ksv-why-us__title {
    font-size: 2.1rem;
  }

  .ksv-why-us__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ksv-why-us__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ksv-why-us__text {
    font-size: 1.25rem;
  }

  .ksv-why-us__icon,
  .ksv-why-us__icon svg {
    height: 56px;
    width: 56px;
  }

  .ksv-why-us__icon {
    margin-bottom: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Water Score (content block with custom class)
   -------------------------------------------------------------------------- */
.water-score-section {
  background: var(--ksv-navy-2);
  color: #fff;
  margin: 0;
  padding: 3.5rem 0 4rem;
}

.water-score-section .max-w-4xl {
  max-width: 100%;
}

.water-score-section .prose,
.water-score-section .prose p,
.water-score-section .prose strong {
  color: #fff;
}

.water-score-section img {
  margin: 0 auto;
}

.ksv-ws-logo {
  height: auto;
  margin: 0 auto 1.5rem;
  max-width: 250px;
  width: 100%;
}

.ksv-ws-headline {
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.ksv-ws-headline__light {
  color: var(--ksv-light-blue);
  font-weight: 300;
}

.ksv-ws-headline sup {
  font-size: 0.45em;
  font-weight: 400;
  vertical-align: top;
}

.ksv-ws-bar {
  height: auto;
  margin: 0 auto;
  max-width: 860px;
  width: 100%;
}

.ksv-ws-copy {
  font-size: 1rem;
  margin: 1.75rem auto 0;
  max-width: 44rem;
  text-align: center;
}

.water-score-section .prose a.button,
.water-score-cta.button {
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .water-score-section {
    padding: 4.5rem 0 5rem;
  }

  .ksv-ws-headline {
    font-size: 3.25rem;
  }

  .ksv-ws-logo {
    max-width: 250px;
  }
}

/* --------------------------------------------------------------------------
   Recent posts
   -------------------------------------------------------------------------- */
.ksv-post-card__media {
  display: block;
}

.ksv-post-card__img {
  border-radius: 2px;
  height: 11rem;
  object-fit: cover;
  transition: opacity 0.2s ease;
  width: 100%;
}

.ksv-post-card__media:hover .ksv-post-card__img {
  opacity: 0.85;
}

.ksv-post-card__body {
  margin-top: 0.9rem;
}

.ksv-post-card__cat {
  color: var(--ksv-green);
  font-family: Poppins, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ksv-post-card__link {
  color: var(--ksv-navy);
  text-decoration: none;
}

.ksv-post-card__link:hover {
  color: var(--ksv-navy-2);
}

.ksv-post-card__title {
  color: inherit;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0.25rem 0 0;
}

.ksv-post-card__excerpt {
  color: var(--ksv-text);
  font-size: 0.95rem;
  margin-top: 0.6rem;
}

.ksv-post-card__more {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--ksv-green);
  font-family: Poppins, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.ksv-post-card__more:hover {
  color: var(--ksv-green-dark);
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .ksv-post-card__img {
    height: 12rem;
  }
}

/* --------------------------------------------------------------------------
   Locations (map) block
   -------------------------------------------------------------------------- */
.locations-block {
  background: var(--ksv-navy-2);
  color: #fff;
}

.locations-block h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
}

.locations-block .text-lg {
  color: #fff;
}

.location-tab-nav > div {
  border-color: transparent;
  color: var(--ksv-muted);
  font-family: Poppins, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.location-tab-nav > div:hover {
  color: #fff;
}

.location-tab-nav > div.active {
  border-color: var(--ksv-light-blue);
  color: #fff;
}

.locations-block .text-gray-900,
.locations-block .text-gray-500,
.locations-block .text-gray-700 {
  color: #fff;
}

.locations-block .text-xs.text-gray-500 {
  color: var(--ksv-muted);
  font-weight: 400;
}

.locations-block .text-alert {
  color: var(--ksv-light-blue);
}

.locations-block a[href^="tel:"] {
  color: var(--ksv-green);
}

.locations-block a[href^="tel:"]:hover {
  color: #fff;
}

.locations-block a .text-action,
.locations-block a .uppercase {
  color: var(--ksv-light-blue);
}

/* --------------------------------------------------------------------------
   Endorsement (testimonials block)
   -------------------------------------------------------------------------- */
.ksv-endorsement-section {
  margin: 5rem 0 3rem;
}

/* Narrower than the page (1280px), per the mockup */
.ksv-endorsement-section .wrap {
  max-width: 1156px;
}

.ksv-endorsement {
  border-radius: 20px;
  color: #fff;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 4rem;
  padding: 0 1.5rem 2rem;
  position: relative;
}

/* Card background lives on a pseudo-element so the photo can overflow the top edge without being clipped. */
.ksv-endorsement::before {
  background: var(--ksv-navy-2);
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.ksv-endorsement + .ksv-endorsement {
  margin-top: 2rem;
}

.ksv-endorsement__media {
  align-self: end;
  display: flex;
  justify-content: center;
  margin-top: -3rem;
  position: relative;
  z-index: 1;
}

.ksv-endorsement__img {
  display: block;
  height: auto;
  max-width: 280px;
  width: 100%;
}

.ksv-endorsement__body {
  position: relative;
  text-align: center;
  z-index: 1;
}

.ksv-endorsement__body::before {
  color: #123f5c;
  content: "\201D";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-28%);
  z-index: -1;
}

.ksv-endorsement__quote,
.ksv-endorsement__quote p,
.ksv-endorsement__quote blockquote {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
}

.ksv-endorsement__quote blockquote {
  border: 0;
  font-style: normal;
  margin: 0 0 1rem;
  padding: 0;
  quotes: "\201C" "\201D";
}

.ksv-endorsement__quote blockquote p::before {
  content: open-quote;
}

.ksv-endorsement__quote blockquote p::after {
  content: close-quote;
}

.ksv-endorsement__quote blockquote strong {
  color: #fff;
  font-weight: 700;
}

.ksv-endorsement__quote p > strong:only-child {
  color: var(--ksv-green);
  font-weight: 600;
}

.ksv-endorsement__quote p:empty {
  display: none;
}

@media (min-width: 1024px) {
  .ksv-endorsement-section {
    margin: 8rem 0 5rem;
  }

  .ksv-endorsement {
    align-items: end;
    gap: 3rem;
    grid-template-columns: 2fr 3fr;
    margin-top: 5rem;
    padding: 0 3.5rem 0 1.5rem;
  }

  .ksv-endorsement__media {
    margin-top: -4rem;
  }

  .ksv-endorsement__img {
    max-width: 440px;
  }

  .ksv-endorsement__body {
    padding: 5rem 0;
    text-align: left;
  }

  .ksv-endorsement__body::before {
    font-size: 48rem;
    right: -2.5rem;
    transform: translateY(-27%);
  }

  .ksv-endorsement__quote,
  .ksv-endorsement__quote p,
  .ksv-endorsement__quote blockquote {
    font-size: 1rem;
  }

  .ksv-endorsement__img {
    max-width: 420px;
  }
}

/* --------------------------------------------------------------------------
   Callout: Do you know what's in your water (content block custom class)
   -------------------------------------------------------------------------- */
.home-callout-section {
  background: #fff;
  margin: 0;
  padding: 1rem 0 4rem;
}

.home-callout-section h2 {
  color: var(--ksv-text);
  font-size: 1.85rem;
  font-weight: 400;
}

.home-callout-section p {
  color: var(--ksv-text);
  font-size: 1.05rem;
}

.ksv-zip-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem auto 0;
}

.ksv-zip-form input[type="text"] {
  background: #fff;
  border: 0;
  border-bottom: 2px solid var(--ksv-mist);
  border-radius: 0;
  box-shadow: none;
  color: var(--ksv-text);
  font-family: Poppins, sans-serif;
  font-size: 1.35rem;
  font-weight: 300;
  max-width: 100%;
  padding: 0.6rem 0.5rem;
  width: 300px;
}

.ksv-zip-form input[type="text"]:focus {
  border-bottom-color: var(--ksv-light-blue);
  outline: none;
}

.ksv-zip-form button {
  background: var(--ksv-orange);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-family: Poppins, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.7rem 2rem;
  transition: background 0.2s ease;
}

.ksv-zip-form button:hover {
  background: #d4531e;
}

@media (min-width: 1024px) {
  .home-callout-section h2 {
    font-size: 2.1rem;
  }
}

/* --------------------------------------------------------------------------
   Social proof / members
   -------------------------------------------------------------------------- */
.social-proof img,
.social-proof .max-w-\[200px\] {
  max-height: 100px;
  max-width: 200px;
  width: auto;
}

/* Group the badges in the center instead of spreading them edge to edge */
.social-proof .flex-1.flex-wrap {
  justify-content: center !important;
  gap: 1rem 2.5rem;
  margin-left: 0;
}

.social-proof .flex-1.flex-wrap > .m-3 {
  margin: 0;
}

/* Linked badges (Media > image > Logo Link) sit exactly like unlinked ones */
.social-proof .flex-1.flex-wrap > .m-3 > a {
  display: block;
  transition: opacity 0.2s;
}

.social-proof .flex-1.flex-wrap > .m-3 > a:hover {
  opacity: 0.8;
}

/* Desktop: spread across nearly the Mike Holmes card width (1156px) */
@media (min-width: 1024px) {
  .social-proof .flex-1.flex-wrap {
    justify-content: space-between !important;
    max-width: 1060px;
    margin: 0 auto;
  }

  .social-proof img,
  .social-proof .max-w-\[200px\] {
    max-height: 115px;
  }
}

/* --------------------------------------------------------------------------
   Footer reviews (embed) section
   -------------------------------------------------------------------------- */
.review-slider {
  margin-bottom: 0;
  padding-bottom: 2rem;
  position: relative;
}

.review-slider .text-gray-900 {
  color: var(--ksv-text);
}

.review-slider .text-primary {
  color: var(--ksv-navy);
}

.review-slider .stars {
  color: var(--ksv-gold);
}

.footer-wave img {
  display: none;
}

/* --------------------------------------------------------------------------
   Footer CTA
   -------------------------------------------------------------------------- */
.ksv-footer-cta {
  background: var(--ksv-navy);
  color: #fff;
  margin-top: 3.5rem;
  padding: 0;
}

.ksv-footer-cta__inner {
  align-items: end;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.ksv-footer-cta__media {
  display: flex;
  justify-content: center;
  margin-top: 0;
  order: 2;
}

.ksv-footer-cta__img {
  display: block;
  height: auto;
  max-width: 300px;
  width: 100%;
}

.ksv-footer-cta__body {
  order: 1;
  padding: 3rem 0 0;
  text-align: center;
}

.ksv-footer-cta__title {
  color: #fff;
  font-size: 1.85rem;
  font-weight: 400;
  margin: 0;
}

.ksv-footer-cta__sub {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.ksv-footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.ksv-footer-cta__actions a.button {
  min-width: 200px;
}

@media (min-width: 1024px) {
  .ksv-footer-cta__inner {
    gap: 3rem;
    grid-template-columns: 2fr 3fr;
  }

  .ksv-footer-cta__media {
    justify-content: flex-start;
    margin-top: -3.5rem;
    order: 1;
    padding-left: 1rem;
  }

  .ksv-footer-cta__img {
    max-width: 360px;
  }

  .ksv-footer-cta__body {
    order: 2;
    padding: 3.5rem 0;
    text-align: left;
  }

  .ksv-footer-cta__title {
    font-size: 2.1rem;
  }

  .ksv-footer-cta__actions {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer .text-action,
.site-footer .footer-right-widgets .widget-title,
.site-footer .location-switcher-names-wrap div {
  color: var(--ksv-light-blue);
}

.site-footer .text-gray-400,
.site-footer .location-switcher-select-wrap .text-xs,
.site-footer .text-alert {
  color: var(--ksv-muted);
}

.site-footer .text-gray-200,
.site-footer .text-white,
.site-footer .footer-right-widgets a,
.site-footer .footer-right-widgets .textwidget,
.site-footer .location-phone-numbers-wrap a,
.site-footer .location-addresses-wrap div {
  color: #fff;
}

.site-footer .footer-right-widgets a:hover {
  color: var(--ksv-light-blue);
}

.site-footer .bg-gray-500 {
  background: rgba(255, 255, 255, 0.2);
}

.site-footer .max-w-\[196px\] {
  max-width: 315px;
}

.copyright a {
  color: var(--ksv-muted);
}

.site-footer .uppercase.text-gray-400 {
  color: var(--ksv-muted);
}

.site-footer .uppercase.text-gray-400:hover {
  color: #fff;
}

/* Bottom row (copyright + Web Design by LeadHub): light blue, per mockup */
.site-footer .pb-8.pt-4,
.site-footer .pb-8.pt-4 a,
.site-footer .pb-8.pt-4 .uppercase.text-gray-400 {
  color: var(--ksv-light-blue);
}

.site-footer .pb-8.pt-4 a:hover {
  color: #fff;
}

#text-5 > div {
  color: var(--ksv-light-blue);
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  position: relative;
  top: 20px;
}

@media (max-width: 640px) {
  #text-5 > div {
    padding-bottom: 2rem;
  }
}

@media (min-width: 640px) {
  .footer-right-widgets .menu-service-areas-2-container,
  .footer-right-widgets .menu-service-areas-3-container,
  .footer-right-widgets .menu-service-areas-4-container {
    margin-top: 32px;
  }
}

/* Footer widget grids (ported from the Customizer) */
.footer-right-widgets {
  display: block !important;
}

.footer-right-widgets .grid-group {
  align-items: baseline;
  column-count: initial !important;
  column-gap: 1% !important;
  column-width: initial !important;
  columns: initial !important;
  display: grid !important;
  gap: 0 36px !important;
  grid-auto-flow: row !important;
  grid-template-columns: repeat(4, minmax(200px, 1fr)) !important;
  justify-items: stretch;
}

.footer-right-widgets .grid-group > *:first-child {
  float: none !important;
  grid-column: 1 / -1 !important;
  margin: 0 !important;
}

.footer-right-widgets .grid-group > *:not(:first-child) {
  float: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  margin: 0 !important;
  width: auto !important;
}

.footer-right-widgets .grid-group > .wp-block-group:not(:first-child),
.footer-right-widgets .grid-group > .is-layout-grid:not(:first-child),
.footer-right-widgets .grid-group > .is-layout-flex:not(:first-child) {
  display: contents !important;
}

.footer-right-widgets .service-areas-row .menu {
  column-count: initial !important;
  column-gap: 1% !important;
  column-width: initial !important;
  columns: initial !important;
}


.footer-right-widgets .grid-group--b > .wp-block-group:nth-child(-n+2),
.footer-right-widgets .grid-group--b > .is-layout-grid:nth-child(-n+2),
.footer-right-widgets .grid-group--b > .is-layout-flex:nth-child(-n+2) {
  display: block !important;
}

@media (max-width: 1024px) {
  .footer-right-widgets .grid-group {
    grid-template-columns: repeat(2, minmax(200px, 1fr)) !important;
  }

}

@media (max-width: 640px) {
  .footer-right-widgets .grid-group {
    grid-template-columns: 1fr !important;
  }
}

/* Footer, mockup layout: tagline on top, five link columns, then the
   service-area line with an inline row of city links. */
.site-footer .footer-right-widgets {
  max-width: 860px;
}

.footer-right-widgets .grid-group--b {
  gap: 1.5rem 28px !important;
}

@media (min-width: 1025px) {
  .footer-right-widgets .grid-group--b {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

.site-footer #text-2 .textwidget {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .footer-right-widgets .widget_nav_menu .widget-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.site-footer .footer-right-widgets .widget_nav_menu li,
.site-footer .footer-right-widgets .widget_nav_menu li a {
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.footer-right-widgets .grid-group--a {
  margin-top: 2.5rem;
  row-gap: 0.5rem !important;
}

.site-footer #text-5 > div {
  top: 0;
  font-size: 0.95rem;
}

.site-footer #text-5 a {
  color: var(--ksv-light-blue);
  text-decoration: underline;
}

.footer-right-widgets .grid-group--a > .widget_nav_menu {
  grid-column: 1 / -1 !important;
}

.footer-right-widgets .grid-group--a .menu-service-areas-2-container {
  margin-top: 0 !important;
}

.footer-right-widgets .grid-group--a .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
}

.footer-right-widgets .grid-group--a .menu li {
  margin: 0;
  font-size: 0.875rem;
}

/* Round light blue social icons under the phone number */
.ksv-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--ksv-green) !important;
  transition: background 0.2s, color 0.2s;
}

.ksv-footer-social a:hover {
  background: var(--ksv-green);
  color: #fff !important;
}

.ksv-footer-social svg {
  width: 16px;
  height: 16px;
  max-height: none;
}

/* --------------------------------------------------------------------------
   Coupons / coupon slider (interior pages)
   -------------------------------------------------------------------------- */
.coupon-slider {
  background: var(--ksv-navy);
  color: #fff;
}

.coupon-slider-arrows-wrap .left,
.coupon-slider-arrows-wrap .right {
  color: #fff;
}

.coupon-slide .bg-alert {
  background: var(--ksv-green);
}

.coupon-slide .bg-alert .text-action {
  color: #fff;
}

.coupon-slide .font-serif {
  padding-left: 2rem;
}

.coupons-block .bg-accent {
  background: var(--ksv-green);
}

/* --------------------------------------------------------------------------
   Forms, pagination, misc (ported from the Customizer)
   -------------------------------------------------------------------------- */
.gform_validation_container {
  display: none;
}

.gform_required_legend {
  display: none;
}

#lp-form .gform_button,
.postid-5926 .gform_button {
  background-color: var(--ksv-green) !important;
  border-color: var(--ksv-green) !important;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.page-numbers {
  background: #fff;
  border: 1px solid var(--color-gray-500);
  border-radius: 3px;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease-in-out;
}

.page-numbers.dots {
  border: 0;
  padding: 0;
}

.page-numbers.current,
.page-numbers:hover:not(.dots) {
  background: var(--ksv-navy);
  border-color: var(--ksv-navy);
  color: #fff;
}

.text-right {
  text-align: right;
}

.align-self-center {
  align-self: center;
}

.align-self-end {
  align-self: end;
}

.max-w-\[200px\] {
  max-width: 200px;
}

.max-w-\[120px\] {
  max-width: 120px;
}

.min-w-\[32px\] {
  min-width: 32px;
}

.ll-up-modal-wrap .ll-up-modal-inner .image-wrap {
  background-image: none !important;
}

.ll-up-modal-wrap .ll-up-modal-inner .text-alert,
.ll-up-modal-wrap .ll-up-modal-inner .text-primary {
  color: var(--ksv-navy);
}

.lp-hero {
  margin: auto;
}

.lp-list {
  margin: 1rem 0;
  padding-left: 1rem;
}

.lp-list li {
  list-style-position: inside;
  list-style-type: disc;
}

.lp-items-end .elementor-icon-box-wrapper {
  align-items: end;
}

.lp-items-end .elementor-icon-box-wrapper a:before {
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.water-block {
  padding-top: unset;
}

@media (min-width: 1280px) {
  .water-block {
    padding-top: 4rem;
  }
}

.wp-img-horizontal {
  display: none;
}

.wp-image-vert {
  float: right;
  height: auto;
  margin: 1rem 0 20px 20px;
  max-width: 100%;
  padding: 2rem;
  padding-top: 5rem !important;
}

@media screen and (max-width: 1024px) {
  .wp-image-vert {
    display: none;
  }

  .wp-img-horizontal {
    display: block;
    margin-top: -1em;
  }

  .quote {
    padding-top: 8px;
    text-align: center;
  }
}

#content-block_dba1edb6c414b06ac218cac7d67e2f34 img {
  max-width: 320px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   FAQ Block (acf/faqs, child src/php/_blocks/faqs.php)
   Answers are open until .ksv-faqs--js is added by the footer script.
   -------------------------------------------------------------------------- */
.ksv-faqs__title {
  margin: 0 0 1.5rem;
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--ksv-navy);
}
@media (min-width: 1024px) {
  .ksv-faqs__title { font-size: 2.25rem; }
}
.ksv-faqs__item {
  border-bottom: 1px solid var(--ksv-mist);
}
.ksv-faqs__item:first-child {
  border-top: 1px solid var(--ksv-mist);
}
.ksv-faqs__q {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
}
@media (min-width: 640px) {
  .ksv-faqs__q { font-size: 1.25rem; }
}
.ksv-faqs__q button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border: 0;
  background: none;
  color: var(--ksv-navy);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.ksv-faqs__q button:hover { color: var(--ksv-navy-2); }
.ksv-faqs__q button:focus-visible {
  outline: 2px solid var(--ksv-green);
  outline-offset: 2px;
}
.ksv-faqs__icon {
  position: relative;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ksv-green);
}
.ksv-faqs__icon::before,
.ksv-faqs__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.ksv-faqs__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.ksv-faqs__a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .35s ease;
}
.ksv-faqs__a-inner {
  overflow: hidden;
  min-height: 0;
  transition: visibility .35s;
}
.ksv-faqs__a-inner > .prose { padding-bottom: 1.25rem; }
.ksv-faqs--js .ksv-faqs__a { grid-template-rows: 0fr; }
.ksv-faqs--js .ksv-faqs__item:not(.is-open) .ksv-faqs__a-inner { visibility: hidden; }
.ksv-faqs--js .ksv-faqs__item.is-open .ksv-faqs__a { grid-template-rows: 1fr; }
.ksv-faqs--js .ksv-faqs__item.is-open .ksv-faqs__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (prefers-reduced-motion: reduce) {
  .ksv-faqs__a, .ksv-faqs__a-inner, .ksv-faqs__icon::after { transition: none; }
}

/* SMS consent checkbox (Gravity Forms, forms 2/3/8/9) - 17tpepcu2c5 */
.gform_wrapper .ksv-sms-consent .gchoice { display: flex; align-items: flex-start; gap: .6rem; }
.gform_wrapper .ksv-sms-consent .gchoice input[type="checkbox"] { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; }
.gform_wrapper .ksv-sms-consent .gchoice label { font-weight: 400; font-size: .8125rem; line-height: 1.5; max-width: none; margin: 0; }
.gform_wrapper .ksv-sms-consent .gchoice label a { text-decoration: underline; }

/* Restore bullets on core list blocks in page content (Terms page) - 17tpepcu2c5 */
.content > ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1.25rem; }
.content > ul > li { margin-bottom: .35rem; }

/* Parent reserves 364px for a sidebar at >=1024px even when none renders (default-template pages) */
@media (min-width: 1024px) {
  .content-sidebar-wrap .content:only-child { width: 100%; }
}

/* --------------------------------------------------------------------------
   Water Problems (navy band with circle images)
   -------------------------------------------------------------------------- */
.ksv-water-problems {
  background: var(--ksv-navy);
  color: #fff;
  padding: 3.5rem 0 4rem;
}

/* Wider than the rest of the page (1280px), per the mockup */
.ksv-water-problems .wrap {
  max-width: 1440px;
}

.ksv-water-problems__title {
  margin: 0 0 2.5rem;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.ksv-water-problems__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ksv-water-problems__item {
  margin: 0;
  padding: 0;
}

.ksv-water-problems__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.ksv-water-problems__circle {
  display: block;
  width: 130px;
  height: 130px;
  overflow: hidden;
  border: 4px solid var(--ksv-light-blue);
  border-radius: 50%;
  background: var(--ksv-navy-2);
}

.ksv-water-problems__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

a.ksv-water-problems__link:hover .ksv-water-problems__img {
  transform: scale(1.06);
}

.ksv-water-problems__label {
  font-family: Poppins, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

a.ksv-water-problems__link:hover .ksv-water-problems__label {
  color: var(--ksv-light-blue);
}

@media (min-width: 640px) {
  .ksv-water-problems__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ksv-water-problems {
    padding: 4.5rem 0 5rem;
  }

  .ksv-water-problems__title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
  }

  .ksv-water-problems__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ksv-water-problems__circle {
    width: 170px;
    height: 170px;
  }
}

@media (min-width: 1280px) {
  .ksv-water-problems__grid {
    gap: 2rem 2.5rem;
  }

  .ksv-water-problems__circle {
    width: 200px;
    height: 200px;
  }

  .ksv-water-problems__label {
    font-size: 1.0625rem;
  }
}

/* --------------------------------------------------------------------------
   Header: light blue pin / phone icons before location and number (desktop)
   -------------------------------------------------------------------------- */
.site-header .location-switcher-names-wrap [data-location-id]::before,
.site-header .location-phone-numbers-wrap a > span.lg\:block::before {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  margin-right: 0.4em;
  background-color: var(--ksv-light-blue);
  -webkit-mask: var(--ksv-icon) center / contain no-repeat;
  mask: var(--ksv-icon) center / contain no-repeat;
}

.site-header .location-switcher-names-wrap [data-location-id]::before {
  --ksv-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.site-header .location-phone-numbers-wrap a > span.lg\:block::before {
  --ksv-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24 11.36 11.36 0 0 0 3.57.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  width: 1.2em;
  height: 1.2em;
}

/* Location name and phone number share one size */
@media (min-width: 1024px) {
  .site-header .location-switcher-names-wrap [data-location-id],
  .site-header .location-phone-numbers-wrap a {
    font-size: 1.125rem;
    line-height: 1.2;
  }
}

/* Give the location and phone columns the same structure so their labels
   and values line up on the same rows. */
@media (min-width: 1024px) {
  .site-header div:has(> .location-switcher-names-wrap),
  .site-header div:has(> .location-phone-numbers-wrap) {
    display: flex;
    flex-direction: column;
    align-self: center;
  }

  .site-header div:has(> .location-switcher-names-wrap) > .text-sm,
  .site-header div:has(> .location-phone-numbers-wrap) > .text-sm {
    display: block;
    line-height: 1.25rem;
    margin-bottom: 0.1rem;
  }

  .site-header .location-phone-numbers-wrap a {
    display: block;
  }
}

/* Center the icons on the text with flex instead of vertical-align */
.site-header .location-switcher-names-wrap [data-location-id] {
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .site-header .location-phone-numbers-wrap a > span.lg\:block {
    display: flex;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Location page: services + additional content (child single-location.php)
   Desktop: title + blurb in the left column, service links in a fixed right
   column (same position on every row, links left-aligned). Rows without
   links use the full width.
   -------------------------------------------------------------------------- */
.location-service-content {
  display: flex;
  flex-direction: column;
}

.location-service-content .prose,
.location-additional-content .prose {
  max-width: none;
}

/* Content titles use the same light weight as the section titles and page
   heroes site-wide (h2 400, h3 subheads 500). */
.prose h2,
.entry-content h2,
.single-location section h2.font-bold {
  font-weight: 400;
}

.prose h3,
.entry-content h3 {
  font-weight: 500;
}

.location-service-content .prose h2 {
  color: var(--ksv-text);
  font-family: Poppins, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

/* No icons on these rows: drop the empty 40px icon column so the text
   lines up with the divider lines. */
.single-location .min-w-\[40px\]:not(:has(img)) {
  display: none;
}

.single-location .location-service-content {
  margin-left: 0;
}

@media (min-width: 1024px) {
  .location-service-content .prose h2 {
    font-size: 1.85rem;
  }
}

.location-service-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.25rem;
  justify-items: start;
  margin-top: 1.25rem;
  text-align: left;
}

.location-service-links a {
  color: var(--ksv-text);
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.location-service-links a:hover {
  color: var(--ksv-green-dark);
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .location-service-content:has(.location-service-links) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40%;
    column-gap: 4rem;
    align-items: start;
  }

  .location-service-links {
    margin-top: 0.5rem;
  }
}
