/* =========================================================================
   Giombetti & Brady — component styles
   Signature section styling that core blocks can't express on their own.
   Colors/type come from theme.json; this file adds layout + the details:
   the gold "thread of care", photo placeholders, cards, and section rhythm.
   ========================================================================= */

:root{
  --gb-navy:var(--wp--preset--color--navy,#1C3144);
  --gb-navy-soft:var(--wp--preset--color--navy-soft,#27435A);
  --gb-gold:var(--wp--preset--color--gold,#C2A14D);
  --gb-gold-deep:var(--wp--preset--color--gold-deep,#A8883A);
  --gb-blue:var(--wp--preset--color--blue,#1B87C6);
  --gb-cream:var(--wp--preset--color--cream,#F6F0E2);
  --gb-warm-white:var(--wp--preset--color--warm-white,#FCFAF4);
  --gb-ink:var(--wp--preset--color--ink,#262421);
  --gb-muted:var(--wp--preset--color--muted,#6A6357);
  --gb-line:var(--wp--preset--color--line,#E4DAC4);
  --gb-display:"Fraunces",Georgia,serif;
  --gb-body:"Mulish",system-ui,sans-serif;
}

body{background:var(--gb-warm-white);color:var(--gb-ink);font-family:var(--gb-body)}
h1,h2,h3,h4{font-family:var(--gb-display);color:var(--gb-navy)}

/* ---- shared bits ---------------------------------------------------------- */
.gb-eyebrow{
  font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gb-gold-deep);display:inline-flex;align-items:center;gap:10px;margin:0 0 6px;
}
.gb-eyebrow::before{content:"";width:26px;height:1.5px;background:var(--gb-gold)}
.gb-eyebrow.is-light,.has-navy-background-color .gb-eyebrow{color:var(--gb-gold)}

.gb-lede{font-size:18px;color:var(--gb-muted);max-width:34em}
.gb-center{text-align:center;max-width:720px;margin-left:auto;margin-right:auto}
.gb-center .gb-eyebrow{justify-content:center}

/* Full-bleed section padding */
.gb-section{padding-block:clamp(3.5rem,7vw,5.5rem)}
.gb-section.is-navy{background:var(--gb-navy);color:#fff}
.gb-section.is-cream{background:var(--gb-cream);border-block:1px solid var(--gb-line)}
.gb-section.is-navy :is(h1,h2,h3){color:#fff}

/* Button helpers (core buttons are themed via theme.json; these are extra looks) */
.wp-block-button.is-style-gold .wp-block-button__link{background:var(--gb-gold);color:var(--gb-navy)}
.wp-block-button.is-style-gold .wp-block-button__link:hover{background:var(--gb-gold-deep)}
.wp-block-button.is-style-ghost .wp-block-button__link{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.55)}
.wp-block-button.is-style-ghost .wp-block-button__link:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.wp-block-button.is-style-outline-navy .wp-block-button__link{background:transparent;color:var(--gb-navy);border:1.5px solid var(--gb-navy)}
.wp-block-button.is-style-outline-navy .wp-block-button__link:hover{background:var(--gb-navy);color:#fff}

/* ---- header --------------------------------------------------------------- */
/* Make the whole header (top bar + nav) stick as one unit. Targeting the
   template-part wrapper keeps it sticky across the full page scroll. */
header.wp-block-template-part,
.wp-site-blocks > header{position:sticky;top:0;z-index:50}

/* Header/footer touch the page content everywhere. */
.wp-site-blocks > *{margin-block-start:0}
/* Full-bleed section templates (home + full-width pages): bands butt together
   with no stray block-gap strips. Scoped via .gb-flush so normal text pages
   keep their paragraph spacing. */
.gb-flush > *{margin-block-start:0}
.gb-flush .wp-block-post-content > *{margin-block-start:0}
/* Core puts a flow-layout top margin on <main> itself (and can win on source
   order against the rules above). Target the element+class so we out-specify
   core's :root :where(.is-layout-flow) rule no matter the load order. */
main.gb-flush{margin-block-start:0}
main.gb-flush > *{margin-block-start:0}
main.gb-flush .wp-block-post-content > *{margin-block-start:0}
/* Full-bleed alt hero: keep it flush under the header too */
.wp-block-post-content > .gb-duo{margin-block-start:0}

/* ---- anchor targets ------------------------------------------------------- */
/* The header is sticky, so hash links (e.g. /policies/#insurance) would land
   underneath it. Offset every anchor target by roughly the header's height.
   The admin bar pushes the header down 32px, so logged-in users need more. */
[id]{scroll-margin-top:120px}
.admin-bar [id]{scroll-margin-top:152px}

/* Keep the sticky header clear of the WP admin bar when logged in */
.admin-bar header.wp-block-template-part,
.admin-bar .wp-site-blocks > header{top:32px}
@media screen and (max-width:782px){
  .admin-bar header.wp-block-template-part,
  .admin-bar .wp-site-blocks > header{top:46px}
}

/* Top utility bar */
.gb-topbar{background:var(--gb-navy);color:#cbd5df}
.gb-topbar-inner{max-width:1180px;margin:0 auto;padding:8px 28px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13.5px}
.gb-topbar-addr,.gb-topbar-portal{display:inline-flex;align-items:center;gap:8px}
.gb-topbar-addr{color:#cbd5df;font-weight:600}
.gb-topbar-addr svg{color:var(--gb-gold);flex:none}
.gb-topbar-portal{color:#fff;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:12.5px}
.gb-topbar-portal svg{color:var(--gb-gold);flex:none}
.gb-topbar-portal:hover{color:var(--gb-gold)}
.gb-topbar-portal:hover svg{color:#fff}

/* Main nav row: gold hairline underneath, echoing the reference */
.gb-header{background:rgba(252,250,244,.96);backdrop-filter:blur(8px);
  border-bottom:2px solid var(--gb-gold)}
.gb-header .gb-brand{display:inline-flex;flex-direction:column;align-items:flex-start;text-decoration:none;line-height:1}
.gb-brand .gb-brand-name{display:block;font-family:var(--gb-display);font-weight:600;font-size:30px;color:var(--gb-blue);line-height:1;margin:0}
.gb-brand .gb-brand-sub{font-size:11px;letter-spacing:.32em;text-transform:uppercase;color:var(--gb-gold-deep);
  font-weight:700;border-top:1.5px solid var(--gb-gold);padding-top:3px;margin-top:4px;display:inline-block}
.gb-header .wp-block-navigation{font-weight:600;font-size:14.5px}
.gb-header .wp-block-navigation a{color:var(--gb-navy);position:relative}
.gb-header .wp-block-navigation a::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:2px;
  background:var(--gb-gold);transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
.gb-header .wp-block-navigation a:hover::after,
.gb-header .wp-block-navigation a:focus-visible::after,
.gb-header .wp-block-navigation a[aria-current]::after,
.gb-header .wp-block-navigation .current-menu-item > a::after,
.gb-header .wp-block-navigation .current_page_item > a::after,
.gb-header .wp-block-navigation .current-menu-ancestor > a::after{transform:scaleX(1)}
.gb-phone{font-weight:800;color:var(--gb-navy);font-size:15px;line-height:1.1}
.gb-phone small{display:block;color:var(--gb-gold-deep);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

/* ---- hero ----------------------------------------------------------------- */
.gb-hero{background:var(--gb-navy);color:#fff;position:relative;padding-block:clamp(3.5rem,6vw,5.5rem)}
.gb-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--gb-gold)}
.gb-hero :is(h1,h2){color:#fff}
.gb-hero h1{font-weight:600;letter-spacing:-.01em}
.gb-hero h1 em{font-style:italic;color:var(--gb-gold);font-weight:500}
.gb-hero .gb-lede{color:#D7DEE5}

/* photo placeholders (until real photography is dropped in) */
.gb-photo{position:relative;border-radius:3px;overflow:hidden;min-height:420px;
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:repeating-linear-gradient(45deg,#ffffff10 0 14px,#ffffff05 14px 28px),var(--gb-navy-soft);
  border:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.8);font-weight:600;font-size:13px}
.gb-photo.is-light{background:repeating-linear-gradient(45deg,#00000006 0 14px,#00000000 14px 28px),var(--gb-cream);
  border-color:var(--gb-line);color:var(--gb-muted)}
.gb-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gb-floatcard{position:absolute;left:18px;bottom:24px;max-width:255px;background:var(--gb-warm-white);color:var(--gb-navy);
  border-radius:3px;padding:16px 20px;border-left:3px solid var(--gb-gold);box-shadow:0 18px 40px -18px rgba(0,0,0,.55)}
.gb-floatcard .k{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--gb-gold-deep);font-weight:800}
.gb-floatcard .v{font-family:var(--gb-display);font-size:18px;font-weight:600;margin:4px 0}
.gb-floatcard .d{font-size:13px;color:var(--gb-muted)}

/* ---- pain grid ------------------------------------------------------------ */
.gb-pains{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.gb-pain{background:var(--gb-cream);border:1px solid var(--gb-line);border-radius:3px;padding:22px}
.gb-pain .mark{color:var(--gb-gold-deep);font-family:var(--gb-display);font-size:20px;font-weight:700}
.gb-pain p{margin:8px 0 0;font-weight:600;color:var(--gb-navy);font-size:15.5px}

/* ---- stats ---------------------------------------------------------------- */
.gb-stats{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--gb-line);
  border:1px solid var(--gb-line);border-radius:3px;overflow:hidden}
.gb-stat{background:var(--gb-warm-white);padding:24px}
.gb-stat .n{font-family:var(--gb-display);font-size:32px;font-weight:700;color:var(--gb-navy);line-height:1}
.gb-stat .n b{color:var(--gb-gold-deep)}
.gb-stat .l{font-size:13.5px;color:var(--gb-muted);font-weight:600;margin-top:8px}

/* ---- plan: the signature gold thread ------------------------------------- */
.gb-steps{position:relative;margin-top:1rem}
.gb-steps::before{content:"";position:absolute;left:31px;top:22px;bottom:22px;width:2px;
  background:linear-gradient(var(--gb-gold),rgba(194,161,77,.15))}
.gb-step{display:grid;grid-template-columns:64px 1fr;gap:24px;align-items:start;padding:16px 0}
.gb-step .num{width:64px;height:64px;border-radius:50%;background:var(--gb-navy);border:2px solid var(--gb-gold);
  display:flex;align-items:center;justify-content:center;font-family:var(--gb-display);font-size:22px;font-weight:700;
  color:var(--gb-gold);position:relative;z-index:1}
.gb-step h3{color:#fff;font-size:21px;margin:0}
.gb-step p{color:#C7D0D8;margin:6px 0 0;font-size:16.5px}
.gb-step .hl{color:var(--gb-gold);font-weight:700;font-style:italic;font-family:var(--gb-display)}

/* ---- differentiator cards ------------------------------------------------- */
.gb-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gb-card{background:var(--gb-warm-white);border:1px solid var(--gb-line);border-radius:3px;padding:28px;
  transition:transform .18s ease,box-shadow .18s ease}
.gb-card:hover{transform:translateY(-3px);box-shadow:0 22px 40px -26px rgba(28,49,68,.35)}
.gb-card h3{font-size:20px;margin:0 0 6px}
.gb-card p{color:var(--gb-muted);margin:0;font-size:15.5px}
.gb-card.is-feature{background:var(--gb-navy);border-color:var(--gb-navy)}
.gb-card.is-feature h3{color:#fff}
.gb-card.is-feature p{color:#C7D0D8}
.gb-card .tag{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--gb-gold);font-weight:800;display:block;margin-bottom:8px}
.gb-card .ic{width:40px;height:40px;color:var(--gb-gold-deep);margin-bottom:14px}
.gb-card.is-feature .ic{color:var(--gb-gold)}

/* ---- services ------------------------------------------------------------- */
.gb-svcs{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.gb-svcs > *{margin:0}
.gb-svc{display:grid;grid-template-columns:110px 1fr;background:var(--gb-warm-white);
  border:1px solid var(--gb-line);border-radius:3px;overflow:hidden}
.gb-svc > *{margin:0}
.gb-svc .img{position:relative;overflow:hidden;background:repeating-linear-gradient(45deg,#00000006 0 12px,#00000000 12px 24px),var(--gb-cream);
  border-right:1px solid var(--gb-line);color:var(--gb-gold-deep);padding:0}
.gb-svc .img .wp-block-image{position:absolute;inset:0;margin:0}
.gb-svc .img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.gb-svc .img figcaption{display:none}
.gb-svc .body{padding:24px}
.gb-svc .body > *{margin-block-start:0}
.gb-svc .body h3{font-size:19px;margin:0}
.gb-svc .body p{color:var(--gb-muted);font-size:15px;margin:8px 0 0}
.gb-svc .body .more{margin:12px 0 0;font-size:14px}
.gb-svc .body .more a{color:var(--gb-gold-deep);font-weight:700;text-decoration:none}
.gb-svc .body .more a:hover{text-decoration:underline}

/* ---- testimonials --------------------------------------------------------- */
.gb-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.gb-quote{background:var(--gb-navy-soft);border:1px solid rgba(255,255,255,.12);border-radius:3px;padding:28px}
.gb-quote .mark{font-family:var(--gb-display);font-size:52px;color:var(--gb-gold);line-height:.5;height:24px}
.gb-quote p{color:#E7ECF0;font-size:15.5px;font-style:italic;margin:0}
.gb-quote .who{margin-top:16px;font-weight:800;color:var(--gb-gold);font-size:14px}
.gb-quote .gen{display:block;font-weight:600;color:#9FB0BD;font-size:12.5px;letter-spacing:.06em;
  text-transform:uppercase;margin-top:3px;font-style:normal}

/* ---- blog cards ----------------------------------------------------------- */
.gb-posts .wp-block-post{border:1px solid var(--gb-line);border-radius:3px;overflow:hidden;background:var(--gb-warm-white);
  transition:transform .18s ease,box-shadow .18s ease}
.gb-posts .wp-block-post:hover{transform:translateY(-3px);box-shadow:0 22px 40px -26px rgba(28,49,68,.3)}
.gb-posts .wp-block-post-featured-image{margin:0}
.gb-posts .wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover;width:100%}
.gb-posts .gb-post-body{padding:22px 24px}
.gb-posts .wp-block-post-title{font-size:18px;line-height:1.25;margin:8px 0 0}
.gb-posts .wp-block-post-date{font-size:13px;color:var(--gb-muted);font-weight:600}

/* ---- final cta ------------------------------------------------------------ */
.gb-final{background:var(--gb-cream);border-top:1px solid var(--gb-line);text-align:center}
.gb-final h2{max-width:16em;margin-inline:auto}
.gb-final h2 em{font-style:italic;color:var(--gb-gold-deep)}
.gb-final .ph{font-weight:800;color:var(--gb-navy);font-size:18px}

/* ---- footer --------------------------------------------------------------- */
.gb-footer{background:var(--gb-navy);color:#B9C4CE;font-size:14.5px;padding-block:clamp(3rem,5vw,4rem);border-top:2px solid var(--gb-gold)}
.gb-footer h4,.gb-footer .wp-block-heading{color:#fff;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;margin:0 0 12px;font-family:var(--gb-body)}
.gb-footer a{color:#B9C4CE;text-decoration:none}
.gb-footer a:hover{color:var(--gb-gold)}
/* Footer link lists: no bullets, no indent, tidy spacing */
.gb-footer ul,.gb-footer .wp-block-list{list-style:none;margin:0;padding:0}
.gb-footer li{margin:0 0 9px}
/* Footer wordmark: sized for the footer (independent of the header size) */
.gb-footer .gb-brand-name{color:#fff;font-size:20px}
.gb-footer .gb-brand-sub{color:var(--gb-gold)}
.gb-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:18px;
  font-size:12.5px;color:#8FA0AD;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* ---- reveal animation ----------------------------------------------------- */
.gb-reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.gb-reveal.is-in{opacity:1;transform:none}

/* ---- responsive ----------------------------------------------------------- */
@media (max-width:920px){
  .gb-pains{grid-template-columns:1fr 1fr}
  .gb-cards,.gb-quotes{grid-template-columns:1fr}
  .gb-svcs{grid-template-columns:1fr}
  .gb-floatcard{position:static;max-width:none;margin-top:16px}
}
@media (max-width:600px){
  .gb-pains{grid-template-columns:1fr}
  .gb-topbar-inner{font-size:12px;padding-left:18px;padding-right:18px}
  .gb-topbar-addr{display:none}
  .gb-topbar-portal{margin-left:auto}
}
@media (prefers-reduced-motion:reduce){
  .gb-reveal{opacity:1;transform:none;transition:none}
}

/* =========================================================================
   About page — practice story, values, and Meet the Team
   ========================================================================= */

/* Portrait-style placeholder (taller than the landscape hero photo) */
.gb-portrait{aspect-ratio:4/5;min-height:0}

/* Values grid */
.gb-values{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:stretch}
.gb-values > *{margin:0}
.gb-value{display:flex;flex-direction:column;height:100%;align-self:stretch;background:var(--gb-warm-white);border:1px solid var(--gb-line);border-radius:3px;padding:26px}
.gb-value h3{font-size:19px;margin:0 0 6px}
.gb-value p{color:var(--gb-muted);font-size:15px;margin:0}

/* Meet the Team */
.gb-team{display:flex;flex-direction:column;gap:clamp(48px,6vw,84px)}
.gb-team-member{display:grid;grid-template-columns:0.85fr 1.15fr;gap:clamp(28px,4vw,52px);align-items:center}
/* Alternating rows: mirror the track widths as well as the order, so the photo
   always occupies the narrow (0.85fr) track and every portrait is the same size. */
.gb-team-member:nth-child(even){grid-template-columns:1.15fr 0.85fr}
.gb-team-member:nth-child(even) .gb-team-photo{order:2}

.gb-team-photo{position:relative;border-radius:3px;overflow:hidden;aspect-ratio:4/5;
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:repeating-linear-gradient(45deg,#00000006 0 14px,#00000000 14px 28px),var(--gb-cream);
  border:1px solid var(--gb-line);color:var(--gb-muted);font-weight:600;font-size:13px}
.gb-team-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

.gb-team-role{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--gb-gold-deep);margin:0 0 6px}
.gb-team-name{font-size:clamp(26px,3vw,34px);margin:0 0 14px}
.gb-team-bio p{color:var(--gb-muted);font-size:16px;margin:0 0 12px}

.gb-team-meta{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:22px;
  padding-top:22px;border-top:1px solid var(--gb-line)}
.gb-team-meta h4,.gb-team-meta .wp-block-heading{font-size:11px;font-weight:800;letter-spacing:.14em;
  text-transform:uppercase;color:var(--gb-gold-deep);margin:0 0 8px;font-family:var(--gb-body)}
.gb-team-meta ul,.gb-team-meta .wp-block-list{list-style:none;margin:0;padding:0}
.gb-team-meta li{position:relative;padding-left:16px;margin:0 0 6px;font-size:14.5px;color:var(--gb-ink)}
.gb-team-meta li::before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:50%;background:var(--gb-gold)}

.gb-team-quote{margin-top:20px;border-left:3px solid var(--gb-gold);padding:4px 0 4px 16px;
  font-style:italic;color:var(--gb-navy);font-size:15.5px}
.gb-team-quote .who{display:block;font-style:normal;font-weight:700;color:var(--gb-gold-deep);
  font-size:13px;margin-top:6px;letter-spacing:.03em}

@media (max-width:820px){
  .gb-values{grid-template-columns:1fr}
  .gb-team-member{grid-template-columns:1fr;gap:22px}
  .gb-team-member .gb-team-photo{order:0;max-width:340px}
  .gb-team-meta{grid-template-columns:1fr}
}

/* Full-width page hero (Cover block). To get the Pirate-style photo header:
   select the Cover, add a background image, and lower the overlay opacity
   (block settings) to ~40–55% so the photo shows through the navy tint. */
.gb-pagehero{text-align:center}
.gb-pagehero .wp-block-cover__inner-container{max-width:880px;margin-inline:auto;padding-inline:20px}
.gb-pagehero :is(h1,h2){color:#fff}
.gb-pagehero .gb-eyebrow{justify-content:center;color:var(--gb-gold)}
.gb-pagehero .gb-eyebrow::before{background:var(--gb-gold)}
.gb-pagehero .gb-lede{color:#D7DEE5;max-width:38em;margin-inline:auto}

/* Homepage welcome / intro copy */
.gb-welcome p{font-size:17.5px;line-height:1.7;color:#3A3733}
/* Wider header just for the Welcome section so the heading fits on one line
   (other .gb-center section headers stay at their default 720px) */
.gb-welcome .gb-center{max-width:960px}

/* =========================================================================
   Services page — alternating service detail rows
   ========================================================================= */
.gb-svc-detail{display:flex;flex-direction:column;gap:clamp(52px,7vw,88px)}
.gb-intro-lead{max-width:760px;margin:0 auto;font-family:var(--gb-display);font-weight:400;
  font-size:clamp(18px,2vw,22px);line-height:1.55;color:var(--gb-navy)}
.gb-svc-detail > *{margin:0}
.gb-svc-row{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,4vw,56px);align-items:center}
.gb-svc-row > *{margin:0}
.gb-svc-row:nth-child(even) .gb-svc-photo{order:2}
.gb-svc-photo{position:relative;overflow:hidden;border-radius:3px;aspect-ratio:4/3;
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:repeating-linear-gradient(45deg,#00000006 0 14px,#00000000 14px 28px),var(--gb-cream);
  border:1px solid var(--gb-line);color:var(--gb-muted);font-weight:600;font-size:13px}
.gb-svc-photo .wp-block-image{position:absolute;inset:0;margin:0}
.gb-svc-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.gb-svc-photo figcaption{display:none}
.gb-svc-row-content > *{margin-block-start:0}
.gb-svc-row-content h2{font-size:clamp(24px,3vw,32px);margin:0 0 12px}
.gb-svc-row-content p{color:var(--gb-muted);font-size:16.5px;margin:0 0 10px}
.gb-svc-row-content h4{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gb-gold-deep);margin:20px 0 8px;font-family:var(--gb-body)}
.gb-svc-included{list-style:none;margin:0;padding:0}
.gb-svc-included li{position:relative;padding-left:20px;margin:0 0 8px;font-size:15.5px;color:var(--gb-ink)}
.gb-svc-included li::before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:50%;background:var(--gb-gold)}
@media (max-width:820px){
  .gb-svc-row{grid-template-columns:1fr;gap:24px}
  .gb-svc-row .gb-svc-photo{order:0;max-width:520px}
}

/* =========================================================================
   Patient Info page — numbered category cards
   ========================================================================= */
.gb-info-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.gb-info-cards > *{margin:0}
.gb-info-card{display:flex;flex-direction:column;height:100%;background:var(--gb-warm-white);
  border:1px solid var(--gb-line);border-radius:3px;padding:36px 32px;
  transition:transform .18s ease,box-shadow .18s ease}
.gb-info-card:hover{transform:translateY(-3px);box-shadow:0 22px 40px -26px rgba(28,49,68,.35)}
.gb-info-card > *{margin:0}
.gb-info-card .num{font-family:var(--gb-display);font-size:34px;font-weight:700;color:var(--gb-gold);line-height:1;margin-bottom:16px}
.gb-info-card h3{font-size:22px;margin:0 0 10px}
.gb-info-card p{color:var(--gb-muted);font-size:15.5px;margin:0 0 auto}
.gb-info-card .more{margin:20px 0 0;font-size:14px}
.gb-info-card .more a{color:var(--gb-gold-deep);font-weight:700;text-decoration:none}
.gb-info-card .more a:hover{text-decoration:underline}
@media (max-width:820px){.gb-info-cards{grid-template-columns:1fr}}

/* =========================================================================
   Resource / info pages — age chips and callout box
   ========================================================================= */
.gb-agechips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:18px 0 0;padding:0}
.gb-agechips li{background:var(--gb-warm-white);border:1px solid var(--gb-line);border-radius:100px;
  padding:8px 18px;font-weight:600;font-size:14.5px;color:var(--gb-navy);margin:0}
.gb-agechips li::before{display:none}
.gb-callout{background:var(--gb-warm-white);border:1px solid var(--gb-line);border-left:4px solid var(--gb-gold);
  border-radius:3px;padding:clamp(28px,4vw,40px)}
.gb-callout > *{margin-block-start:0}
.gb-callout h2,.gb-callout h3{margin:0 0 8px}
.gb-prose{max-width:820px;margin-inline:auto}
.gb-prose > *{margin-block-start:0}
.gb-prose p{color:var(--gb-muted);font-size:16.5px;margin:0 0 12px}

/* =========================================================================
   Policies page — two-column policy list
   ========================================================================= */
.gb-policies{max-width:1000px;margin-inline:auto}
.gb-policies > *{margin:0}
.gb-policy{display:grid;grid-template-columns:240px 1fr;gap:clamp(24px,4vw,48px);
  padding:clamp(28px,4vw,38px) 0;border-top:1px solid var(--gb-line);align-items:start}
.gb-policy > *{margin:0}
.gb-policy:first-child{border-top:none;padding-top:0}
.gb-policy h2{font-size:21px;margin:0;line-height:1.25}
.gb-policy-body > *{margin-block-start:0}
.gb-policy-body p{color:var(--gb-muted);font-size:16px;margin:0 0 12px}
.gb-policy-body p:last-child{margin-bottom:0}
.gb-policy-body strong{color:var(--gb-navy)}
.gb-policy-body h4{font-size:13px;font-weight:800;color:var(--gb-navy);letter-spacing:.01em;margin:18px 0 8px;font-family:var(--gb-body)}
.gb-policy-body .gb-svc-included{margin:4px 0 12px}
.gb-policy-body .gb-agechips{margin:8px 0 0}
@media (max-width:820px){
  .gb-policy{grid-template-columns:1fr;gap:10px}
}

/* =========================================================================
   Book an Appointment — form styling, big phone, after-hours callout list
   ========================================================================= */
.gb-form{background:var(--gb-warm-white);border:1px solid var(--gb-line);border-radius:4px;padding:clamp(26px,4vw,38px);max-width:620px}
.gb-form .field{margin-bottom:18px}
.gb-form label{display:block;font-weight:700;font-size:14px;color:var(--gb-navy);margin-bottom:6px}
.gb-form input,.gb-form textarea{width:100%;padding:12px 14px;border:1px solid var(--gb-line);border-radius:3px;
  font-family:var(--gb-body);font-size:15px;background:#fff;color:var(--gb-ink);box-sizing:border-box}
.gb-form input:focus,.gb-form textarea:focus{outline:2px solid var(--gb-blue);outline-offset:1px;border-color:var(--gb-blue)}
.gb-form .opt{font-weight:500;color:var(--gb-muted);font-size:12px}
.gb-form button{background:var(--gb-blue);color:#fff;border:none;border-radius:2px;padding:14px 28px;
  font-weight:700;font-size:15px;font-family:var(--gb-body);cursor:pointer;margin-top:4px}
.gb-form button:hover{background:#166A9E}
.gb-bigphone{font-family:var(--gb-display);font-weight:700;color:var(--gb-navy);text-decoration:none;
  font-size:clamp(28px,4vw,38px);display:inline-block;line-height:1.1}
.gb-bigphone:hover{color:var(--gb-blue)}
.gb-callout ol{margin:10px 0 0;padding-left:1.3em}
.gb-callout ol li{margin:0 0 8px;font-size:15.5px;color:var(--gb-ink)}

/* Button styling (added by Rob) */
.gb-info-card .wp-element-button, .wp-block-button__link {
	background-color: var(--wp--preset--color--blue);
	border-radius: 2px;
	border-width: 0;
	color: #ffffff;
	font-family: inherit;
	font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.14), 0.95rem);
	font-style: inherit;
	font-weight: 700;
	letter-spacing: inherit;
	line-height: inherit;
	padding-top: 8px;
	padding-right: 26px;
	padding-bottom: 8px;
	padding-left: 26px;
	text-decoration: none;
	text-transform: inherit;
	margin-top: 20px;
}

/* =========================================================================
   Thank You / confirmation page
   ========================================================================= */
.gb-thanks{text-align:center;padding-block:clamp(4rem,9vw,7rem)}
.gb-thanks-icon{width:76px;height:76px;border-radius:50%;background:var(--gb-gold);
  display:flex;align-items:center;justify-content:center;margin:0 auto 26px}
.gb-thanks-icon svg{width:38px;height:38px;color:var(--gb-navy)}
.gb-thanks h1{margin:0}
.gb-thanks .gb-lede{margin:16px auto 0;max-width:34em}
.gb-thanks .wp-block-buttons{justify-content:center;margin-top:32px}

/* =========================================================================
   Are We a Good Fit — checkmark list
   ========================================================================= */
.gb-checklist{list-style:none;margin:0 auto;padding:0;max-width:640px}
.gb-checklist li{position:relative;padding-left:38px;margin:0 0 16px;font-size:17px;color:var(--gb-ink);line-height:1.5}
.gb-checklist li::before{content:"\2713";position:absolute;left:0;top:1px;width:24px;height:24px;
  background:var(--gb-gold);color:var(--gb-navy);border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900}

/* =========================================================================
   Forms & Docs page — downloadable document cards
   ========================================================================= */
.gb-docs{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.gb-docs > *{margin:0}
.gb-doc{display:flex;flex-direction:column;height:100%;background:var(--gb-warm-white);
  border:1px solid var(--gb-line);border-radius:3px;padding:24px 26px;
  transition:transform .16s ease,box-shadow .16s ease}
.gb-doc:hover{transform:translateY(-2px);box-shadow:0 18px 34px -24px rgba(28,49,68,.32)}
.gb-doc > *{margin:0}
.gb-doc h3{font-size:18px;margin:0 0 6px}
.gb-doc p{color:var(--gb-muted);font-size:14.5px;margin:0 0 auto}
.gb-doc .dl{margin:16px 0 0;font-size:14px}
.gb-doc .dl a{color:var(--gb-gold-deep);font-weight:700;text-decoration:none}
.gb-doc .dl a:hover{text-decoration:underline}
@media (max-width:820px){.gb-docs{grid-template-columns:1fr}}

/* =========================================================================
   Resources — myth/fact lists, vaccine schedule, resource cards
   ========================================================================= */
.gb-resources{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.gb-resources > *{margin:0}
.gb-resource{display:flex;flex-direction:column;height:100%;background:var(--gb-warm-white);
  border:1px solid var(--gb-line);border-radius:3px;padding:26px 28px;transition:transform .16s ease,box-shadow .16s ease}
.gb-resource:hover{transform:translateY(-2px);box-shadow:0 18px 34px -24px rgba(28,49,68,.32)}
.gb-resource > *{margin:0}
.gb-resource h3{font-size:19px;margin:0 0 8px}
.gb-resource p{color:var(--gb-muted);font-size:15px;margin:0 0 auto}
.gb-resource .more{margin:16px 0 0;font-size:14px}
.gb-resource .more a{color:var(--gb-gold-deep);font-weight:700;text-decoration:none}
.gb-resource .more a:hover{text-decoration:underline}
@media (max-width:820px){.gb-resources{grid-template-columns:1fr}}

.gb-mythlist,.gb-checklist{list-style:none;margin:0;padding:0;max-width:660px}
.gb-mythlist li{position:relative;padding-left:36px;margin:0 0 12px;font-size:16px;color:var(--gb-muted);line-height:1.5}
.gb-mythlist li::before{content:"\00D7";position:absolute;left:0;top:0;width:22px;height:22px;
  background:#E6DDCC;color:var(--gb-navy);border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:900}

.gb-schedule{max-width:820px;margin-inline:auto}
.gb-schedule > *{margin:0}
.gb-sched{display:grid;grid-template-columns:130px 1fr;gap:24px;padding:16px 0;border-top:1px solid var(--gb-line);align-items:start}
.gb-sched:first-child{border-top:none;padding-top:0}
.gb-sched > *{margin:0}
.gb-sched h3{font-size:16px;margin:0;color:var(--gb-navy)}
.gb-sched ul{list-style:none;margin:0;padding:0}
.gb-sched li{position:relative;padding-left:18px;margin:0 0 5px;font-size:14.5px;color:var(--gb-ink);line-height:1.45}
.gb-sched li::before{content:"";position:absolute;left:0;top:8px;width:5px;height:5px;border-radius:50%;background:var(--gb-gold)}
@media (max-width:820px){.gb-sched{grid-template-columns:1fr;gap:6px}}

/* =========================================================================
   Emotional "grab" quotes — Parisienne script (short lines) + italic pull-quote (longer lines)
   ========================================================================= */
.gb-grab{font-family:"Parisienne",cursive;color:var(--gb-blue);text-align:center;font-weight:400;
  font-size:clamp(30px,5vw,60px);line-height:1.2;max-width:900px;margin:0 auto}
.gb-pullquote{font-family:var(--gb-display);font-style:italic;font-weight:400;color:var(--gb-blue);
  text-align:center;font-size:clamp(21px,2.8vw,30px);line-height:1.4;max-width:800px;margin:0 auto}
.gb-grab-band{padding-top:clamp(2.5rem,5vw,4rem);padding-bottom:clamp(1.25rem,2.5vw,2rem)}
.gb-grab-band .gb-grab-rule{width:44px;height:2px;background:var(--gb-gold);margin:0 auto 22px}

/* =========================================================================
   Header dropdown (submenu) menus
   ========================================================================= */
.gb-header .wp-block-navigation .wp-block-navigation__submenu-container{
  background:var(--gb-warm-white);border:1px solid var(--gb-line);border-radius:4px;
  padding:6px;min-width:238px;box-shadow:0 22px 44px -24px rgba(28,49,68,.45)}
.gb-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content{
  display:block;padding:9px 14px;border-radius:3px;font-size:14px;font-weight:600;color:var(--gb-navy)}
.gb-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.gb-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus{
  background:var(--gb-cream);color:var(--gb-blue)}
/* keep the sweeping gold underline on top-level items only, not dropdown items */
.gb-header .wp-block-navigation__submenu-container a::after{display:none}
/* submenu caret in gold */
.gb-header .wp-block-navigation .wp-block-navigation-submenu__toggle .wp-block-navigation__submenu-icon,
.gb-header .wp-block-navigation .wp-block-navigation__submenu-icon{color:var(--gb-gold-deep)}

/* =========================================================================
   Header search (expanding icon) + actions group
   ========================================================================= */
.gb-header-actions{gap:14px}
.gb-header .wp-block-search{margin:0}
.gb-header .wp-block-search.wp-block-search__button-only .wp-block-search__button{
  background:transparent;border:0;color:var(--gb-navy);padding:6px;min-width:0;cursor:pointer}
.gb-header .wp-block-search.wp-block-search__button-only .wp-block-search__button:hover{color:var(--gb-blue)}
.gb-header .wp-block-search .wp-block-search__button svg{width:20px;height:20px;fill:currentColor}
.gb-header .wp-block-search .wp-block-search__input{
  border:1px solid var(--gb-line);border-radius:3px;padding:8px 12px;font-family:var(--gb-body);
  font-size:14px;background:#fff;min-width:200px}
.gb-header .wp-block-search .wp-block-search__input:focus{outline:2px solid var(--gb-blue);outline-offset:1px;border-color:var(--gb-blue)}

/* =========================================================================
   Homepage hero image slider (3 slides, cross-fade)
   ========================================================================= */
.gb-hero-slider{position:absolute;inset:0}
.gb-hero-slider .gb-slide{position:absolute;inset:0;opacity:0;transition:opacity .9s ease}
.gb-hero-slider .gb-slide.is-active{opacity:1}
.gb-hero-slider .gb-slide .wp-block-image{margin:0;height:100%}
.gb-hero-dots{position:absolute;right:16px;bottom:16px;display:flex;gap:8px;z-index:3}
.gb-hero-dots button{width:9px;height:9px;border-radius:50%;border:0;padding:0;cursor:pointer;
  background:rgba(255,255,255,.55);transition:background .2s}
.gb-hero-dots button:hover{background:rgba(255,255,255,.9)}
.gb-hero-dots button.is-active{background:#fff}
/* Editor only: stack the three slides so all are visible/uploadable */
.editor-styles-wrapper .gb-hero-slider{position:static;display:flex;flex-direction:column;gap:8px}
.editor-styles-wrapper .gb-hero-slider .gb-slide{position:relative;inset:auto;opacity:1}
.editor-styles-wrapper .gb-hero-slider .gb-slide img{position:relative;height:auto;object-fit:contain}

/* =========================================================================
   About — Our Staff (centered portrait photo + paragraph)
   ========================================================================= */
.gb-staff-photo{max-width:420px;margin-left:auto;margin-right:auto}
.gb-staff-photo img{width:100%;height:auto;border-radius:3px;display:block}

/* =========================================================================
   ALTERNATE HERO — two panels of alternating cross-fade photos (.gb-duo)
   Photos-forward: no overlay. The welcome message lives in a band below.
   Each panel fades on its own timer (staggered), slowly.
   ========================================================================= */
.gb-duo{position:relative;display:flex;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);background:var(--gb-navy)}
.gb-duo-panel{position:relative;flex:0 0 50%;max-width:50%;overflow:hidden;height:clamp(420px,60vh,640px)}
.gb-duo-slide{position:absolute;inset:0;opacity:0;transition:opacity 2s ease}
/* Kill WordPress core's flow-layout top margin (1.4rem) on the flex items and
   the absolutely-positioned slides — it was shrinking the slide and inflating
   the container, showing the navy background as strips. */
.gb-duo > *,
.gb-duo-panel > *{margin-block-start:0}
.gb-duo-slide.is-active{opacity:1}
.gb-duo-slide .wp-block-image{position:absolute;inset:0;margin:0}
.gb-duo-slide img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;display:block}
@media (max-width:767px){
  .gb-duo{flex-direction:column}
  .gb-duo-panel{flex-basis:auto;max-width:100%;height:52vw;min-height:220px}
}
/* Editor: reveal all four photos side by side for easy uploading */
.editor-styles-wrapper .gb-duo{display:block;background:none}
.editor-styles-wrapper .gb-duo-panel{max-width:100%;overflow:visible;height:auto;display:flex;gap:8px}
.editor-styles-wrapper .gb-duo-slide{position:relative;inset:auto;opacity:1;flex:1}
.editor-styles-wrapper .gb-duo-slide .wp-block-image{position:relative;inset:auto}
.editor-styles-wrapper .gb-duo-slide img{position:relative;height:auto}

/* Welcome band beneath the alternate hero */
.gb-alt-welcome h1{font-size:clamp(28px,3.6vw,44px);line-height:1.1;margin:0}
.gb-alt-welcome h1 em{display:block;color:var(--gb-gold);font-style:italic;font-weight:500}
.gb-alt-welcome .gb-lede{color:rgba(255,255,255,.9);max-width:640px;margin-inline:auto}
.gb-alt-welcome .wp-block-buttons{justify-content:center;margin-top:22px}

/* =========================================================================
   Photography frames — reusable image placeholders that crop any photo
   ========================================================================= */
.gb-media-photo{position:relative;overflow:hidden;border-radius:12px;aspect-ratio:4/5;
  box-shadow:0 26px 54px -30px rgba(28,49,68,.55);
  background:repeating-linear-gradient(45deg,#00000008 0 12px,transparent 12px 24px),var(--gb-cream)}
.gb-media-photo .wp-block-image{position:absolute;inset:0;margin:0}
.gb-media-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;aspect-ratio:auto;display:block}
.gb-media-photo figcaption{display:none}
.gb-media-photo > p{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  margin:0;color:var(--gb-muted);font-size:13px;font-weight:600;letter-spacing:.04em}

/* Full-bleed practice/team photo band */
.gb-photoband{position:relative;width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  height:clamp(320px,44vh,500px);overflow:hidden;background:var(--gb-navy)}
.gb-photoband .wp-block-image{position:absolute;inset:0;margin:0}
.gb-photoband img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;aspect-ratio:auto;display:block}
.gb-photoband figcaption{display:none}
.gb-photoband::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,35,50,.55),rgba(20,35,50,.2))}
.gb-photoband > .gb-photoband-ph{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;
  margin:0;color:#e7ddc7;font-size:14px;font-weight:600;letter-spacing:.05em}
.gb-photoband-cap{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:24px;pointer-events:none}
.gb-photoband-cap .gb-grab{color:#fff}
@media (max-width:781px){.gb-media-photo{aspect-ratio:4/3;margin-bottom:22px}}

/* =========================================================================
   DESIGN v2 — depth + gold-thread across ALL card families, hero scrim,
   step-number accent. (Promoted from the custom.css prototype and extended.)
   ========================================================================= */
.gb-stat,.gb-card,.gb-value,.gb-info-card,.gb-doc,.gb-resource{
  border-radius:12px;box-shadow:0 12px 34px -22px rgba(28,49,68,.3);
  position:relative;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease}
.gb-stat:hover,.gb-card:hover,.gb-value:hover,.gb-info-card:hover,.gb-doc:hover,.gb-resource:hover{
  transform:translateY(-5px);box-shadow:0 28px 52px -24px rgba(28,49,68,.48)}

/* Gold thread that draws along the bottom on hover */
.gb-card::after,.gb-value::after,.gb-info-card::after,.gb-doc::after,.gb-resource::after{
  content:"";position:absolute;left:24px;right:24px;bottom:0;height:2px;
  background:linear-gradient(90deg,var(--gb-gold),transparent);
  transform:scaleX(0);transform-origin:left;transition:transform .4s ease}
.gb-card:hover::after,.gb-value:hover::after,.gb-info-card:hover::after,.gb-doc:hover::after,.gb-resource:hover::after{transform:scaleX(1)}

/* Stats: separate the joined cells into floating cards + gold thread on top */
.gb-stats{background:transparent;border:0;border-radius:0;overflow:visible;gap:20px}
.gb-stat{border:1px solid rgba(28,49,68,.07);padding:30px 26px}
.gb-stat .n{font-size:40px}
.gb-stat::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--gb-gold),var(--gb-gold-deep));
  transform:scaleX(0);transform-origin:left;transition:transform .35s ease}
.gb-stat:hover::before{transform:scaleX(1)}

/* Differentiator feature card icon nudges on hover */
.gb-card .ic{transition:transform .25s ease}
.gb-card:hover .ic{transform:translateY(-2px) scale(1.06)}

/* Hero scrim — legible overlay text on photo heroes (fixes About hero) */
.gb-pagehero .wp-block-cover__inner-container{position:relative;z-index:2}

/* Numbered-step accent: gold number with a short gold underline */
.gb-info-card .num{font-size:40px;position:relative;display:inline-block;padding-bottom:16px;margin-bottom:12px}
.gb-info-card .num::after{content:"";position:absolute;left:2px;bottom:0;width:34px;height:2px;background:var(--gb-gold)}

/* Resource-card topical icon */
.gb-resource-ic{width:46px;height:46px;color:var(--gb-gold-deep);margin-bottom:16px}
.gb-resource-ic svg{width:100%;height:100%;display:block}

/* =========================================================================
   Responsive header — keep the top row from overflowing on tablet & phone
   ========================================================================= */
.gb-header .wp-block-button__link{white-space:nowrap}      /* never wrap the CTA text */

@media (max-width:900px){
  .gb-header .gb-brand-name{font-size:24px}
  .gb-header .gb-brand-sub{font-size:10px;letter-spacing:.26em}
  .gb-phone{display:none}                                  /* phone stays in top bar + footer */
  .gb-header-actions{gap:10px}
  .gb-header .wp-block-button__link{padding:10px 16px;font-size:14px}
}
@media (max-width:560px){
  .gb-header .gb-brand-name{font-size:20px}
  .gb-header .gb-brand-sub{font-size:9px;letter-spacing:.2em}
  .gb-header-actions .wp-block-search{display:none}        /* search available in the menu */
  .gb-header .wp-block-button__link{padding:9px 13px;font-size:13px}
  .gb-topbar-addr{display:none}                            /* declutter the top bar; keep portal login */
}

/* =========================================================================
   Mobile menu overlay — fix + styling
   The header's backdrop-filter was trapping the fixed overlay inside the
   header box (a backdrop-filter/filter/transform ancestor becomes the
   containing block for position:fixed). Disable it at overlay widths so the
   menu can fill the screen, then style the open panel.
   ========================================================================= */
@media (max-width:900px){
  .gb-header{backdrop-filter:none;-webkit-backdrop-filter:none}
}

.gb-header .wp-block-navigation__responsive-container.is-menu-open{
  position:fixed;inset:0;z-index:1000;overflow-y:auto;background:var(--gb-warm-white);padding:84px 30px 44px}
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{width:100%}
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{
  flex-direction:column;align-items:flex-start;gap:2px;width:100%}
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{width:100%}
.gb-header .wp-block-navigation__responsive-container.is-menu-open a,
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{
  color:var(--gb-navy);font-size:19px;font-weight:600;padding:12px 0}
.gb-header .wp-block-navigation__responsive-container.is-menu-open a::after{display:none}

/* Submenus flow inline in the overlay instead of floating as dropdowns */
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container{
  position:static;opacity:1;visibility:visible;transform:none;
  border:0;box-shadow:none;background:transparent;min-width:0;padding:0 0 8px 16px}
.gb-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a{
  font-size:16px;font-weight:500;padding:8px 0;color:var(--gb-navy)}
.gb-header .wp-block-navigation__responsive-container-close{color:var(--gb-navy);top:24px;right:24px}
.gb-header .wp-block-navigation__responsive-container-open{color:var(--gb-navy)}

/* =========================================================================
   Top-bar tap-to-call phone (sits to the left of the Patient Portal link)
   ========================================================================= */
.gb-topbar-phone{display:inline-flex;align-items:center;gap:7px;color:#fff;font-weight:700;
  letter-spacing:.03em;font-size:12.5px;text-decoration:none;margin-left:auto;margin-right:18px}
.gb-topbar-phone svg{color:var(--gb-gold);flex:none}
.gb-topbar-phone:hover{color:var(--gb-gold)}
.gb-topbar-phone:hover svg{color:#fff}
/* Mobile: address hidden already; keep phone + portal tidy on the right */
@media (max-width:600px){
  .gb-topbar-inner{justify-content:flex-end;gap:16px}
  .gb-topbar-phone{margin-left:0;margin-right:0}
  .gb-topbar-portal{margin-left:0}
}
@media (max-width:380px){
  .gb-topbar-phone,.gb-topbar-portal{font-size:11.5px}
  .gb-topbar-inner{gap:12px}
}

/* =========================================================================
   Collapse the nav to the hamburger at tablet widths.
   WordPress's "mobile" overlay only kicks in ~600px, so iPad-class tablets
   (~1024px) still show the inline menu and it wraps to two rows. Force the
   hamburger up to 1024px; the inline menu returns above that on desktop.
   ========================================================================= */
@media (max-width:1024px){
  .gb-header{backdrop-filter:none;-webkit-backdrop-filter:none}   /* free the fixed overlay */
  .gb-header .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}
  .gb-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
}

/* =========================================================================
   Photo hero — full-colour photo band with the H1 + byline underneath
   (no overlay text, no scrim). Use for pages whose hero is a photograph.
   ========================================================================= */
.gb-hero-photo{position:relative;width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  height:clamp(340px,48vh,560px);overflow:hidden;background:var(--gb-cream)}
.gb-hero-photo .wp-block-image{position:absolute;inset:0;margin:0}
.gb-hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;aspect-ratio:auto;display:block}
.gb-hero-photo figcaption{display:none}
.gb-hero-photo > .gb-hero-photo-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  margin:0;color:var(--gb-muted);font-size:14px;font-weight:600;letter-spacing:.04em}
.wp-block-post-content > .gb-hero-photo{margin-block-start:0}

.gb-hero-caption{text-align:center}
.gb-hero-caption h1{margin:0}
.gb-hero-caption .gb-byline{max-width:780px;margin:16px auto 0;font-style:italic;font-size:clamp(17px,1.8vw,20px);
  line-height:1.5;color:rgba(255,255,255,.92)}

/* =========================================================================
   FAQ page — wrap all the Q&A content in one Group with the class "gb-faq".
   Adds page padding, a readable column width, and on-brand question/answer
   styling (works on the plain <h>/<p> content left from the old site).
   ========================================================================= */
.gb-faq{max-width:880px;margin-inline:auto;padding:clamp(2.5rem,6vw,4.5rem) 24px}
.gb-faq > :first-child{margin-top:0}
.gb-faq h1{font-size:clamp(30px,4vw,42px);color:var(--gb-navy);line-height:1.1;margin:0 0 1.6rem}
.gb-faq h2,.gb-faq h3{color:var(--gb-navy);font-size:20px;line-height:1.3;margin:2.4rem 0 .55rem}
.gb-faq p{color:var(--gb-muted);font-size:16.5px;line-height:1.65;margin:0 0 1rem}
.gb-faq ol,.gb-faq ul{color:var(--gb-ink);font-size:16px;line-height:1.6;margin:.4rem 0 1.2rem;padding-left:1.5em}
.gb-faq li{margin:0 0 .5rem}
.gb-faq li::marker{color:var(--gb-gold-deep);font-weight:700}
/* the short gold dividers between questions */
.gb-faq .wp-block-separator,.gb-faq hr{border:0;height:2px;width:56px;background:var(--gb-gold);margin:2rem auto;opacity:1}
