/* ==========================================================================
   E-MAGAZINE DATA JOURNALISM DESIGN SYSTEM
   Phong cách Báo chí Dữ liệu Cao cấp & Chuyên nghiệp
   Tối ưu hóa khả năng đọc (Readability) & Trực quan hóa dữ liệu (Visualization)
   ========================================================================== */

/* 1. DESIGN TOKENS & BIẾN MÀU SẮC */
:root {
  /* Bảng màu trang nhã phong cách Báo chí Quốc tế */
  --bg-paper: #FAF8F5;
  /* Nền giấy báo ấm tự nhiên */
  --bg-paper-alt: #F3EFEA;
  /* Nền phụ dịu */
  --text-primary: #081325;
  /* Chữ chính tương phản cao WCAG AAA */
  --text-secondary: #252d38;
  /* Chữ phụ */
  --text-muted: #04152e;
  /* Chú thích */

  /* Điểm nhấn dữ liệu (Tông Tây Bắc: Xanh đại ngàn & Đất nung / Hổ phách) */
  --accent-forest: #0F5132;
  /* Xanh rừng sâu */
  --accent-emerald: #10B981;
  /* Xanh ngọc sinh kế */
  --accent-terracotta: #B45309;
  /* Hổ phách đất nung ấm áp */
  --accent-gold: #D97706;
  /* Vàng nếp nương */

  /* Khối dữ liệu Infographic (Dark Slate sang trọng) */
  --info-card-bg: #0F172A;
  /* Nền thẻ Infographic chuyên sâu */
  --info-card-surface: #1E293B;
  /* Bề mặt thẻ con */
  --info-card-border: #334155;
  /* Viền tinh tế */
  --info-text-primary: #F8FAFC;
  /* Chữ sáng trong infographic */
  --info-text-secondary: #CBD5E1;
  /* Chữ phụ trong infographic */
  --info-accent-green: #34D399;
  /* Điểm nhấn xanh dữ liệu */
  --info-accent-amber: #FBBF24;
  /* Điểm nhấn vàng dữ liệu */
  --info-accent-blue: #60A5FA;
  /* Điểm nhấn xanh lam liên kết */

  /* Phông chữ */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Cỡ chữ toàn trang tối thiểu 16px, body đọc 19px - 20px */
  --text-body-size: clamp(18.5px, 1.2vw, 20.5px);
  --line-height-body: 1.88;

  /* Nhịp điệu không gian */
  --max-width-prose: 760px;
  --max-width-wide: 1140px;
  --max-width-full: 1400px;
  --section-spacing: clamp(60px, 8vw, 110px);
}

/* 2. RESET & CÀI ĐẶT CƠ BẢN */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  /* Bảo đảm cỡ chữ gốc tối thiểu 16px */
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-paper);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: var(--text-body-size);
  line-height: var(--line-height-body);
  overflow-x: hidden;
  position: relative;
}

/* 3. HERO / COVER SECTION (Không có menu, không header, không progress bar) */
.emagazine-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 10vh, 120px) 24px clamp(40px, 8vh, 80px);
  background-color: #0B1320;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 30%;
  transform: translateY(0);
  will-change: transform;
  filter: brightness(0.68) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(11, 19, 32, 0.45) 0%,
      rgba(11, 19, 32, 0.72) 60%,
      rgba(11, 19, 32, 0.95) 100%);
  z-index: 2;
}

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

.journalism-tag-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.journalism-tag {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: var(--accent-emerald);
  color: #064E3B;
  padding: 6px 16px;
  border-radius: 999px;
}

.journalism-subtag {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #E2E8F0;
  border: 1px solid rgba(226, 232, 240, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

/* Tiêu đề bài báo (Headline) */
.main-headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}

.hero-meta-divider {
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-gold));
  margin: 0 auto 32px;
  border-radius: 2px;
}

/* Sapo / Lead text (Dòng 2 & 3 nguyên văn) */
.lead-sapo {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.75;
  color: #F1F5F9;
  max-width: 840px;
  text-align: justify;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  padding: clamp(24px, 4vw, 36px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.sapo-paragraph {
  margin-bottom: 16px;
}

.sapo-paragraph:last-child {
  margin-bottom: 0;
}

/* Gợi ý cuộn (Scroll invite) */
.scroll-invite {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
}

.scroll-invite-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #CBD5E1;
}

.scroll-mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 2px;
  animation: scrollWheelAnim 1.8s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* 4. MAIN ARTICLE PROSE & BỐ CỤC CHƯƠNG */
.article-main-body {
  width: 100%;
}

.story-chapter {
  padding-top: var(--section-spacing);
  padding-bottom: calc(var(--section-spacing) * 0.7);
  position: relative;
}

.chapter-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.chapter-number {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-forest);
  background: rgba(15, 81, 50, 0.08);
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(15, 81, 50, 0.2);
}

.chapter-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  color: #0F172A;
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  padding: 0 24px;
  line-height: 1.32;
  letter-spacing: -0.3px;
}

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

.article-p {
  margin-bottom: 28px;
  color: var(--text-primary);
  text-align: justify;
  text-justify: inter-word;
  font-size: var(--text-body-size);
}

/* Chữ cái mở đầu (Drop Cap) phong cách báo in danh tiếng */
.article-p.dropcap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 82px;
  line-height: 68px;
  padding-top: 4px;
  padding-right: 14px;
  padding-bottom: 4px;
  color: var(--accent-forest);
  font-weight: 700;
}

/* Pullquote trích dẫn ý kiến nhân vật trong bài */
.editorial-pullquote {
  margin: 44px 0;
  padding: 28px 32px;
  background: #F1ECE4;
  border-left: 5px solid var(--accent-forest);
  border-radius: 0 16px 16px 0;
  position: relative;
}

.editorial-pullquote::before {
  content: "“";
  font-family: var(--font-serif);
  font-size: 90px;
  line-height: 0;
  position: absolute;
  top: 40px;
  left: 14px;
  color: rgba(15, 81, 50, 0.15);
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.4vw, 23px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.65;
  color: #1E293B;
  margin-bottom: 14px;
}

.quote-author {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-terracotta);
  font-style: normal;
  letter-spacing: 0.3px;
}

/* 5. CÁC KHỐI PHOTO BREAK (Giữa các phần, không text, không người) */
.editorial-photo-break {
  width: 100%;
  margin: clamp(40px, 6vw, 70px) 0;
  background-color: #0B1320;
}

.photo-container {
  width: 100%;
  max-height: 620px;
  overflow: hidden;
  position: relative;
}

.photo-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-height: 620px;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.photo-container:hover .photo-img {
  transform: scale(1.02);
}

.photo-caption-bar {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 14px 24px;
}

.photo-caption-text {
  font-family: var(--font-sans);
  font-size: 15px;
  color: #94A3B8;
  font-style: italic;
  display: block;
  text-align: right;
}

/* ==========================================================================
   6. HỆ THỐNG INFOGRAPHIC BÁO CHÍ DỮ LIỆU (CỠ CHỮ TỐI THIỂU 18PX)
   ========================================================================== */
.infographic-container {
  max-width: var(--max-width-wide);
  margin: clamp(48px, 6vw, 76px) auto;
  padding: clamp(28px, 4vw, 44px);
  background-color: var(--info-card-bg);
  color: var(--info-text-primary);
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4);
  border: 1px solid var(--info-card-border);
  position: relative;
  overflow: hidden;
}

/* Đảm bảo cỡ chữ TẤT CẢ các thành phần trong Infographic tối thiểu 18px */
.infographic-container,
.infographic-container p,
.infographic-container li,
.infographic-container span,
.infographic-container div {
  font-size: 18px;
  /* Bắt buộc tối thiểu 18px */
}

.infographic-header {
  border-bottom: 1px solid var(--info-card-border);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.info-kicker {
  font-family: var(--font-mono);
  font-size: 18px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--info-accent-green);
  margin-bottom: 10px;
}

.info-title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.5vw, 34px) !important;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 12px;
}

.info-desc {
  font-family: var(--font-sans);
  font-size: 19px !important;
  line-height: 1.6;
  color: var(--info-text-secondary);
  max-width: 900px;
}

.info-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 32px;
}

.info-card-block {
  background-color: var(--info-card-surface);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.card-inner-title {
  font-family: var(--font-sans);
  font-size: 21px !important;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-inner-desc {
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: var(--info-text-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* --- INFOGRAPHIC 1: BẢNG SO SÁNH & BIỂU ĐỒ THÀNH VIÊN --- */
.contrast-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contrast-item {
  border-radius: 14px;
  padding: 20px;
  position: relative;
}

.contrast-item.before-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.contrast-item.after-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.contrast-badge {
  font-family: var(--font-mono);
  font-size: 18px !important;
  font-weight: 700;
  color: #F87171;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contrast-badge.modern-badge {
  color: var(--info-accent-green);
}

.contrast-status {
  font-family: var(--font-sans);
  font-size: 20px !important;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.contrast-status.accent-status {
  color: #6EE7B7;
}

.contrast-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contrast-list li {
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: var(--info-text-secondary);
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.contrast-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  font-size: 22px;
  color: inherit;
}

.contrast-arrow-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--info-accent-green);
  padding: 4px 0;
}

/* Thẻ thống kê HTX Hảo Anh */
.data-stats-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-box-interactive {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}

.stat-box-interactive.highlight-box {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
}

.stat-top-label {
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: var(--info-text-secondary);
  margin-bottom: 6px;
}

.stat-value-highlight {
  font-family: var(--font-mono);
  font-size: 42px !important;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.stat-value-highlight.primary-color {
  color: var(--info-accent-green);
}

.stat-unit {
  font-size: 18px !important;
  font-weight: 600;
  color: var(--info-text-secondary);
}

.stat-subtext {
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: #94A3B8;
  margin-top: 6px;
}

.stat-growth-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.growth-badge {
  background: var(--info-accent-amber);
  color: #78350F;
  font-family: var(--font-sans);
  font-size: 18px !important;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.timeline-tag {
  font-family: var(--font-mono);
  font-size: 18px !important;
  color: #E2E8F0;
  text-align: center;
}

/* SVG Chart */
.svg-chart-wrapper {
  margin-top: 12px;
}

.data-chart-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.svg-text-label {
  fill: #E2E8F0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
}

.svg-text-val {
  fill: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
}

.svg-text-val.bold-val {
  fill: var(--info-accent-green);
  font-size: 22px;
}

.chart-bar {
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.chart-bar.bar-init {
  fill: #64748B;
}

.chart-bar.bar-current {
  fill: var(--info-accent-green);
}

/* 4 Trụ cột nâng đỡ thành viên */
.pillars-container {
  margin-top: 10px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pillars-title {
  font-family: var(--font-sans);
  font-size: 20px !important;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-align: center;
}

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

.pillar-item {
  background: var(--info-card-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pillar-item:hover {
  transform: translateY(-4px);
  border-color: var(--info-accent-green);
}

.pillar-icon {
  font-family: var(--font-mono);
  font-size: 22px !important;
  font-weight: 800;
  color: var(--info-accent-green);
  margin-bottom: 6px;
}

.pillar-name {
  font-family: var(--font-sans);
  font-size: 19px !important;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.pillar-sub {
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: var(--info-text-secondary);
  line-height: 1.4;
}

/* --- INFOGRAPHIC 2: CHUỖI LIÊN KẾT 3 BÊN & TIÊU THỤ SỐ --- */
.svg-flowchart-container {
  background: var(--info-card-surface);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
}

.flowchart-title {
  font-family: var(--font-sans);
  font-size: 21px !important;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  text-align: center;
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}

.flow-step-box {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.flow-step-box:hover {
  transform: translateY(-4px);
}

.flow-step-box.step-farmer {
  border-top: 4px solid var(--info-accent-amber);
}

.flow-step-box.step-coop {
  border-top: 4px solid var(--info-accent-green);
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.3);
}

.flow-step-box.step-enterprise {
  border-top: 4px solid var(--info-accent-blue);
}

.step-role-badge {
  font-family: var(--font-mono);
  font-size: 18px !important;
  font-weight: 700;
  color: var(--info-text-secondary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.step-role-badge.badge-active {
  color: var(--info-accent-green);
}

.step-entity-title {
  font-family: var(--font-sans);
  font-size: 22px !important;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.step-action-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 18px !important;
  font-weight: 700;
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.step-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.step-details-list li {
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: var(--info-text-secondary);
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.step-details-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--info-accent-green);
  font-weight: 700;
}

.flow-connector-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--info-accent-green);
  padding: 0 4px;
}

.flow-arrow-label {
  font-family: var(--font-sans);
  font-size: 18px !important;
  font-weight: 600;
  color: #94A3B8;
  writing-mode: horizontal-tb;
  text-align: center;
  max-width: 110px;
  line-height: 1.3;
}

.info-bottom-grid {
  margin-bottom: 0;
}

/* Liên kết HTX Long Đạt */
.coop-products-network {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prod-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prod-tag {
  font-family: var(--font-sans);
  font-size: 18px !important;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 8px;
}

.prod-tag.highlight-tag {
  background: rgba(217, 119, 6, 0.2);
  border-color: rgba(217, 119, 6, 0.4);
  color: #FCD34D;
  font-weight: 700;
}

.network-connector-text {
  font-family: var(--font-sans);
  font-size: 18px !important;
  font-weight: 600;
  color: #94A3B8;
  font-style: italic;
  margin: 4px 0;
}

/* Chuyển đổi số */
.digital-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.digital-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.5);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.digital-dot {
  width: 12px;
  height: 12px;
  background-color: var(--info-accent-blue);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

.digital-label {
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: #F1F5F9;
  font-weight: 500;
}

/* --- INFOGRAPHIC 3: TOÀN CẢNH LÀO CAI & 7 CHUỖI GIÁ TRỊ --- */
.coop-stat-primary {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  margin-bottom: 24px;
}

.total-coop-number {
  font-family: var(--font-mono);
  font-size: clamp(48px, 5vw, 68px) !important;
  font-weight: 800;
  color: var(--info-accent-green);
  line-height: 1;
  margin-bottom: 8px;
}

.total-coop-label {
  font-family: var(--font-sans);
  font-size: 19px !important;
  font-weight: 600;
  color: #E2E8F0;
}

/* Donut Chart */
.donut-chart-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 16px;
  padding: 20px;
}

.donut-svg {
  width: 170px;
  height: 170px;
  overflow: visible;
}

.donut-ring-bg {
  fill: none;
  stroke: #334155;
  stroke-width: 22;
}

.donut-ring-progress {
  fill: none;
  stroke: var(--info-accent-green);
  stroke-width: 22;
  stroke-linecap: round;
  stroke-dasharray: 471;
  /* 2 * PI * 75 */
  stroke-dashoffset: 471;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.donut-center-pct {
  fill: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 800;
  dominant-baseline: central;
}

.donut-center-sub {
  fill: #94A3B8;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  dominant-baseline: central;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.legend-color-dot.color-agri {
  background-color: var(--info-accent-green);
}

.legend-color-dot.color-other {
  background-color: #64748B;
}

.legend-label {
  font-family: var(--font-sans);
  font-size: 18px !important;
  font-weight: 700;
  color: #FFFFFF;
}

.legend-val {
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: var(--info-text-secondary);
}

/* Danh sách 7 chuỗi giá trị */
.value-chains-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.chain-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.chain-item:hover {
  transform: translateX(6px);
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.chain-idx {
  font-family: var(--font-mono);
  font-size: 18px !important;
  font-weight: 800;
  color: var(--info-accent-green);
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
}

.chain-name {
  font-family: var(--font-sans);
  font-size: 19px !important;
  font-weight: 600;
  color: #F8FAFC;
}

/* 4 Lợi ích kinh tế - xã hội lâu dài */
.impacts-summary-box {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.impacts-title {
  font-family: var(--font-sans);
  font-size: 20px !important;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-align: center;
}

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

.impact-card {
  background: var(--info-card-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.impact-num {
  font-family: var(--font-sans);
  font-size: 22px !important;
  font-weight: 800;
  color: var(--info-accent-green);
  line-height: 1.2;
}

.impact-text {
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: #E2E8F0;
  line-height: 1.45;
}

/* Nguồn Infographic */
.infographic-footer-source {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--info-card-border);
  font-family: var(--font-sans);
  font-size: 18px !important;
  color: #94A3B8;
  font-style: italic;
  text-align: right;
}

/* 7. KẾT THÚC BÀI VÀ TÁC GIẢ (Giang Ninh) */
.closing-paragraph {
  font-weight: 500;
  color: #0F172A;
  margin-bottom: 36px;
}

.article-byline-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #E2E8F0;
  display: flex;
  justify-content: flex-end;
}

.author-signature {
  text-align: right;
}

.author-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.author-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #0F172A;
}

/* 8. FOOTER TRANG BÁO */
.journalism-footer {
  background-color: #0B1320;
  color: #94A3B8;
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid #1E293B;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-badge {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.footer-statement {
  font-family: var(--font-sans);
  font-size: 18px;
  color: #CBD5E1;
  line-height: 1.6;
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #64748B;
}

.footer-copyright strong {
  color: #E2E8F0;
}

/* ==========================================================================
   9. SCROLL REVEAL & ANIMATION ENGINE (IntersectionObserver Ready)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* ==========================================================================
   10. RESPONSIVE DESIGN (Desktop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .info-grid-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .flow-steps-grid {
    grid-template-columns: 1fr;
  }

  .flow-connector-center {
    transform: rotate(90deg);
    padding: 12px 0;
  }

  .flow-arrow-label {
    writing-mode: horizontal-tb;
    transform: rotate(-90deg);
    margin-top: 6px;
  }
}

@media (max-width: 768px) {
  :root {
    --text-body-size: 18.5px;
  }

  .emagazine-hero {
    padding: 50px 18px 40px;
    min-height: auto;
  }

  .main-headline {
    font-size: 30px;
    line-height: 1.28;
  }

  .lead-sapo {
    text-align: left;
    padding: 20px 18px;
    font-size: 18px;
  }

  .story-prose-container {
    padding: 0 18px;
  }

  .article-p {
    text-align: left;
    margin-bottom: 22px;
  }

  .article-p.dropcap::first-letter {
    font-size: 64px;
    line-height: 54px;
    padding-right: 10px;
  }

  .infographic-container {
    margin: 36px 12px;
    padding: 22px 16px;
    border-radius: 18px;
  }

  .data-stats-row {
    grid-template-columns: 1fr;
  }

  .stat-growth-indicator {
    padding: 8px 0;
  }

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

  .donut-chart-container {
    flex-direction: column;
    text-align: center;
  }

  .impacts-grid {
    grid-template-columns: 1fr;
  }

  .editorial-pullquote {
    padding: 20px 20px 20px 24px;
    margin: 32px 0;
  }

  .quote-text {
    font-size: 19px;
  }
}