/* NewMed Page Sections — matches the approved canvas design. Scoped to .nmpb. */
.nmpb-sections, .nmpb-picker {
	--nmpb-navy: #183155; --nmpb-navy-dk: #0f2340; --nmpb-red: #d91a27; --nmpb-red-dk: #b3121d;
	--nmpb-book: var(--nm-book, #183155); --nmpb-book-dk: var(--nm-book-dk, #0f2340); --nmpb-sky: #eef5fb; --nmpb-ink: #18202c; --nmpb-mute: #4f5d70; --nmpb-line: #dce5ef; --nmpb-open: #17804f;
	--nmpb-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-family: var(--nmpb-font); color: var(--nmpb-ink); font-size: 17px; line-height: 1.6;
}
:where(.nmpb) h1, :where(.nmpb) h2, :where(.nmpb) h3 { margin: 0; color: var(--nmpb-navy); font-family: var(--nmpb-font); }
:where(.nmpb) h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 780; max-width: 13ch; }
:where(.nmpb) h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 740; }
:where(.nmpb) h3 { font-size: 20px; line-height: 1.25; font-weight: 720; }
:where(.nmpb) p { margin: 0; }
:where(.nmpb) ul, :where(.nmpb) ol { list-style: none; margin: 0; padding: 0; }
:where(.nmpb) a { color: var(--nmpb-navy); }
:where(.nmpb) img { max-width: 100%; height: auto; }
.nmpb :focus-visible, .nmpb-picker :focus-visible { outline: 3px solid #4d8fe0; outline-offset: 2px; }
.nmpb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nmpb { padding: clamp(56px, 7vw, 88px) 0; }
.nmpb-bg--white { background: #fff; }
.nmpb-bg--sky { background: var(--nmpb-sky); }
.nmpb-bg--navy { background: var(--nmpb-navy); color: #dce6f3; }
.nmpb-bg--navy :where(h1, h2, h3, strong) { color: #fff; }
.nmpb-bg--navy :where(a) { color: #fff; }
.nmpb--reassurance { padding: 26px 0; border-bottom: 1px solid var(--nmpb-line); }
.nmpb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); box-sizing: border-box; }
.nmpb-wrap--narrow { max-width: 820px; }
.nmpb-head { max-width: 760px; margin-bottom: 32px; }
.nmpb-head p, .nmpb-lead { margin-top: 10px; color: var(--nmpb-mute); }
.nmpb-bg--navy .nmpb-head p, .nmpb-bg--navy .nmpb-lead { color: #c6d4e5; }
.nmpb-lead { font-size: 19px; max-width: 46ch; }
.nmpb-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.nmpb-head--split > div:first-child { max-width: 620px; }
.nmpb-more { font-weight: 700; text-underline-offset: 4px; }

/* Buttons */
.nmpb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 10px; font: 700 16px/1.2 var(--nmpb-font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; text-align: center; transition: background-color .15s, border-color .15s; }
.nmpb-btn--lg { min-height: 54px; padding: 0 24px; font-size: 17px; }
.nmpb-btn--book { background: var(--nmpb-book); color: #fff !important; }
.nmpb-btn--book:hover { background: var(--nmpb-book-dk); }
.nmpb-btn--icon { min-width: 54px; padding: 0 14px; }
.nmpb-btn--navy { background: var(--nmpb-navy); color: #fff !important; }
.nmpb-btn--navy:hover { background: var(--nmpb-navy-dk); }
.nmpb-btn--line { background: #fff; border-color: #c9d6e4; color: var(--nmpb-navy) !important; }
.nmpb-btn--line:hover { border-color: var(--nmpb-navy); }
.nmpb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Status */
.nmpb-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--nmpb-mute); }
.nmpb-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa6b5; }
.nmpb-status.is-open { color: var(--nmpb-open); }
.nmpb-status.is-open::before { background: #22b36a; }

/* Hero + booking card */
.nmpb--hero_booking { padding: clamp(40px, 5vw, 64px) 0; }
.nmpb-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.nmpb-hero__copy { flex: 1 1 460px; min-width: 0; }
.nmpb-hero__copy .nmpb-lead { margin-top: 18px; }
.nmpb-hero__media { flex: 1 1 440px; min-width: 0; position: relative; }
.nmpb-hero__img { display: block; width: 100%; height: auto; border-radius: 20px; object-fit: cover; }
.nmpb-hero__badge { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: 0 16px 30px -18px rgba(24,49,85,.6); font-size: 14px; color: var(--nmpb-mute); line-height: 1.35; }
.nmpb-hero__badge strong { color: var(--nmpb-navy); font-size: 16px; }
.nmpb-hero__badge-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #e6f4ec; color: var(--nmpb-open); display: grid; place-items: center; }
.nmpb-bookcard { margin-top: 28px; max-width: 560px; background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 24px 50px -30px rgba(24,49,85,.5); }
.nmpb-bookcard__label { font-weight: 700; color: var(--nmpb-navy); margin-bottom: 12px !important; }
.nmpb-bookcard__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.nmpb-bookcard__choices button { display: flex; flex-direction: column; gap: 4px; text-align: left; min-height: 64px; padding: 12px; border-radius: 12px; border: 2px solid var(--nmpb-line); background: #fff; color: var(--nmpb-navy); font: inherit; cursor: pointer; }
.nmpb-bookcard__choices button strong { font-size: 15px; line-height: 1.25; }
.nmpb-bookcard__choices button[aria-checked="true"] { border-color: var(--nmpb-navy); background: var(--nmpb-sky); }
.nmpb-bookcard__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.nmpb-bookcard__actions .nmpb-btn { white-space: nowrap; }
.nmpb-bookcard__actions .nmpb-btn--book { flex: 1 1 100%; }
.nmpb-bookcard__actions .nmpb-btn--line { flex: 1 1 auto; font-variant-numeric: tabular-nums; }
.nmpb-bookcard__addr { margin-top: 14px !important; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--nmpb-navy); }
.nmpb-bookcard__addr .nmpb-ico { flex: none; color: #e61e2b; }
.nmpb-bookcard__note { margin-top: 4px !important; font-size: 14px; color: var(--nmpb-mute); }

/* Strip */
.nmpb-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 28px; }
.nmpb-strip__item { display: flex; gap: 12px; align-items: center; line-height: 1.35; font-size: 15px; color: var(--nmpb-mute); }
.nmpb-strip__item strong { display: block; color: var(--nmpb-navy); font-size: 17px; }
.nmpb-strip__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--nmpb-sky); color: var(--nmpb-navy); display: grid; place-items: center; }

/* Grids */
.nmpb-grid { display: grid; gap: 22px; }
.nmpb-grid--cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.nmpb-grid--clinics { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.nmpb-grid--people { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.nmpb-grid--quotes { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.nmpb-grid--two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

/* Search */
.nmpb-search { position: relative; flex: 0 1 400px; }
.nmpb-search > .nmpb-ico { position: absolute; left: 16px; top: 17px; color: var(--nmpb-mute); }
.nmpb-search input { width: 100%; box-sizing: border-box; height: 54px; padding: 0 16px 0 46px; border: 1.5px solid #c9d6e4; border-radius: 12px; font: 500 16px var(--nmpb-font); color: var(--nmpb-ink); background: #fff; }
.nmpb-search input:focus { outline: none; border-color: var(--nmpb-navy); box-shadow: 0 0 0 4px rgba(24,49,85,.12); }
.nmpb-search__results { position: absolute; z-index: 5; left: 0; right: 0; top: 60px; background: #fff; border: 1px solid var(--nmpb-line); border-radius: 12px; max-height: 300px; overflow: auto; box-shadow: 0 20px 40px -24px rgba(24,49,85,.5); }
.nmpb-search__results a { display: block; padding: 11px 16px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--nmpb-line); }
.nmpb-search__results a:hover { background: var(--nmpb-sky); }
.nmpb-search__none { padding: 12px 16px; color: var(--nmpb-mute); font-size: 15px; }

/* Service cards */
.nmpb-svc { display: flex; flex-direction: column; border: 1px solid var(--nmpb-line); border-radius: 16px; overflow: hidden; background: #fff; }
.nmpb-svc__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nmpb-svc__img--empty { background: var(--nmpb-sky); }
.nmpb-svc__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.nmpb-svc__body .nmpb-more { margin-top: auto; padding-top: 6px; font-size: 15px; }
.nmpb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nmpb-chips a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--nmpb-sky); font-size: 15px; font-weight: 600; text-decoration: none; }
.nmpb-chips a:hover { background: #dde9f5; }

/* Steps */
.nmpb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; margin-top: 32px !important; }
.nmpb-steps li { display: flex; gap: 16px; }
.nmpb-steps strong { display: block; font-size: 19px; }
.nmpb-steps__n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--nmpb-navy); font-weight: 800; display: grid; place-items: center; }
.nmpb-bg--white .nmpb-steps__n, .nmpb-bg--sky .nmpb-steps__n { background: var(--nmpb-navy); color: #fff; }

/* Clinics */
.nmpb-clinic { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--nmpb-line); }
.nmpb-clinic__img { display: block; width: 100%; aspect-ratio: 560 / 340; object-fit: cover; }
.nmpb-clinic__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.nmpb-clinic__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 10px; }
.nmpb-clinic h3 { font-size: 22px; }
.nmpb-clinic h3 a { text-decoration: none; }
.nmpb-clinic__addr { color: var(--nmpb-mute) !important; }
.nmpb-clinic__tel { font-weight: 700; text-decoration: none; }
.nmpb-clinic__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }
.nmpb-clinic__actions .nmpb-btn { flex: 1 1 120px; }

/* People */
.nmpb-person { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--nmpb-ink); }
.nmpb-person__img { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #e3ecf5; margin-bottom: 10px; }
.nmpb-person__img img { width: 100%; height: 100%; object-fit: cover; }
.nmpb-person strong { color: var(--nmpb-navy); font-size: 18px; }
.nmpb-person span:not(.nmpb-person__img) { font-size: 15px; color: var(--nmpb-mute); }

/* Quotes (testimonial fallback) */
.nmpb-quote { margin: 0; background: #f6f9fc; border-radius: 14px; padding: 22px; }
.nmpb-quote blockquote { margin: 8px 0 12px; }
.nmpb-quote figcaption { font-size: 14px; font-weight: 700; color: var(--nmpb-mute); }
.nmpb-stars { color: #b26b00; letter-spacing: 2px; }

/* Split layouts */
.nmpb-split { display: flex; flex-wrap: wrap; gap: 36px 48px; align-items: center; }
.nmpb-split > div:first-child { flex: 1 1 380px; }
.nmpb-split--faq { align-items: flex-start; }
.nmpb-split--faq > div:first-child { flex: 0 1 320px; }
.nmpb-split--faq > div:first-child p { margin-top: 10px; color: var(--nmpb-mute); }
.nmpb-logos { flex: 1 1 460px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nmpb-logos li { background: #fff; border-radius: 10px; aspect-ratio: 5 / 2; display: grid; place-items: center; padding: 12px; }
.nmpb-logos img { max-height: 40px; width: auto; object-fit: contain; }

/* FAQ */
.nmpb-faq { flex: 1 1 560px; display: flex; flex-direction: column; gap: 10px; }
.nmpb-faq details { border: 1px solid var(--nmpb-line); border-radius: 14px; padding: 0 22px; background: #fff; }
.nmpb-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; color: var(--nmpb-navy); cursor: pointer; list-style: none; }
.nmpb-faq summary::-webkit-details-marker { display: none; }
.nmpb-faq summary .nmpb-ico { flex: none; transition: transform .2s; }
.nmpb-faq details[open] summary .nmpb-ico { transform: rotate(180deg); }
.nmpb-faq__a { padding-bottom: 20px; color: var(--nmpb-mute); }

/* Care guide */

.nmpb-guide { border-radius: 16px; padding: 28px; }
.nmpb-guide h2 { font-size: 22px; }
.nmpb-guide p { margin-top: 10px; }
.nmpb-guide--us { background: var(--nmpb-sky); color: #36475c; }
.nmpb-guide--er { background: #fdecee; color: #5c2a2f; }
.nmpb-guide--er h2 { color: #8e1019; }

/* Image + text */
.nmpb-media { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.nmpb-media--left { flex-direction: row-reverse; }
.nmpb-media__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.nmpb-media__img { flex: 1 1 420px; }
.nmpb-media__img img { display: block; width: 100%; height: auto; border-radius: 18px; }
.nmpb-prose > * + * { margin-top: 1em; }
.nmpb-prose ul { list-style: disc; padding-left: 1.3em; }
.nmpb-prose ol { list-style: decimal; padding-left: 1.3em; }

/* CTA */
.nmpb-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.nmpb-cta p { margin-top: 8px; }

/* Picker (when the theme doesn't provide one) */
.nmpb-picker { width: min(560px, calc(100vw - 24px)); border: 0; border-radius: 16px; padding: 0; box-shadow: 0 30px 80px -20px rgba(15,35,64,.5); }
.nmpb-picker::backdrop { background: rgba(15,35,64,.55); }
.nmpb-picker__head { display: flex; justify-content: space-between; gap: 12px; padding: 22px 22px 8px; }
.nmpb-picker__head h2 { margin: 0; font-size: 22px; color: var(--nmpb-navy); }
.nmpb-picker__x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--nmpb-sky); color: var(--nmpb-navy); display: grid; place-items: center; cursor: pointer; }
.nmpb-picker__list { list-style: none; margin: 0; padding: 0 22px; }
.nmpb-picker__list li { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--nmpb-line); }
.nmpb-picker__img { width: 76px; height: 56px; object-fit: cover; border-radius: 10px; }
.nmpb-picker__info { flex: 1 1 180px; display: flex; flex-direction: column; line-height: 1.35; }
.nmpb-picker__info strong { color: var(--nmpb-navy); }
.nmpb-picker__info span:not(.nmpb-status) { font-size: 14px; color: var(--nmpb-mute); }
.nmpb-picker__go { display: flex; gap: 8px; }
.nmpb-picker[data-mode="book"] [data-mode]:not([data-mode="book"]),
.nmpb-picker[data-mode="call"] [data-mode]:not([data-mode="call"]),
.nmpb-picker[data-mode="map"] [data-mode]:not([data-mode="map"]) { display: none; }
.nmpb-picker__note { margin: 0; padding: 12px 22px 20px; border-top: 1px solid var(--nmpb-line); font-size: 14px; color: var(--nmpb-mute); }

@media (max-width: 600px) {
	.nmpb-bookcard { padding: 16px; }
	.nmpb-bookcard__choices { grid-template-columns: 1fr; }
	.nmpb-bookcard__choices button { min-height: 52px; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; }
	.nmpb-hero__img { height: 200px; object-fit: cover; object-position: center 70%; }
	.nmpb-hero__badge { display: none; }
	.nmpb-bookcard__choices .nmpb-status { white-space: nowrap; }
	.nmpb-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nmpb-picker { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 18px 18px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.nmpb *, .nmpb-picker * { transition: none !important; }
}
.nmpb-person__img { display: grid; place-items: center; }
.nmpb-person .nmpb-person__initials { font-size: 44px; font-weight: 800; color: var(--nmpb-navy); opacity: .55; letter-spacing: .02em; }
.nmpb-faq__all { display: inline-block; margin-top: 14px; }

/* Page header */
.nmpb--page_header { padding: clamp(40px, 5vw, 64px) 0; }
.nmpb-pagehead { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.nmpb-pagehead__copy { flex: 1 1 420px; }
.nmpb-pagehead h1 { max-width: 20ch; font-size: clamp(32px, 4vw, 48px); }
.nmpb-miniclinics { flex: 0 1 460px; display: flex; flex-direction: column; gap: 8px; }
.nmpb-miniclinics li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; }
.nmpb-miniclinics__info { display: flex; flex-direction: column; line-height: 1.3; }
.nmpb-miniclinics__info strong { color: var(--nmpb-navy); }
.nmpb-miniclinics__act { display: flex; gap: 8px; flex: none; }
.nmpb-miniclinics .nmpb-btn { min-height: 44px; padding: 0 14px; }
/* Prices */
.nmpb-grid--prices { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.nmpb-prices { border: 1px solid var(--nmpb-line); border-radius: 16px; padding: 22px; background: #fff; }
.nmpb-prices h3 { margin-bottom: 10px; }
.nmpb-prices dl { margin: 0; }
.nmpb-prices dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--nmpb-line); }
.nmpb-prices dt { color: var(--nmpb-ink); }
.nmpb-prices dd { margin: 0; font-weight: 700; color: var(--nmpb-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Careers */
.nmpb-careers__mail { margin-top: 14px !important; }
.nmpb-roles li { padding: 16px 20px; border: 1px solid var(--nmpb-line); border-radius: 14px; font-weight: 700; color: var(--nmpb-navy); margin-bottom: 10px; background: #fff; }
/* Posts */
.nmpb-post { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--nmpb-ink); }
.nmpb-post small { color: var(--nmpb-mute); }
.nmpb-post .nmpb-svc__body span { color: var(--nmpb-mute); font-size: 15px; }
/* Areas */
.nmpb--areas { padding: 44px 0 52px; border-top: 1px solid var(--nmpb-line); }
.nmpb.nmpb--areas { padding-top: 44px; } /* keeps its space even after a same-colour section */
.nmpb-areas__h { font-size: 18px !important; }
.nmpb-areas { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px !important; }
.nmpb-areas a { font-size: 15px; color: var(--nmpb-mute); text-underline-offset: 3px; }

/* Hero headline: explicit line breaks from the field; otherwise balanced wrapping. */
.nmpb .nmpb-hero__title { max-width: 14ch; text-wrap: balance; }
/* Hero image swaps when another clinic is chosen. */
.nmpb-hero__img { transition: opacity .25s ease; }
.nmpb-hero__img.is-swapping { opacity: 0; }
@media (max-width: 380px) { .nmpb-bookcard__actions .nmpb-btn { white-space: normal; } }

/* Map ------------------------------------------------------------------ */
.nmpb-mapwrap { display: grid; gap: 28px; }
.nmpb-mapwrap--side_left, .nmpb-mapwrap--side_right { grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); align-items: start; }
.nmpb-mapwrap--side_right .nmpb-mapwrap__map { order: 2; }
.nmpb-mapwrap__map { min-width: 0; }
.nmpb-map { width: 100%; height: var(--nmpb-map-h, 480px); border-radius: 18px; overflow: hidden; border: 1px solid var(--nmpb-line); background: #e9eef3; z-index: 0; }
/* Side by side: the map stays in view while the list scrolls with the page. */
.nmpb-mapwrap--side_left .nmpb-mapwrap__map, .nmpb-mapwrap--side_right .nmpb-mapwrap__map { position: sticky; top: 110px; }
.admin-bar .nmpb-mapwrap--side_left .nmpb-mapwrap__map, .admin-bar .nmpb-mapwrap--side_right .nmpb-mapwrap__map { top: 142px; }
.nmpb-mapwrap--side_left .nmpb-placecard, .nmpb-mapwrap--side_right .nmpb-placecard { grid-template-columns: 88px minmax(0, 1fr); }
.nmpb-mapwrap--side_left .nmpb-placecard__thumb, .nmpb-mapwrap--side_right .nmpb-placecard__thumb { width: 88px; grid-row: span 2; align-self: start; }
.nmpb-mapwrap--side_left .nmpb-placecard__act, .nmpb-mapwrap--side_right .nmpb-placecard__act { grid-column: 2; }
.nmpb-pin { background: none; border: 0; filter: drop-shadow(0 3px 4px rgba(15,35,64,.35)); transition: transform .15s; transform-origin: 50% 100%; }
.nmpb-pin.is-hot svg { transform: scale(1.25); transform-origin: 50% 100%; }
.nmpb-map .leaflet-popup-content { margin: 14px 16px; font: 14px/1.45 var(--nmpb-font); color: var(--nmpb-ink); }
.nmpb-map .leaflet-popup-content strong { color: var(--nmpb-navy); font-size: 15px; }
.nmpb-map .leaflet-popup-content a { color: var(--nmpb-navy); font-weight: 700; }
.nmpb-pop__name, .nmpb-pop__addr, .nmpb-pop__hours { display: block; }
.nmpb-pop__addr, .nmpb-pop__hours { color: var(--nmpb-mute); }
.nmpb-pop__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; align-items: center; }
.nmpb-map .leaflet-popup-content .nmpb-pop__book { background: var(--nmpb-book); color: #fff; padding: 6px 12px; border-radius: 8px; text-decoration: none; }
.nmpb-map__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px !important; font-size: 14px; color: var(--nmpb-mute); }
.nmpb-map__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.nmpb-map__key { display: inline-block; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 1px 2px rgba(15,35,64,.35); }
.nmpb-map__key--clinic { width: 16px; height: 16px; background: #e61e2b; }
.nmpb-map__key--area { width: 13px; height: 13px; background: #183155; }

/* List: clinic cards */
.nmpb-maplist__h { font-size: 18px; margin-bottom: 12px; }
.nmpb-maplist__h span { color: var(--nmpb-mute); font-weight: 600; }
.nmpb-placecards { display: grid; gap: 10px; }
.nmpb-mapwrap--stacked .nmpb-placecards { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.nmpb-placecard { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; background: #fff; border: 1px solid var(--nmpb-line); border-radius: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.nmpb-placecard:hover { border-color: #b9c9db; box-shadow: 0 10px 24px -18px rgba(24,49,85,.6); }
.nmpb-placecard__thumb { display: block; width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--nmpb-sky); }
.nmpb-placecard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.nmpb-placecard__thumb:hover img { transform: scale(1.05); }
.nmpb-placecard__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.35; }
.nmpb-placecard__name { font-weight: 750; font-size: 17px; color: var(--nmpb-navy) !important; text-decoration: none; }
.nmpb-placecard__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.nmpb-placecard__addr { font-size: 14px; color: var(--nmpb-mute); }
.nmpb-placecard__act { display: flex; gap: 6px; }
.nmpb-btn--sm { min-height: 40px; padding: 0 14px; font-size: 15px; }
.nmpb-btn--square { width: 40px; padding: 0; }

/* List: neighborhood cards */
.nmpb-maplist__areas { margin-top: 26px; }
.nmpb-maplist__areahead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-bottom: 12px; }
.nmpb-maplist__areahead .nmpb-maplist__h { margin: 0; }
.nmpb-areafilter { position: relative; flex: 0 1 240px; }
.nmpb-areafilter .nmpb-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--nmpb-mute); }
.nmpb-areafilter input { width: 100%; box-sizing: border-box; height: 42px; padding: 0 12px 0 38px; border: 1.5px solid #c9d6e4; border-radius: 10px; font: 500 15px var(--nmpb-font); background: #fff; color: var(--nmpb-ink); }
.nmpb-areafilter input:focus { outline: none; border-color: var(--nmpb-navy); box-shadow: 0 0 0 3px rgba(24,49,85,.15); }
.nmpb-areacards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.nmpb-mapwrap--side_left .nmpb-areacards, .nmpb-mapwrap--side_right .nmpb-areacards { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.nmpb-areacard { position: relative; display: flex; align-items: stretch; background: #fff; border: 1px solid var(--nmpb-line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.nmpb-areacard:hover { border-color: #b9c9db; box-shadow: 0 8px 20px -16px rgba(24,49,85,.6); }
.nmpb-areacard > a { flex: 1; min-width: 0; display: flex; gap: 8px; align-items: center; padding: 8px 4px 8px 10px; text-decoration: none; }
.nmpb-areacard__pin { flex: none; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #183155; border: 2px solid #fff; box-shadow: 0 1px 2px rgba(15,35,64,.35); }
.nmpb-areacard__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.nmpb-areacard__txt { gap: 1px; }
.nmpb-areacard__txt strong { color: var(--nmpb-navy); font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.nmpb-areacard__txt small { display: block; color: var(--nmpb-mute); font-size: 11px; line-height: 1.3; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmpb-areacard.is-active { border-color: #1f6feb; box-shadow: 0 0 0 2px rgba(31,111,235,.25); }
.nmpb-areacard.is-active .nmpb-areacard__pin { background: #1f6feb; }
.nmpb-placecard.is-active { border-color: var(--nmpb-navy); box-shadow: 0 0 0 2px rgba(24,49,85,.18); }
.nmpb-areacard__show { flex: none; width: 32px; border: 0; border-left: 1px solid var(--nmpb-line); background: none; color: var(--nmpb-navy); border-radius: 0 12px 12px 0; cursor: pointer; display: grid; place-items: center; }
.nmpb-areacard__show:hover { background: var(--nmpb-sky); }
.nmpb-areacards__none { margin-top: 10px !important; color: var(--nmpb-mute); }
.nmpb-admin-note { background: #fff7d6; color: #5b4a00; border-radius: 10px; padding: 12px 16px; }

/* Backgrounds: cards stay white; text around them adapts. */
.nmpb-bg--sky .nmpb-map { border-color: #d3e0ee; }
.nmpb-bg--navy .nmpb-map { border-color: rgba(255,255,255,.18); }
.nmpb-bg--navy .nmpb-map__legend, .nmpb-bg--navy .nmpb-maplist__h span, .nmpb-bg--navy .nmpb-areacards__none { color: #c6d4e5; }
.nmpb-bg--navy .nmpb-maplist__h { color: #fff; }
.nmpb-bg--navy .nmpb-placecard, .nmpb-bg--navy .nmpb-areacard { border-color: transparent; }
.nmpb-bg--navy .nmpb-placecard :where(a, span, strong, small), .nmpb-bg--navy .nmpb-areacard :where(a, strong, small) { color: inherit; }
.nmpb-bg--navy .nmpb-placecard, .nmpb-bg--navy .nmpb-areacard { color: var(--nmpb-ink); }
.nmpb-bg--navy .nmpb-placecard__name, .nmpb-bg--navy .nmpb-areacard__txt strong { color: var(--nmpb-navy) !important; }
.nmpb-bg--navy .nmpb-placecard__addr, .nmpb-bg--navy .nmpb-areacard__txt small { color: var(--nmpb-mute) !important; }
.nmpb-bg--navy .nmpb-placecard .nmpb-status { color: var(--nmpb-mute); }
.nmpb-bg--navy .nmpb-placecard .nmpb-status.is-open { color: var(--nmpb-open); }
.nmpb-bg--navy .nmpb-areacard__pin, .nmpb-bg--navy .nmpb-map__key--area { background: #183155; border-color: #fff; }
.nmpb-bg--navy .nmpb-map__key--area { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.nmpb-bg--navy .nmpb-areafilter input { border-color: transparent; }
.nmpb-bg--navy .nmpb-btn--line { border-color: #c9d6e4; }

@media (max-width: 900px) {
	.nmpb-mapwrap--side_left, .nmpb-mapwrap--side_right { grid-template-columns: 1fr; }
	.nmpb-mapwrap--side_right .nmpb-mapwrap__map { order: 0; }
	.nmpb-mapwrap--side_left .nmpb-mapwrap__map, .nmpb-mapwrap--side_right .nmpb-mapwrap__map { position: static; }
	.nmpb-map { height: min(var(--nmpb-map-h, 480px), 60vh); }
}
@media (max-width: 480px) {
	.nmpb-placecard { grid-template-columns: 72px minmax(0, 1fr); }
	.nmpb-placecard__thumb { width: 72px; }
	.nmpb-placecard__act { grid-column: 1 / -1; }
	.nmpb-placecard__act .nmpb-btn--book { flex: 1; }
	.nmpb-areacards { grid-template-columns: 1fr 1fr; }
}

/* Rhythm: two sections on the same background share one gap instead of doubling it. */
.nmpb.nmpb-bg--white + .nmpb.nmpb-bg--white,
.nmpb.nmpb-bg--sky + .nmpb.nmpb-bg--sky,
.nmpb.nmpb-bg--navy + .nmpb.nmpb-bg--navy { padding-top: 0; }
.nmpb .nmpb-areacard.is-active .nmpb-areacard__pin { background: #1f6feb; }
.nmpb-areacard__show[aria-pressed="true"] { background: #1f6feb; color: #fff; }
.nmpb-areacard__show[aria-pressed="true"]:hover { background: #1a5ed0; }

/* Hero: Google rating card for the selected clinic, under the image. */
.nmpb-hero__frame { position: relative; }
.nmpb-rating { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 18px; background: #fff; border-radius: 14px; box-shadow: 0 16px 34px -24px rgba(24,49,85,.55); }
.nmpb-rating[hidden] { display: none; }
.nmpb-rating__num { font-size: 34px; font-weight: 800; line-height: 1; color: var(--nmpb-navy); font-variant-numeric: tabular-nums; }
.nmpb-rating__mid { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.nmpb-rating__count { font-size: 14px; color: var(--nmpb-mute); line-height: 1.3; }
.nmpb-rating__link { flex: none; font-weight: 700; font-size: 15px; color: var(--nmpb-navy); text-underline-offset: 3px; }
.nmpb-stars5 { position: relative; display: inline-block; width: 100px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 1l2.6 5.4 5.9.8-4.3 4.1 1 5.8L10 14.3 4.8 17.1l1-5.8L1.5 7.2l5.9-.8z' fill='%23d6dde6'/%3E%3C/svg%3E") 0 0 / 20px 18px repeat-x; }
.nmpb-stars5__fg { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 1l2.6 5.4 5.9.8-4.3 4.1 1 5.8L10 14.3 4.8 17.1l1-5.8L1.5 7.2l5.9-.8z' fill='%23f2a516'/%3E%3C/svg%3E") 0 0 / 20px 18px repeat-x; transition: width .25s; }
@media (max-width: 600px) {
	.nmpb-rating { padding: 12px 14px; gap: 12px; }
	.nmpb-rating__num { font-size: 28px; }
	.nmpb-rating__link { font-size: 14px; }
}


/* ---------- Section backgrounds: image / video / texture / text tone ---------- */
.nmpb { position: relative; isolation: isolate; }
.nmpb-tone--light { color: #dce6f3; }
.nmpb-tone--light :where(h1, h2, h3, strong) { color: #fff; }
.nmpb-tone--light :where(a:not(.nmpb-btn)) { color: #fff; }
.nmpb-tone--light .nmpb-head p, .nmpb-tone--light .nmpb-lead { color: #d3dfec; }
.nmpb-bg--navy.nmpb-tone--dark { color: var(--nmpb-ink); }
.nmpb-tone--dark :where(.nmpb-head p, .nmpb-lead) { color: var(--nmpb-mute); }
.nmpb-tone--light :where(h1, h2, h3, strong) { color: #fff; }
.nmpb-tone--light :where(a) { color: #fff; }
.nmpb-tone--light .nmpb-head p, .nmpb-tone--light .nmpb-lead { color: #c6d4e5; }
.nmpb-tone--light .nmpb-map { border-color: rgba(255,255,255,.18); }
.nmpb-tone--light .nmpb-map__legend, .nmpb-tone--light .nmpb-maplist__h span, .nmpb-tone--light .nmpb-areacards__none { color: #c6d4e5; }
.nmpb-tone--light .nmpb-maplist__h { color: #fff; }
.nmpb-tone--light .nmpb-placecard, .nmpb-tone--light .nmpb-areacard { border-color: transparent; }
.nmpb-tone--light .nmpb-placecard :where(a, span, strong, small), .nmpb-tone--light .nmpb-areacard :where(a, strong, small) { color: inherit; }
.nmpb-tone--light .nmpb-placecard, .nmpb-tone--light .nmpb-areacard { color: var(--nmpb-ink); }
.nmpb-tone--light .nmpb-placecard__name, .nmpb-tone--light .nmpb-areacard__txt strong { color: var(--nmpb-navy) !important; }
.nmpb-tone--light .nmpb-placecard__addr, .nmpb-tone--light .nmpb-areacard__txt small { color: var(--nmpb-mute) !important; }
.nmpb-tone--light .nmpb-placecard .nmpb-status { color: var(--nmpb-mute); }
.nmpb-tone--light .nmpb-placecard .nmpb-status.is-open { color: var(--nmpb-open); }
.nmpb-tone--light .nmpb-areacard__pin, .nmpb-tone--light .nmpb-map__key--area { background: #183155; border-color: #fff; }
.nmpb-tone--light .nmpb-map__key--area { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.nmpb-tone--light .nmpb-areafilter input { border-color: transparent; }
.nmpb-tone--light .nmpb-btn--line { border-color: #c9d6e4; }
.nmpb-bgm { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.nmpb-bgm__img, .nmpb-bgm__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nmpb-bgm__shade { position: absolute; inset: 0; background: rgba(15, 35, 64, var(--nmpb-overlay, .55)); }
.nmpb-tone--dark .nmpb-bgm__shade { background: rgba(255, 255, 255, var(--nmpb-overlay, .55)); }
.nmpb-bgm__toggle { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(15,35,64,.55); color: #fff; cursor: pointer; display: grid; place-items: center; }
.nmpb-bgm__toggle:hover { background: rgba(15,35,64,.8); }
.nmpb-bgm__icon { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.nmpb-bgm__toggle.is-paused .nmpb-bgm__icon { width: 0; height: 0; border-left: 12px solid currentColor; border-right: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

.nmpb-tex { --nmpb-tex: rgba(24, 49, 85, .09); }
.nmpb-tex.nmpb-tone--light { --nmpb-tex: rgba(255, 255, 255, .10); }
.nmpb-tex::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nmpb-tex--dots::before { background-image: radial-gradient(var(--nmpb-tex) 1.6px, transparent 1.8px); background-size: 22px 22px; }
.nmpb-tex--grid::before { background-image: linear-gradient(var(--nmpb-tex) 1px, transparent 1px), linear-gradient(90deg, var(--nmpb-tex) 1px, transparent 1px); background-size: 32px 32px; }
.nmpb-tex--lines::before { background-image: repeating-linear-gradient(135deg, var(--nmpb-tex) 0 1px, transparent 1px 14px); }
.nmpb-tex--cross::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M19 14h2v12h-2zM14 19h12v2H14z' fill='%23183155' fill-opacity='.08'/%3E%3C/svg%3E"); background-size: 40px 40px; background-position: 0 0; }
.nmpb-tex--cross.nmpb-tone--light::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M19 14h2v12h-2zM14 19h12v2H14z' fill='%23ffffff' fill-opacity='.10'/%3E%3C/svg%3E"); }
.nmpb-tex--waves::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24'%3E%3Cpath d='M0 12c10 0 10-8 20-8s10 8 20 8 10-8 20-8 10 8 20 8' fill='none' stroke='%23183155' stroke-opacity='.08' stroke-width='1.5'/%3E%3C/svg%3E"); background-size: 80px 24px; }
.nmpb-tex--waves.nmpb-tone--light::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24'%3E%3Cpath d='M0 12c10 0 10-8 20-8s10 8 20 8 10-8 20-8 10 8 20 8' fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1.5'/%3E%3C/svg%3E"); }
.nmpb-tex--grain::before { opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.19 0 0 0 0 0.33 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.nmpb-tex--grain.nmpb-tone--light::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Sections with media get full spacing even next to a same-colour section. */
.nmpb.nmpb-has-media { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.nmpb.nmpb-has-media + .nmpb { padding-top: clamp(56px, 7vw, 88px); }

/* Neighborhood header */
.nmpb--area_header { padding: clamp(40px, 5vw, 64px) 0; }
.nmpb-areahead { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; }
.nmpb-areahead__copy { flex: 1 1 440px; min-width: 0; }
.nmpb-areahead__copy h1 { max-width: 16ch; font-size: clamp(34px, 4.2vw, 52px); }
.nmpb-areahead__copy .nmpb-lead { margin-top: 16px; }
.nmpb-areahead__crumb { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px !important; font-size: 14px; font-weight: 650; color: var(--nmpb-mute); }
.nmpb-areahead__crumb .nmpb-ico { color: #e61e2b; }
.nmpb-areahead__clinics { flex: 1 1 420px; min-width: 0; }
.nmpb-areahead__label { margin-bottom: 10px !important; font-weight: 700; color: var(--nmpb-navy); }
.nmpb-areahead .nmpb-placecard { grid-template-columns: 88px minmax(0, 1fr) auto; }
.nmpb-areahead .nmpb-placecard__thumb { width: 88px; }
.nmpb-placecard.is-nearest { border-color: var(--nmpb-navy); box-shadow: 0 12px 28px -20px rgba(24,49,85,.6); }
.nmpb-placecard__dist { color: var(--nmpb-navy); }
.nmpb-tone--light .nmpb-areahead__crumb { color: #d3dfec; }
.nmpb-tone--light .nmpb-areahead__label { color: #fff; }
/* Nearby neighborhoods */
.nmpb-areacards--nearby { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.nmpb-areacards--nearby .nmpb-areacard > a { padding-right: 12px; }
.nmpb-nearby__more { margin-top: 16px; }
@media (max-width: 480px) {
	.nmpb-areahead .nmpb-placecard { grid-template-columns: 72px minmax(0, 1fr); }
	.nmpb-areahead .nmpb-placecard__thumb { width: 72px; }
}
/* hidden must win over the card display rules (filters, "Show all") */
.nmpb-areacard[hidden], .nmpb-placecard[hidden] { display: none; }
/* Booking button on dark backgrounds: white with navy text so it stands out */
.nmpb-tone--light .nmpb-btn--book { background: #fff; color: var(--nmpb-navy) !important; }
.nmpb-tone--light .nmpb-btn--book:hover { background: #e6edf6; }
.nmpb-tone--light .nmpb-placecard .nmpb-btn--book, .nmpb-tone--light .nmpb-bookcard .nmpb-btn--book { background: var(--nmpb-book); color: #fff !important; }

/* Clinic pages */
.nmpb--clinic_header { padding: clamp(36px, 5vw, 60px) 0; }
.nmpb-clinichead { display: flex; flex-wrap: wrap; gap: 36px 48px; align-items: center; }
.nmpb-clinichead__copy { flex: 1 1 460px; min-width: 0; }
.nmpb-clinichead__copy h1 { max-width: 16ch; font-size: clamp(34px, 4.2vw, 52px); }
.nmpb-clinichead__copy .nmpb-lead { margin-top: 14px; }
.nmpb-clinichead__media { flex: 1 1 420px; min-width: 0; }
.nmpb-crumb { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; font-size: 14px; font-weight: 650; color: var(--nmpb-mute); }
.nmpb-crumb a { color: var(--nmpb-navy); text-underline-offset: 3px; }
.nmpb-clinicinfo { display: grid; gap: 10px; margin: 22px 0 6px !important; }
.nmpb-clinicinfo li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.nmpb-clinicinfo li > .nmpb-ico { flex: none; margin-top: 2px; color: var(--nmpb-navy); }
.nmpb-clinicinfo li > span { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.nmpb-clinicinfo a { font-weight: 650; text-underline-offset: 3px; }
.nmpb-clinichead .nmpb-actions { margin-top: 20px; }
.nmpb-clinichead .nmpb-bookcard__note { margin-top: 10px !important; }
.nmpb-clinicabout { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.nmpb-clinicabout__text { flex: 1 1 520px; min-width: 0; }
.nmpb-clinicabout__text .nmpb-prose { margin-top: 14px; color: #36475c; }
.nmpb-facts { flex: 0 1 360px; background: var(--nmpb-sky); border-radius: 16px; padding: 22px 24px; }
.nmpb-facts h3 { font-size: 18px; margin-bottom: 12px; }
.nmpb-facts li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid #d6e3f0; }
.nmpb-facts li:first-child { border-top: 0; }
.nmpb-facts svg { flex: none; margin-top: 3px; color: var(--nmpb-open); }
.nmpb-head__prose { margin-top: 10px; color: var(--nmpb-mute); }
.nmpb-clinicserves__map { margin: 0 0 22px; }
.nmpb-clinicserves__also { margin-top: 14px !important; color: var(--nmpb-mute); }
.nmpb-tone--light .nmpb-crumb, .nmpb-tone--light .nmpb-crumb a, .nmpb-tone--light .nmpb-clinicinfo li > .nmpb-ico { color: #fff; }
.nmpb-clinichead .nmpb-actions { gap: 8px; }
.nmpb-btn--compact { padding: 0 16px; }
/* Clinic header buttons: Book on its own row, Call + Directions side by side (same as the hero card) */
.nmpb-clinichead .nmpb-actions { display: grid; grid-template-columns: 1fr 1fr; max-width: 520px; }
.nmpb-clinichead .nmpb-actions .nmpb-btn--book { grid-column: 1 / -1; }

/* Service pages */
.nmpb-hero__img--spot { border-radius: 20px; background: var(--nmpb-sky); }
.nmpb-svcbody { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.nmpb-svcbody--text { grid-template-columns: minmax(0, 820px); }
.nmpb-svcbody__text .nmpb-prose { margin-top: 14px; color: #36475c; }
.nmpb-svcbody__text .nmpb-prose h2, .nmpb-svcbody__text .nmpb-prose h3 { margin-top: 1.4em; }
.nmpb-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: sticky; top: 110px; }
.nmpb-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
.nmpb-gallery--1 { grid-template-columns: 1fr; }
.nmpb-gallery--3 img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.nmpb-relsvc { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.nmpb-relsvc a { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 16px 18px; background: #fff; border: 1px solid var(--nmpb-line); border-radius: 14px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.nmpb-relsvc a:hover { border-color: #b9c9db; box-shadow: 0 10px 24px -18px rgba(24,49,85,.6); }
.nmpb-relsvc strong { color: var(--nmpb-navy); font-size: 16px; }
.nmpb-relsvc span { color: var(--nmpb-mute); font-size: 14px; line-height: 1.45; }
/* Provider profile */
.nmpb--provider_profile { padding: clamp(40px, 5vw, 64px) 0; }
.nmpb-profile { display: grid; grid-template-columns: minmax(220px, 380px) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.nmpb-profile__photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #e3ecf5; display: grid; place-items: center; box-shadow: 0 24px 50px -30px rgba(24,49,85,.5); }
.nmpb-profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.nmpb-profile__photo .nmpb-person__initials { font-size: 72px; font-weight: 800; color: var(--nmpb-navy); opacity: .5; letter-spacing: .02em; }
.nmpb-profile h1 { font-size: clamp(32px, 3.8vw, 46px); max-width: none; }
.nmpb-profile .nmpb-lead { margin-top: 6px; }
.nmpb-profile__spec { margin-top: 16px !important; }
.nmpb-profile__spec span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 650; color: var(--nmpb-navy); }
.nmpb-profile__bio { margin-top: 18px; color: #36475c; max-width: 64ch; }
.nmpb-profile .nmpb-areahead__label { margin-top: 26px !important; }
.nmpb-profile .nmpb-actions { margin-top: 0; }
.nmpb-placecard--compact { grid-template-columns: minmax(0, 1fr) auto; padding-left: 16px; }
/* Provider directory */
.nmpb-dirbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.nmpb-dirbar__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nmpb-filter { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--nmpb-line); background: #fff; color: var(--nmpb-navy); font: 650 15px var(--nmpb-font); cursor: pointer; }
.nmpb-filter:hover { border-color: var(--nmpb-navy); }
.nmpb-filter.is-on { background: var(--nmpb-navy); border-color: var(--nmpb-navy); color: #fff; }
.nmpb-dircount { margin: 14px 0 18px !important; font-size: 14px; color: var(--nmpb-mute); }
.nmpb-dir > li[hidden] { display: none; }
.nmpb-person--card { height: 100%; padding: 12px 12px 16px; box-sizing: border-box; background: #fff; border: 1px solid var(--nmpb-line); border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.nmpb-person--card:hover { border-color: #b9c9db; box-shadow: 0 14px 30px -22px rgba(24,49,85,.6); }
.nmpb-person__where { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 13px !important; }
.nmpb-person__cta { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px !important; color: var(--nmpb-navy) !important; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
	.nmpb-svcbody { grid-template-columns: 1fr; }
	.nmpb-gallery { position: static; }
	.nmpb-profile { grid-template-columns: 1fr; }
	.nmpb-profile__photo { max-width: 300px; }
}
.nmpb-dir { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.nmpb-dirbar .nmpb-areafilter { flex: 0 1 300px; }
.nmpb-person__where .nmpb-ico { flex: none; }

/* ===== Blog (2.2.0) ===== */
/* Post cards */
.nmpb-postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.nmpb-postcard { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--nmpb-line); border-radius: 18px; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.nmpb-postcard:hover { border-color: #b9c9db; box-shadow: 0 18px 36px -26px rgba(24,49,85,.6); transform: translateY(-2px); }
.nmpb-postcard__img { display: block; aspect-ratio: 16 / 10; background: var(--nmpb-sky); overflow: hidden; }
.nmpb-postcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nmpb-postcard:hover .nmpb-postcard__img img { transform: scale(1.03); }
.nmpb-postcard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
.nmpb-postcard__cat { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--nmpb-sky); font-size: 13px; font-weight: 700; letter-spacing: .01em; text-decoration: none; color: var(--nmpb-navy); }
.nmpb-postcard__cat:hover { background: #dfeaf6; }
.nmpb-postcard__title { font-size: 19px; line-height: 1.3; }
.nmpb-postcard__title a { text-decoration: none; color: var(--nmpb-navy); }
.nmpb-postcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nmpb-postcard__excerpt { color: var(--nmpb-mute); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nmpb-postcard__meta { margin-top: auto !important; padding-top: 6px; font-size: 13px; color: var(--nmpb-mute); }
.nmpb-bg--sky .nmpb-postcard { border-color: transparent; }
.nmpb-postlead { margin-bottom: 22px; }
.nmpb-postcard--featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.nmpb-postcard--featured .nmpb-postcard__img { aspect-ratio: auto; min-height: 320px; }
.nmpb-postcard--featured .nmpb-postcard__body { justify-content: center; padding: clamp(22px, 3vw, 40px); gap: 12px; }
.nmpb-postcard--featured .nmpb-postcard__title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; letter-spacing: -0.015em; }
.nmpb-postcard--featured .nmpb-postcard__excerpt { font-size: 17px; -webkit-line-clamp: 4; }
.nmpb-postcard--featured .nmpb-postcard__meta { margin-top: 4px !important; }

/* Blog index bar, pager, empty state */
.nmpb-blogbar { margin-bottom: 26px; }
.nmpb-blogbar + .nmpb-dircount { margin-top: -10px !important; }
.nmpb-blogbar .nmpb-filter { display: inline-flex; align-items: center; text-decoration: none; box-sizing: border-box; }
.nmpb-blogbar form { margin: 0; }
.nmpb-dircount a { margin-left: 8px; font-weight: 700; }
.nmpb-empty { padding: 36px 24px; text-align: center; border: 1.5px dashed var(--nmpb-line); border-radius: 16px; color: var(--nmpb-mute); }
.nmpb-pager { margin-top: 36px; }
.nmpb-pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nmpb-pager a, .nmpb-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; box-sizing: border-box; border-radius: 10px; border: 1.5px solid var(--nmpb-line); background: #fff; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--nmpb-navy); }
.nmpb-pager a:hover { border-color: var(--nmpb-navy); }
.nmpb-pager .current { background: var(--nmpb-navy); border-color: var(--nmpb-navy); color: #fff; }
.nmpb-pager .dots { border-color: transparent; background: none; }

/* Article header */
.nmpb--post_header { padding: clamp(36px, 5vw, 60px) 0 clamp(40px, 5vw, 64px); }
.nmpb-posthead { text-align: left; }
.nmpb-posthead > :not(.nmpb-posthead__img) { max-width: 820px; margin-left: auto; margin-right: auto; }
.nmpb-posthead h1 { max-width: 820px; font-size: clamp(32px, 4vw, 50px); line-height: 1.1; }
.nmpb-posthead .nmpb-lead { margin-top: 16px; max-width: 820px; font-size: clamp(18px, 1.6vw, 21px); }
.nmpb-postmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 22px; font-size: 15px; color: var(--nmpb-mute); }
.nmpb-postmeta > span { display: inline-flex; align-items: center; gap: 7px; }
.nmpb-postmeta strong { color: var(--nmpb-navy); }
.nmpb-postmeta__author { gap: 10px !important; }
.nmpb-postmeta__avatar { width: 40px; height: 40px; border-radius: 50%; display: block; }
.nmpb-postmeta .nmpb-ico { color: var(--nmpb-navy); }
.nmpb-posthead__img { margin: clamp(26px, 3.5vw, 40px) 0 0; }
.nmpb-posthead__img img { width: 100%; max-height: 560px; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 22px; display: block; box-shadow: 0 30px 60px -40px rgba(24,49,85,.55); }
.nmpb-posthead__img figcaption { margin-top: 10px; font-size: 14px; color: var(--nmpb-mute); text-align: center; }
.nmpb-tone--light .nmpb-postmeta, .nmpb-tone--light .nmpb-postmeta strong, .nmpb-tone--light .nmpb-postmeta .nmpb-ico { color: #fff; }

/* Article body */
.nmpb-article { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: center; gap: 40px 64px; align-items: start; }
.nmpb-article--solo { grid-template-columns: minmax(0, 760px); }
.nmpb-article__prose { font-size: 18px; line-height: 1.75; color: #2c3a4d; }
.nmpb-article__prose > * + * { margin-top: 1.1em; }
.nmpb-article__prose h2 { font-size: clamp(24px, 2.3vw, 30px); margin-top: 1.8em; scroll-margin-top: 110px; }
.nmpb-article__prose h3 { font-size: 21px; margin-top: 1.5em; scroll-margin-top: 110px; }
.nmpb-article__prose li + li { margin-top: .4em; }
.nmpb-article__prose a { font-weight: 650; text-underline-offset: 3px; }
.nmpb-article__prose img { border-radius: 14px; }
.nmpb-article__prose figure { margin-left: 0; margin-right: 0; }
.nmpb-article__prose figcaption { font-size: 14px; color: var(--nmpb-mute); margin-top: 8px; }
.nmpb-article__prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--nmpb-navy); background: var(--nmpb-sky); border-radius: 0 12px 12px 0; font-size: 19px; color: var(--nmpb-navy); }
.nmpb-article__prose blockquote p { margin: 0; }
.nmpb-article__prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.nmpb-article__prose th, .nmpb-article__prose td { padding: 10px 12px; border-bottom: 1px solid var(--nmpb-line); text-align: left; }
.nmpb-article__prose th { color: var(--nmpb-navy); }
.nmpb-article__tags { margin-top: 32px !important; }
.nmpb-article__note { margin-top: 28px !important; padding: 16px 18px; border-radius: 12px; background: var(--nmpb-sky); font-size: 14px; line-height: 1.55; color: var(--nmpb-mute); }
.nmpb-article__side { position: sticky; top: 110px; display: grid; gap: 18px; }

/* Table of contents */
.nmpb-toc ol { display: grid; gap: 2px; }
.nmpb-toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--nmpb-line); font-size: 15px; line-height: 1.4; text-decoration: none; color: var(--nmpb-mute); transition: color .15s, border-color .15s; }
.nmpb-toc a:hover, .nmpb-toc a.is-on { color: var(--nmpb-navy); border-left-color: var(--nmpb-navy); }
.nmpb-toc a.is-on { font-weight: 700; }
.nmpb-toc__l3 a { padding-left: 28px; font-size: 14px; }
.nmpb-toc__h { margin-bottom: 10px !important; font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--nmpb-navy); }
.nmpb-toc--inline { display: none; margin-bottom: 28px; border: 1px solid var(--nmpb-line); border-radius: 14px; background: #fff; }
.nmpb-article--solo .nmpb-toc--inline { display: block; }
.nmpb-toc--inline summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--nmpb-navy); }
.nmpb-toc--inline summary::-webkit-details-marker { display: none; }
.nmpb-toc--inline summary .nmpb-ico { transition: transform .2s; }
.nmpb-toc--inline[open] summary .nmpb-ico { transform: rotate(180deg); }
.nmpb-toc--inline ol { padding: 0 18px 14px; }

/* Side card + share */
.nmpb-sidecard { display: grid; gap: 10px; padding: 22px; border-radius: 18px; background: var(--nmpb-navy); color: #dce6f3; }
.nmpb-sidecard__h { font-size: 20px; font-weight: 750; color: #fff; line-height: 1.25; }
.nmpb-sidecard p:not(.nmpb-sidecard__h) { font-size: 15px; line-height: 1.5; margin-bottom: 4px; }
.nmpb-sidecard .nmpb-btn { width: 100%; }
.nmpb-sidecard .nmpb-btn--book { background: #fff; color: var(--nmpb-navy) !important; }
.nmpb-sidecard .nmpb-btn--book:hover { background: #e8f0f9; }
.nmpb-sidecard .nmpb-btn--line { background: transparent; border-color: rgba(255,255,255,.4); color: #fff !important; }
.nmpb-sidecard .nmpb-btn--line:hover { border-color: #fff; }
.nmpb-share__row { display: flex; flex-wrap: wrap; gap: 6px; }
.nmpb-share__btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--nmpb-line); background: #fff; font: 650 14px var(--nmpb-font); color: var(--nmpb-navy); text-decoration: none; cursor: pointer; }
.nmpb-share__btn:hover { border-color: var(--nmpb-navy); }
.nmpb-share__btn.is-done { background: var(--nmpb-open); border-color: var(--nmpb-open); color: #fff; }

@media (max-width: 1020px) {
	.nmpb-article { grid-template-columns: minmax(0, 760px); }
	.nmpb-article .nmpb-toc--inline { display: block; }
	.nmpb-article__side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px; width: 100%; margin: 0 auto; }
	.nmpb-toc--side { display: none; }
}
@media (max-width: 760px) {
	.nmpb-postcard--featured { grid-template-columns: 1fr; }
	.nmpb-postcard--featured .nmpb-postcard__img { min-height: 0; aspect-ratio: 16 / 10; }
	.nmpb-posthead__img img { aspect-ratio: 16 / 10; border-radius: 16px; }
	.nmpb-article__prose { font-size: 17px; }
	.nmpb-blogbar .nmpb-dirbar__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * clamp(18px, 4vw, 32px)); padding: 2px clamp(18px, 4vw, 32px); scrollbar-width: none; }
	.nmpb-blogbar .nmpb-filter { flex: none; }
	.nmpb-blogbar .nmpb-areafilter { flex: 1 1 100%; }
}
.nmpb-postcard__meta { display: flex; flex-wrap: wrap; gap: 6px; }
/* Line the article header up with the article column (text + side panel grid). */
.nmpb-posthead > :not(.nmpb-posthead__img) { max-width: 1124px; }
.nmpb-posthead h1, .nmpb-posthead .nmpb-lead { max-width: 1124px; box-sizing: border-box; }
@media (min-width: 1021px) { .nmpb-posthead h1, .nmpb-posthead .nmpb-lead { padding-right: 364px; } }

/* ===== Legal / policy pages (2.3.0) ===== */
.nmpb-legal-page .nmpb--page_header { padding: clamp(40px, 5vw, 64px) 0 clamp(34px, 4vw, 48px); }
.nmpb-legal-page .nmpb-pagehead { max-width: 820px; }
.nmpb-legal-page .nmpb-pagehead h1 { max-width: none; font-size: clamp(30px, 3.6vw, 44px); }
.nmpb--legal_body { padding-top: clamp(36px, 4.5vw, 56px); }
.nmpb-legal__updated { margin-bottom: 26px !important; padding-bottom: 18px; border-bottom: 1px solid var(--nmpb-line); font-size: 14px; font-weight: 650; color: var(--nmpb-mute); }
.nmpb-legal__text { font-size: 17px; line-height: 1.75; color: #2c3a4d; overflow-wrap: anywhere; }
.nmpb-legal__text > * + * { margin-top: 1em; }
.nmpb-legal__text h2 { font-size: clamp(22px, 2vw, 26px); line-height: 1.25; letter-spacing: -0.01em; margin-top: 2em; scroll-margin-top: 110px; }
.nmpb-legal__text h3 { font-size: 19px; margin-top: 1.6em; }
.nmpb-legal__text h2 + *, .nmpb-legal__text h3 + * { margin-top: .6em; }
.nmpb-legal__text a { font-weight: 650; text-underline-offset: 3px; }
.nmpb-legal__text strong { color: var(--nmpb-navy); }
.nmpb-legal__text ul { list-style: disc; padding-left: 1.3em; }
.nmpb-legal__text ol { list-style: decimal; padding-left: 1.3em; }
.nmpb-legal__text li + li { margin-top: .35em; }
.nmpb-legal__text #sms-communications-and-privacy { padding-top: 28px; border-top: 1px solid var(--nmpb-line); }
.nmpb-legal__contact { margin-top: 48px; padding: 24px; border-radius: 16px; background: var(--nmpb-sky); }
.nmpb-legal__contact-h { font-size: 19px; font-weight: 750; color: var(--nmpb-navy); }
.nmpb-legal__contact > p:not(.nmpb-legal__contact-h) { margin-top: 4px; color: var(--nmpb-mute); font-size: 15px; }
.nmpb-legal__contact > p a { font-weight: 700; text-underline-offset: 3px; }
.nmpb-legal__contact ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.nmpb-legal__contact li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: #fff; font-size: 14px; color: var(--nmpb-mute); }
.nmpb-legal__contact li strong { font-size: 16px; color: var(--nmpb-navy); }
.nmpb-legal__contact li a { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; text-underline-offset: 3px; }
/* SMS consent checkbox ([newmed_sms_consent]) */
.nmpb-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--nmpb-mute, #4f5d70); }
.nmpb-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--nmpb-navy, #183155); }
.nmpb-consent a { font-weight: 650; color: var(--nmpb-navy, #183155); }
