/* ==========================================================================
   HEALTH LIBRARY - PATIENT EDUCATION HUB SPECIFIC STYLES
   ========================================================================== */

:root {
  /* 1. DIABETES CARE - TEAL */
  --hl-teal: #0FA3A3;
  --hl-teal-dark: #097B7B;
  --hl-teal-light: #E6F7F7;
  --hl-teal-subtle: #F0FDFD;

  /* 2. THYROID HEALTH - CORAL */
  --hl-coral: #FF6B5B;
  --hl-coral-dark: #E04E3E;
  --hl-coral-light: #FFF0EE;
  --hl-coral-subtle: #FFF5F3;

  /* 3. HEART WELLNESS - WARM ROSE / PINK-RED */
  --hl-rose: #E63E6D;
  --hl-rose-dark: #A81C43;
  --hl-rose-light: #FDF2F5;
  --hl-rose-subtle: #FFF0F3;

  /* 4. NUTRITION & DIETETICS - FRESH GREEN */
  --hl-green: #059669;
  --hl-green-dark: #046C4E;
  --hl-green-light: #ECFDF5;
  --hl-green-subtle: #F0FDF4;

  /* 5. INFERTILITY - ROYAL PURPLE */
  --hl-purple: #8B5CF6;
  --hl-purple-dark: #6D28D9;
  --hl-purple-light: #F3E8FF;
  --hl-purple-subtle: #FAF5FF;

  --hl-amber: #F59E0B;
  --hl-amber-light: #FEF3C7;
  
  --hl-red: #EF4444;
  --hl-red-light: #FEE2E2;

  --hl-text-dark: #1E293B;
  --hl-text-muted: #64748B;
  --hl-border: rgba(15, 163, 163, 0.15);
  --hl-shadow-sm: 0 4px 14px rgba(15, 163, 163, 0.06);
  --hl-shadow-md: 0 10px 30px rgba(15, 163, 163, 0.10);
  --hl-shadow-lg: 0 20px 45px rgba(15, 163, 163, 0.15);
}

/* ============================================================
   HERO BANNER — REDESIGNED
   ============================================================ */
.hl-hero {
  position: relative;
  background: linear-gradient(135deg, #064E4E 0%, #0A8585 45%, #0FA3A3 75%, #22C8C8 100%);
  padding: 95px 0 100px 0;
  color: #FFFFFF;
  text-align: left;
  overflow: hidden;
}

/* Canvas particle overlay */
.hl-hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Faint diagonal grid-line texture */
.hl-hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0px,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 28px
    );
}

/* Hero content wrapper — sits above canvas + grid */
.hl-hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

/* Badge pill — translucent glassmorphic */
.hl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-family: 'Baloo 2', var(--font-heading), sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 7px 20px 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hl-hero-badge svg {
  opacity: 0.85;
  flex-shrink: 0;
}

/* Stacked 2-line heading */
.hl-hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hl-title-line1 {
  font-family: 'Baloo 2', var(--font-heading), sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #FFFFFF;
  display: block;
}

.hl-title-line2 {
  font-family: 'Baloo 2', var(--font-heading), sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #FFD166;
  display: block;
}

.hl-hero-desc {
  font-family: var(--font-body);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 0 36px 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.78;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ============================================================
   HERO ENTRANCE ANIMATIONS (staggered load-in)
   ============================================================ */
@keyframes hl-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hl-entrance-badge {
  opacity: 0;
  animation: hl-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hl-entrance-title {
  opacity: 0;
  animation: hl-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.hl-entrance-desc {
  opacity: 0;
  animation: hl-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hl-entrance-badge,
  .hl-entrance-title,
  .hl-entrance-desc {
    opacity: 1;
    animation: none;
  }
}

/* Responsive hero layout */
@media (max-width: 768px) {
  .hl-hero {
    padding: 65px 0 70px 0;
    text-align: center;
  }
  .hl-hero-content {
    max-width: 100%;
  }
  .hl-hero-title {
    align-items: center;
  }
  .hl-hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hl-hero-desc {
    margin: 0 auto 28px auto;
  }
}

/* TOPIC OVERVIEW CARDS GRID */
.hl-topics-section {
  padding: 70px 0 40px 0;
  background-color: #F8FAFC;
}

.hl-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 45px auto;
}

.hl-section-title {
  font-size: 2.25rem;
  color: var(--hl-text-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.hl-section-desc {
  font-size: 1rem;
  color: var(--hl-text-muted);
}

.hl-topic-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.hl-topic-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 26px 20px;
  border: 2px solid transparent;
  box-shadow: var(--hl-shadow-sm);
  transition: all 0.35s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.hl-topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

/* TOP BORDER STRIPS */
.hl-topic-card.teal-theme::before { background: linear-gradient(90deg, #0FA3A3, #22D3EE); }
.hl-topic-card.coral-theme::before { background: linear-gradient(90deg, #FF6B5B, #FF9F1C); }
.hl-topic-card.rose-theme::before { background: linear-gradient(90deg, #E63E6D, #FF758F); }
.hl-topic-card.green-theme::before { background: linear-gradient(90deg, #059669, #34D399); }
.hl-topic-card.purple-theme::before { background: linear-gradient(90deg, #8B5CF6, #C084FC); }

.hl-topic-card.disabled-theme::before { background: #CBD5E1; }

.hl-topic-card:hover:not(.disabled) {
  transform: translateY(-8px);
  box-shadow: var(--hl-shadow-lg);
}

/* CARD HOVER BORDERS */
.hl-topic-card.teal-theme:hover:not(.disabled) { border-color: rgba(15, 163, 163, 0.3); }
.hl-topic-card.coral-theme:hover:not(.disabled) { border-color: rgba(255, 107, 91, 0.3); }
.hl-topic-card.rose-theme:hover:not(.disabled) { border-color: rgba(230, 62, 109, 0.3); }
.hl-topic-card.green-theme:hover:not(.disabled) { border-color: rgba(5, 150, 105, 0.3); }
.hl-topic-card.purple-theme:hover:not(.disabled) { border-color: rgba(139, 92, 246, 0.3); }

/* ACTIVE CARD BORDERS & BACKGROUNDS */
.hl-topic-card.teal-theme.active {
  border-color: var(--hl-teal) !important;
  box-shadow: 0 10px 30px rgba(15, 163, 163, 0.15) !important;
  background-color: var(--hl-teal-subtle);
}

.hl-topic-card.coral-theme.active {
  border-color: var(--hl-coral) !important;
  box-shadow: 0 10px 30px rgba(255, 107, 91, 0.15) !important;
  background-color: var(--hl-coral-subtle);
}

.hl-topic-card.rose-theme.active {
  border-color: var(--hl-rose) !important;
  box-shadow: 0 10px 30px rgba(230, 62, 109, 0.15) !important;
  background-color: var(--hl-rose-subtle);
}

.hl-topic-card.green-theme.active {
  border-color: var(--hl-green) !important;
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.15) !important;
  background-color: var(--hl-green-subtle);
}

.hl-topic-card.purple-theme.active {
  border-color: var(--hl-purple) !important;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15) !important;
  background-color: var(--hl-purple-subtle);
}

/* TOPIC ICON STYLING */
.hl-topic-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.hl-topic-card.teal-theme .hl-topic-icon { background-color: var(--hl-teal-light); color: var(--hl-teal); }
.hl-topic-card.coral-theme .hl-topic-icon { background-color: var(--hl-coral-light); color: var(--hl-coral); }
.hl-topic-card.rose-theme .hl-topic-icon { background-color: var(--hl-rose-light); color: var(--hl-rose); }
.hl-topic-card.green-theme .hl-topic-icon { background-color: var(--hl-green-light); color: var(--hl-green); }
.hl-topic-card.purple-theme .hl-topic-icon { background-color: var(--hl-purple-light); color: var(--hl-purple); }

.hl-topic-card.disabled-theme .hl-topic-icon {
  background-color: #F1F5F9;
  color: #94A3B8;
}

.hl-topic-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hl-text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.hl-topic-desc {
  font-size: 0.88rem;
  color: var(--hl-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* TOPIC BUTTON STYLING */
.hl-topic-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.hl-topic-card.teal-theme .hl-topic-btn { background-color: var(--hl-teal-light); color: var(--hl-teal); }
.hl-topic-card.coral-theme .hl-topic-btn { background-color: var(--hl-coral-light); color: var(--hl-coral); }
.hl-topic-card.rose-theme .hl-topic-btn { background-color: var(--hl-rose-light); color: var(--hl-rose); }
.hl-topic-card.green-theme .hl-topic-btn { background-color: var(--hl-green-light); color: var(--hl-green); }
.hl-topic-card.purple-theme .hl-topic-btn { background-color: var(--hl-purple-light); color: var(--hl-purple); }

.hl-topic-card.teal-theme:hover:not(.disabled) .hl-topic-btn,
.hl-topic-card.teal-theme.active .hl-topic-btn { background-color: var(--hl-teal); color: #FFFFFF; }

.hl-topic-card.coral-theme:hover:not(.disabled) .hl-topic-btn,
.hl-topic-card.coral-theme.active .hl-topic-btn { background-color: var(--hl-coral); color: #FFFFFF; }

.hl-topic-card.rose-theme:hover:not(.disabled) .hl-topic-btn,
.hl-topic-card.rose-theme.active .hl-topic-btn { background-color: var(--hl-rose); color: #FFFFFF; }

.hl-topic-card.green-theme:hover:not(.disabled) .hl-topic-btn,
.hl-topic-card.green-theme.active .hl-topic-btn { background-color: var(--hl-green); color: #FFFFFF; }

.hl-topic-card.purple-theme:hover:not(.disabled) .hl-topic-btn,
.hl-topic-card.purple-theme.active .hl-topic-btn { background-color: var(--hl-purple); color: #FFFFFF; }

.hl-coming-soon-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: #E2E8F0;
  color: #64748B;
  display: inline-block;
}

/* INTERACTIVE GUIDE DISPLAY SECTION */
.hl-guide-display-section {
  padding: 60px 0 95px 0;
  background-color: #FFFFFF;
}

/* TOPIC TAB NAVIGATION */
.hl-tab-nav-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}

.hl-tab-nav {
  display: inline-flex;
  background: #F1F5F9;
  padding: 6px;
  border-radius: 50px;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.hl-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748B;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hl-tab-btn.active[data-topic="diabetes"] {
  background: var(--hl-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(15, 163, 163, 0.35);
}

.hl-tab-btn.active[data-topic="thyroid"] {
  background: var(--hl-coral);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(255, 107, 91, 0.35);
}

.hl-tab-btn.active[data-topic="heart"] {
  background: var(--hl-rose);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(230, 62, 109, 0.35);
}

.hl-tab-btn.active[data-topic="nutrition"] {
  background: var(--hl-green);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
}

.hl-tab-btn.active[data-topic="infertility"] {
  background: var(--hl-purple);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

/* GUIDE TOPIC CONTAINER */
.hl-guide-content {
  display: none;
}

.hl-guide-content.active {
  display: block;
  animation: fadeInGuide 0.4s ease forwards;
}

@keyframes fadeInGuide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TOPIC GUIDE BANNERS */
.hl-guide-banner {
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.hl-guide-banner.teal-bg { background: linear-gradient(135deg, #0FA3A3 0%, #076262 100%); color: #FFFFFF; }
.hl-guide-banner.coral-bg { background: linear-gradient(135deg, #FF6B5B 0%, #D93826 100%); color: #FFFFFF; }
.hl-guide-banner.rose-bg { background: linear-gradient(135deg, #E63E6D 0%, #A81C43 100%); color: #FFFFFF; }
.hl-guide-banner.green-bg { background: linear-gradient(135deg, #059669 0%, #046C4E 100%); color: #FFFFFF; }
.hl-guide-banner.purple-bg { background: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 100%); color: #FFFFFF; }

.hl-guide-banner-text {
  max-width: 600px;
}

.hl-guide-banner-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.hl-guide-banner-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.hl-guide-banner-hook {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hl-guide-banner-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 2-COLUMN DESKTOP GUIDE LAYOUT */
.hl-guide-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* LEFT NAVIGATION STICKY INDEX */
.hl-guide-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  background: #F8FAFC;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #E2E8F0;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  z-index: 10;
  transition: box-shadow 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.hl-guide-sidebar::-webkit-scrollbar {
  width: 4px;
}

.hl-guide-sidebar::-webkit-scrollbar-thumb {
  background-color: #CBD5E1;
  border-radius: 4px;
}

.hl-sidebar-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hl-text-muted);
  margin-bottom: 14px;
  padding-left: 12px;
}

.hl-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.hl-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hl-text-dark);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.hl-sidebar-link:hover {
  background-color: #E2E8F0;
  color: var(--hl-teal-dark);
}

.hl-sidebar-link.active {
  background-color: var(--hl-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 163, 163, 0.25);
}

.coral-theme-sidebar .hl-sidebar-link.active {
  background-color: var(--hl-coral);
  box-shadow: 0 4px 12px rgba(255, 107, 91, 0.25);
  color: #FFFFFF;
}

.rose-theme-sidebar .hl-sidebar-link.active {
  background-color: var(--hl-rose);
  box-shadow: 0 4px 12px rgba(230, 62, 109, 0.25);
  color: #FFFFFF;
}

.green-theme-sidebar .hl-sidebar-link.active {
  background-color: var(--hl-green);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  color: #FFFFFF;
}

.purple-theme-sidebar .hl-sidebar-link.active {
  background-color: var(--hl-purple);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
  color: #FFFFFF;
}

/* RIGHT CONTENT SECTIONS */
.hl-guide-sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hl-card-box {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #E2E8F0;
  box-shadow: var(--hl-shadow-sm);
  transition: all 0.3s ease;
  scroll-margin-top: 105px;
}

.hl-card-box:hover {
  box-shadow: var(--hl-shadow-md);
  border-color: #CBD5E1;
}

.hl-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hl-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hl-box-icon.teal { background: var(--hl-teal-light); color: var(--hl-teal); }
.hl-box-icon.coral { background: var(--hl-coral-light); color: var(--hl-coral); }
.hl-box-icon.rose { background: var(--hl-rose-light); color: var(--hl-rose); }
.hl-box-icon.green { background: var(--hl-green-light); color: var(--hl-green); }
.hl-box-icon.purple { background: var(--hl-purple-light); color: var(--hl-purple); }
.hl-box-icon.amber { background: var(--hl-amber-light); color: var(--hl-amber); }
.hl-box-icon.red { background: var(--hl-red-light); color: var(--hl-red); }

.hl-box-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hl-text-dark);
  letter-spacing: -0.01em;
}

.hl-box-body {
  font-size: 0.98rem;
  color: var(--hl-text-muted);
  line-height: 1.75;
}

/* TYPES HORIZONTAL GRID / CARDS */
.hl-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.hl-type-card {
  background: #F8FAFC;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
}

.hl-type-card:hover {
  background: #FFFFFF;
  border-color: var(--hl-teal);
  transform: translateY(-3px);
  box-shadow: var(--hl-shadow-sm);
}

.hl-type-card.coral-hover:hover { border-color: var(--hl-coral); }
.hl-type-card.rose-hover:hover { border-color: var(--hl-rose); }
.hl-type-card.green-hover:hover { border-color: var(--hl-green); }

.hl-type-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hl-text-dark);
  margin-bottom: 8px;
}

.hl-type-desc {
  font-size: 0.88rem;
  color: var(--hl-text-muted);
  line-height: 1.5;
}

/* STAT CALLOUTS FOR WHY IT'S A THREAT */
.hl-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.hl-stat-box {
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hl-stat-box.teal-stat { background: var(--hl-teal-subtle); border: 1px solid rgba(15, 163, 163, 0.2); }
.hl-stat-box.coral-stat { background: var(--hl-coral-subtle); border: 1px solid rgba(255, 107, 91, 0.2); }

/* NORMAL VS ABNORMAL REFERENCE VALUES TABLE & CARDS */
.hl-values-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  box-shadow: var(--hl-shadow-sm);
  margin-top: 20px;
}

.hl-values-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.hl-values-table th {
  background-color: #F8FAFC;
  color: var(--hl-text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 16px 18px;
  border-bottom: 2px solid #E2E8F0;
  white-space: nowrap;
}

.hl-values-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #F1F5F9;
  color: var(--hl-text-dark);
  vertical-align: middle;
}

.hl-values-table tr:last-child td {
  border-bottom: none;
}

.hl-values-table tr:hover td {
  background-color: #FAFCFE;
}

.hl-val-metric {
  font-weight: 700;
  color: var(--hl-text-dark);
}

.hl-val-unit {
  font-size: 0.8rem;
  color: var(--hl-text-muted);
  font-weight: normal;
  display: block;
}

/* Status Indicators / Pills */
.hl-value-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.84rem;
  white-space: nowrap;
}

.hl-value-pill.normal {
  background-color: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.hl-value-pill.watch {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.hl-value-pill.danger {
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Values Topic Callout Box */
.hl-values-callout {
  margin-top: 24px;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hl-values-callout.teal { background: #E6F7F7; border: 1.5px solid rgba(15, 163, 163, 0.3); }
.hl-values-callout.coral { background: #FFF0EE; border: 1.5px solid rgba(255, 107, 91, 0.3); }
.hl-values-callout.rose { background: #FDF2F5; border: 1.5px solid rgba(230, 62, 109, 0.3); }
.hl-values-callout.green { background: #ECFDF5; border: 1.5px solid rgba(5, 150, 105, 0.3); }
.hl-values-callout.purple { background: #F3E8FF; border: 1.5px solid rgba(139, 92, 246, 0.3); }

.hl-values-callout-text {
  flex: 1;
  min-width: 260px;
}

.hl-values-callout-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hl-text-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hl-values-callout-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.btn-values-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-values-book.teal { background: var(--hl-teal); box-shadow: 0 4px 14px rgba(15, 163, 163, 0.3); }
.btn-values-book.coral { background: var(--hl-coral); box-shadow: 0 4px 14px rgba(255, 107, 91, 0.3); }
.btn-values-book.rose { background: var(--hl-rose); box-shadow: 0 4px 14px rgba(230, 62, 109, 0.3); }
.btn-values-book.green { background: var(--hl-green); box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3); }
.btn-values-book.purple { background: var(--hl-purple); box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3); }

.btn-values-book:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}
.hl-stat-box.rose-stat { background: var(--hl-rose-subtle); border: 1px solid rgba(230, 62, 109, 0.2); }
.hl-stat-box.green-stat { background: var(--hl-green-subtle); border: 1px solid rgba(5, 150, 105, 0.2); }

.hl-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
}

.hl-stat-num.teal-text { color: var(--hl-teal-dark); }
.hl-stat-num.coral-text { color: var(--hl-coral-dark); }
.hl-stat-num.rose-text { color: var(--hl-rose-dark); }
.hl-stat-num.green-text { color: var(--hl-green-dark); }

.hl-stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hl-text-dark);
}

/* CHECKLIST STYLE SYMPTOMS */
.hl-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-top: 16px;
}

.hl-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--hl-text-dark);
}

.hl-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hl-check-icon.teal { background: var(--hl-teal-light); color: var(--hl-teal); }
.hl-check-icon.rose { background: var(--hl-rose-light); color: var(--hl-rose); }
.hl-check-icon.green { background: var(--hl-green-light); color: var(--hl-green); }
.hl-check-icon.purple { background: var(--hl-purple-light); color: var(--hl-purple); }
.hl-check-icon.amber { background: var(--hl-amber-light); color: var(--hl-amber); }

/* ALERT BOX FOR WHEN TO SEE A DOCTOR */
.hl-alert-box {
  border-radius: 20px;
  padding: 32px;
  color: #FFFFFF;
  margin-top: 10px;
  box-shadow: 0 12px 30px rgba(15, 163, 163, 0.2);
}

.hl-alert-box.teal-alert { background: linear-gradient(135deg, #0FA3A3 0%, #076262 100%); box-shadow: 0 12px 30px rgba(15, 163, 163, 0.25); }
.hl-alert-box.coral-alert { background: linear-gradient(135deg, #FF6B5B 0%, #D93826 100%); box-shadow: 0 12px 30px rgba(255, 107, 91, 0.25); }
.hl-alert-box.rose-alert { background: linear-gradient(135deg, #E63E6D 0%, #A81C43 100%); box-shadow: 0 12px 30px rgba(230, 62, 109, 0.25); }
.hl-alert-box.green-alert { background: linear-gradient(135deg, #059669 0%, #046C4E 100%); box-shadow: 0 12px 30px rgba(5, 150, 105, 0.25); }
.hl-alert-box.purple-alert { background: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 100%); box-shadow: 0 12px 30px rgba(139, 92, 246, 0.25); }

.hl-alert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hl-alert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hl-alert-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

/* PREVENTIVE INFO BOX */
.hl-prevent-box {
  background: var(--hl-teal-subtle);
  border: 2px dashed rgba(15, 163, 163, 0.3);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.hl-prevent-box.rose-prevent { background: var(--hl-rose-subtle); border-color: rgba(230, 62, 109, 0.3); }
.hl-prevent-box.rose-prevent .hl-prevent-icon { background: var(--hl-rose); }

.hl-prevent-box.green-prevent { background: var(--hl-green-subtle); border-color: rgba(5, 150, 105, 0.3); }
.hl-prevent-box.green-prevent .hl-prevent-icon { background: var(--hl-green); }

.hl-prevent-box.purple-prevent { background: var(--hl-purple-subtle); border-color: rgba(139, 92, 246, 0.3); }
.hl-prevent-box.purple-prevent .hl-prevent-icon { background: var(--hl-purple); }

.hl-prevent-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--hl-teal);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hl-prevent-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hl-text-dark);
  margin-bottom: 6px;
}

.hl-prevent-text {
  font-size: 0.92rem;
  color: var(--hl-text-muted);
  line-height: 1.6;
}

/* BOTTOM SECTION CTA BAR */
.hl-cta-bar {
  margin-top: 50px;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 24px;
  padding: 40px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hl-cta-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.hl-cta-desc {
  font-size: 0.95rem;
  color: #94A3B8;
}

.hl-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hl-primary {
  background: linear-gradient(135deg, #0FA3A3 0%, #097B7B 100%);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(15, 163, 163, 0.35);
  transition: all 0.3s ease;
}

.btn-hl-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 163, 163, 0.5);
  color: #FFFFFF;
}

.btn-hl-coral {
  background: linear-gradient(135deg, #FF6B5B 0%, #E04E3E 100%);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(255, 107, 91, 0.35);
  transition: all 0.3s ease;
}

.btn-hl-coral:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 91, 0.5);
  color: #FFFFFF;
}

.btn-hl-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-hl-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .hl-topic-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hl-guide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Mobile/Tablet Sticky Horizontal Scrollable Navigation */
  .hl-guide-sidebar {
    display: block;
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
    z-index: 100;
    background: rgba(248, 250, 252, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 10px 14px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  .hl-guide-sidebar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .hl-sidebar-title {
    display: none;
  }

  .hl-sidebar-menu {
    flex-direction: row;
    gap: 8px;
    white-space: nowrap;
  }

  .hl-sidebar-link {
    padding: 8px 14px;
    font-size: 0.84rem;
    border-radius: 50px;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
  }

  .hl-sidebar-link span {
    font-weight: 700;
  }
  
  .hl-types-grid {
    grid-template-columns: 1fr;
  }
  .hl-checklist {
    grid-template-columns: 1fr;
  }
  .hl-cta-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hl-hero {
    padding: 56px 0 64px 0;
  }
  
  .hl-title-line1,
  .hl-title-line2 {
    font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  }
  
  .hl-topics-section {
    padding: 56px 0 32px 0;
  }
  
  .hl-topic-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .hl-topic-card {
    padding: 24px 18px;
  }
  
  .hl-guide-display-section {
    padding: 48px 0 64px 0;
  }
  
  .hl-tab-btn {
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .hl-hero {
    padding: 48px 0 56px 0;
    text-align: center;
  }
  
  .hl-hero-content {
    max-width: 100%;
  }
  
  .hl-hero-title {
    align-items: center;
  }
  
  .hl-hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hl-title-line1,
  .hl-title-line2 {
    font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  }
  
  .hl-topics-section {
    padding: 44px 0 28px 0;
  }
  
  .hl-topic-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .hl-topic-card {
    padding: 20px 16px;
  }
  
  .hl-topic-title {
    font-size: 1rem;
  }
  
  .hl-guide-display-section {
    padding: 40px 0 56px 0;
  }
  
  .hl-tab-nav {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  
  .hl-tab-btn {
    width: 100%;
    padding: 12px 16px;
  }
  
  .hl-guide-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  
  .hl-guide-banner-title {
    font-size: clamp(1.3rem, 4.5vw, 1.6rem);
  }
  
  .hl-card-box {
    padding: 20px;
  }
  
  .hl-box-title {
    font-size: 1.05rem;
  }
  
  .hl-types-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .hl-stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .hl-stat-num {
    font-size: 1.6rem;
  }
  
  .hl-checklist {
    grid-template-columns: 1fr;
    gap: 10px 12px;
  }
  
  .hl-alert-box {
    padding: 20px;
  }
  
  .hl-prevent-box {
    padding: 16px;
  }
  
  .hl-cta-bar {
    padding: 24px 16px;
    flex-direction: column;
  }
  
  .hl-cta-title {
    font-size: 1.15rem;
  }
  
  .btn-hl-primary,
  .btn-hl-coral {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hl-hero {
    padding: 40px 0 48px 0;
  }
  
  .hl-title-line1,
  .hl-title-line2 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }
  
  .hl-section-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }
  
  .hl-topic-icon {
    width: 40px;
    height: 40px;
  }
  
  .hl-box-title {
    font-size: 1rem;
  }
  
  .hl-stat-num {
    font-size: 1.4rem;
  }
}