/* Base & Variables Design System */
:root {
    --bg-primary: #070f1e;
    --bg-secondary: #0b1528;
    --bg-card: rgba(15, 23, 42, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Branding Colors */
    --color-blue: #2563eb;
    --color-blue-light: #60a5fa;
    --color-red: #ef4444;
    --color-red-dark: #b91c1c;
    --color-gold: #fbbf24;
    --color-green: #10b981;
    --color-cyan: #06b6d4;
    --color-purple: #a855f7;

    /* Glow Effects */
    --glow-blue: 0 0 15px rgba(37, 99, 235, 0.6);
    --glow-red: 0 0 20px rgba(239, 68, 68, 0.8);
    --glow-cyan: 0 0 15px rgba(6, 182, 212, 0.6);
    --glow-gold: 0 0 15px rgba(251, 191, 36, 0.6);
    --glow-green: 0 0 15px rgba(16, 185, 129, 0.6);

    /* Fonts */
    --font-heading: 'Encode Sans', sans-serif;
    --font-body: 'Encode Sans', sans-serif;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    touch-action: pan-y; /* Cho phép cuộn dọc mượt mà bằng cử chỉ vuốt trên mọi thiết bị */
}

p, h1, h2, h3, h4, li, .val, .desc, .lead-text, .detail-row {
    text-wrap: pretty;
}

.main-title, .section-title, .section-subtitle, .editorial-heading {
    text-wrap: balance;
}

/* Future grid overlay and tech bg glow */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.glow-bg {
    position: fixed;
    top: 20%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    border-radius: 50%;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.narrow-container {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Glassmorphism Common Styles */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.header {
    padding: 6rem 0 4rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.editorial-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 0.95rem;
    color: var(--color-red);
    margin-bottom: 1.5rem;
}

.editorial-meta .divider {
    color: var(--text-muted);
}

.editorial-meta .date, .editorial-meta .author {
    color: var(--text-secondary);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.main-title .subtitle {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.main-title .highlight-year {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, var(--color-red) 0%, var(--text-primary) 70%);
    -webkit-background-clip: text;
    background-clip: text;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 900px;
    line-height: 1.7;
    margin-bottom: 3.5rem;
}

/* Quick Stats Row */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.4) 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.3);
}

.stat-card.highlighted {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-color: rgba(239, 68, 68, 0.25);
}

.stat-card.highlighted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-red);
}

.stat-icon {
    font-size: 1.75rem;
    color: var(--color-blue-light);
    margin-bottom: 1rem;
}

.stat-card.highlighted .stat-icon {
    color: var(--color-red);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.stat-unit {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-red);
    margin-bottom: 0.75rem;
}

.stat-card:not(.highlighted) .stat-unit {
    color: var(--color-blue-light);
}

.stat-desc {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
}

/* ==========================================================================
   DATA VISUALIZATION / CHART DASHBOARD
   ========================================================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
}

.chart-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.chart-container h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    border-left: 3px solid var(--color-blue);
    padding-left: 0.75rem;
}

.chart-wrapper {
    position: relative;
    flex-grow: 1;
    height: 380px;
}

.highlights-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mini-highlight-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    transition: border-color 0.3s ease;
}

.mini-highlight-card:hover {
    border-color: rgba(255,255,255,0.15);
}

.accent-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.accent-tag.red {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--color-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.accent-tag.blue {
    background-color: rgba(37, 99, 235, 0.15);
    color: var(--color-blue-light);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.accent-tag.dark {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-highlight-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mini-highlight-card .big-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.mini-highlight-card .big-num .unit {
    font-size: 1.1rem;
    color: var(--color-red);
    font-weight: 600;
}

.mini-highlight-card:nth-child(2) .big-num .unit {
    color: var(--color-blue-light);
}

.mini-highlight-card:nth-child(3) .big-num .unit {
    color: var(--color-cyan);
}

.mini-highlight-card .desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   INTERACTIVE MAP SECTION
   ========================================================================== */
.map-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
    align-items: stretch;
}

.map-container {
    position: relative;
    padding: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 700px;
    touch-action: pan-y; /* Đảm bảo cử chỉ vuốt dọc không bị chặn trên bản đồ */
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-status {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blink {
    animation: blinker 1.5s linear infinite;
    color: var(--color-red);
}

@keyframes blinker {
    50% { opacity: 0; }
}

.map-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.legend-color {
    width: 12px;
    height: 6px;
    border-radius: 3px;
    display: inline-block;
}

.legend-color.metro { background-color: var(--color-green); }
.legend-color.highway { background-color: var(--color-gold); }
.legend-color.axis { background-color: var(--color-blue-light); }
.legend-color.bridge { background-color: var(--color-red); }

.svg-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(5, 10, 20, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.03);
    overflow: hidden;
}

#hanoi-svg {
    width: 100%;
    height: 100%;
    max-height: 620px;
    object-fit: contain;
}

/* SVG map styling elements */
.district {
    fill: rgba(30, 41, 59, 0.25);
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 1.5;
    transition: fill 0.3s ease, stroke 0.3s ease;
    cursor: pointer;
}

.district:hover {
    fill: rgba(30, 41, 59, 0.5);
    stroke: rgba(255, 255, 255, 0.15);
}

.lake-bg {
    fill: rgba(37, 99, 235, 0.12);
    stroke: rgba(37, 99, 235, 0.2);
    stroke-width: 1;
}

.map-label {
    fill: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    pointer-events: none;
    letter-spacing: 0.5px;
    opacity: 0.75;
}

.map-label.secondary {
    fill: var(--text-muted);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    opacity: 0.6;
}

/* Bridges nodes styling */
.bridge-node {
    fill: var(--color-red);
    stroke: var(--bg-primary);
    stroke-width: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bridge-node-west {
    fill: var(--color-cyan);
    stroke: var(--bg-primary);
    stroke-width: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bridge-node:hover, .bridge-node-west:hover {
    transform: scale(1.5);
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8));
}

/* Network Path Styling & Glow Classes */
.metro-line, .highway-path, .axis-path {
    transition: stroke-width 0.3s ease, filter 0.3s ease, stroke 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.metro-line:hover, .highway-path:hover, .axis-path:hover {
    stroke-width: 6.5px;
}

/* Specific glows based on state */
.metro-line.active {
    stroke: var(--color-green) !important;
    filter: drop-shadow(var(--glow-green));
    stroke-width: 6.5px;
}

.highway-path.active {
    stroke: var(--color-gold) !important;
    filter: drop-shadow(var(--glow-gold));
    stroke-width: 7.5px;
}

.axis-path.active {
    stroke: var(--color-blue-light) !important;
    filter: drop-shadow(var(--glow-blue));
    stroke-width: 7.5px;
}

.axis-path.highlight-path.active {
    stroke: var(--color-red) !important;
    filter: drop-shadow(var(--glow-red));
    stroke-width: 9px;
}

.map-bridges.active .bridge-node {
    fill: #ff4d4d;
    filter: drop-shadow(0 0 10px rgba(239,68,68,1));
    stroke: #fff;
    r: 9px;
}

.map-bridges.active .bridge-node-west {
    fill: var(--color-cyan);
    filter: drop-shadow(0 0 10px rgba(6,182,212,1));
    stroke: #fff;
    r: 8px;
}

/* Special Path Animation for flow */
.river-flow {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: flowAnim 10s linear infinite;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes flowAnim {
    to {
        stroke-dashoffset: 0;
    }
}

/* Map Floating Tooltip */
.map-tooltip {
    position: absolute;
    background: rgba(7, 15, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    pointer-events: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.map-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.tooltip-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-red);
}

.tooltip-capital {
    font-weight: 600;
    color: var(--color-gold);
    margin-top: 0.25rem;
}

/* ==========================================================================
   PROJECTS LIST (SIDEBAR) & CONTROLS
   ========================================================================== */
.projects-control {
    display: flex;
    flex-direction: column;
    height: 700px;
    overflow: hidden;
    touch-action: pan-y; /* Hỗ trợ vuốt dọc trên danh sách điều khiển */
}

.control-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.control-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.projects-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Sidebar Project Card Item */
.project-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.project-item.active {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: inset 0 0 10px rgba(37, 99, 235, 0.15);
}

/* Specific styling for super projects items in sidebar */
.project-item.super-accent {
    border-left: 4px solid var(--color-red);
    background: rgba(239, 68, 68, 0.03);
}

.project-item.super-accent.active {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.4);
}

.proj-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.project-item.active .proj-icon-box {
    background: var(--color-blue);
    color: var(--text-primary);
}

.project-item.super-accent.active .proj-icon-box {
    background: var(--color-red);
}

.proj-info {
    flex-grow: 1;
    min-width: 0;
}

.proj-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.proj-info .proj-meta-small {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.proj-meta-small .capital {
    font-weight: 600;
    color: var(--color-gold);
}

.project-item.active .proj-meta-small .capital {
    color: var(--text-primary);
}

/* ==========================================================================
   DETAILED PROJECTS GRID (BELOW THE MAP)
   ========================================================================== */
.detailed-projects-section {
    background-color: rgba(5, 10, 20, 0.3);
}

/* Container của danh sách card nằm ngang */
.detailed-projects-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Card dự án nằm ngang */
.project-horizontal-card {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 15, 28, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1.2fr 3.2fr 4fr 3.6fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-horizontal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: all 0.3s ease;
}

.project-horizontal-card:hover {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.project-horizontal-card:hover::before {
    background: linear-gradient(180deg, transparent, var(--color-blue-light), transparent);
}

/* Kiểu dáng cho Siêu Dự Án nằm ngang */
.project-horizontal-card.super-project-horizontal {
    border-color: rgba(239, 68, 68, 0.25);
    background: linear-gradient(90deg, rgba(30, 15, 20, 0.8) 0%, rgba(10, 10, 18, 0.9) 100%);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.05);
    padding-top: 2rem;
}

.project-horizontal-card.super-project-horizontal:hover {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
}

.project-horizontal-card.super-project-horizontal:hover::before {
    background: linear-gradient(180deg, transparent, var(--color-red), transparent);
}

.horizontal-super-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.5rem;
    border-bottom-left-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Số thứ tự nghệ thuật */
.horizontal-card-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.03) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding-right: 1.5rem;
}

.project-horizontal-card.super-project-horizontal .horizontal-card-number {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.5) 0%, rgba(239, 68, 68, 0.08) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Cột 2: Tiêu đề và Icon */
.horizontal-card-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.horizontal-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.project-horizontal-card.super-project-horizontal .horizontal-card-icon {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.15);
    color: var(--color-red);
}

.horizontal-card-title-area h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.horizontal-card-code {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

/* Cột 3: Chi tiết quy mô và mô tả */
.horizontal-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-row {
    font-size: 0.95rem;
    line-height: 1.4;
}

.detail-row .lbl {
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 0.5rem;
    display: inline-block;
    min-width: 70px;
}

.detail-row .val {
    color: var(--text-secondary);
}

/* Cột 4: Vốn đầu tư */
.horizontal-card-capital {
    text-align: right;
    border-left: 1px solid rgba(255,255,255,0.05);
    padding-left: 1.5rem;
}

.horizontal-card-capital .cap-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.horizontal-card-capital .cap-val {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1.1;
}

.horizontal-card-capital .cap-val .unit {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.project-horizontal-card.super-project-horizontal .cap-val {
    color: var(--color-red);
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

/* Mobile Responsive cho layout nằm ngang */
@media (max-width: 1024px) {
    .project-horizontal-card {
        grid-template-columns: 1fr 3fr;
        gap: 1.5rem;
    }
    .horizontal-card-details {
        grid-column: span 2;
    }
    .horizontal-card-capital {
        grid-column: span 2;
        text-align: left;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-top: 1rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .project-horizontal-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem;
    }
    .horizontal-card-number {
        border-right: none;
        padding-right: 0;
        text-align: left;
        font-size: 2.5rem;
    }
    .horizontal-card-details {
        grid-column: span 1;
    }
    .horizontal-card-capital {
        grid-column: span 1;
    }
}

/* ==========================================================================
   EDITORIAL WRITING SECTION (LONGFORM ESSAY)
   ========================================================================== */
.editorial-section {
    background-color: var(--bg-secondary);
    position: relative;
}

.editorial-divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-red);
    margin: 0 auto 3rem;
}

.editorial-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 4rem;
    text-transform: uppercase;
    color: var(--text-primary);
}

.editorial-content {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

.editorial-content p {
    margin-bottom: 2rem;
}

/* Dropcap */
.dropcap {
    float: left;
    font-family: var(--font-heading);
    font-size: 4.8rem;
    line-height: 0.85;
    font-weight: 800;
    padding-right: 0.75rem;
    margin-top: 0.15rem;
    color: var(--color-red);
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.editorial-content blockquote {
    border-left: 4px solid var(--color-blue);
    padding: 1.5rem 2rem;
    margin: 3rem 0;
    background-color: rgba(15, 23, 42, 0.4);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    border-radius: 0 8px 8px 0;
}

.quote-author {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    font-style: normal;
    margin-top: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.signature {
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: right;
}

.signature strong {
    color: var(--text-primary);
    font-family: var(--font-heading);
}

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

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background-color: #030712;
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo .year {
    color: var(--color-red);
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 350px;
}

.footer-source h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-blue-light);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.footer-source ul {
    list-style: none;
}

.footer-source li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.25rem;
}

.footer-source li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--color-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .main-title {
        font-size: 2.8rem;
    }
    
    .dashboard-grid, .map-layout {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 500px;
    }
    
    .projects-control {
        height: 400px;
    }

    .svg-wrapper {
        height: 380px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .header {
        padding: 4rem 0 2.5rem;
    }

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

    .section {
        padding: 4rem 0;
    }

    .map-container {
        height: 420px;
    }

    .projects-control {
        height: 320px;
    }

    .svg-wrapper {
        height: 300px;
    }

    .chart-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 2.2rem;
    }

    .map-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
