/* style.css - eMagazine Thiết kế Cao cấp */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #F8F8F5; /* Trắng ngà */
    --bg-secondary: #F1F1EC; /* Trắng ngà đậm hơn chút làm nền bổ trợ */
    --text-primary: #1A2E22; /* Xanh đen trà đậm */
    --text-muted: #5A6E62; /* Xám xanh trà */
    --color-tea-dark: #2E7D32; /* Xanh lá trà */
    --color-tea-light: #4CAF50; /* Xanh ngọc */
    --color-gold: #C9A227; /* Vàng đồng */
    --color-gold-light: #E0C068;
    --color-warning-bg: #FEF2F2; /* Đỏ nhạt cho cảnh báo */
    --color-warning-border: #FCA5A5;
    --color-warning-text: #991B1B;
    
    --font-editorial: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* Typography Selection & Base Sizes */
p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: justify;
}

p::selection, h1::selection, h2::selection, span::selection, div::selection {
    background-color: rgba(46, 125, 50, 0.2);
    color: var(--color-tea-dark);
}

/* 12-Column Layout Containers - Tăng padding từ 2rem lên 4rem để lề rộng rãi hơn */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* eMagazine Header - Minimal & Elegant */
header.magazine-top {
    border-bottom: 1px solid rgba(46, 125, 50, 0.15);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(248, 248, 245, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.brand-title {
    font-family: var(--font-editorial);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-tea-dark);
}

.issue-info {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Title Section - Advanced typography layered layout */
.title-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 4rem 4rem 4rem;
    overflow: hidden;
}

.title-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.contour-hills {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 110%;
    height: auto;
    opacity: 0.15;
    fill: none;
    stroke: var(--color-tea-dark);
    stroke-width: 1.5;
    animation: swayHills 10s ease-in-out infinite alternate;
}

.leaf-overlay {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 250px;
    height: 250px;
    opacity: 0.1;
    fill: var(--color-tea-dark);
    transform: rotate(25deg);
}

.leaf-overlay-2 {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 180px;
    height: 180px;
    opacity: 0.08;
    fill: var(--color-tea-dark);
    transform: rotate(-45deg);
}

.qr-pattern {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    opacity: 0.05;
}

.ip-icon-bg {
    position: absolute;
    font-family: var(--font-sans);
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-tea-dark);
    opacity: 0.03;
    pointer-events: none;
}

.ip-r-bg {
    top: 30%;
    right: 20%;
}

.ip-tm-bg {
    bottom: 30%;
    left: 25%;
}

.title-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.title-row {
    width: 100%;
    display: flex;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

.title-row.center {
    justify-content: center;
}

.title-row.right {
    justify-content: flex-end;
}

.title-small {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-tea-dark);
    margin-bottom: 1.5rem;
}

.title-huge-serif {
    font-family: var(--font-editorial);
    font-size: 6.5rem;
    font-weight: 700;
    line-height: 0.9;
    color: var(--text-primary);
    position: relative;
}

.title-huge-sans {
    font-family: var(--font-sans);
    font-size: 6rem;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--color-tea-dark);
    position: relative;
}

.title-huge-sans.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--color-tea-dark);
}

.title-huge-serif.gold {
    color: var(--color-gold);
}

/* Decorative dot-line connection in Title */
.title-connection-line {
    position: absolute;
    width: 180px;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--color-gold) 0, var(--color-gold) 4px, transparent 4px, transparent 8px);
    bottom: 20%;
    left: -100px;
    opacity: 0.7;
}

/* Sapo Section */
.sapo-section {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: -3rem auto 6rem auto;
    padding: 0 2rem;
}

.sapo-box {
    background: rgba(248, 248, 245, 0.75);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-top: 3px solid var(--color-tea-dark);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(26, 46, 34, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.sapo-box:hover {
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: 0 25px 50px rgba(26, 46, 34, 0.08);
}

.sapo-text {
    font-family: var(--font-editorial);
    font-size: 1.45rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: justify;
    margin-bottom: 0;
}

.sapo-decor {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}

.sapo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-gold);
}

.sapo-dot:nth-child(2) {
    background-color: var(--color-tea-dark);
    width: 24px;
    border-radius: 3px;
}

/* Scroll down indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.mouse-scroll {
    width: 20px;
    height: 35px;
    border: 1.5px solid var(--text-muted);
    border-radius: 10px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 1.5px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

/* Main Content Structure - 2 Columns (Left Sticky Title, Right Text & Infographic) */
.section-wrapper {
    position: relative;
    padding: 8rem 0;
    border-top: 1px solid rgba(46, 125, 50, 0.1);
}

.section-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 5rem;
}

/* Left Sticky Area */
.sticky-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    padding-top: 1rem;
    padding-left: 1rem; /* Tạo độ lệch nhẹ từ lề trái */
    z-index: 10;
}

.section-num {
    font-family: var(--font-sans);
    font-size: 7.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(46, 125, 50, 0.08);
    position: absolute;
    top: -2.5rem;
    left: -0.5rem;
    z-index: -1;
}

.section-heading-editorial {
    font-family: var(--font-editorial);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-tea-dark);
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 1.5rem;
}

.section-heading-sans {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

/* Right Content Area */
.main-article-content {
    max-width: 780px;
}

/* Dropcap */
.main-article-content p:first-of-type::first-letter {
    font-family: var(--font-editorial);
    font-size: 4.8rem;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    padding-right: 0.75rem;
    padding-top: 0.2rem;
    color: var(--color-tea-dark);
}

/* Timeline/Divider Line */
.timeline-dot-path {
    width: 100%;
    height: 50px;
    margin: 3rem 0;
    opacity: 0.3;
}

/* Pull Quotes */
.pullquote-card {
    position: relative;
    background-color: var(--bg-secondary);
    border-left: 4px solid var(--color-gold);
    border-radius: 0 16px 16px 0;
    padding: 3rem;
    margin: 4rem 0;
    overflow: hidden;
}

.pullquote-card::before {
    content: "“";
    position: absolute;
    top: -1.5rem;
    left: 1rem;
    font-family: var(--font-editorial);
    font-size: 10rem;
    color: rgba(46, 125, 50, 0.05);
    line-height: 1;
}

.pullquote-text {
    font-family: var(--font-editorial);
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-tea-dark);
    position: relative;
    z-index: 2;
    text-align: left;
}

.texture-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

/* Warning Box */
.warning-box {
    background-color: var(--color-warning-bg);
    border: 1px solid var(--color-warning-border);
    border-left: 5px solid var(--color-warning-text);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(153, 27, 27, 0.02);
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.warning-icon {
    font-size: 1.75rem;
    color: var(--color-warning-text);
}

.warning-title {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-warning-text);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.warning-list {
    list-style: none;
}

.warning-item {
    font-family: var(--font-sans);
    font-size: 1.25rem; /* Tăng cỡ chữ lên tối thiểu 20px (~1.25rem) */
    font-weight: 600;
    color: #4A0404;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(153, 27, 27, 0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-item::before {
    content: "●";
    color: var(--color-warning-text);
    font-size: 0.8rem;
}

.warning-item:last-child {
    border-bottom: none;
}

/* INFOGRAPHICS GENERAL DESIGN */
.infographic-wrapper {
    margin: 5rem 0;
    background: #FFFFFF;
    border: 1px solid rgba(46, 125, 50, 0.08);
    border-radius: 20px;
    padding: 3.5rem 3rem; /* Tăng padding để tạo khoảng trống thoáng hơn ở các lề */
    box-shadow: 0 30px 60px rgba(26, 46, 34, 0.03);
    transition: var(--transition-smooth);
    position: relative;
}

@media (min-width: 1200px) {
    .infographic-wrapper {
        width: calc(100% + 140px);
        margin-left: -70px;
    }
}

.infographic-wrapper:hover {
    box-shadow: 0 35px 70px rgba(26, 46, 34, 0.06);
    border-color: rgba(46, 125, 50, 0.15);
}

.infographic-title {
    font-family: var(--font-editorial);
    font-size: 2.2rem; /* Tăng cỡ chữ tiêu đề */
    font-weight: 700;
    color: var(--color-tea-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.infographic-subtitle {
    font-family: var(--font-sans);
    font-size: 1.2rem; /* Tăng cỡ chữ phụ */
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
    text-align: center;
}

/* Infographic 1: Flow SVG & Stat Box layout */
.info-grid-1 {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.flow-svg-container {
    width: 100%;
}

.stat-box-container {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    padding: 2.5rem; /* Tăng padding */
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-chart-wrapper {
    width: 90px;
    height: 90px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-circle-svg {
    transform: rotate(-90deg);
}

.stat-circle-bg {
    fill: none;
    stroke: rgba(46, 125, 50, 0.1);
    stroke-width: 7;
}

.stat-circle-val {
    fill: none;
    stroke: var(--color-tea-dark);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-circle-text {
    position: absolute;
    font-family: var(--font-sans);
    font-size: 1.25rem; /* Tăng lên 20px */
    font-weight: 700;
    color: var(--color-tea-dark);
}

.stat-info {
    flex: 1;
}

.stat-num-title {
    font-family: var(--font-sans);
    font-size: 2.2rem; /* Tăng cỡ chữ số liệu */
    font-weight: 700;
    color: var(--color-tea-dark);
    line-height: 1.2;
}

.stat-num-title.gold {
    color: var(--color-gold);
}

.stat-desc {
    font-family: var(--font-sans);
    font-size: 1.25rem; /* Tăng lên tối thiểu 20px */
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Linear progress bar for stats */
.stat-bar-container {
    width: 100%;
}

.stat-bar-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-sans);
    font-size: 1.25rem; /* Tăng lên tối thiểu 20px */
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.stat-bar-track {
    width: 100%;
    height: 10px;
    background-color: rgba(46, 125, 50, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.stat-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--color-tea-light), var(--color-tea-dark));
    border-radius: 5px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sparkline graph in stat box */
.sparkline-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sparkline-svg {
    width: 130px;
    height: 45px;
}

.sparkline-path {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 2.5s ease-out;
}

/* Flow SVG Interactive Styling */
.flow-node {
    cursor: pointer;
}

.flow-node rect, .flow-node circle {
    fill: #FFFFFF;
    stroke: rgba(46, 125, 50, 0.2);
    stroke-width: 1.8;
    transition: var(--transition-fast);
}

.flow-node:hover rect, .flow-node:hover circle {
    stroke: var(--color-tea-dark);
    filter: drop-shadow(0 8px 16px rgba(46, 125, 50, 0.15));
}

.flow-node.center rect {
    fill: var(--color-gold);
    stroke: var(--color-gold);
}

.flow-node.center:hover rect {
    fill: var(--color-tea-dark);
    stroke: var(--color-tea-dark);
}

.flow-node.center text {
    fill: #FFFFFF;
}

.flow-node text {
    font-family: var(--font-sans);
    font-weight: 700;
    fill: var(--text-primary);
    transition: var(--transition-fast);
}

.flow-node:hover text {
    fill: var(--color-tea-dark);
}

.flow-node.center:hover text {
    fill: #FFFFFF;
}

.flow-link {
    fill: none;
    stroke: rgba(46, 125, 50, 0.15);
    stroke-width: 2.5;
    stroke-dasharray: 5, 5;
    animation: flowDash 30s linear infinite;
    transition: var(--transition-fast);
}

.flow-node:hover ~ .flow-link, .flow-link:hover {
    stroke: var(--color-tea-light);
    stroke-width: 3.5;
}

/* Infographic 2: Value Chain & Stats card grid */
.info-layout-2 {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.value-chain-svg-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.value-chain-node {
    cursor: pointer;
}

.value-chain-node polygon {
    fill: #FFFFFF;
    stroke: rgba(46, 125, 50, 0.2);
    stroke-width: 1.8;
    transition: var(--transition-fast);
}

.value-chain-node:hover polygon {
    fill: rgba(46, 125, 50, 0.05);
    stroke: var(--color-tea-dark);
    filter: drop-shadow(0 5px 10px rgba(46, 125, 50, 0.1));
}

.value-chain-node text {
    font-family: var(--font-sans);
    font-size: 20px; /* Tăng cỡ chữ lên tối thiểu 20px */
    font-weight: 600;
    fill: var(--text-primary);
    transition: var(--transition-fast);
}

.value-chain-node:hover text {
    fill: var(--color-tea-dark);
}

.info-sub-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
}

.sub-title-box {
    font-family: var(--font-sans);
    font-size: 1.5rem; /* Tăng từ 1.15rem lên 1.5rem để hài hòa */
    font-weight: 700;
    color: var(--color-tea-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.stats-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.75rem;
    border: 1px solid rgba(46, 125, 50, 0.05);
    transition: var(--transition-smooth);
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 125, 50, 0.15);
    box-shadow: 0 10px 20px rgba(26, 46, 34, 0.05);
}

.stats-card-icon {
    font-size: 1.85rem;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.stats-card-value {
    font-family: var(--font-sans);
    font-size: 1.85rem; /* Tăng cỡ chữ */
    font-weight: 700;
    color: var(--color-tea-dark);
    margin-bottom: 0.35rem;
}

.stats-card-label {
    font-family: var(--font-sans);
    font-size: 1.25rem; /* Tăng cỡ chữ lên tối thiểu 20px */
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* IP Checklist */
.ip-checklist-wrapper {
    background-color: #FAFAF7;
    border: 1px dashed rgba(46, 125, 50, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
}

.ip-icons-row {
    display: flex;
    justify-content: space-around;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    margin-bottom: 2rem;
}

.ip-icon-svg-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.ip-icon-circle {
    width: 60px; /* Tăng kích thước icon */
    height: 60px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1.8px solid rgba(46, 125, 50, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.ip-icon-circle svg {
    width: 28px;
    height: 28px;
    fill: var(--color-tea-dark);
    transition: var(--transition-fast);
}

.ip-icon-svg-wrapper:hover .ip-icon-circle {
    border-color: var(--color-gold);
    background-color: var(--color-tea-dark);
}

.ip-icon-svg-wrapper:hover svg {
    fill: #FFFFFF;
}

.ip-icon-label {
    font-family: var(--font-sans);
    font-size: 1.25rem; /* Tăng cỡ chữ lên 20px */
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem; /* Tăng khoảng cách checklist */
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 1.25rem; /* Tăng cỡ chữ lên tối thiểu 20px */
    font-weight: 600;
    color: var(--text-primary);
}

.checklist-check-icon {
    color: var(--color-tea-dark);
    font-weight: bold;
    font-size: 1.35rem;
}

/* Infographic 3: Diamond Model */
.info-grid-3 {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.diamond-container {
    width: 100%;
}

.diamond-layer {
    cursor: pointer;
}

.diamond-layer polygon {
    fill: #FFFFFF;
    stroke: rgba(46, 125, 50, 0.2);
    stroke-width: 1.8;
    transition: var(--transition-smooth);
}

.diamond-layer:hover polygon {
    stroke: var(--color-gold);
    filter: drop-shadow(0 15px 25px rgba(201, 162, 39, 0.15));
}

.diamond-layer.l1 polygon {
    fill: rgba(46, 125, 50, 0.03);
}
.diamond-layer.l2 polygon {
    fill: rgba(46, 125, 50, 0.08);
}
.diamond-layer.l3 polygon {
    fill: rgba(46, 125, 50, 0.15);
}
.diamond-layer.l4 polygon {
    fill: var(--color-tea-dark);
}

.diamond-layer.l4 text {
    fill: #FFFFFF !important;
}

.diamond-layer text {
    font-family: var(--font-sans);
    font-weight: 700;
    fill: var(--color-tea-dark);
    transition: var(--transition-fast);
}

.diamond-layer:hover text {
    fill: var(--color-gold);
}

.diamond-layer.l4:hover text {
    fill: #FFFFFF;
}

.diamond-bg-icons path, .diamond-bg-icons circle {
    transition: var(--transition-fast);
}

.diamond-bg-icons g:hover path, .diamond-bg-icons g:hover circle {
    stroke: var(--color-gold);
}

.diamond-bg-icons text {
    font-family: var(--font-sans);
    font-weight: 700;
    fill: var(--text-primary); /* Đổi màu chữ đậm hơn để dễ đọc */
}

.strategy-checklist-wrapper {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(46, 125, 50, 0.05);
    width: 100%;
}

.strategy-checklist-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 3rem;
}

.strategy-checklist-item {
    font-family: var(--font-sans);
    font-size: 1.25rem; /* Tăng cỡ chữ lên tối thiểu 20px */
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(46, 125, 50, 0.05);
}

.strategy-checklist-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.strategy-check-circle {
    width: 28px; /* Tăng kích cỡ hình tròn tick */
    height: 28px;
    border-radius: 50%;
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--color-tea-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: bold;
}

/* Footer Section - Premium Minimalist */
footer.magazine-footer {
    background-color: #1A2E22; /* Xanh trà cực đậm */
    color: #FAFAF7;
    padding: 6rem 0;
    margin-top: 8rem;
    position: relative;
    overflow: hidden;
}

.footer-decor-leaf {
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 300px;
    opacity: 0.04;
    fill: #FFFFFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(250, 250, 247, 0.1);
    margin-bottom: 3rem;
}

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

.author-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(250, 250, 247, 0.5);
    margin-bottom: 0.5rem;
}

.author-name {
    font-family: var(--font-editorial);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1.1;
}

.footer-icons-row {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-icon-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(250, 250, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-icon-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.footer-icon-item svg {
    width: 18px;
    height: 18px;
    fill: rgba(250, 250, 247, 0.7);
    transition: var(--transition-fast);
}

.footer-icon-item:hover svg {
    fill: var(--color-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(250, 250, 247, 0.4);
    letter-spacing: 0.05em;
}

.footer-bottom a {
    color: rgba(250, 250, 247, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--color-gold);
}

/* Animations Definitions & Utility classes */
@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

@keyframes swayHills {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(5px) scale(1.02); }
}

@keyframes flowDash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Fade-in scroll animations using JS IntersectionObserver */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-up.active {
    opacity: 1;
    transform: scale(1);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .container {
        padding: 0 3rem; /* Điều chỉnh lề ở các màn hình hẹp hơn */
    }
    
    .section-grid {
        gap: 3rem;
        grid-template-columns: 280px 1fr;
    }
    
    .title-huge-serif {
        font-size: 5rem;
    }
    
    .title-huge-sans {
        font-size: 4.8rem;
    }
}

@media (max-width: 991px) {
    .container {
        padding: 0 2.5rem;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sticky-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
        padding-top: 0;
        padding-left: 0;
    }
    
    .section-heading-editorial {
        border-bottom: 2px solid var(--color-gold);
        padding-bottom: 1rem;
        display: inline-block;
        width: auto;
    }
    
    .section-num {
        top: -1.5rem;
        left: 0;
        font-size: 5rem;
    }
    
    .info-grid-1 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .title-huge-serif {
        font-size: 4.2rem;
    }
    
    .title-huge-sans {
        font-size: 4rem;
    }
    
    .title-connection-line {
        display: none;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 1.5rem; /* Giảm nhẹ lề để tăng diện tích đọc trên mobile */
    }

    p {
        font-size: 1.05rem;
        line-height: 1.75;
    }
    
    .title-section {
        padding-top: 5rem;
    }
    
    .title-huge-serif {
        font-size: 3.2rem;
    }
    
    .title-huge-sans {
        font-size: 3rem;
    }
    
    .title-small {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }
    
    .sapo-box {
        padding: 2rem 1.5rem;
    }
    
    .sapo-text {
        font-size: 1.25rem;
    }
    
    .pullquote-card {
        padding: 2rem;
        margin: 2.5rem 0;
    }
    
    .pullquote-text {
        font-size: 1.45rem;
    }
    
    .infographic-wrapper {
        padding: 2rem 1.25rem;
    }
    
    .info-sub-grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .stats-card-grid {
        grid-template-columns: 1fr;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .ip-icons-row {
        flex-wrap: wrap; /* Cho phép tự động xuống dòng trên mobile siêu nhỏ */
        gap: 1.5rem 1rem;
        justify-content: center;
    }
    
    .strategy-checklist-list {
        grid-template-columns: 1fr; /* Checklist xếp dọc trên mobile */
        gap: 1rem;
    }
    
    .warning-box {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-icons-row {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Tối ưu hóa cho điện thoại thông minh màn hình siêu nhỏ */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem; /* Lề 16px tối ưu nhất cho thiết bị di động nhỏ */
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .title-huge-serif {
        font-size: 2.6rem;
    }

    .title-huge-sans {
        font-size: 2.4rem;
    }

    .sapo-box {
        padding: 1.5rem 1rem;
    }

    .sapo-text {
        font-size: 1.15rem;
    }

    .author-name {
        font-size: 2rem;
    }
}

