/* Trang chủ — font theo TaiLieu/ThietKe_Web_TamDuc.md + đồng bộ menu 14.5px */
.hps-home {
  --td-navy: #082f4b;
  --td-blue: #0866a8;
  --td-orange: #b95316;
  --td-ink: #173348;
  --td-muted: #657787;
  --td-pale: #f3f7fc;
  --td-line: #e5edf3;
  --td-text-min: 14.5px; /* bằng chữ menu header */
  color: var(--hps-text, var(--td-ink));
  font-family: var(--hps-font, "Be Vietnam Pro", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  background: #fff;
}
.hps-home,
.hps-home *,
.hps-home *::before,
.hps-home *::after { box-sizing: border-box; }
.body-inner:has(.hps-home) > .gap-40 { display: none; }
.hps-home a { color: inherit; text-decoration: none; }
.hps-home h1,
.hps-home h2,
.hps-home h3,
.hps-home p {
  font-family: inherit;
  text-transform: none;
}
.hps-home article,
.hps-home ul { margin: 0; }
.hps-home img { max-width: 100%; }
.td-wrap {
  width: min(var(--hps-content-max, 1120px), calc(100% - var(--hps-content-inset, 24px) * 2));
  margin: 0 auto;
}

.td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 7px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s;
}
.td-btn:disabled { opacity: .6; cursor: default; }
.td-btn-orange { background: var(--td-orange); color: #fff; }
.td-btn-orange:hover { background: #98420f; color: #fff; }
.td-btn-blue { background: var(--td-blue); color: #fff; }
.td-btn-blue:hover { background: #0b5e98; color: #fff; }
.td-btn-outline { border-color: #8da9b9; color: #15506f; background: #fff; }
.td-btn-outline:hover { border-color: var(--td-blue); color: var(--td-blue); }
.td-btn-soft { background: #edf5fb; color: #145b87; }
.td-btn-soft:hover { background: #dceaf6; color: #145b87; }
.td-btn-white { background: #fff; color: #07548a; }
.td-btn-white:hover { background: #f3f7fc; color: #07548a; }
.td-btn-ghost { border-color: #8ab5d4; color: #fff; background: transparent; }
.td-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.td-ph {
  background: linear-gradient(135deg, #dceaf6, #cfe2f1);
  color: #66869c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed #9bb6c9;
  border-radius: 13px;
  font-size: var(--td-text-min);
  padding: 16px;
  min-height: 150px;
}
.td-ph small { font-size: var(--td-text-min); }

.td-kicker {
  font-size: 14px;
  letter-spacing: .06em;
  color: #a85b25;
  font-weight: 700;
  text-transform: uppercase;
}
.td-hero {
  position: relative;
  background: transparent;
  padding: 0;
  z-index: 1;
}
.td-hero-full {
  width: 100%;
  overflow: hidden;
  background: #dceaf6;
}
.td-hero-full .home_slide.flexslider {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #dceaf6;
  box-shadow: none;
}
.td-hero-full .slides,
.td-hero-full .slides > li {
  margin: 0;
  padding: 0;
}
.td-hero-full .slides img {
  width: 100%;
  height: auto;
  max-height: min(62vh, 560px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.td-hero-full .td-hero-image {
  width: 100%;
  min-height: min(42vh, 360px);
  height: auto;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

/* Panel gộp: đặt hẹn nhanh + quick links — dưới slide, không đè */
.td-action-panel {
  margin-top: 28px;
  margin-bottom: 42px;
  padding: 22px 24px 20px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #fff 0%, #f7fbfe 100%);
  border: 1px solid #d4e4f0;
  border-top: 4px solid var(--hps-primary, #0A5FA8);
  box-shadow:
    0 6px 16px rgba(11, 42, 69, 0.06),
    0 20px 44px rgba(10, 95, 168, 0.12);
  scroll-margin-top: 90px;
}
.td-action-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 14px;
}
.td-action-head .td-kicker {
  color: var(--hps-primary, #0A5FA8);
  margin: 0;
}
.td-action-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--hps-primary-dark, #0B2A45);
}
.td-booking {
  position: relative;
  z-index: 1;
  margin: 0;
}
.td-booking-form {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.1fr 1fr auto;
  gap: 14px;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  align-items: end;
}
.td-booking-form label {
  font-size: var(--td-text-min);
  font-weight: 700;
  color: var(--hps-primary-dark, #0B2A45);
}
.td-booking-form input,
.td-booking-form select {
  width: 100%;
  height: 44px;
  border: 1px solid #d5e2ec;
  border-radius: 8px;
  padding: 0 12px;
  margin-top: 6px;
  font: inherit;
  font-size: var(--td-text-min);
  color: #314859;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.td-booking-form input:focus,
.td-booking-form select:focus {
  outline: 0;
  border-color: var(--hps-primary, #0A5FA8);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 95, 168, 0.16);
}
.td-booking-form button {
  height: 44px;
  white-space: nowrap;
  padding: 0 22px;
  box-shadow: 0 8px 18px rgba(184, 79, 11, 0.28);
}
.td-booking-form .td-btn-blue {
  background: var(--hps-accent, #B84F0B);
}
.td-booking-form .td-btn-blue:hover {
  background: var(--hps-accent-dark, #9A4209);
}
.td-booking-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: var(--td-text-min);
  font-weight: 600;
}
.td-booking-note.is-ok { color: #0b6b3a; }
.td-booking-note.is-err { color: #9a3412; }

.td-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dceaf4;
}
.td-quick-card {
  border: 1px solid #e2eef6;
  border-radius: 10px;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 0 10px;
  background: #fff;
  color: var(--td-ink);
  box-shadow: 0 2px 8px rgba(23, 51, 72, 0.04);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.td-quick-card .td-quick-ico {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--hps-primary-soft, #EEF5FB);
  color: var(--hps-primary, #0A5FA8);
  line-height: 1;
}
.td-quick-card .td-quick-ico svg {
  width: 26px;
  height: 26px;
  display: block;
}
.td-quick-card b { font-size: var(--td-text-min); }
.td-quick-card small { font-size: var(--td-text-min); color: #71818d; }
.td-quick-card:hover {
  border-color: #b7d3e8;
  box-shadow: 0 8px 18px rgba(10, 95, 168, 0.12);
  transform: translateY(-2px);
}

.td-section { padding-top: 42px; padding-bottom: 52px; }
.td-pale { background: var(--td-pale); }
.td-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}
.td-head h2 {
  font-size: 32px;
  line-height: 1.25;
  margin: 4px 0 0;
  letter-spacing: -.4px;
  font-weight: 700;
  color: var(--hps-primary-dark, var(--td-ink));
}
.td-head > a {
  font-size: var(--td-text-min);
  font-weight: 700;
  color: #13577d;
  white-space: nowrap;
}
.td-head > a:hover { color: var(--td-blue); }

.td-spec-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.td-spec {
  min-height: 148px;
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 14px;
  padding: 18px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 8px;
  color: var(--td-ink);
  box-shadow: 0 2px 10px rgba(23, 51, 72, 0.04);
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.td-spec:hover {
  border-color: #b7d3e8;
  background: #f7fbfe;
  box-shadow: 0 10px 22px rgba(10, 95, 168, 0.12);
  transform: translateY(-3px);
}
.td-spec-ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.td-spec-ico img {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}
.td-spec-ico-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hps-primary-soft, #EEF5FB);
  color: var(--hps-primary, #0A5FA8);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid #d7e6f2;
}
.td-spec b {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #16384f;
}
.td-spec small {
  font-size: 12px;
  line-height: 1.4;
  color: #71818d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.td-specialty-page .td-page-hero,
.td-doctors-page .td-page-hero,
.td-doctor-detail .td-page-hero {
  background: linear-gradient(110deg, #edf5fc, #eaf3fb);
  padding: 36px 0 28px;
}
.td-specialty-page .td-page-hero h1,
.td-doctors-page .td-page-hero h1,
.td-doctor-detail .td-page-hero h1 {
  font-size: 44px;
  line-height: 1.2;
  margin: 6px 0 10px;
  letter-spacing: -.4px;
  font-weight: 800;
  color: var(--hps-primary-dark, var(--td-ink));
}
.td-specialty-page .td-page-hero p,
.td-doctors-page .td-page-hero p,
.td-doctor-detail .td-page-hero p {
  margin: 0;
  max-width: 620px;
  color: var(--td-muted);
  font-size: 16px;
}

.td-doc-detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 42px;
}
.td-doc-profile {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
}
.td-doc-profile-photo {
  border-radius: 14px;
  overflow: hidden;
  background: #e8eef3;
  min-height: 320px;
  aspect-ratio: 3 / 4;
}
.td-doc-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.td-doc-profile-card {
  border: 1px solid #e7edf2;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 3px 12px #17334808;
  display: grid;
  gap: 6px;
}
.td-doc-profile-card small {
  font-size: var(--td-text-min);
  color: #8b9ba6;
  font-weight: 700;
}
.td-doc-profile-card b {
  font-size: 16px;
  color: var(--td-ink);
}
.td-doc-profile-card p {
  margin: 0 0 6px;
  font-size: var(--td-text-min);
  color: #687b89;
}
.td-doc-profile-card .td-btn { width: 100%; margin-top: 4px; }
.td-doctor-detail .td-doc-btn-book,
.td-doctor-detail .td-doc-profile-card .td-btn-orange {
  color: #fff !important;
  text-decoration: none;
}
.td-doctor-detail .td-doc-btn-book:hover,
.td-doctor-detail .td-doc-profile-card .td-btn-orange:hover {
  color: #fff !important;
}
.td-doc-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.td-doc-social a {
  font-size: var(--td-text-min);
  font-weight: 700;
  color: #13577d;
  padding: 6px 10px;
  border: 1px solid #d7e4ee;
  border-radius: 7px;
  background: #f7fbfe;
}
.td-doc-social a:hover { border-color: #b9d0e0; color: var(--td-blue); }
.td-doc-detail-body {
  border: 1px solid #e7edf2;
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  margin-bottom: 16px;
}
.td-doc-detail-body h2 {
  font-size: 32px;
  margin: 0 0 12px;
  color: var(--hps-primary-dark, var(--td-ink));
  font-weight: 700;
}
.td-doc-content {
  font-size: 16px;
  line-height: 1.7;
  color: #314859;
}
.td-doc-content p { margin: 0 0 12px; }
.td-doc-content ul { margin: 0 0 12px; padding-left: 18px; }
.td-doc-related { margin-top: 18px; padding-top: 10px; }
.td-doc-grid-all { margin-bottom: 28px; }
.td-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--td-text-min);
  color: #7a8c9a;
  margin-bottom: 14px;
}
.td-breadcrumb a { color: #13577d; font-weight: 600; }
.td-breadcrumb a:hover { color: var(--td-blue); }
.td-spec-grid-all { margin-bottom: 28px; }
.td-specialty-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.td-empty {
  color: var(--td-muted);
  font-size: 16px;
  margin: 0 0 20px;
}

.td-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.td-card {
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 12px;
  overflow: hidden;
}
.td-feature-photo {
  height: 160px;
  border: 0;
  border-radius: 0;
  min-height: 160px;
  position: relative;
}
.td-feature-photo .td-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: #e8eef3;
  color: #7a8d9b;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.td-card-photo { display: block; overflow: hidden; background: #e8eef3; }
.td-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.td-card-body { padding: 15px; }
.td-card-body h3 {
  font-size: 18px;
  margin: 0 0 6px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--hps-primary-dark, var(--td-ink));
}
.td-feature-card .td-card-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}
.td-feature-card .td-card-body h3 a {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.td-feature-card .td-card-body h3 a:hover { color: var(--td-blue); }
.td-card-body p { font-size: var(--td-text-min); color: #687b89; margin: 0 0 7px; }
.td-feature-card .td-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  min-height: calc(1.45em * 3);
}
.td-card-body a:not(.td-btn) { font-size: var(--td-text-min); font-weight: 700; color: #08639a; }
.td-card-body a:not(.td-btn):hover { color: var(--td-blue); }

.td-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.td-pack {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e7edf2;
  border-radius: 14px;
  padding: 22px 22px 18px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(23, 51, 72, 0.05);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.td-pack:hover {
  border-color: #b7d3e8;
  box-shadow: 0 10px 22px rgba(10, 95, 168, 0.1);
  transform: translateY(-2px);
}
.td-pack-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
}
.td-pack h3 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hps-primary-dark, var(--td-ink));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.td-pack p {
  font-size: var(--td-text-min);
  color: #71818d;
  margin: 0 0 10px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.td-pack strong {
  display: block;
  font-size: 22px;
  color: #a84f1e;
  font-weight: 800;
  margin: 0 0 4px;
}
.td-pack .td-quote { font-size: 18px; }
.td-pack ul {
  padding-left: 18px;
  margin: 10px 0 0;
  font-size: var(--td-text-min);
  color: #5d7180;
  line-height: 1.45;
}
.td-pack li { margin: 4px 0; }
.td-pack-cta {
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

.td-why {
  background: linear-gradient(165deg, #0a3a5c 0%, var(--td-navy) 48%, #061f33 100%);
  color: #fff;
  padding: 56px 0 58px;
}
.td-why-inner {
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: 55px;
  align-items: center;
}
.td-why .td-kicker {
  display: inline-block;
  color: #f5d4b8;
  font-size: 13px;
  letter-spacing: .1em;
}
.hps-home .td-why h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.22;
  margin: 10px 0 14px;
  letter-spacing: -.3px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.td-why-inner > div:first-child p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 380px;
  margin: 0;
}
.td-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.td-why-grid article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 18px 16px;
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.td-why-grid article:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}
.td-why-grid b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.td-why-grid p {
  font-size: var(--td-text-min);
  color: rgba(255, 255, 255, 0.78);
  margin: 6px 0 0;
  line-height: 1.45;
}

.td-doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.td-doc-photo { height: 230px; border: 0; border-radius: 0; min-height: 230px; }
.td-doc .td-card-body { padding: 13px; }
.td-doc .td-card-body small { font-size: var(--td-text-min); color: #8b9ba6; }
.td-doc .td-card-body h3 { margin: 2px 0; }
.td-doc .td-card-body h3 a { font-size: inherit; font-weight: inherit; color: inherit; }
.td-doc .td-btn { width: 100%; padding: 10px; font-size: 16px; margin-top: 8px; }

.td-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.td-news-photo { height: 180px; border: 0; border-radius: 0; min-height: 180px; }
.td-news .td-card-body small {
  color: #a45b2b;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.td-news .td-card-body h3 { font-size: 18px; }
.td-news .td-card-body h3 a { font-size: inherit; font-weight: inherit; color: inherit; }
.td-news .td-card-body h3 a:hover { color: var(--td-blue); }
.td-news .td-card-body p { font-size: var(--td-text-min); color: #8997a0; }

.hps-home .td-cta.td-section {
  padding-top: 48px;
  padding-bottom: 56px;
}
.hps-home .td-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.hps-home .td-cta-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 280px;
  padding: 32px 34px 30px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #0b6eb5 0%, var(--td-blue) 42%, #064d7e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 28px rgba(8, 47, 75, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hps-home .td-cta-panel h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin: 0 0 12px;
  color: #fff;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.hps-home .td-cta-panel p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 22px;
  max-width: 34em;
}
.hps-home .td-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
}
.hps-home .td-cta-panel .td-btn {
  margin: 0;
  flex: 0 0 auto;
}
.hps-home .td-cta-panel .td-btn-white {
  background: #fff;
  color: #07548a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}
.hps-home .td-cta-panel .td-btn-white:hover {
  background: #f7fbff;
  color: #05406b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.hps-home .td-cta-panel .td-btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.hps-home .td-cta-panel .td-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}
.hps-home .td-cta .td-map {
  position: relative;
  min-height: 280px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #dceaf6;
  border: 1px solid var(--td-line);
  box-shadow: 0 8px 24px rgba(11, 42, 69, 0.1);
}
.hps-home .td-cta .td-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}
.hps-home .td-cta .td-map span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--td-ink);
  font-size: var(--td-text-min);
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 4px 12px rgba(11, 42, 69, 0.12);
}
/* Giữ .td-map dùng chung trang khác */
.td-map {
  position: relative;
  min-height: 220px;
  height: 100%;
  border-radius: 13px;
  overflow: hidden;
  background: #dceaf6;
}
.td-map iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; }
.td-map span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  color: #173348;
  font-size: var(--td-text-min);
  font-weight: 700;
}

@media (max-width: 1000px) {
  .td-specialty-page .td-page-hero h1,
  .td-doctors-page .td-page-hero h1,
  .td-doctor-detail .td-page-hero h1 { font-size: 36px; }
  .td-spec-grid { grid-template-columns: repeat(4, 1fr); }
  .td-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .td-wrap {
    width: min(var(--hps-content-max, 1120px), calc(100% - var(--hps-content-inset, 16px) * 2));
  }
  .td-specialty-page .td-page-hero,
  .td-doctors-page .td-page-hero,
  .td-doctor-detail .td-page-hero { padding: 28px 0 20px; }
  .td-specialty-page .td-page-hero h1,
  .td-doctors-page .td-page-hero h1,
  .td-doctor-detail .td-page-hero h1 { font-size: 32px; }
  .td-doc-detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .td-doc-profile { position: static; grid-template-columns: 160px 1fr; align-items: start; }
  .td-doc-profile-photo { min-height: 0; }
  .td-doc-detail-body h2 { font-size: 26px; }
  .td-hero-full .slides img { max-height: min(48vh, 420px); }
  .td-action-panel { margin-top: 20px; padding: 18px 16px 16px; }
  .td-action-head h2 { font-size: 20px; }
  .td-booking-form { grid-template-columns: 1fr 1fr; }
  .td-booking-form button,
  .td-booking-note { grid-column: span 2; }
  .td-quick { grid-template-columns: 1fr 1fr; }
  .td-section { padding-top: 32px; padding-bottom: 38px; }
  .td-head h2,
  .hps-home .td-why h2,
  .hps-home .td-cta-panel h2 { font-size: 26px; }
  .td-spec-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .td-spec { min-height: 132px; padding: 14px 8px 12px; }
  .td-spec-ico,
  .td-spec-ico img { width: 44px; height: 44px; }
  .td-feature-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .td-feature-photo { height: 120px; min-height: 120px; }
  .td-card-body { padding: 11px; }
  .td-card-body h3,
  .td-news .td-card-body h3,
  .td-pack h3,
  .td-why-grid b { font-size: 17px; }
  .td-pack-grid { grid-template-columns: 1fr; }
  .td-why-inner { grid-template-columns: 1fr; gap: 22px; }
  .td-doc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .td-doc-photo { height: 180px; min-height: 180px; }
  .td-news-grid { grid-template-columns: 1fr; gap: 12px; }
  .td-news { display: grid; grid-template-columns: 38% 1fr; }
  .td-news-photo { height: 100%; min-height: 140px; }
  .hps-home .td-cta { grid-template-columns: 1fr; }
  .hps-home .td-cta-panel { min-height: 0; padding: 26px 22px 24px; }
  .hps-home .td-cta .td-map { min-height: 240px; }
  .hps-home .td-cta .td-map iframe { min-height: 240px; }
}
@media (max-width: 420px) {
  .td-doc-profile { grid-template-columns: 1fr; }
  .td-hero-full .slides img { max-height: min(40vh, 280px); }
  .td-booking-form { grid-template-columns: 1fr; }
  .td-booking-form button,
  .td-booking-note { grid-column: auto; }
  .td-quick { gap: 8px; }
  .td-quick-card { padding: 11px; grid-template-columns: 40px 1fr; }
  .td-quick-card .td-quick-ico { width: 38px; height: 38px; }
  .td-quick-card .td-quick-ico svg { width: 24px; height: 24px; }
  .td-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .td-feature-grid { grid-template-columns: 1fr 1fr; }
  .td-doc-photo { height: 145px; min-height: 145px; }
  .hps-home .td-cta-panel { padding: 22px 18px 20px; }
  .hps-home .td-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
