/* ==========================================================================
   CSS DESIGN SYSTEM - LONGFORM BÁO CHÍ DỮ LIỆU HIỆN ĐẠI
   Chủ đề: HTX giành lợi thế nhờ chuyển từ sản xuất theo kinh nghiệm sang sản xuất theo tiêu chuẩn
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&display=swap');

:root {
  /* Color Palette - Báo chí dữ liệu & Nông sản bền vững */
  --bg-page: #FBFBFA;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F2F5F3;
  --bg-surface-elevated: #FFFFFF;
  --border-subtle: #D8DFDA;
  --border-medium: #B8C5BC;
  
  /* Chữ đậm hơn, sắc nét hơn, độ tương phản cao */
  --text-primary: #0A110D;
  --text-secondary: #27342C;
  --text-tertiary: #4A5B51;
  --text-inverse: #FFFFFF;

  /* Brand Accents */
  --emerald-950: #062415;
  --emerald-900: #0A3620;
  --emerald-800: #0D472B;
  --emerald-700: #12633C;
  --emerald-600: #167A4A;
  --emerald-100: #D8F2E3;
  --emerald-50:  #EDFAF2;

  --amber-800: #78350F;
  --amber-700: #92400E;
  --amber-600: #B45309;
  --amber-100: #FEF3C7;
  --amber-50:  #FFFBEB;

  --accent-red: #991B1B;
  --accent-blue: #1E40AF;

  /* Typography Tokens */
  --font-serif: 'Newsreader', Georgia, Cambria, 'Times New Roman', serif;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Sizing scale */
  --text-base: 1.15rem;    /* 18.4px cho trải nghiệm đọc dễ chịu */
  --text-sm: 1rem;         /* 16px tối thiểu theo yêu cầu */
  --text-xs: 0.875rem;     /* 14px */
  --text-lg: 1.28rem;      /* ~20.5px */
  --text-xl: 1.55rem;      /* 25px */
  --text-2xl: 2.1rem;      /* 33.6px */
  --text-3xl: 2.6rem;      /* 41.6px */
  --text-4xl: 3.4rem;      /* 54.4px */

  /* Infographic Min Font Size: 18px */
  --info-font-min: 18px;
  --info-font-md: 20px;
  --info-font-lg: 24px;
  --info-font-xl: 32px;

  /* Container Widths */
  --content-narrow: 780px;
  --content-medium: 1040px;
  --content-wide: 1280px;
  --content-full: 1440px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 17, 13, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 17, 13, 0.09);
  --shadow-lg: 0 16px 44px rgba(10, 17, 13, 0.12);

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 450;
  line-height: 1.85;
  overflow-x: hidden;
}

/* Reading Progress Bar */
.reading-progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(220, 230, 224, 0.4);
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald-600), var(--emerald-800), var(--amber-600));
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(25, 135, 84, 0.6);
}

/* Floating Chapter Indicator (Clean, non-intrusive) */
.chapter-nav-indicator {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.chapter-nav-indicator.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.chapter-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-tertiary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.chapter-dot-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
  transition: var(--transition-smooth);
}

.chapter-dot-label {
  opacity: 0;
  transform: translateX(10px);
  background: rgba(15, 28, 20, 0.85);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.chapter-dot:hover .chapter-dot-label,
.chapter-dot.active .chapter-dot-label {
  opacity: 1;
  transform: translateX(0);
}

.chapter-dot.active .chapter-dot-circle {
  background: var(--emerald-700);
  transform: scale(1.4);
  box-shadow: 0 0 0 3px var(--emerald-100);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */

/* ==========================================================================
   HERO / BANNER SECTION (CĂN GIỮA, ĐIỂM NHẤN ẤN TƯỢNG)
   ========================================================================== */

.hero-header {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 90px;
  background-color: #08140c;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
  filter: brightness(0.62) contrast(1.1);
  will-change: transform;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(8, 20, 12, 0.45) 0%,
    rgba(8, 20, 12, 0.8) 70%,
    rgba(8, 20, 12, 0.96) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B5E4CA;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.hero-eyebrow .pulse-point {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 12px #34D399;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0.6; transform: scale(0.9); }
}

/* Title Căn Giữa & Điểm Nhấn Ấn Tượng */
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 32px;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0,0,0,0.6);
  max-width: 1120px;
}

.hero-title-lead {
  display: block;
  font-size: clamp(2.5rem, 5.5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.75rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
}

/* Điểm nhấn đối trọng: Kinh nghiệm VS Tiêu chuẩn */
.highlight-contrast-old {
  color: #FED7AA;
  display: inline-block;
  padding: 0 4px;
  font-weight: 700;
  border-bottom: 3px dashed rgba(251, 146, 60, 0.7);
}

.highlight-contrast-new {
  display: inline-block;
  font-weight: 800;
  color: #6EE7B7;
  background: linear-gradient(135deg, #34D399 0%, #6EE7B7 60%, #A7F3D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(52, 211, 153, 0.4));
  border-bottom: 3px solid #34D399;
  padding-bottom: 2px;
}

.hero-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

/* ==========================================================================
   ARTICLE LAYOUT & TYPOGRAPHY SẮC NÉT
   ========================================================================== */

.article-container {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 65px 24px 85px;
}

.lead-sapo {
  font-size: clamp(1.28rem, 2.2vw, 1.48rem);
  line-height: 1.78;
  color: var(--emerald-950);
  font-family: var(--font-serif);
  font-weight: 600;
  margin-bottom: 50px;
  padding-left: 28px;
  border-left: 5px solid var(--emerald-700);
  background: linear-gradient(90deg, var(--emerald-50) 0%, transparent 100%);
  padding-top: 22px;
  padding-bottom: 22px;
  border-radius: 0 14px 14px 0;
}

.lead-sapo p + p {
  margin-top: 16px;
}

/* Base Paragraphs Sắc Nét, Đậm Hơn, Dễ Đọc Hơn */
.prose-content p {
  font-size: clamp(1.15rem, 1.35vw, 1.28rem); /* 18.5px - 20.5px */
  line-height: 1.85;
  color: #0A110D;
  font-weight: 450;
  margin-bottom: 28px;
  text-align: justify;
}

/* Chapter Sections */
.longform-chapter {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.chapter-header {
  margin-bottom: 36px;
}

.chapter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-800);
  background: var(--emerald-100);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.chapter-title {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--emerald-900);
}

/* Pull Quotes / Blockquotes */
.quote-highlight {
  position: relative;
  margin: 44px 0;
  padding: 32px 36px;
  background: var(--bg-surface);
  border-radius: 16px;
  border-left: 5px solid var(--amber-600);
  box-shadow: var(--shadow-md);
}

.quote-highlight::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 5rem;
  line-height: 1;
  font-family: var(--font-serif);
  color: rgba(217, 119, 6, 0.15);
  pointer-events: none;
}

.quote-highlight blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.35rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.7;
  color: #243329;
  position: relative;
  z-index: 2;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

.quote-author .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
}

/* Editorial Photography Breaks (Mở rộng sang 2 bên thoáng đãng) */
.editorial-media-break {
  width: min(1140px, calc(100vw - 40px));
  margin-top: 55px;
  margin-bottom: 55px;
  margin-left: calc(50% - min(570px, calc(50vw - 20px)));
  margin-right: calc(50% - min(570px, calc(50vw - 20px)));
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .editorial-media-break {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
}

.editorial-media-break img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.editorial-caption {
  padding: 16px 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.editorial-caption svg {
  flex-shrink: 0;
  color: var(--emerald-700);
}

/* ==========================================================================
   DATA INFOGRAPHICS SYSTEM - MỞ RỘNG SANG 2 BÊN TỐI ƯU KHÔNG GIAN (MIN FONT 18PX)
   ========================================================================== */

.infographic-wrapper {
  width: min(1280px, calc(100vw - 40px));
  margin-top: 65px;
  margin-bottom: 65px;
  margin-left: calc(50% - min(640px, calc(50vw - 20px)));
  margin-right: calc(50% - min(640px, calc(50vw - 20px)));
  padding: 46px 46px 52px;
  background: #FFFFFF;
  border: 1px solid #D6DFD8;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(10, 22, 15, 0.08);
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .infographic-wrapper {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    padding: 26px 18px 30px;
    border-radius: 16px;
  }
}

.infographic-header {
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.infographic-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-700);
}

.infographic-title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: #062817;
  line-height: 1.3;
  margin-top: 8px;
}

.infographic-subtitle {
  font-family: var(--font-sans);
  font-size: 18px; /* Tối thiểu 18px */
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 6px;
}

/* Common Infographic Styles */
.info-counter-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 34px;
}

@media (max-width: 680px) {
  .info-counter-row {
    grid-template-columns: 1fr;
  }
}

.metric-card {
  background: #F4F7F5;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid #D8E2DC;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-600);
}

.metric-number {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 800;
  color: var(--emerald-800);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric-suffix {
  font-size: 20px;
  font-weight: 700;
  color: var(--amber-700);
}

.metric-label {
  font-family: var(--font-sans);
  font-size: 18px; /* Đảm bảo >= 18px */
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 8px;
  line-height: 1.35;
}

/* ==========================================================================
   INFOGRAPHIC 1: CHUYỂN DỊCH NIỀM TIN & GIÁ TRỊ NÔNG SẢN SỐ
   ========================================================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.compare-card {
  border-radius: 16px;
  padding: 26px 24px;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.compare-card.traditional {
  background: #FFF7ED;
  border-color: #FED7AA;
}

.compare-card.standardized {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 18px; /* >= 18px */
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  width: fit-content;
}

.compare-card.traditional .compare-badge {
  background: #FFEDD5;
  color: #C2410C;
}

.compare-card.standardized .compare-badge {
  background: #DCFCE7;
  color: #15803D;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-item {
  font-family: var(--font-sans);
  font-size: 18px; /* >= 18px */
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-primary);
}

.compare-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 22px;
  height: 22px;
}

.compare-card.traditional svg {
  color: #EA580C;
}

.compare-card.standardized svg {
  color: #16A34A;
}

/* Infographic 1 Pillars */
.pillars-container {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px dashed var(--border-subtle);
}

.pillars-title {
  font-family: var(--font-sans);
  font-size: 20px; /* >= 18px */
  font-weight: 700;
  color: var(--emerald-900);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-item {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  transition: var(--transition-smooth);
}

.pillar-item:hover {
  background: #FFFFFF;
  border-color: var(--emerald-600);
  transform: translateY(-3px);
}

.pillar-step {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  color: var(--emerald-700);
  background: var(--emerald-100);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.pillar-label {
  font-family: var(--font-sans);
  font-size: 18px; /* >= 18px */
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

/* ==========================================================================
   INFOGRAPHIC 2: CHUỖI GIÁ TRỊ LIÊN KẾT & CƠ CẤU VIỆC LÀM TẠI CHỖ
   ========================================================================== */

.value-chain-comparison {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 20px;
}

.chain-track {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
}

.chain-track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.chain-name {
  font-family: var(--font-sans);
  font-size: 20px; /* >= 18px */
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chain-tag-status {
  font-family: var(--font-sans);
  font-size: 18px; /* >= 18px */
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
}

.chain-tag-status.low {
  background: #FEE2E2;
  color: #DC2626;
}

.chain-tag-status.high {
  background: #DCFCE7;
  color: #16A34A;
}

/* Step Flow 6 Khâu Trải Dài Liền Mạch Khi Infographic Được Mở Rộng */
.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

@media (max-width: 1080px) {
  .flow-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .flow-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.flow-step-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.flow-step-box.highlight {
  border-color: var(--emerald-600);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--emerald-50) 100%);
  border-width: 2px;
}

.flow-step-num {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  color: var(--emerald-700);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.flow-step-text {
  font-family: var(--font-sans);
  font-size: 18.5px; /* >= 18px */
  font-weight: 750;
  color: #0A110D;
  line-height: 1.35;
}

.flow-step-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 5px;
}

/* Local Job Badges Sắc Nét */
.local-jobs-highlight {
  margin-top: 26px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1.5px solid #6EE7B7;
  border-radius: 16px;
}

.local-jobs-title {
  font-family: var(--font-sans);
  font-size: 20px; /* >= 18px */
  font-weight: 800;
  color: #064E3B;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.job-pill {
  background: #FFFFFF;
  border: 1.5px solid #34D399;
  border-radius: 30px;
  padding: 9px 20px;
  font-family: var(--font-sans);
  font-size: 18px; /* >= 18px */
  font-weight: 700;
  color: #064E3B;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   INFOGRAPHIC 3: HỆ SINH THÁI CHUYỂN ĐỔI SỐ & NGUỒN LỰC DÙNG CHUNG
   ========================================================================== */

.digital-eco-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

@media (max-width: 820px) {
  .digital-eco-container {
    grid-template-columns: 1fr;
  }
}

.eco-solution-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.eco-solution-card.accent {
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
  border-color: #BAE6FD;
}

.eco-solution-card.success {
  background: linear-gradient(180deg, #F0FDF4 0%, #DCFCE7 100%);
  border-color: #BBF7D0;
}

.eco-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.eco-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-solution-card.accent .eco-icon-wrap {
  background: #0284C7;
  color: #FFFFFF;
}

.eco-solution-card.success .eco-icon-wrap {
  background: #16A34A;
  color: #FFFFFF;
}

.eco-card-title {
  font-family: var(--font-sans);
  font-size: 21px; /* >= 18px */
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.eco-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eco-item-box {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.eco-item-text {
  font-family: var(--font-sans);
  font-size: 18px; /* >= 18px */
  font-weight: 600;
  color: var(--text-primary);
}

.eco-summary-banner {
  grid-column: 1 / -1;
  background: #0D2C1C;
  color: #FFFFFF;
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.eco-summary-text {
  font-family: var(--font-sans);
  font-size: 19px; /* >= 18px */
  line-height: 1.5;
  font-weight: 500;
  max-width: 780px;
}

.eco-summary-badge {
  background: #34D399;
  color: #064E3B;
  font-family: var(--font-sans);
  font-size: 18px; /* >= 18px */
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 10px;
  white-space: nowrap;
}

/* ==========================================================================
   ARTICLE FOOTER & METADATA
   ========================================================================== */

.article-footer {
  margin-top: 60px;
  padding-top: 36px;
  border-top: 2px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-sans);
}

.author-signature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-sig-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--emerald-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.author-name-text {
  font-size: 20px; /* >= 18px */
  font-weight: 800;
  color: var(--emerald-900);
}

.author-role-text {
  font-size: 15px;
  color: var(--text-secondary);
}

.share-interactive-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.share-btn:hover {
  background: var(--emerald-100);
  color: var(--emerald-800);
  border-color: var(--emerald-600);
}

/* Back to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--emerald-800);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  z-index: 950;
}

.scroll-top-btn.is-active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--emerald-900);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle Parallax helper */
.parallax-layer {
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.3, 1);
}

/* ==========================================================================
   SVG DATA CHARTS STYLING (MIN FONT 18PX)
   ========================================================================== */

.svg-chart-box {
  margin-top: 26px;
  padding: 22px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow-x: auto;
}

.svg-chart-box::-webkit-scrollbar {
  height: 6px;
}

.svg-chart-box::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

.svg-chart-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 18px; /* >= 18px */
  font-weight: 600;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.svg-data-chart {
  display: block;
  width: 100%;
  min-width: 580px;
  height: auto;
}

.svg-chart-text {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 18px; /* >= 18px */
  font-weight: 600;
  fill: var(--text-primary);
}

.svg-chart-text.bold {
  font-weight: 700;
}

.svg-chart-text.muted {
  font-size: 18px; /* >= 18px */
  font-weight: 500;
  fill: var(--text-secondary);
}

.svg-chart-text.value {
  font-size: 19px; /* >= 18px */
  font-weight: 800;
  fill: var(--emerald-900);
}

.svg-bar {
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1), fill 0.3s ease;
}

.svg-bar:hover {
  filter: brightness(1.1);
  cursor: pointer;
}

