:root {
  --detail-ink: var(--ink, #2c2928);
  --detail-paper: var(--cream, #fff9f2);
  --detail-white: var(--paper, #fffefd);
  --detail-coral: var(--coral, #f25564);
  --detail-orange: var(--orange, #ff8a38);
  --detail-line: var(--line, #eee9e5);
  --detail-muted: var(--muted, #7f7a76);
  --detail-shadow: var(--soft-shadow, 0 5px 18px rgba(111, 77, 54, .09));
}

.hospital-detail-shell {
  color: var(--detail-ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.detail-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  margin-bottom: 10px;
  color: #958e87;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .12em;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #655f5a;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  transition: color .2s ease, transform .2s ease;
}

.detail-back:hover {
  color: var(--detail-coral);
  transform: translateX(-2px);
}

.detail-back svg {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(242, 211, 202, .72);
  border-radius: 16px;
  background: #fff8f2;
  box-shadow: 0 8px 24px rgba(111, 77, 54, .1);
}

.detail-hero-media {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  background: #dedbd5;
}

.detail-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(67, 47, 36, .34));
  pointer-events: none;
}

.detail-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .75, .25, 1);
}

.detail-hero:hover .detail-hero-media img {
  transform: scale(1.025);
}

.detail-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.detail-hero-media figcaption i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8ff61;
  box-shadow: 0 0 0 4px rgba(216, 255, 97, .16);
}

.detail-hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 42px 34px 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 10%, rgba(255, 196, 156, .26), transparent 30%),
    linear-gradient(145deg, #fffdf9 0%, #fff4eb 100%);
  color: var(--detail-ink);
}

.detail-hero-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  width: 44px;
  height: 7px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--detail-coral), var(--detail-orange));
}

.detail-hero-index {
  position: absolute;
  top: -36px;
  right: -4px;
  color: rgba(242, 85, 100, .055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 230px;
  line-height: 1;
  pointer-events: none;
}

.detail-eyebrow {
  position: relative;
  margin: 0 0 18px;
  color: #cf8a64;
  font-family: inherit;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
}

.detail-hero h1 {
  position: relative;
  max-width: 360px;
  margin: 0;
  color: var(--detail-ink);
  font-family: inherit;
  font-size: 34px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.detail-hero h1.is-long-title {
  font-size: 29px;
  line-height: 1.25;
}

.detail-foreign-name {
  position: relative;
  margin: 12px 0 0;
  color: #918780;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.detail-location {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: #6f6660;
  font-size: 14px;
  font-weight: 700;
}

.detail-location svg {
  width: 17px;
  height: 17px;
  color: var(--detail-coral);
}

.detail-contact-dock {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f2ded3;
}

.detail-contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(91, 63, 43, .09);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.detail-contact-icon:hover {
  background: #fff7f1;
  box-shadow: 0 8px 18px rgba(91, 63, 43, .14);
  transform: translateY(-3px);
}

.detail-contact-icon.is-static {
  cursor: default;
  opacity: .72;
}

.detail-contact-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.detail-content-tabs {
  position: sticky;
  top: 70px;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 62px;
  margin: 20px 0 0;
  padding: 6px;
  background-color: rgba(255, 255, 255, .91);
}

.detail-content-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #8a837d;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.detail-content-tabs button::after {
  content: "";
  position: absolute;
  right: 28%;
  bottom: -1px;
  left: 28%;
  height: 3px;
  background: var(--detail-coral);
  transform: scaleX(0);
  display: none;
}

.detail-content-tabs button span {
  color: #c8a18d;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
}

.detail-content-tabs button:hover,
.detail-content-tabs button.active {
  color: var(--detail-coral);
}

.detail-content-tabs button:hover {
  background: #fff7f2;
}

.detail-content-tabs button.active {
  background: linear-gradient(135deg, #ff6b77, #ec4b63);
  color: #fff;
  box-shadow: 0 6px 14px rgba(240, 78, 94, .2);
}

.detail-content-tabs button.active span {
  color: rgba(255, 255, 255, .76);
}

.detail-tab-panel[hidden] {
  display: none;
}

.detail-tab-panel.active {
  animation: detail-panel-in .42s ease both;
}

@keyframes detail-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-section {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 26px;
  padding: 48px 0;
  border-top: 1px solid #f1ebe7;
}

.detail-tab-panel .detail-section:first-child {
  border-top: 0;
}

.single-panel-section {
  padding-top: 54px;
}

.detail-section-head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-content: start;
  gap: 8px;
}

.detail-section-head > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff1e9;
  color: var(--detail-coral);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
}

.detail-section-head p {
  margin: 0 0 5px;
  color: #cf8a64;
  font-family: inherit;
  font-weight: 750;
  font-size: 10px;
  letter-spacing: .11em;
}

.detail-section-head h2 {
  margin: 0;
  color: var(--detail-ink);
  font-family: inherit;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0;
}

.detail-ledger {
  overflow: hidden;
  border: 1px solid #f1e9e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--detail-shadow);
}

.detail-ledger-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--detail-line);
}

.detail-ledger-row > span {
  color: #8c847e;
  font-size: 14px;
}

.detail-ledger-row strong {
  min-width: 0;
  color: #383431;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hours-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hours-cell {
  position: relative;
  min-height: 92px;
  padding: 16px 12px;
  border: 1px solid #f3e8e2;
  border-radius: 12px;
  background: #fffaf6;
}

.hours-cell::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f4aa73;
}

.hours-cell > span {
  display: block;
  color: #8e8781;
  font-size: 13px;
  font-weight: 700;
}

.hours-cell strong {
  display: block;
  margin-top: 9px;
  color: #373330;
  font-size: 14px;
  line-height: 1.45;
}

.hours-cell.hours-closed {
  background: #fff2f2;
}

.hours-cell.hours-closed::after {
  background: var(--detail-coral);
}

.hours-cell.hours-closed strong {
  color: var(--detail-coral);
}

.hours-cell.hours-break {
  grid-column: span 2;
  background: #fff5e8;
}

.detail-prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.detail-prose {
  color: #4d4844;
  font-family: inherit;
  font-size: 16px;
  line-height: 2;
}

.detail-prose::first-letter {
  float: left;
  margin: 7px 8px 0 0;
  color: var(--detail-coral);
  font-size: 46px;
  font-weight: 800;
  line-height: .72;
}

.detail-scope {
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff7f1;
}

.detail-scope > span {
  display: block;
  margin-bottom: 9px;
  color: #df7a48;
  font-size: 13px;
  font-weight: 800;
}

.detail-scope p {
  margin: 0;
  color: #625c57;
  font-size: 14px;
  line-height: 1.8;
}

.treatment-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.treatment-index > span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid #f4e6df;
  border-radius: 10px;
  background: #fff8f4;
  color: #373330;
  font-size: 15px;
  font-weight: 700;
}

.treatment-index > span:nth-child(odd) {
  border-right: 1px solid #f4e6df;
}

.treatment-index i {
  color: var(--detail-coral);
  font-family: inherit;
  font-size: 11px;
  font-style: normal;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  grid-template-rows: repeat(2, 160px);
  gap: 8px;
}

.detail-gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #e7e2dc;
}

.detail-gallery-item:first-child {
  grid-row: 1 / 3;
}

.detail-gallery-item:nth-child(n+4) {
  display: none;
}

.detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .45s ease, transform .6s ease;
}

.detail-gallery-item:hover img {
  filter: saturate(1.05);
  transform: scale(1.035);
}

.feature-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feature-notes article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  padding: 18px;
  border: 1px solid #f1e9e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(91, 63, 43, .06);
}

.feature-notes article:nth-child(odd) {
  border-right: 1px solid #f1e9e4;
}

.feature-notes article:nth-child(even) {
  padding-left: 18px;
}

.feature-notes article > span {
  color: var(--detail-coral);
  font-family: inherit;
  font-size: 11px;
}

.feature-notes h3 {
  margin: 0 0 8px;
  color: #34312e;
  font-size: 16px;
}

.feature-notes p {
  margin: 0;
  color: #6b645f;
  font-size: 14px;
  line-height: 1.75;
}

.price-directory,
.doctor-directory,
.activity-directory {
  overflow: hidden;
  border: 1px solid #f1e9e4;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--detail-shadow);
}

.price-category {
  padding: 24px 20px;
  border-bottom: 1px solid var(--detail-line);
}

.price-category h3 {
  margin: 0;
  font-family: inherit;
  font-size: 19px;
  line-height: 1.45;
}

.price-category h3 span {
  display: block;
  margin-top: 7px;
  color: #aaa29b;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) fit-content(46%);
  gap: 16px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px dotted #d7d1ca;
  color: #514b47;
  font-size: 15px;
}

.price-row > span,
.price-row strong {
  min-width: 0;
}

.price-row:first-child {
  padding-top: 0;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row strong {
  color: var(--detail-coral);
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.doctor-entry {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 20px;
  border-bottom: 1px solid var(--detail-line);
}

.doctor-entry:last-child { border-bottom: 0; }

.doctor-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border: 1px solid #f6d9d1;
  border-radius: 20px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .95), transparent 32%),
    linear-gradient(145deg, #fff2e9, #ffe5e4);
  color: var(--detail-coral);
  box-shadow: 0 6px 16px rgba(111, 77, 54, .09);
}

.doctor-mark::after {
  content: "DR";
  position: absolute;
  right: 7px;
  bottom: 5px;
  color: rgba(242, 85, 100, .28);
  font-size: 9px;
  font-weight: 850;
}

.doctor-mark b {
  font-size: 31px;
  font-weight: 850;
}

.doctor-mark span {
  position: absolute;
  top: 7px;
  left: 8px;
  color: #cf8a64;
  font-size: 10px;
  font-weight: 800;
}

.doctor-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-height: 34px;
}

.doctor-copy h3 {
  margin: 0;
  font-family: inherit;
  font-size: 22px;
}

.doctor-department {
  padding: 4px 9px;
  border-radius: 8px;
  background: #fff1e9;
  color: #e96a43;
  font-size: 12px;
  font-weight: 750;
}

.doctor-summary {
  position: relative;
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fff9f5;
}

.doctor-summary > span {
  display: block;
  margin-bottom: 5px;
  color: #cf8a64;
  font-size: 12px;
  font-weight: 800;
}

.doctor-summary p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #5f5954;
  font-size: 14px;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.doctor-summary.is-expanded p {
  display: block;
  overflow: visible;
}

.doctor-summary button {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--detail-coral);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.doctor-summary button::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.doctor-summary.is-expanded button::after {
  transform: translateY(2px) rotate(225deg);
}

.doctor-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1ebe7;
}

.doctor-details p {
  margin: 0;
  min-width: 0;
}

.doctor-details p.is-wide {
  grid-column: 1 / -1;
}

.doctor-details span {
  display: block;
  margin-bottom: 4px;
  color: var(--detail-coral);
  font-size: 12px;
  font-weight: 800;
}

.doctor-details strong {
  display: block;
  color: #5f5954;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.activity-entry {
  display: grid;
  grid-template-columns: 54px 128px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--detail-line);
  transition: color .2s ease, padding .25s ease;
}

.activity-entry:hover {
  padding-right: 16px;
  padding-left: 24px;
  background: #fff9f5;
  color: var(--detail-coral);
}

.activity-date {
  text-align: center;
}

.activity-date span {
  display: block;
  font-family: inherit;
  font-size: 16px;
}

.activity-date small {
  color: #9a928b;
  font-size: 11px;
}

.activity-entry > img {
  width: 128px;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
}

.activity-label {
  color: var(--detail-coral);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .1em;
}

.activity-entry h3 {
  margin: 5px 0 7px;
  color: var(--detail-ink);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.45;
}

.activity-entry p {
  margin: 0;
  color: #8b847e;
  font-size: 12px;
}

.activity-entry > svg {
  width: 20px;
  height: 20px;
}

.tab-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 310px;
  margin-top: 34px;
  padding: 42px 24px;
  border-radius: 16px;
  background: #fff8f4;
  box-shadow: 0 4px 15px rgba(91, 63, 43, .06);
  text-align: center;
}

.tab-empty > span {
  color: var(--detail-coral);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .16em;
}

.tab-empty strong {
  margin-top: 13px;
  font-family: inherit;
  font-size: 23px;
}

.tab-empty p {
  margin: 9px 0 0;
  color: #817a74;
  font-size: 14px;
  line-height: 1.7;
}

.content-inner {
  position: relative;
}

.qr-modal {
  position: absolute;
  z-index: 120;
  right: 0;
  left: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(29, 27, 25, .62);
  backdrop-filter: blur(6px);
}

body.qr-open { overflow: hidden; }
.qr-modal[hidden] { display: none; }

.qr-modal-card {
  position: relative;
  width: min(338px, 100%);
  padding: 32px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 28px 80px rgba(15, 13, 12, .34);
}

.qr-modal-card > p {
  margin: 0 0 7px;
  color: var(--detail-coral);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .15em;
}

.qr-modal-card h2 {
  margin: 0 0 20px;
  font-family: inherit;
  font-size: 24px;
}

.qr-modal-card img {
  width: 224px;
  height: 224px;
  margin: 0 auto;
  padding: 8px;
  background: #fff;
  border: 1px solid #f1e9e4;
  border-radius: 14px;
  object-fit: contain;
}

.qr-modal.is-loading .qr-modal-card img {
  opacity: .35;
}

.qr-modal-card .qr-modal-error {
  display: block;
  margin: 18px 0;
  color: var(--detail-coral);
  font-size: 14px;
}

.qr-modal-card .qr-modal-error[hidden] { display: none; }
.qr-modal.has-error .qr-modal-card img { display: none; }

.qr-modal-card > span {
  display: block;
  margin-top: 15px;
  color: #888079;
  font-size: 13px;
}

.qr-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #59534e;
  cursor: pointer;
  font-size: 24px;
}

.qr-modal-close:hover {
  background: #eee8e0;
}

@media (max-width: 720px) {
  .detail-utility > span { display: none; }

  .detail-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .detail-hero-media,
  .detail-hero-media img {
    min-height: 270px;
    height: 270px;
  }

  .detail-hero-copy {
    min-height: 310px;
    padding: 35px 24px 25px;
  }

  .detail-hero-copy::before { left: 24px; }
  .detail-hero-index { top: -20px; font-size: 180px; }

  .detail-hero h1 {
    max-width: 100%;
    font-size: 32px;
  }

  .detail-hero h1.is-long-title { font-size: 29px; }

  .detail-contact-dock { margin-top: 22px; }

  .detail-content-tabs {
    top: 58px;
    min-height: 62px;
  }

  .detail-content-tabs button {
    flex-direction: column;
    gap: 2px;
    font-size: 15px;
  }

  .detail-content-tabs button::after {
    right: 20%;
    left: 20%;
  }

  .detail-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 38px 0;
  }

  .detail-section-head {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .detail-section-head h2 { font-size: 23px; }

  .hours-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours-cell { min-height: 88px; }

  .detail-prose-layout { grid-template-columns: 1fr; gap: 20px; }
  .detail-prose { font-size: 16px; line-height: 1.9; }

  .detail-gallery {
    display: flex;
    margin-right: calc(-1 * var(--content-gutter));
    padding-right: var(--content-gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .detail-gallery::-webkit-scrollbar { display: none; }

  .detail-gallery-item,
  .detail-gallery-item:first-child,
  .detail-gallery-item:nth-child(n+4) {
    display: block;
    flex: 0 0 82%;
    height: 230px;
    scroll-snap-align: start;
  }

  .feature-notes { grid-template-columns: 1fr; }
  .feature-notes article:nth-child(odd) { border-right: 1px solid #f1e9e4; }
  .feature-notes article:nth-child(even) { padding-left: 18px; }

  .price-category {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .price-category h3 span { display: inline; margin-left: 7px; }

  .doctor-entry {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 14px;
  }

  .doctor-mark {
    width: 72px;
    height: 72px;
    border-radius: 17px;
  }

  .doctor-copy h3 { font-size: 20px; }

  .doctor-details p {
    font-size: 14px;
  }

  .doctor-details { grid-template-columns: 1fr; }
  .doctor-details p.is-wide { grid-column: auto; }

  .activity-entry {
    grid-template-columns: 42px 88px minmax(0, 1fr);
    gap: 11px;
  }

  .activity-entry > img {
    width: 88px;
    height: 76px;
  }

  .activity-entry > svg { display: none; }
  .activity-entry h3 { font-size: 16px; }
  .activity-entry p { display: none; }
}

@media (max-width: 420px) {
  .detail-hero-media,
  .detail-hero-media img {
    min-height: 226px;
    height: 226px;
  }

  .detail-hero-copy {
    min-height: 292px;
    padding: 32px 20px 22px;
  }

  .detail-hero-copy::before { left: 20px; }
  .detail-hero h1 { font-size: 29px; }
  .detail-hero h1.is-long-title { font-size: 27px; }
  .detail-eyebrow { font-size: 10px; }
  .detail-location { font-size: 15px; }

  .detail-contact-icon {
    width: 42px;
    height: 42px;
  }

  .detail-ledger-row {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  .hours-cell strong { font-size: 13px; }
  .treatment-index { grid-template-columns: 1fr; }
  .treatment-index > span:nth-child(odd) { border-right: 1px solid #f4e6df; }

  .price-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .price-row strong {
    text-align: left;
    white-space: normal;
  }

  .doctor-entry {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  .doctor-mark {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }

  .doctor-mark b { font-size: 26px; }

  .activity-entry {
    grid-template-columns: 40px 76px minmax(0, 1fr);
    gap: 9px;
  }

  .activity-entry > img {
    width: 76px;
    height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-tab-panel.active { animation: none; }
  .detail-hero-media img,
  .detail-contact-icon,
  .activity-entry { transition: none; }
}
