@font-face {
  font-family: "Hongik Sans";
  src: url("assets/hongik-sans.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #152f49;
  --ink: #182d40;
  --muted: #4d6273;
  --blue: #225a82;
  --blue-dark: #17466a;
  --line: #d8e3eb;
  --line-accent: #a9c4d9;
  --ice: #edf4f9;
  --surface: #f6f9fb;
  --white: #fff;
  --on-dark: #dfebf6;
  --gold: #f2cc82;
  --header-height: 78px;
  font-family: "Hongik Sans", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 22px); }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; color: var(--ink); line-height: 1.55; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #2486c2; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; }
p, h1, h2, h3, address { word-break: keep-all; overflow-wrap: break-word; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 12px 18px;
  background: white;
  border: 2px solid var(--navy);
  border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 3;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: calc(var(--header-height) - 1px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { flex-shrink: 0; }
.brand img { width: 206px; }
.header-inner nav { display: flex; align-items: center; gap: clamp(12px, 1.85vw, 30px); }
.header-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 650;
}
.header-inner nav a:hover, .text-link:hover { color: var(--blue); text-decoration: underline; }
.header-inner nav a:is([aria-current="page"], [aria-current="location"]) { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-phone {
  padding: 9px 17px;
  border: 1px solid #cadce9;
  border-radius: 7px;
  white-space: nowrap;
  font-weight: 750;
}
.header-phone:hover { background: var(--ice); }

.hero { background: linear-gradient(118deg, #f5f9fc 10%, #eaf2f8 76%); color: var(--navy); }
.hero-inner {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
  padding-block: 50px;
}
.hero-location {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 650;
}
.hero-location::before { content: ""; width: 25px; height: 2px; background: #6b9cbd; }
h1 { font-size: clamp(38px, 4.65vw, 72px); font-weight: 820; letter-spacing: -.065em; }
.hero h1 { font-size: clamp(42px, 5vw, 76px); }
.hero-description {
  margin-top: 23px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 750;
  transition: background-color .16s ease, border-color .16s ease;
}
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-dark); }
.button-outline, .button-map { color: var(--blue); border-color: var(--line-accent); }
.button-outline:hover, .button-map:hover { background: var(--ice); }
.detail-booking { background: var(--on-dark); color: var(--navy); }
.detail-booking:hover { background: var(--white); }
.hero .button-outline { background: var(--white); }
.hero .button-outline:hover { background: var(--ice); }
.hero-photo {
  background: radial-gradient(ellipse at 48% 27%, #fbfdff 0%, #e3eff7 67%, #d8e7f3 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.hero-photo img { width: 100%; }
.quick-info { background: var(--ice); border-bottom: 1px solid var(--line); }
.quick-inner { display: grid; grid-template-columns: 1fr 1fr 1.48fr; }
.quick-inner > * { min-width: 0; padding: 20px 28px; }
.quick-inner > *:first-child { padding-inline-start: 0; }
.quick-inner > * + * { border-inline-start: 1px solid var(--line); }
.quick-inner a:hover strong { color: var(--blue); }
.quick-inner > * > span { display: block; color: var(--muted); font-size: 14px; font-weight: 600; }
.quick-inner strong { display: block; margin-top: 3px; font-size: clamp(16px, 2vw, 23px); line-height: 1.25; letter-spacing: -.03em; }
.quick-inner strong span { margin-left: 5px; font-size: .78em; color: var(--blue); }
.clinic-update { border-bottom: 1px solid var(--line); background: var(--surface); }
.clinic-update-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-block: 15px; }
.clinic-update p { color: var(--muted); font-size: 15px; }
.clinic-update .text-link { margin-inline-start: auto; }

.home-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-block: clamp(36px, 5vw, 68px); }
.home-links a {
  position: relative;
  min-width: 0;
  padding: 18px 36px 18px 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.home-links a:hover { border-color: var(--line-accent); background: var(--ice); }
.home-links strong { display: block; margin-bottom: 4px; font-size: 19px; letter-spacing: -.035em; }
.home-links span { color: var(--muted); font-size: 14px; word-break: keep-all; }
.home-links .home-link-arrow { position: absolute; top: 18px; right: 16px; color: var(--blue); }

.section { padding-block: clamp(54px, 6vw, 90px); }
.section-heading { margin-bottom: 32px; }
.page-title { font-size: clamp(32px, 4vw, 49px); font-weight: 810; letter-spacing: -.045em; }
.page-lead { margin-top: 12px; color: var(--muted); font-size: 17px; }
.content-block > h2 { margin-bottom: 17px; font-size: clamp(23px, 2.6vw, 30px); }
.content-block + .content-block { margin-top: clamp(36px, 5vw, 62px); }
.care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.care-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
a.care-card:hover, .care-card:target { border-color: var(--line-accent); background: var(--ice); }
.care-card h3 { font-size: 23px; font-weight: 760; }
.care-card p { margin-block: 9px 17px; color: var(--muted); font-size: 15px; }
.card-link, .text-link { color: var(--blue); font-size: 14px; font-weight: 720; }
.care-card .card-link { margin-top: auto; }
.card-link span, .text-link span { margin-inline-start: 4px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.expand-icon { display: inline-block; font-size: 1.15em; transition: transform .15s ease; }
details[open] .expand-icon { transform: rotate(45deg); }

.detail-hero { padding-block: clamp(28px, 5vw, 62px); background: var(--navy); color: var(--white); }
.detail-back { display: inline-block; margin-bottom: 18px; color: var(--on-dark); font-weight: 680; }
.detail-back span { margin-inline-end: 6px; }
.detail-back:hover, .detail-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-hero p { max-width: 66ch; margin-top: 15px; color: var(--on-dark); font-size: clamp(16px, 1.7vw, 20px); }
.detail-booking { margin-top: 20px; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr);
  gap: clamp(26px, 5vw, 70px);
  padding-block: clamp(32px, 5vw, 66px);
}
.detail-section + .detail-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.detail-section h2 { margin-bottom: 11px; font-size: clamp(22px, 2.2vw, 30px); }
.detail-section h3 { margin-block: 17px 5px; font-size: 18px; }
.detail-section p { color: var(--muted); line-height: 1.72; }
.detail-sidebar { display: grid; align-content: start; gap: 12px; }
.detail-panel { padding: clamp(17px, 2vw, 25px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.detail-panel h2 { margin-bottom: 10px; font-size: 20px; }
.detail-panel li { overflow-wrap: break-word; word-break: keep-all; }
.detail-prep, .detail-links { margin: 0; padding: 0; color: var(--muted); }
.detail-prep { padding-inline-start: 1.1em; font-size: 15px; }
.detail-prep li + li { margin-top: 6px; }
.detail-panel .button { margin-top: 16px; }
.detail-links { list-style: none; }
.detail-links li + li { border-top: 1px solid var(--line); }
.detail-links a { display: block; padding-block: 9px; color: var(--blue); font-size: 15px; font-weight: 650; }
.detail-links li:last-child a { padding-bottom: 0; }
.detail-links span { margin-inline-start: 4px; }
.detail-notice { margin-block: 18px 24px; padding: 12px 16px; border-inline-start: 3px solid #b36512; background: #fff5e7; color: #643909; }
.page-photo { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.page-photo img { width: 100%; }
.page-photo figcaption { padding: 11px 14px; color: var(--muted); font-size: 14px; font-weight: 680; }

.about-greeting-section { background: var(--ice); }
.about-section { padding-block: clamp(40px, 6vw, 84px); }
.about-section h2 { font-size: clamp(26px, 3vw, 40px); color: var(--navy); }
.about-section h3 { font-size: clamp(19px, 1.85vw, 24px); }
.about-section p { color: var(--muted); line-height: 1.7; }
.about-greeting-layout {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(16px, 4vw, 50px);
}
.about-story p + p { margin-top: 10px; }
.about-greeting-photo { width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.about-greeting-copy { max-width: 700px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.85; }
.about-greeting-copy h1 { margin-bottom: 22px; color: var(--navy); font-size: clamp(32px, 3.8vw, 46px); letter-spacing: -.04em; }
.about-greeting-copy p + p { margin-top: 16px; }
.about-story .text-link {
  display: inline-block;
  margin-top: 20px;
}
.about-care-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-care-links a {
  display: block;
  padding: 9px 13px;
  border: 1px solid var(--line-accent);
  border-radius: 7px;
  color: var(--blue);
  font-weight: 650;
}
.about-care-links a:hover { background: var(--ice); }
.about-equipment-list {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  padding: 2px 2px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.about-equipment-item {
  flex: 0 0 clamp(220px, 25vw, 270px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  scroll-snap-align: start;
}
.about-equipment-item img {
  display: block;
  width: 100%;
  height: 240px;
  padding: 14px;
  object-fit: contain;
  background: var(--ice);
}
.about-equipment-item h3 { margin: 16px; font-size: 1.05rem; }
.about-visit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 28px;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 12px;
  background: var(--ice);
}
.about-visit p { margin-top: 6px; }
@media (max-width: 800px) {
  .about-greeting-layout, .about-story { grid-template-columns: 1fr; }
  .about-greeting-photo { max-width: 260px; margin-inline: auto; }
  .about-equipment-list { gap: 12px; margin-top: 18px; }
  .about-equipment-item { flex-basis: min(78vw, 270px); }
}
.equipment-photo { max-width: 480px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

.doctors, .visit { background: var(--surface); }
.doctor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.doctor-card {
  display: grid;
  grid-template-columns: minmax(130px, .75fr) 1fr;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.doctor-photo { display: flex; align-self: stretch; align-items: end; overflow: hidden; background: #e2edf5; }
.doctor-photo img { width: 100%; height: auto; aspect-ratio: 1; }
.doctor-info { align-self: center; padding: 24px; }
.doctor-role { color: var(--blue); font-size: 14px; font-weight: 740; margin-bottom: 6px; }
.doctor-info h2 { font-size: clamp(29px, 3.3vw, 41px); font-weight: 800; }
.doctor-school { margin-block: 12px 13px; color: var(--muted); font-size: 15px; }
.doctor-bio-title { padding-top: 11px; border-top: 1px solid var(--line); color: var(--blue); font-size: 14px; font-weight: 730; }
.doctor-info ul { margin: 0; padding-inline-start: 17px; color: var(--muted); font-size: 14px; }
.doctor-info li + li { margin-top: 4px; }
.doctor-schedule { grid-column: 1 / -1; padding: clamp(12px, 2vw, 24px); border-top: 1px solid var(--line); }
.doctor-schedule table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: center; }
.doctor-schedule caption { margin-bottom: 9px; text-align: left; font-size: 16px; font-weight: 740; }
.doctor-schedule th, .doctor-schedule td { padding: 8px 0; border: 1px solid var(--line); font-size: 13px; }
.doctor-schedule th { background: var(--ice); }
.doctor-schedule td { color: var(--blue); font-weight: 690; }
.doctor-schedule .off-duty { color: var(--muted); background: var(--surface); font-weight: 500; }
.schedule-note { margin-block: 17px 7px; color: var(--muted); font-size: 15px; }
.schedule-note a, .visit-faq dd a { text-decoration: underline; text-underline-offset: 3px; }

.visit-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: 16px; }
.visit-card { min-width: 0; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.visit-card h2 { margin-bottom: 20px; font-size: 26px; font-weight: 760; }
.first-visit { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 24px; margin-bottom: 16px; }
.first-visit h2 { margin-bottom: 12px; }
.first-visit ul { margin: 0; padding-inline-start: 20px; color: var(--muted); }
.first-visit li + li { margin-top: 5px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { font-weight: 720; font-variant-numeric: tabular-nums; white-space: nowrap; }
.visit-note { margin-top: 12px; color: var(--muted); font-size: 14px; }
.visit-link { display: inline-block; margin-top: 15px; color: var(--blue); font-weight: 740; }
.visit-link:hover { text-decoration: underline; }
.visit-notice { margin-top: 20px; padding: 13px 15px; background: var(--ice); border-radius: 8px; }
.visit-notice h3 { margin-bottom: 5px; font-size: 17px; }
.visit-notice p { margin-bottom: 5px; font-size: 14px; color: var(--muted); }
.directions address { font-size: 18px; font-weight: 700; }
.directions .visit-note { margin-top: 2px; }
.map { width: 100%; margin-block: 19px 16px; border-radius: 8px; }
.parking { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 20px; }
.parking span { color: var(--muted); font-size: 14px; }
.visit-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.visit-faq { margin-top: 16px; }
.visit-faq dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.visit-faq dl > div { padding-top: 13px; border-top: 1px solid var(--line); }
.visit-faq dl > div:target { border-top-color: var(--blue); }
.visit-faq dt { margin-bottom: 5px; font-weight: 740; }
.visit-faq dd { color: var(--muted); }
.visit-faq dd a { color: var(--blue); }

.fee-lookup { max-width: 510px; margin-bottom: 26px; }
.fee-lookup label { display: block; margin-bottom: 6px; font-weight: 740; }
.fee-lookup input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-accent); border-radius: 8px; color: var(--ink); background: var(--surface); font: inherit; }
.fee-lookup input:focus-visible, .fee-table:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.fee-lookup [role="status"] { margin-top: 5px; color: var(--muted); font-size: 14px; }
.fee-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 26px 20px; }
.fee-group { min-width: 0; }
.fee-group h2 { margin-bottom: 12px; font-size: 23px; }
.fee-note { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.fee-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.fee-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fee-table th, .fee-table td { padding: 11px 12px; text-align: right; white-space: nowrap; }
.fee-table th:first-child { text-align: left; }
.fee-table thead { background: var(--ice); }
.fee-table tbody tr + tr { border-top: 1px solid var(--line); }
.fee-table td { color: var(--muted); font-variant-numeric: tabular-nums; }
.fee-contact { margin-top: 30px; color: var(--muted); }
.fee-contact a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.fee-scroll-note { display: none; }

.blog-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.text-link { padding-block: 5px; }
.posts { border-top: 1px solid var(--ink); }
.posts a { display: grid; grid-template-columns: 105px 1fr 22px; align-items: center; gap: 18px; min-height: 68px; padding: 13px 8px; border-bottom: 1px solid var(--line); }
.posts a:hover, .posts a:target { background: var(--surface); }
.post-meta { display: flex; flex-direction: column; gap: 3px; }
.post-meta span { color: var(--blue); font-size: 13px; font-weight: 720; }
.posts time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; }
.posts h3 { font-size: 18px; font-weight: 690; line-height: 1.4; letter-spacing: -.025em; }
.posts a > span { justify-self: end; color: var(--blue); }
.site-footer { background: var(--navy); color: var(--on-dark); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 113px; padding-block: 22px; }
.footer-inner img { width: 179px; }
.footer-inner address { font-size: 14px; }
.footer-inner a { display: inline-block; margin-inline-start: 12px; color: white; }
.footer-inner a:hover { text-decoration: underline; }
.mobile-actions { display: none; }

@media (max-width: 960px) {
  .container { width: calc(100% - 56px); }
  .header-inner { gap: 16px; }
  .brand img { width: 175px; }
  .header-inner nav { gap: 12px; }
  .header-phone { font-size: 14px; padding-inline: 11px; }
  .hero-inner { min-height: 405px; }
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fee-groups { grid-template-columns: minmax(0, 1fr); }
  .first-visit { grid-template-columns: 1fr; }
  .doctor-card { grid-template-columns: minmax(100px, .62fr) 1fr; }
  .doctor-info { padding: 18px; }
}

@media (max-width: 850px) {
  :root { --header-height: 97px; }
  .header-inner { flex-wrap: wrap; gap: 0 12px; align-content: space-between; padding-top: 8px; }
  .brand { display: flex; align-items: center; min-height: 40px; }
  .brand img { width: 165px; }
  .header-inner nav { order: 2; flex: 0 0 100%; justify-content: space-between; gap: 7px; }
  .header-inner nav a { font-size: 14px; }
  .header-phone { font-size: 13px; padding: 5px 9px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 36px); }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 25px; padding-block: 34px 20px; }
  .hero-location { font-size: 14px; margin-bottom: 12px; }
  h1 { font-size: clamp(36px, 9.2vw, 57px); }
  .hero h1 { font-size: clamp(38px, 9.6vw, 60px); }
  .hero-description { margin-top: 16px; }
  .actions { margin-top: 23px; }
  .hero-photo { border-radius: 12px; }
  .quick-inner { grid-template-columns: repeat(2, 1fr); }
  .quick-inner > * { padding: 12px 15px; }
  .quick-inner > *:last-child { grid-column: 1 / -1; border-inline-start: 0; border-top: 1px solid var(--line); padding-inline-start: 0; }
  .quick-inner strong { font-size: 18px; }
  .quick-inner > * > span { font-size: 13px; }
  .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .home-links a { padding: 14px 28px 14px 13px; }
  .home-links strong { font-size: 17px; }
  .home-links span { font-size: 13px; }
  .home-links .home-link-arrow { top: 14px; right: 11px; }
  .section { padding-block: 56px; }
  .section-heading { margin-bottom: 23px; }
  .care-grid { gap: 9px; }
  .care-card { padding: 15px; }
  .care-card h3 { font-size: 19px; }
  .care-card p { margin-block: 7px 11px; font-size: 14px; }
  .card-link { font-size: 13px; }
  .detail-layout { grid-template-columns: 1fr; }
  .doctor-grid, .visit-grid, .visit-faq dl { grid-template-columns: 1fr; gap: 12px; }
  .clinic-update .text-link { margin-inline-start: 0; }
  .doctor-card { grid-template-columns: minmax(105px, .58fr) 1fr; }
  .doctor-photo { position: relative; }
  .doctor-photo img { position: absolute; inset: 0; height: 100%; max-height: 218px; object-fit: cover; object-position: center top; }
  .blog-heading { flex-wrap: wrap; gap: 5px; }
  .posts a { grid-template-columns: 1fr 18px; gap: 2px 12px; padding-block: 12px; }
  .post-meta { flex-direction: row; align-items: baseline; gap: 10px; }
  .posts h3 { grid-row: 2; grid-column: 1; font-size: 16px; }
  .posts a > span { grid-row: 1 / span 2; grid-column: 2; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-inner a { margin-inline-start: 0; }
  .mobile-actions {
    display: grid;
    position: fixed;
    inset: auto 0 0;
    z-index: 4;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -1px 10px #152f4922;
    background: var(--navy);
    color: var(--white);
  }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; font-size: 15px; font-weight: 740; }
  .mobile-actions a:first-child { background: var(--on-dark); color: var(--navy); }
  .mobile-actions a:focus-visible { outline-offset: -5px; }
}

@media (max-width: 500px) {
  .care-grid { grid-template-columns: 1fr; }
  .visit-photos { grid-template-columns: 1fr; gap: 12px; }
  .fee-table th, .fee-table td { padding-inline: 8px; }
  #herbal-month :is(th, td) { padding-inline: 5px; font-size: 12px; }
}

@media (max-width: 460px) {
  :root { --header-height: 129px; }
  .header-inner nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 6px;
  }
  .header-inner nav a { min-height: 40px; justify-content: center; }
}

@media (max-width: 385px) {
  .fee-scroll-note { display: block; }
}

@media (max-width: 350px) {
  .doctor-card { grid-template-columns: 100px 1fr; }
  .doctor-info { padding: 14px; }
  .brand img { width: 150px; }
  .header-inner nav { column-gap: 5px; }
  .header-inner nav a { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
