/**
 * Service page location directory.
 * Scoped to the Services by Location block so other Views remain unchanged.
 */

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) {
  --locations-ink: #10313a;
  --locations-navy: #073a49;
  --locations-aqua: #1aa6b5;
  --locations-orange: #ef7c45;
  --locations-paper: #fff;
  --locations-bg: #f1f6f6;
  background: #f5f5f5;
  border: 1px solid #dce8e9;
  border-radius: 24px;
  max-width: 1320px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 40px);
  position: relative;
}


:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) > .block-title {
  color: var(--locations-ink);
  display: block !important;
  font-family: BioRhyme;
  font-size: clamp(30px, 3.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
  max-width: 760px;
  padding: 0;
  text-align: left;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) > .block-title::before {
  content: "OUR SERVICE AREAS";
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 13px;
  color:#377DFF;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) > .block-title span {
  color: inherit !important;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) > .block-title::after {
  color: #647b80;
  content: "Find trusted pool services available in your local community.";
  display: block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 610px;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .block-content {
  margin-top: clamp(30px, 4vw, 48px);
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .view-content-wrap {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .view-content-wrap > .item {
  margin: 0;
  min-width: 0;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .views-field,
:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content {
  height: 100%;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a {
  font-family: Teko, sans-serif;
  align-items: center;
  background: #377DFF;
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(7, 58, 73, 0.16);
  color: #fff !important;
  display: inline-flex;
  font-size: 18px;
  font-weight: 400;
  justify-content: center;
  line-height: 1;
  min-height: 46px;
  padding: 14px 24px;
  position: relative;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  width: 100%;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a::after {
  content: none;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a:hover,
:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a:focus-visible {
  background: white;
  color: black !important;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a:hover::after,
:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a:focus-visible::after {
  color: var(--locations-orange);
  transform: translateX(3px);
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) nav[role="navigation"] {
  border-top: 1px solid #d7e4e5;
  margin-top: 28px;
  padding-top: 22px;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .js-pager__items {
  align-items: center;
  color: #71858a !important;
  display: flex;
  font-size: 12px;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .js-pager__items li {
  margin: 0;
  padding: 0;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .js-pager__items a {
  align-items: center;
  background: var(--locations-navy);
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-size: 20px;
  height: 40px;
  justify-content: center;
  min-width: 40px;
  padding: 0 14px;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .js-pager__items a:hover,
:is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .js-pager__items a:focus-visible {
  background: var(--locations-orange);
  outline: 0;
  transform: translateX(2px);
}

body.dark-mode :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) {
  --locations-ink: #edf8f9;
  --locations-paper: #0d3742;
  --locations-bg: #082832;
  background: linear-gradient(145deg, #082832, #0b3540);
  border-color: rgba(173, 218, 222, 0.16);
}

body.dark-mode :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) > .block-title::after {
  color: #adc2c6;
}

body.dark-mode :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a {
  border-color: rgba(173, 218, 222, 0.16);
  box-shadow: none;
}

body.dark-mode :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a::before {
  background: #0b4552;
}

body.dark-mode :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) nav[role="navigation"] {
  border-color: rgba(173, 218, 222, 0.16);
}

@media (max-width: 991px) {
  :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .view-content-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) {
    border-radius: 17px;
    margin-block: 36px;
    padding: 34px 18px;
  }

  :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .view-content-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a {
    font-size: 18px;
    min-height: 44px;
    padding: 12px;
  }
}

@media (max-width: 420px) {
  :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .view-content-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a,
  :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .field-content > a::after,
  :is(#block-linoor-subtheme-views-block-services-by-location-block-2, #block-linoor-subtheme-views-block-services-by-location-block-3) .js-pager__items a {
    transition: none;
  }
}
