/*
 * "Areas Serviced" hub page styles — page-specific rules only.
 *
 * Source: WPCode snippet 17888 "Suburb Hub Page".
 * Enqueued by: inc/enqueue-css.php (handle "phgp-page-areas-hub")
 * Consumers: page 5031 /areas-serviced/ only.
 *
 * PHASE 3 (28 July 2026): this file used to be a strict superset of core.css —
 * 138 of its 247 rules were byte-identical duplicates of core. Those have been
 * removed; core.css supplies them. 109 page-specific rules remain, and the file
 * went from 32.6 KB to 15.3 KB.
 *
 * Verified before removal: this file had ZERO same-selector conflicts with
 * core.css, so nothing here was overriding core and nothing changed visually.
 */

/* =====================================================================
   PERSONAS GRID — "GP care for those who can't get to a clinic"
   ===================================================================== */

.phgp .personas {
  padding: 8px 56px 48px; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.phgp .persona {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 28px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.phgp .persona-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: var(--mint-light);
  display: grid; place-items: center;
}
.phgp .persona-icon img { width: 44px; height: 44px; object-fit: contain; }
.phgp .persona-label {
  font-size: 13px; font-weight: 600; color: var(--navy);
  line-height: 1.35; max-width: 140px; text-wrap: balance;
}

/* =====================================================================
   BENEFITS — numbered 6-up grid ("Benefits of regular care")
   ===================================================================== */

.phgp .benefits {
  padding: 8px 56px 56px; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.phgp .benefit {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 18px; padding: 28px 26px;
  display: flex; flex-direction: column;
}
.phgp .benefit-num {
  font-size: 40px; font-weight: 700; color: var(--mint);
  letter-spacing: -0.02em; line-height: 1;
}
.phgp .benefit-rule {
  height: 1px; background: var(--hairline-strong);
  margin: 18px 0; width: 100%;
}
.phgp .benefit h3 {
  font-size: 22px; font-weight: 600; color: var(--navy);
  letter-spacing: -0.015em; margin-bottom: 10px; line-height: 1.2;
}
.phgp .benefit p { font-size: 14px; color: var(--dim); line-height: 1.6; }

/* =====================================================================
   DETAIL — full-sentence asterisk note
   ===================================================================== */

.phgp .detail .detail-note {
  font-size: 14px; color: var(--soft); font-style: italic;
  line-height: 1.55; margin-top: 4px; margin-bottom: 0;
}

/* =====================================================================
   REGISTER CTA BAND
   ===================================================================== */

.phgp .cta-band { padding: 8px 56px 80px; max-width: 1280px; margin: 0 auto; }
.phgp .cta-band-inner {
  background: var(--mint-light); border: 1px solid var(--hairline);
  border-radius: 24px; padding: 48px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.phgp .cta-band h2 {
  font-size: 44px; font-weight: 700; color: var(--navy);
  letter-spacing: -0.025em; line-height: 1.05; max-width: 720px; text-wrap: balance;
}

/* =====================================================================
   PLACEHOLDER BLOCKS (sections built outside this CSS:
   sign-up form, Our GPs, service area, fees, Google reviews)
   ===================================================================== */

.phgp .ph-wrap { padding: 24px 56px; max-width: 1280px; margin: 0 auto; }
.phgp .ph-placeholder {
  border: 2px dashed var(--hairline-strong); border-radius: 20px;
  background: repeating-linear-gradient(45deg, #fff, #fff 16px, #FBFAF4 16px, #FBFAF4 32px);
  padding: 56px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.phgp .ph-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mint); background: var(--mint-light);
  padding: 6px 14px; border-radius: 999px;
}
.phgp .ph-placeholder h3 {
  font-size: 22px; font-weight: 600; color: var(--navy); letter-spacing: -0.015em;
}
.phgp .ph-placeholder p { font-size: 14px; color: var(--dim); max-width: 560px; }

/* =====================================================================
   RESPONSIVE — new sections
   ===================================================================== */

@media (max-width: 960px) {
  .phgp .personas { padding: 8px 24px 40px; grid-template-columns: repeat(3, 1fr); }
  .phgp .benefits { padding: 8px 24px 48px; grid-template-columns: repeat(2, 1fr); }

  .phgp .cta-band { padding: 8px 24px 56px; }
  .phgp .cta-band-inner { padding: 40px 24px; }
  .phgp .cta-band h2 { font-size: 32px; }
  .phgp .ph-wrap { padding: 16px 24px; }
  .phgp .ph-placeholder { padding: 40px 24px; }
}

@media (max-width: 560px) {
  .phgp .personas { grid-template-columns: repeat(2, 1fr); }
  .phgp .benefits { grid-template-columns: 1fr; }
  .phgp .benefit {
    display: grid; grid-template-columns: auto 1fr;
    column-gap: 16px; row-gap: 4px; padding: 20px 22px; align-items: start;
  }
  .phgp .benefit-num { grid-column: 1; grid-row: 1 / span 2; font-size: 30px; line-height: 1.1; align-self: start; }
  .phgp .benefit-rule { display: none; }
  .phgp .benefit h3 { grid-column: 2; grid-row: 1; font-size: 18px; margin-bottom: 4px; }
  .phgp .benefit p { grid-column: 2; grid-row: 2; }

  .phgp .cta-band .btn-primary { width: 100%; justify-content: center; }
}

/* =====================================================================
   16. LOCATION LAYER — Areas Serviced hub + suburb pages
   (shared by ALL location pages; promoted to global at consolidation)
   ===================================================================== */

/* Region jump nav (under hero) */
.phgp .loc-jump {
  max-width: 1280px; margin: 0 auto; padding: 0 56px 8px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.phgp .loc-jump-pill {
  display: inline-flex; align-items: center;
  padding: 10px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--hairline-strong);
  font-size: 14px; font-weight: 600; color: var(--navy);
  text-decoration: none; transition: border-color 0.15s, background 0.15s;
}
.phgp .loc-jump-pill:hover { border-color: var(--navy); background: var(--mint-light); color: var(--navy); }

/* Region band */
.phgp .region { padding: 64px 0 56px; scroll-margin-top: 96px; }
.phgp .region-bone { background: var(--bone); }
.phgp .region-inner { max-width: 1280px; margin: 0 auto; padding: 0 56px; }
.phgp .region-head { max-width: 820px; margin-bottom: 28px; }
.phgp .region-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 14px;
}
.phgp .region-head .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.phgp .region-head h2 {
  font-size: 36px; font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.08; color: var(--navy); margin-bottom: 14px; text-wrap: balance;
}
.phgp .region-head p { font-size: 17px; color: var(--dim); line-height: 1.65; }

/* Suburb pill grid */
.phgp .sub-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.phgp .sub-pill {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--hairline);
  font-size: 14px; font-weight: 500; color: var(--ink);
  text-decoration: none;
}
a.sub-pill,
.phgp a.sub-pill {
  background: var(--mint-light);
  border-color: var(--mint);
  color: var(--navy);
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
/* arrow to signal it goes somewhere */
.phgp a.sub-pill::after {
  content: "\2192";           /* ? */
  margin-left: 6px;
  font-weight: 700;
  color: var(--mint-hover);
  transition: transform 0.15s;
}
.phgp a.sub-pill:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy);
}
.phgp a.sub-pill:hover::after { transform: translateX(2px); }

/* Map iframe inside .area-map (base only styles img/svg) */
.phgp .area-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* CTA band extras */
.phgp .loc-cta-sub { font-size: 17px; color: var(--dim); max-width: 560px; line-height: 1.6; }
.phgp .loc-cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Byline / disclaimer */
.phgp .loc-byline {
  max-width: 1280px; margin: 0 auto; padding: 0 56px 72px;
}
.phgp .loc-byline p {
  font-size: 14px; color: var(--soft); line-height: 1.6;
  max-width: 820px; margin-bottom: 10px;
  border-top: 0;
}
.phgp .loc-byline p:first-child {
  border-top: 1px solid var(--hairline); padding-top: 24px;
  color: var(--dim);
}

/* Responsive — location layer */
@media (max-width: 960px) {
  .phgp .loc-jump { padding: 0 24px 8px; }
  .phgp .region { padding: 48px 0 44px; }
  .phgp .region-inner { padding: 0 24px; }
  .phgp .region-head h2 { font-size: 30px; }
  .phgp .loc-byline { padding: 0 24px 56px; }
}
@media (max-width: 560px) {
  .phgp .loc-jump-pill { padding: 9px 14px; font-size: 13px; }
  .phgp .sub-pill { padding: 7px 13px; font-size: 13px; }
  .phgp .region-head h2 { font-size: 26px; }
  .phgp .loc-cta-row { width: 100%; flex-direction: column; }
  .phgp .loc-cta-row .btn-primary,
  .phgp .loc-cta-row .btn-ghost { width: 100%; justify-content: center; }
}

/* =====================================================================
   17. SUBURB CHECKER + JUMP-NAV AFFORDANCE (v1.1)
   ===================================================================== */

.phgp .loc-jump-label { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--dim); margin-right: 4px; }
.phgp .loc-jump-arrow { color: var(--mint); margin-left: 8px; font-weight: 700; }

.phgp .loc-check { max-width: 1280px; margin: 0 auto; padding: 24px 56px 8px; }
.phgp .loc-check-inner {
  background: var(--mint-light); border: 1px solid var(--hairline);
  border-radius: 24px; padding: 36px 40px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center;
}
.phgp .loc-check h2 {
  font-size: 30px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; color: var(--navy); margin-bottom: 10px; text-wrap: balance;
}
.phgp .loc-check-desc { font-size: 16px; color: var(--dim); line-height: 1.6; }
.phgp .loc-check-form { display: flex; gap: 10px; flex-wrap: wrap; }
.phgp .loc-check-input {
  flex: 1; min-width: 200px; padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--hairline-strong); background: #fff;
  color: var(--ink); font-family: inherit; font-size: 16px;
}
.phgp .loc-check-input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(91,208,168,0.25); }
.phgp .loc-check-result { font-size: 15px; line-height: 1.6; margin-top: 12px; }
.phgp .loc-check-result:empty { display: none; }
.phgp .loc-check-result.yes { color: var(--reef-700); }
.phgp .loc-check-result.no { color: var(--navy); }
.phgp .loc-check-result a { font-weight: 600; text-decoration: underline; }

@media (max-width: 960px) {
  .phgp .loc-check { padding: 16px 24px 8px; }
  .phgp .loc-check-inner { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .phgp .loc-check h2 { font-size: 26px; }
}
@media (max-width: 560px) {
  .phgp .loc-check-form { flex-direction: column; }
  .phgp .loc-check-form .btn-primary { width: 100%; justify-content: center; }
}

/* ?? v1.2 — live suburb search ?? */
.phgp .loc-check-inner { align-items: start; }
.phgp .loc-check-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 236px; overflow: auto; }
.phgp .loc-check-list:empty { display: none; }
.phgp .loc-check-list li {
  background: #fff; border: 1px solid var(--hairline); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; gap: 10px;
  transition: border-color 0.15s, background 0.15s;
}
.phgp .loc-check-list li:hover { border-color: var(--mint); }
.phgp .loc-check-list li.none { cursor: default; color: var(--dim); font-style: italic; }
.phgp .loc-check-list li.none:hover { border-color: var(--hairline); }
.phgp .loc-check-list .tick { color: var(--mint); font-weight: 700; }
.phgp .loc-check-note { font-size: 14px; color: var(--dim); margin-top: 12px; }
.phgp .loc-check-note a { font-weight: 600; text-decoration: underline; }

/* ?? v1.3 — telehealth note callout ?? */
.phgp .loc-check-note {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 14px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--reef-200); border-radius: 12px;
}
.phgp .loc-check-note-tag {
  flex-shrink: 0; margin-top: 1px;
  background: var(--reef-500); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.phgp .loc-check-note p { font-size: 14px; color: var(--ink); line-height: 1.55; margin: 0; }
.phgp .loc-check-note a { font-weight: 600; color: var(--navy); text-decoration: underline; }

/* =====================================================================
   18. AREAS-SERVICED FIXES (v1.2) — spacing, full-bleed regions,
       call icon, mobile checker
   ===================================================================== */

/* FIX: space below the suburb-checker equals hero->checker gap above.
   Hero ends with 56px bottom padding; match it under the checker. */
.phgp .loc-check { margin-bottom: 56px; }

/* FIX: region-bone bands go full-bleed edge-to-edge (same technique as
   .nightrail — box-shadow halo + clip-path survives theme overflow clip).
   The inner content keeps its 1280px max-width via .region-inner. */
.phgp .region-bone {
  box-shadow: 0 0 0 100vmax var(--bone);
  clip-path: inset(0 -100vmax);
}

/* FIX: call-button icon (replaces emoji) — size + align the Lucide SVG */
.phgp .btn-call-ico { width: 20px; height: 20px; flex: 0 0 auto; }

/* FIX: telehealth note + checker layout on mobile */
@media (max-width: 768px) {
  /* the checker is a 2-col grid on desktop; stack it on mobile */
  .phgp .loc-check-inner { grid-template-columns: 1fr; gap: 20px; }
  .phgp .loc-check { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  /* telehealth note: tag sits ABOVE the text instead of a cramped side column */
  .phgp .loc-check-note { flex-direction: column; align-items: flex-start; gap: 10px; }
  .phgp .loc-check-note-tag { align-self: flex-start; }
}

/* =====================================================================
   19. ANCHOR SCROLL OFFSET (v1.4) — clears the sticky Elementor header
   ---------------------------------------------------------------------
   The theme scrolls jump-links with JavaScript, which ignores CSS
   scroll-margin-top. So each region/checker id lives on an INVISIBLE
   <span class="loc-anchor"> placed just before the block, pulled up so
   the theme's JS lands ~210px above the visible heading — clearing the
   sticky header (measured bottom ~187px). The span has zero height and
   never affects layout or the full-bleed region backgrounds.
   Tune the -210px if the header height changes.
   ===================================================================== */
.phgp .loc-anchor {
  display: block;
  position: relative;
  top: -210px;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}
