/* A familiar, welcoming clinic: original illustrations, quiet colour, varied layouts. */
:root {
  --ink: #42483f;
  --muted: #697164;
  --bronze: #536d47;
  --bronze-deep: #3e5734;
  --sand: #bbc6ac;
  --line: #dce1d4;
  --cream: #f7f7f0;
  --cream-deep: #e9eddf;
}

::selection { background: #dce6cd; color: #31402b; }
.section-space { padding-block: 88px; }
.section-kicker {
  display: flex; align-items: center; gap: 10px;
  font: 500 13px/1.8 var(--sans); color: var(--bronze);
  letter-spacing: .08em; margin: 0 0 14px;
}
.section-kicker:before { content: ''; width: 20px; height: 1px; background: #849874; flex: none; }
.section-heading { font-size: clamp(27px,2.45vw,36px); line-height: 1.65; letter-spacing: .025em; margin-bottom: 20px; text-wrap: pretty; }
.section-intro { max-width: 43em; color: var(--muted); margin: 0; font-size: 15px; line-height: 2; }
.text-link { font-family: var(--sans); font-size: 14px; font-weight: 500; gap: 16px; }
.circle-arrow { width: 28px; height: 28px; }
.home-hero { border-radius: 0 0 44px 0; }
.hero-care-links { background: #fff; }
.home-news { background: #f7f7f0; }
.home-features { background: #fff; position: relative; padding-top: 90px; }
.home-features:before { content: ''; position: absolute; pointer-events: none; left: 0; top: 0; width: 142px; height: 122px; background: url('illustrations/legacy-leaves-left.png') left top/contain no-repeat; }
.features-grid { grid-template-columns: 28% 36% 36%; }
.features-heading { padding: 0 32px 0 0; }
.features-heading h2, .features-heading h2 span { font-size: clamp(28px,2.35vw,36px); }
.features-heading h2 { line-height: 1.75; letter-spacing: .015em; max-width: none; margin-bottom: 24px; }
.features-heading h2 span { white-space: normal; }
.features-heading>p:last-child { font-size: 14px; line-height: 2.05; }
.features-photos { height: 420px; margin: 0 30px 0 0; }
.features-photos:before, .features-photos:after { display: none; }
.feature-main-photo { width: 92%; height: 83%; border-radius: 20px 4px 20px 4px; }
.feature-inset-photo { width: 61%; height: 34%; border: 5px solid white; border-radius: 12px; box-shadow: none; }
.feature-reasons { margin-left: 12px; }
.feature-reasons li { grid-template-columns: 36px minmax(0,1fr); gap: 20px; padding-block: 24px; }
.feature-reasons li+li { border-color: var(--line); }
.reason-number { font-size: 27px; color: #627651; }
.feature-reasons h3 { font: 500 20px/1.65 var(--serif); margin-bottom: 9px; }
.feature-reasons p { font-size: 14px; line-height: 1.9; margin-bottom: 12px; }
.feature-reasons .text-link { font-size: 13px; }
.home-care { background: #faf8f1; }
.section-lead { display: grid; grid-template-columns: minmax(0,1fr) 156px; align-items: center; gap: 48px; margin-bottom: 36px; }
.section-lead .section-heading { margin-bottom: 16px; }
.lead-illustration { width: 156px; height: 156px; object-fit: contain; }
.care-overview { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: stretch; }
.care-primary { display: grid; grid-template-columns: 43% minmax(0,1fr); background: white; border-radius: 18px; overflow: hidden; }
.care-primary-photo { min-height: 360px; }
.care-primary-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 45%; }
.care-primary .care-copy { padding: 32px 28px; align-self: center; }
.care-category { color: var(--bronze); font-size: 12px!important; line-height: 1.8; margin-bottom: 12px!important; }
.care-copy h3 { font-size: 27px; line-height: 1.55; margin: 0 0 17px; letter-spacing: .02em; }
.care-copy h3 small { display: inline-block; font: 12px/1.5 var(--sans); color: var(--muted); margin-left: 12px; }
.care-copy>p { color: var(--muted); font-size: 14px; line-height: 1.95; margin-bottom: 20px; }
.care-copy .text-link { font-size: 13px; }
.care-secondary { display: grid; }
.care-compact { display: grid; grid-template-columns: 84px minmax(0,1fr); align-items: center; gap: 22px; padding: 25px 0; }
.care-compact:first-child { padding-top: 12px; }
.care-compact+ .care-compact { border-top: 1px solid #dcded0; }
.care-portrait { width: 84px; height: 104px; object-fit: contain; }
.care-compact h3 { font-size: 23px; margin-bottom: 12px; }
.care-compact .care-copy>p { margin-bottom: 12px; }
.home-directory { background: #f0f3e8; padding-block: 78px 88px; }
.directory-heading { max-width: 1080px; display: flex; justify-content: space-between; align-items: center; gap: 35px; margin: 0 auto 30px; }
.directory-heading .section-heading { margin-bottom: 14px; }
.directory-tree { width: 115px; height: 135px; object-fit: contain; flex: none; }
.care-tabs { max-width: 1080px; }
.tab-buttons { gap: 0; border-bottom: 1px solid #b9c6a8; }
.tab-buttons button { background: transparent; color: #626c59; padding: 19px 12px; font: 500 19px/1.5 var(--sans); border: 0; border-radius: 12px 12px 0 0; }
.tab-buttons button[aria-selected=true] { background: #fff; color: #3e5734; position: relative; }
.tab-buttons button[aria-selected=true]:after { content: ''; position: absolute; bottom: -1px; left: 24px; right: 24px; height: 3px; background: #71875e; }
.tab-panel { background: #fff; padding: 22px 32px 32px; border-radius: 0 0 14px 14px; }
.directory-list { gap: 0 36px; }
.directory-list a { font-family: var(--sans); font-size: 16px; }
.directory-symptom a { min-height: 108px; padding: 12px 4px; gap: 18px; }
.directory-symptom .symptom-icon { width: 80px; height: 84px; margin: 0; }
.directory-symptom .directory-label { font-weight: 500; }
.home-examinations { background: #fff; }
.split-feature { grid-template-columns: .85fr 1fr; gap: 80px; }
.split-feature .framed-photo { width: 100%; height: 330px; margin: 0; }
.framed-photo:before { display: none; }
.framed-photo img { border-radius: 20px 4px 20px 4px; object-position: 50% 42%; }
.exam-copy { max-width: 520px; }
.exam-copy .section-heading { max-width: 14em; }
.exam-copy>p:not(.section-kicker) { font-size: 15px; }
.home-family { position: relative; background: #faf8f1; }
.home-family:after { content: ''; position: absolute; right: 0; bottom: 0; width: 140px; height: 120px; background: url('illustrations/legacy-leaves-right.png') right bottom/contain no-repeat; transform: rotate(180deg); pointer-events: none; opacity: .7; }
.family-layout { position: relative; z-index: 1; }
.family-intro { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 60px; align-items: center; max-width: 950px; margin: 0 auto 38px; }
.family-illustration { width: 220px; height: 200px; object-fit: contain; }
.family-intro .section-heading { margin-bottom: 14px; }
.family-intro p:not(.section-kicker) { margin: 0; font-size: 15px; color: var(--muted); }
.family-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 28px; max-width: 950px; margin: auto; }
.family-links .row-link { min-height: 86px; margin: 0; padding: 20px 24px; font: 500 17px/1.8 var(--sans); border: 1px solid #e1e2d7; border-radius: 10px; background: #fffdfa; }
.greeting-grid { grid-template-columns: .95fr 1fr; gap: 80px; }
.greeting-photo:before { display: none; }
.greeting-photo img { border-radius: 20px 4px 20px 4px; }
.greeting-text .section-heading { font-size: clamp(26px,2.3vw,34px); margin-bottom: 22px; }
.greeting-text>p:not(.section-kicker):not(.doctor-sign) { font-size: 15px; color: var(--muted); }
.home-journal { padding-block: 65px; background: #f8f9f3; }
.home-journal .section-heading { font-size: 27px; }
.column-intro { border-left-color: #cbd4bd; }
.visit-section { background: #f7f7f0; }
.visit-section .eyebrow { font: 12px/1.5 var(--sans); letter-spacing: .08em; }
.hero-shade { background: linear-gradient(90deg, rgb(35 42 31 / 60%), rgb(35 42 31 / 56%) 70%, rgb(35 42 31 / 12%)); }
.side-actions button { background: #536d47; }
.side-actions a { background: #e8eddf; color: #46583b; }
.side-actions a .icon, .mobile-actions a .icon, .sidebar-consult .icon, .header-phone .icon, .footer-phone .icon { filter: invert(37%) sepia(15%) saturate(970%) hue-rotate(53deg) brightness(95%) contrast(87%); }
.side-actions a, .side-actions button { border-radius: 10px; gap: 12px; box-shadow: 0 6px 20px rgb(47 62 37 / 18%); }
.side-actions .icon { width: 24px; height: 24px; }
.mobile-actions a, .mobile-actions button { gap: 6px; }
.mobile-actions .icon { width: 22px; height: 22px; }
.page-watermark { display: none; }
.page-hero { background: #f5f6ee; }
.page-hero>.container { min-height: 365px; }
.page-title, .page-title:has(.page-symptom-icon) { display: flex; align-items: center; gap: 20px; width: 57%; padding: 65px 35px 40px 0; }
.page-title-copy { flex: 1; min-width: 0; }
.page-title h1 { font-size: clamp(29px,2.9vw,42px); letter-spacing: .025em; }
.page-title .eyebrow { font: 11px/1.6 var(--sans); letter-spacing: .08em; margin-bottom: 14px; }
.page-symptom-icon { flex: none; width: 104px; height: 120px; margin: 0; object-fit: contain; }
.page-hero-photo { width: 40%; height: 250px; bottom: 30px; }
.page-hero-photo:before { display: none; }
.page-hero-photo img { border-radius: 16px 4px 16px 4px; }
.article-booking h2 { display: flex; align-items: center; justify-content: center; gap: 12px; }
.article-booking h2 .icon { width: 26px; height: 26px; }
.booking-dialog { padding: 28px 36px 32px; max-height: calc(100dvh - 32px); overscroll-behavior: contain; scroll-padding-top: 80px; }
.booking-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: -28px; z-index: 2; margin: -28px -36px 22px; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.booking-dialog-top .eyebrow { margin: 0; }
.booking-dialog-top .close-button { width: 44px; height: 44px; }
.booking-dialog h2 { margin-bottom: 18px; }
.booking-dialog .booking-block>.notice-text { margin-top: 20px; }
.booking-dialog .booking-options { margin-bottom: 18px; }
.onaga-hours thead, .entry-content .onaga-hours thead { background: var(--cream-deep); }
.urgent-guidance { margin-block: 24px 0; padding: 18px 22px; border-left: 3px solid var(--bronze); background: var(--cream); font: 500 18px/1.8 var(--sans); }
@media (hover:hover) {
  .care-compact .text-link:hover, .care-primary .text-link:hover { color: #2c4624; }
  .family-links .row-link:hover, .directory-list a:hover { background: #f6f8ef; }
}
@media(min-width:1101px) and (max-height:520px) {
  .side-actions { top: auto; bottom: 16px; }
  .side-actions a, .side-actions button { min-height: 88px; padding-block: 10px; }
}
@media(min-width:768px) and (max-width:1320px) {
  .features-grid { grid-template-columns: 43% 57%; }
  .features-heading { padding-right: 55px; }
  .features-heading h2, .features-heading h2 span { font-size: 34px; }
  .features-photos { height: 370px; margin: 0 30px 0 0; }
  .feature-reasons { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin: 45px 0 0; }
  .feature-reasons li { display: block; padding: 0; }
  .feature-reasons li+li { border: 0; }
  .reason-number { font-size: 25px; margin-bottom: 14px; }
  .care-overview { grid-template-columns: 1.05fr 1fr; gap: 30px; }
  .care-primary { grid-template-columns: 39% minmax(0,1fr); }
  .care-primary .care-copy { padding: 24px; }
  .care-copy h3 { font-size: 26px; }
  .care-compact { grid-template-columns: 74px minmax(0,1fr); gap: 18px; }
  .care-portrait { width: 74px; height: 92px; }
  .care-compact h3 { font-size: 22px; }
  .care-copy h3 small { display: block; margin: 7px 0 0; }
  .split-feature, .greeting-grid { gap: 60px; }
}
@media(min-width:768px) and (max-width:1000px) {
  .section-space { padding-block: 64px; }
  .care-overview { grid-template-columns: 1fr; gap: 25px; }
  .care-primary { grid-template-columns: 35% minmax(0,1fr); }
  .care-primary-photo { min-height: 250px; }
  .care-primary .care-copy { padding: 28px 32px; }
  .care-secondary { grid-template-columns: 1fr 1fr; gap: 28px; }
  .care-compact { align-items: start; grid-template-columns: 66px minmax(0,1fr); gap: 15px; padding: 15px 0; }
  .care-compact+ .care-compact { border: 0; }
  .care-portrait { width: 66px; height: 80px; }
  .care-compact h3 { font-size: 20px; }
  .directory-list { gap: 0 22px; }
  .directory-symptom a { gap: 12px; font-size: 15px; }
  .directory-symptom .symptom-icon { width: 62px; height: 72px; }
  .tab-panel { padding-inline: 22px; }
  .family-intro { grid-template-columns: 170px minmax(0,1fr); gap: 35px; }
  .family-illustration { width: 170px; height: 180px; }
  .family-links .row-link { font-size: 15px; padding: 16px 18px; }
  .page-title, .page-title:has(.page-symptom-icon) { width: 61%; padding-right: 25px; gap: 14px; }
  .page-symptom-icon { width: 82px; height: 100px; }
  .page-hero-photo { width: 36%; height: 220px; }
}
@media(max-width:767px) {
  /* Keep a clear scale: 24px hero, 22px sections, 18–20px supporting headings. */
  body { padding-bottom: calc(59px + env(safe-area-inset-bottom)); }
  .section-space { padding-block: 40px; }
  .home-examinations, .home-greeting, .home-journal { padding-block: 32px; }
  .section-kicker { font-size: 11px; line-height: 1.6; letter-spacing: .025em; gap: 8px; margin-bottom: 8px; }
  .section-kicker:before { width: 14px; }
  .section-heading { font-size: 22px; margin-bottom: 14px; line-height: 1.5; }
  .section-intro { font-size: 14px; line-height: 1.8; }
  .text-link { min-height: 44px; font-size: 13px; gap: 12px; }
  .circle-arrow { width: 25px; height: 25px; }
  .mobile-actions a, .mobile-actions button { min-height: 58px; padding-block: 6px; gap: 4px; }
  .mobile-actions .icon { width: 19px; height: 19px; }
  .menu-toggle { width: 44px; }
  .home-hero { height: 340px; border-radius: 0 0 22px 0; }
  .hero-shade { background: linear-gradient(90deg, rgb(35 42 31 / 64%), rgb(35 42 31 / 56%) 80%, rgb(35 42 31 / 35%)); }
  .hero-copy { top: 48%; left: 24px; right: 20px; }
  .hero-copy h1 { font-size: clamp(24px,5.3vw,30px); line-height: 1.6; margin-bottom: 16px; }
  .hero-copy p { font-size: 14px; line-height: 1.8; }
  .hero-caption { left: 24px; bottom: 16px; }
  .hero-care-links>a { min-height: 52px; font-size: 15px; padding-block: 11px; }
  .news-strip { min-height: 64px; gap: 12px; padding-block: 12px; }
  .news-strip>p { font-size: 12px; padding-right: 12px; }
  .news-strip>a { font-size: 12px; line-height: 1.7; }
  .home-features:before { width: 60px; height: 52px; top: -12px; }
  .features-grid { display: grid; grid-template-columns: 1fr; }
  .features-heading { padding: 0; margin-bottom: 0; }
  .features-heading h2, .features-heading h2 span { font-size: 22px; }
  .features-heading h2 { line-height: 1.5; margin-bottom: 12px; max-width: none; }
  .features-heading h2 span { display: inline; }
  .features-heading>p:last-child { font-size: 14px; line-height: 1.8; }
  .features-photos { height: 210px; width: calc(100% - 12px); margin: 16px 0 0 12px; }
  .feature-main-photo { width: 88%; height: 88%; }
  .feature-inset-photo { width: 48%; height: 37%; }
  .feature-reasons { margin: 20px 0 0; }
  .feature-reasons li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 14px; padding-block: 16px; }
  .feature-reasons li:last-child { padding-bottom: 0; }
  .reason-number { font-size: 22px; line-height: 1.5; margin: 0; }
  .feature-reasons h3 { font-size: 18px; line-height: 1.6; margin-bottom: 8px; }
  .feature-reasons p { font-size: 14px; line-height: 1.8; margin-bottom: 4px; }
  .section-lead { grid-template-columns: minmax(0,1fr) 64px; gap: 0 16px; align-items: start; margin-bottom: 18px; }
  .section-lead>div { display: contents; }
  .section-lead .section-kicker { grid-column: 1; grid-row: 1; }
  .section-lead .section-heading { grid-column: 1; grid-row: 2; font-size: 22px; margin-bottom: 12px; }
  .section-lead .section-intro { grid-column: 1/-1; grid-row: 3; }
  .section-lead .lead-illustration { grid-column: 2; grid-row: 1/3; align-self: center; width: 64px; height: 76px; margin: 0; }
  .care-overview { grid-template-columns: 1fr; gap: 8px; }
  .care-primary { grid-template-columns: 27% minmax(0,1fr); border-radius: 10px; }
  .care-primary-photo { min-height: 200px; }
  .care-primary .care-copy { padding: 16px; }
  .care-copy h3 { font-size: 22px; line-height: 1.5; margin-bottom: 10px; }
  .care-copy>p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
  .care-category { font-size: 11px!important; line-height: 1.6; margin-bottom: 6px!important; }
  .care-copy .text-link { gap: 10px; font-size: 13px; min-height: 44px; }
  .care-compact { grid-template-columns: 52px minmax(0,1fr); gap: 14px; padding: 16px 0; }
  .care-compact:first-child { padding-top: 12px; }
  .care-compact:last-child { padding-bottom: 0; }
  .care-portrait { width: 52px; height: 66px; }
  .care-compact h3 { font-size: 18px; margin-bottom: 8px; }
  .care-compact .care-copy>p { margin-bottom: 4px; }
  .care-copy h3 small { font-size: 11px; margin-left: 7px; }
  .directory-heading { display: grid; grid-template-columns: minmax(0,1fr) 54px; gap: 0 12px; margin-bottom: 18px; align-items: center; }
  .directory-heading>div { display: contents; }
  .directory-heading .section-kicker { grid-column: 1/-1; grid-row: 1; display: block; max-width: none; }
  .directory-heading .section-kicker:before { display: none; }
  .directory-heading .section-heading { grid-column: 1; grid-row: 2; font-size: 22px; margin-bottom: 10px; }
  .directory-heading .section-intro { grid-column: 1/-1; grid-row: 3; }
  .directory-tree { grid-column: 2; grid-row: 2; width: 54px; height: 54px; margin: -6px 0 4px; }
  .tab-buttons button { min-height: 48px; padding: 13px 8px; font-size: 14px; }
  .tab-buttons button[aria-selected=true]:after { left: 12px; right: 12px; }
  .tab-panel { padding: 8px 16px 14px; }
  .directory-list { grid-template-columns: 1fr; }
  .directory-list a { min-height: 56px; font-size: 14px; padding-block: 12px; }
  .directory-symptom a { min-height: 72px; gap: 14px; padding: 9px 0; font-size: 15px; }
  .directory-symptom .symptom-icon { width: 50px; height: 54px; margin: 0; }
  .tab-panel>.text-link { margin-top: 14px; }
  /* Secondary introductions use a thumbnail beside the heading, then full-width copy. */
  .split-feature, .greeting-grid { grid-template-columns: 92px minmax(0,1fr); gap: 0 18px; align-items: start; }
  .exam-copy, .greeting-text { display: contents; }
  .split-feature .framed-photo, .greeting-photo { grid-column: 1; grid-row: 1/3; width: 92px; height: 100px; margin: 0 0 16px; }
  .framed-photo img, .greeting-photo img { width: 100%; height: 100%; border-radius: 10px 3px 10px 3px; object-fit: cover; }
  .exam-copy .section-kicker, .greeting-text .section-kicker { grid-column: 2; grid-row: 1; margin-top: 2px; }
  .split-feature .section-heading, .greeting-text .section-heading { grid-column: 2; grid-row: 2; font-size: 20px; line-height: 1.55; margin-bottom: 16px; }
  .split-feature>.exam-copy>p:not(.section-kicker), .greeting-text>p:not(.section-kicker):not(.doctor-sign) { grid-column: 1/-1; font-size: 14px; line-height: 1.85; margin-bottom: 12px; }
  .exam-copy>.text-link, .greeting-text>.text-link, .greeting-text>.doctor-sign { grid-column: 1/-1; }
  .doctor-sign { margin: 6px 0 8px; }
  .doctor-sign b { font-size: 20px; }
  .family-intro { grid-template-columns: 74px minmax(0,1fr); gap: 0 16px; align-items: center; margin-bottom: 18px; }
  .family-intro>div { display: contents; }
  .family-illustration { grid-column: 1; grid-row: 1/3; width: 74px; height: 92px; margin: 0; }
  .family-intro .section-kicker { grid-column: 2; grid-row: 1; }
  .family-intro .section-heading { grid-column: 2; grid-row: 2; font-size: 21px; margin-bottom: 12px; }
  .family-intro p:not(.section-kicker) { grid-column: 1/-1; font-size: 14px; line-height: 1.8; }
  .family-links { grid-template-columns: 1fr 1fr; gap: 10px; }
  .family-links .row-link { font-size: 14px; min-height: 80px; padding: 12px; gap: 8px; line-height: 1.65; align-items: center; }
  .family-links .circle-arrow { width: 22px; height: 22px; }
  .home-family:after { width: 90px; height: 78px; }
  .home-journal .section-heading { font-size: 20px; margin-bottom: 10px; }
  .journal-grid { gap: 24px; }
  .news-list { margin-bottom: 12px; }
  .news-list a { padding-block: 14px; gap: 12px; }
  .column-intro { padding: 20px; }
  .column-intro p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
  .visit-section { padding-block: 32px; }
  .visit-grid { gap: 20px; }
  .visit-intro>.section-icon, .visit-intro>.eyebrow { display: none; }
  .visit-intro .section-heading { font-size: 22px; margin-bottom: 12px; }
  .visit-intro>p:not(.eyebrow) { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
  .onaga-hours th, .onaga-hours tbody td, .entry-content .onaga-hours th, .entry-content .onaga-hours td { padding: 10px 2px; font-size: 13px; }
  .onaga-hours th[scope=row] .time-separator { font-size: 11px; }
  .hours-note { font-size: 12px!important; line-height: 1.8; }
  .search-form input { font-size: 16px; }
  .urgent-guidance { margin-top: 20px; padding: 14px 16px; font-size: 16px; }
  .hours-note { margin-block: 12px 18px; }
  .parking-note { margin-block: 12px; }
  .site-footer { padding: 32px 0 16px; }
  .footer-main { gap: 20px; }
  .footer-brand .brand-logo { width: 220px; }
  .footer-brand p { margin: 12px 0 8px; }
  .footer-phone { min-height: 44px; font-size: 23px; }
  .footer-nav nav ul { gap: 0 20px; margin-bottom: 16px; }
  .footer-nav nav a { display: flex; align-items: center; min-height: 44px; }
  .footer-bottom { margin-top: 24px; padding-top: 16px; gap: 10px; }
  /* Keep the title useful without consuming most of the first viewport. */
  .page-hero>.container { min-height: 0; display: block; padding: 48px 0 16px; }
  .page-title, .page-title:has(.page-symptom-icon) { width: 100%; padding: 10px 0 112px; gap: 14px; min-height: 0; }
  .page-title h1 { font-size: 24px; line-height: 1.45; max-width: none; }
  .page-title .eyebrow { font-size: 10px; margin-bottom: 6px; }
  .page-symptom-icon { width: 54px; height: 64px; margin: 0; }
  .page-hero-photo { position: absolute; margin: 0; width: 65%; height: 92px; bottom: 16px; }
  .page-hero .breadcrumb { top: 18px; }
  .article-layout { padding-top: 24px; padding-bottom: 40px; gap: 24px; }
  .article-lead { font-size: 18px; line-height: 1.7; margin-bottom: 24px; }
  .entry-content { font-size: 15px; line-height: 1.85; }
  .entry-content>h2 { font-size: 20px; line-height: 1.6; padding-left: 42px; margin: 32px 0 16px; }
  .entry-content>h2:before { width: 29px; font-size: 23px; line-height: 1.4; }
  .entry-content h3 { font-size: 18px; line-height: 1.6; margin: 24px 0 12px; padding-bottom: 8px; }
  .entry-content h4 { font-size: 16px; margin: 22px 0 10px; }
  .entry-content p { margin-bottom: 16px; }
  .entry-content ul, .entry-content ol { margin-block: 16px 22px; }
  .entry-content .wp-block-list { padding: 16px 16px 16px 32px; }
  .entry-content .wp-block-image { margin-block: 20px; }
  .entry-content .onaga-link-list { margin-block: 16px 24px; }
  .entry-content .onaga-link-list a { min-height: 54px; font-size: 15px; line-height: 1.7; padding-block: 12px; }
  .entry-content .onaga-step-list>li { gap: 14px; padding-block: 16px; }
  .entry-content .onaga-step-list>li:before { min-width: 28px; font-size: 22px; }
  .related-section { margin-top: 32px; padding-top: 20px; }
  .related-section>h2 { font-size: 20px; margin-bottom: 16px; }
  .related-links .row-link { font-size: 14px; padding: 14px 16px; min-height: 52px; }
  .article-booking { margin-top: 32px; padding: 22px 18px; }
  .article-booking h2 { font-size: 20px; }
  .article-booking .eyebrow { margin-bottom: 8px; }
  .article-booking .booking-options { margin-block: 16px; gap: 12px; }
  .booking-dialog h2 { font-size: 22px; }
  .booking-dialog { padding: 20px; max-height: calc(100dvh - 24px); }
  .booking-dialog-top { top: -20px; margin: -20px -20px 18px; padding: 10px 12px; }
}
@media(max-width:374px) {
  .hero-copy h1 { font-size: 22px; }
  .section-lead { grid-template-columns: minmax(0,1fr) 52px; column-gap: 12px; }
  .section-lead .lead-illustration { width: 52px; height: 66px; }
  .care-primary .care-copy { padding: 14px; }
  .care-primary { grid-template-columns: 24% minmax(0,1fr); }
  .care-compact { grid-template-columns: 46px minmax(0,1fr); gap: 12px; }
  .care-portrait { width: 46px; height: 58px; }
  .care-copy h3 small { display: block; margin: 4px 0 0; }
  .tab-buttons button { font-size: 13px; }
  .tab-panel { padding-inline: 12px; }
  .directory-symptom a { gap: 10px; font-size: 14px; }
  .directory-symptom .symptom-icon { width: 46px; height: 54px; }
  .split-feature, .greeting-grid { grid-template-columns: 76px minmax(0,1fr); column-gap: 14px; }
  .split-feature .framed-photo, .greeting-photo { width: 76px; height: 94px; }
  .family-intro { grid-template-columns: 64px minmax(0,1fr); column-gap: 12px; }
  .family-illustration { width: 64px; height: 82px; }
  .family-links .row-link { padding: 12px 10px; font-size: 13px; }
  .family-links .circle-arrow { width: 20px; height: 20px; }
  .page-title, .page-title:has(.page-symptom-icon) { gap: 12px; }
  .page-title h1 { font-size: 23px; }
  .page-symptom-icon { width: 48px; height: 60px; }
  .entry-content { font-size: 14px; }
}
@media print {
  .home-features:before, .home-family:after { display: none; }
  .page-hero>.container { min-height: 200px; }
  .page-title, .page-title:has(.page-symptom-icon) { padding-block: 40px; }
  .page-hero-photo { height: 160px; }
}

/* Article headings: keep the small number centered on the first title line. */
.entry-content > h2 {
  --section-heading-size: 26px;
  --section-heading-line: calc(var(--section-heading-size) * 1.6);
  --section-heading-pad: 16px;
  --section-number-size: 32px;
  position: relative;
  padding: var(--section-heading-pad) 22px var(--section-heading-pad) 70px;
  margin: 56px 0 24px;
  border: 0;
  border-radius: 6px;
  background: #f0f3e9;
  color: #3f5037;
  font: 600 var(--section-heading-size)/var(--section-heading-line) var(--serif);
  letter-spacing: .015em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.entry-content > h2::before {
  position: absolute;
  left: 18px;
  top: calc(var(--section-heading-pad) + (var(--section-heading-line) - var(--section-number-size)) / 2);
  display: grid;
  place-items: center;
  width: var(--section-number-size);
  height: var(--section-number-size);
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: #536d47;
  font: 600 14px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.entry-content .onaga-step-list > li {
  align-items: baseline;
  text-wrap: balance;
}
.entry-content .onaga-step-list > li::before {
  flex: 0 0 30px;
  min-width: 0;
  color: #536d47;
  font: 600 16px/1.5 var(--sans);
  font-variant-numeric: tabular-nums;
}
@media(max-width:767px) {
  .entry-content > h2 {
    --section-heading-size: 20px;
    --section-heading-pad: 14px;
    --section-number-size: 28px;
    padding-right: 16px;
    padding-left: 62px;
    margin: 32px 0 18px;
  }
  .entry-content > h2::before { left: 16px; font-size: 13px; }
  .entry-content .onaga-step-list { padding: 0; }
  .entry-content .onaga-step-list > li { gap: 12px; padding-inline: 0; }
  .entry-content .onaga-step-list > li::before { flex-basis: 26px; font-size: 15px; }
}

/* Subpage polish: readable tables and consistent article/list alignment. */
.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
  border: 1px solid var(--line);
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.8;
  vertical-align: top;
}
.entry-content .wp-block-table th { background: var(--cream-deep); font-weight: 600; }
.entry-content .wp-block-table th:first-child:nth-last-child(2) { width: 42%; }
.entry-content .wp-block-table tbody tr:nth-child(even) { background: #f8f9f4; }
.simple-page-heading { padding-bottom: 32px; }
.simple-page-heading h1 { margin-bottom: 0; text-wrap: balance; }
.simple-page-heading time { display: block; margin-top: 16px; }
.archive-content .news-list a>span:not(.circle-arrow) { min-width: 0; text-wrap: balance; }
.back-link .text-link { min-height: 44px; }
.article-booking h2 { color: #46583b; }
.article-booking h2 .icon { filter: invert(37%) sepia(15%) saturate(970%) hue-rotate(53deg) brightness(95%) contrast(87%); }
@media(max-width:767px) {
  .entry-content .wp-block-table th,
  .entry-content .wp-block-table td { padding: 12px; font-size: 14px; }
  .simple-page-heading { padding-bottom: 24px; }
}
