@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&family=Noto+Serif+TC:wght@500;600;700;900&display=swap");

:root {
  --gold: #be9459;
  --gold-dark: #8e6838;
  --ink: #2e2925;
  --muted: #6d6258;
  --line: #e8ded2;
  --paper: #fffaf3;
  --soft: #f6efe6;
  --white: #ffffff;
  --max: 1180px;
  --wide: 1320px;
  --shadow: 0 16px 42px rgba(58, 39, 19, .08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans TC", "Source Han Sans TC", "Source Han Sans", "思源黑體", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: #fffdf9;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
main { overflow: hidden; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 22px rgba(55, 40, 26, .04);
}
.brand img { width: clamp(132px, 13vw, 158px); }
.menu-toggle {
  display: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  overflow: visible;
  white-space: nowrap;
  font-size: 15px;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav .nav-group {
  position: relative;
  display: flex;
  align-items: center;
}
.site-nav a {
  padding: 8px 2px;
  color: #473c33;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold-dark); }
.site-nav .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-nav .nav-parent::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .55;
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  z-index: 30;
  display: grid;
  min-width: 178px;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(154, 111, 53, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 46px rgba(61, 42, 22, .14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-submenu::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}
.site-nav .nav-submenu a {
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  color: #51483f;
}
.site-nav .nav-submenu a:hover {
  background: #fbf5ed;
  color: var(--gold-dark);
}
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.call-link,
.hero-actions a,
.footer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: white;
  font-weight: 600;
  border-radius: 6px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.call-link:hover,
.hero-actions a:hover,
.footer-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(128, 87, 36, .16);
}
.home-hero {
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(54px, 8vw, 106px) max(clamp(22px, 6vw, 96px), calc((100vw - var(--wide)) / 2 + 34px));
  background:
    linear-gradient(120deg, rgba(255,250,243,.94), rgba(255,255,255,.72)),
    url("/wp-content/uploads/2022/07/bg-texture.jpeg") center/cover;
}
.home-hero img {
  width: min(360px, 64vw);
  justify-self: center;
  filter: drop-shadow(0 24px 32px rgba(75,54,27,.12));
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.25; margin: 0 0 16px; font-weight: 650; }
h1,
h2,
.home-hero h1,
.page-hero h1,
.about-hero h1,
.treatment-hero h1,
.doctor-detail-copy h1,
.section-heading h2,
.story-copy h1 {
  font-family: "Noto Serif TC", "Source Han Serif TC", "Source Han Serif", "思源宋體", "Songti TC", "PMingLiU", serif;
}
h1 { font-size: clamp(34px, 5.2vw, 64px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 22px; }
.hero-copy p:not(.eyebrow),
.page-hero p,
.section-heading p,
.contact-band p {
  color: var(--muted);
  max-width: 680px;
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions a:first-child { background: var(--ink); border-color: var(--ink); }
.notice-bar {
  padding: 12px 22px;
  text-align: center;
  color: white;
  background: var(--gold);
  font-weight: 700;
}
.section-wrap,
.content-shell {
  padding: clamp(42px, 7vw, 86px) clamp(22px, 6vw, 96px);
}
.section-wrap:not(.soft),
.content-shell {
  max-width: var(--wide);
  margin-inline: auto;
}
.section-wrap.soft {
  background: var(--paper);
}
.section-wrap.soft > * {
  max-width: var(--wide);
  margin-inline: auto;
}
.section-heading { margin-bottom: 26px; }
.treatment-grid,
.feature-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.treatment-card,
.feature-card,
.link-card {
  border: 1px solid var(--line);
  background: white;
  padding: 20px;
  border-radius: 8px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.treatment-card:hover,
.feature-card:hover,
.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.treatment-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 12px;
}
.treatment-card span,
.feature-card strong,
.link-card span {
  display: block;
  color: var(--ink);
  font-weight: 700;
}
.feature-card span { display: block; color: var(--muted); margin-top: 6px; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.post-card {
  display: grid;
  grid-template-rows: 220px minmax(142px, auto);
  min-height: 350px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.post-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.post-card-media {
  display: block;
  background: var(--paper);
  overflow: hidden;
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  padding: 18px;
}
.post-card-copy strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}
.post-card-copy em {
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 700;
}
.story-shell {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 720px);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  justify-content: center;
  padding: clamp(42px, 7vw, 86px) clamp(22px, 6vw, 96px);
  background: linear-gradient(135deg, var(--paper), white 58%);
}
.story-media {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 12px;
}
.story-media > img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: white;
}
.story-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.story-thumbs figure {
  aspect-ratio: 1;
  margin: 0;
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
}
.story-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-media-empty {
  min-height: 360px;
  align-items: center;
  justify-items: center;
  border: 1px solid var(--line);
  background: white;
  color: var(--gold-dark);
  font-weight: 700;
}
.story-copy {
  max-width: 760px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}
.story-copy h1 {
  color: var(--gold-dark);
  font-size: clamp(28px, 4vw, 46px);
}
.story-text {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.story-text p {
  margin: 0;
  color: #493f37;
  font-size: 18px;
  line-height: 1.9;
}
.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.story-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: white;
  font-weight: 700;
}
.story-actions a:last-child {
  color: white;
  background: var(--gold);
}
.doctor-grid {
  display: grid;
  gap: 24px;
}
.doctor-card {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(58, 39, 19, .05);
}
.doctor-photo {
  display: block;
  min-height: 260px;
  background: var(--paper);
  overflow: hidden;
}
.doctor-photo img,
.doctor-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.doctor-info h2 {
  color: var(--gold-dark);
  font-size: clamp(24px, 3vw, 34px);
}
.doctor-info p,
.doctor-detail-copy p {
  margin-top: 0;
  color: var(--muted);
  font-size: 17px;
}
.doctor-info ul,
.doctor-detail-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  column-gap: clamp(20px, 4vw, 42px);
  row-gap: 6px;
  margin: 10px 0 22px;
  padding-left: 18px;
  color: #51473e;
}
.doctor-detail-copy ul {
  max-width: 760px;
}
.doctor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.doctor-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: white;
  font-weight: 700;
}
.doctor-actions a:first-child,
.doctor-actions a.is-current {
  color: white;
  background: var(--gold);
}
.doctor-detail-hero {
  display: grid;
  grid-template-columns: minmax(240px, 430px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 7vw, 84px) clamp(22px, 6vw, 96px);
  background: linear-gradient(135deg, var(--paper), white);
  border-bottom: 1px solid var(--line);
}
.doctor-detail-photo {
  min-height: 340px;
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
}
.doctor-detail-copy h1 {
  color: var(--gold-dark);
  font-size: clamp(34px, 5vw, 58px);
}
.doctor-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--paper), var(--soft));
  color: var(--gold-dark);
  font-size: 46px;
  font-weight: 700;
}
.about-hero,
.treatment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 470px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) max(clamp(22px, 6vw, 96px), calc((100vw - var(--wide)) / 2 + 34px));
  background: linear-gradient(135deg, var(--paper), white);
  border-bottom: 1px solid var(--line);
}
.about-hero h1,
.treatment-hero h1 {
  color: var(--gold-dark);
}
.about-hero p,
.treatment-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}
.about-hero img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.treatment-hero img {
  width: min(190px, 56vw);
  justify-self: center;
  object-fit: contain;
}
.about-points,
.equipment-grid,
.review-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.about-point,
.equipment-card,
.review-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(58, 39, 19, .045);
}
.about-point h2,
.equipment-card h2,
.review-card h2 {
  color: var(--gold-dark);
  font-size: 22px;
}
.about-point p,
.equipment-card p,
.review-card p {
  color: #493f37;
  margin: 0;
}
.equipment-card {
  overflow: hidden;
  padding: 0;
}
.equipment-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.equipment-card div {
  padding: 22px;
}
.equipment-card h2 {
  margin-top: 0;
}
.treatment-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.treatment-nav a {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: white;
  color: var(--ink);
  font-weight: 700;
}
.treatment-nav a.is-current {
  background: linear-gradient(180deg, white, var(--paper));
  color: var(--gold-dark);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.treatment-nav img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.treatment-sections {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin-inline: auto;
}
.treatment-section {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(58, 39, 19, .04);
}
.treatment-section h2 {
  color: var(--gold-dark);
  font-size: clamp(24px, 3vw, 34px);
}
.treatment-section p {
  margin: 10px 0 0;
  color: #493f37;
  font-size: 17px;
}
.treatment-case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.treatment-case-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: white;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(127, 87, 38, .14);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.treatment-case-actions a:hover {
  transform: translateY(-1px);
  background: var(--gold-dark);
  box-shadow: 0 16px 34px rgba(127, 87, 38, .2);
}
.case-card {
  display: grid;
  min-height: 176px;
  align-content: space-between;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.case-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.case-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
}
.case-card span {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
}
.case-card em,
.review-card span {
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 700;
}
.case-detail-hero {
  display: grid;
  gap: 12px;
}
.case-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.case-category-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--gold-dark);
  font-weight: 700;
}
.case-category-nav a.is-current {
  border-color: var(--gold);
  background: var(--gold);
  color: white;
}
.case-story-list {
  display: grid;
  gap: 22px;
  padding: clamp(34px, 6vw, 76px) clamp(22px, 6vw, 96px);
  background: #fffdf9;
  max-width: var(--wide);
  margin-inline: auto;
}
.case-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 38px);
  align-items: start;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(58, 39, 19, .045);
  overflow: hidden;
}
.case-story::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}
.case-story:nth-child(even) {
  background: linear-gradient(135deg, var(--paper), white 74%);
}
.case-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-self: start;
}
.case-media figure {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
}
.case-media figure:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 11;
}
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}
.case-media-empty {
  min-height: 260px;
  align-items: center;
  justify-items: center;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--gold-dark);
  font-weight: 700;
}
.case-copy h2 {
  color: var(--gold-dark);
  font-size: clamp(23px, 2.7vw, 34px);
}
.case-subtitle {
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}
.case-text {
  display: grid;
  gap: 12px;
}
.case-text p {
  margin: 0;
  color: #493f37;
  font-size: 16.5px;
  line-height: 1.88;
}
.stars {
  color: #d6a12e;
  font-size: 20px;
  letter-spacing: 0;
}
.contact-layout,
.schedule-layout {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: start;
  padding: clamp(42px, 7vw, 86px) clamp(22px, 6vw, 96px);
  max-width: var(--wide);
  margin-inline: auto;
}
.schedule-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  max-width: 1480px;
}
.contact-panel,
.schedule-actions {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}
.contact-panel h2,
.schedule-actions h2 {
  color: var(--gold-dark);
}
.contact-panel p,
.schedule-actions p {
  color: #493f37;
  font-size: 17px;
}
.contact-actions,
.schedule-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-actions a,
.schedule-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: white;
  font-weight: 700;
}
.contact-actions a:nth-child(2),
.schedule-actions a:nth-of-type(2) {
  background: white;
  color: var(--gold-dark);
}
.contact-layout > img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(58, 39, 19, .045);
}
.schedule-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: clamp(10px, 1.6vw, 18px);
  box-shadow: var(--shadow);
}
.schedule-card img {
  width: 100%;
  max-height: none;
  object-fit: contain;
  display: block;
}
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  gap: 30px;
  align-items: center;
  padding: clamp(42px, 7vw, 86px) max(clamp(22px, 6vw, 96px), calc((100vw - var(--wide)) / 2 + 34px));
  border-top: 3px solid var(--gold);
  background: var(--soft);
}
.page-hero {
  padding: clamp(46px, 7vw, 82px) max(clamp(22px, 6vw, 96px), calc((100vw - var(--wide)) / 2 + 34px));
  background: linear-gradient(135deg, var(--paper), white);
  border-bottom: 1px solid var(--line);
}
.page-hero.compact h1 { font-size: clamp(31px, 4.6vw, 54px); max-width: 960px; }
.article-flow {
  max-width: 860px;
  margin: 0 auto 32px;
}
.article-flow p,
.article-flow li,
.article-flow blockquote {
  font-size: 18px;
  color: #493f37;
}
.article-flow blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
}
.media-grid {
  column-width: 300px;
  column-count: 3;
  column-gap: 16px;
  margin: 34px 0;
}
.media-grid figure {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.media-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.image-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 8px;
}
.image-pagination a {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--gold-dark);
  font-weight: 700;
}
.image-pagination a[aria-current="page"] {
  border-color: var(--gold);
  background: var(--gold);
  color: white;
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 24px 0 8px;
}
.load-more {
  min-height: 42px;
  padding: 8px 22px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.load-more:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}
.related-links {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legacy-note {
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
}
.legacy-note a { color: var(--gold-dark); text-decoration: underline; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 34px clamp(22px, 6vw, 96px);
  color: white;
  background: #302b27;
}
.site-footer img { width: 170px; margin-bottom: 12px; filter: brightness(1.15); }
.site-footer p { margin: 4px 0; color: #e9ded1; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }

/* clean38 visual direction */
:root {
  --gold: #c79a55;
  --gold-dark: #9a6f35;
  --ink: #25211d;
  --muted: #746a60;
  --line: #ded5ca;
  --paper: #f7f4ef;
  --soft: #ece7df;
  --charcoal: #1e1b18;
  --shadow: 0 22px 60px rgba(33, 25, 18, .11);
}
body {
  background: var(--paper);
}
.site-header {
  min-height: 74px;
  background: rgba(255, 255, 255, .9);
  border-bottom-color: rgba(199, 154, 85, .22);
  box-shadow: 0 12px 36px rgba(32, 25, 18, .08);
}
.site-nav a {
  color: #403832;
}
.site-nav a:hover {
  border-bottom-color: var(--gold);
}
.nav-submenu {
  border-color: rgba(154, 111, 53, .2);
}
.call-link,
.hero-actions a,
.footer-actions a,
.contact-actions a,
.schedule-actions a {
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(127, 87, 38, .16);
}
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 74px);
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  color: var(--ink);
  padding-top: clamp(74px, 9vw, 128px);
  padding-bottom: clamp(54px, 8vw, 100px);
  background:
    radial-gradient(circle at 82% 20%, rgba(199, 154, 85, .24), transparent 28%),
    radial-gradient(circle at 16% 78%, rgba(154, 111, 53, .12), transparent 30%),
    linear-gradient(90deg, rgba(255, 252, 247, .96), rgba(255, 252, 247, .86) 54%, rgba(255, 252, 247, .7)),
    url("/wp-content/uploads/2022/02/banner3.jpg") center/cover;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: auto max(22px, calc((100vw - var(--wide)) / 2 + 34px)) 28px auto;
  width: min(42vw, 420px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 111, 53, .72));
  z-index: -1;
}
.home-hero .hero-copy {
  max-width: 760px;
}
.home-hero h1 {
  color: #8b642f;
  font-size: clamp(44px, 8.4vw, 108px);
  font-weight: 560;
  letter-spacing: 0;
  margin-bottom: 18px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}
.home-hero .eyebrow {
  color: var(--gold-dark);
}
.home-hero .hero-copy p:not(.eyebrow) {
  color: #584d43;
  font-size: clamp(18px, 2vw, 22px);
}
.home-hero > img {
  position: absolute;
  right: max(22px, calc((100vw - var(--wide)) / 2 + 34px));
  top: clamp(100px, 18vw, 190px);
  width: min(30vw, 310px);
  opacity: .95;
  filter: drop-shadow(0 24px 44px rgba(70, 46, 18, .18));
}
.hero-actions a:first-child {
  background: rgba(37, 33, 29, .92);
  border-color: rgba(37, 33, 29, .92);
  color: white;
}
.home-hero .hero-actions a:first-child {
  background: rgba(255, 252, 247, .76);
  border-color: rgba(154, 111, 53, .62);
  color: #7f5a29;
  box-shadow: 0 12px 28px rgba(127, 87, 38, .12);
}
.hero-actions a:last-child {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: min(760px, 100%);
  margin-top: clamp(34px, 5vw, 60px);
  border-top: 1px solid rgba(154, 111, 53, .28);
  border-bottom: 1px solid rgba(154, 111, 53, .22);
}
.hero-proof span {
  flex: 1 1 170px;
  display: grid;
  gap: 2px;
  padding: 16px 18px 16px 0;
  color: var(--ink);
}
.hero-proof strong {
  font-size: 18px;
  font-weight: 650;
}
.hero-proof em {
  color: rgba(154, 111, 53, .86);
  font-style: normal;
  font-size: 12px;
  text-transform: uppercase;
}
.notice-bar {
  background: var(--charcoal);
  color: #f1dfc0;
  letter-spacing: 0;
}
.section-wrap,
.content-shell {
  background: transparent;
}
.section-heading {
  display: block;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  text-align: left;
}
.section-heading h2 {
  color: var(--ink);
  font-size: clamp(30px, 4.6vw, 52px);
  max-width: none;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
.clinic-gallery-section {
  background: #fffaf3;
}
.clinic-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.clinic-photo-card {
  display: grid;
  grid-template-rows: 250px auto;
  overflow: hidden;
  border: 1px solid rgba(154, 111, 53, .18);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 38px rgba(89, 65, 36, .07);
}
.clinic-photo-card:first-child {
  grid-column: span 2;
  grid-template-rows: 430px auto;
}
.clinic-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--paper);
}
.clinic-photo-card div {
  padding: 18px 20px 20px;
}
.clinic-photo-card h3 {
  margin: 0 0 8px;
  color: #8b642f;
  font-size: 20px;
  font-weight: 800;
}
.clinic-photo-card p {
  margin: 0;
  color: #665a4f;
  line-height: 1.75;
}
.treatment-grid,
.feature-grid,
.post-grid,
.case-grid,
.review-grid,
.about-points,
.equipment-grid {
  gap: 22px;
}
.treatment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.treatment-card,
.feature-card,
.link-card,
.post-card,
.case-card,
.review-card,
.about-point,
.equipment-card,
.doctor-card,
.treatment-section,
.case-story,
.story-copy,
.contact-panel,
.schedule-actions,
.schedule-card {
  border-color: rgba(72, 54, 36, .12);
  box-shadow: var(--shadow);
}
.treatment-card,
.feature-card,
.case-card,
.review-card,
.about-point,
.equipment-card {
  background: rgba(255, 255, 255, .86);
}
.treatment-card {
  min-height: 210px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
  border-top: 3px solid var(--gold);
}
.treatment-card img {
  width: 76px;
  height: 76px;
}
.feature-card {
  min-height: 176px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.page-hero,
.about-hero,
.treatment-hero,
.doctor-detail-hero {
  background:
    linear-gradient(120deg, rgba(255, 252, 247, .98), rgba(247, 240, 229, .88) 58%, rgba(255, 255, 255, .94)),
    radial-gradient(circle at 16% 22%, rgba(199, 154, 85, .18), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(154, 111, 53, .12), transparent 32%);
  color: var(--ink);
  border-bottom: 1px solid rgba(154, 111, 53, .18);
}
.doctor-detail-hero {
  grid-template-columns: minmax(260px, 380px) minmax(0, 720px);
  justify-content: center;
}
.page-hero h1,
.about-hero h1,
.treatment-hero h1,
.doctor-detail-copy h1 {
  color: #8b642f;
}
.page-hero p,
.about-hero p,
.treatment-hero p,
.doctor-detail-copy p {
  color: #5c5147;
}
.page-hero .eyebrow,
.about-hero .eyebrow,
.treatment-hero .eyebrow,
.doctor-detail-copy .eyebrow {
  color: var(--gold-dark);
}
.about-hero img {
  border-color: rgba(154, 111, 53, .18);
}
.treatment-hero img {
  filter: drop-shadow(0 18px 28px rgba(127, 87, 38, .16));
}
.treatment-nav {
  gap: 10px;
  padding: 14px max(clamp(18px, 5vw, 72px), calc((100vw - var(--wide)) / 2 + 34px));
  background: #fffaf3;
  border-top: 1px solid rgba(154, 111, 53, .14);
  border-bottom: 1px solid rgba(154, 111, 53, .14);
}
.treatment-nav a {
  min-height: 118px;
  border: 1px solid rgba(154, 111, 53, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(89, 65, 36, .06);
}
.treatment-nav a.is-current {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(127, 87, 38, .16);
}
.treatment-nav img {
  width: 48px;
  height: 48px;
}
.case-story-list {
  gap: 28px;
}
.case-story {
  background: rgba(255, 255, 255, .92);
}
.case-story:nth-child(even) {
  background: linear-gradient(135deg, #fff, #f4efe7);
}
.case-media figure {
  background: #f8f6f2;
}
.case-copy h2,
.doctor-info h2,
.treatment-section h2,
.about-point h2,
.equipment-card h2,
.review-card h2 {
  color: var(--gold-dark);
}
.story-shell {
  background:
    linear-gradient(135deg, rgba(30, 27, 24, .08), rgba(255, 255, 255, .68)),
    var(--paper);
}
.contact-band {
  grid-template-columns: minmax(0, .9fr) minmax(240px, 430px);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, .98), rgba(242, 232, 216, .92)),
    radial-gradient(circle at 88% 18%, rgba(199, 154, 85, .18), transparent 32%);
  color: var(--ink);
  border-top: 1px solid rgba(154, 111, 53, .18);
  border-bottom: 1px solid rgba(154, 111, 53, .16);
}
.contact-band h2 {
  color: #8b642f;
  max-width: 760px;
}
.contact-band p {
  color: #665a4f;
  max-width: 560px;
}
.location-map {
  width: min(100%, 520px);
  justify-self: end;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.contact-layout > .location-map {
  width: min(100%, 620px);
  justify-self: stretch;
}
.traffic-info {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(154, 111, 53, .18);
  color: #665a4f;
}
.traffic-info h3,
.traffic-info strong {
  display: block;
  margin-bottom: 8px;
  color: #8b642f;
  font-size: 16px;
  font-weight: 800;
}
.traffic-info p {
  margin: 6px 0;
  max-width: 720px;
  line-height: 1.85;
}
.traffic-info b {
  color: #3d352e;
}
.site-footer {
  align-items: start;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--ink);
  background: #fffaf3;
  border-top: 1px solid rgba(154, 111, 53, .18);
}
.site-footer img {
  filter: none;
}
.site-footer p {
  color: #665a4f;
}
.footer-info img {
  width: 178px;
  margin-bottom: 0;
}
.footer-info .traffic-info {
  max-width: 760px;
  font-size: 14px;
}
.footer-info .traffic-info p {
  line-height: 1.75;
}
.footer-map-wrap {
  display: grid;
  justify-items: end;
  gap: 16px;
}
.site-footer .footer-map {
  width: min(38vw, 430px);
  padding: 14px;
  background: white;
}
.footer-actions {
  justify-content: end;
}
.footer-actions a {
  border-radius: 999px;
}
@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px 12px;
    padding: 10px 16px 12px;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .brand img {
    width: 132px;
  }
  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    gap: 3px;
    padding: 9px;
    border: 1px solid rgba(154, 111, 53, .22);
    border-radius: 999px;
    background: rgba(255, 250, 243, .94);
    color: #7f5a29;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }
  .menu-toggle em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  .call-link {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    min-height: 40px;
    padding-inline: 14px;
    white-space: nowrap;
  }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 10px;
    margin-top: 2px;
    font-size: 14px;
    border: 1px solid rgba(154, 111, 53, .16);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 36px rgba(89, 65, 36, .1);
  }
  body.menu-open .site-nav {
    display: grid;
  }
  .site-nav .nav-group {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: stretch;
  }
  .site-nav a {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid rgba(154, 111, 53, .18);
    border-radius: 8px;
    background: rgba(255, 250, 243, .9);
    color: #594d43;
  }
  .site-nav .nav-parent {
    justify-content: center;
  }
  .site-nav .nav-parent::after {
    display: none;
  }
  .nav-submenu {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-submenu::before {
    display: none;
  }
  .site-nav .nav-submenu a {
    min-height: 36px;
    padding: 6px 8px;
    border: 1px solid rgba(154, 111, 53, .14);
    background: rgba(247, 241, 232, .72);
    color: #756757;
    font-size: 13px;
  }
  .home-hero,
  .about-hero,
  .treatment-hero,
  .contact-band,
  .contact-layout,
  .schedule-layout,
  .case-story,
  .doctor-card,
  .doctor-detail-hero,
  .story-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .story-media { position: static; }
  .doctor-info ul,
  .doctor-detail-copy ul {
    grid-template-columns: 1fr;
  }
  .doctor-photo,
  .doctor-detail-photo {
    min-height: 240px;
  }
  .home-hero { min-height: auto; }
  .home-hero {
    min-height: 720px;
    align-items: end;
  }
  .home-hero > img {
    top: 92px;
    right: 18px;
    width: 160px;
    opacity: .18;
  }
  .section-heading {
    grid-template-columns: 1fr;
  }
  .clinic-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clinic-photo-card:first-child {
    grid-column: span 2;
    grid-row: auto;
    grid-template-rows: 330px auto;
  }
  .case-story::before {
    inset: 0 0 auto 0;
    width: auto;
    height: 4px;
  }
  .case-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .treatment-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer {
    gap: 18px;
  }
  .footer-map-wrap {
    justify-items: stretch;
  }
  .site-footer .footer-map,
  .contact-band .location-map,
  .contact-layout > .location-map {
    width: 100%;
    justify-self: stretch;
  }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(31px, 10vw, 42px); }
  h2 { font-size: clamp(24px, 7vw, 32px); }
  .brand img { width: 124px; }
  .call-link {
    min-height: 38px;
    padding-inline: 12px;
  }
  .site-nav {
    gap: 8px;
    font-size: 13px;
  }
  .home-hero,
  .about-hero,
  .treatment-hero,
  .page-hero,
  .section-wrap,
  .content-shell,
  .case-story-list,
  .contact-layout,
  .schedule-layout,
  .contact-band {
    padding-left: 18px;
    padding-right: 18px;
  }
  .home-hero {
    min-height: 690px;
    padding-top: 96px;
    padding-bottom: 42px;
  }
  .home-hero h1 {
    font-size: clamp(38px, 11.2vw, 46px);
    line-height: 1.08;
    max-width: 100%;
    white-space: normal;
  }
  .hero-proof {
    margin-top: 30px;
  }
  .hero-proof span {
    flex-basis: 100%;
    padding: 12px 0;
    border-top: 1px solid rgba(154, 111, 53, .14);
  }
  .hero-actions,
  .story-actions,
  .doctor-actions,
  .footer-actions {
    width: 100%;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-actions a,
  .story-actions a,
  .doctor-actions a,
  .footer-actions a {
    min-width: 0;
    justify-content: center;
    text-align: center;
  }
  .story-actions a,
  .doctor-actions a,
  .footer-actions a {
    flex: 1 1 150px;
  }
  .treatment-grid,
  .feature-grid,
  .card-grid,
  .post-grid,
  .clinic-photo-grid,
  .about-points,
  .equipment-grid,
  .review-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .clinic-photo-card,
  .clinic-photo-card:first-child {
    grid-column: auto;
    grid-row: auto;
    grid-template-rows: 240px auto;
  }
  .post-card {
    grid-template-rows: 190px auto;
    min-height: 0;
  }
  .case-story {
    padding: 18px;
  }
  .case-media figure:first-child {
    aspect-ratio: 4 / 3;
  }
  .case-text p,
  .story-text p,
  .article-flow p,
  .article-flow li,
  .article-flow blockquote {
    font-size: 16px;
  }
  .media-grid {
    column-width: 100%;
    column-count: 1;
  }
}

/* clean39 reading and responsive layout refinement */
.site-header {
  gap: clamp(12px, 1.6vw, 22px);
}
.site-nav {
  gap: clamp(10px, 1.25vw, 16px);
  font-size: 14px;
}
.site-nav a {
  padding-block: 9px;
}
.page-hero.compact {
  padding-top: clamp(36px, 5vw, 58px);
  padding-bottom: clamp(34px, 4.8vw, 54px);
}
.page-hero.compact h1 {
  max-width: 820px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.32;
  overflow-wrap: anywhere;
}
.page-hero.compact > p:not(.eyebrow) {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.85;
}
.section-wrap,
.content-shell {
  padding-top: clamp(36px, 5vw, 68px);
  padding-bottom: clamp(42px, 6vw, 78px);
}
.post-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.post-card {
  grid-template-rows: auto minmax(132px, auto);
  min-height: 0;
}
.post-card-media {
  aspect-ratio: 4 / 3;
}
.post-card-copy {
  gap: 12px;
  padding: 18px 19px 20px;
}
.post-card-copy strong {
  font-size: 17px;
  line-height: 1.6;
}
.post-card-copy em {
  font-size: 14px;
}
.story-shell {
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  max-width: 1420px;
  margin: 0 auto;
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(38px, 5vw, 70px);
  padding-bottom: clamp(46px, 6vw, 86px);
}
.story-media > img {
  max-height: min(68vh, 620px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.story-copy {
  max-width: 760px;
  padding: clamp(24px, 3.2vw, 40px);
}
.story-copy h1 {
  max-width: 18em;
  color: var(--gold-dark);
  font-size: clamp(28px, 2.45vw, 38px);
  font-weight: 650;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.story-text {
  gap: 14px;
  margin-top: 18px;
}
.story-text p {
  font-size: 17px;
  line-height: 1.95;
}
.article-flow {
  max-width: 820px;
}
.article-flow h1,
.article-flow h2,
.article-flow h3,
.article-flow h4 {
  color: var(--gold-dark);
  overflow-wrap: anywhere;
}
.article-flow h1 { font-size: clamp(27px, 3vw, 38px); line-height: 1.4; }
.article-flow h2 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.45; }
.article-flow h3,
.article-flow h4 { font-size: clamp(20px, 2vw, 26px); line-height: 1.5; }
.article-flow p,
.article-flow li,
.article-flow blockquote {
  font-size: 17px;
  line-height: 1.95;
}
@media (max-width: 860px) {
  .page-hero.compact {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .story-shell {
    max-width: none;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .story-media > img {
    max-height: none;
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 640px) {
  .page-hero.compact h1 {
    font-size: clamp(29px, 8.2vw, 35px);
    line-height: 1.38;
  }
  .page-hero.compact > p:not(.eyebrow) {
    font-size: 15px;
  }
  .section-wrap,
  .content-shell {
    padding-top: 30px;
    padding-bottom: 48px;
  }
  .post-grid { gap: 16px; }
  .post-card-copy { padding: 16px 17px 18px; }
  .story-copy {
    padding: 22px 20px 24px;
    border-radius: 7px;
  }
  .story-copy h1 {
    font-size: clamp(27px, 7.5vw, 33px);
    line-height: 1.42;
  }
  .story-text p,
  .article-flow p,
  .article-flow li,
  .article-flow blockquote {
    font-size: 16px;
    line-height: 1.9;
  }
  .article-flow h1 { font-size: 29px; }
  .article-flow h2 { font-size: 25px; }
  .article-flow h3,
  .article-flow h4 { font-size: 21px; }
}


/* Case-share third-level flyout (一般牙科 / 其他診療項目), added 2026-07-22 */
.nav-subgroup {
  position: relative;
}
.site-nav .nav-submenu a.nav-subparent {
  display: block;
  position: relative;
  padding-right: 24px;
}
.nav-subparent::after {
  content: "›";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .55;
}
.nav-subsubmenu {
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 31;
  display: none;
  min-width: 178px;
  gap: 2px;
  padding: 10px;
  margin-left: 4px;
  border: 1px solid rgba(154, 111, 53, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 46px rgba(61, 42, 22, .14);
}
.nav-subsubmenu a {
  display: block;
}
.nav-subgroup:hover .nav-subsubmenu,
.nav-subgroup:focus-within .nav-subsubmenu {
  display: block;
}
@media (max-width: 860px) {
  .nav-subgroup {
    grid-column: 1 / -1;
  }
  .nav-subparent::after {
    display: none;
  }
  .nav-subsubmenu {
    position: static;
    display: block;
    min-width: 0;
    padding: 6px 0 0 16px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav-subsubmenu a {
    margin-bottom: 6px;
  }
}

/* 2026-08-12 護理團隊名片 — 沿用 .feature-grid 容器，僅新增卡片樣式（無 hover，非連結） */
.staff-card {
  border: 1px solid var(--line);
  background: white;
  padding: 20px;
  border-radius: 8px;
}
.staff-card strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}
.staff-card span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

/* 2026-08-12 門診時刻表 — 由圖片改為 HTML 表格（新增，未動既有任何一行） */
.tt-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 15px;
}
.tt-table th,
.tt-table td {
  border: 1px solid var(--line);
  padding: 10px 8px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.7;
}
.tt-table thead th {
  background: var(--gold);
  color: white;
  font-weight: 700;
  white-space: nowrap;
}
.tt-table .tt-slot {
  background: var(--paper);
  color: var(--gold-dark);
  font-weight: 700;
  white-space: nowrap;
}
.tt-table .tt-slot span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.tt-table .tt-off { color: var(--muted); }
.tt-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
/* 2026-08-13 客戶要求：手機也顯示完整表格（桌面版比較清楚），
   超出的部分讓使用者左右滑動。⚠ 捲動限制在 .tt-scroll 容器內，頁面本身不橫捲 */
.tt-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tt-scroll .tt-table { min-width: 660px; }
.tt-hint { display: none; }
@media (max-width: 860px) {
  .tt-hint {
    display: block;
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--muted);
  }
  .tt-table { font-size: 14px; }
  .tt-table th,
  .tt-table td { padding: 8px 6px; }
  .tt-table .tt-slot span { font-size: 12px; }
}


/* 2026-08-12 資訊型案例圖（X光紀錄、比較表、直式治療對比照）— 需完整看清，
   不套用「首張大圖＋其餘方形縮圖」的版型。新增規則，未動既有任何一行 */
.case-media.case-media-info {
  grid-template-columns: 1fr;
  gap: 12px;
}
.case-media.case-media-info figure,
.case-media.case-media-info figure:first-child {
  grid-column: 1 / -1;
  aspect-ratio: auto;
}
.case-media.case-media-info img {
  height: auto;
  display: block;
}

/* 2026-08-12 單篇案例頁 — 由分類列表拆出的獨立案例頁。版心沿用 .section-wrap，
   這裡只加閱讀寬度與間距，未動既有任何一行 */
.case-single {
  max-width: 760px;
  margin-inline: auto;
}
.case-single .case-media {
  margin-bottom: 30px;
}
.case-single .case-text p {
  margin: 0 0 16px;
  line-height: 1.95;
}
.case-single-also,
.case-single-back {
  margin-top: 26px;
  font-size: 15px;
  color: var(--muted);
}
.case-single-back {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.case-single-also a,
.case-single-back a {
  color: var(--gold-dark);
  font-weight: 700;
}

/* 2026-08-12 案例列表卡片 — 有獨立單篇頁的案例在列表頁改用可點卡片。新增，未動既有 */
.case-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.case-story-card {
  transition: box-shadow .2s ease, transform .2s ease;
}
.case-card-link:hover .case-story-card {
  box-shadow: 0 16px 40px rgba(58, 39, 19, .13);
  transform: translateY(-2px);
}
.case-excerpt {
  margin: 12px 0 0;
  color: var(--muted);
}
.case-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-dark);
  font-weight: 700;
}

/* 2026-08-12 高頻 hashtag（#假牙 #活動假牙 #植牙 #齒槽骨保存術）連到對應分類頁。
   ⛔ 不另建標籤頁：這四個最高頻的標籤也只有 2-6 則，且七成以上就在對應分類裡，
      另建等於做一份比分類頁還單薄的重複內容 */
.tag-link {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(166, 124, 60, .35);
}
.tag-link:hover { border-bottom-color: var(--gold-dark); }

/* 2026-08-12 首頁區塊左右邊界對齊 —— 既有問題（非本次造成）：
   .section-wrap 的 max-width 含左右內距（內容 1320-192），
   但 .section-wrap.soft 是滿版、子元素 max-width 直接吃 1320（不含內距），
   造成首頁「診療項目」與「服務與故事」兩區左右邊界差 192px。
   這裡只覆蓋 soft 子元素的 max-width，未動既有規則 */
.section-wrap.soft > * {
  max-width: calc(var(--wide) - 2 * clamp(22px, 6vw, 96px));
}

/* 2026-08-13 醫師團隊卡片牆：院長保留原本的大卡（含學經歷），
   其餘醫師改成卡片（照片／姓氏首字塊＋名字＋主治項目），點進去看完整介紹。
   ⚠ 不可使用 .doctor-single 當元件名——那是醫師內頁的 body class */
.dr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.dr-card-link { display: block; text-decoration: none; color: inherit; }
.dr-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.dr-card-link:hover .dr-card {
  box-shadow: 0 16px 40px rgba(58, 39, 19, .13);
  transform: translateY(-2px);
}
.dr-photo {
  aspect-ratio: 4 / 5;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dr-initial span {
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--gold);
  opacity: .55;
}
.dr-body { padding: 18px 20px 22px; }
.dr-body h3 { margin: 0 0 8px; color: var(--gold-dark); font-size: 20px; }
.dr-subject { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.dr-more { display: inline-block; margin-top: 14px; color: var(--gold-dark); font-weight: 700; font-size: 15px; }
.doctor-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  min-height: 300px;
  border-radius: 6px;
}
.doctor-initial span {
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 96px;
  font-weight: 700;
  color: var(--gold);
  opacity: .55;
}
@media (max-width: 860px) { .dr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dr-grid { grid-template-columns: 1fr; } }

/* 2026-08-13 修正：.schedule-card 是 grid 項目，預設 min-width:auto 會被表格撐開，
   導致捲動容器跟著變寬、反而捲不動（頁面也可能被撐出橫向捲軸）。設 min-width:0 才會正確裁切 */
.schedule-layout > .schedule-card { min-width: 0; }
.tt-scroll { max-width: 100%; }

/* 2026-08-19 手機版診療項目一排兩個（客戶指定，比照原網站手機版）。
   只動 .treatment-grid，不影響 .feature-grid 等其他格狀區塊 */
@media (max-width: 640px) {
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 2026-08-19 手機選單關閉鈕：原本 translateY(5px) 不足以讓兩條線交叉於中心
   （實測線1中心18、線3中心24、按鈕中心21，各差 3px，看起來是兩條錯開的斜線而非 ✕）。
   容器是 inline-grid 三列，實際需要位移 8px */
@media (max-width: 860px) {
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* 2026-08-19 手機選單層級視覺區隔（客戶反映一二層分不出來）：
   原本三層都是同色米白圓角框、字重都是 400，第二層縮排(8px)甚至比第一層(10px)小。
   改為 第一層=金底白字當分隔標題 / 第二層=白底深字 / 第三層=淺色底並加深縮排 */
@media (max-width: 860px) {
  .site-nav .nav-parent,
  .site-nav > a {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    font-weight: 700;
    font-size: 15px;
    padding: 11px 12px;
  }
  .site-nav .nav-submenu a {
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    padding: 9px 10px;
  }
  .site-nav .nav-subparent {
    background: #fff;
    font-weight: 700;
  }
  .site-nav .nav-subsubmenu a {
    background: var(--paper);
    color: var(--muted);
    font-size: 13px;
    padding-left: 26px;
  }
}

/* 2026-08-26 診所團隊中繼頁：關於君悅 → 診所團隊 → 再分醫師／護理（客戶指定）*/
.team-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.team-entry {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}
.team-entry:hover { box-shadow: 0 16px 40px rgba(58, 39, 19, .13); transform: translateY(-2px); }
.team-entry-img img { width: 100%; height: auto; display: block; border-radius: 8px; }
.team-entry-body h2 { margin: 0 0 6px; color: var(--gold-dark); font-size: 22px; }
.team-entry-body p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
  .team-entry-grid { grid-template-columns: 1fr; }
  .team-entry { grid-template-columns: 96px minmax(0, 1fr); }
}
