/* ─────────────────────────────────────────────────────────────
   Shared layout styles for satellite-office Location pages
   (Webster, West Nasa Parkway, Katy, San Antonio).
   The Houston page intentionally keeps its own inline styles
   so it can carry richer Team / Reviews / Chiropractor blocks.
   Pair this file with `colors_and_type.css`.
   ───────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--navy-500);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── Top nav (matches Homepage v3) ──────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--gray-100); }
.nav__inner { max-width: 1320px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 32px; }
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-700); flex-shrink: 0; }
.nav__logo img { width: 44px; height: 44px; }
.nav__brand { font-family: var(--font-accent); font-weight: 800; font-size: 16px; letter-spacing: 0.04em; line-height: 1.05; text-transform: uppercase; color: var(--pink-500); }
.nav__brand small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 11px; letter-spacing: 0.06em; color: var(--navy-400); text-transform: uppercase; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-family: var(--font-sans); font-weight: 600; font-size: 14px; }
.nav__links a { text-decoration: none; color: var(--navy-500); }
.nav__links a:hover { color: var(--pink-500); }
.nav__links a[aria-current="page"] { color: var(--pink-500); }
.nav .btn { height: 44px; padding: 0 22px; font-size: 12px; }
.nav__hamburger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--gray-200); background: var(--white); cursor: pointer; align-items: center; justify-content: center; color: var(--navy-700); transition: background var(--dur-fast); }
.nav__hamburger:hover { background: var(--gray-50); }
.nav__hamburger svg { width: 22px; height: 22px; }
.navmenu { position: fixed; inset: 0; z-index: 100; background: rgba(16,21,31,0.55); display: none; opacity: 0; transition: opacity var(--dur-base); }
.navmenu.is-open { display: block; opacity: 1; }
.navmenu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--white); box-shadow: -8px 0 32px rgba(16,21,31,0.15); display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--dur-base); overflow-y: auto; }
.navmenu.is-open .navmenu__panel { transform: translateX(0); }
.navmenu__header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--gray-100); }
.navmenu__close { width: 40px; height: 40px; border-radius: 8px; border: 0; background: transparent; color: var(--navy-700); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast); }
.navmenu__close:hover { background: var(--gray-100); }
.navmenu__close svg { width: 20px; height: 20px; }
.navmenu__brand { font-family: var(--font-accent); font-weight: 800; font-size: 14px; color: var(--pink-500); letter-spacing: 0.02em; }
.navmenu__links { display: flex; flex-direction: column; padding: 16px 0; flex: 1; }
.navmenu__links a { padding: 16px 28px; text-decoration: none; font-family: var(--font-sans); font-weight: 600; font-size: 17px; color: var(--navy-700); border-bottom: 1px solid var(--gray-100); transition: background var(--dur-fast), color var(--dur-fast); }
.navmenu__links a:hover { background: var(--pink-50); color: var(--pink-500); }
.navmenu__cta { padding: 24px; border-top: 1px solid var(--gray-100); background: var(--gray-50); }
.navmenu__cta .btn { width: 100%; height: 52px; font-size: 14px; }
@media (max-width: 980px) { .nav__links { display: none; } .nav__hamburger { display: flex; } }

/* ─── Page backdrop (gradient → navy floor) ───────────────────── */
body.lp-bg {
  background: linear-gradient(to bottom, #FFF6F1 0%, #FFE9EE 10%, #FFD9E0 22%, #FCDED6 36%, #E8DFE2 52%, #D2DDE8 68%, #92A6BC 82%, #4A5C75 92%, #1F2D40 100%) no-repeat;
  background-attachment: fixed;
}

.lc-section { background: transparent; padding: var(--sec-pad-y) 32px; position: relative; }

.lc-card {
  background: var(--card-lift-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(31,45,64,0.05), 0 12px 32px rgba(31,45,64,0.08);
  border-radius: var(--radius-xl);
}

.lc-eyebrow { font-family: var(--font-accent); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-500); margin: 0 0 16px; }
.lc-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.02em; color: var(--pink-500); margin: 0; text-wrap: balance; }
.lc-lede { font-size: 16.5px; line-height: 1.65; color: var(--navy-500); margin: 0; text-wrap: pretty; }

/* ─── HERO ─── */
.lc-hero { position: relative; padding: clamp(64px, 9vw, 104px) 32px clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; background: var(--navy-700, #1f2d40); }
/* qa4 #2 (2026-05-28): photo at full saturation under a dark navy scrim so the
   office heroes match the hub-hero pattern (about/classes/locations) and read
   strongly with white text. Left side is slightly darker for copy legibility;
   bottom keeps a softer fade so the photo still reads as a photo. */
.lc-hero::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: 1; z-index: -2; }
.lc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,28,46,0.78) 0%, rgba(20,28,46,0.6) 55%, rgba(20,28,46,0.45) 100%), linear-gradient(180deg, rgba(20,28,46,0.25) 0%, rgba(20,28,46,0.55) 100%); z-index: -1; }
.lc-hero__inner { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.lc-hero__chip { display: inline-block; font-family: var(--font-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-300, #f6c8d8); background: rgba(255,255,255,0.12); padding: 8px 16px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; margin-bottom: 22px; }
.lc-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.05; letter-spacing: -0.025em; color: #fff; margin: 0 0 22px; text-wrap: balance; text-shadow: 0 1px 24px rgba(0,0,0,0.25); }
.lc-hero__blurb { font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; color: rgba(255,255,255,0.92); max-width: 600px; margin: 0 0 26px; text-wrap: pretty; }
.lc-hero__highlight { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255,255,255,0.22); border-radius: 14px; font-size: 14.5px; font-weight: 600; color: #fff; margin-bottom: 28px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lc-hero__highlight::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink-300, #f6c8d8); box-shadow: 0 0 0 4px rgba(246,200,216,0.22); }
.lc-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.lc-hero__ctas .btn { gap: 10px; }
.lc-hero__ctas .btn svg { width: 14px; height: 14px; }
/* Outline CTA needs on-dark treatment (was navy-700 outline + text on cream). */
.lc-hero__ctas .btn--outline { color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
.lc-hero__ctas .btn--outline:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.lc-hero__support { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.78); margin: 14px 0 0; }
.lc-hero__support svg { width: 13px; height: 13px; color: var(--pink-300, #f6c8d8); }
/* secure-form-note on the hero now sits on dark — use the --on-dark sibling
   class auto-cascade. The note class itself is set sitewide in colors_and_type.css;
   here we just ensure the in-hero variant reads on the navy scrim. */
.lc-hero .secure-form-note { color: rgba(255,255,255,0.78); }
/* Award badge in hero: switch to on-dark glass treatment so it stays legible. */
.lc-hero .aw-inline { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }
.lc-hero .aw-inline__title { color: var(--pink-300, #f6c8d8); }
.lc-hero .aw-inline__name,
.lc-hero .aw-inline__caption { color: rgba(255,255,255,0.88); }

/* Hero office card sits over the darkened building photo, so it needs a near-opaque
   white frosted fill (the 0.55 card-lift token reads translucent/grey over a dark photo;
   §7 cards-over-photos use ~0.92). QA12. */
.lc-facts { padding: 32px 28px; background: rgba(255,255,255,0.94) !important; backdrop-filter: blur(10px) saturate(115%); -webkit-backdrop-filter: blur(10px) saturate(115%); border-radius: var(--radius-xl); box-shadow: var(--shadow-card-lift); }
.lc-facts__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--pink-500); margin: 0 0 18px; }
.lc-fact { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--gray-200); }
.lc-fact:last-child { border-bottom: 0; }
.lc-fact__icon { color: var(--pink-500); display: flex; align-items: flex-start; justify-content: center; margin-top: 2px; }
.lc-fact__icon svg { width: 18px; height: 18px; stroke-width: 2; }
.lc-fact__label { font-family: var(--font-accent); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy-400); margin-bottom: 3px; }
.lc-fact__value { font-size: 14.5px; font-weight: 600; color: var(--navy-700); line-height: 1.45; }
.lc-fact__value a { text-decoration: none; }
.lc-fact__value small { display: block; font-weight: 500; font-size: 13px; color: var(--navy-500); margin-top: 2px; }

@media (max-width: 980px) { .lc-hero__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ─── SERVICES ─── */
.lc-svcs__inner { max-width: 1180px; margin: 0 auto; }
.lc-svcs__head { text-align: center; margin-bottom: 40px; }
/* Flex (not grid) so an incomplete final row centers instead of leaving an
   orphan card stuck on the left. A full row of 3 fills 100% and looks identical
   to the old grid; flex-grow:0 keeps a lone card at 1/3 width (centered) rather
   than stretching it across the row. */
.lc-svcs__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
/* Highlight cards below the 3-up grid (Chiropractic/PBM, Back-to-Work). Two-up
   row so they don't stretch full-width (every location page has exactly two);
   gap keeps the white cards apart, margin-top separates them from the grid. */
.lc-svcs__trail { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.lc-svc { flex: 0 1 calc((100% - 40px) / 3); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.lc-svc__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sky-100); color: var(--sky-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lc-svc__icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.lc-svc__title { font-family: var(--font-display); font-weight: 700; font-size: 18.5px; color: var(--navy-700); margin: 0; line-height: 1.3; text-wrap: balance; }
.lc-svc__body { font-size: 14.5px; line-height: 1.6; color: var(--navy-500); margin: 0; flex: 1; }
.lc-svc__note { font-size: 12.5px; color: var(--navy-400); font-style: italic; font-weight: 600; padding-top: 10px; border-top: 1px dashed var(--gray-200); }
@media (max-width: 900px) { .lc-svc { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 560px) {
  .lc-svc { flex-basis: 100%; }
  .lc-svcs__trail { grid-template-columns: 1fr; }
}

/* ─── 3 STEPS ─── */
.lc-steps__inner { max-width: 1100px; margin: 0 auto; }
.lc-steps__head { text-align: center; margin-bottom: 40px; }
.lc-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lc-step { padding: 32px 28px 36px; display: flex; flex-direction: column; }
.lc-step__num { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: var(--pink-500); text-transform: uppercase; margin-bottom: 14px; }
.lc-step__num::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--pink-500); vertical-align: middle; margin-right: 10px; }
.lc-step__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy-700); margin: 0 0 12px; line-height: 1.25; text-wrap: balance; }
.lc-step__body { font-size: 14.5px; line-height: 1.6; color: var(--navy-500); margin: 0; }
@media (max-width: 900px) { .lc-steps__grid { grid-template-columns: 1fr; } }

/* ─── INSURANCE ─── */
.lc-ins__inner { max-width: 1100px; margin: 0 auto; }
.lc-ins__head { text-align: center; margin-bottom: 36px; }
.lc-ins__sub { font-size: 15.5px; line-height: 1.65; max-width: 640px; margin: 16px auto 0; color: var(--navy-500); }
/* Centered flex-wrap: 3 per row = a clean 3x3 for 9 carriers, and any incomplete
   final row (e.g. the 9th tile at 2-up on tablet) centers instead of orphaning. */
.lc-ins__primary { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 28px; max-width: 760px; margin-left: auto; margin-right: auto; }
.lc-ins__tile { flex: 0 1 calc((100% - 28px) / 3); padding: 22px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 128px; }
/* qa4 #6 (2026-05-28): carrier logo above the tile name. Height-locked so tiles
   stay uniform across the 3x3 grid; width capped so wide horizontal logos
   (Aetna/UHC) and tall stacked logos (BCBS) both sit nicely. */
.lc-ins__tile img { max-height: 36px; width: auto; max-width: 78%; object-fit: contain; display: block; }
.lc-ins__tile-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy-700); }
.lc-ins__tile-sub { font-size: 11px; color: var(--navy-400); font-style: italic; }
.lc-ins__cigna { margin: 36px auto 0; max-width: 700px; padding: 22px 28px; text-align: center; border: 1px solid rgba(194,99,138,0.18); }
.lc-ins__cigna h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--navy-700); margin: 0 0 6px; }
.lc-ins__cigna p { font-size: 14.5px; line-height: 1.6; margin: 0; color: var(--navy-500); }
@media (max-width: 900px) { .lc-ins__tile { flex-basis: calc((100% - 14px) / 2); } }

/* ─── MAP ─── */
.lc-map__inner { max-width: 1240px; margin: 0 auto; }
.lc-map__head { text-align: center; margin-bottom: 36px; }
.lc-map__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
.lc-map__frame { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 1px 3px rgba(31,45,64,0.05), 0 16px 40px rgba(31,45,64,0.12); }
.lc-map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lc-map__card { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.lc-map__row { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.lc-map__row-icon { color: var(--pink-500); }
.lc-map__row-icon svg { width: 18px; height: 18px; }
.lc-map__row-label { font-family: var(--font-accent); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-400); margin-bottom: 4px; }
.lc-map__row-value { font-size: 14.5px; line-height: 1.5; color: var(--navy-700); font-weight: 600; }
.lc-map__row-value small { display: block; font-weight: 500; font-size: 13px; color: var(--navy-500); margin-top: 2px; }
.lc-map__cta { margin-top: auto; gap: 10px; }
.lc-map__cta svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .lc-map__grid { grid-template-columns: 1fr; } }

/* ─── SERVICE AREA ─── */
.lc-area__inner { max-width: 900px; margin: 0 auto; text-align: center; padding: 48px 36px; }
.lc-area__head { margin-bottom: 28px; }
.lc-area__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.lc-area__chip { background: var(--white); color: var(--navy-700); padding: 10px 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 14px; border: 1px solid rgba(194,99,138,0.15); box-shadow: 0 2px 6px -3px rgba(31,45,64,0.1); }
.lc-area__link { color: var(--pink-500); font-family: var(--font-accent); font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1.5px solid var(--pink-500); padding-bottom: 2px; }

/* ─── FAQ ─── */
.lc-faq__inner { max-width: 860px; margin: 0 auto; padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px); }
.lc-faq__head { text-align: center; margin-bottom: 32px; }
.lc-faq__item { border-bottom: 1px solid var(--gray-200); padding: 18px 0; }
.lc-faq__q { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy-700); line-height: 1.35; }
.lc-faq__q::-webkit-details-marker { display: none; }
.lc-faq__q::before { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--pink-50); color: var(--pink-500); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; transition: transform 200ms ease; }
details[open] .lc-faq__q::before { content: "−"; }
.lc-faq__a { padding: 14px 0 4px 42px; font-size: 15px; line-height: 1.65; color: var(--navy-500); }

/* ─── FINAL CTA ─── */
/* Final CTA → light uplifted frosted card; the global footer ombré
   (body:has(.lc-final) in footer.css) handles the fade into the navy footer.
   Flipped navy->light 2026-06-08 (Suzanne; standardizing on the light CTA). */
.lc-final { padding: clamp(72px, 9vw, 112px) 32px; text-align: center; }
.lc-final__inner {
  max-width: 720px; margin: 0 auto;
  background: var(--card-lift-bg);
  -webkit-backdrop-filter: var(--card-lift-blur); backdrop-filter: var(--card-lift-blur);
  border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-xl);
  padding: clamp(40px,5.5vw,60px) clamp(28px,4vw,48px);
  box-shadow: 0 18px 50px -28px rgba(41,52,72,0.35);
}
.lc-final__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-700); margin: 0 0 16px; text-wrap: balance; }
.lc-final__body { color: var(--navy-500); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; margin: 0 auto 28px; max-width: 540px; }
.lc-final .btn--sky { background: var(--pink-500); color: #fff; border: 0; }
.lc-final .btn--sky:hover { background: var(--pink-600); color: #fff; }
.lc-final__sub { display: block; color: var(--navy-400); font-size: 13.5px; margin-top: 14px; }

/* ─────────────────────────────────────────────────────────────
   Build-session customizations (appended to v4 base).
   Keep these below the design system rules so they win cascade.
   ───────────────────────────────────────────────────────────── */

/* Per-location hero photo overrides (slug-keyed).
   Each location page's slug + RM body class triggers its photo. */
body.page-lactation-consultants-jones-road-cypress-willowbrook .lc-hero::before {
  background-image: url("/wp-content/uploads/bcb/photography/jones-road-office-building.jpg");
  background-position: center 35%;
  opacity: 0.58;
}
body.page-lactation-consultant-kingwood .lc-hero::before {
  background-image: url("/wp-content/uploads/bcb/photography/kingwood-office-building.jpg");
  background-position: center 40%;
  opacity: 0.78;
}
body.page-lactation-consultants-magnolia-the-woodlands-tx .lc-hero::before {
  background-image: url("/wp-content/uploads/bcb/photography/magnolia-office.jpg");
  background-position: center 35%;
  opacity: 0.58;
}
body.page-lactation-consultants-houston .lc-hero::before {
  background-image: url("/wp-content/uploads/bcb/photography/houston-office-building.jpg");
  background-position: center 35%;
  opacity: 0.58;
}
body.page-lactation-consultants-katy .lc-hero::before {
  background-image: url("/wp-content/uploads/bcb/photography/katy-office-building.jpg");
  background-position: center 35%;
  opacity: 0.58;
}
body.page-lactation-consultants-san-antonio .lc-hero::before {
  background-image: url("/wp-content/uploads/bcb/photography/sanantonio-office-building.jpg");
  background-position: center 35%;
  opacity: 0.58;
}
body.page-lactation-consultant-nasa .lc-hero::before {
  background-image: url("/wp-content/uploads/bcb/photography/airway-alliance-building.png");
  background-position: center 35%;
  opacity: 0.58;
}
body.page-lactation-consultant-webster .lc-hero::before {
  background-image: url("/wp-content/uploads/bcb/photography/flourish-family-chiropractic-building.jpg");
  background-position: center 35%;
  opacity: 0.58;
}
body.page-lactation-consultant-cypress .lc-hero::before {
  background-image: url("/wp-content/uploads/bcb/photography/home-office.jpg");
  background-position: center 35%;
  opacity: 0.58;
}

/* Hide GP's featured image rendering on RM Locations */
body.single-rank_math_locations .post-image,
body.single-rank_math_locations .featured-image,
body.single-rank_math_locations.post-image-above-header > .post-image {
  display: none !important;
}

/* Hide GP's WP page title at top of RM Locations entries.
   The lc-hero section serves as the visual title; the WP post_title is
   the long internal name ("Bayou City Breastfeeding Lactation Consultants - X")
   which doesn't belong on the front-end. */
body.single-rank_math_locations .entry-header,
body.single-rank_math_locations .entry-title,
body.single-rank_math_locations h1.entry-title,
body.single-rank_math_locations .page-hero,
body.single-rank_math_locations .page-header,
body.single-rank_math_locations .inside-page-header {
  display: none !important;
}

/* Smash Balloon reviews widget container on location pages */
.sbr-feed {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}
@media (max-width: 720px) {
  .sbr-feed {
    margin-left: 16px !important;
    margin-right: 16px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(8px) saturate(110%);
    -webkit-backdrop-filter: blur(8px) saturate(110%);
    border-radius: var(--radius-lg) !important;
    padding: 12px !important;
    box-shadow: 0 1px 3px rgba(31, 45, 64, 0.05),
                0 8px 20px rgba(31, 45, 64, 0.06);
  }
}
@media (min-width: 721px) {
  .sbr-feed {
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(8px) saturate(110%);
    -webkit-backdrop-filter: blur(8px) saturate(110%);
    box-shadow: 0 1px 3px rgba(31, 45, 64, 0.05),
                0 12px 32px rgba(31, 45, 64, 0.08);
    border-radius: var(--radius-xl) !important;
    padding: clamp(10px, 1.4vw, 16px) clamp(16px, 2vw, 24px) !important;
  }
  .sbr-feed [class*="review-card"],
  .sbr-feed [class*="review_card"],
  .sbr-feed article {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

/* Stars in reviews: brand pink, never orange/gold */
.sbr-feed [class*="star"],
.sbr-feed svg[class*="star"],
.sbr-feed [class*="rating"] svg,
.sbr-feed [class*="rating"] [class*="star"],
.lc-rev__stars,
.lc-rev__card-stars {
  color: var(--pink-500) !important;
  fill: var(--pink-500) !important;
}

/* QA11: "Write a Review" header button — Smash Balloon ships it red (#ED4944) via an
   inline #sb-reviews-container-N rule with no !important, so this scoped !important
   wins on source order regardless. Text stays white. */
[id^="sb-reviews-container-"] .sb-feed-header-btn { background: var(--pink-500) !important; border-color: var(--pink-500) !important; }
[id^="sb-reviews-container-"] .sb-feed-header-btn:hover { background: var(--pink-600) !important; border-color: var(--pink-600) !important; }

/* Care partners callout (independent co-located practices) */
.lc-partners {
  background: transparent;
  padding: clamp(32px, 4vw, 56px) 32px clamp(40px, 5vw, 64px);
}
.lc-partners__inner { max-width: 1120px; margin: 0 auto; }
.lc-partners__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--navy-700);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.lc-partners__lede {
  font-size: 15px; line-height: 1.6;
  color: var(--navy-500);
  margin: 0 0 24px;
  max-width: 720px;
}
.lc-partners__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.lc-partners__card {
  padding: 20px 22px;
}
/* Enhanced partner card with logo/photo + body + CTAs */
.lc-partners__card--media {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 22px 24px;
  align-items: start;
}
@media (max-width: 560px) {
  .lc-partners__card--media {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lc-partners__media { margin: 0 auto; }
}
.lc-partners__media {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  border: 1px solid var(--gray-100);
}
.lc-partners__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lc-partners__body { min-width: 0; }
.lc-partners__name a {
  color: var(--navy-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.lc-partners__name a:hover {
  color: var(--pink-500);
  border-bottom-color: var(--pink-500);
}
.lc-partners__docs {
  display: flex;
  gap: 18px;
  margin: 16px 0 18px;
  flex-wrap: wrap;
}
.lc-partners__doc {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lc-partners__doc-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
  box-shadow: var(--shadow-photo);
}
.lc-partners__doc-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.lc-partners__doc-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy-700);
  line-height: 1.3;
}
.lc-partners__doc-name small {
  display: block;
  font-weight: 500;
  font-size: 11.5px;
  color: var(--pink-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.lc-partners__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 12px;
}
.lc-partners__ctas .btn {
  height: 40px;
  padding: 0 18px;
  font-size: 12px;
}
.lc-partners__link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--pink-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast);
}
.lc-partners__link:hover {
  border-bottom-color: var(--pink-500);
}

.lc-partners__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; color: var(--navy-700);
  margin: 0 0 4px;
}
.lc-partners__people {
  font-size: 13px; color: var(--pink-600);
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lc-partners__desc {
  font-size: 14px; line-height: 1.5;
  color: var(--navy-500);
  margin: 0;
}
.lc-partners__note {
  font-size: 12.5px; color: var(--navy-400);
  margin-top: 12px;
  font-style: italic;
}

/* ─── HERO AWARD BADGE (inline trust signal under hero CTAs) ─── */
.lc-hero__award {
  margin-top: 20px;
  max-width: 460px;
}
@media (max-width: 600px) {
  .lc-hero__award {
    width: 100%;
    max-width: 100%;
  }
}

/* ─── MAP-CARD building thumbnail (top of the address/hours/phone card) ─── */
.lc-map__photo {
  margin: -28px -28px 24px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
}
.lc-map__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── INSURANCE "see more" row (links to /insurance/ and /verify-insurance/) ─── */
.lc-ins__more {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}
.lc-ins__more-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--pink-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast);
}
.lc-ins__more-link:hover {
  border-bottom-color: var(--pink-500);
}

/* ─── TEAM SECTION (base styles, missing from v4 location-page.css) ─── */
.lc-team__inner { max-width: 1180px; margin: 0 auto; }
.lc-team__head { text-align: center; margin-bottom: 40px; }
.lc-team__head .lc-eyebrow,
.lc-team__head .lc-title { text-align: center; display: block; }
.lc-team__lede { max-width: 720px; margin: 16px auto 0; text-align: center; }
.lc-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.lc-team__card {
  padding: 24px 20px;
  text-align: center;
}
.lc-team__photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: var(--shadow-photo);
}
.lc-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lc-team__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-700);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.lc-team__cred {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-500);
  margin-bottom: 12px;
}
.lc-team__bio {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--navy-500);
  margin: 0;
}
.lc-team__schedule {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--navy-400);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Center 2-card team grids (Webster, NASA have 2 IBCLCs) */
.lc-team__grid:has(> .lc-team__card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(280px, 360px));
  justify-content: center;
}
@media (max-width: 600px) {
  .lc-team__grid:has(> .lc-team__card:nth-child(2):last-child) {
    grid-template-columns: 1fr;
  }
}

/* ─── REVIEWS SECTION (base styles, missing from v4 location-page.css) ─── */
.lc-rev__inner { max-width: 1080px; margin: 0 auto; }
.lc-rev__head { text-align: center; margin-bottom: 40px; }
.lc-rev__head .lc-eyebrow,
.lc-rev__head .lc-title { text-align: center; display: block; }
.lc-rev__summary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px;
  margin: 20px auto 0;
}
.lc-rev__rating {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  color: var(--pink-500);
  line-height: 1;
}
.lc-rev__stars { font-size: 18px; letter-spacing: 0.06em; line-height: 1; }
.lc-rev__count {
  font-size: 12.5px;
  color: var(--navy-400);
  margin-top: 6px;
  font-weight: 500;
}
.lc-rev__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.lc-rev__card {
  padding: 24px 26px;
}
.lc-rev__card-stars {
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  line-height: 1;
}
.lc-rev__card-quote {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--navy-700);
  margin: 0 0 14px;
  font-style: italic;
}
.lc-rev__card-meta {
  font-size: 13px;
  color: var(--navy-400);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ─── qa4 #7 SMASH BALLOON WIDGET OVERRIDES (2026-05-28) ────────────────────
   Per Suzanne: suppress the relative-time "X weeks ago" date on per-review
   cards inside the office reviews widget. Scoped to .lc-rev__widget-slot so
   the homepage aggregate feed keeps its dates. */
.lc-rev__widget-slot .sb-item-author-date { display: none !important; }

/* ─── HOUSTON-SCOPED qa4 OVERRIDES (2026-05-28) ─────────────────────────────
   Houston is the only office with 4 IBCLCs + 2 chiros on staff and a 9-card
   services grid (after qa4 #5 added Bottle Refusal + Starting Solids and moved
   Back-to-Work into the main grid). These rules ONLY fire on body.page-lactation-consultants-houston. */

/* qa4 #3 — Team grid split: 4 IBCLCs on the top row, 2 chiros centered below.
   The bare auto-fit grid was leaving the chiros stuck left next to a stray
   4th IBCLC at desktop widths. Splitting into 2 sub-groups gives a clean
   "clinicians + chiros" structure. .lc-team__grid becomes a passive stacking
   container; the .lc-team__group children carry the actual grid layouts. */
body.page-lactation-consultants-houston .lc-team__grid { display: block; }
body.page-lactation-consultants-houston .lc-team__group { display: grid; gap: 24px; max-width: 1080px; margin: 0 auto; }
body.page-lactation-consultants-houston .lc-team__group + .lc-team__group { margin-top: 24px; }
body.page-lactation-consultants-houston .lc-team__group--ibclc { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
body.page-lactation-consultants-houston .lc-team__group--chiro { grid-template-columns: repeat(2, minmax(0, 252px)); justify-content: center; }
@media (max-width: 600px) {
  body.page-lactation-consultants-houston .lc-team__group--chiro { grid-template-columns: 1fr; }
}

/* qa4 #5 — Services trail is now a single full-width Chiropractic + Laser PBM
   card. Back-to-Work moved into the main grid; the grid is now 9 cards (clean
   3x3). One-column grid makes the lone chiro card span the full grid width. */
body.page-lactation-consultants-houston .lc-svcs__trail { grid-template-columns: 1fr; }

/* ── Soonest-openings panel (BCB Availability plugin shortcodes), inside the
      "Book in 3 Steps" section. The widget spans (.bcb-next-avail) are styled
      by the plugin itself; this is just the panel chrome. ───────────────── */
.lc-avail { max-width: 760px; margin: 36px auto 0; padding: 22px 26px; background: var(--card-lift-bg); -webkit-backdrop-filter: var(--card-lift-blur); backdrop-filter: var(--card-lift-blur); border: 1px solid rgba(31,45,64,0.07); border-radius: var(--radius-lg); text-align: left; }
.lc-avail__lead { font-family: var(--font-accent); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink-500); margin: 0 0 14px; }
.lc-avail__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lc-avail__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 14.5px; color: var(--navy-700); padding-bottom: 10px; border-bottom: 1px dashed var(--gray-200); }
.lc-avail__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.lc-avail__type { font-weight: 700; color: var(--navy-500); min-width: 150px; }
.lc-avail__note { font-size: 12.5px; line-height: 1.55; color: var(--navy-400); margin: 14px 0 0; }
@media (max-width: 560px) { .lc-avail__type { min-width: 0; flex-basis: 100%; } }

/* ── QA 2026-06-15 (Suzanne QA – Location Pages) ── mobile hero polish.
   Keep the hero location-list chip on a single line, and center the two hero CTAs. */
@media (max-width: 640px) {
  .lc-hero__chip { white-space: nowrap; font-size: clamp(9px, 2.7vw, 11px); letter-spacing: 0.03em; }
  .lc-hero__ctas { justify-content: center; }
}
