/* Kreeb v3 (2026-11-01, Razib review): header fix, designed page sections, service cards with photos, doctor profiles,
   FAQ groups, styled map, homepage team band. Loads after kreeb.css. Contrast: every text colour reuses the v2 pairs. */

/* ---------- header: logo fits the bar, all links on one line ---------- */
:root { --header-h: 5rem; }
.site-header, .v2 .site-header { background: var(--bg); backdrop-filter: none; box-shadow: 0 1px 0 var(--line); border-bottom: 0; }
.site-header .wrap { min-height: var(--header-h); gap: 1.5rem; }
.site-header .logo img, .logo img { width: auto; height: 3.6rem; max-width: none; display: block; }
.site-header .logo { padding-block: .4rem; }
.nav ul { align-items: center; gap: .25rem; }
.nav > ul > li { display: flex; align-items: center; }
.nav > ul > li > a, .nav summary { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .9rem; border-radius: 999px; line-height: 1; font-size: 1rem; }
.nav > ul > li > a:hover, .nav summary:hover, .nav details[open] summary { background: var(--teal-tint); color: var(--teal-dark); text-decoration: none; }
.nav > ul > li > a[aria-current="page"] { color: var(--teal); text-decoration: none; background: var(--teal-tint); }
.nav summary::after { transform: translateY(-2px) rotate(45deg); margin-left: .15rem; }
.nav .sub { top: calc(100% + .35rem); left: 0; }
.header-actions { gap: 1.25rem; }
@media (min-width: 64rem) and (max-width: 75rem) { .header-phone { display: none !important; } }

/* ---------- shared bits ---------- */
.ic { width: 1.4rem; height: 1.4rem; flex: none; }
.v3-badge { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .9rem; background: var(--teal-tint); color: var(--teal); flex: none; }
.v3-badge .ic { width: 1.45rem; height: 1.45rem; }
.v3-sec { padding-block: clamp(3rem, 2rem + 3.5vw, 5.5rem); }
.v3-sec + .v3-sec:not([class*="tone-"]):not(.v3-glance) { padding-top: clamp(1rem, .5rem + 2vw, 2.5rem); }
.tone-sand { background: var(--sand); }
.tone-tint { background: var(--teal-tint); }
.tone-dark { background: var(--slate-950, #0F2224); color: #E3EBEA; }
.tone-dark h2, .tone-dark h3 { color: var(--white); }
.tone-dark a { color: #9FE3D2; }
.tone-dark .eyebrow { color: var(--gold); }
.v3-head h2, .v3-sec h2 { font-family: var(--font-head); font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.75rem); font-weight: 520; letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 1rem; max-width: 22ch; }
.v3-head--row { display: grid; gap: .5rem 3rem; margin-bottom: 2rem; }
@media (min-width: 56rem) { .v3-head--row { grid-template-columns: 1fr 1fr; align-items: end; } .v3-head--row .muted { margin: 0 0 1rem; } }
.v3-sec p, .v3-sec li { max-width: 68ch; }
.v3-sec ul:not([class]) { padding-left: 0; list-style: none; }
.v3-tiles ul li::before, .v3-finder ul li::before { content: none !important; }
.v3-sec ul:not([class]) li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.v3-sec ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5D58' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .75rem no-repeat; }
.tone-dark ul:not([class]) li::before { background-color: rgba(255,255,255,.12); }
.v3-mini { font-family: var(--font-body) !important; font-size: .8rem !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 1rem !important; max-width: none !important; }

/* ---------- at a glance ---------- */
.v3-glance { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.v3-glance__grid { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .v3-glance__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3.5rem; align-items: start; } }
.v3-answer { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.6; color: var(--ink); border-left: 4px solid var(--gold); padding-left: 1.25rem; }
.v3-answer p { margin: 0 0 .75rem; }
.v3-tiles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.v3-tiles li { display: flex; gap: .9rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.v3-tiles strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.v3-tiles span:not(.v3-badge) { display: block; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.v3-finder ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.v3-finder a { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: center; padding: 1rem 1.15rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.v3-finder a:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.v3-finder__q { font-weight: 700; grid-column: 1; }
.v3-finder__a { color: var(--teal); grid-column: 1; font-size: .95rem; }
.v3-finder .ic { grid-column: 2; grid-row: 1 / span 2; color: var(--teal); }

/* ---------- on this page ---------- */
.v3-jump { border-block: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 30; }
.v3-jump .wrap { display: flex; gap: 1rem; align-items: center; overflow-x: auto; padding-block: .6rem; scrollbar-width: thin; }
.v3-jump__label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); white-space: nowrap; }
.v3-jump ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; }
.v3-jump a { display: inline-flex; align-items: center; min-height: 2.5rem; white-space: nowrap; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; }
.v3-jump a:hover { border-color: var(--teal); color: var(--teal); }
.v3-sec h2[id] { scroll-margin-top: 5rem; }

/* ---------- intro / text ---------- */
.v3-lede { max-width: 50rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.65; }
.v3-text { max-width: 52rem; }
.v3-intro { padding-bottom: 1rem; }

/* ---------- split: text and photo or map ---------- */
.v3-split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) {
  .v3-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
  .v3-split--flip .v3-split__media { order: -1; }
}
.v3-split__media { margin: 0; position: relative; }
figure.v3-split__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
figure.v3-split__media::after { content: ""; position: absolute; inset: 1.25rem -1rem -1rem 1.25rem; border-radius: var(--radius-lg); background: var(--teal-tint); z-index: -1; }
.v3-split--flip figure.v3-split__media::after { inset: 1.25rem 1.25rem -1rem -1rem; background: #F4E9CF; }
.v3-sec--split { position: relative; isolation: isolate; }

/* ---------- steps ---------- */
.v3-split-head { display: grid; gap: .5rem 3rem; margin-bottom: 2rem; }
@media (min-width: 56rem) { .v3-split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } .v3-split-head .v3-intro-text p:last-child { margin-bottom: 1rem; } }
.v3-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); counter-reset: s; }
.v3-steps li { position: relative; display: flex; flex-direction: column; gap: .9rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 1.35rem 1.25rem 1.5rem; }
.v3-step-n { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold); color: #1D2B2D; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.v3-steps h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; margin: 0 0 .35rem; letter-spacing: 0; }
.v3-steps p { margin: 0; font-size: .97rem; line-height: 1.55; color: #D3DEDC; }
.v3-after { margin-top: 1.75rem; max-width: 52rem; }
.tone-dark .v3-intro-text { color: #D3DEDC; }

/* ---------- icon cards ---------- */
.v3-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.v3-cards--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.v3-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: .2rem; max-width: none !important; transition: box-shadow .2s, transform .2s, border-color .2s; }
.v3-card .v3-badge { margin-bottom: .8rem; }
.v3-card h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; margin: 0 0 .35rem; color: var(--ink); }
.v3-card h3 a { color: var(--ink); text-decoration: none; }
.v3-card p { margin: 0 0 .5rem; color: var(--ink-soft); font-size: .97rem; line-height: 1.55; }
.v3-card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.v3-card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--control-edge); }
.v3-card--link:hover h3 a { color: var(--teal); }
.v3-go { position: absolute; top: 1.4rem; right: 1.25rem; color: var(--teal); }

/* ---------- comparison table ---------- */
.v3-table { background: var(--white); border-radius: var(--radius-lg); padding: clamp(.75rem, .5rem + 1vw, 1.5rem); box-shadow: var(--shadow); }
.v3-table table { width: 100%; border-collapse: collapse; }
.v3-table th, .v3-table td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .97rem; }
.v3-table thead th { background: var(--teal); color: var(--white); font-weight: 700; }
.v3-table thead th:first-child { border-top-left-radius: .6rem; } .v3-table thead th:last-child { border-top-right-radius: .6rem; }
.v3-table tbody th, .v3-table tbody td:first-child { font-weight: 700; }
.v3-table tbody tr:nth-child(even) { background: #FAF7F1; }
.v3-table .table-scroll { overflow-x: auto; }
.v3-table p { max-width: none; }

/* ---------- FAQ groups ---------- */
.v3-faqgroup { display: grid; gap: 1.5rem 3.5rem; }
@media (min-width: 60rem) { .v3-faqgroup { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .v3-faqgroup__head { position: sticky; top: 6rem; align-self: start; } }
.v3-faqgroup__head .v3-badge { margin-bottom: 1rem; }
.v3-faqgroup .faq { background: var(--white); border-radius: var(--radius-lg); padding: .25rem 1.5rem; box-shadow: var(--shadow); }
.v3-faqgroup .faq details + details { border-top: 1px solid var(--line); }
.v3-faqgroup .faq summary { font-size: 1.08rem; }

/* ---------- service cards with photos ---------- */
.v3-svc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.v3-svc { position: relative; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 2px rgba(29,43,45,.06); border: 1px solid var(--line); display: flex; flex-direction: column; max-width: none !important; transition: transform .25s, box-shadow .25s; }
.v3-svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,43,45,.14); }
.v3-svc__img { position: relative; aspect-ratio: 16 / 10; background: var(--teal-tint); }
.v3-svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.v3-svc:hover .v3-svc__img img { transform: scale(1.05); }
.v3-svc__img { overflow: hidden; }
.v3-svc__img .v3-badge { position: absolute; left: 1rem; bottom: -1.2rem; background: var(--white); box-shadow: var(--shadow); z-index: 1; }
.v3-svc__img { overflow: visible; } .v3-svc__img img { border-radius: 0; }
.v3-svc__body { padding: 1.85rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.v3-svc h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: 0 0 .4rem; }
.v3-svc h3 a { color: var(--ink); text-decoration: none; }
.v3-svc h3 a::after { content: ""; position: absolute; inset: 0; }
.v3-svc p { margin: 0 0 1rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.v3-svc__go { margin-top: auto; display: inline-flex; gap: .35rem; align-items: center; color: var(--teal); font-weight: 700; font-size: .92rem; }
.v3-svc__go .ic { width: 1.1rem; height: 1.1rem; transition: transform .2s; }
.v3-svc:hover .v3-svc__go .ic { transform: translateX(4px); }
.v3-svc:hover h3 a { color: var(--teal); }
.v3-svc__img > img { clip-path: inset(0); }

/* ---------- doctor profiles ---------- */
.v3-docs { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); margin-top: 1rem; }
.v3-doc { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 52rem) { .v3-doc { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); } .v3-doc--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); } .v3-doc--flip figure { order: 2; } }
.v3-doc figure { margin: 0; position: relative; }
.v3-doc figure img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 8%; border-radius: 50% 50% var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); }
.v3-doc figure::before { content: ""; position: absolute; inset: -0.75rem auto auto -0.75rem; width: 45%; height: 45%; border-radius: 50%; background: var(--gold); opacity: .25; z-index: -1; }
.v3-doc h3 { font-family: var(--font-head); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 520; margin: 0 0 .75rem; }
.v3-doc p { color: var(--ink-soft); }
.v3-sec--wide { isolation: isolate; }

/* ---------- styled map ---------- */
.kr-map { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.kr-map img { width: 100%; height: auto; display: block; }
.kr-map__marker { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.kr-map__pin { width: 2.4rem; height: 3.2rem; fill: var(--teal); stroke: var(--white); stroke-width: 2.5; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
.kr-map__pin circle { fill: var(--gold); stroke: none; }
.kr-map__label { background: var(--white); border-radius: .6rem; padding: .45rem .75rem; box-shadow: var(--shadow); font-size: .85rem; line-height: 1.3; text-align: center; margin-bottom: .4rem; white-space: nowrap; }
.kr-map__label strong { display: block; color: var(--teal-dark); }
.kr-map__cta { position: absolute; right: 1rem; top: 1rem; display: inline-flex; gap: .4rem; align-items: center; background: var(--teal); color: var(--white); border-radius: 999px; padding: .55rem 1rem; font-weight: 700; font-size: .9rem; }
.kr-map:hover .kr-map__cta, .kr-map:focus-visible .kr-map__cta { background: var(--teal-dark); }
.kr-map__cta .ic { width: 1rem; height: 1rem; }
.visit-media { position: relative; }
.visit-inset { position: absolute; left: -1.5rem; bottom: -1.5rem; width: 38%; margin: 0; border: 5px solid var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.visit-inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (max-width: 40rem) { .visit-inset { display: none; } }

/* ---------- homepage team band ---------- */
.v3-team { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.v3-team .wrap { position: relative; }
.v3-team__fig { margin: 0; }
.v3-team__fig img { width: 100%; aspect-ratio: 1920 / 1000; object-fit: cover; object-position: center 20%; border-radius: var(--radius-lg); display: block; }
.v3-team__card { background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 18px 40px rgba(29,43,45,.16); padding: 1.5rem 1.6rem; margin: -2.5rem 1rem 0; position: relative; }
.v3-team__card h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 520; margin: 0 0 .5rem; }
.v3-team__card p:not(.eyebrow) { color: var(--ink-soft); margin: 0 0 1rem; }
@media (min-width: 56rem) { .v3-team__card { position: absolute; right: 2.5rem; bottom: -2rem; width: 24rem; margin: 0; } .v3-team { padding-bottom: 5rem; } }

/* ---------- old bits the v3 pages no longer use ---------- */
.v3-sec .facts h2 { font-size: 1rem; }

/* grid column counts set per list (kr_cols) so no card sits alone on a row */
@media (min-width: 64rem) {
  .v3-cards[style*="--cols"], .v3-steps[style*="--cols"], .v3-svc-grid[style*="--cols"] { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .v3-cards, .v3-steps, .v3-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.v3-cards--home { margin-top: 1.5rem; }
.v3-cards--home .v3-card { padding: 1.15rem 3rem 1.15rem 1.15rem; flex-direction: row; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.v3-cards--home .v3-card .v3-badge { margin: 0; }
.v3-cards--home .v3-card h3 { flex: 1; margin-top: .55rem; }
.v3-cards--home .v3-card p { flex-basis: 100%; margin: 0; }
.v3-go { top: 50%; transform: translateY(-50%); }
.v3-cards:not(.v3-cards--home) .v3-go { top: 1.4rem; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* contact */
.v3-contact { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .v3-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
.v3-cards--contact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)) !important; }
.v3-cards--contact .hours { min-width: 0; width: 100%; font-size: .95rem; }
.v3-cards--contact .hours th { text-align: left; padding: .2rem .75rem .2rem 0; font-weight: 700; }
.v3-big { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.v3-contact__map .kr-map { height: 100%; }
.v3-contact__map .kr-map img { height: 100%; object-fit: cover; object-position: center bottom; }
.v3-formcard { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 1rem + 2vw, 3rem); max-width: 48rem; margin-inline: auto; }

/* contrast fixes: sticky first table column keeps the teal header; rating on light v3 bands uses the text colours */
.v3-table thead th:first-child { background: var(--teal) !important; color: var(--white); }
.v3-table tbody th:first-child, .v3-table tbody td:first-child { background: inherit; }
.v3-sec .rating .num { color: var(--gold-text); }
.v3-sec .rating .of { color: var(--ink-soft); }
.v3-table tbody tr > :first-child { background: var(--white); }
.v3-table tbody tr:nth-child(even) > :first-child { background: #FAF7F1; }
.v3-jump { top: var(--header-h); }

/* phones: icon beside the title so cards and steps take less height */
@media (max-width: 39.99rem) {
  .v3-card { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: 1rem 1.1rem; }
  .v3-card .v3-badge { margin: 0; width: 2.5rem; height: 2.5rem; }
  .v3-card h3 { margin: 0; }
  .v3-card > :not(.v3-badge):not(h3):not(.v3-go) { grid-column: 1 / -1; margin-top: .5rem; }
  .v3-steps li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1rem 1.1rem; }
  .v3-step-n { width: 2.2rem; height: 2.2rem; font-size: 1.1rem; }
  .v3-tiles li { padding: .8rem .9rem; }
  .v3-sec { padding-block: 2.5rem; }
}

/* ---------- "On this page": a wrapping numbered list (replaces the sticky chip bar) ---------- */
.v3-jump { position: static; border: 0; background: transparent; padding-bottom: clamp(1rem, .5rem + 2vw, 2rem); }
.v3-jump .wrap { display: block; overflow: visible; padding: 0; }
.v3-jump__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem clamp(1.1rem, .8rem + 1.5vw, 2rem) 1.4rem; }
.v3-jump ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.v3-jump a { display: flex; gap: .75rem; align-items: baseline; min-height: 2.75rem; padding: .55rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); text-decoration: none; font-size: .98rem; line-height: 1.35; white-space: normal; }
.v3-jump a:hover { color: var(--teal); border-bottom-color: var(--teal); }
.v3-jump__n { font-family: var(--font-head); color: var(--gold-text); font-weight: 600; min-width: 1.6rem; }

/* ---------- team page ---------- */
.v3-teamgroup + .v3-teamgroup { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.v3-teamgroup > h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 520; margin: 0 0 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.v3-members { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.v3-member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; max-width: none !important; padding: 0 !important; transition: box-shadow .2s, transform .2s; }
.v3-member::before { content: none !important; }
.v3-member:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.v3-member figure { margin: 0; aspect-ratio: 4 / 5; background: var(--teal-tint); overflow: hidden; }
.v3-member figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.v3-member__body { padding: 1.1rem 1.2rem 1.25rem; }
.v3-member h3 { font-family: var(--font-head); font-size: 1.45rem; font-weight: 520; margin: 0; }
.v3-member__role { display: inline-block; margin: .35rem 0 .7rem !important; padding: .2rem .65rem; border-radius: 999px; background: var(--teal-tint); color: var(--teal-dark); font-size: .82rem; font-weight: 700; }
.v3-member p { font-size: .95rem; color: var(--ink-soft); line-height: 1.55; margin: 0 0 .5rem; }
.v3-member summary { cursor: pointer; color: var(--teal); font-weight: 700; font-size: .92rem; min-height: 2.75rem; display: flex; align-items: center; }
.v3-member details[open] summary { margin-bottom: .25rem; }

/* ---------- patient form downloads ---------- */
.v3-downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.v3-download { padding: 1.5rem !important; }
.v3-download .btn { margin-top: auto; align-self: flex-start; gap: .5rem; }
.v3-download__size { font-weight: 400; opacity: .85; font-size: .85em; }
@media (min-width: 64rem) { .v3-members[style*="--cols"] { grid-template-columns: repeat(var(--cols), minmax(0, 18rem)); } }

/* ---------- inner-page hero v3: text on a solid panel, photo in its own panel with a focus point ---------- */
.thero { min-height: 0 !important; display: block; }
.thero .vhero-media { position: relative; inset: auto; aspect-ratio: 16 / 10; z-index: 0; }
.thero .vhero-media::after { content: none; }
.thero .vhero-copy { padding: 1.75rem 0 2.5rem; max-width: 40rem; }
@media (min-width: 64rem) {
  .thero { display: grid; align-items: center; min-height: clamp(30rem, 34vw, 40rem) !important; }
  .thero .vhero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; aspect-ratio: auto; }
  .thero .vhero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--slate-950) 0%, rgba(12,31,31,.55) 14%, rgba(12,31,31,0) 34%); }
  .thero .vhero-copy { max-width: min(36rem, 42vw); padding: 3rem 0 3.5rem; }
  .thero > .wrap { position: relative; z-index: 1; }
}

/* ---------- blog index ---------- */
.v3-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.v3-post { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; max-width: none !important; padding: 0 !important; transition: box-shadow .2s, transform .2s; }
.v3-post::before { content: none !important; }
.v3-post:hover { box-shadow: 0 18px 40px rgba(29,43,45,.14); transform: translateY(-3px); }
.v3-post__img { aspect-ratio: 16 / 9; background: var(--teal-tint); overflow: hidden; }
.v3-post__img img { width: 100%; height: 100%; object-fit: cover; }
.v3-post__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.v3-post__meta { font-size: .85rem !important; color: var(--gold-text) !important; font-weight: 700; margin: 0 0 .4rem !important; }
.v3-post h2 { font-family: var(--font-head); font-size: 1.45rem !important; font-weight: 520; line-height: 1.2; margin: 0 0 .6rem !important; max-width: none !important; }
.v3-post h2 a { color: var(--ink); text-decoration: none; }
.v3-post h2 a::after { content: ""; position: absolute; inset: 0; }
.v3-post:hover h2 a { color: var(--teal); }
.v3-post p { color: var(--ink-soft); font-size: .97rem; margin: 0 0 1rem; }
