:root {
  --regions-intro-bg: #e0eaf2;
}

.regions-intro {
  background-color: var(--regions-intro-bg);
}

.regions-intro-divider,
.regions-coverage .regions-intro-divider {
  --shape-divider-color: var(--regions-intro-bg);
}

.regions-intro-card,
.coverage-panel {
  background-color: #fff;
  border: 1px solid #a9bfd0;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 47, 79, 0.12);
  min-width: 0;
}

.regions-intro-card p,
.regions-section-intro p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
}

.regions-intro-card p {
  color: #334b5e;
}

.regions-intro .support-container {
  border: 1px solid var(--accent-dark);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 47, 79, 0.12);
  overflow-wrap: anywhere;
}

.regions-section-intro {
  max-width: 68ch;
}

.regions-section-intro h2 {
  text-wrap: balance;
}

.coverage-map-section {
  background: #f6f8f8;
  border: 1px solid rgba(14, 39, 54, 0.08);
  margin: 0 0 2rem;
  border-radius: 1rem;
  padding: 0.75rem;
}

.coverage-google-map,
.coverage-map-fallback {
  border: 1px solid rgba(14, 39, 54, 0.1);
  border-radius: 0.75rem;
  height: clamp(420px, 65vh, 720px);
  width: 100%;
}

.coverage-google-map {
  background: #edf2f1;
}

.coverage-map-loading {
  padding: 2rem;
  text-align: center;
}

.coverage-map-fallback {
  align-items: center;
  background: #fff;
  color: #222;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.coverage-map-fallback .material-symbols-rounded {
  color: #ffd200;
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.coverage-map-fallback h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.coverage-map-fallback p {
  margin: 0;
  max-width: 460px;
}

.coverage-marker {
  align-items: center;
  background: #f3f5f3;
  border: 1px solid rgba(14, 39, 54, 0.18);
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(14, 39, 54, 0.2);
  color: #222;
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  min-height: 30px;
  justify-content: center;
  line-height: 1.15;
  max-width: 190px;
  padding: 0.35rem 0.55rem;
  position: relative;
  text-align: center;
  white-space: nowrap;
}

.coverage-marker::after {
  background: #f3f5f3;
  border-bottom: 1px solid rgba(14, 39, 54, 0.18);
  border-right: 1px solid rgba(14, 39, 54, 0.18);
  bottom: -5px;
  content: "";
  height: 10px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
}

.coverage-info-window {
  color: #222;
  max-width: 260px;
}

.coverage-info-window h5 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.45rem;
}

.coverage-info-window p {
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
}

.coverage-region-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.coverage-region-card {
  align-items: center;
  background: #e0eaf2;
  border: 1px solid #a9bfd0;
  border-radius: 0.75rem;
  color: #334b5e;
  display: flex;
  font-weight: 700;
  overflow-wrap: anywhere;
  padding: 0.85rem 1rem;
}

.regions-gallery,
.regions-gallery > .bg-light {
  background-color: var(--testimonials-bg) !important;
}

.regions-gallery-divider {
  --shape-divider-color: var(--testimonials-bg);
}

.regions-gallery > .bg-light > .container > h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem !important;
  text-align: center;
}

.regions-gallery > .bg-light > .container > .row {
  row-gap: 1.5rem;
}

.regions-gallery .img-thumbnail {
  aspect-ratio: 4 / 3;
  background-color: #fff;
  border: 1px solid #a9bfd0;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 47, 79, 0.12);
  cursor: pointer;
  object-fit: cover;
  padding: 0.4rem;
  width: 100%;
}

@media (max-width: 991.98px) {
  .coverage-region-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .regions-gallery > .bg-light > .container > .row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #53758e var(--testimonials-bg);
  }

  .regions-gallery > .bg-light > .container > .row > .col-md-4 {
    flex: 0 0 min(82%, 22rem);
    scroll-snap-align: start;
  }
}

@media (max-width: 575.98px) {
  .coverage-marker {
    font-size: 0.68rem;
    min-height: 28px;
    max-width: 150px;
    white-space: normal;
  }
}

@media (max-width: 359.98px) {
  .coverage-region-list {
    grid-template-columns: 1fr;
  }
}
