/* ==========================================================================
   EMAGAZINE DATA JOURNALISM - HTX MỲ CHŨ NAM THỂ
   Bắc Ninh Heritage & Data-Driven Journalism Experience
   ========================================================================== */

/* --- Custom Properties & Design Tokens --- */
:root {
  --font-editorial: 'Newsreader', 'Playfair Display', 'Merriweather', 'Georgia', serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Color Palette */
  --color-bg: #FAF9F5;
  --color-bg-card: #FFFFFF;
  --color-bg-card-alt: #F4F2EB;
  --color-bg-tint: #F2EFE8;
  --color-border: #E5E0D5;
  --color-border-light: #ECE8DE;
  
  --color-text-main: #14171A;
  --color-text-body: #2B2F33;
  --color-text-muted: #575D65;
  --color-text-light: #7E8590;
  
  /* Editorial Accents */
  --accent-emerald: #0D5C3A;
  --accent-emerald-light: #E7F3EC;
  --accent-emerald-dark: #073B24;
  
  --accent-amber: #B45309;
  --accent-amber-light: #FEF3C7;
  --accent-amber-dark: #78350F;
  
  --accent-indigo: #1E3A8A;
  --accent-indigo-light: #EFF6FF;
  
  --accent-coral: #C0392B;
  --accent-coral-light: #FDEDEC;

  /* Shadows & Radius */
  --shadow-subtle: 0 4px 20px rgba(20, 23, 26, 0.04);
  --shadow-card: 0 8px 30px rgba(20, 23, 26, 0.06);
  --shadow-hover: 0 16px 40px rgba(20, 23, 26, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  
  /* Container Sizes */
  --width-prose: 780px;
  --width-feature: 960px;
  --width-wide: 1140px;
}

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

html {
  font-size: 18px; /* Tối thiểu 16px, thiết lập 18px cho trải nghiệm đọc chuẩn eMagazine */
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-body);
  font-family: var(--font-sans);
  font-size: 1.05rem; /* ~19px */
  line-height: 1.85;
  overflow-x: hidden;
}

/* --- Accessibility & Focus --- */
:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 4px;
}

/* --- Typography Hierarchy --- */
h1, h2, h3, h4 {
  color: var(--color-text-main);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-bottom: 1.85rem;
  color: var(--color-text-body);
}

/* --- Hero Section (Special Issue Cover) --- */
.hero-cover {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 2rem 5rem;
  background-color: #0E1A13;
  color: #FFFFFF;
  overflow: hidden;
}

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

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 22, 16, 0.25) 0%,
    rgba(12, 22, 16, 0.6) 45%,
    rgba(12, 22, 16, 0.94) 85%,
    #0E1A13 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--width-wide);
  margin: 0 auto;
  width: 100%;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FDE68A;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.hero-location {
  font-size: 0.95rem;
  color: #D1D5DB;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-editorial);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 2rem;
  max-width: 1050px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-sapo {
  max-width: 900px;
  border-left: 3px solid #F59E0B;
  padding-left: 1.5rem;
}

.hero-sapo p {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: #F3F4F6;
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero-sapo p:last-child {
  margin-bottom: 0;
  color: #E5E7EB;
}

.hero-scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9CA3AF;
}

.scroll-line {
  width: 44px;
  height: 2px;
  background: #F59E0B;
  animation: pulseWidth 2.2s infinite ease-in-out;
}

@keyframes pulseWidth {
  0%, 100% { width: 32px; opacity: 0.5; }
  50% { width: 56px; opacity: 1; }
}

/* --- Layout Containers --- */
.magazine-container {
  width: 100%;
  padding: 4rem 1.5rem 6rem;
}

.prose-block {
  max-width: var(--width-prose);
  margin-left: auto;
  margin-right: auto;
}

.feature-block {
  max-width: var(--width-feature);
  margin-left: auto;
  margin-right: auto;
}

.wide-block {
  max-width: var(--width-wide);
  margin-left: auto;
  margin-right: auto;
}

/* --- Section Dividers & Headers --- */
.section-wrapper {
  margin-bottom: 6rem;
  position: relative;
}

.section-wrapper:last-child {
  margin-bottom: 2rem;
}

.section-header-banner {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}

.section-part-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-bottom: 0.75rem;
}

.part-number-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  font-weight: 800;
  font-size: 0.9rem;
}

.section-heading {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* --- Drop Cap on First Paragraph of Section --- */
.drop-cap::first-letter {
  font-family: var(--font-editorial);
  float: left;
  font-size: 4.8rem;
  line-height: 0.82;
  padding-top: 6px;
  padding-right: 14px;
  padding-bottom: 2px;
  color: var(--accent-emerald);
  font-weight: 700;
}

/* --- Pull Quote --- */
.editorial-quote {
  margin: 3rem 0;
  padding: 2.2rem 2.5rem;
  background-color: var(--color-bg-card-alt);
  border-left: 5px solid var(--accent-amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
}

.quote-mark {
  position: absolute;
  top: 0.8rem;
  right: 1.5rem;
  font-family: var(--font-editorial);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-amber);
  opacity: 0.18;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text-main);
  margin-bottom: 0.85rem;
}

.quote-attribution {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-amber-dark);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* --- Editorial Visual Frames (Clean, simple, no text) --- */
.editorial-image-frame {
  margin: 3.5rem auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background-color: #EFECE6;
  position: relative;
}

.editorial-image {
  width: 100%;
  height: auto;
  min-height: 260px;
  max-height: 540px;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.editorial-image-frame:hover .editorial-image {
  transform: scale(1.02);
}

.image-caption {
  padding: 1rem 1.5rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.caption-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
}

/* ==========================================================================
   DATA JOURNALISM INFOGRAPHICS
   Strict Requirements:
   - Pure data, SVG, icons, charts & numbers
   - Minimal text
   - Minimum font size: strictly 18px (>= 18px)
   - Balanced layout: perfectly aligned, no 3-top-1-bottom gap!
   ========================================================================== */

.infographic-wrapper {
  margin: 4.5rem auto;
  padding: 2.8rem 2.8rem 3.2rem;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.infographic-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-emerald) 0%, var(--accent-amber) 50%, var(--accent-indigo) 100%);
}

.infographic-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.infographic-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald-dark);
  border-radius: 999px;
  font-size: 1.05rem; /* ~19px, >= 18px */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.infographic-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.infographic-subtitle {
  font-size: 1.125rem; /* 20.25px, >= 18px */
  color: var(--color-text-muted);
  max-width: 820px;
  margin: 0 auto;
}

/* --- INFOGRAPHIC 1: BỐ CỤC CÂN BẰNG 2 CỘT ĐỐI XỨNG HOÀN TOÀN --- */
.info-grid-balanced-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Big Metric Cards */
.metric-card {
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card-alt);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.metric-card.accent-emerald {
  border-left: 6px solid var(--accent-emerald);
}

.metric-card.accent-amber {
  border-left: 6px solid var(--accent-amber);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

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

.metric-icon-wrap.emerald {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
}

.metric-icon-wrap.amber {
  background: var(--accent-amber-light);
  color: var(--accent-amber);
}

.metric-tag {
  font-size: 1.05rem; /* ~19px >= 18px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.metric-number-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.metric-number {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-text-main);
  letter-spacing: -0.03em;
}

.metric-unit {
  font-size: 1.25rem; /* 22.5px >= 18px */
  font-weight: 700;
  color: var(--color-text-muted);
}

.metric-label {
  font-size: 1.125rem; /* 20.25px >= 18px */
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.metric-desc {
  font-size: 1.05rem; /* ~19px >= 18px */
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 4-Step Production Sequence Card (Lưới 2x2 Cân Bằng) */
.process-card {
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  height: 100%;
}

.process-card-title {
  font-size: 1.2rem; /* 21.6px >= 18px */
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.process-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.process-step-item {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg-card-alt);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background-color 0.25s ease;
}

.process-step-item:hover {
  background: #FFFFFF;
  border-color: var(--accent-emerald);
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-emerald);
  color: #FFFFFF;
  font-size: 1.05rem; /* >= 18px */
  font-weight: 800;
}

.step-name {
  font-size: 1.125rem; /* 20.25px >= 18px */
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
}

.step-note {
  font-size: 1.05rem; /* 18.9px >= 18px */
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Transformation Comparison Box */
.compare-box {
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
}

.compare-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.compare-col {
  padding: 1.4rem;
  border-radius: var(--radius-sm);
}

.compare-col.traditional {
  background: #FDF4F4;
  border: 1px solid #F5C6CB;
}

.compare-col.cooperative {
  background: var(--accent-emerald-light);
  border: 1px solid #C3E6CB;
}

.compare-header {
  font-size: 1.125rem; /* >= 18px */
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-col.traditional .compare-header {
  color: #900C3F;
}

.compare-col.cooperative .compare-header {
  color: var(--accent-emerald-dark);
}

.compare-text {
  font-size: 1.05rem; /* >= 18px */
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- INFOGRAPHIC 2: DOANH THU & KÊNH TIẾP CẬN THỊ TRƯỜNG --- */
.revenue-donut-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.2rem;
  background: var(--color-bg-card-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  height: 100%;
  text-align: center;
}

.donut-chart-container {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 1rem auto 1.75rem;
}

.donut-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.donut-bg-circle {
  fill: none;
  stroke: #D6D1C4;
  stroke-width: 28;
}

.donut-segment-online {
  fill: none;
  stroke: var(--accent-indigo);
  stroke-width: 28;
  stroke-dasharray: 0, 1000;
  stroke-linecap: round;
  transition: stroke-dasharray 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.donut-segment-traditional {
  fill: none;
  stroke: var(--accent-amber);
  stroke-width: 28;
  stroke-dasharray: 0, 1000;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  transition: stroke-dasharray 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.donut-center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-center-number {
  font-family: var(--font-editorial);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-indigo);
  line-height: 1;
}

.donut-center-text {
  font-size: 1.05rem; /* >= 18px */
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
  font-size: 1.05rem; /* >= 18px */
}

.legend-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-block;
  margin-right: 0.75rem;
}

.legend-name {
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
}

.legend-val {
  font-weight: 800;
  font-size: 1.15rem; /* >= 18px */
  color: var(--color-text-main);
}

/* 2x2 Grid for Market Channels & Value Addition */
.matrix-2x2-balanced {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  height: 100%;
}

.matrix-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.matrix-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-indigo);
}

.matrix-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-indigo-light);
  color: var(--accent-indigo);
  margin-bottom: 0.25rem;
}

.matrix-card-title {
  font-size: 1.15rem; /* ~21px >= 18px */
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
}

.matrix-card-desc {
  font-size: 1.05rem; /* ~19px >= 18px */
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* --- INFOGRAPHIC 3: BỐ CỤC 4 ĐIỂM NGHẼN & 4 TRỤ CỘT BỀN VỮNG --- */
/* Hoàn toàn cân đối 4 trên và 4 dưới, không 3 trên 1 dưới! */
.bottlenecks-header {
  margin: 1.5rem 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem; /* >= 18px */
  font-weight: 700;
  color: #991B1B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bottlenecks-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.bottleneck-pill {
  padding: 1.25rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bottleneck-index {
  font-size: 1.05rem; /* >= 18px */
  font-weight: 800;
  color: #DC2626;
}

.bottleneck-title {
  font-size: 1.08rem; /* >= 18px */
  font-weight: 700;
  color: #7F1D1D;
  line-height: 1.35;
}

.bottleneck-desc {
  font-size: 1.02rem; /* >= 18px */
  color: #991B1B;
  line-height: 1.5;
  margin-bottom: 0;
}

.pillars-header {
  margin: 1.5rem 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem; /* >= 18px */
  font-weight: 700;
  color: var(--accent-emerald-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillars-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 5px solid var(--accent-emerald);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pillar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-badge-num {
  font-size: 1.05rem; /* >= 18px */
  font-weight: 800;
  color: var(--color-text-light);
}

.pillar-title {
  font-size: 1.25rem; /* 22.5px >= 18px */
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
}

.pillar-content {
  font-size: 1.05rem; /* >= 18px */
  color: var(--color-text-body);
  line-height: 1.65;
  margin-bottom: 0;
}

/* --- Article Conclusion & Byline --- */
.article-footer-card {
  margin: 5rem auto 2rem;
  max-width: var(--width-prose);
  padding: 3rem 2.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.author-meta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.author-role {
  font-size: 1.05rem; /* >= 18px */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-amber);
}

.author-name {
  font-family: var(--font-editorial);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.article-origin-tag {
  font-size: 1.05rem; /* >= 18px */
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* --- Animation Utilities (Scroll-Triggered) --- */
.fade-in-up {
  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;
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  :root {
    --width-wide: 100%;
    --width-feature: 100%;
  }

  .infographic-wrapper {
    padding: 2.2rem 1.8rem;
  }

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

@media (max-width: 768px) {
  html {
    font-size: 17px; /* Vẫn >= 16px */
  }

  .hero-cover {
    min-height: 85vh;
    padding: 3rem 1.25rem 4rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-sapo p {
    font-size: 1.15rem;
  }

  .magazine-container {
    padding: 2.5rem 1rem 4rem;
  }

  .info-grid-balanced-2col {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .process-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .compare-grid-2col {
    grid-template-columns: 1fr;
  }

  .matrix-2x2-balanced {
    grid-template-columns: 1fr;
  }

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

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

  .drop-cap::first-letter {
    font-size: 4rem;
    padding-right: 10px;
  }
}
