:root {
    --color-primary: #937107;
    --color-text-body: #222222;
    --color-bg: #ffffff;
    
    --font-body: 'Noto Serif', serif;
    --font-heading: 'Playfair Display', serif;
    --font-ui: 'Roboto', sans-serif;

    --width-content: 660px;
    --spacing-text: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--color-bg);
    color: var(--color-text-body);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    overflow-x: hidden;
}

.title-wrapper { padding: 80px 20px 60px 20px; text-align: center; max-width: 1100px; margin: 0 auto; }

.main-title {
    font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900;
    color: #111; line-height: 1.2; margin-bottom: 30px;
}

.highlight-title { 
    color: var(--color-primary); display: block; 
    font-size: 0.7em; font-weight: 700; margin-bottom: 10px; font-style: normal;
}

.article-body { width: 100%; max-width: var(--width-content); margin: 0 auto; padding: 0 15px; position: relative; z-index: 1; }

p { margin-bottom: var(--spacing-text); text-align: justify; }
.sapo { font-weight: 700; font-size: 22px; margin-bottom: 40px; }
.dropcap {
    float: left; font-family: var(--font-heading); font-size: 5.8rem;
    line-height: 0.8; font-weight: 900; color: var(--color-primary);
    margin-right: 16px; margin-top: 5px;
}
i { font-style: italic; } 

.media-container {
    width: 100%; max-width: 660px; 
    margin: 0 auto var(--spacing-text) auto; 
    position: relative; display: flex; justify-content: center;
    flex-direction: column; 
}
.media-img { width: 100%; height: auto; display: block; object-fit: cover; }
.media-video { width: 100%; height: auto; display: block; }

.caption {
    font-family: var(--font-ui); font-size: 14px; color: #777;
    font-style: italic; text-align: center; 
    margin-top: 10px; 
    display: block;
}

.caption:empty { display: none; margin-top: 0; }
.caption:empty:focus { display: block; }
.caption:empty:focus:before { content: "Nhập chú thích..."; color: #ccc; }

.full-width-media {
    width: 100vw; position: relative; left: 50%; margin-left: -50vw;
    margin-bottom: var(--spacing-text);
}

.slider-wrapper {
    width: 100vw; position: relative; left: 50%; margin-left: -50vw;
    margin-bottom: var(--spacing-text);
    overflow: hidden;
    background: transparent; 
    padding: 40px 0; 
}

.slider-container {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slider-item {
    width: 60vw; 
    flex-shrink: 0;
    margin: 0 10px; 
    position: relative;
    transition: all 0.5s ease;
    opacity: 0.5;
    transform: scale(0.85); 
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    overflow: hidden;
    max-width: 640px;
    aspect-ratio: 640 / 845;
}

@media (max-width: 768px) {
    .slider-item { 
        width: 85vw; 
        aspect-ratio: 640 / 845; 
    }
}

.slider-item.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 10;
}

.slider-item img {
    width: 100%; height: 100%; 
    display: block; 
    object-fit: fill;
}

.slider-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.8); color: #333;
    border: none; border-radius: 50%; cursor: pointer;
    z-index: 20; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background 0.3s;
}
.slider-nav-btn:hover { background: #fff; color: var(--color-primary); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    display: flex; justify-content: center; gap: 10px; 
    margin-top: 20px;
}
.slider-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #ccc; cursor: pointer; transition: 0.3s;
}
.slider-dot.active { background: var(--color-primary); transform: scale(1.2); }

.align-center { margin-left: auto; margin-right: auto; }
.align-left { margin-right: auto; margin-left: 0; }
.align-right { margin-left: auto; margin-right: 0; }
.cms-row { display: flex; gap: 20px; margin-bottom: var(--spacing-text); width: 100%; }
.cms-col { flex: 1; min-width: 0; }

.stats-wrapper {
    background: rgba(255,255,255,0.9); 
    border-top: 1px solid #eee; border-bottom: 1px solid #eee;
    padding: 60px 0; margin: 60px 0; width: 100vw; position: relative; left: 50%; margin-left: -50vw;
}
.stats-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 30px;
    display: flex; flex-direction: column; align-items: center;
}
.stats-title {
    font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900;
    color: var(--color-primary); margin-bottom: 40px; text-align: center;
}
.stats-grid { 
    display: grid; grid-template-columns: repeat(3, 1fr); 
    gap: 30px; width: 100%; margin-bottom: 40px;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-card {
    background: #fff; padding: 30px 20px; text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.05); border-radius: 4px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stat-num {
    font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900;
    color: var(--color-primary); line-height: 1; margin-bottom: 10px; display: block;
}
.stat-desc {
    font-family: var(--font-ui); font-size: 15px; 
    color: #444; font-weight: 400; line-height: 1.4;
}
.stats-footer-text {
    font-family: var(--font-ui); font-size: 18px; color: #333;
    text-align: center; max-width: 800px; line-height: 1.6;
}

.credit-wrapper-soha {
    max-width: 660px; margin: 60px auto 40px auto;
    border-left: 3px solid var(--color-primary); padding: 20px;
    font-family: var(--font-ui); background: #f9f9f9; 
}
.credit-row {
    display: grid; grid-template-columns: 120px 1fr;
    margin-bottom: 8px; align-items: baseline; font-size: 16px;
}
.credit-row:last-child { margin-bottom: 0; }
.credit-label { font-weight: 700; text-transform: uppercase; color: #666; font-size: 14px; }
.credit-value { color: #222; font-weight: 500; }
.credit-link-btn { font-size: 12px; margin-left: 5px; color: var(--color-primary); cursor: pointer; border:none; background:none; }

.cms-cover-wrapper {
    margin-top: 0;
    width: 100%; height: auto; min-height: 50vh; background: #000;
}

.dual-img-breakout {
    width: 100vw; position: relative; left: 50%; margin-left: -50vw;
    display: flex; justify-content: center;
    margin-bottom: var(--spacing-text);
    padding: 0 10px;
}

.dual-img-grid {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 1100px;
    justify-content: center;
}
.dual-img-item {
    flex: 1;
    aspect-ratio: 640 / 845;
    position: relative;
    background: #eee;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}
.dual-img-item:hover {
    transform: scale(1.01);
}
.dual-img-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}
@media (max-width: 600px) {
    .dual-img-grid { flex-direction: column; align-items: center; }
    .dual-img-item { width: 100%; max-width: 640px; }
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-modal.active {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }