/* ==========================================================================
   CÔNG TY CỔ PHẦN THỦY ĐIỆN BẮC HÀ (BHHC) - CỔNG THÔNG TIN TIN TỨC & SỰ KIỆN
   Theme: Pure Ocean Blue & Corporate Clean White (#0A4D68, #0077B6, #0096C7, #0A2647)
   ========================================================================== */

/* 1. CSS VARIABLES & SYSTEM RESET */
:root {
    --primary-blue: #0A4D68;       /* Xanh biển đậm chủ đạo */
    --royal-blue: #0077B6;         /* Xanh dương tươi sáng */
    --accent-cyan: #0096C7;        /* Xanh ngọc cyan */
    --sky-light: #EBF4F6;          /* Xanh nhạt nền */
    --ocean-deep: #0A2647;         /* Xanh thẫm thương hiệu */
    --cyan-neon: #05BFDB;
    
    /* Backgrounds */
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-glass-nav: rgba(255, 255, 255, 0.96);
    --bg-dark-glass: rgba(10, 77, 104, 0.85);

    /* Text Colors */
    --text-heading: #0A2647;
    --text-main: #1E293B;
    --text-muted: #475569;
    --text-dim: #64748B;
    --text-pure: #FFFFFF;

    /* Borders & Shadows */
    --border-subtle: #E2E8F0;
    --border-light: #EDF2F7;
    --border-accent: rgba(0, 119, 182, 0.3);
    --shadow-sm: 0 2px 8px rgba(10, 38, 71, 0.05);
    --shadow-md: 0 6px 20px rgba(10, 38, 71, 0.08);
    --shadow-lg: 0 12px 36px rgba(10, 38, 71, 0.12);
    --shadow-hover: 0 16px 40px rgba(0, 119, 182, 0.16);

    /* Typography */
    --font-heading: 'Montserrat', 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
}

.gradient-text {
    background: linear-gradient(135deg, #0077B6 0%, #0096C7 50%, #05BFDB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan { color: #0096C7 !important; }
.text-primary { color: #0A4D68 !important; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* 2. TOPBAR (DEEP OCEAN BLUE) */
.topbar {
    background-color: #0A4D68;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.82rem;
    padding: 9px 0;
    position: relative;
    z-index: 1001;
    color: #FFFFFF;
    box-shadow: 0 2px 12px rgba(10, 38, 71, 0.15);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    font-weight: 500;
}

.topbar-item strong {
    color: #FFFFFF;
    font-weight: 700;
}

.topbar-item i {
    color: #05BFDB !important;
    font-size: 0.88rem;
    filter: drop-shadow(0 0 6px rgba(5, 191, 219, 0.5));
}

.topbar-search-form {
    display: flex;
    align-items: center;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 3px 10px 3px 14px;
    gap: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-input-wrap:focus-within {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.search-icon {
    color: #FFFFFF;
    font-size: 0.78rem;
    opacity: 0.9;
}

.topbar-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    width: 180px;
    transition: width 0.3s ease;
}

.topbar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.76rem;
}

.topbar-search-input:focus {
    width: 220px;
}

.search-submit-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 0.76rem;
    cursor: pointer;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

.search-submit-btn:hover {
    color: #05BFDB;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(2px);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switch .sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.lang-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.78rem;
    opacity: 0.75;
    transition: all 0.2s;
}

.lang-btn.active, .lang-btn:hover {
    opacity: 1;
    color: #05BFDB;
}

/* 3. MAIN HEADER & GLASS NAVIGATION */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.35s ease;
    padding: 12px 0;
}

.glass-nav {
    background: var(--bg-glass-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 77, 104, 0.12);
    box-shadow: 0 4px 25px rgba(10, 38, 71, 0.08);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(10, 77, 104, 0.18);
    box-shadow: 0 8px 30px rgba(10, 38, 71, 0.12);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(10, 77, 104, 0.1);
    box-shadow: 0 4px 15px rgba(10, 77, 104, 0.08);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.logo-box:hover .logo-img-wrapper {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.25);
}

.bhhc-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue);
    line-height: 1.15;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--royal-blue);
    margin-top: 4px;
    text-transform: uppercase;
}

/* Nav Links */
.desktop-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #0A2647;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--royal-blue);
    background: rgba(0, 119, 182, 0.06);
}

.nav-link.active {
    color: var(--royal-blue);
    background: rgba(0, 119, 182, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--royal-blue);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-glow-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0A4D68 0%, #0077B6 100%);
    color: #FFFFFF;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(10, 77, 104, 0.3);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-glow-cta:hover {
    background: linear-gradient(135deg, #0077B6 0%, #0096C7 100%);
    box-shadow: 0 6px 24px rgba(0, 119, 182, 0.5);
    transform: translateY(-2px);
    color: #FFFFFF;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-btn span {
    width: 100%;
    height: 2.5px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 4. MOBILE DRAWER */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #FFFFFF;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    border-left: 1px solid var(--border-subtle);
    z-index: 2000;
    padding: 24px;
    transition: right 0.35s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open { right: 0; }

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.logo-drawer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img-wrapper-drawer {
    padding: 4px;
    border-radius: 6px;
    background: #F1F5F9;
}

.bhhc-logo-drawer {
    height: 30px;
    width: auto;
}

.logo-main-drawer {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.logo-sub-drawer {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--royal-blue);
}

.close-drawer-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.6rem;
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mob-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mob-link:hover, .mob-link.active {
    background: rgba(0, 119, 182, 0.08);
    color: var(--royal-blue);
}

.btn-drawer-cta {
    margin-top: 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--royal-blue));
    color: #FFFFFF !important;
    text-align: center;
    border-radius: 6px;
    padding: 10px !important;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 38, 71, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1900;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 5. SUBPAGE STATIC HERO (DỊCH GỌN XUỐNG GÓC DƯỚI BÊN TRÁI - ĐỒNG BỘ ẢNH 1) */
.subpage-hero {
    position: relative;
    background-color: #0A2647;
    background-image: url('AnhPoster/AnhPoster.JPG');
    background-size: cover;
    background-position: 50% 60%;
    background-repeat: no-repeat;
    min-height: 450px;
    padding: 150px 0 45px;
    display: flex;
    align-items: flex-end;
    border-bottom: 4px solid var(--accent-cyan);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 38, 71, 0.15);
}

.subpage-hero::before {
    display: none;
}

.subpage-hero::after {
    display: none;
}

.subpage-hero .container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
}

.subpage-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.subpage-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 38, 71, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
    width: fit-content;
}

.subpage-breadcrumb a {
    color: #05BFDB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.subpage-breadcrumb a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.subpage-breadcrumb .crumb-sep {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.subpage-breadcrumb .crumb-current {
    color: #FFFFFF;
    font-weight: 600;
}

.subpage-title {
    font-family: var(--font-heading);
    font-size: 2.7rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.95);
    display: block;
}

.subpage-subtitle {
    font-size: 1.05rem;
    color: #38BDF8;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* 6. STICKY SUBPAGE QUICK FILTER & SEARCH BAR */
.news-filter-bar {
    position: sticky;
    top: 72px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(10, 38, 71, 0.06);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.news-filter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.news-category-list {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
}

.news-category-list::-webkit-scrollbar {
    display: none;
}

.category-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F1F5F9;
    color: var(--text-muted);
    border: 1px solid transparent;
    padding: 9px 18px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s var(--ease-out);
}

.category-tab-btn i {
    font-size: 0.85rem;
    color: var(--royal-blue);
    transition: transform 0.2s ease;
}

.category-tab-btn:hover {
    background: #E2E8F0;
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.category-tab-btn.active {
    background: linear-gradient(135deg, #0A4D68 0%, #0077B6 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.3);
}

.category-tab-btn.active i {
    color: #05BFDB;
}

/* In-Page Quick Filter Search */
.news-filter-search {
    position: relative;
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
}

.news-filter-search-input {
    width: 100%;
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: 25px;
    padding: 9px 38px 9px 16px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-heading);
    outline: none;
    transition: all 0.25s ease;
}

.news-filter-search-input:focus {
    background: #FFFFFF;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.news-filter-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.9rem;
    pointer-events: none;
}

.news-filter-search-clear {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 0.85rem;
    display: none;
}

.news-filter-search-clear:hover {
    color: #EF4444;
}

.search-highlight {
    background: #FEF08A;
    color: #0A2647;
    font-weight: 800;
    border-radius: 3px;
    padding: 1px 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 7. SPOTLIGHT FEATURED NEWS SECTION */
.news-spotlight-section {
    padding: 48px 0 32px;
    position: relative;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
}

/* Major Spotlight Big Card */
.spotlight-lead-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.spotlight-lead-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.spotlight-thumb-wrap {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.spotlight-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.spotlight-lead-card:hover .spotlight-thumb-wrap img {
    transform: scale(1.05);
}

.spotlight-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 38, 71, 0.1) 40%, rgba(10, 38, 71, 0.85) 100%);
    pointer-events: none;
}

.spotlight-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.spotlight-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #FFFFFF;
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.spotlight-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spotlight-meta i {
    color: var(--royal-blue);
}

.spotlight-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.35;
    margin-bottom: 14px;
    transition: color 0.2s ease;
}

.spotlight-lead-card:hover .spotlight-title {
    color: var(--royal-blue);
}

.spotlight-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 22px;
    flex: 1;
}

.spotlight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 18px;
}

.read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-blue), var(--royal-blue));
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(10, 77, 104, 0.25);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.read-btn:hover {
    background: linear-gradient(135deg, var(--royal-blue), var(--accent-cyan));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
    color: #FFFFFF;
}

.spotlight-tag-pill {
    background: #EBF4F6;
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Secondary Spotlight List */
.spotlight-side-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.spotlight-mini-card {
    display: flex;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: all 0.25s ease;
    cursor: pointer;
}

.spotlight-mini-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.spotlight-mini-thumb {
    width: 170px;
    min-width: 170px;
    position: relative;
    overflow: hidden;
}

.spotlight-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.spotlight-mini-card:hover .spotlight-mini-thumb img {
    transform: scale(1.08);
}

.spotlight-mini-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.spotlight-mini-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.spotlight-mini-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--royal-blue);
    background: rgba(0, 119, 182, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.spotlight-mini-title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-heading);
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-mini-card:hover .spotlight-mini-title {
    color: var(--royal-blue);
}

/* 8. MAIN CONTENT STREAM & SIDEBAR */
.news-main-section {
    padding: 30px 0 80px;
    scroll-margin-top: 140px;
}

.news-layout-grid {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 40px;
    align-items: start;
}

/* Section Head Bar */
.section-head-bar {
    margin-bottom: 28px;
}

.section-head-bar .section-tag {
    margin-bottom: 8px;
}

.section-head-bar .section-title {
    margin-bottom: 0;
}

/* Section Tag & Heading */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid var(--border-accent);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-heading);
    margin-bottom: 24px;
}

/* News Feed Grid (2 Columns in Main Area) */
.news-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

/* Standard News Card */
.news-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-accent);
}

.news-card-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-thumb img {
    transform: scale(1.06);
}

.category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.badge-tin-cong-ty { background: linear-gradient(135deg, #0284C7, #0369A1); }
.badge-video-phong-su { background: linear-gradient(135deg, #E11D48, #BE123C); }
.badge-ky-thuat { background: linear-gradient(135deg, #0284C7, #0369A1); }
.badge-san-xuat { background: linear-gradient(135deg, #059669, #047857); }
.badge-chuyen-doi-so { background: linear-gradient(135deg, #7C3AED, #6D28D9); }
.badge-doan-the { background: linear-gradient(135deg, #EA580C, #C2410C); }
.badge-thi-truong { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.badge-tin-khac { background: linear-gradient(135deg, #0284C7, #0F766E); }
.badge-award { background: linear-gradient(135deg, #D97706, #B45309); }
.badge-csr { background: linear-gradient(135deg, #10B981, #059669); }
.badge-env { background: linear-gradient(135deg, #0D9488, #0F766E); }

/* Aliases & Fallbacks for dynamic news cards */
.news-card-thumb-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-thumb-wrap img {
    transform: scale(1.06);
}

.news-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.news-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.news-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-card-meta i {
    color: var(--royal-blue);
}

.news-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-card-title {
    color: var(--royal-blue);
}

.news-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 14px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--royal-blue);
    transition: gap 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.read-more-link:hover {
    color: var(--primary-blue);
    gap: 10px;
}

.card-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: #F8FAFC;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card-action-btn:hover {
    background: var(--royal-blue);
    color: #FFFFFF;
    border-color: var(--royal-blue);
    transform: scale(1.08);
}

/* Empty State / Not Found */
.no-news-found {
    grid-column: 1 / -1;
    background: #FFFFFF;
    border: 1px dashed var(--border-subtle);
    border-radius: 14px;
    padding: 50px 20px;
    text-align: center;
    color: var(--text-dim);
    display: none;
}

.no-news-found i {
    font-size: 3rem;
    color: #CBD5E1;
    margin-bottom: 16px;
}

.no-news-found h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-heading);
}

/* Pagination Wrap */
.pagination-wrap {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: #FFFFFF;
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: var(--royal-blue);
    color: var(--royal-blue);
    background: #F0F9FF;
}

.page-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--royal-blue));
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--border-light);
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid var(--border-accent);
    color: var(--royal-blue);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.load-more-btn:hover {
    background: var(--royal-blue);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.25);
    transform: translateY(-2px);
}

/* 9. SIDEBAR WIDGETS */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 155px;
}

.sidebar-widget {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sky-light);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--royal-blue);
    border-radius: 2px;
}

.widget-title i {
    color: var(--royal-blue);
}

.widget-title-media {
    font-size: 1.05rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.widget-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    animation: pulseNewBadge 2s infinite ease-in-out;
}

.widget-badge-new i {
    color: #FEF08A;
    font-size: 0.72rem;
}

@keyframes pulseNewBadge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 14px rgba(239, 68, 68, 0.7);
    }
}

/* Hydro Live Stats Widget */
.hydro-stats-card {
    background: linear-gradient(135deg, #0A2647 0%, #0A4D68 100%);
    color: #FFFFFF;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 6px 20px rgba(10, 38, 71, 0.2);
}

.hydro-stats-card .widget-title {
    color: #FFFFFF;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.hydro-stats-card .widget-title i {
    color: #05BFDB;
}

.live-badge-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(52, 211, 153, 0.4);
    margin-left: auto;
}

.pulse-circle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 8px #34D399;
    animation: blinkGlow 1.5s infinite;
}

@keyframes blinkGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hydro-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.hydro-stat-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
}

.hydro-stat-label {
    font-size: 0.75rem;
    color: #94A3B8;
    margin-bottom: 4px;
}

.hydro-stat-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #38BDF8;
}

.hydro-stat-val small {
    font-size: 0.72rem;
    font-weight: 500;
    color: #CBD5E1;
}

.hydro-dam-status {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E2E8F0;
}

.hydro-dam-status i {
    color: #34D399;
}

/* Announcements Mini Widget */
.sidebar-notice-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-notice-item {
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-light);
}

.sidebar-notice-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.notice-meta-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #DC2626;
    background: #FEE2E2;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.notice-link-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
    display: block;
    transition: color 0.2s ease;
}

.notice-link-title:hover {
    color: var(--royal-blue);
}

.notice-date-stamp {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-bottom-action {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.widget-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--royal-blue);
    transition: all 0.2s ease;
}

.widget-all-link:hover {
    color: var(--primary-blue);
    gap: 12px;
}

/* Sidebar Media Video Card */
.sidebar-video-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 180px;
    margin-bottom: 12px;
}

.sidebar-video-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 38, 71, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(10, 38, 71, 0.25);
}

.play-ring-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--royal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.video-play-overlay:hover .play-ring-btn {
    transform: scale(1.12);
    color: var(--primary-blue);
}

.sidebar-video-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.4;
}

/* Sidebar Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: #F8FAFC;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s ease;
}

.newsletter-input:focus {
    border-color: var(--royal-blue);
    background: #FFFFFF;
}

.newsletter-submit-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--royal-blue));
    color: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-submit-btn:hover {
    background: linear-gradient(135deg, var(--royal-blue), var(--accent-cyan));
    transform: translateY(-1px);
}

/* 10. ARTICLE QUICK VIEW MODAL */
body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
}

.article-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overscroll-behavior: contain;
}

.article-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 38, 71, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-dialog {
    position: relative;
    background: #FFFFFF;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s var(--ease-out);
    scrollbar-width: thin;
    scrollbar-color: #0077B6 #F1F5F9;
}

.modal-dialog::-webkit-scrollbar {
    width: 8px;
}

.modal-dialog::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 0 16px 16px 0;
}

.modal-dialog::-webkit-scrollbar-thumb {
    background: #94A3B8;
    border-radius: 8px;
}

.modal-dialog::-webkit-scrollbar-thumb:hover {
    background: #0077B6;
}

.article-modal.active .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.modal-close-btn:hover {
    background: #EF4444;
    color: #FFFFFF;
    border-color: #EF4444;
}

.modal-hero-cover {
    height: 320px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.modal-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-article-body {
    padding: 32px 40px;
}

.modal-article-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #FFFFFF;
    background: var(--royal-blue);
    margin-bottom: 12px;
}

.modal-article-title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 14px;
    color: var(--text-heading);
}

.modal-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-meta-bar i {
    color: var(--royal-blue);
}

.modal-text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.modal-text-content p {
    margin-bottom: 18px;
}

.modal-text-content blockquote {
    border-left: 4px solid var(--accent-cyan);
    background: #F0F9FF;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--primary-blue);
    margin: 24px 0;
    font-weight: 500;
}

.modal-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.share-pills-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    background: #F8FAFC;
    color: var(--text-heading);
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-pill:hover {
    background: var(--royal-blue);
    color: #FFFFFF;
    border-color: var(--royal-blue);
}

/* 11. TOAST NOTIFICATION */
.toast-notice {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #0A2647;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    border-left: 4px solid #34D399;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s var(--ease-out);
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notice i {
    color: #34D399;
    font-size: 1.1rem;
}

/* 12. CORPORATE FOOTER (MATCHING GIỚI THIỆU) */
.site-footer {
    background: linear-gradient(180deg, #0A2647 0%, #05162B 100%);
    color: #FFFFFF;
    position: relative;
    z-index: 10;
    border-top: 4px solid var(--accent-cyan);
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.2fr;
    gap: 50px;
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #FFFFFF;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-brand .logo-main {
    color: #FFFFFF;
}

.footer-brand .logo-sub {
    color: #05BFDB;
}

.footer-social-pills {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: all 0.25s ease;
}

.social-link:hover {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.4);
}

.footer-nav-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    font-size: 0.88rem;
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.footer-nav a:hover {
    color: #05BFDB;
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #94A3B8;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-contact-list i {
    color: #05BFDB;
    font-size: 0.9rem;
    margin-top: 4px;
}

.footer-mail-link {
    color: #38BDF8;
}

.footer-mail-link:hover {
    text-decoration: underline;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 0.82rem;
    color: #64748B;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legals {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legals a {
    color: #94A3B8;
}

.footer-legals a:hover {
    color: #FFFFFF;
}

.footer-legals .sep {
    color: #475569;
}

/* 13. BACK TO TOP BUTTON */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--royal-blue);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* 14. RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .spotlight-grid {
        grid-template-columns: 1fr;
    }
    .spotlight-side-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .spotlight-mini-card {
        flex-direction: column;
    }
    .spotlight-mini-thumb {
        width: 100%;
        height: 140px;
    }
    .news-layout-grid {
        grid-template-columns: 1fr;
    }
    .news-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .hamburger-btn { display: flex; }
    .topbar-item.hide-mobile { display: none; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .subpage-hero {
        padding: 140px 0 70px;
    }
    .subpage-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .spotlight-side-list {
        grid-template-columns: 1fr;
    }
    .news-feed-grid {
        grid-template-columns: 1fr;
    }
    .news-sidebar {
        grid-template-columns: 1fr;
    }
    .news-filter-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .news-filter-search {
        max-width: 100%;
    }
    .modal-article-body {
        padding: 24px 20px;
    }
    .modal-hero-cover {
        height: 220px;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-nav-columns {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================================
   FOOTER VISITOR STATS & CONTACT STRIP (THỐNG KÊ TRUY CẬP & DÒNG TRỤ SỞ NGANG)
   ========================================================================= */
.footer-col.col-stats {
    justify-self: end;
    width: 100%;
    max-width: 320px;
}

.footer-visitor-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 150, 199, 0.28);
    border-radius: 12px;
    padding: 16px 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.visitor-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #E2E8F0;
}

.visitor-stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.visitor-stat-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #CBD5E1;
    font-weight: 500;
}

.visitor-stat-val {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Outfit', 'Montserrat', sans-serif;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.visitor-stat-val.text-emerald {
    color: #10B981;
}

.visitor-stat-val.text-cyan {
    color: #00D2D3;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Dòng ngang Trụ sở & Liên hệ */
.footer-contact-strip {
    background: rgba(0, 20, 38, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 0;
    margin-top: 40px;
    color: #CBD5E1;
    font-size: 0.88rem;
}

.footer-contact-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    text-align: center;
}

.contact-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.contact-strip-item strong {
    color: #FFFFFF;
}

.contact-strip-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-strip-item a:hover {
    color: var(--cyan-neon, #00D2D3);
    text-decoration: underline;
}

.contact-sep {
    color: rgba(0, 150, 199, 0.5);
    font-weight: bold;
}

@media (max-width: 992px) {
    .footer-col.col-stats {
        justify-self: start;
        max-width: 100%;
    }
    .footer-contact-flex {
        flex-direction: column;
        gap: 10px;
    }
    .contact-sep {
        display: none;
    }
}
