/**
 * Reverse Diabetes Asia - Brand Stylesheet
 */

/* 1. Design Tokens & Variables */
:root {
  --green-dark: #1B5E3B;
  --green-sage: #F0F7F4;
  --orange: #F97316;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  
  --grey-light: #F9F9F9;
  --grey-border: #EAEAEA;
  --grey-muted: #666666;
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  
  --container-max: 1200px;
  --radius-lg: 16px;
  --radius-md: 8px;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

/* 2. Reset & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* 3. Helper/Utility Classes */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* 4. Language Switcher Toggle Styles */
.lang-cn {
  display: none !important;
}
body.active-cn .lang-en {
  display: none !important;
}
body.active-cn .lang-cn {
  display: block !important;
}
body.active-cn span.lang-cn, 
body.active-cn strong.lang-cn, 
body.active-cn a.lang-cn {
  display: inline !important;
}

/* 5. Components & Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--grey-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2);
}
.btn-primary:hover {
  background-color: #e25e0d;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--white);
  cursor: pointer;
}
.btn-secondary:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* 6. Layout Grids (Responsive) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.grid-5 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* 7. Section-Specific CSS */

/* SECTION 1: NAVBAR */
.navbar-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-border);
  height: 80px;
  transition: var(--transition-smooth);
}
.navbar-header.navbar-scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-logo .material-symbols-outlined {
  font-size: 1.8rem;
  color: var(--green-dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--grey-muted);
  padding: 8px 12px;
  border-radius: var(--radius-md);
}
.nav-link:hover {
  color: var(--green-dark);
  background-color: var(--green-sage);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#lang-toggle {
  background-color: var(--green-sage);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(27, 94, 59, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}
#lang-toggle:hover {
  background-color: var(--green-dark);
  color: var(--white);
}

.nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .nav-logo {
    font-size: 1.25rem;
  }
  .nav-logo .material-symbols-outlined {
    font-size: 1.5rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  #lang-toggle {
    padding: 6px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--grey-border);
    box-shadow: var(--shadow-md);
    gap: 1rem;
  }
  .nav-menu-active {
    display: flex;
  }
  .nav-toggle-btn {
    display: block;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    font-size: 1.1rem;
  }
  .nav-logo .material-symbols-outlined {
    font-size: 1.3rem;
  }
}

/* SECTION 2: HERO */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: #0D2E1C;
  display: flex;
  align-items: center;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  border-radius: 0 0 0 120px;
}

.hero-video-elem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: #0D2E1C;
  z-index: 1;
}

.hero-overlay-curve {
  position: absolute;
  top: 0;
  right: -18%;
  height: 100%;
  width: 20%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 44%;
  padding: 0 40px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,0.15);
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: 560px;
    display: flex;
    align-items: center;
  }
  
  .hero-video-bg {
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    opacity: 0.25;
    border-radius: 0;
  }

  .hero-video-elem {
    object-position: center center;
  }

  .hero-overlay {
    width: 100%;
    background: linear-gradient(to bottom, rgba(13, 46, 28, 0.8) 0%, rgba(13, 46, 28, 0.95) 100%);
  }

  .hero-overlay-curve {
    display: none;
  }

  .hero-content {
    width: 100%;
    padding: 80px 24px;
    min-height: auto;
    text-align: center;
    align-items: center;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .hero-badge {
    margin-bottom: 1.25rem;
  }

  .hero-buttons {
    justify-content: center;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}



.hero-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  width: 100%;
  height: 100%;
}
.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION 3: STATS BAR */
.stats-section {
  background-color: var(--green-sage);
  padding: 48px 0;
  border-bottom: 1px solid var(--grey-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.stat-number {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SECTION 4: UNDERSTAND DIABETES */
.understand-section {
  padding: 80px 0;
  background-color: var(--white);
  text-align: center;
}

.understand-card {
  background-color: var(--green-sage);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition-smooth);
}
.understand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(27, 94, 59, 0.1);
  color: var(--green-dark);
  border-radius: var(--radius-full);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.card-title {
  color: var(--green-dark);
  font-size: 1.5rem;
}

.card-description {
  font-size: 0.95rem;
  color: var(--grey-muted);
  flex-grow: 1;
}

.card-link {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 1rem;
}
.card-link:hover {
  color: #e25e0d;
}

/* SECTION 5: THE REVERSAL PROTOCOL */
.protocol-section {
  background-color: #0D2E1C;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.protocol-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.protocol-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .protocol-steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .protocol-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    width: 75%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
  }
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background-color: var(--orange);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 220px;
}

/* SECTION 6: LIFESTYLE / MOTIVATIONAL SUCCESS STORY */
.lifestyle-section {
  padding: 80px 0;
  background-color: var(--white);
}

.lifestyle-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  width: 100%;
}
.lifestyle-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-border);
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 480px) {
  .lifestyle-overlay {
    bottom: 10px;
    right: 10px;
  }
}

.overlay-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  border-radius: var(--radius-full);
  font-size: 1.5rem;
}

.overlay-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--grey-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.overlay-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
}

.lifestyle-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lifestyle-badge {
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lifestyle-headline {
  font-size: 2.25rem;
  color: var(--green-dark);
}

.lifestyle-subheadline {
  font-size: 1.25rem;
  color: var(--grey-muted);
  font-weight: 600;
  margin-top: -10px;
}

.lifestyle-quote-box {
  background-color: var(--green-sage);
  padding: 24px;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--green-dark);
}

.lifestyle-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-dark);
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
}

.lifestyle-attribution {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--grey-muted);
  margin-top: 10px;
}

.lifestyle-text {
  font-size: 1rem;
  color: var(--grey-muted);
}

/* SECTION 7: COUNTRY HUBS */
.hubs-section {
  padding: 80px 0;
  background-color: var(--green-sage);
}

.hubs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.hubs-view-all {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hubs-view-all:hover {
  text-decoration: underline;
}

.hub-card {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hub-flag-container {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background-color: var(--green-sage);
}
.hub-flag-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-name {
  color: var(--green-dark);
  font-size: 1.15rem;
}

.hub-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}
.hub-tag-active {
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}
.hub-tag-growing {
  background-color: var(--green-sage);
  color: var(--green-dark);
}
.hub-tag-soon {
  background-color: var(--grey-light);
  color: var(--grey-muted);
  font-style: italic;
}

/* SECTION 8: LATEST GUIDES */
.guides-section {
  padding: 80px 0;
  background-color: var(--white);
}

.guide-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-image-container {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--green-sage);
  position: relative;
}
.guide-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.guide-item:hover .guide-image-container img {
  transform: scale(1.05);
}

.guide-category {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guide-title {
  color: var(--green-dark);
  font-size: 1.25rem;
  line-height: 1.35;
  transition: var(--transition-smooth);
}
.guide-item:hover .guide-title {
  color: var(--orange);
}

/* SECTION 9: TRUST INDICATORS */
.trust-section {
  background-color: var(--green-sage);
  padding: 64px 0;
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .trust-item {
    align-items: flex-start;
    text-align: left;
  }
}

.trust-icon {
  color: var(--orange);
  font-size: 2.2rem;
}

.trust-title {
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-desc {
  color: var(--text-dark);
  font-size: 0.85rem;
  opacity: 0.9;
}

/* SECTION 10: FOOTER & LEGAL */
.footer-wrapper {
  background-color: #0D2E1C;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo span {
  font-size: 1.8rem;
  color: var(--orange);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col-title {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.footer-link:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-bottom-row {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.disclaimer-title {
  color: var(--white);
  font-weight: 700;
}

.disclaimer-text {
  font-size: 0.75rem;
  line-height: 1.6;
}

.copyright-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ==========================================
   Page-Specific Styles for Batch 1 Pages
   ========================================== */

/* 1. Breadcrumbs */
.breadcrumb-nav {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-nav a:hover {
  color: var(--white);
}
.breadcrumb-separator {
  opacity: 0.6;
}

/* 2. Page Hero Modifications (Breadcrumbs & Badges) */
.page-hero {
  background-color: #0D2E1C;
  color: var(--white);
  padding: 60px 0 80px 0;
  position: relative;
  overflow: hidden;
}
.page-hero-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.85;
  font-weight: 500;
  color: var(--green-sage);
  margin-bottom: 1.5rem;
}
.page-hero-description {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 700px;
  line-height: 1.6;
}

/* 3. Section Headers (Subtitles with Lang Support) */
.section-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}
.section-subtitle-lang {
  font-size: 1.25rem;
  color: var(--grey-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* 4. Warning Signs Grid */
.warning-signs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .warning-signs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.symptom-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background-color: var(--grey-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
  transition: var(--transition-smooth);
}
.symptom-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(249, 115, 22, 0.3);
}
.symptom-icon-box {
  width: 40px;
  height: 40px;
  background-color: rgba(249, 115, 22, 0.15);
  color: var(--orange);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.symptom-icon {
  width: 44px;
  height: 44px;
  background-color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.symptom-title {
  color: var(--green-dark);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.symptom-desc {
  font-size: 0.9rem;
  color: var(--grey-muted);
  line-height: 1.5;
}

/* 5. Why Asians Are at Higher Risk */
.risk-factors-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-start;
}
@media (min-width: 992px) {
  .risk-factors-container {
    grid-template-columns: 7fr 5fr;
  }
}
.risk-factors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 576px) {
  .risk-factors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.risk-card {
  background-color: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}
.risk-card:hover {
  border-color: var(--green-dark);
  box-shadow: var(--shadow-md);
}
.risk-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--green-sage);
  color: var(--green-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.risk-title {
  color: var(--green-dark);
  font-size: 1.2rem;
  font-weight: 700;
}
.risk-desc {
  font-size: 0.9rem;
  color: var(--grey-muted);
  line-height: 1.5;
}

.bmi-comparison-box {
  background-color: var(--green-sage);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 94, 59, 0.15);
  position: relative;
  overflow: hidden;
}
.bmi-title {
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.bmi-text {
  font-size: 0.95rem;
  color: var(--grey-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.bmi-bars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bmi-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.bmi-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}
.bmi-bar-outer {
  height: 12px;
  background-color: rgba(0,0,0,0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.bmi-bar-inner {
  height: 100%;
  border-radius: var(--radius-full);
}
.bmi-bar-inner.western {
  width: 100%; /* Represents 25.0 */
  background-color: var(--grey-muted);
}
.bmi-bar-inner.asian {
  width: 92%; /* Represents 23.0 (higher risk at lower BMI) */
  background-color: var(--orange);
}

/* 6. Understanding Your Numbers */
.numbers-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--grey-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
}
.number-metric-section {
  margin-bottom: 2.5rem;
}
.number-metric-section:last-child {
  margin-bottom: 0;
}
.number-metric-title {
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.number-metric-desc {
  font-size: 0.95rem;
  color: var(--grey-muted);
  margin-bottom: 1.25rem;
}
.number-ranges-bar {
  display: flex;
  height: 28px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.range-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.range-normal { background-color: #2E7D32; } /* Green */
.range-prediabetes { background-color: #F97316; } /* Orange */
.range-diabetes { background-color: #C62828; } /* Red */

.number-ranges-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--grey-muted);
  padding: 0 4px;
}

/* 7. Reversal Plate Section */
.plate-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 992px) {
  .plate-container {
    grid-template-columns: 5fr 7fr;
  }
}
.plate-graphic-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.plate-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 12px solid #EAEAEA;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}
.plate-part {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.plate-part.vegetables {
  background-color: rgba(46, 125, 50, 0.15);
  color: #2E7D32;
  clip-path: polygon(50% 50%, 0% 0%, 100% 0%, 100% 100%, 0% 100%);
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  align-items: flex-end;
  padding-bottom: 24px;
}
.plate-part.protein {
  background-color: rgba(249, 115, 22, 0.15);
  color: #e25e0d;
  width: 50%;
  height: 50%;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 0 0 24px;
}
.plate-part.carbs {
  background-color: rgba(245, 158, 11, 0.15);
  color: #d97706;
  width: 50%;
  height: 50%;
  top: 0;
  right: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px 24px 0 0;
}
.plate-label {
  font-size: 0.9rem;
  color: var(--green-dark);
  font-weight: 700;
  text-transform: uppercase;
}

.food-columns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 576px) {
  .food-columns-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.food-column-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  height: 100%;
}
.food-column-card.eat-more {
  background-color: rgba(46, 125, 50, 0.05);
  border-color: rgba(46, 125, 50, 0.2);
}
.food-column-card.eat-less {
  background-color: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.2);
}
.food-column-card.avoid {
  background-color: rgba(198, 40, 40, 0.05);
  border-color: rgba(198, 40, 40, 0.2);
}
.food-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.food-col-title.eat-more { color: #2E7D32; }
.food-col-title.eat-less { color: #D97706; }
.food-col-title.avoid { color: #C62828; }
.food-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.food-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 8. Reversal Timeline */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--green-sage);
}
@media (min-width: 768px) {
  .timeline-container::before {
    left: 50%;
    margin-left: -1px;
  }
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-badge-dot {
  position: absolute;
  left: 20px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--orange);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .timeline-badge-dot {
    left: 50%;
  }
}
.timeline-card-wrapper {
  margin-left: 50px;
  width: calc(100% - 50px);
}
@media (min-width: 768px) {
  .timeline-card-wrapper {
    margin-left: 0;
    width: calc(50% - 40px);
  }
  .timeline-item:nth-child(even) .timeline-card-wrapper {
    margin-left: auto;
  }
  .timeline-item:nth-child(odd) .timeline-card-wrapper {
    text-align: right;
  }
}
.timeline-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.timeline-time-badge {
  display: inline-block;
  background-color: var(--green-sage);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.timeline-item:nth-child(odd) .timeline-time-badge {
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}
.timeline-title {
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--grey-muted);
  line-height: 1.5;
}

/* 9. Success Stories (Anonymous Testimonials) */
.success-stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .success-stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.story-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: var(--transition-smooth);
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-dark);
}
.story-text {
  font-size: 0.95rem;
  color: var(--grey-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.story-meta {
  border-top: 1px solid var(--grey-border);
  padding-top: 1rem;
}
.story-patient {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.story-stat {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
}

/* 10. Finder Tool */
.finder-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}
.finder-steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .finder-steps-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
.finder-step-box {
  background-color: var(--grey-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.finder-step-num {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 28px;
  height: 28px;
  background-color: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.finder-step-title {
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.finder-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
}
.finder-select:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.1);
}

.finder-result {
  border-top: 1px solid var(--grey-border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .finder-result {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.finder-result-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.finder-result-icon {
  width: 48px;
  height: 48px;
  background-color: var(--green-sage);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 2px solid var(--green-dark);
}

/* 11. Dr Julie Featured Profile */
.featured-profile-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid #D4AF37; /* Gold Border */
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .featured-profile-card {
    grid-template-columns: 4fr 8fr;
  }
}
.profile-photo-side {
  position: relative;
  background-color: var(--green-sage);
  min-height: 250px;
}
.profile-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.profile-badge-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(255,255,255,0.9);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}
.profile-content-side {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  .profile-content-side {
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .profile-content-side {
    padding: 1.25rem;
  }
}
.profile-title-row {
  margin-bottom: 1.5rem;
}
.profile-name {
  color: var(--green-dark);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.profile-spec {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
}
.profile-spec-cn {
  font-size: 0.95rem;
  color: var(--grey-muted);
}
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 480px) {
  .profile-stats-grid {
    gap: 0.5rem;
  }
}
.profile-stat-box {
  background-color: var(--grey-light);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--grey-border);
}
@media (max-width: 480px) {
  .profile-stat-box {
    padding: 0.75rem 0.25rem;
  }
}
.profile-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}
.profile-stat-label {
  font-size: 0.75rem;
  color: var(--grey-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.profile-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.profile-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dark);
}
.profile-detail-item span.material-symbols-outlined {
  margin-top: 2px;
  flex-shrink: 0;
}
.profile-detail-item strong {
  color: var(--green-dark);
}
.profile-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 480px) {
  .profile-buttons-row a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* 11.1 Evidence Stats Box & Grid */
.evidence-stats-container {
  background-color: var(--green-sage);
  border: 1px solid rgba(27, 94, 59, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
.evidence-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.evidence-stat-card {
  background-color: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
  text-align: center;
}
.evidence-stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}
.evidence-stat-value.val-green {
  color: var(--green-dark);
}
.evidence-stat-value.val-orange {
  color: var(--orange);
}
.evidence-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-muted);
  margin-top: 6px;
  display: block;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .evidence-stats-container {
    padding: 1.5rem;
  }
  .evidence-stats-grid {
    gap: 1rem;
  }
  .evidence-stat-card {
    padding: 1rem;
  }
  .evidence-stat-value {
    font-size: 1.85rem;
  }
}
@media (max-width: 480px) {
  .evidence-stats-container {
    padding: 1rem;
  }
  .evidence-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* 12. Comparison Table */
.table-section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .table-section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}
.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
}
.search-wrapper .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--grey-border);
  background-color: var(--grey-light);
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-body);
}
.search-input:focus {
  border-color: var(--green-dark);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.1);
}

.table-responsive-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  background-color: var(--white);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}
.comparison-table th {
  background-color: var(--green-sage);
  color: var(--green-dark);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--grey-border);
  white-space: nowrap;
}
.comparison-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--grey-border);
  color: var(--text-dark);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table tr.featured-row {
  background-color: rgba(212, 175, 55, 0.04);
}
.comparison-table tr.featured-row:hover {
  background-color: var(--green-sage);
}
.comparison-table tr.pending-row {
  opacity: 0.6;
}
.comparison-table tr:hover {
  background-color: var(--grey-light);
}

/* 13. Platform Disclaimer */
.disclaimer-box-bordered {
  border: 1px solid var(--grey-border);
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.disclaimer-box-bordered p {
  font-size: 0.8rem;
  color: var(--grey-muted);
  line-height: 1.6;
}

/* 14. Section Gaps & Helpers */
.py-section-custom {
  padding: 80px 0;
}
.py-stack-lg {
  padding: 80px 0;
}
.bg-sage-light {
  background-color: var(--green-sage);
}
.text-center {
  text-align: center;
}

/* ==========================================
   Page-Specific Styles for Batch 2 Pages
   ========================================== */

/* --- GUIDES PAGE (guides.html) --- */
.featured-guide-card {
  background-color: var(--green-sage);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 94, 59, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}
.featured-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-dark);
}
.featured-guide-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--grey-light);
}
.featured-guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.featured-guide-card:hover .featured-guide-img img {
  transform: scale(1.03);
}
.featured-guide-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.featured-guide-tag {
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.featured-guide-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.featured-guide-excerpt {
  font-size: 0.95rem;
  color: var(--grey-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}
.featured-guide-link {
  font-weight: 700;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.featured-guide-link:hover {
  color: var(--orange);
}

.filter-tabs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.filter-tab {
  background-color: var(--white);
  color: var(--grey-muted);
  border: 1px solid var(--grey-border);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
}
.filter-tab:hover {
  background-color: var(--green-sage);
  color: var(--green-dark);
  border-color: rgba(27, 94, 59, 0.2);
}
.filter-tab.active {
  background-color: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.browse-article-card {
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}
.browse-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-dark);
}
.browse-article-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--green-sage);
}
.browse-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.browse-article-card:hover .browse-article-img img {
  transform: scale(1.03);
}
.browse-article-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.browse-article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.tag-science { color: var(--green-dark); }
.tag-nutrition { color: var(--orange); }
.tag-monitoring { color: #2563EB; }
.tag-lifestyle { color: #8B5CF6; }

.browse-article-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.browse-article-excerpt {
  font-size: 0.9rem;
  color: var(--grey-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex-grow: 1;
}
.browse-article-link {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.browse-article-link:hover {
  color: var(--orange);
}

/* --- SPECIALIST PROFILE PAGE (specialist-dr-julie.html) --- */
.specialist-hero-section {
  background-color: #0D2E1C;
  color: var(--white);
  padding: 80px 0;
}
.specialist-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .specialist-hero-grid {
    grid-template-columns: 4.5fr 7.5fr;
  }
}
.specialist-hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.specialist-photo-wrapper {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--green-sage);
}
.specialist-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.specialist-award-badge {
  margin-top: 1.25rem;
  background-color: var(--orange);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.specialist-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.specialist-badge-top {
  align-self: flex-start;
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.specialist-name-title {
  font-size: 2.75rem;
  margin: 0;
  line-height: 1.2;
  overflow: visible !important;
  white-space: normal !important;
  word-break: break-word !important;
}
.specialist-role-subtitle {
  font-size: 1.25rem;
  color: var(--green-sage);
  font-weight: 500;
  margin-top: -0.5rem;
}
.specialist-languages {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  opacity: 0.85;
}
.specialist-stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0.5rem 0;
}
@media (min-width: 576px) {
  .specialist-stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.specialist-stat-box-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}
.specialist-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}
.specialist-stat-lbl {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.specialist-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.gold-stats-bar-section {
  background-color: #FBBF24;
  color: #78350F;
  padding: 50px 0 20px 0;
  position: relative;
  z-index: 3;
}
.gold-stats-bar-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-around;
}
@media (min-width: 768px) {
  .gold-stats-bar-grid {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}
.gold-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.gold-stat-item span.material-symbols-outlined {
  font-size: 1.5rem;
}
.gold-stat-text strong {
  font-weight: 700;
}

.specialist-bio-paragraphs p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--grey-muted);
  line-height: 1.7;
}
.specialist-bio-paragraphs p:last-child {
  margin-bottom: 0;
}
.specialist-quote-card {
  background-color: var(--green-sage);
  border-left: 4px solid var(--green-dark);
  padding: 2rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-top: 2rem;
  position: relative;
}
.specialist-quote-card .quote-icon {
  font-size: 3rem;
  color: rgba(27, 94, 59, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-dark);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.quote-author {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
}

.specialist-facts-card {
  background-color: var(--green-sage);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 94, 59, 0.15);
  padding: 2.5rem;
}
.facts-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(27, 94, 59, 0.15);
  padding-bottom: 0.75rem;
}
.facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.facts-list li span.material-symbols-outlined {
  color: var(--green-dark);
  font-size: 1.4rem;
  margin-top: 2px;
}
.facts-list li strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  display: block;
}
.facts-list li p {
  font-size: 1rem;
  color: var(--grey-muted);
  margin-top: 2px;
}
.facts-list li p.text-verified {
  color: var(--green-dark);
  font-weight: 700;
}

.method-card {
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.method-step-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(249, 115, 22, 0.1);
  line-height: 1;
}
.method-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.method-desc {
  font-size: 0.95rem;
  color: var(--grey-muted);
  line-height: 1.6;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--green-sage);
  color: var(--green-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.95rem;
  color: var(--grey-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.service-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: auto;
}

.assessment-bars-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.assessment-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.assessment-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}
.assessment-bar-val {
  color: var(--green-dark);
}
.assessment-bar-outer {
  height: 10px;
  background-color: rgba(0,0,0,0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.assessment-bar-inner {
  height: 100%;
  background-color: var(--green-dark);
  border-radius: var(--radius-full);
}

.assessment-rating-badge-card {
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rating-circle-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--green-sage);
  border: 3px solid var(--green-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.rating-circle-container .star-icon {
  font-size: 2.25rem;
  color: var(--green-dark);
}
.rating-badge-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-top: -2px;
}
.rating-badge-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.rating-badge-desc {
  font-size: 0.95rem;
  color: var(--grey-muted);
  line-height: 1.6;
  max-width: 320px;
}

/* CTA Banner Overrides (to override inline styles) */
.py-section-custom.text-center {
  background-color: #0D2E1C !important;
}

/* --- 9. Article Page Layout & Typography --- */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}
.article-header {
  margin-bottom: 2.5rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--grey-muted);
  margin-bottom: 1rem;
}
.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}
.article-content p {
  margin-bottom: 1.5rem;
}
.article-content h2 {
  font-size: 1.75rem;
  color: #0D2E1C;
  margin: 2.5rem 0 1rem;
  font-family: var(--font-display);
}
.article-content h3 {
  font-size: 1.35rem;
  color: #0D2E1C;
  margin: 2rem 0 1rem;
  font-family: var(--font-display);
}
.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-content li {
  margin-bottom: 0.5rem;
}
.article-content blockquote {
  border-left: 4px solid var(--orange);
  background-color: var(--grey-light);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.related-articles-section {
  border-top: 1px solid var(--grey-border);
  padding-top: 3rem;
  margin-top: 4rem;
}

/* Asian Diabetes Reversal Plate Styles */
.plate-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.plate-circle {
  width: 280px;
  height: 280px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  border: 6px solid #e0e0e0;
  background: conic-gradient(
    #4CAF50 0% 50%,
    #FF9800 50% 75%,
    #8BC34A 75% 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plate-segment {
  display: none;
}

.plate-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 2rem;
}

.plate-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* CTA Banner Section Styles */
.protocol-section.cta-banner {
  background-color: var(--green-sage);
  color: var(--text-dark);
}

.protocol-section.cta-banner .section-title {
  color: var(--green-dark);
}

.protocol-section.cta-banner .section-subtitle {
  color: var(--text-dark);
}

.protocol-section.cta-banner .btn-secondary {
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.protocol-section.cta-banner .btn-secondary:hover {
  background-color: rgba(27, 94, 59, 0.1);
}

.cta-banner {
  background-color: #EBF5EE !important;
  color: var(--green-dark) !important;
}

.cta-banner .section-title {
  color: var(--green-dark) !important;
}

.cta-banner .section-subtitle {
  color: var(--grey-muted) !important;
  opacity: 1 !important;
}

.cta-banner .btn-secondary {
  border-color: var(--green-dark) !important;
  color: var(--green-dark) !important;
}

.wave-after {
  position: relative;
}
.wave-after::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 60px;
  background: inherit;
  clip-path: ellipse(50% 60px at 50% 0);
  z-index: 2;
}

.wave-before {
  position: relative;
}
.wave-before::before {
  content: '';
  display: block;
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 60px;
  background: inherit;
  clip-path: ellipse(50% 60px at 50% 100%);
  z-index: 2;
}

.wave-after + .wave-before,
.wave-after + section,
section + .wave-before {
  margin-top: 0;
}

.wave-after:has(+ .wave-before)::after {
  display: none;
}




