/* Healthcare & Insurance — ThailandLover editorial guide */

.tl-main.tl-main--health {
  padding: 0;
  background: #fff;
  overflow-x: clip;
}

.tl-health {
  --hx-navy: #0d2e4d;
  --hx-blue: #14648a;
  --hx-teal: #2a7d8c;
  --hx-mist: #eef4f6;
  --hx-ice: #f5f8fa;
  --hx-lime: #cee253;
  --hx-ink: #1a2a38;
  --hx-muted: #5a6b78;
  --hx-line: rgba(13, 46, 77, 0.12);
  color: var(--hx-ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

.tl-health__wrap {
  width: min(1100px, calc(100% - 48px));
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.tl-health a:focus-visible,
.tl-health button:focus-visible {
  outline: 3px solid rgba(20, 100, 138, 0.45);
  outline-offset: 2px;
}

/* —— Hero —— */
.tl-health-hero.tl-hero--photo {
  --tl-cover-min-height: 460px;
  position: relative;
}

.tl-health-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 40em;
}

.tl-health-hero h1 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tl-health-hero__sub {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.25;
}

.tl-health-hero__lead {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 36em;
}

.tl-health-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tl-health-hero__stamp {
  margin: 18px 0 0;
  color: var(--hx-lime);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.tl-health-section--dir {
  padding-top: clamp(28px, 4vw, 40px);
}

.tl-hx-page-head {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.tl-hx-page-head .tl-crumb {
  color: var(--hx-muted);
}

.tl-hx-page-head .tl-crumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--hx-muted);
}

.tl-hx-page-head .tl-crumb a {
  color: var(--hx-blue);
}

.tl-hx-page-head .tl-crumb a:hover {
  color: var(--hx-navy);
}

.tl-hx-page-head h1 {
  margin: 0 0 18px;
  color: var(--hx-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tl-hx-lead-photo {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 3 / 2;
  max-height: 420px;
  background: var(--hx-mist);
}

.tl-hx-lead-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.tl-hx-launch {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--hx-line);
}

.tl-hx-launch h2 {
  margin: 0 0 12px;
  color: var(--hx-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tl-hx-launch p {
  margin: 0 0 20px;
  color: var(--hx-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-hx-launch__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.tl-hx-launch__counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tl-hx-launch__counts div {
  padding: 16px 12px;
  border-radius: 14px;
  background: var(--hx-ice);
  text-align: center;
}

.tl-hx-launch__counts strong {
  display: block;
  color: var(--hx-navy);
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}

.tl-hx-launch__counts span {
  display: block;
  margin-top: 6px;
  color: var(--hx-muted);
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 960px) {
  .tl-hx-launch {
    grid-template-columns: 1fr;
  }
}

/* —— Buttons / links —— */
.tl-health-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--hx-blue);
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tl-health-btn:hover {
  transform: translateY(-1px);
  background: var(--hx-navy);
  box-shadow: 0 12px 28px rgba(20, 100, 138, 0.28);
}

.tl-health-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff !important;
}

.tl-health-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.tl-health-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hx-blue) !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
}

.tl-health-link:hover {
  color: var(--hx-navy) !important;
}

/* —— Jump bar —— */
.tl-health-jump {
  background: var(--hx-ice);
  border-bottom: 1px solid var(--hx-line);
}

.tl-health-jump__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
}

.tl-health-jump__list a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 72px;
  padding: 14px 14px;
  border: 1px solid var(--hx-line);
  border-radius: 12px;
  background: #fff;
  color: var(--hx-navy) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tl-health-jump__list a:hover {
  border-color: var(--hx-teal);
  box-shadow: 0 8px 20px rgba(13, 46, 77, 0.08);
  transform: translateY(-2px);
}

.tl-health-jump__num {
  color: var(--hx-teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* —— Type —— */
.tl-health-kicker {
  margin: 0 0 10px;
  color: var(--hx-teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tl-health-kicker--light {
  color: rgba(255, 255, 255, 0.9);
}

.tl-health-head {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.tl-health-head h2 {
  margin: 0 0 12px;
  max-width: 22ch;
  color: var(--hx-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.tl-health-head__sub {
  margin: 0;
  max-width: 44em;
  color: var(--hx-muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

/* —— Sections —— */
.tl-health-section {
  padding: clamp(48px, 7vw, 88px) 0;
  scroll-margin-top: 88px;
}

.tl-health-section--mist {
  background: var(--hx-mist);
}

.tl-health-section--ice {
  background: var(--hx-ice);
}

.tl-health-section--navy {
  background: linear-gradient(145deg, #0d2e4d 0%, #164a73 55%, #1a5f7a 100%);
  color: #fff;
}

.tl-health-section--navy .tl-health-head h2 {
  color: #fff;
  max-width: 28ch;
}

.tl-health-section--navy .tl-health-head__sub {
  color: rgba(255, 255, 255, 0.82);
}

/* —— Intro split —— */
.tl-health-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.tl-health-intro__copy p {
  margin: 0 0 16px;
  color: var(--hx-muted);
  font-size: 17px;
  line-height: 1.75;
}

.tl-health-intro__media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  background: var(--hx-mist);
}

.tl-health-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tl-health-intro__media:hover img {
  transform: scale(1.03);
}

/* —— Stat strip —— */
.tl-health-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 40px);
}

.tl-health-stat {
  padding: 22px 20px;
  border: 1px solid var(--hx-line);
  border-radius: 14px;
  background: #fff;
}

.tl-health-stat__value {
  margin: 0 0 8px;
  color: var(--hx-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.tl-health-stat p {
  margin: 0;
  color: var(--hx-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

/* —— System pillars —— */
.tl-health-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tl-health-pillar {
  padding: 28px 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--hx-line);
}

.tl-health-pillar h3 {
  margin: 0 0 10px;
  color: var(--hx-navy);
  font-size: 20px;
  font-weight: 600;
}

.tl-health-pillar p {
  margin: 0;
  color: var(--hx-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-health-pillar__tag {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 125, 140, 0.12);
  color: var(--hx-teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— Feature band (image + copy) —— */
.tl-health-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.tl-health-band--flip .tl-health-band__media {
  order: 2;
}

.tl-health-band--flip .tl-health-band__copy {
  order: 1;
}

.tl-health-band__media {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 5 / 4;
  background: var(--hx-mist);
}

.tl-health-band__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tl-health-band__media:hover img {
  transform: scale(1.03);
}

.tl-health-band__copy h2 {
  margin: 0 0 14px;
  color: var(--hx-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tl-health-band__copy p {
  margin: 0 0 14px;
  color: var(--hx-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-health-band + .tl-health-band,
.tl-health-pillars + .tl-health-band {
  margin-top: clamp(32px, 5vw, 48px);
}

.tl-health-emergency + .tl-health-tip {
  margin-top: clamp(36px, 5vw, 52px);
}

.tl-health-band__copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-health-band__copy li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--hx-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  border-top: 1px solid var(--hx-line);
}

.tl-health-band__copy li:first-child {
  border-top: 0;
}

.tl-health-band__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hx-teal);
}

/* —— Hospital grids —— */
.tl-health-hosp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tl-health-hosp {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--hx-line);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tl-health-hosp:hover {
  border-color: rgba(42, 125, 140, 0.4);
  box-shadow: 0 12px 28px rgba(13, 46, 77, 0.07);
  transform: translateY(-2px);
}

.tl-health-hosp__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--hx-mist);
}

.tl-health-hosp__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.tl-health-hosp:hover .tl-health-hosp__media img {
  transform: scale(1.04);
}

.tl-health-hosp__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}

.tl-health-hosp__place {
  margin: 0 0 8px;
  color: var(--hx-teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tl-health-hosp h3 {
  margin: 0 0 10px;
  color: var(--hx-navy);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.tl-health-hosp__body > p:last-child {
  margin: 0;
  color: var(--hx-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  flex: 1;
}

.tl-health-region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.tl-health-region {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--hx-line);
  background: #fff;
}

.tl-health-region__body {
  padding: 20px 20px 22px;
}

.tl-health-region h3 {
  margin: 0 0 8px;
  color: var(--hx-navy);
  font-size: 18px;
  font-weight: 600;
}

.tl-health-region p {
  margin: 0;
  color: var(--hx-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-health-region__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--hx-mist);
}

.tl-health-region__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tl-health-region:hover .tl-health-region__media img {
  transform: scale(1.04);
}

/* —— Insurance steps —— */
.tl-health-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tl-health-step {
  position: relative;
  padding: 28px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.tl-health-step__num {
  display: block;
  margin-bottom: 14px;
  color: var(--hx-lime);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.tl-health-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.tl-health-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.tl-health-note {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--hx-lime);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

/* —— Aesthetic —— */
.tl-health-aest-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: stretch;
}

.tl-health-aest-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.tl-health-aest-item {
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--hx-line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tl-health-aest-item:hover {
  border-color: rgba(42, 125, 140, 0.35);
  box-shadow: 0 10px 24px rgba(13, 46, 77, 0.06);
  transform: translateY(-2px);
}

.tl-health-aest-item h3 {
  margin: 0 0 8px;
  color: var(--hx-navy);
  font-size: 17px;
  font-weight: 600;
}

.tl-health-aest-item p {
  margin: 0;
  color: var(--hx-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-health-aest-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #f7fafb 0%, #eef4f6 100%);
  box-shadow: 0 18px 40px rgba(13, 46, 77, 0.08);
}

.tl-health-aest-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.7s ease;
}

.tl-health-aest-media:hover img {
  transform: scale(1.03);
}

/* —— Directory —— */
.tl-health-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tl-health-dir-block {
  padding: 28px 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--hx-line);
}

.tl-health-dir-block h3 {
  margin: 0 0 16px;
  color: var(--hx-navy);
  font-size: 20px;
  font-weight: 600;
}

.tl-health-dir-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-health-dir-block li {
  padding: 10px 0;
  border-top: 1px solid var(--hx-line);
  color: var(--hx-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.tl-health-dir-block li:first-child {
  border-top: 0;
  padding-top: 0;
}

.tl-health-dir-block li span {
  display: block;
  margin-top: 2px;
  color: var(--hx-muted);
  font-size: 13px;
  font-weight: 300;
}

/* —— Bangkok hospital directory —— */
.tl-hx-filter {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px 16px;
  margin: 0 0 28px;
  align-items: end;
}

.tl-hx-filter label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--hx-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tl-hx-filter input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid var(--hx-line);
  border-radius: 10px;
  background: #fff;
  color: var(--hx-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
}

.tl-hx-filter input:focus {
  outline: 2px solid rgba(20, 100, 138, 0.35);
  outline-offset: 1px;
  border-color: var(--hx-teal);
}

.tl-hx-filter__status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--hx-muted);
  font-size: 13px;
  font-weight: 400;
}

.tl-hx-card__khet {
  margin: 4px 0 0;
  color: var(--hx-teal);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.tl-hx-toc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 clamp(28px, 4vw, 40px);
}

.tl-hx-toc a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 108px;
  padding: 20px 18px;
  border: 1px solid var(--hx-line);
  border-radius: 16px;
  background: #fff;
  color: var(--hx-navy) !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tl-hx-toc a:hover {
  border-color: var(--hx-teal);
  box-shadow: 0 10px 24px rgba(13, 46, 77, 0.08);
  transform: translateY(-2px);
}

.tl-hx-toc__count {
  margin: 0;
  color: var(--hx-navy);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}

.tl-hx-toc__label {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.tl-hx-toc__hint {
  margin: 0;
  color: var(--hx-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
}

.tl-hx-group {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 0;
  border: 0;
  border-top: 1px solid var(--hx-line);
  border-radius: 0;
  background: transparent;
  scroll-margin-top: 96px;
}

.tl-hx-group__head {
  padding-top: 22px;
}

.tl-hx-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 4px 0 8px;
}

.tl-hx-jumps a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--hx-line);
  border-radius: 999px;
  color: var(--hx-navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.tl-hx-jumps a span {
  color: var(--hx-muted);
  font-size: 12px;
  font-weight: 600;
}

.tl-hx-jumps a:hover {
  border-color: var(--hx-blue);
  color: var(--hx-blue);
}

.tl-hx-group__title,
.tl-hx-group__head h3 {
  margin: 0 0 8px;
  color: var(--hx-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tl-hx-group__head p:last-child {
  margin: 0 0 14px;
  max-width: 46em;
  color: var(--hx-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-hx-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  position: static;
}

.tl-hx-alpha a,
.tl-hx-alpha span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  height: 28px;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}

.tl-hx-alpha a {
  background: transparent;
  color: var(--hx-blue) !important;
}

.tl-hx-alpha a:hover {
  background: var(--hx-mist);
  color: var(--hx-navy) !important;
}

.tl-hx-alpha span {
  color: rgba(13, 46, 77, 0.28);
}

.tl-hx-letter {
  scroll-margin-top: 96px;
}

.tl-hx-letter h4 {
  margin: 18px 0 0;
  padding: 8px 0 6px;
  border-bottom: 1px solid var(--hx-line);
  color: var(--hx-muted);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.tl-hx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-hx-grid > .tl-hx-card {
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--hx-line);
  border-radius: 0;
  background: transparent;
}

.tl-hx-card:has(.tl-hx-more[open]) {
  grid-column: 1 / -1;
  padding: 14px 0 16px;
}

.tl-hx-card__en {
  margin: 0;
  color: var(--hx-navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.tl-hx-card__th {
  margin: 2px 0 0;
  color: var(--hx-ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.tl-hx-card__about {
  margin: 0 0 12px;
  max-width: 46em;
  color: var(--hx-ink);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.tl-hx-card__note {
  margin: 4px 0 0;
  color: var(--hx-muted);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
}

.tl-hx-more {
  margin-top: 6px;
}

.tl-hx-more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
  color: var(--hx-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tl-hx-more summary::-webkit-details-marker {
  display: none;
}

.tl-hx-more summary::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

.tl-hx-more[open] summary::before {
  transform: rotate(90deg);
}

.tl-hx-more summary:hover {
  text-decoration: underline;
}

.tl-hx-more__body {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--hx-ice);
}

.tl-hx-more__label {
  margin: 14px 0 6px;
  color: var(--hx-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tl-hx-dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.tl-hx-dl__row {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.tl-hx-dl dt {
  margin: 0;
  color: var(--hx-muted);
  font-size: 12px;
  font-weight: 600;
}

.tl-hx-dl dd {
  margin: 0;
  color: var(--hx-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.tl-hx-dl a {
  color: var(--hx-blue);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tl-hx-dl a:hover {
  text-decoration: underline;
}

.tl-hx-services {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-hx-services li {
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hx-ink);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

.tl-hx-card__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(206, 226, 83, 0.55);
  color: var(--hx-navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* —— Emergency —— */
.tl-health-emergency {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tl-health-em {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--hx-line);
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tl-health-em:hover {
  border-color: var(--hx-teal);
  box-shadow: 0 10px 24px rgba(13, 46, 77, 0.08);
  transform: translateY(-2px);
}

.tl-health-em__num {
  margin: 0 0 8px;
  color: var(--hx-navy);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tl-health-em__label {
  margin: 0 0 6px;
  color: var(--hx-navy);
  font-size: 15px;
  font-weight: 600;
}

.tl-health-em__note {
  margin: 0;
  color: var(--hx-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
}

/* —— Tip banner —— */
.tl-health-tip {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  align-items: stretch;
  border-radius: 22px;
  background: linear-gradient(135deg, #0d2e4d 0%, #164a73 48%, #1a5f7a 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(13, 46, 77, 0.18);
}

.tl-health-tip__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4.5vw, 44px) clamp(24px, 4vw, 40px);
}

.tl-health-tip__label {
  margin: 0 0 10px;
  color: var(--hx-lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tl-health-tip h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.15;
}

.tl-health-tip p {
  margin: 0;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.tl-health-tip__media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.12);
}

.tl-health-tip__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 46, 77, 0.28) 0%, transparent 42%);
}

.tl-health-tip__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transition: transform 0.7s ease;
}

.tl-health-tip:hover .tl-health-tip__media img {
  transform: scale(1.04);
}

/* —— Related —— */
.tl-health-related {
  padding: clamp(48px, 6vw, 72px) 0;
}

.tl-health-related > .tl-health__wrap > h2 {
  margin: 0 0 16px;
  color: var(--hx-navy);
  font-size: 28px;
  font-weight: 500;
}

/* —— Motion —— */
@keyframes tl-health-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tl-health-section .tl-health-head,
.tl-health-intro,
.tl-health-stats,
.tl-health-pillars,
.tl-health-band,
.tl-health-hosp-grid,
.tl-health-region-grid,
.tl-health-steps,
.tl-health-aest-grid,
.tl-health-dir,
.tl-health-emergency,
.tl-health-tip {
  animation: tl-health-fade-up 0.7s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .tl-health-section .tl-health-head,
  .tl-health-intro,
  .tl-health-stats,
  .tl-health-pillars,
  .tl-health-band,
  .tl-health-hosp-grid,
  .tl-health-region-grid,
  .tl-health-steps,
  .tl-health-aest-grid,
  .tl-health-dir,
  .tl-health-emergency,
  .tl-health-tip,
  .tl-health-intro__media img,
  .tl-health-band__media img,
  .tl-health-hosp__media img,
  .tl-health-region__media img,
  .tl-health-jump__list a,
  .tl-health-hosp,
  .tl-health-em,
  .tl-health-btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .tl-health-jump__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tl-health-intro,
  .tl-health-band,
  .tl-health-band--flip,
  .tl-health-aest-grid,
  .tl-health-dir,
  .tl-health-tip {
    grid-template-columns: 1fr;
  }

  .tl-health-band--flip .tl-health-band__media,
  .tl-health-band--flip .tl-health-band__copy {
    order: unset;
  }

  .tl-health-intro__media {
    aspect-ratio: 16 / 10;
  }

  .tl-health-hosp-grid,
  .tl-health-region-grid,
  .tl-health-steps,
  .tl-health-stats,
  .tl-hx-toc,
  .tl-hx-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tl-health-emergency {
    grid-template-columns: 1fr 1fr;
  }

  .tl-health-aest-media {
    aspect-ratio: 16 / 11;
    max-height: 420px;
  }

  .tl-health-aest-media img {
    object-position: center 12%;
  }

  .tl-health-tip {
    grid-template-columns: 1fr;
  }

  .tl-health-tip__media {
    order: -1;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .tl-health-tip__media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(13, 46, 77, 0.35) 100%);
  }

  .tl-health-tip__media img {
    object-position: 55% 20%;
  }
}

@media (max-width: 720px) {
  .tl-health-hero.tl-hero--photo {
    --tl-cover-min-height: 380px;
  }

  .tl-health__wrap {
    width: min(1100px, calc(100% - 32px));
  }

  .tl-health-jump__list {
    grid-template-columns: 1fr 1fr;
  }

  .tl-hx-filter {
    grid-template-columns: 1fr;
  }

  .tl-health-pillars,
  .tl-health-hosp-grid,
  .tl-health-region-grid,
  .tl-health-steps,
  .tl-health-stats,
  .tl-hx-toc,
  .tl-hx-grid {
    grid-template-columns: 1fr;
  }

  .tl-hx-card:has(.tl-hx-more[open]) {
    padding-left: 0;
    padding-right: 0;
  }

  .tl-hx-dl__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 480px) {
  .tl-health-jump__list,
  .tl-health-emergency {
    grid-template-columns: 1fr;
  }

  .tl-health-em__num {
    font-size: 34px;
  }
}
