/**
 * Service Coverage panel - location pages only.
 * Section must include class pcs-location-service-coverage (with pcs-nsw-coverage).
 * Do not link this file from non-location pages.
 */

.pcs-location-service-coverage.pcs-nsw-coverage .faq__shape {
  display: none !important;
}

/* Panel surface: inner wrapper when present, otherwise the section's main container */
.pcs-location-service-coverage.pcs-nsw-coverage .pcs-nsw-page-coverage-panel,
.pcs-location-service-coverage.pcs-nsw-coverage > .container:not(:has(.pcs-nsw-page-coverage-panel)) {
  position: relative;
  border-radius: 28px;
  padding: clamp(26px, 4.5vw, 46px);
  overflow: hidden;
  background-color: #f4f1ea;
  background-image:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 5px,
      rgba(90, 80, 65, 0.045) 5px,
      rgba(90, 80, 65, 0.045) 6px
    ),
    linear-gradient(168deg, #faf8f3 0%, #f2ede4 55%, #ebe4d8 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 18px 44px rgba(15, 18, 35, 0.1);
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-nsw-page-coverage-panel::after,
.pcs-location-service-coverage.pcs-nsw-coverage > .container:not(:has(.pcs-nsw-page-coverage-panel))::after {
  content: "";
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(52%, 340px);
  height: 78%;
  pointer-events: none;
  opacity: 0.42;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20280%20360%22%20fill%3D%22none%22%3E%3Cpath%20stroke%3D%22%230c2340%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20d%3D%22M40%2048h72v52H52v68h96M160%2048v40h56v72h-88%22%2F%3E%3Cpath%20stroke%3D%22%234a6fa5%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.85%22%20d%3D%22M200%20120h48v64h-72M72%20200h88v56%22%2F%3E%3Ccircle%20cx%3D%22112%22%20cy%3D%22100%22%20r%3D%225%22%20fill%3D%22%230c2340%22%20opacity%3D%22.65%22%2F%3E%3Ccircle%20cx%3D%22208%22%20cy%3D%22152%22%20r%3D%224%22%20fill%3D%22%234a6fa5%22%2F%3E%3Ccircle%20cx%3D%22152%22%20cy%3D%22228%22%20r%3D%224%22%20fill%3D%22%230c2340%22%20opacity%3D%22.45%22%2F%3E%3C%2Fsvg%3E")
    no-repeat right center / contain;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-nsw-page-coverage-panel-inner {
  position: relative;
  z-index: 1;
}

.pcs-location-service-coverage.pcs-nsw-coverage > .container:not(:has(.pcs-nsw-page-coverage-panel)) > .row {
  position: relative;
  z-index: 1;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__title {
  font-family: "Fraunces", Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.65rem, 1.1rem + 1.8vw, 2.35rem) !important;
  line-height: 1.2 !important;
  color: #0c2340 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.35rem !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__title.mt-60 {
  margin-top: clamp(2rem, 4vw, 2.75rem) !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__rule {
  display: none !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-parent-link {
  margin-top: 0.25rem !important;
  margin-bottom: 0.15rem !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-parent-link__simple.soft {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  color: #0c2340 !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border: none !important;
  padding: 0 !important;
  text-decoration: none !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-parent-link__simple i {
  color: #0c2340 !important;
  font-size: 0.85em !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-parent-link__simple.soft:hover,
.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-parent-link__simple.soft:hover i {
  color: #2a5ae0 !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(12px, 2vw, 18px) !important;
  margin-top: 1.35rem !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__grid + .pcs-region-links__grid {
  margin-top: clamp(12px, 2vw, 18px) !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__item {
  background: linear-gradient(165deg, #fdfcfa 0%, #f9f7f2 100%) !important;
  border: 1px solid rgba(12, 35, 64, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(15, 18, 35, 0.07) !important;
  color: #0c2340 !important;
  font-weight: 700 !important;
  font-size: clamp(16px, 0.95rem + 0.35vw, 18px) !important;
  font-family: "Outfit", system-ui, sans-serif !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__item[aria-disabled="true"] {
  opacity: 0.72;
  pointer-events: none;
  cursor: default;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__item::before {
  width: 8px !important;
  border-radius: 16px 0 0 16px !important;
  background: linear-gradient(180deg, #0c2340 0%, #061428 100%) !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__item > span:first-child {
  color: #0c2340 !important;
  font-weight: 700 !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__arrow {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #e8eaef !important;
  border: 1px solid rgba(12, 35, 64, 0.08) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__arrow i,
.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__arrow i::before {
  color: #3d4f6b !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__item:hover {
  background: linear-gradient(165deg, #ffffff 0%, #f3f0ea 100%) !important;
  color: #0c2340 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 18, 35, 0.12) !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__item:focus-visible {
  outline: 2px solid #3c72fc !important;
  outline-offset: 3px !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-top: clamp(22px, 4vw, 30px) !important;
  padding: clamp(20px, 3vw, 26px) clamp(22px, 3vw, 28px) !important;
  border-radius: 22px !important;
  background: #f4eee0 !important;
  border: 1px solid rgba(200, 185, 160, 0.45) !important;
  box-shadow:
    0 0 0 5px #eae1d1,
    0 6px 22px rgba(42, 36, 28, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta > div:first-child {
  flex: 1 1 220px !important;
  min-width: 0 !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta strong {
  display: block !important;
  color: #2a2622 !important;
  font-family: "Outfit", system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(17px, 1rem + 0.45vw, 19px) !important;
  margin-bottom: 0.2rem !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta span {
  color: rgba(42, 38, 34, 0.78) !important;
  font-weight: 500 !important;
  font-size: clamp(14px, 0.88rem + 0.2vw, 16px) !important;
  line-height: 1.45 !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .btn-one {
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  background: linear-gradient(90deg, #3b71f7 0%, #254ab4 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(37, 74, 180, 0.38) !important;
  transition: background 0.2s ease, filter 0.2s ease !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .btn-one:hover,
.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .btn-one:focus-visible {
  background: linear-gradient(90deg, #4a7fff 0%, #2f56c8 100%) !important;
  color: #fff !important;
  filter: brightness(1.02);
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .btn-one.btn-two {
  background: #fffdf9 !important;
  color: #254ab4 !important;
  border: 2px solid rgba(37, 74, 180, 0.35) !important;
  box-shadow: 0 2px 10px rgba(42, 36, 28, 0.06) !important;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .btn-one.btn-two:hover,
.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .btn-one.btn-two:focus-visible {
  background: #fff !important;
  color: #1f3d96 !important;
  filter: none;
}

.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .btn-one i,
.pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .btn-one.btn-two i {
  color: inherit !important;
}

@media (max-width: 991.98px) {
  .pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575.98px) {
  .pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__grid {
    grid-template-columns: 1fr !important;
  }

  .pcs-location-service-coverage.pcs-nsw-coverage .pcs-nsw-page-coverage-panel::after,
  .pcs-location-service-coverage.pcs-nsw-coverage > .container:not(:has(.pcs-nsw-page-coverage-panel))::after {
    opacity: 0.22;
    width: 70%;
  }

  .pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .d-flex {
    justify-content: stretch !important;
  }

  .pcs-location-service-coverage.pcs-nsw-coverage .pcs-mini-cta .btn-one {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcs-location-service-coverage.pcs-nsw-coverage .pcs-region-links__item:hover {
    transform: none !important;
  }
}
