/*
 * Lewis Pain child theme.
 * Design system: Albert Sans only, logo-teal palette, squared 2px buttons, real photos.
 * Header, menu bar, booking chooser, mobile action bar and footer follow
 * mockups/homepage-v4 (locked in docs/design-direction.md and docs/homepage-handoff.md).
 * Page intros open in the homepage hero's deep green, and cards sit on soft shadows
 * instead of hairline borders (visual polish, header A, approved by Josh 2026-10-22).
 * 0.3.0 (staging review handoff, 2026-10-23): one neutral soft-white light surface
 * (no mint or cream bands), white cards with a fine green-gray border and softer
 * shadows, soft-white primary and outlined secondary buttons on dark surfaces,
 * tighter phone spacing, compact article lists, and calmer clinical sidebars.
 * Every class is prefixed lp- so nothing collides with Blocksy's own styles.
 */

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/albert-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/albert-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --lp-ink: #13201c;
  --lp-ink-2: #34443f;
  --lp-muted: #56655f;
  --lp-paper: #fbfbf9;
  --lp-mist: #f1f3f1;
  --lp-mist-deep: #e5ebe8;
  --lp-spruce: #1a3d36;
  --lp-stuck: #132f2a;
  --lp-night: #10251f;
  --lp-teal: #0f8c75;
  --lp-teal-deep: #0b6f5d;
  --lp-slate: #3a6a60;
  --lp-mint: #d1e6e1;
  --lp-line: #e1e8e4;
  --lp-card-line: #e2e8e4;
  --lp-line-2: #c9d3ce;
  --lp-bone: #f3f1eb;
  --lp-line-dark: #45635b;
  /* Soft depth for cards, and a deeper one for hovered or raised cards. */
  --lp-shadow-1: 0 1px 2px rgba(16, 37, 31, .04), 0 4px 14px -8px rgba(16, 37, 31, .12);
  --lp-shadow-2: 0 2px 6px rgba(16, 37, 31, .05), 0 18px 36px -22px rgba(16, 37, 31, .26);
  /* The homepage hero's deep green, lit from the top right: page intros and the dark cards. */
  --lp-deep: radial-gradient(110% 130% at 100% 0%, #2c5649 0%, rgba(44, 86, 73, 0) 58%), linear-gradient(115deg, #25493f 0%, #20433a 48%, #1b3b33 100%);
  --lp-font: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --lp-wrap: 1240px;
  --lp-gutter: clamp(20px, 4vw, 40px);
  --lp-space: clamp(40px, 6vw, 80px);
  --lp-sticky-top: 64px;

  /* Blocksy's own variables, so block content and forms follow the same system. */
  --theme-font-family: var(--lp-font);
  --theme-text-color: var(--lp-ink);
  --theme-link-initial-color: var(--lp-teal-deep);
  --theme-link-hover-color: var(--lp-spruce);
  --theme-headings-color: var(--lp-spruce);
  --theme-heading-color: var(--lp-spruce);
  --theme-border-color: var(--lp-line);
  --theme-palette-color-1: var(--lp-teal-deep);
  --theme-palette-color-2: var(--lp-spruce);
  --theme-palette-color-3: var(--lp-muted);
  --theme-palette-color-4: var(--lp-ink);
  --theme-palette-color-5: var(--lp-line);
  --theme-palette-color-6: var(--lp-mist);
  --theme-palette-color-7: var(--lp-paper);
  --theme-palette-color-8: #ffffff;
  --theme-button-background-initial-color: var(--lp-teal-deep);
  --theme-button-background-hover-color: var(--lp-spruce);
  --theme-button-text-initial-color: #ffffff;
  --theme-button-text-hover-color: #ffffff;
  --theme-button-border-radius: 2px;
  --theme-button-min-height: 48px;
  --theme-form-field-border-radius: 2px;
  --theme-form-field-border-initial-color: #a9b8b2;
  --theme-form-field-border-focus-color: var(--lp-teal);
  color-scheme: light;
}

/* ---------- Base ---------- */
.lp [hidden] { display: none !important; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.lp {
  margin: 0;
  background: var(--lp-paper);
  color: var(--lp-ink);
  font-family: var(--lp-font);
  font-size: 17px;
  line-height: 1.6;
}
body.lp-modal-open { overflow: hidden; }
.lp :where(a, button) { -webkit-tap-highlight-color: transparent; }
/* Links: a quiet underline that firms up on hover. */
.lp :where(a) { color: var(--lp-teal-deep); text-decoration-thickness: 1px; text-decoration-color: rgba(11, 111, 93, .38); text-underline-offset: .24em; transition: color .15s, text-decoration-color .15s; }
.lp :where(a:hover) { color: var(--lp-spruce); text-decoration-color: currentColor; }
.lp :where(a[href^="tel:"]) { white-space: nowrap; }
.lp :where(button, a, summary, input, select, textarea):focus-visible { outline: 3px solid var(--lp-teal); outline-offset: 4px; }
.lp :where(.lp-navbar, .lp-footer, .lp-action-bar, .lp-intro, .lp-cta-card) :focus-visible { outline-color: var(--lp-mint); }
.lp :where(h1, h2, h3, h4) { font-family: var(--lp-font); font-weight: 650; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.lp-icon { width: 20px; height: 20px; flex: none; }
.lp-wrap { width: 100%; max-width: var(--lp-wrap); margin-inline: auto; padding-inline: var(--lp-gutter); }
.lp-wrap.lp-narrow { max-width: calc(780px + 2 * var(--lp-gutter)); }
.lp-section { padding-block: var(--lp-space); }
/* One neutral light surface: a "tinted" section is the same soft white, set off by a divider. */
.lp-section-tint { background: var(--lp-paper); border-top: 1px solid var(--lp-line); }
/* Small label above a title, led by a short rule as on the homepage. */
.lp-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 12.5px; font-weight: 650; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; color: var(--lp-teal-deep); }
.lp-eyebrow::before { content: ""; flex: none; width: 24px; height: 1.5px; background: currentColor; opacity: .7; }
.lp-card .lp-eyebrow::before { content: none; }
.lp-lead { margin: 18px 0 0; max-width: 58ch; color: var(--lp-ink-2); font-size: 19.5px; line-height: 1.6; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.lp-text-link .lp-icon { width: 18px; height: 18px; transition: transform .15s; }
.lp-text-link:hover .lp-icon { transform: translateX(3px); }
.lp-text-button { padding: 4px 0; border: 0; background: none; color: var(--lp-teal-deep); font: inherit; font-weight: 600; text-align: left; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(11, 111, 93, .38); text-underline-offset: .24em; cursor: pointer; transition: color .15s, text-decoration-color .15s; }
.lp-text-button:hover { color: var(--lp-spruce); text-decoration-color: currentColor; }
/* Phone numbers and credentials (FNP-C) never split across lines (inc/typesetting.php). */
.lp-nowrap { white-space: nowrap; }

/* Squared 2px buttons throughout. Filled green uses the darker teal for readable white text. */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 13px 24px;
  border: 1px solid transparent; border-radius: 2px;
  background: var(--lp-teal-deep); color: #fff;
  box-shadow: 0 8px 18px -14px rgba(11, 111, 93, .8);
  font: inherit; font-size: 15.5px; font-weight: 650; letter-spacing: .005em; line-height: 1.3;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.lp .lp-btn:hover { background: var(--lp-spruce); color: #fff; text-decoration: none; transform: translateY(-1px); }
.lp .lp-btn-outline { background: transparent; color: var(--lp-spruce); border-color: rgba(26, 61, 54, .38); box-shadow: none; }
.lp .lp-btn-outline:hover { background: #fff; color: var(--lp-spruce); border-color: var(--lp-spruce); }
.lp .lp-btn-light { background: #eff5f4; color: var(--lp-spruce); box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .7); }
.lp .lp-btn-light:hover { background: #fff; color: var(--lp-spruce); }
/* On dark surfaces the primary button is soft white (lp-btn-light) and the secondary one, including Call,
   is outlined in light green-gray. */
.lp .lp-btn-on-dark { background: transparent; border-color: rgba(222, 234, 229, .62); color: #fff; box-shadow: none; }
.lp .lp-btn-on-dark:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.lp-btn-block { width: 100%; }

/* ---------- Header and menu bar ---------- */
.lp-header { position: sticky; top: -86px; z-index: 30; background: #fff; }
.admin-bar .lp-header { top: -54px; }
.lp-masthead { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lp-logo { display: block; flex: none; }
.lp-logo img { display: block; width: 230px; height: auto; }
.lp-header-actions { display: flex; gap: 24px; align-items: center; }
.lp-masthead .lp-btn { min-height: 48px; padding: 11px 20px; font-size: 15px; }
.lp .lp-header-phone { display: flex; flex-direction: column; align-items: flex-end; color: var(--lp-ink); font-size: 17px; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.lp .lp-header-phone small { color: var(--lp-muted); font-size: 12px; font-weight: 500; }
.lp .lp-header-phone:hover { color: var(--lp-teal-deep); }
.lp .lp-header-portal { background: #edf0ef; border-color: #edf0ef; color: var(--lp-spruce); }
.lp .lp-header-portal:hover { background: #e3e8e6; border-color: #e3e8e6; color: var(--lp-spruce); }
.lp-menu-toggle { display: none; gap: 8px; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--lp-line-2); border-radius: 2px; background: #fff; color: var(--lp-spruce); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.lp-navbar { background: var(--lp-spruce); color: #fff; transition: background-color .2s; }
.lp-header.is-stuck .lp-navbar { background: var(--lp-stuck); }
.lp-navbar > .lp-wrap { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; }
.lp-menu { display: flex; align-items: center; gap: clamp(22px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.lp-menu > li { position: relative; margin: 0; }
.lp .lp-nav-item {
  display: flex; align-items: center; gap: 5px;
  min-height: 52px; padding: 12px 0;
  border: 0; background: none; color: #fff;
  font: inherit; font-size: 14.5px; font-weight: 500; line-height: 1.3;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
/* Every item looks the same (matches homepage v5): even gaps, no underline, and no drop-down arrows on
   wide screens; drop-downs open on hover, click or Enter. Hover and an open drop-down turn the label mint. */
.lp-nav-item svg { display: none; width: 12px; height: 12px; flex: none; transition: transform .15s; }
.lp-nav-item[aria-expanded="true"] svg { transform: rotate(180deg); }
.lp .lp-nav-item:hover, .lp .lp-nav-item[aria-expanded="true"] { color: var(--lp-mint); text-decoration: none; }
.lp-menu-portal { display: none; }
.lp .lp-nav-book { position: absolute; top: 50%; right: var(--lp-gutter); translate: 0 -50%; min-height: 36px; padding: 8px 15px; background: #eff5f4; box-shadow: none; color: var(--lp-spruce); font-size: 14px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.lp-header.is-stuck .lp-nav-book { opacity: 1; visibility: visible; }
.lp .lp-nav-book:hover { background: #fff; color: var(--lp-spruce); transform: none; }
.lp-submenu { position: absolute; top: 100%; left: -20px; z-index: 2; min-width: 250px; margin: 0; padding: 10px 0; list-style: none; background: #fff; border-top: 3px solid var(--lp-teal); box-shadow: 0 16px 30px #10251f26; }
.lp-submenu li { margin: 0; }
.lp .lp-submenu :is(a, button) { display: block; width: 100%; padding: 10px 20px; border: 0; background: none; color: var(--lp-ink); font: inherit; font-size: 15px; line-height: 1.4; text-align: left; text-decoration: none; cursor: pointer; }
.lp .lp-submenu :is(a, button):hover { background: var(--lp-mist); color: var(--lp-spruce); }
.lp .lp-submenu a[aria-current="page"] { color: var(--lp-teal-deep); font-weight: 600; }
.lp-submenu .lp-sub-divider { margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--lp-line); }

/* ---------- Page intro ---------- */
/* Deep green like the homepage hero, with light text and the hero's light and dark buttons. */
.lp-intro { padding-block: clamp(20px, 3vw, 30px) clamp(40px, 5vw, 64px); background: var(--lp-deep); border-top: 1px solid #2c5248; color: #e7efeb; }
.lp-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; color: #b5ccc4; }
.lp-breadcrumb li { margin: 0; }
.lp-breadcrumb li + li::before { content: "/"; margin-inline: 10px; color: #6f8f85; }
.lp .lp-breadcrumb a { color: #c9dad4; text-decoration: none; }
.lp .lp-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.lp-intro-body { max-width: 820px; margin-top: clamp(22px, 3vw, 36px); }
.lp-intro .lp-eyebrow { color: var(--lp-mint); }
.lp .lp-intro-title { margin: 0; color: #fff; font-size: clamp(38px, 4.6vw, 58px); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; }
.lp-intro .lp-lead { color: #dde8e4; }
.lp-intro .lp-actions { margin-top: 28px; }
.lp .lp-intro .lp-btn { background: #eff5f4; border-color: #eff5f4; color: var(--lp-spruce); box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .7); }
.lp .lp-intro .lp-btn:hover { background: #fff; border-color: #fff; color: var(--lp-spruce); }
.lp .lp-intro .lp-btn-outline { background: transparent; border-color: rgba(222, 234, 229, .62); color: #fff; box-shadow: none; }
.lp .lp-intro .lp-btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.lp-intro-meta { margin-top: 18px; color: #c2d5ce; font-size: 15px; }
.lp-reviewed { display: block; }
.lp-intro-meta time + .lp-reviewed { margin-top: 4px; }
.lp .lp-intro .lp-reviewed a { color: #fff; text-decoration: underline; text-decoration-color: rgba(209, 230, 225, .55); }
.lp .lp-intro .lp-reviewed a:hover { text-decoration-color: currentColor; }
.lp-intro-quiet .lp-intro-title { font-size: clamp(32px, 3.8vw, 46px); }

/* Review card on condition and treatment pages: Dr. Lewis's review and the two buttons.
   Beside the title on wide screens, in line with the sidebar below; under the lead otherwise. */
.lp-intro-card { max-width: 480px; margin-top: 30px; padding: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(209, 230, 225, .16); border-radius: 2px; box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .5); }
.lp-reviewer { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(209, 230, 225, .16); color: #c4d6cf; font-size: 14px; line-height: 1.45; }
.lp-reviewer img { display: block; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(209, 230, 225, .35); }
.lp-reviewer small { display: block; margin-bottom: 2px; color: var(--lp-mint); font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.lp-reviewer b { display: block; color: #fff; font-size: 15.5px; font-weight: 650; }
.lp .lp-reviewer a { color: #fff; text-decoration-color: rgba(209, 230, 225, .45); }
.lp .lp-reviewer a:hover { text-decoration-color: currentColor; }
.lp-reviewer time { display: block; }
.lp-intro .lp-intro-card .lp-actions { display: grid; gap: 10px; margin-top: 0; }
@media (min-width: 901px) {
  .lp-intro-has-card .lp-intro-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto auto 1fr; column-gap: clamp(40px, 6vw, 88px); align-items: start; max-width: none; }
  .lp-intro-has-card .lp-intro-body > :not(.lp-intro-card) { grid-column: 1; max-width: 760px; }
  .lp-intro-has-card .lp-intro-card { grid-column: 2; grid-row: 2 / span 2; max-width: none; margin-top: 6px; }
}

/* Provider intro: text beside the portrait, with the dark name plate under the photo. */
.lp-provider-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); grid-template-areas: "head photo" "body photo"; column-gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: clamp(22px, 3vw, 36px); }
.lp-provider-grid-solo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
.lp-provider-head { grid-area: head; align-self: end; }
.lp-provider-body { grid-area: body; align-self: start; }
.lp-provider-grid .lp-portrait { grid-area: photo; }
.lp-provider-body .lp-actions { margin-top: 28px; }
.lp-role { margin: 12px 0 0; color: var(--lp-mint); font-size: 17px; font-weight: 600; }
.lp-portrait { margin: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75); }
.lp-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.lp-name-plate { padding: 14px 18px; background: var(--lp-night); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center; }
.lp-name-plate span:not(.lp-nowrap) { display: block; color: #bdcfc9; font-size: 12.5px; font-weight: 400; }

/* ---------- Content with sidebar ---------- */
.lp-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); align-items: start; padding-block: var(--lp-space); }
.lp-article { min-width: 0; }
.lp-aside { position: sticky; top: calc(var(--lp-sticky-top) + 20px); display: grid; gap: 24px; }
/* Sidebar contact card: light and compact, so the reading column stays the main thing on the page. */
.lp-side-card { padding: 22px 22px 18px; background: #fff; color: var(--lp-muted); border: 1px solid var(--lp-card-line); border-top: 3px solid var(--lp-spruce); border-radius: 2px; box-shadow: var(--lp-shadow-1); }
.lp .lp-side-card h2 { margin: 0 0 6px; color: var(--lp-spruce); font-size: 19px; letter-spacing: -.02em; }
.lp-side-card p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.lp .lp-side-card .lp-btn { min-height: 48px; }
.lp .lp-side-phone { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 14px; color: var(--lp-spruce); font-size: 19px; font-weight: 650; text-decoration: none; }
.lp .lp-side-phone:hover { color: var(--lp-teal-deep); text-decoration: underline; }
.lp .lp-side-card .lp-hours { color: var(--lp-muted); border-top: 1px solid var(--lp-line); font-size: 14.5px; }
.lp .lp-side-card .lp-hours :is(th, td) { padding-top: 10px; }
.lp-side-list { padding: 22px 22px 18px; background: #fff; border: 1px solid var(--lp-card-line); border-radius: 2px; box-shadow: var(--lp-shadow-1); }
.lp .lp-side-list h2 { margin: 0 0 8px; color: var(--lp-teal-deep); font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.lp-side-list ul { margin: 0 -12px 14px; padding: 0; list-style: none; }
.lp-side-list li { margin: 0; border-bottom: 1px solid #edf1ef; }
.lp .lp-side-list li a { display: block; padding: 10px 12px; border-radius: 2px; color: var(--lp-ink); font-size: 15px; line-height: 1.4; text-decoration: none; }
.lp .lp-side-list li a:hover { background: #f1f6f3; color: var(--lp-spruce); }
.lp .lp-side-list li a[aria-current="page"] { background: #f1f4f2; color: var(--lp-spruce); font-weight: 600; box-shadow: inset 3px 0 var(--lp-teal); }
/* "Explore other treatments": the same list after the closing call to action on phones and tablets. */
.lp-more-list { display: none; }
.lp-side-list .lp-text-link { margin: 4px 0 0; font-size: 15px; }

/* ---------- Hours and addresses ---------- */
.lp-address { margin: 0; color: var(--lp-muted); font-style: normal; }
.lp .lp-hours { width: 100%; margin: 0; border: 0; border-collapse: collapse; color: var(--lp-muted); font-size: 15px; }
.lp .lp-hours th { padding: 0 16px 6px 0; border: 0; background: none; font-weight: 400; text-align: left; }
.lp .lp-hours td { padding: 0 0 6px; border: 0; text-align: right; white-space: nowrap; }

/* ---------- Article typography (block content) ---------- */
.lp-prose { font-size: 18px; line-height: 1.75; color: #1d2a26; }
.lp-prose.entry-content > * { margin-block: 0; }
.lp-prose.entry-content > * + * { margin-top: 1.1em; }
.lp .lp-prose :is(h2, h3, h4) { color: var(--lp-spruce); font-weight: 650; }
.lp .lp-prose h2 { font-size: clamp(26px, 2.4vw, 31px); letter-spacing: -.028em; line-height: 1.15; }
.lp .lp-prose h3 { font-size: 22px; letter-spacing: -.02em; }
.lp .lp-prose h4 { font-size: 18px; letter-spacing: -.01em; }
.lp-prose.entry-content > h2 { margin-top: 2.1em; }
/* A short teal rule over each section heading. */
.lp-prose.entry-content > h2::before, .lp-prose .lp-faq > h2::before { content: ""; display: block; width: 34px; height: 2px; margin-bottom: 18px; background: var(--lp-teal); }
.lp-prose.entry-content > :is(h3, h4) { margin-top: 1.5em; }
.lp-prose.entry-content > :is(h2, h3, h4) + * { margin-top: .55em; }
.lp-prose.entry-content > :first-child { margin-top: 0; }
/* The Questions and answers group spaces like a top-level section. */
.lp-prose.entry-content > .lp-faq { margin-top: calc(2.1 * clamp(26px, 2.4vw, 31px)); }
.lp-prose .lp-faq > * { margin-block: 0; }
.lp-prose li + li { margin-top: .4em; }
.lp-prose strong { color: var(--lp-spruce); font-weight: 650; }
.lp-prose a { font-weight: 560; }
.lp-prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--lp-teal); color: var(--lp-spruce); font-size: 20px; }
.lp-prose figcaption, .lp-prose .wp-element-caption { margin-top: 10px; color: var(--lp-muted); font-size: 14px; }
.lp-prose img { height: auto; }
.lp-prose hr { border: 0; border-top: 1px solid var(--lp-line); }
.lp-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.lp-prose :is(th, td) { padding: 10px 12px; border: 1px solid var(--lp-line); text-align: left; vertical-align: top; }
.lp-prose thead th { background: var(--lp-mist); color: var(--lp-spruce); }
/* Buttons in page content ("[Label](url){.button}" in the copy): the site's filled and outlined buttons. */
.lp-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-prose .wp-block-button { margin: 0; }
.lp .lp-prose .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border: 1px solid var(--lp-teal-deep); border-radius: 2px; background: var(--lp-teal-deep); box-shadow: 0 8px 18px -14px rgba(11, 111, 93, .8); color: #fff; font-size: 15.5px; font-weight: 650; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.lp .lp-prose .wp-block-button__link:hover { background: var(--lp-spruce); border-color: var(--lp-spruce); color: #fff; }
.lp .lp-prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--lp-spruce); border: 1px solid rgba(26, 61, 54, .38); box-shadow: none; }
.lp .lp-prose .is-style-outline .wp-block-button__link:hover { background: #fff; border-color: var(--lp-spruce); color: var(--lp-spruce); }
.lp-prose.entry-content > .wp-block-buttons { margin-top: 1.4em; }
.lp-prose.entry-content > .wp-block-buttons:first-child { margin-top: 0; }

/* Bullets are small teal dots and numbered steps sit in dark circles, as on the homepage.
   inc/typesetting.php gives these lists role="list", which Safari drops once list markers are removed. */
.lp-prose ul:not(.lp-link-grid, .lp-link-rows, .lp-link-list, .lp-checklist) { padding-left: 0; list-style: none; }
.lp-prose ul:not(.lp-link-grid, .lp-link-rows, .lp-link-list, .lp-checklist) > li { position: relative; padding-left: 26px; }
.lp-prose ul:not(.lp-link-grid, .lp-link-rows, .lp-link-list, .lp-checklist) > li::before { content: ""; position: absolute; left: 3px; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--lp-teal); }
/* Checklist ("{.lp-checklist}" before a list in the copy): short items in a compact card with check marks. */
.lp-prose ul.lp-checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px 24px; padding: 18px 20px; list-style: none; background: #fff; border: 1px solid var(--lp-card-line); border-radius: 2px; }
.lp-prose ul.lp-checklist > li { position: relative; margin: 0; padding-left: 30px; font-size: 16.5px; line-height: 1.45; }
.lp-prose ul.lp-checklist > li::before { content: ""; position: absolute; left: 4px; top: .2em; width: 6px; height: 11px; border-right: 2px solid var(--lp-teal-deep); border-bottom: 2px solid var(--lp-teal-deep); transform: rotate(45deg); }
.lp-prose ol { counter-reset: lp-step; padding: 0; list-style: none; }
.lp-prose ol > li { position: relative; min-height: 32px; padding-left: 48px; counter-increment: lp-step; }
.lp-prose ol > li + li { margin-top: 14px; }
.lp-prose ol.lp-steps > li + li { margin-top: 18px; }
.lp-prose ol > li::before { content: counter(lp-step); position: absolute; left: 0; top: .1em; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lp-spruce); color: #fff; font-size: 14px; font-weight: 650; line-height: 1; }

/* Link lists (inc/typesetting.php). Lists that are only links, such as the hub pages and the
   articles topic list, become tiles; lists of "link, then a short description" become rows. */
.lp-prose ul.lp-link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; padding: 0; list-style: none; }
.lp-prose ul.lp-link-grid > li { margin: 0; padding: 0; }
.lp .lp-prose .lp-link-grid a { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%; padding: 15px 18px; background: #fff; border: 1px solid var(--lp-card-line); border-radius: 2px; box-shadow: var(--lp-shadow-1); color: var(--lp-spruce); font-size: 16.5px; font-weight: 600; line-height: 1.35; text-decoration: none; transition: box-shadow .15s, color .15s, transform .15s; }
.lp .lp-prose .lp-link-grid a::after { content: "\2192"; flex: none; color: var(--lp-teal-deep); transition: transform .15s; }
.lp .lp-prose .lp-link-grid a:hover { box-shadow: var(--lp-shadow-2); color: var(--lp-teal-deep); transform: translateY(-1px); }
.lp .lp-prose .lp-link-grid a:hover::after { transform: translateX(3px); }
/* An item with words beyond its link spans the row. */
.lp-prose ul.lp-link-grid > li.lp-wide { position: relative; grid-column: 1 / -1; padding: 15px 18px; background: #fff; border: 1px solid var(--lp-card-line); border-radius: 2px; box-shadow: var(--lp-shadow-1); color: var(--lp-muted); font-size: 15.5px; line-height: 1.5; transition: box-shadow .15s; }
.lp .lp-prose .lp-link-grid > li.lp-wide a { display: inline; padding: 0; background: none; box-shadow: none; font-size: 16.5px; }
.lp .lp-prose .lp-link-grid > li.lp-wide a::after { content: none; }
.lp .lp-prose .lp-link-grid > li.lp-wide a:hover { box-shadow: none; text-decoration: underline; transform: none; }
.lp-prose ul.lp-link-rows { display: grid; gap: 10px; padding: 0; list-style: none; }
.lp-prose ul.lp-link-rows > li { position: relative; margin: 0; padding: 16px 20px; background: #fff; border: 1px solid var(--lp-card-line); border-radius: 2px; box-shadow: var(--lp-shadow-1); color: var(--lp-muted); font-size: 16px; line-height: 1.55; transition: box-shadow .15s; }
.lp .lp-prose .lp-link-rows > li a { color: var(--lp-spruce); font-weight: 650; text-decoration-color: rgba(26, 61, 54, .3); }
.lp .lp-prose .lp-link-rows > li a:hover { color: var(--lp-teal-deep); text-decoration-color: currentColor; }
.lp-prose ul.lp-link-rows strong { color: inherit; font-weight: inherit; }
/* An item without a link: its term prints like the links beside it. */
.lp-prose :is(ul.lp-link-grid, ul.lp-link-rows) .lp-term { color: var(--lp-spruce); font-weight: 650; }
/* An item with one link is clickable as a whole and ends in an arrow. */
.lp-prose :is(ul.lp-link-grid, ul.lp-link-rows) > li.lp-one-link { padding-right: 52px; }
.lp .lp-prose :is(.lp-link-grid, .lp-link-rows) > li.lp-one-link a::before { content: ""; position: absolute; inset: 0; }
.lp-prose :is(ul.lp-link-grid, ul.lp-link-rows) > li.lp-one-link::after { content: "\2192"; position: absolute; top: 50%; right: 20px; translate: 0 -50%; color: var(--lp-teal-deep); font-weight: 600; transition: translate .15s; }
.lp-prose :is(ul.lp-link-grid, ul.lp-link-rows) > li.lp-one-link:hover { box-shadow: var(--lp-shadow-2); }
.lp-prose :is(ul.lp-link-grid, ul.lp-link-rows) > li.lp-one-link:hover::after { translate: 3px -50%; }

/* Questions and answers use the core Details block. */
.lp-prose details { margin-top: 0; border-bottom: 1px solid var(--lp-line-2); }
.lp-prose :is(.entry-content, .lp-faq) > details { margin-top: 0; }
.lp-prose :is(.entry-content, .lp-faq) > :not(details) + details { margin-top: 1.1em; border-top: 1px solid var(--lp-line-2); }
.lp-prose summary { position: relative; margin: 0; padding: 18px 40px 18px 0; color: var(--lp-spruce); font-size: 18px; font-weight: 620; line-height: 1.4; list-style: none; cursor: pointer; }
.lp-prose summary::-webkit-details-marker { display: none; }
.lp-prose summary::after { content: ""; position: absolute; top: 50%; right: 6px; width: 10px; height: 10px; margin-top: -7px; border-right: 1.75px solid var(--lp-teal-deep); border-bottom: 1.75px solid var(--lp-teal-deep); transform: rotate(45deg); transition: transform .2s, margin-top .2s; }
.lp-prose details[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.lp-prose summary:hover { color: var(--lp-teal-deep); }
.lp-prose details > :not(summary) { margin: 0 0 18px; color: var(--lp-muted); font-size: 17px; }

/* Urgent-care guidance (inc/typesetting.php): a restrained, readable callout; the words are unchanged. */
.lp-prose p.lp-urgent { position: relative; padding: 16px 20px 16px 54px; background: #fff; border: 1px solid var(--lp-card-line); border-left: 3px solid var(--lp-spruce); border-radius: 2px; color: var(--lp-ink); font-size: 17px; line-height: 1.6; }
.lp-prose p.lp-urgent::before { content: "!"; position: absolute; left: 18px; top: 17px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-spruce); color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1; }

/* Block styles offered by the theme's patterns. */
.lp-prose .lp-callout { padding: 22px 26px; background: #fff; border: 1px solid var(--lp-card-line); border-left: 3px solid var(--lp-teal); }
.lp-prose .lp-callout > * + * { margin-top: .6em; }
.lp-prose .lp-callout > :first-child { margin-top: 0; }
.lp .lp-prose .lp-callout :is(h2, h3) { margin-top: 0; font-size: 20px; }
.lp-prose ul.lp-link-list, ul.lp-link-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--lp-line-2); }
.lp-link-list > li { margin: 0; border-bottom: 1px solid var(--lp-line-2); }
.lp .lp-link-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; color: var(--lp-spruce); font-weight: 600; text-decoration: none; }
.lp .lp-link-list a::after { content: "\2192"; color: var(--lp-teal-deep); transition: transform .15s; }
.lp .lp-link-list a:hover { color: var(--lp-teal-deep); }
.lp .lp-link-list a:hover::after { transform: translateX(3px); }

/* Article byline ("By Jerry W. Lewis, MD", inc/typesetting.php), with his photo. */
/* The byline carries the dates and the review line (lp_byline_block()): one compact author and reviewer block. */
.lp-prose .lp-byline { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--lp-line); color: var(--lp-spruce); font-size: 15px; font-weight: 600; letter-spacing: .01em; line-height: 1.45; }
.lp-prose .lp-byline::before { content: ""; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--lp-mint) url("../img/dr-lewis-reviewer.webp") center / cover no-repeat; }
.lp-byline-meta { grid-column: 2; display: block; margin-top: 2px; color: var(--lp-muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.lp-byline-meta .lp-dates, .lp-byline-meta .lp-reviewed { display: block; }
.lp-prose.entry-content > .lp-byline + * { margin-top: 1.4em; }

.lp-disclaimer { margin: 40px 0 0; color: var(--lp-muted); font-size: 14px; line-height: 1.5; }

/* ---------- Closing call to action ---------- */
.lp-cta-band { padding-block: 0 var(--lp-space); }
.lp-cta-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(30px, 5vw, 56px); background: var(--lp-deep); color: #dbe7e2; border-radius: 2px; box-shadow: var(--lp-shadow-2); }
.lp .lp-cta-card h2 { margin: 0; color: #fff; font-size: clamp(28px, 3vw, 38px); }
.lp-cta-card p { margin: 12px 0 0; max-width: 54ch; }

/* ---------- Provider team list ---------- */
.lp-team { padding-block: var(--lp-space); background: var(--lp-paper); border-top: 1px solid var(--lp-line); }
.lp .lp-team h2 { margin: 0 0 26px; color: var(--lp-spruce); font-size: clamp(26px, 2.8vw, 34px); }
.lp-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.lp-team-grid li { margin: 0; }
.lp .lp-person-card { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--lp-card-line); border-radius: 2px; box-shadow: var(--lp-shadow-1); color: var(--lp-ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.lp .lp-person-card-plain { grid-template-columns: minmax(0, 1fr); padding: 22px 24px; }
.lp .lp-person-card:hover { box-shadow: var(--lp-shadow-2); color: var(--lp-ink); transform: translateY(-2px); }
.lp-person-card img { width: 96px; height: 120px; object-fit: cover; }
.lp-person-card strong { display: block; color: var(--lp-spruce); font-size: 19px; line-height: 1.25; }
.lp-person-card > span > span:not(.lp-go) { display: block; margin-top: 4px; color: var(--lp-muted); font-size: 15px; }
.lp-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--lp-teal-deep); font-size: 15px; font-weight: 600; }
.lp-go .lp-icon { width: 17px; height: 17px; transition: transform .15s; }
.lp-person-card .lp-go { display: inline-flex; }
.lp-person-card:hover .lp-go .lp-icon { transform: translateX(3px); }

/* ---------- Contact ---------- */
.lp-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.lp-contact-card { margin: 0; padding: 26px; background: #fff; border: 1px solid var(--lp-card-line); border-radius: 2px; box-shadow: var(--lp-shadow-1); }
.lp-contact-card > .lp-icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #eef2f0; color: var(--lp-teal-deep); }
.lp .lp-contact-card h2 { margin: 18px 0 10px; color: var(--lp-spruce); font-size: 19px; letter-spacing: -.02em; }
.lp-contact-card p { margin: 0 0 10px; color: var(--lp-muted); font-size: 15px; line-height: 1.55; }
.lp .lp-contact-big { display: inline-block; margin-bottom: 10px; color: var(--lp-spruce); font-size: 24px; font-weight: 650; letter-spacing: -.02em; text-decoration: none; }
.lp .lp-contact-big:hover { color: var(--lp-teal-deep); text-decoration: underline; }
.lp-contact-card .lp-address { margin-bottom: 10px; font-size: 15px; }
.lp-contact-card .lp-text-link, .lp-contact-card .lp-text-button { font-size: 15px; }
.lp-office-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lp-office-grid-solo { grid-template-columns: minmax(0, 760px); }
.lp-office-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--lp-shadow-2); }
.lp .lp-office-grid h2 { margin: 0 0 14px; color: var(--lp-spruce); font-size: clamp(28px, 3vw, 38px); }
.lp-office-grid p { margin: 0; color: var(--lp-muted); }
.lp-office-grid .lp-address { margin-bottom: 14px; color: var(--lp-ink); font-size: 17px; }
.lp .lp-office-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 18px; }
.lp-office-top .lp-facts { margin-top: 18px; }
.lp-office-top .lp-facts .lp-address { margin: 0; color: inherit; font-size: inherit; }
.lp-referral-note { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--lp-line); color: var(--lp-muted); font-size: 15.5px; }
.lp-location-content .lp-referral-note { margin-top: 40px; }
.lp-office-top + .lp-location-content { padding-top: 0; }
/* Contact us: the cards, then the question form close beneath them. */
.lp-contact-cards { padding-bottom: 0; }
/* Referring providers: how to send a referral, as one compact card under the intro. */
.lp-referral-send { padding-top: clamp(32px, 4vw, 52px); }
.lp-facts-card { padding: clamp(20px, 3vw, 28px); background: #fff; border: 1px solid var(--lp-card-line); border-radius: 2px; box-shadow: var(--lp-shadow-1); }
.lp-facts-card .lp-facts { margin-top: 14px; }
.lp-facts-card .lp-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }

/* Providers page: a portrait card for each provider, as on the homepage's care team. */
.lp-provider-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.lp-provider-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); margin: 0; background: #fff; border: 1px solid var(--lp-card-line); border-radius: 2px; box-shadow: var(--lp-shadow-1); overflow: hidden; }
.lp-provider-card-plain { grid-template-columns: minmax(0, 1fr); }
.lp-provider-card img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.lp-provider-card > div { display: flex; flex-direction: column; padding: 26px 28px; }
.lp .lp-provider-card h2 { margin: 0; color: var(--lp-spruce); font-size: 24px; letter-spacing: -.02em; }
.lp-provider-role { margin: 4px 0 0; color: var(--lp-teal-deep); font-size: 14.5px; font-weight: 600; }
.lp-provider-bio { margin: 12px 0 16px; color: var(--lp-ink-2); font-size: 16px; line-height: 1.6; }
.lp-provider-card .lp-text-link { margin-top: auto; }
.lp-providers + .lp-team-content { padding-top: 0; }
.lp-facts { margin: 22px 0 0; border-top: 1px solid var(--lp-line-2); }
.lp-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--lp-line-2); }
.lp-facts dt { color: var(--lp-muted); }
.lp-facts dd { margin: 0; color: var(--lp-spruce); font-weight: 600; }
.lp-facts .lp-address { color: inherit; text-align: right; }
.lp .lp-section-title { margin: 0; color: var(--lp-spruce); font-size: clamp(24px, 2.6vw, 30px); }
/* Articles index: the posts page's topic list, then the cards. */
.lp-index-content + .lp-section { padding-top: 0; }
.lp-index-list { padding-top: 0; }
.lp-referral-content { margin-top: clamp(40px, 5vw, 56px); }
.lp-office-grid .lp-section-link { margin-top: 18px; }

/* ---------- Legal ---------- */
.lp-legal-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: clamp(32px, 6vw, 80px); padding-block: var(--lp-space); }
.lp-narrow:not(.lp-section) { padding-block: var(--lp-space); }
.lp-toc { position: sticky; top: calc(var(--lp-sticky-top) + 20px); align-self: start; }
.lp .lp-toc h2 { margin: 0 0 12px; color: var(--lp-teal-deep); font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.lp-toc ol { margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--lp-line-2); list-style: none; font-size: 15px; line-height: 1.45; }
.lp-toc li { margin: 0 0 10px; }
.lp .lp-toc a { color: var(--lp-muted); text-decoration: none; }
.lp .lp-toc a:hover { color: var(--lp-teal-deep); text-decoration: underline; }
.lp-legal-layout .lp-prose, .lp-legal-layout + * .lp-prose { font-size: 17px; }
.lp .lp-legal-page .lp-prose h2 { font-size: clamp(22px, 2vw, 25px); }
.lp-legal-page .lp-prose.entry-content > h2 { margin-top: 1.9em; }
.lp-legal-page .lp-prose.entry-content > h2::before { width: 26px; margin-bottom: 14px; }
/* The contact lines that end each policy read as one address block. */
.lp-legal-page .lp-prose.entry-content > h2:last-of-type ~ p { margin-top: .3em; }
.lp-legal-page .lp-prose.entry-content > h2:last-of-type + p { margin-top: .55em; }

/* ---------- Articles ---------- */
.lp-intro-narrow > .lp-wrap { max-width: calc(780px + 2 * var(--lp-gutter)); }
.lp-article-image { margin: 0 0 32px; }
.lp-article-image img { display: block; width: 100%; height: auto; }
.lp-article-next { margin-top: 40px; padding: clamp(24px, 4vw, 34px); background: #fff; border: 1px solid var(--lp-card-line); border-left: 3px solid var(--lp-teal); border-radius: 2px; box-shadow: var(--lp-shadow-1); }
.lp .lp-article-next h2 { margin: 0 0 10px; color: var(--lp-spruce); font-size: 24px; }
.lp-article-next p { margin: 0 0 20px; }
.lp-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.lp .lp-section-head h2 { margin: 0; color: var(--lp-spruce); font-size: clamp(26px, 2.8vw, 34px); }
/* Article rows (parts/article-row.php): title and a short excerpt, the whole row clickable. */
.lp-article-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--lp-line-2); }
.lp-article-row { position: relative; margin: 0; padding: 16px 40px 16px 0; border-bottom: 1px solid var(--lp-line-2); }
.lp-article-row::after { content: "\2192"; position: absolute; top: 50%; right: 6px; translate: 0 -50%; color: var(--lp-teal-deep); font-weight: 600; transition: translate .15s; }
.lp-article-row:hover::after { translate: 3px -50%; }
.lp .lp-article-row-title { margin: 0; color: var(--lp-spruce); font-size: 18px; font-weight: 650; letter-spacing: -.015em; line-height: 1.35; }
.lp .lp-article-row-title a { color: inherit; text-decoration: none; }
.lp-article-row-title a::after { content: ""; position: absolute; inset: 0; }
.lp-article-row:hover .lp-article-row-title a { color: var(--lp-teal-deep); text-decoration: underline; text-decoration-color: rgba(11, 111, 93, .35); }
.lp-article-row p { margin: 4px 0 0; color: var(--lp-muted); font-size: 15px; line-height: 1.5; }
.lp-section-title + .lp-article-rows { margin-top: 18px; }
.lp-more-articles .lp-section-head { margin-bottom: 18px; }
.lp .lp-more-articles .lp-section-head h2 { font-size: clamp(22px, 2.2vw, 26px); }
.lp-chips ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.lp-chips li { margin: 0; }
.lp .lp-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid rgba(26, 61, 54, .3); border-radius: 2px; background: #fff; color: var(--lp-spruce); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s; }
.lp .lp-chips a:hover { border-color: var(--lp-spruce); }
.lp .lp-chips a[aria-current="page"] { background: var(--lp-spruce); border-color: var(--lp-spruce); color: #fff; }
.lp-pagination { margin-top: 36px; }
.lp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.lp .lp-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--lp-card-line); border-radius: 2px; background: #fff; box-shadow: var(--lp-shadow-1); color: var(--lp-spruce); font-weight: 600; text-decoration: none; }
.lp .lp-pagination a.page-numbers:hover { box-shadow: var(--lp-shadow-2); color: var(--lp-teal-deep); }
.lp .lp-pagination .page-numbers.current { background: var(--lp-spruce); color: #fff; }
.lp .lp-pagination .page-numbers.dots { background: none; box-shadow: none; }
.lp-empty { color: var(--lp-muted); }
.lp-search { margin-top: 32px; max-width: 560px; }

/* ---------- Full-width canvas (homepage blocks) ---------- */
.lp-canvas > * { margin-block: 0; }

/* ---------- Footer ---------- */
.lp-footer { padding: 56px 0 26px; background: var(--lp-night); color: #c6d6d0; font-size: 15px; }
.lp-footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr 1.2fr; gap: 32px; }
.lp-footer-brand img { display: block; width: 210px; height: auto; margin-bottom: 14px; }
.lp-footer p { margin: 0 0 20px; max-width: 30ch; }
.lp .lp-footer-brand .lp-btn { min-height: 44px; }
.lp .lp-footer h2 { margin: 0 0 16px; color: var(--lp-mint); font-size: 12px; font-weight: 650; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.lp-footer ul { margin: 0; padding: 0; list-style: none; }
.lp-footer li { margin: 0 0 10px; }
.lp .lp-footer a { color: #e2ece7; text-decoration: none; }
.lp .lp-footer a:hover { color: #fff; text-decoration: underline; }
.lp-footer .lp-address { margin: 0; color: #e2ece7; line-height: 1.55; }
.lp-footer-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 16px 0 0; }
.lp-footer-facts dt { color: #a7beb6; font-weight: 400; }
.lp-footer-facts dd { margin: 0; color: #e2ece7; font-variant-numeric: tabular-nums; }
.lp-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 12px; padding-top: 22px; border-top: 1px solid #2c4740; font-size: 14px; }
.lp .lp-legal a { text-decoration: underline; text-decoration-color: rgba(226, 236, 231, .4); }

/* ---------- Phone action bar ---------- */
.lp-action-bar { display: none; }
/* The HighLevel chat (inc/chat.php) sits above the bar on phones; its open panel is capped so it still fits. */
@media (max-width: 600px) {
  chat-widget { --chat-widget-max-height: calc(100dvh - 180px); }
}

/* ---------- Booking chooser and contact dialog ---------- */
.lp-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 2px; background: var(--lp-paper); color: var(--lp-ink); box-shadow: 0 24px 70px #0005; font-family: var(--lp-font); }
.lp-dialog::backdrop { background: #10251fbf; }
.lp-dialog-inner { padding: 30px; }
.lp-dialog-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 16px; }
.lp .lp-dialog-top h2 { margin: 0; color: var(--lp-spruce); font-size: 30px; }
.lp-dialog-close { min-height: 40px; padding: 7px 10px; border: 1px solid var(--lp-line-2); border-radius: 2px; background: #fff; color: var(--lp-ink); font: inherit; font-size: 14px; cursor: pointer; }
.lp-dialog-close:hover { border-color: var(--lp-spruce); }
.lp-dialog-lead { margin: 0 0 22px; color: var(--lp-muted); }
.lp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp .lp-choice { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--lp-card-line); border-radius: 2px; background: #fff; box-shadow: var(--lp-shadow-1); color: var(--lp-ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.lp .lp-choice:hover { box-shadow: var(--lp-shadow-2); color: var(--lp-ink); transform: translateY(-2px); }
.lp-choice strong { display: block; margin-bottom: 10px; color: var(--lp-spruce); font-size: 21px; font-weight: 650; line-height: 1.2; }
.lp-choice span { display: block; color: var(--lp-muted); font-size: 15px; }
.lp-choice .lp-go { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: auto; padding: 11px 18px; border: 1px solid var(--lp-teal-deep); border-radius: 2px; background: var(--lp-teal-deep); color: #fff; font-size: 15.5px; font-weight: 650; text-align: center; }
.lp-choice > span:not(.lp-go) { margin-bottom: 18px; }
.lp-choice .lp-go span { display: inline; color: inherit; }
.lp-choice:hover .lp-go { background: var(--lp-spruce); border-color: var(--lp-spruce); }
.lp-choice-quiet .lp-go { background: transparent; border-color: rgba(26, 61, 54, .38); color: var(--lp-spruce); }
.lp-choice-quiet:hover .lp-go { background: #fff; border-color: var(--lp-spruce); }
.lp-dialog-help { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--lp-line); font-size: 15px; }
.lp-dialog-help small { display: block; margin-top: 10px; color: var(--lp-muted); font-size: 13px; }
.lp-contact-route { padding: 22px; background: #fff; border: 1px solid var(--lp-card-line); }
.lp-contact-route p { margin: 0 0 18px; color: var(--lp-muted); }
.lp-contact-route .lp-hours-copy { margin: 14px 0 0; font-size: 14px; }
.lp-contact-route .lp-actions .lp-btn { flex: 1 1 auto; }

/* Booking page: the chooser's two choices under the intro (page-templates/booking.php). */
.lp-book-inline { margin-bottom: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--lp-line); }
.lp .lp-book-inline h2 { margin: 0 0 20px; color: var(--lp-spruce); font-size: clamp(22px, 2.2vw, 26px); }
.lp-book-inline-help { margin: 16px 0 0; font-size: 15px; }
.lp-book-inline-help small { display: block; margin-bottom: 6px; color: var(--lp-muted); font-size: 14px; }
/* The Call link sits in a sentence, so it needs its underline, not just its color. */
.lp :is(.lp-dialog-help, .lp-book-inline-help) a { text-decoration-line: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) and (min-width: 1181px) {
  .lp-menu { gap: 20px; }
  .lp .lp-nav-item { font-size: 14px; }
  .lp-header-actions { gap: 18px; }
}

@media (max-width: 1180px) {
  html { scroll-padding-top: 96px; }
  :root { --lp-sticky-top: 76px; }
  .lp-header, .admin-bar .lp-header { top: 0; }
  .lp-masthead { min-height: 76px; }
  .lp-logo img { width: 205px; }
  .lp-menu-toggle { display: flex; }
  .lp-header-actions { gap: 14px; }
  .lp-navbar { display: none; max-height: calc(100dvh - 160px); overflow-y: auto; }
  .lp-navbar.is-open { display: block; }
  .lp-navbar > .lp-wrap { display: block; padding-block: 12px; }
  .lp-menu { display: block; }
  .lp .lp-nav-item { width: 100%; justify-content: space-between; min-height: 46px; padding: 11px 6px; font-size: 16px; }
  .lp-nav-item svg { display: block; }
  .lp .lp-nav-item:hover, .lp .lp-nav-item[aria-expanded="true"] { color: #fff; }
  .lp-menu-portal { display: block; }
  .lp .lp-nav-portal { margin: 8px 0; padding: 12px; justify-content: center; border: 1px solid #86a29a; border-radius: 2px; }
  .lp .lp-nav-portal:hover { background: #fff; color: var(--lp-spruce); }
  .lp-submenu { position: static; min-width: 0; padding: 6px 0; border: 0; background: #264b40; box-shadow: none; }
  .lp .lp-submenu :is(a, button) { padding: 10px 18px; color: #fff; }
  .lp .lp-submenu :is(a, button):hover { background: #345d50; color: #fff; }
  .lp .lp-submenu a[aria-current="page"] { color: var(--lp-mint); }
  .lp-submenu .lp-sub-divider { border-color: var(--lp-line-dark); }
  .lp-nav-book { display: none; }
  .lp-with-aside { grid-template-columns: minmax(0, 1fr) 300px; }
  .lp-intro-has-card .lp-intro-body { grid-template-columns: minmax(0, 1fr) 300px; }
  .lp-intro-card, .lp-side-card { padding: 22px; }
  .lp-reviewer small { letter-spacing: .1em; }
  .lp-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .lp-header-portal { display: none !important; }
}

@media (max-width: 900px) {
  .lp-with-aside { grid-template-columns: minmax(0, 1fr); }
  /* No sidebar on phones and tablets: the intro has Book and Call, the closing panel follows the article,
     and the related pages follow that as "Explore other ..." (parts/template-list.php, variant "more"). */
  .lp-aside { display: none; }
  .lp-more-list { display: block; padding-bottom: var(--lp-space); }
  .lp-provider-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "photo" "body"; }
  .lp-portrait { max-width: 420px; margin-top: 22px; }
  /* The name and role sit right above the portrait here, so its name plate would repeat them. */
  .lp-provider-grid .lp-name-plate { display: none; }
  .lp-provider-body { margin-top: 22px; }
  .lp-legal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-toc { position: static; padding: 20px 22px; background: var(--lp-mist); }
  .lp-toc ol { border: 0; padding-left: 0; }
  .lp-cta-card { grid-template-columns: minmax(0, 1fr); }
  .lp-office-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px 16px; }
}

@media (max-width: 600px) {
  body.lp { font-size: 16px; padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .lp .lp-intro-title { font-size: clamp(30px, 8.6vw, 38px); }
  .lp-intro { padding-bottom: 36px; }
  /* Paired actions fill the width and match: one under the other. */
  .lp-actions, .lp-prose .wp-block-buttons { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 10px; }
  .lp-actions .lp-btn, .lp .lp-prose .wp-block-button__link { width: 100%; }
  .lp-masthead { min-height: 68px; gap: 12px; }
  .lp-logo img { width: 176px; }
  .lp .lp-header-phone, .lp-header-actions > .lp-btn { display: none; }
  .lp-menu-toggle { padding: 8px; }
  /* Breadcrumb: just the way back. */
  .lp-breadcrumb li { display: none; }
  .lp-breadcrumb li:nth-last-child(2) { display: block; }
  .lp-breadcrumb li:nth-last-child(2)::before { content: "\2190"; margin: 0 8px 0 0; color: inherit; }
  .lp-lead { font-size: 17.5px; }
  /* Compact review card: Dr. Lewis's review on one short row, then the two buttons. */
  .lp-intro-card { margin-top: 22px; padding: 16px; }
  .lp-reviewer { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; margin-bottom: 14px; padding-bottom: 14px; font-size: 13.5px; }
  .lp-reviewer img { width: 44px; height: 44px; }
  .lp-reviewer b { font-size: 15px; }
  .lp-intro .lp-intro-card .lp-actions { gap: 8px; }
  .lp .lp-intro-card .lp-btn { min-height: 48px; padding-block: 11px; }
  .lp-prose { font-size: 17px; }
  .lp-portrait { max-width: 280px; margin-top: 18px; }
  .lp-provider-body { margin-top: 18px; }
  .lp-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-contact-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 18px 18px 16px; }
  .lp-contact-card > .lp-icon { width: 40px; height: 40px; padding: 10px; }
  .lp-contact-card > :not(.lp-icon) { grid-column: 2; }
  .lp .lp-contact-card h2 { margin: 6px 0 6px; font-size: 18px; }
  .lp .lp-contact-big { margin-bottom: 4px; font-size: 22px; }
  .lp-team-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-provider-card { grid-template-columns: 112px minmax(0, 1fr); }
  .lp-provider-card img { min-height: 0; }
  .lp-provider-card > div { padding: 16px 16px 18px; }
  .lp .lp-provider-card h2 { font-size: 20px; }
  .lp-provider-bio { font-size: 15px; }
  /* "Explore other ...": two short columns, each link still a full-size tap target. */
  .lp-side-list-more ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; margin-inline: 0; }
  .lp .lp-side-list-more li a { display: flex; align-items: center; min-height: 44px; padding: 8px 4px; font-size: 14.5px; }
  .lp .lp-article-row-title { font-size: 17px; }
  .lp-prose p.lp-urgent { padding: 14px 16px 14px 48px; font-size: 16px; }
  .lp-prose p.lp-urgent::before { left: 14px; top: 15px; }
  .lp-footer { padding-top: 40px; }
  .lp-footer-grid { gap: 28px 20px; }
  .lp-footer-brand, .lp-footer-contact { grid-column: 1 / -1; }
  .lp-legal { gap: 10px 18px; }
  .lp-action-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--lp-night); }
  .lp .lp-action-bar :is(a, button) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 5px; border: 1px solid var(--lp-line-dark); border-radius: 2px; background: transparent; color: #fff; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
  .lp .lp-action-bar .lp-action-book { background: var(--lp-teal-deep); border-color: var(--lp-teal-deep); }
  .lp-action-bar .lp-icon { width: 19px; height: 19px; }
  .lp-dialog-inner { padding: 22px; }
  .lp .lp-dialog-top h2 { font-size: 27px; }
  .lp-choices { grid-template-columns: 1fr; }
  .lp .lp-choice { padding: 18px; }
  .lp-choice .lp-go { margin-top: 10px; }
}

/* No lifts or slides for visitors who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition: none !important; }
  .lp .lp-btn:hover, .lp .lp-choice:hover, .lp .lp-person-card:hover, .lp .lp-prose .lp-link-grid a:hover, .lp :hover > .lp-icon, .lp :hover > .lp-go .lp-icon { transform: none; }
  .lp-article-row:hover::after, .lp-prose :is(ul.lp-link-grid, ul.lp-link-rows) > li.lp-one-link:hover::after { translate: 0 -50%; }
}

@media print {
  .lp-header, .lp-action-bar, .lp-aside, .lp-cta-band, .lp-more-list, .lp-footer, .lp-dialog { display: none !important; }
  .lp-intro { background: none; color: var(--lp-ink); }
  .lp .lp-intro-title, .lp-intro .lp-lead { color: var(--lp-ink); }
}
