﻿/* ==========================================================================
   E-MAGAZINE BÁO CHÍ DỮ LIỆU HIỆN ĐẠI
   Chủ đề: Từ lợi thế cây tre, HTX Thành Thái nâng giá trị nông sản địa phương
   Tiêu chuẩn: Cỡ chữ toàn trang >= 16px, Infographic >= 18px, Bố cục cân bằng
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Bảng màu nông sản Tây Ninh & Báo chí dữ liệu */
    --primary-bamboo: #1b4332;
    --primary-dark: #0d281e;
    --primary-light: #2d6a4f;
    --accent-emerald: #40916c;
    --accent-amber: #d97706;
    --accent-amber-light: #f59e0b;
    --accent-gold: #b45309;

    /* Nền & Thẻ */
    --bg-main: #fcfbf9;
    --bg-card: #ffffff;
    --bg-subtle: #f4f5f0;
    --bg-dark-card: #132a20;

    /* Màu chữ tương phản cao (AAA) */
    --text-headline: #0f172a;
    --text-body: #1e293b;
    --text-muted: #475569;
    --text-light: #f8fafc;

    /* Viền & Đổ bóng */
    --border-soft: #e2e8f0;
    --border-accent: rgba(45, 106, 79, 0.25);
    --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.12);

    /* Phông chữ */
    --font-heading: 'Lora', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Cinzel', serif;

    /* Bán kính bo góc */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 18px; /* Cỡ chữ nền tối thiểu 16px, ở đây đặt 18px cực kỳ chuẩn báo chí */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* --------------------------------------------------------------------------
   2. HERO COVER (BÌA BÁO CHÍ ĐA PHƯƠNG TIỆN - KHÔNG MENU / HEADER)
   -------------------------------------------------------------------------- */
.hero-cover {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
    color: #ffffff;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 25, 18, 0.6) 0%,
        rgba(10, 25, 18, 0.8) 50%,
        rgba(10, 25, 18, 0.95) 100%
    );
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.4rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    margin-bottom: 2.2rem;
}

.tag-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--accent-amber-light);
    box-shadow: 0 0 10px var(--accent-amber-light);
}

.tag-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 5.2vw, 3.8rem);
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 2.2rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.01em;
}

.hero-sapo {
    background: rgba(13, 33, 23, 0.75);
    border-left: 5px solid var(--accent-amber);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    backdrop-filter: blur(14px);
    padding: 2rem 2.4rem;
    text-align: left;
    margin: 0 auto 3rem;
    max-width: 880px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-sapo p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #f8fafc;
    font-weight: 400;
}

.hero-sapo p + p {
    margin-top: 1.2rem;
}

.hero-scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.5rem;
    opacity: 0.9;
}

.scroll-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e2e8f0;
}

.mouse-icon {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-amber-light);
    border-radius: 2px;
    animation: mouseScroll 1.8s infinite ease-in-out;
}

@keyframes mouseScroll {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.2; }
    100% { transform: translateY(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   3. NỘI DUNG CHÍNH (3 PHẦN MẠCH LẠC)
   -------------------------------------------------------------------------- */
.magazine-main {
    position: relative;
    z-index: 4;
}

.editorial-part {
    padding: 5.5rem 1.5rem 4rem;
    position: relative;
    border-bottom: 1px solid var(--border-soft);
}

.editorial-part:nth-child(even) {
    background-color: var(--bg-subtle);
}

/* Chỉ báo số phần */
.part-indicator {
    max-width: 840px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.part-num {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-amber);
    white-space: nowrap;
}

.part-line {
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, var(--accent-amber) 0%, rgba(217, 119, 6, 0.1) 100%);
}

.part-topic {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary-light);
    text-transform: uppercase;
}

/* Khung đọc chuẩn báo chí */
.reading-container {
    max-width: 840px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 2.2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--accent-amber);
    margin-top: 0.9rem;
    border-radius: 2px;
}

/* Đoạn văn giữ 100% văn bản gốc */
.editorial-prose p {
    font-size: 1.15rem; /* ~20.7px, hoàn toàn >= 16px */
    line-height: 2.0;
    color: var(--text-body);
    margin-bottom: 1.8rem;
    text-align: justify;
    text-justify: inter-word;
}

/* Chữ khởi đầu đoạn (Dropcap) */
.dropcap-paragraph::first-letter {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    float: left;
    line-height: 0.8;
    padding-top: 6px;
    padding-right: 14px;
    padding-bottom: 2px;
    color: var(--primary-bamboo);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. HÌNH BÁO CHÍ ĐA PHƯƠNG TIỆN (VISUAL BREAKOUT)
   -------------------------------------------------------------------------- */
.visual-breakout {
    max-width: 1140px;
    margin: 4rem auto 4rem;
    padding: 0 1rem;
}

.editorial-figure {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
}

.parallax-img-container {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 560px;
    background: #e2e8f0;
}

.editorial-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-figure:hover .editorial-photo {
    transform: scale(1.03);
}

.editorial-caption {
    padding: 1.2rem 1.8rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    background: #ffffff;
    border-top: 1px solid var(--border-soft);
}

.caption-marker {
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-light);
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    background: rgba(45, 106, 79, 0.1);
    border-radius: 4px;
    margin-right: 0.6rem;
}

/* Khối trích dẫn (Pullquote) */
.editorial-pullquote {
    margin: 3.5rem 0;
    padding: 2.5rem 2.8rem;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.05) 0%, rgba(217, 119, 6, 0.08) 100%);
    border-left: 6px solid var(--primary-bamboo);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.quote-symbol {
    position: absolute;
    top: 0.5rem;
    right: 1.8rem;
    font-family: var(--font-heading);
    font-size: 6.5rem;
    line-height: 1;
    color: rgba(27, 67, 50, 0.12);
    pointer-events: none;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.3rem !important;
    font-style: italic;
    color: var(--primary-dark) !important;
    line-height: 1.85 !important;
    margin-bottom: 1.4rem !important;
}

.quote-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--accent-gold);
}

.author-title {
    font-size: 1rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. INFOGRAPHIC THUẦN DỮ LIỆU (CỠ CHỮ >= 18PX, BỐ CỤC CÂN BẰNG HOÀN TOÀN)
   -------------------------------------------------------------------------- */
.infographic-container {
    max-width: 1140px;
    margin: 4rem auto 4rem;
    padding: 0 1rem;
}

.infographic-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.8rem 2.5rem;
    position: relative;
}

/* TIÊU CHUẨN CỐT LÕI: TẤT CẢ TEXT TRONG INFOGRAPHIC ĐỀU >= 18PX */
.infographic-card,
.infographic-card p,
.infographic-card span,
.infographic-card li,
.infographic-card div,
.sub-label,
.market-badge,
.pillar-badge,
.mini-label,
.mini-note,
.summary-text,
.node-desc,
.bar-text {
    font-size: 1.125rem; /* 18px */
}

.infographic-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 2.8rem;
}

.badge-tag {
    display: inline-block;
    font-size: 1.125rem !important; /* 18px */
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-amber);
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.28);
    padding: 0.4rem 1.4rem;
    border-radius: 999px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.infographic-title {
    font-family: var(--font-heading);
    font-size: 1.85rem !important;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.35;
    margin-bottom: 0.8rem;
}

.infographic-desc {
    color: var(--text-muted);
    font-size: 1.125rem !important; /* 18px */
    line-height: 1.65;
}

/* === INFOGRAPHIC 1: BỐ CỤC 2 CỘT CÂN BẰNG HOÀN HẢO (50/50) === */
.infographic-balanced-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
    align-items: stretch;
}

.data-column {
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-column:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.column-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid var(--border-soft);
    margin-bottom: 1.8rem;
}

.col-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-bamboo);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-dry .col-icon {
    background: var(--accent-amber);
}

.col-meta .sub-label {
    display: block;
    font-size: 1.125rem !important; /* 18px */
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.55rem !important;
    font-weight: 700;
    color: var(--text-headline);
}

/* Thống kê ngâm muối 8 giờ */
.key-stat-box {
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 1.6rem;
    border-left: 6px solid var(--primary-bamboo);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.8rem;
}

.stat-highlight {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.stat-highlight .counter {
    font-size: 3.5rem !important;
    font-weight: 800;
    color: var(--primary-bamboo);
    line-height: 1;
}

.stat-highlight .unit {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-desc {
    font-size: 1.125rem !important; /* 18px */
    color: var(--text-body);
    line-height: 1.55;
}

/* Các bước quy trình măng chua */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow-step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    background: #ffffff;
    padding: 1.1rem 1.3rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
}

.step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-bamboo);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem !important; /* 18px */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text {
    font-size: 1.125rem !important; /* 18px */
    color: var(--text-body);
    line-height: 1.55;
}

/* Thống kê nhiệt độ & thời gian sấy măng khô */
.dual-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.mini-stat-card {
    background: #ffffff;
    padding: 1.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    text-align: center;
}

.mini-label {
    display: block;
    font-size: 1.125rem !important; /* 18px */
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.mini-number {
    font-size: 1.85rem !important;
    font-weight: 800;
    color: var(--text-headline);
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.mini-number .counter {
    font-size: 2.1rem !important;
    font-weight: 800;
    color: var(--accent-amber);
}

.mini-unit {
    font-size: 1.3rem !important;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: 4px;
}

.mini-note {
    display: block;
    font-size: 1.125rem !important; /* 18px */
    color: var(--text-muted);
}

/* Biểu đồ hao hụt măng khô */
.yield-chart-container {
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 1.6rem;
    border: 1px solid var(--border-soft);
}

.yield-chart-title {
    font-weight: 700;
    font-size: 1.25rem !important;
    color: var(--text-headline);
    margin-bottom: 1.3rem;
    border-bottom: 1px dashed var(--border-soft);
    padding-bottom: 0.6rem;
}

.yield-row {
    margin-bottom: 1.4rem;
}

.yield-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    font-size: 1.125rem !important; /* 18px */
}

.yield-name {
    color: var(--text-body);
    font-weight: 600;
    font-size: 1.125rem !important;
}

.yield-value strong {
    font-size: 1.3rem !important;
    font-weight: 800;
}

.highlight-fresh {
    color: var(--primary-bamboo);
    font-size: 1.125rem !important;
}

.highlight-dry {
    color: var(--accent-amber);
    font-size: 1.125rem !important;
}

.yield-bar-track {
    width: 100%;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.yield-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fresh-fill {
    background: linear-gradient(90deg, #2d6a4f, #52b788);
}

.dry-fill {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.yield-summary-box {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-soft);
}

.summary-stat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.sum-tag {
    font-size: 1.125rem !important; /* 18px */
    font-weight: 700;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}

.sum-val {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: var(--text-headline);
}

.sum-val strong {
    font-size: 1.5rem !important;
    color: #dc2626;
}

.summary-text {
    font-size: 1.125rem !important; /* 18px */
    color: var(--text-muted);
    line-height: 1.55;
}

/* === INFOGRAPHIC 2: ĐỊNH VỊ SẢN PHẨM & CHUỖI GIÁ TRỊ (CÂN BẰNG HOÀN TOÀN) === */
.balanced-two-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.8rem;
}

.market-card {
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    border: 1px solid var(--border-soft);
    border-top: 6px solid var(--primary-bamboo);
    display: flex;
    flex-direction: column;
}

.market-card:nth-child(2) {
    border-top-color: var(--accent-amber);
}

.market-badge {
    font-size: 1.125rem !important; /* 18px */
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.market-title {
    font-family: var(--font-heading);
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--text-headline);
    margin-bottom: 1.4rem;
}

.market-points {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.market-point-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 1.125rem !important; /* 18px */
    color: var(--text-body);
    line-height: 1.55;
}

.point-icon {
    width: 26px;
    height: 26px;
    background: var(--primary-bamboo);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.market-card:nth-child(2) .point-icon {
    background: var(--accent-amber);
}

.point-txt {
    font-size: 1.125rem !important; /* 18px */
}

/* Sơ đồ luồng 4 mắt xích cân đối */
.chain-section {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 2.2rem 1.8rem;
}

.chain-header-bar {
    text-align: center;
    margin-bottom: 2.2rem;
}

.chain-title-badge {
    display: inline-block;
    font-size: 1.15rem !important; /* 18px */
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    background: rgba(45, 106, 79, 0.1);
    border-radius: 6px;
}

.chain-flow-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.8rem;
}

.chain-node {
    flex: 1;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    padding: 1.6rem 1.2rem;
    text-align: center;
    border: 1px solid var(--border-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

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

.chain-node.active-hub {
    background: #ecf8f1;
    border: 2px solid var(--primary-light);
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.15);
}

.node-number {
    font-family: var(--font-display);
    font-size: 1.125rem !important; /* 18px */
    font-weight: 700;
    color: var(--accent-amber);
    margin-bottom: 0.5rem;
}

.node-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-bamboo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.active-hub .node-icon {
    background: var(--primary-bamboo);
    color: #ffffff;
}

.node-name {
    font-family: var(--font-heading);
    font-size: 1.3rem !important;
    font-weight: 700;
    color: var(--text-headline);
    margin-bottom: 0.7rem;
}

.node-desc {
    font-size: 1.125rem !important; /* 18px */
    color: var(--text-muted);
    line-height: 1.5;
}

.chain-arrow-indicator {
    font-size: 2rem !important;
    color: var(--accent-amber);
    font-weight: 700;
    align-self: center;
    flex-shrink: 0;
}

/* === INFOGRAPHIC 3: 4 TRỤ CỘT ĐỊNH HƯỚNG PHÁT TRIỂN (LƯỚI 2x2 CÂN XỨNG TUYỆT ĐỐI) === */
.quad-balanced-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.8rem;
}

.pillar-card {
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    padding: 2.2rem 2.2rem;
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.pillar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.3rem;
}

.pillar-badge {
    font-family: var(--font-display);
    font-size: 1.125rem !important; /* 18px */
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-amber);
    background: rgba(217, 119, 6, 0.12);
    padding: 0.3rem 0.9rem;
    border-radius: 4px;
}

.pillar-svg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-bamboo);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.45rem !important;
    font-weight: 700;
    color: var(--text-headline);
    margin-bottom: 0.9rem;
    line-height: 1.35;
}

.pillar-lead {
    font-weight: 700;
    font-size: 1.18rem !important;
    color: var(--primary-light);
    margin-bottom: 0.9rem;
}

.pillar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pillar-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 1.125rem !important; /* 18px */
    color: var(--text-body);
    line-height: 1.55;
}

.pillar-list li::before {
    content: "•";
    position: absolute;
    left: 0.3rem;
    color: var(--accent-amber);
    font-size: 1.8rem;
    line-height: 1;
}

/* Thanh thống kê 3 chỉ số cuối Infographic 3 */
.infographic-stat-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    background: var(--bg-dark-card);
    border-radius: var(--radius-md);
    padding: 2rem 1.6rem;
    color: #ffffff;
    text-align: center;
}

.stat-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-bar-col + .stat-bar-col {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.bar-num {
    font-size: 2.3rem !important;
    font-weight: 800;
    color: var(--accent-amber-light);
    line-height: 1.1;
}

.bar-num .counter {
    font-size: 2.6rem !important;
    font-weight: 800;
}

.bar-text {
    font-size: 1.125rem !important; /* 18px */
    color: #cbd5e1;
    line-height: 1.45;
    max-width: 280px;
}

/* --------------------------------------------------------------------------
   6. TÁC GIẢ BÀI BÁO (BYLINE)
   -------------------------------------------------------------------------- */
.editorial-byline {
    margin-top: 4rem;
    padding-top: 2rem;
}

.byline-line {
    width: 80px;
    height: 4px;
    background: var(--primary-bamboo);
    margin-bottom: 1.2rem;
}

.byline-content {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
}

.byline-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.byline-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   7. FOOTER TẬP TRUNG NỘI DUNG (KHÔNG NAV/MENU)
   -------------------------------------------------------------------------- */
.magazine-footer {
    background: #0f172a;
    color: #ffffff;
    padding: 4.5rem 1.5rem 4rem;
    text-align: center;
    border-top: 5px solid var(--accent-amber);
}

.footer-container {
    max-width: 840px;
    margin: 0 auto;
}

.footer-tag {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-amber-light);
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.footer-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.6;
    color: #f8fafc;
    margin-bottom: 0.9rem;
}

.footer-sub {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. ANIMATIONS & SCROLL-TRIGGER EFFECTS
   -------------------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal="fade-up"] {
    transform: translateY(35px);
}

[data-reveal="fade-down"] {
    transform: translateY(-35px);
}

[data-reveal="zoom-in"] {
    transform: scale(0.96);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE HOÀN HẢO (DESKTOP, TABLET, MOBILE)
   -------------------------------------------------------------------------- */

/* TABLET & MÀN HÌNH VỪA (MAX-WIDTH: 1024PX) */
@media (max-width: 1024px) {
    .infographic-balanced-grid,
    .balanced-two-cards,
    .quad-balanced-grid {
        gap: 1.6rem;
    }

    .chain-flow-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .chain-node {
        flex: 1 1 calc(50% - 2rem);
        min-height: 220px;
    }

    .chain-arrow-indicator {
        display: none; /* Ẩn mũi tên ngang khi wrap thành 2 cột */
    }

    .infographic-stat-bar {
        gap: 1rem;
        padding: 1.6rem 1.2rem;
    }
}

/* MOBILE & MÀN HÌNH NHỎ (MAX-WIDTH: 768PX) */
@media (max-width: 768px) {
    html {
        font-size: 16px; /* Chuẩn di động tối thiểu 16px */
    }

    .hero-cover {
        padding: 4.5rem 1rem 3.5rem;
        min-height: 90vh;
    }

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

    .hero-sapo {
        padding: 1.5rem 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-sapo p {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .editorial-part {
        padding: 3.8rem 1rem 2.8rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .editorial-prose p {
        font-size: 1.125rem; /* 18px trên mobile */
        line-height: 1.85;
        text-align: left;
    }

    .dropcap-paragraph::first-letter {
        font-size: 3.4rem;
        padding-right: 10px;
    }

    .editorial-pullquote {
        padding: 1.8rem 1.4rem;
    }

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

    /* Stack dọc các khối Infographic */
    .infographic-card {
        padding: 1.8rem 1.2rem;
        border-radius: var(--radius-md);
    }

    .infographic-balanced-grid,
    .balanced-two-cards,
    .quad-balanced-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .data-column,
    .market-card,
    .pillar-card {
        padding: 1.6rem 1.3rem;
    }

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

    .chain-flow-grid {
        flex-direction: column;
        gap: 1.2rem;
    }

    .chain-node {
        width: 100%;
        min-height: auto;
    }

    .infographic-stat-bar {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .stat-bar-col + .stat-bar-col {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        padding-top: 1.4rem;
    }

    /* ĐẢM BẢO TUYỆT ĐỐI TOÀN BỘ TEXT TRONG INFOGRAPHIC TRÊN MOBILE >= 18PX */
    .infographic-card,
    .infographic-card p,
    .infographic-card span,
    .infographic-card li,
    .infographic-card div,
    .badge-tag,
    .sub-label,
    .market-badge,
    .pillar-badge,
    .mini-label,
    .mini-note,
    .summary-text,
    .node-desc,
    .bar-text,
    .step-text,
    .market-point-item,
    .point-txt {
        font-size: 1.125rem !important; /* 18px quy định */
    }
}

