/* ==========================================================================
   EMAGAZINE BÁO KINH TẾ - SYSTEM STYLES (FIXED CENTERED INFOGRAPHICS)
   Chủ đề: HTX khơi nguồn đổi mới sáng tạo, giúp nông dân "kiếm bộn tiền"
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@100;200;300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Color Palette - Agritech Economic Editorial */
  --clr-bg: #F8FAF9;
  --clr-bg-paper: #FFFFFF;
  --clr-bg-card: #FFFFFF;

  --clr-emerald-dark: #047857;
  --clr-emerald-main: #059669;
  --clr-emerald-light: #10B981;
  --clr-emerald-glow: rgba(16, 185, 129, 0.25);

  --clr-teal-dark: #0F766E;
  --clr-teal-main: #0D9488;
  --clr-teal-accent: #06B6D4;
  --clr-teal-glow: rgba(6, 182, 212, 0.25);

  --clr-gold-dark: #B45309;
  --clr-gold-main: #D97706;
  --clr-gold-light: #F59E0B;
  --clr-gold-glow: rgba(245, 158, 11, 0.2);

  --clr-text-main: #1F2937;
  --clr-text-muted: #4B5563;
  --clr-text-dark: #0F172A;
  --clr-text-dim: #64748B;

  --clr-border-light: #E2E8F0;
  --clr-border-emerald: rgba(5, 150, 105, 0.3);

  /* Primary Typography - ENCODE SANS */
  --font-primary: 'Encode Sans', sans-serif;
  --font-heading: 'Encode Sans', sans-serif;
  --font-body: 'Encode Sans', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;

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

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 28px -5px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
  --shadow-gold: 0 0 30px rgba(217, 119, 6, 0.15);

  /* Layout Spacing */
  --max-width-article: 860px;
  --max-width-wide: 1350px;
  --max-width-infographic: 1350px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--clr-bg);
  color: var(--clr-text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  line-height: 1.85;
  font-size: 1.18rem;
  color: var(--clr-text-main);
  background: #F8FAF9;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   LIGHT IMPRESSIVE HEADER (NỀN SÁNG, CĂN GIỮA, HTX CỰC ĐẠI & KIẾM BỘN TIỀN)
   -------------------------------------------------------------------------- */
.editorial-header-light {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 50%, #E6F4F1 100%);
  color: var(--clr-text-dark);
  padding: 3.5rem 1.5rem 4.5rem;
  position: relative;
  text-align: center;
  border-bottom: 3px solid var(--clr-emerald-main);
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.05);
}

.header-container {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.pub-badge-row-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(5, 150, 105, 0.15);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

.pub-logo-light {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0F172A;
}

.pub-logo-light span {
  color: var(--clr-emerald-main);
  background: linear-gradient(135deg, #059669, #0D9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pub-tag-light {
  background: #DCFCE7;
  color: var(--clr-emerald-dark);
  border: 1px solid var(--clr-emerald-main);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.main-title-box-center {
  max-width: 1050px;
  margin: 0 auto;
}

.title-kicker-center {
  font-family: var(--font-tech);
  color: var(--clr-gold-dark);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(217, 119, 6, 0.1);
  padding: 6px 20px;
  border-radius: 30px;
}

.article-title-centered {
  font-family: var(--font-primary);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.8;
  color: #0F172A;
  margin-bottom: 2rem;
}

.htx-giant-brand {
  display: block;
  font-size: clamp(4.5rem, 11vw, 8.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #047857 0%, #059669 40%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.5rem 0 1rem;
  text-shadow: 0 10px 30px rgba(5, 150, 105, 0.15);
}

.title-sub-phrase {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #1E293B;
  margin-top: 0.5rem;
}

.highlight-gold-badge {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: #FFFFFF;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #FFFFFF;
  padding: 4px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
  display: inline-block;
}

.article-lead-centered {
  font-family: var(--font-primary);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.7;
  color: #334155;
  max-width: 920px;
  margin: 2rem auto 2.5rem;
  font-weight: 500;
  text-align: center;
}

.author-bar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(5, 150, 105, 0.15);
  font-size: 0.98rem;
  color: var(--clr-text-dim);
  flex-wrap: wrap;
}

.author-bar-center strong {
  color: var(--clr-text-dark);
}

/* --------------------------------------------------------------------------
   HERO BANNER FRAME
   -------------------------------------------------------------------------- */
.hero-banner-section {
  width: 100%;
  position: relative;
  background-color: #0B1310;
  overflow: hidden;
}

.hero-banner-container {
  width: 100%;
  height: clamp(480px, 68vh, 750px);
  position: relative;
}

.hero-image-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.95) contrast(1.05);
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #F8FAF9);
}

/* --------------------------------------------------------------------------
   ARTICLE BODY CONTENT
   -------------------------------------------------------------------------- */
.article-wrapper {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  box-sizing: border-box;
}

.section-block {
  margin-bottom: 5rem;
  width: 100%;
}

.section-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #E6F4F1;
  color: var(--clr-emerald-main);
  padding: 8px 22px;
  border-radius: 30px;
  font-family: var(--font-tech);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--clr-emerald-main), var(--clr-teal-accent));
  margin-top: 1rem;
  border-radius: 3px;
}

.content-body-container {
  max-width: var(--max-width-article);
  margin: 0 auto;
  box-sizing: border-box;
}

.paragraph-block {
  margin-bottom: 1.85rem;
  font-size: 1.2rem;
  line-height: 1.85;
  color: #2D3748;
}

.paragraph-block strong {
  color: #0F172A;
  font-weight: 700;
}

/* ILLUSTRATION IMAGE CARD */
.article-photo-figure {
  margin: 3rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  transition: var(--transition-smooth);
}

.article-photo-figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.article-photo-img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
  display: block;
}

.photo-caption {
  padding: 1.2rem 1.8rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  font-size: 1.05rem;
  color: #475569;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 12px;
}

.photo-caption-tag {
  background: var(--clr-emerald-main);
  color: #FFFFFF;
  padding: 2px 10px;
  border-radius: 6px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* QUOTE CARDS */
.quote-card {
  background: linear-gradient(135deg, #0F201B 0%, #152C25 100%);
  color: #FFFFFF;
  padding: 2.5rem 3rem;
  border-radius: var(--radius-md);
  border-left: 6px solid var(--clr-emerald-light);
  margin: 3rem 0;
  position: relative;
  box-shadow: var(--shadow-md);
}

.quote-card * {
  font-family: var(--font-primary);
}

.quote-card::before {
  content: '“';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: rgba(16, 185, 129, 0.2);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.quote-text {
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  color: #F3F4F6;
  margin-bottom: 1.5rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-emerald-main), var(--clr-teal-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.2rem;
}

.author-details .name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
}

.author-details .role {
  font-size: 0.9rem;
  color: var(--clr-emerald-light);
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC WIDE CENTERED CONTAINERS (CHUẨN CĂN GIỮA TUYỆT ĐỐI - KHÔNG XÔ LỆCH)
   -------------------------------------------------------------------------- */
.infographic-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin: 3.5rem auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
  border: 1px solid #CBD5E1;
  position: relative;
  overflow: hidden;

  /* PERFECTLY CENTERED EXTENSION UP TO 1350PX */
  max-width: var(--max-width-infographic);
  width: 100%;
  box-sizing: border-box;
}

/* If placed inside .content-body-container, safely break out up to 1350px */
.content-body-container>.infographic-wrapper {
  width: calc(100% + 490px);
  margin-left: -245px;
  margin-right: -245px;
}

@media (max-width: 1400px) {
  .content-body-container>.infographic-wrapper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.infographic-wrapper * {
  font-family: var(--font-primary);
  font-size: max(18px, 1.125rem);
  box-sizing: border-box;
}

.infographic-header {
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 1.8rem;
  margin-bottom: 2.2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.infographic-tag {
  background: #ECFDF5;
  color: var(--clr-emerald-main);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 18px;
  border-radius: 20px;
  font-family: var(--font-tech);
  font-weight: 800;
  font-size: 18px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.infographic-title {
  font-family: var(--font-heading);
  font-size: 28px !important;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  margin-top: 0.6rem;
}

/* INFOGRAPHIC 1.1: TIMELINE + SCALE EXPANSION */
.timeline-scale-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 950px) {
  .timeline-scale-container {
    grid-template-columns: 1fr;
  }
}

.timeline-flow {
  position: relative;
  padding-left: 2.5rem;
  border-left: 4px solid #E2E8F0;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
  transition: var(--transition-smooth);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3.2rem;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--clr-emerald-main);
}

.timeline-item.active::before {
  background: var(--clr-emerald-main);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.2);
}

.timeline-year {
  font-family: var(--font-tech);
  font-size: 22px !important;
  font-weight: 800;
  color: var(--clr-emerald-main);
}

.timeline-heading {
  font-family: var(--font-heading);
  font-size: 20px !important;
  font-weight: 700;
  color: #1F2937;
  margin: 4px 0;
}

.timeline-desc {
  font-size: 18px !important;
  color: #4B5563;
  line-height: 1.6;
}

.scale-visual-card {
  background: linear-gradient(135deg, #0F201B 0%, #17322A 100%);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  color: #FFFFFF;
  text-align: center;
  position: relative;
}

.scale-visual-card * {
  color: #FFFFFF;
}

.scale-comparison-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  margin: 2rem 0;
  gap: 24px;
}

.scale-bar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scale-bar {
  width: 80px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, var(--clr-teal-accent), var(--clr-emerald-main));
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px !important;
  box-shadow: var(--shadow-glow);
}

.scale-bar.small {
  height: 55px;
  background: #374151;
}

.scale-bar.large {
  height: 230px;
}

.scale-label {
  font-weight: 700;
  font-size: 18px !important;
}

.member-badge-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 22px;
  border-radius: 14px;
  margin-top: 1.5rem;
}

.member-badge-grid span {
  font-size: 19px !important;
  font-weight: 700;
  color: #34D399;
}

/* INFOGRAPHIC 1.2: FARM MAP LAYOUT */
.farm-map-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.8rem;
  margin-top: 1.8rem;
}

.farm-zone-card {
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

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

.zone-guava {
  grid-column: span 5;
  background: linear-gradient(135deg, #E6F4EA 0%, #CEEAD6 100%);
  border-left: 6px solid #137333;
}

.zone-veg {
  grid-column: span 7;
  background: linear-gradient(135deg, #E8F0FE 0%, #D2E3FC 100%);
  border-left: 6px solid #1A73E8;
}

.zone-reservoir {
  grid-column: span 6;
  background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
  border-left: 6px solid #00838F;
}

.zone-aquaculture {
  grid-column: span 6;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
  border-left: 6px solid #F57F17;
}

@media (max-width: 900px) {
  .farm-zone-card {
    grid-column: span 12 !important;
  }
}

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

.zone-title {
  font-family: var(--font-heading);
  font-size: 22px !important;
  font-weight: 800;
  color: #111827;
}

.zone-stat-pill {
  background: #FFFFFF;
  padding: 6px 18px;
  border-radius: 20px;
  font-family: var(--font-tech);
  font-weight: 800;
  font-size: 19px !important;
  color: #0F201B;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.zone-desc {
  font-size: 18px !important;
  color: #374151;
  line-height: 1.6;
}

.zone-icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.2rem;
}

.svg-icon-lg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

/* INFOGRAPHIC 2.1: ECONOMIC DASHBOARD */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

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

.dash-card {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.dash-card:hover {
  background: #FFFFFF;
  border-color: var(--clr-emerald-main);
  box-shadow: var(--shadow-md);
}

.dash-card.highlight {
  background: linear-gradient(135deg, #0F201B 0%, #1B362F 100%);
  color: #FFFFFF;
  border: none;
}

.dash-card.highlight * {
  color: #FFFFFF;
}

.dash-number {
  font-family: var(--font-tech);
  font-size: 46px !important;
  font-weight: 800;
  line-height: 1.1;
  color: var(--clr-emerald-main);
  margin: 1rem 0 0.5rem;
}

.dash-card.highlight .dash-number {
  color: #34D399;
}

.dash-unit {
  font-size: 19px !important;
  font-weight: 700;
  color: #4B5563;
  margin-bottom: 0.5rem;
}

.dash-card.highlight .dash-unit {
  color: #9CA3AF;
}

.dash-label {
  font-size: 18px !important;
  color: #6B7280;
  line-height: 1.5;
}

.dash-card.highlight .dash-label {
  color: #D1D5DB;
}

.econ-comparison-box {
  background: #F1F5F9;
  border-radius: var(--radius-md);
  padding: 2.2rem;
  margin-top: 1.8rem;
}

.econ-bar-row {
  margin-bottom: 1.6rem;
}

.econ-bar-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 18px !important;
}

.econ-bar-track {
  height: 26px;
  background: #CBD5E1;
  border-radius: 13px;
  overflow: hidden;
}

.econ-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-emerald-main), var(--clr-teal-accent));
  border-radius: 13px;
  transition: width 1.5s ease-out;
}

.econ-bar-fill.rice {
  background: #94A3B8;
  width: 12%;
}

.econ-bar-fill.guava {
  width: 75%;
}

.econ-bar-fill.intercrop {
  width: 95%;
  background: linear-gradient(90deg, var(--clr-gold-main), #F59E0B);
}

/* INFOGRAPHIC 2.2: CIRCULAR ECONOMY */
.circular-flow-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  position: relative;
  margin: 2.5rem 0;
}

@media (max-width: 950px) {
  .circular-flow-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 550px) {
  .circular-flow-container {
    grid-template-columns: 1fr;
  }
}

.flow-step-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 2rem 1.4rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.flow-step-card:hover {
  border-color: var(--clr-emerald-main);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.flow-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-emerald-main);
  color: #FFFFFF;
  font-family: var(--font-tech);
  font-weight: 800;
  font-size: 20px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.flow-step-title {
  font-family: var(--font-heading);
  font-size: 20px !important;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}

.flow-step-desc {
  font-size: 18px !important;
  color: #4B5563;
  line-height: 1.5;
}

/* INFOGRAPHIC 3.1: VALUE CHAIN DIAGRAM (ULTRA WIDE FIT) */
.value-chain-wrapper {
  overflow-x: auto;
  padding-bottom: 1.2rem;
  width: 100%;
}

.value-chain-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  min-width: 1100px;
}

.chain-node {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.2rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chain-node:hover {
  background: #ECFDF5;
  border-color: var(--clr-emerald-main);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.chain-step-badge {
  font-family: var(--font-tech);
  font-size: 18px !important;
  font-weight: 800;
  color: var(--clr-emerald-main);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.chain-node-title {
  font-family: var(--font-heading);
  font-size: 19px !important;
  font-weight: 700;
  color: #0F201B;
  line-height: 1.3;
}

.chain-connector {
  display: flex;
  align-items: center;
  color: var(--clr-emerald-main);
  font-size: 24px !important;
  font-weight: 900;
  flex-shrink: 0;
}

.haccp-badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(135deg, #0F201B, #1B362F);
  color: #FFFFFF;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

.haccp-badge-container * {
  color: #FFFFFF;
}

.haccp-text {
  font-size: 19px !important;
  font-weight: 600;
}

/* INFOGRAPHIC 3.2: INNOVATION & IP GROWTH DASHBOARD */
.ip-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.ip-card-wide {
  grid-column: span 7;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 2.2rem;
}

.ip-card-side {
  grid-column: span 5;
  background: linear-gradient(135deg, #0F201B 0%, #18332C 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.2rem;
}

.ip-card-side * {
  color: #FFFFFF;
}

@media (max-width: 950px) {

  .ip-card-wide,
  .ip-card-side {
    grid-column: span 12;
  }
}

.ocop-badge-group {
  display: flex;
  gap: 18px;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.ocop-badge-item {
  background: rgba(26, 126, 154, 0.642);
  border: 2px solid var(--clr-gold-main);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ocop-star-icon {
  color: #F59E0B;
  font-size: 30px !important;
}

.ocop-info .title {
  font-family: var(--font-heading);
  font-size: 20px !important;
  font-weight: 800;
  color: var(--clr-gold-light);
}

.ocop-info .year {
  font-size: 18px !important;
  color: #E5E7EB;
}

/* SVG ICON UTILITIES */
.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  vertical-align: middle;
}

/* FOOTER SECTION */
.article-footer {
  background: #00553c;
  color: #ffffff;
  padding: 4rem 1.5rem 3rem;
  border-top: 4px solid var(--clr-emerald-main);
  margin-top: 6rem;
  text-align: center;
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: #FFFFFF;
  letter-spacing: 2px;
}

.footer-credits {
  font-size: 1.05rem;
  color: #ffffff;
}

.footer-credits strong {
  color: #FFFFFF;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE SYSTEM
   ========================================================================== */

@media (max-width: 950px) {
  .editorial-header-light {
    padding: 2.5rem 1.2rem 3.5rem;
  }
  .article-title-centered {
    font-size: 2.4rem;
  }
  .htx-giant-brand {
    font-size: 5.5rem;
  }
  .title-sub-phrase {
    font-size: 2.2rem;
  }
  .timeline-scale-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .circular-flow-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .ip-card-wide,
  .ip-card-side {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  /* Layout & Wrapper */
  body {
    font-size: 1.08rem;
  }
  .article-wrapper {
    padding: 1.5rem 0.8rem 4rem;
  }
  .content-body-container {
    width: 100%;
    padding: 0 0.4rem;
  }
  .paragraph-block {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }

  /* Header Mobile */
  .pub-logo-light {
    font-size: 1.4rem;
  }
  .htx-giant-brand {
    font-size: 4.5rem;
  }
  .title-sub-phrase {
    font-size: 1.8rem;
  }
  .highlight-gold-badge {
    padding: 4px 14px;
    font-size: 1.5rem;
  }
  .article-lead-centered {
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 1.5rem auto;
  }
  .author-bar-center {
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
  }
  .author-bar-center span:nth-child(2),
  .author-bar-center span:nth-child(4) {
    display: none;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
  }
  .section-header-pill {
    font-size: 0.85rem;
    padding: 6px 14px;
  }

  /* Image Figure Mobile */
  .article-photo-figure {
    margin: 2rem 0;
    border-radius: 12px;
  }
  .photo-caption {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }

  /* Quote Card Mobile */
  .quote-card {
    padding: 1.8rem 1.4rem;
    margin: 2rem 0;
    border-radius: 14px;
  }
  .quote-text {
    font-size: 1.12rem;
    line-height: 1.65;
  }

  /* Infographic Wrapper Mobile */
  .infographic-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    padding: 1.5rem 1.2rem !important;
    border-radius: 16px !important;
  }
  .infographic-header {
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .infographic-title {
    font-size: 20px !important;
    line-height: 1.35;
  }

  /* Infographic 1.1 Mobile */
  .timeline-flow {
    padding-left: 1.8rem;
  }
  .timeline-item::before {
    left: -2.4rem;
    width: 18px;
    height: 18px;
  }
  .timeline-year {
    font-size: 19px !important;
  }
  .timeline-heading {
    font-size: 18px !important;
  }
  .scale-visual-card {
    padding: 1.5rem 1rem;
  }
  .scale-bar {
    width: 60px;
  }
  .scale-bar.large {
    height: 170px;
  }
  .scale-bar.small {
    height: 45px;
  }

  /* Infographic 1.2 Mobile */
  .farm-map-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .farm-zone-card {
    grid-column: span 12 !important;
    padding: 1.4rem;
  }
  .zone-title {
    font-size: 19px !important;
  }

  /* Infographic 2.1 Mobile */
  .dash-card {
    padding: 1.5rem 1rem;
  }
  .dash-number {
    font-size: 34px !important;
  }
  .dash-unit {
    font-size: 18px !important;
  }
  .econ-comparison-box {
    padding: 1.4rem 1rem;
  }
  .econ-bar-meta {
    font-size: 16px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* Infographic 2.2 Mobile */
  .circular-flow-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .flow-step-card {
    padding: 1.4rem 1rem;
  }

  /* Infographic 3.1 Mobile Value Chain Flowchart */
  .value-chain-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.8rem;
  }
  .value-chain-track {
    min-width: 980px;
  }
  .chain-node {
    padding: 1.2rem 0.8rem;
  }
  .chain-node-title {
    font-size: 17px !important;
  }
  .haccp-badge-container {
    padding: 1.2rem 1rem;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .haccp-text {
    font-size: 17px !important;
  }

  /* Infographic 3.2 Mobile */
  .ip-card-wide,
  .ip-card-side {
    padding: 1.4rem 1.2rem;
  }
  .ocop-badge-group {
    flex-direction: column;
    gap: 10px;
  }
  .ocop-badge-item {
    padding: 1rem;
  }

  /* Footer Mobile */
  .article-footer {
    padding: 3rem 1rem 2.5rem;
    margin-top: 4rem;
  }
  .footer-brand {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .pub-logo-light {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }
  .htx-giant-brand {
    font-size: 3.5rem;
  }
  .title-sub-phrase {
    font-size: 1.4rem;
  }
  .highlight-gold-badge {
    font-size: 1.2rem;
    padding: 4px 10px;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .dash-number {
    font-size: 28px !important;
  }
  .flow-step-title {
    font-size: 18px !important;
  }
}