/* ==========================================================================
   EMAGAZINE DATA JOURNALISM - DESIGN SYSTEM & STYLESHEET
   Phong cách báo chí dữ liệu hiện đại, sang trọng, độ tương phản cao
   Tối ưu Desktop, Tablet & Mobile - Cỡ chữ văn bản >= 16px, Infographic >= 18px
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette */
  --bg-main: #fcfbf8;
  --bg-card: #ffffff;
  --bg-subtle: #f5f3ed;
  --bg-dark-accent: #111b15;

  --text-primary: #181d19;
  --text-secondary: #04072b;
  --text-muted: #130b25;
  --text-light: #f8faf8;

  --accent-green: #1a6d48;
  --accent-green-light: #e8f5ee;
  --accent-green-border: #a3d9bc;

  --accent-gold: #b37400;
  --accent-gold-light: #fdf5e6;
  --accent-gold-border: #f0cf85;

  --accent-blue: #185a7d;
  --accent-blue-light: #e9f3f8;

  --border-hairline: #e3decb;
  --border-strong: #181d19;

  /* Typography */
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cinzel', 'Lora', Georgia, serif;

  /* Font Sizes */
  --fs-body: 1.25rem;
  /* 20px - Đọc báo chí rất êm mắt */
  --fs-info-text: 1.125rem;
  /* 18px - Đạt yêu cầu tối thiểu 18px tại infographic */
  --fs-h1: clamp(2.2rem, 5vw, 3.8rem);
  --fs-h2: clamp(1.8rem, 3.5vw, 2.6rem);
  --fs-h3: clamp(1.35rem, 2.5vw, 1.85rem);

  /* Layout Dimensions */
  --container-max: 1200px;
  --reading-max: 780px;
  --infographic-max: 1100px;

  /* Elevation & Shadows */
  --shadow-card: 0 10px 30px -10px rgba(18, 38, 26, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px -12px rgba(18, 38, 26, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  font-size: 16px;
  /* Cỡ chữ cơ bản tối thiểu 16px */
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--text-primary);
  background-color: var(--bg-main);
  overflow-x: hidden;
}

/* --- Main Layout Container --- */
.emagazine-container {
  width: 100%;
  position: relative;
}

/* --- Centered Editorial Header (NO Hero Image) --- */
.editorial-header {
  padding: 5rem 1.5rem 3.5rem;
  background: radial-gradient(circle at 50% 15%, #f6f3eb 0%, var(--bg-main) 70%);
  border-bottom: 1px solid var(--border-hairline);
  text-align: center;
  position: relative;
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
}

.badge-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.dot-separator {
  color: var(--accent-gold);
  font-size: 1rem;
}

.format-tag {
  color: var(--text-secondary);
}

.main-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.25;
  color: #0c1c13;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 2.5rem auto;
  max-width: 280px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-hairline) 50%, transparent);
}

.divider-diamond {
  color: var(--accent-green);
  font-size: 0.9rem;
}

/* Sapo / Lead In Styling */
.sapo-box {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: left;
  border-left: 3px solid var(--accent-green);
  padding: 0.75rem 0 0.75rem 1.75rem;
}

.sapo-paragraph {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  /* 21.6px */
  line-height: 1.75;
  color: #243329;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

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

.meta-byline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 1rem;
}

.meta-pipe {
  color: var(--border-hairline);
}

/* --- Article Wrapper & Grid --- */
.article-content-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
}

/* --- Section Formatting --- */
.story-section {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
}

.story-section:last-of-type {
  border-bottom: none;
}

.section-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.part-num {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-green);
  background: var(--accent-green-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
}

.part-rule {
  flex: 1;
  height: 1px;
  background-color: var(--border-hairline);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  line-height: 1.3;
  color: #0f2117;
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: -0.015em;
}

/* --- Editorial Prose (Body Paragraphs) --- */
.prose-block {
  max-width: var(--reading-max);
  margin: 0 auto 3.5rem;
}

.prose-block p {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  letter-spacing: -0.003em;
}

.paragraph-dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.4rem;
  line-height: 0.8;
  margin-top: 0.2rem;
  margin-right: 0.85rem;
  margin-bottom: -0.2rem;
  color: var(--accent-green);
  font-weight: 700;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.05);
}

/* --- Pull Quotes --- */
.editorial-quote {
  margin: 3.5rem 0;
  padding: 2.2rem 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-subtle) 100%);
  border-left: 4px solid var(--accent-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-card);
  position: relative;
}

.editorial-quote.quote-expert {
  border-left-color: var(--accent-blue);
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-blue-light) 100%);
}

.quote-symbol {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-green);
  opacity: 0.25;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  user-select: none;
}

.quote-text {
  font-family: var(--font-serif) !important;
  font-size: 1.35rem !important;
  line-height: 1.75 !important;
  color: #172a1f !important;
  font-style: italic;
  margin-bottom: 1.25rem !important;
  position: relative;
  z-index: 1;
}

.quote-author {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  border-top: 1px solid var(--border-hairline);
  padding-top: 0.85rem;
}

.quote-author strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 700;
}

.quote-author span {
  display: block;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- INFOGRAPHIC CARDS (DATA JOURNALISM HUBS) --- */
.infographic-card {
  max-width: var(--infographic-max);
  margin: 4rem auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-header {
  border-bottom: 2px solid var(--border-hairline);
  padding-bottom: 1.75rem;
  margin-bottom: 2.5rem;
}

.info-tag {
  display: inline-block;
  font-size: 1.125rem;
  /* >= 18px */
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  margin-bottom: 0.75rem;
}

.info-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #0d1e14;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.info-subtitle {
  font-size: var(--fs-info-text);
  /* >= 18px */
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- METRICS GRID (Infographic 1) --- */
.metrics-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.metrics-grid.col-4 {
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  background-color: var(--bg-main);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.metric-item:hover {
  transform: translateY(-4px);
  background-color: #ffffff;
}

.metric-item.highlight-green {
  border-color: var(--accent-green-border);
  background-color: var(--accent-green-light);
}

.metric-item.highlight-gold {
  border-color: var(--accent-gold-border);
  background-color: var(--accent-gold-light);
}

.metric-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.metric-svg-icon {
  width: 28px;
  height: 28px;
  fill: var(--accent-green);
}

.highlight-gold .metric-svg-icon {
  fill: var(--accent-gold);
}

.metric-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: #0a1910;
  margin-bottom: 0.75rem;
}

.metric-prefix {
  font-size: 2.2rem;
  color: var(--accent-green);
}

.highlight-gold .metric-prefix {
  color: var(--accent-gold);
}

.metric-unit {
  font-size: 1.15rem;
  /* >= 18px */
  font-weight: 600;
  color: var(--text-secondary);
}

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

.metric-badge {
  display: inline-block;
  font-size: 1.125rem;
  /* >= 18px */
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: #e2e8f0;
  color: #334155;
}

.metric-badge.trend-down {
  background-color: #dcfce7;
  color: #15803d;
}

.metric-badge.trend-up {
  background-color: #fef3c7;
  color: #b45309;
}

/* --- SVG COMPARISON BAR CHART (Infographic 1) --- */
.chart-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.chart-heading {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 700;
  color: #122118;
  margin-bottom: 1.5rem;
  text-align: center;
}

.svg-chart-container {
  width: 100%;
  overflow-x: auto;
}

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

.chart-label {
  font-family: var(--font-sans);
  font-size: 18px;
  /* Đảm bảo >= 18px */
  font-weight: 600;
  fill: #1e293b;
}

.chart-val-text {
  font-family: var(--font-sans);
  font-size: 18px;
  /* Đảm bảo >= 18px */
  font-weight: 700;
  fill: #0f172a;
}

.chart-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.75rem;
  border-top: 1px solid var(--border-hairline);
  padding-top: 1.25rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.125rem;
  /* >= 18px */
  font-weight: 600;
  color: var(--text-secondary);
}

.legend-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

/* --- INFOGRAPHIC 2: MATRIX DỮ LIỆU & CÔNG NGHỆ --- */
.info-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

.matrix-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.matrix-badge {
  display: inline-block;
  font-size: 1.125rem;
  /* >= 18px */
  font-weight: 700;
  color: #1e5631;
  background-color: #d1fae5;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
}

.matrix-badge.green-badge {
  background-color: #e0f2fe;
  color: #0369a1;
}

.matrix-data-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.matrix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  border-bottom: 1px dashed var(--border-hairline);
}

.matrix-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.matrix-meta {
  display: flex;
  flex-direction: column;
}

.matrix-label {
  font-size: 1.15rem;
  /* >= 18px */
  font-weight: 700;
  color: var(--text-primary);
}

.matrix-sub {
  font-size: 1.125rem;
  /* >= 18px */
  color: var(--text-muted);
}

.matrix-val {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-green);
  text-align: right;
  white-space: nowrap;
}

.matrix-val small {
  font-size: 1.125rem;
  /* >= 18px */
  font-weight: 600;
  color: var(--text-secondary);
}

.highlight-gold-text {
  color: var(--accent-gold);
}

.symbol-gt {
  font-size: 1.5rem;
  margin-right: 2px;
}

/* Tech blocks (Right column) */
.tech-diagram-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-block {
  display: flex;
  gap: 1.25rem;
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.tech-icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: var(--accent-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-inline-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent-green);
}

.tech-content {
  flex: 1;
}

.tech-title {
  font-size: 1.18rem;
  /* >= 18px */
  font-weight: 700;
  color: #122217;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.tech-desc {
  font-size: 1.125rem;
  /* >= 18px */
  color: var(--text-secondary);
  line-height: 1.6;
}

.tech-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.pill {
  font-size: 1.125rem;
  /* >= 18px */
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
}

.pill-green {
  background-color: #dcfce7;
  color: #166534;
}

.pill-gold {
  background-color: #fef3c7;
  color: #92400e;
}

/* --- INFOGRAPHIC 3: CHUỖI GIÁ TRỊ & TUẦN HOÀN --- */
.value-chain-wrapper {
  margin-bottom: 2.75rem;
}

.chain-flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.step-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 220px;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  background-color: #ffffff;
}

.step-badge {
  font-size: 1.125rem;
  /* >= 18px */
  font-weight: 800;
  color: var(--accent-green);
  background-color: var(--accent-green-light);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.step-title {
  font-size: 1.18rem;
  /* >= 18px */
  font-weight: 700;
  color: #0e1e14;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 1.125rem;
  /* >= 18px */
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.step-meta {
  font-size: 1.125rem;
  /* >= 18px */
  font-weight: 700;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  width: 100%;
}

.chain-arrow {
  font-size: 2rem;
  color: var(--accent-green);
  font-weight: 800;
  user-select: none;
}

.chain-summary-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  background-color: var(--bg-main);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.summary-stat-block {
  text-align: center;
  border-right: 1px solid var(--border-hairline);
  padding: 0 1.25rem;
}

.summary-stat-block:last-child {
  border-right: none;
}

.stat-big-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-unit-text {
  display: block;
  font-size: 1.15rem;
  /* >= 18px */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.stat-desc {
  font-size: 1.125rem;
  /* >= 18px */
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- EDITORIAL PHOTO BREAK (PARALLAX FRAME) --- */
.editorial-photo-break {
  margin: 4.5rem 0;
  width: 100%;
}

.photo-parallax-frame {
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  background-color: #1a251e;
}

.parallax-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 35%;
  transform: translateY(0);
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.2, 0.4, 0.6, 1);
}

.photo-caption {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  text-align: center;
  font-style: italic;
  padding: 0 1rem;
}

/* --- FOOTER & SIGNATURE --- */
.editorial-article-footer {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-hairline);
  text-align: center;
}

.author-signoff {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.author-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
}

.author-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #0e2015;
}

.footer-bottom-mark {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- ANIMATION UTILITIES (SCROLL-TRIGGER) --- */
.fade-in-element {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Animated bar width */
.anim-bar {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-bar.chart-active {
  transform: scaleX(1);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Desktop, Tablet, Mobile)
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
  .metrics-grid.col-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-matrix-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .chain-flow-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .chain-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  .step-card {
    min-height: auto;
  }

  .chain-summary-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .summary-stat-block {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding-bottom: 1.5rem;
  }

  .summary-stat-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .photo-parallax-frame {
    height: 380px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  html {
    font-size: 16px;
    /* Luôn đảm bảo tối thiểu 16px trên mobile */
  }

  .editorial-header {
    padding: 3.5rem 1rem 2.5rem;
  }

  .main-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .sapo-box {
    padding-left: 1.2rem;
  }

  .sapo-paragraph {
    font-size: 1.2rem;
  }

  .article-content-wrapper {
    padding: 1rem 1rem 4rem;
  }

  .story-section {
    padding: 3rem 0 2rem;
  }

  .section-title {
    font-size: 1.65rem;
    margin-bottom: 1.75rem;
  }

  .infographic-card {
    padding: 1.75rem 1.25rem;
    margin: 2.5rem 0;
    border-radius: var(--radius-md);
  }

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

  .metric-item {
    padding: 1.5rem 1rem;
  }

  .metric-number-wrapper {
    font-size: 2.4rem;
  }

  .editorial-quote {
    padding: 1.75rem 1.25rem;
    margin: 2.5rem 0;
  }

  .quote-text {
    font-size: 1.2rem !important;
  }

  .matrix-card {
    padding: 1.5rem 1rem;
  }

  .matrix-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .matrix-val {
    align-self: flex-start;
  }

  .tech-block {
    flex-direction: column;
    padding: 1.2rem;
  }

  .photo-parallax-frame {
    height: 260px;
  }

  .chart-box {
    padding: 1.25rem 0.75rem;
  }
}

/* Ultra-small mobile (<= 400px) */
@media (max-width: 400px) {
  .badge-container {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }

  .main-title {
    font-size: 1.75rem;
  }

  .metric-number-wrapper {
    font-size: 2.1rem;
  }
}