/* ==========================================================================
   E-MAGAZINE BÁO CHÍ DỮ LIỆU: TỪ PHIÊN CHỢ VÙNG CAO ĐẾN MÔ HÌNH SINH KẾ BỀN VỮNG
   Thiết kế đồ họa cao cấp, typographic editorial, tương tác mượt mà, responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEME SETUP
   -------------------------------------------------------------------------- */
:root {
  /* Colors - Light Theme (Màu ngọc bích vùng cao, đất son & giấy ngà báo chí) */
  --bg-primary: #fcfbf9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f4f3ef;
  --bg-card: #ffffff;
  --bg-infographic: #f5f8f5;

  --text-main: #18221d;
  --text-secondary: #3d4f45;
  --text-muted: #03011f;
  --text-lead: #0f1c16;

  --accent-emerald: #0b6644;
  --accent-emerald-light: #e6f3ec;
  --accent-emerald-glow: rgba(11, 102, 68, 0.15);

  --accent-amber: #b86200;
  --accent-amber-light: #fef5ea;

  --accent-rust: #9e3d21;
  --border-subtle: #e2e8e4;
  --border-strong: #cbdad1;

  --shadow-sm: 0 2px 8px rgba(18, 38, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 38, 28, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 38, 28, 0.12);

  /* Typography Scales (Tuân thủ nghiêm ngặt: Toàn trang >= 16px, Infographic >= 18px) */
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-data: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;

  --fs-body: 18px;
  --fs-body-sm: 16px;
  --fs-info-base: 18px;
  /* Tối thiểu 18px cho mọi thành phần infographic */
  --fs-info-large: 22px;
  --fs-info-title: 26px;
  --fs-info-num: 38px;

  --content-max-width: 820px;
  --wide-max-width: 1140px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

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

/* Dark Mode Theme */
[data-theme="dark"] {
  --bg-primary: #0d1411;
  --bg-surface: #141e1a;
  --bg-surface-elevated: #1b2722;
  --bg-card: #18231e;
  --bg-infographic: #121c17;

  --text-main: #f0f5f2;
  --text-secondary: #c2d3ca;
  --text-muted: #8fa69a;
  --text-lead: #ffffff;

  --accent-emerald: #10b981;
  --accent-emerald-light: rgba(16, 185, 129, 0.15);
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);

  --accent-amber: #f59e0b;
  --accent-amber-light: rgba(245, 158, 11, 0.15);

  --accent-rust: #f87171;
  --border-subtle: #25382f;
  --border-strong: #334c40;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & FOUNDATION
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.88;
  color: var(--text-main);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

/* --------------------------------------------------------------------------
   3. FLOATING THEME TOGGLE
   -------------------------------------------------------------------------- */
.floating-theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.floating-theme-toggle:hover {
  transform: scale(1.08);
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-lg);
}

.icon-sun {
  display: none;
}

.icon-moon {
  display: block;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION (TẠP CHÍ CAO CẤP & FULLSCREEN)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-parallax-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 24, 18, 0.45) 0%,
      rgba(10, 24, 18, 0.78) 55%,
      rgba(10, 24, 18, 0.95) 100%);
  backdrop-filter: blur(1px);
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-tag {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fde047;
}

.hero-dot {
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.hero-meta {
  font-size: 13px;
  letter-spacing: 1px;
  color: #e2e8f0;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-editorial);
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 28px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.5px;
}

.hero-divider {
  width: 80px;
  height: 4px;
  background: var(--accent-amber);
  margin-bottom: 32px;
  border-radius: 2px;
}

.hero-sapo {
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.75;
  color: #f1f5f9;
  font-weight: 400;
  margin-bottom: 36px;
  text-align: justify;
  text-justify: inter-word;
  background: rgba(15, 33, 24, 0.65);
  padding: 28px 36px;
  border-radius: var(--radius-md);
  border-left: 5px solid #f59e0b;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sapo-paragraph+.sapo-paragraph {
  margin-top: 18px;
}

.hero-author-date {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 40px;
}

.author-name strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-pipe {
  color: rgba(255, 255, 255, 0.4);
}

.publish-badge {
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.scroll-down-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #94a3b8;
  transition: var(--transition-smooth);
}

.scroll-down-indicator:hover {
  color: #ffffff;
}

.scroll-text {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.scroll-arrow {
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(8px);
  }

  60% {
    transform: translateY(4px);
  }
}

/* --------------------------------------------------------------------------
   5. ARTICLE MAIN & SECTIONS
   -------------------------------------------------------------------------- */
.magazine-main {
  width: 100%;
  padding-top: 60px;
}

.magazine-part {
  max-width: var(--wide-max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.article-text-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.paragraph {
  font-size: var(--fs-body);
  line-height: 1.88;
  color: var(--text-main);
  margin-bottom: 28px;
  text-align: justify;
  text-justify: inter-word;
  word-break: normal;
}

/* Drop Cap cổ điển đẳng cấp cho đoạn đầu mỗi phần */
.paragraph.dropcap::first-letter {
  font-family: var(--font-editorial);
  float: left;
  font-size: 4.4rem;
  line-height: 0.85;
  margin-top: 4px;
  margin-right: 14px;
  margin-bottom: -4px;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* Section Chapter Header */
.section-chapter-header {
  max-width: var(--content-max-width);
  margin: 0 auto 40px auto;
  text-align: left;
}

.chapter-badge {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.chapter-heading {
  font-family: var(--font-editorial);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-lead);
  letter-spacing: -0.5px;
}

.chapter-underline {
  width: 60px;
  height: 4px;
  background: var(--accent-amber);
  margin-top: 18px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   6. PULL QUOTE (TRÍCH DẪN ĐỒNG BÀO / CHUYÊN GIA)
   -------------------------------------------------------------------------- */
.quote-card-wrapper {
  max-width: var(--content-max-width);
  margin: 44px auto;
}

.quote-card {
  position: relative;
  background: var(--bg-surface-elevated);
  border-left: 5px solid var(--accent-emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 36px 36px 32px 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.quote-card:hover {
  box-shadow: var(--shadow-md);
}

.quote-icon {
  font-family: var(--font-editorial);
  font-size: 72px;
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.15;
  color: var(--accent-emerald);
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-editorial);
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.6;
  font-style: italic;
  font-weight: 600;
  color: var(--text-lead);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.quote-attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.attribution-name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-emerald);
}

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

/* --------------------------------------------------------------------------
   7. MID-IMAGE PARALLAX BREAK
   -------------------------------------------------------------------------- */
.mid-image-break {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 480px;
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin-top: 50px;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-end;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
}

.mid-image-caption {
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 20, 17, 0.88) 100%);
  color: #f1f5f9;
  padding: 30px 24px 20px 24px;
  text-align: center;
  font-size: 16px;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   8. INFOGRAPHICS CHUNG (YÊU CẦU: CỠ CHỮ MIN 18PX)
   -------------------------------------------------------------------------- */
.infographic-container {
  max-width: 1040px;
  margin: 54px auto;
  background: var(--bg-infographic);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 36px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.infographic-container:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-emerald);
}

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

.info-badge {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 18px;
  /* Tối thiểu 18px theo yêu cầu */
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.info-title {
  font-family: var(--font-editorial);
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--text-lead);
  line-height: 1.3;
}

.info-caption-note {
  font-size: 18px;
  /* Tối thiểu 18px theo yêu cầu */
  color: var(--text-muted);
  font-style: italic;
}

.info-subdivider {
  position: relative;
  text-align: center;
  margin: 36px 0 26px 0;
}

.info-subdivider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-strong);
  z-index: 0;
}

.subdivider-text {
  position: relative;
  z-index: 1;
  background: var(--bg-infographic);
  padding: 0 18px;
  font-family: var(--font-data);
  font-size: 18px;
  /* Đạt chuẩn >= 18px */
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--accent-emerald);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8.1 INFOGRAPHIC 01: VẬN HÀNH & HỆ SINH THÁI
   -------------------------------------------------------------------------- */
.data-milestones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.milestone-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.milestone-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-sm);
}

.milestone-box.highlight {
  border-color: var(--accent-amber);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--accent-amber-light) 100%);
}

.milestone-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.milestone-box.highlight .milestone-icon-wrap {
  background: #fef3c7;
  color: var(--accent-amber);
}

.milestone-data {
  display: flex;
  flex-direction: column;
}

.milestone-figure {
  font-family: var(--font-data);
  font-size: 32px;
  /* Lớn, ấn tượng */
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-lead);
  margin-bottom: 6px;
}

.milestone-tagline {
  font-family: var(--font-sans);
  font-size: 18px;
  /* Tối thiểu 18px */
  font-weight: 800;
  color: var(--accent-emerald);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.milestone-box.highlight .milestone-tagline {
  color: var(--accent-amber);
}

.milestone-desc {
  font-size: 18px;
  /* Tối thiểu 18px */
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Grid 4 Nhóm Hệ sinh thái việc làm */
.ecosystem-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.eco-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.eco-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.eco-num {
  font-family: var(--font-data);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-badge {
  font-size: 18px;
  /* Tối thiểu 18px theo yêu cầu */
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
}

.eco-title {
  font-size: 20px;
  /* Tối thiểu 18px */
  font-weight: 800;
  color: var(--text-lead);
  margin-bottom: 10px;
  line-height: 1.3;
}

.eco-detail {
  font-size: 18px;
  /* Tối thiểu 18px */
  line-height: 1.55;
  color: var(--text-secondary);
}

.info-footer-summary {
  margin-top: 28px;
  background: var(--bg-surface);
  border-left: 4px solid var(--accent-emerald);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-main);
}

.info-footer-summary svg {
  flex-shrink: 0;
  color: var(--accent-emerald);
}

.footer-summary-text {
  font-size: 18px;
  /* Tối thiểu 18px */
  font-weight: 600;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8.2 INFOGRAPHIC 02: CHUỖI GIÁ TRỊ & 2 ĐIỀU KIỆN
   -------------------------------------------------------------------------- */
.value-chain-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.chain-header-title {
  font-family: var(--font-data);
  font-size: 18px;
  /* Tối thiểu 18px */
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-emerald);
  text-align: center;
  margin-bottom: 24px;
}

.chain-steps-track {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
}

.chain-node {
  flex: 1;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.chain-node:hover {
  border-color: var(--accent-emerald);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.chain-node.highlight-node {
  border-color: var(--accent-amber);
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--accent-amber-light) 100%);
}

.node-circle {
  font-family: var(--font-data);
  font-size: 20px;
  font-weight: 800;
  background: var(--accent-emerald);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px var(--accent-emerald-glow);
}

.chain-node.highlight-node .node-circle {
  background: var(--accent-amber);
}

.node-title {
  font-size: 20px;
  /* Tối thiểu 18px */
  font-weight: 800;
  color: var(--text-lead);
  margin-bottom: 8px;
}

.node-desc {
  font-size: 18px;
  /* Tối thiểu 18px */
  line-height: 1.5;
  color: var(--text-secondary);
}

.chain-connector-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* Hai trụ cột điều kiện */
.two-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.pillar-card.highlight-pillar {
  border-top: 5px solid var(--accent-amber);
}

.pillar-card:not(.highlight-pillar) {
  border-top: 5px solid var(--accent-emerald);
}

.pillar-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pillar-tag {
  font-family: var(--font-data);
  font-size: 18px;
  /* Tối thiểu 18px theo yêu cầu */
  font-weight: 800;
  color: var(--accent-emerald);
  letter-spacing: 1px;
}

.pillar-card.highlight-pillar .pillar-tag {
  color: var(--accent-amber);
}

.pillar-status {
  font-size: 18px;
  /* Tối thiểu 18px theo yêu cầu */
  font-weight: 700;
  text-transform: uppercase;
  background: var(--bg-surface-elevated);
  padding: 4px 12px;
  border-radius: 4px;
  color: var(--text-muted);
}

.pillar-title {
  font-size: 22px;
  /* Tối thiểu 18px */
  font-weight: 800;
  color: var(--text-lead);
  line-height: 1.35;
  margin-bottom: 12px;
}

.pillar-summary {
  font-size: 18px;
  /* Tối thiểu 18px */
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.pillar-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  /* Tối thiểu 18px */
  line-height: 1.5;
  color: var(--text-main);
}

.pillar-checklist li svg {
  flex-shrink: 0;
  color: var(--accent-emerald);
  margin-top: 3px;
}

.pillar-card.highlight-pillar .pillar-checklist li svg {
  color: var(--accent-amber);
}

/* Quy trình chuẩn hóa 5 bước OCOP */
.standardization-bar {
  margin-top: 26px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.std-label {
  font-family: var(--font-data);
  font-size: 18px;
  /* Tối thiểu 18px */
  font-weight: 800;
  color: var(--accent-emerald);
}

.std-flow-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.std-tag {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 18px;
  /* Tối thiểu 18px */
  font-weight: 600;
  color: var(--text-main);
}

.std-tag.std-goal {
  background: var(--accent-emerald);
  color: #ffffff;
  border-color: var(--accent-emerald);
  font-weight: 700;
}

.std-arrow {
  color: var(--text-muted);
  font-size: 18px;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   8.3 INFOGRAPHIC 03: ĐIỂM TỰA CHÍNH QUYỀN & CHUYỂN HÓA
   -------------------------------------------------------------------------- */
.gov-support-header {
  text-align: center;
  margin-bottom: 22px;
}

.gov-support-title {
  font-family: var(--font-data);
  font-size: 18px;
  /* Tối thiểu 18px */
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-emerald);
}

.gov-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gov-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  transition: var(--transition-smooth);
}

.gov-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.gov-card-index {
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-emerald);
  line-height: 1;
}

.gov-card-content {
  display: flex;
  flex-direction: column;
}

.gov-card-title {
  font-size: 20px;
  /* Tối thiểu 18px */
  font-weight: 800;
  color: var(--text-lead);
  margin-bottom: 6px;
}

.gov-card-desc {
  font-size: 18px;
  /* Tối thiểu 18px */
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Sơ đồ 4 bước chuyển hóa */
.transform-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.transform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-smooth);
}

.transform-card:hover {
  border-color: var(--accent-amber);
  background: linear-gradient(90deg, var(--bg-surface) 0%, var(--accent-amber-light) 100%);
}

.trans-left,
.trans-right {
  display: flex;
  flex-direction: column;
}

.trans-label {
  font-size: 18px;
  /* Tối thiểu 18px theo yêu cầu */
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--text-muted);
}

.trans-val-from {
  font-size: 19px;
  /* Tối thiểu 18px */
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.75;
}

.trans-val-to {
  font-size: 20px;
  /* Tối thiểu 18px */
  font-weight: 800;
  color: var(--accent-emerald);
}

.trans-arrow {
  font-size: 22px;
  color: var(--accent-amber);
  font-weight: 900;
}

/* Thanh 4 Trụ Cột Gắn Kết Xã Hội */
.social-roots-bar {
  margin-top: 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.social-roots-heading {
  font-family: var(--font-data);
  font-size: 18px;
  /* Tối thiểu 18px */
  font-weight: 800;
  color: var(--accent-emerald);
  letter-spacing: 1px;
}

.roots-quad-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}

.root-chip {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  padding: 10px 22px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.root-chip:hover {
  background: var(--accent-emerald);
  color: #ffffff;
  border-color: var(--accent-emerald);
}

.root-chip:hover .chip-dot {
  background-color: #ffffff;
}

.root-chip:hover .chip-text {
  color: #ffffff;
}

.chip-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-amber);
  border-radius: 50%;
}

.chip-text {
  font-size: 18px;
  /* Tối thiểu 18px */
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-lead);
}

/* --------------------------------------------------------------------------
   9. CONCLUSION LEAD & AUTHOR SIGNATURE
   -------------------------------------------------------------------------- */
.paragraph.conclusion-lead {
  font-size: 21px;
  line-height: 1.8;
  font-weight: 500;
  color: var(--text-lead);
  padding: 24px 28px;
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--accent-amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-signature-block {
  max-width: var(--content-max-width);
  margin: 50px auto 20px auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sig-line {
  width: 80px;
  height: 2px;
  background: var(--border-strong);
  margin-bottom: 12px;
}

.sig-content {
  text-align: right;
}

.sig-title {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sig-author {
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-lead);
}

/* --------------------------------------------------------------------------
   10. FOOTER
   -------------------------------------------------------------------------- */
.emagazine-footer {
  background: #09120e;
  color: #e2e8f0;
  padding: 60px 24px 40px 24px;
  margin-top: 80px;
  border-top: 1px solid #1a2c23;
}

.footer-container {
  max-width: var(--wide-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-data);
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #34d399;
}

.footer-summary {
  font-size: 18px;
  color: #94a3b8;
  max-width: 600px;
  margin-top: 8px;
}

.footer-scroll-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.footer-scroll-top:hover {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.footer-bottom-copy {
  font-size: 15px;
  color: #64748b;
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   11. SCROLL-TRIGGER ANIMATION EFFECTS
   -------------------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE DESIGN (DESKTOP, TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .data-milestones-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chain-steps-track {
    flex-direction: column;
  }

  .chain-connector-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  .two-pillars-grid {
    grid-template-columns: 1fr;
  }

  .gov-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transform-matrix-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-body: 16px;
  }

  .hero-section {
    padding: 60px 16px;
  }

  .hero-content-wrapper {
    padding: 20px 8px;
  }

  .hero-sapo {
    padding: 20px 18px;
    font-size: 17px;
  }

  .magazine-part {
    padding: 40px 16px;
  }

  .infographic-container {
    padding: 22px 16px;
    margin: 36px 0;
  }

  .ecosystem-cards-grid {
    grid-template-columns: 1fr;
  }

  .gov-pillars-grid {
    grid-template-columns: 1fr;
  }

  .standardization-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .roots-quad-list {
    flex-direction: column;
    width: 100%;
  }

  .root-chip {
    width: 100%;
    justify-content: center;
  }

  .mid-image-break {
    height: 320px;
    background-attachment: scroll;
    /* Mobile friendly */
  }
}