/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #008fed;
    --primary_hover: #30aaf9;
    --primary-dark: #008fed;
    --primary-light: #008fed;
    --primary-hover: #1d7ab7;
    --secondary: #e8f4fc;
    --accent: #f5a623;
    --accent-dark: #d4881a;
    --text-primary: #222;
    --text-secondary: #555;
    --text-light: #888;
    --bg-light: #f4f6f9;
    --bg-white: #fff;
    --border: #dde3ea;
    --red: #c0392b;
    --shadow: 0 2px 12px rgba(29, 122, 183, 0.12);
    --shadow-hover: 0 6px 24px rgba(29, 122, 183, 0.22);
    --radius: 6px;
    --transition: 0.22s ease;
    --header-height: 100px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

a:hover {
    text-decoration: none;
    cursor: pointer;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin-bottom: 0 !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== TOP BAR ===== */
.topbar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 12px;
    padding: 5px 0;
}

.topbar-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px; /* Khoảng cách giữa icon và chữ */
    object-fit: contain;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .topbar-left a {
        color: #cde7f8;
        transition: color var(--transition);
    }

        .topbar-left a:hover {
            color: #fff;
        }

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .topbar-right .search-form {
        display: flex;
        align-items: center;
    }

        .topbar-right .search-form input {
            padding: 3px 8px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.15);
            color: #fff;
            border-radius: 3px 0 0 3px;
            outline: none;
            width: 160px;
            font-size: 12px;
        }

.marquee-link {
    text-decoration: none; /* Bỏ gạch chân mặc định */
    transition: all 0.3s ease; /* Hiệu ứng mượt mà 0.3 giây */
    font-weight: 500;
    display: inline-block;
}

    /* Khi di chuột vào (Hover) */
    .marquee-link:hover {
        cursor: pointer;
    }

.topbar-right .search-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.topbar-right .search-form button {
    padding: 3px 8px;
    background: var(--primary);
    color: #fff;
    border: none;
    height: 28px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-size: 12px;
    transition: background var(--transition);
}

    .topbar-right .search-form button:hover {
        background: var(--accent-dark);
    }

/* ===== HEADER REDESIGN ===== */
header {
    position: relative;
    overflow: hidden;
    background-color: transparent !important;
}

.header-inner {
    position: relative;
    width: 100%;
    display: flex;
    min-height: 197px; /* Adjust based on actual aspect ratio */
    z-index: 5;
    padding: 0;
}

.header-frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/assets/client/images/header_banner.png") no-repeat center center;

    z-index: 5;
    background-size: cover;
    pointer-events: none;
}

.header-logo-col {
    z-index: 15; /* Above frame */
    display: flex;
    align-items: flex-start;
    width: 1500px;
    margin: auto;
}

    .header-logo-col .header-logo {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-left: 11px;
    }

.header-slide-col {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4; /* Strictly below the frame overlay/logo */
    overflow: hidden;
}

.img-hover:hover {
    position: relative;
    top: -2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header-slide-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.header-slide-img {
    width: 40%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 60%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .header-slide-img.active {
        opacity: 1;
    }

.header-sticky {
    position: sticky;
    top: -227px;
    z-index: 100000000;
}
/* NAVBAR ADJUSTMENTS */
.navbar {
    z-index: 20;
    position: relative;
    margin-bottom: 0 !important;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

    .header-logo img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    }

.header-logo-text {
    color: #fff;
}

    .header-logo-text .subtitle {
        font-size: 20px;
        font-weight: 400;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }
    /*.header-logo-text .title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}*/

    .header-logo-text .title {
        font-size: 40px;
        font-weight: 700;
        font-family: Merriweather;
        line-height: 1.25;
        color: #fff;
        /* -webkit-text-stroke: 1px rgba(0, 0, 0, .8); */
        letter-spacing: 1px;
        /* text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); */
    }

/* ===== HEADER BANNER (hidden - merged into header bg) ===== */
.header-banner {
    display: none;
}

/* ===== NAVBAR ===== */
nav.navbar {
    background: var(--primary-dark);
    border-top: 2px solid var(--accent);
    margin-bottom: 0 !important;
    z-index: 1000;
    transition: box-shadow 0.25s ease;
}
    /* Shadow appears after header scrolls away */
    nav.navbar.scrolled {
        box-shadow: 0 3px 18px rgba(0, 0, 0, 0.3);
    }

.navbar-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
}

    .nav-menu > li {
        position: relative;
    }

        .nav-menu > li > a {
            display: block;
            padding: 11px 16px;
            text-decoration: none !important;
            color: #fff;
            font-size: 13.5px;
            font-weight: 500;
            white-space: nowrap;
            transition: background var(--transition), color var(--transition);
            border-bottom: 3px solid transparent;
        }

            .nav-menu > li > a:hover,
            .nav-menu > li.active > a {
                background: var(--primary_hover);
                text-decoration: none !important;
                border-bottom-color: var(--accent);
                color: #fff;
            }
        /* Dropdown */
        .nav-menu > li > .dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 220px;
            background: #fff;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            border-top: 3px solid var(--primary);
            z-index: 999;
        }

        .nav-menu > li:hover > .dropdown {
            display: block;
        }

        .nav-menu > li > .dropdown li a {
            display: block;
            padding: 9px 16px;
            text-decoration: none !important;
            color: var(--text-secondary);
            font-size: 13px;
            border-bottom: 1px solid var(--border);
            transition: background var(--transition), color var(--transition), padding var(--transition);
        }

            .nav-menu > li > .dropdown li a:hover {
                background: var(--secondary);
                color: var(--primary);
                padding-left: 22px;
            }

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
}

.breadcrumb-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-light);
}

    .breadcrumb-inner a {
        color: var(--primary);
    }

        .breadcrumb-inner a:hover {
            text-decoration: none;
        }

    .breadcrumb-inner .sep {
        color: var(--border);
    }

/* ===== BANNER / SLIDER ===== */
.banner {
    position: relative;
    box-shadow: var(--shadow);
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.banner-grid-item {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.banner-slide {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    padding: 40px 32px 24px;
    color: #fff;
}

    .banner-overlay h2 {
        font-size: 22px;
        font-weight: 700;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    }

    .banner-overlay p {
        font-size: 13px;
        margin-top: 6px;
        opacity: 0.9;
    }

/* ===== LAYOUT ===== */
.main-container {
    max-width: 1500px;
    margin: 20px auto;
    padding: 0 16px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.content-area {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* ===== SECTION TITLE ===== */
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

    .section-title h2 {
        font-size: 16px;
        font-weight: 700;
        color: var(--primary-dark);
        text-transform: uppercase;
        letter-spacing: 0.3px;
        position: relative;
    }

        .section-title h2::after {
            content: "";
            display: block;
            width: 36px;
            height: 3px;
            background: var(--accent);
            margin-top: 4px;
            border-radius: 2px;
        }

.section-title-bar {
    background: var(--primary);
    color: #fff;
    max-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-left: 4px solid var(--accent);
    /*margin-bottom: 12px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .section-title-bar a {
        color: #cde7f8;
        font-size: 11px;
        font-weight: 400;
    }

        .section-title-bar a:hover {
            color: #fff;
        }

/* ===== CARD ===== */
.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

    .card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-2px);
    }

.card-img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.card-body {
    padding: 14px;
}

.card-date {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 8px;
    font-size: 1.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
}

    .card-title a:hover {
        color: var(--primary);
    }

.card-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    font-size: 1.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 60px;
    line-height: 1.55;
}

.card-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: var(--secondary);
    color: var(--primary);
    margin-bottom: 6px;
}

/* ===== NEWS GRID ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

    .news-featured .card-img {
        height: 230px;
    }

/* ===== NEWS LIST ===== */
.news-list {
    list-style: none;
}

    .news-list li {
        display: flex;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
        align-items: flex-start;
    }

        .news-list li:last-child {
            border-bottom: none;
        }

    .news-list .news-thumb {
        width: 90px;
        height: 65px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
    }

    .news-list .news-info {
        flex: 1;
    }

    .news-list .news-title {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-primary);
        line-height: 1.4;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

        .news-list .news-title:hover {
            color: var(--primary);
        }

    .news-list .news-date {
        font-size: 11px;
        color: var(--text-light);
    }

/* ===== SIDEBAR WIDGETS ===== */
.widget {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 16px;
}

.widget-header {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    overflow: hidden;
}

.widget-header-icon {
    background: #fff;
    border-radius: 5px 20px 20px 0;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--primary);
    border-top: 1px solid var(--primary);
    border-left: 1px solid var(--primary);
    margin-right: 10px;
}

    .widget-header-icon img {
        width: 35px;
        height: 35px;
        object-fit: contain;
        display: block;
        position: relative;
        top: -4px;
    }

.widget-header-title {
    flex: 1;
    padding: 8px 0;
	 
}
.widget-header-title span{
	  font-size: 15px;
        font-weight: 700;
        line-height: 1.25;
		width:75%;
        color: #fff;
        /* -webkit-text-stroke: 1px rgba(0, 0, 0, .8); */
        letter-spacing: 1px;
        /* text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); */
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 18px;
    text-overflow: ellipsis;
	
}

.widget-body {
    padding: 12px 14px;
    border-radius: 7px;
}

.link-list {
    list-style: none;
}

    .link-list li {
        padding: 7px 0;
        border-bottom: 1px dashed var(--border);
        font-size: 13px;
    }

        .link-list li:last-child {
            border-bottom: none;
        }

        .link-list li a {
            color: var(--text-secondary);
            transition: color var(--transition);
            display: flex;
            align-items: flex-start;
            gap: 6px;
        }

            .link-list li a::before {
                content: "›";
                color: var(--primary);
                font-weight: 700;
                flex-shrink: 0;
                line-height: 1.5;
            }

            .link-list li a:hover {
                color: var(--primary);
            }

/* ===== STATS BOX ===== */
.stats-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
}

.stat-item {
    background: #fff;
    padding: 14px 10px;
    text-align: center;
}

    .stat-item .stat-number {
        font-size: 22px;
        font-weight: 700;
        color: var(--primary);
        line-height: 1;
    }

    .stat-item .stat-label {
        font-size: 11px;
        color: var(--text-secondary);
        margin-top: 4px;
    }

/* ===== BANNER LINKS ===== */
.banner-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.banner-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--secondary);
    border-radius: 4px;
    border-left: 3px solid var(--primary);
    transition: background var(--transition), border-color var(--transition);
    font-size: 13px;
    color: var(--text-secondary);
}

    .banner-link:hover {
        background: #d0e8f8;
        border-left-color: var(--accent);
        color: var(--primary);
    }

    .banner-link .icon {
        font-size: 18px;
        flex-shrink: 0;
    }

/* ===== DOCUMENT TABLE ===== */
.doc-table {
    width: 100%;
    border: 1px solid var(--border);
    border-collapse: collapse;
    font-size: 13px;
}

    .doc-table th {
        background: var(--primary);
        color: #fff;
        padding: 9px 12px;
        text-align: left;
        font-weight: 600;
    }

    .doc-table td {
        padding: 9px 12px;
        border-bottom: 1px solid var(--border);
        color: var(--text-secondary);
        vertical-align: top;
    }

    .doc-table tr:hover td {
        background: var(--secondary);
    }

    .doc-table .doc-title a {
        color: var(--primary-dark);
        font-weight: 500;
    }

        .doc-table .doc-title a:hover {
            text-decoration: underline;
        }

.doc-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

    .doc-status.active {
        background: #e8f5e9;
        color: #2e7d32;
    }

    .doc-status.pending {
        background: #fff8e1;
        color: #f57f17;
    }

/* ===== EVENT TICKER ===== */
.ticker-wrap {
    background: var(--secondary);
    border: 1px solid #b8d9f0;
    border-radius: 4px;
    overflow: hidden;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.divtext {
    border-radius: 4px;
    width: 95%;
    margin-left: 1%;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    overflow: hidden;
}

.ticker-label {
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-text {
    font-size: 13px;
    color: var(--primary-dark);
    white-space: nowrap;
    animation: ticker 70s linear infinite;
}


@keyframes ticker {
    0% {
        transform: translateX(50%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ===== QUICK LINKS ===== */
.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.quick-link-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 10px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    border-top: 3px solid var(--primary);
}

    .quick-link-item:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

    .quick-link-item .ql-icon {
        font-size: 28px;
        margin: 0;
    }

        .quick-link-item .ql-icon img {
            margin: 10px auto
        }

    .quick-link-item .ql-label {
        font-size: 11.5px;
        font-weight: 600;
        color: var(--text-primary);
        line-height: 1.3;
    }

    .quick-link-item:hover .ql-label {
        color: #fff;
    }

/* ===== PHOTO GALLERY ===== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

    .photo-gallery a {
        display: block;
        overflow: hidden;
        border-radius: 4px;
    }

    .photo-gallery img {
        width: 100%;
        height: 100px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .photo-gallery a:hover img {
        transform: scale(1.08);
    }

/* ===== PAGE SECTIONS ===== */
.page-section {
    margin-bottom: 24px;
}

.section-block {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 20px;
}

.section-block-body {
    padding: 0 16px 0px 16px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-dark);
    color: #cde7f8;
    margin-top: 36px;
}

.footer-main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px 16px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer-about .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

    .footer-about .footer-brand img {
        width: 50px;
        filter: brightness(1.2);
    }

    .footer-about .footer-brand .brand-name {
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
    }

.footer-about p {
    font-size: 12.5px;
    line-height: 1.7;
}

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-col ul li {
    padding: 4px 0;
    font-size: 12.5px;
}

    .footer-col ul li a {
        color: #cde7f8;
        transition: color var(--transition);
    }

        .footer-col ul li a:hover {
            text-decoration: none !important;
            color: #fff;
        }

        .footer-col ul li a::before {
            content: "› ";
            color: var(--accent);
        }

.footer-contact-info p {
    font-size: 12.5px;
    padding: 3px 0;
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 12px 16px;
    font-size: 12px;
    color: #9dc9e8;
}

    .footer-bottom a {
        color: #cde7f8;
    }

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding-bottom: 10px;
}

    .pagination a,
    .pagination span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 4px;
        font-size: 13px;
        border: 1px solid var(--border);
        background: #fff;
        color: var(--text-secondary);
        transition: all var(--transition);
    }

        .pagination a:hover,
        .pagination span.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

/* ===== ARTICLE DETAIL ===== */
.article-header {
    margin-bottom: 18px;
}

    .article-header h1 {
        font-size: 22px;
        font-weight: 700;
        color: var(--primary-dark);
        line-height: 1.4;
        margin-bottom: 8px;
    }

.article-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    gap: 14px;
    align-items: center;
}

    .article-meta span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

.article-content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-primary);
}

    .article-content p {
        margin-bottom: 14px;
    }

    .article-content h3 {
        font-size: 16px;
        color: var(--primary-dark);
        margin: 20px 0 10px;
    }

    .article-content img {
        border-radius: 4px;
        margin: 16px auto;
        max-width: 100%;
    }

.article-img-caption {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: -10px;
    margin-bottom: 16px;
    font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-inner {
        overflow-x: auto;
    }

    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .banner {
        height: 240px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 16px;
    }

    .topbar-inner {
        flex-direction: column;
        gap: 4px;
    }
}

/* ===== UTILITY ===== */
.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-light);
}

.mt-8 {
    margin-top: 8px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.mb-16 {
    margin-bottom: 16px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 8px;
    transition: gap var(--transition), color var(--transition);
}

    .read-more:hover {
        gap: 9px;
        color: var(--primary-dark);
    }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--primary-dark);
    }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

    .btn-outline:hover {
        background: var(--primary);
        color: #fff;
    }

.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    background: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    margin-right: 4px;
}

/* ===== SMOOTH ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ARTICLE UTILITIES ===== */
.mt-10 {
    margin-top: 10px;
}

.img-full-radius {
    width: 100%;
    border-radius: 6px;
}

.article-quote {
    border-left: 4px solid var(--primary);
    padding-left: 16px;
    margin: 16px 0;
    font-style: italic;
    color: #555;
}

.article-tags-wrap {
    border-top: 1px solid var(--border);
    margin-top: 20px;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-label {
    font-size: 12.5px;
    color: var(--text-light);
}

.print-share-btns {
    display: flex;
    gap: 8px;
}

/* ===== MOBILE HEADER & MENU ===== */
.mobile-header-bar {
    display: none; /* hidden on desktop */
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-logo img {
    height: 45px;
    object-fit: contain;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

    .hamburger-btn span {
        display: block;
        width: 28px;
        height: 3px;
        background-color: var(--primary-dark);
        border-radius: 2px;
        transition: all 0.3s;
    }

/* Sidebar Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

/* Sidebar Panel */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 10001;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .mobile-sidebar.active {
        right: 0;
    }

.mobile-sidebar-header {
    background: var(--primary); /* Matching site colors (blue) */
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
}

.close-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.mobile-sidebar-content {
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mobile-nav-list li {
        border-bottom: 1px solid var(--border);
    }

.menu-item-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-list li a {
    display: block;
    padding: 14px 20px;
    color: var(--text-primary);
    font-size: 14.5px;
    font-weight: 500;
    flex: 1;
    text-decoration: none;
}

    .mobile-nav-list li a:hover {
        background: var(--secondary);
        color: var(--primary);
        text-decoration: none;
    }

.submenu-toggle {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    width: 50px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border);
}

.mobile-submenu {
    display: none;
    background: #f9fbfd;
    border-top: 1px solid var(--border);
    padding: 0;
    margin: 0;
}

    .mobile-submenu li a {
        padding: 12px 20px 12px 35px;
        font-size: 13.5px;
        color: var(--text-secondary);
    }

    .mobile-submenu li:last-child {
        border-bottom: none;
    }

/* Responsive Hide */
@media (max-width: 991px) {
    .topbar, header, nav.navbar {
        display: none !important;
    }

    .mobile-header-bar {
        display: flex;
    }
}

/* ===== FEEDBACK / CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-title {
    font-size: 15px;
    color: var(--primary-dark);
    margin-bottom: 14px;
    font-weight: 700;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13.5px;
}

.contact-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.contact-info-label {
    display: block;
    margin-bottom: 2px;
}

.contact-info-value {
    color: var(--text-secondary);
}

.contact-info-link {
    color: var(--primary);
}

.map-container {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.map-icon {
    font-size: 48px;
}

.map-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.map-btn {
    font-size: 12px;
    padding: 6px 14px;
}

.map-iframe {
    border: 1px solid var(--border);
    border-radius: 6px;
}

.feedback-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group-mb {
    margin-bottom: 14px;
}

.form-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
}

.form-textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.alert-box {
    display: none;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13.5px;
}

/* HERO NEWS SECTION */
.hero-news-section {
    display: flex;
    background: #fff;
    border-radius: 8px;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.hero-news-left {
    flex: 5.5;
    background: #fff;
}

    .hero-news-left .main-news-img-box {
        width: 100%;
        height: 350px;
        padding: 10px 10px 0 10px;
        overflow: hidden;
        /* border-radius: 5px; */
        background: #fff;
    }

        .hero-news-left .main-news-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.3s ease;
        }

    .hero-news-left .main-news-info {
        background: #fff;
        color: #fff;
        width: 100%;
    }

#hero-news-title {
    font-size: 24px;
    font-weight: 700;
    height: 65px;
    color: var(--text-primary);
    margin: 0;
    padding: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

    #hero-news-title a {
        color: inherit;
        font-size: 20px;
        text-decoration: none;
    }

        #hero-news-title a:hover {
            color: var(--primary);
        }

#hero-news-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    padding: 0 10px;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-news-right {
    flex: 3.5;
    max-height: 520px;
}

    .hero-news-right .title {
        background: var(--primary);
        padding: 10px;
        border-radius: 5px;
        text-align: center;
        margin: 10px 10px 0 0
    }

.hero-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-news-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

    .hero-news-item:last-child {
        border-bottom: none;
    }

    .hero-news-item:hover {
        background: #f9f9f9;
    }

    .hero-news-item.active .news-list-title {
        color: var(--primary);
        font-weight: 600;
    }

.news-list-title {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.hero-news-right::-webkit-scrollbar {
    width: 6px;
}

.hero-news-right::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.hero-news-right::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

    .hero-news-right::-webkit-scrollbar-thumb:hover {
        background: #999;
    }

@media (max-width: 992px) {

    .hero-news-section {
        flex-direction: column;
    }

    .hero-news-right {
        border-left: none;
        border-top: 1px solid var(--border);
        max-height: none;
    }

    .hero-news-left .main-news-img-box {
        height: 300px;
    }
}

/* ===== RIGHT PANEL WIDGETS ===== */
/* SEARCH WIDGET */
.search-widget {
    background: #e9e9e9;
    /*padding: 20px;*/
    border-radius: 6px;
    margin-bottom: 20px;
}

.search-widget-title {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.search-widget-form {
    position: relative;
    display: flex;
}

    .search-widget-form input {
        width: 100%;
        padding: 7px 15px;
        border: none;
        border-radius: 4px;
        font-size: 13.5px;
        color: var(--text-secondary);
        outline: none;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

        .search-widget-form input::placeholder {
            color: #999;
        }

    .search-widget-form button {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #666;
        font-size: 16px;
        background: var(--primary);
        border-radius: 0 5px 5px 0;
        height: 100%;
        width: 50px;
        cursor: pointer;
    }

/* THONG BAO WIDGET */
.thongbao-widget {
    margin-bottom: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: visible; /* To allow icon to overlap out */
}

.thongbao-header {
    border-bottom: 2px solid var(--primary-dark);
    position: relative;
    margin: 5px 0 10px 0;
    display: flex;
    align-items: flex-end;
}

.thongbao-title-bg {
    background: var(--primary-dark);
    color: #fff;
    padding: 8px 30px 8px 50px; /* Leave space for circle icon */
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    margin-bottom: -2px; /* Pull down to overlap border */
}

.thongbao-icon-wrap {
    position: absolute;
    left: 0px;
    bottom: -2px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

    .thongbao-icon-wrap img {
        height: 80%;
        object-fit: contain;
    }

.thongbao-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .thongbao-list li {
        padding: 12px 0;
        border-top: 1px dashed #999;
    }

        .thongbao-list li:last-child {
            border-bottom: none;
        }

        .thongbao-list li a {
            color: var(--text-primary);
            font-size: 14px;
            line-height: 1.5;
            text-decoration: none;
        }

            .thongbao-list li a:hover {
                color: var(--primary_hover);
            }

/* Custom Responsive Utilities added for Mobile */
.home-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.responsive-search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    min-width: 200px;
}

@media (max-width: 768px) {
    .home-featured-grid {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .responsive-search-input {
        min-width: 100%;
    }

    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1550px) {
   .header-inner {
    min-height: 140px;
   }
   .header-sticky {
    position: sticky;
    top: -170px;
    z-index: 100000000;
}
}

.glowing-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Tạo không gian cho hào quang tỏa ra */
    background-color: transparent;
    z-index: 1;
}

    /* Tạo vòng sáng trắng rực rỡ ở chính giữa (ảnh 2) */
    .glowing-box::before {
        content: '';
        position: absolute;
        width: 100%; /* Rộng hơn logo một chút */
        height: 100%;
        background: radial-gradient( circle, rgba(255, 255, 255, 0.45) 0%, /* Tâm trắng rất mạnh */
        rgba(255, 255, 255, 0.3) 40%, /* Tỏa dần ra */
        rgba(255, 255, 255, 0.05) 60%, /* Mờ dần */
        transparent 75% );
        z-index: -1; /* Nằm phía sau logo */
        border-radius: 50%; /* Tạo hình quầng sáng tròn */
        /* Tạo hiệu ứng đối xứng và điểm nhô bằng drop-shadow trên chính quầng sáng */
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    }

    .glowing-box img {
        max-width: 100%;
        height: auto;
        display: block;
        /* 1. Tạo viền sáng sắc nét cho các chi tiết bên trong logo */
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 1)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
        transition: transform 0.3s ease, filter 0.3s ease;
    }

    /* Hiệu ứng khi hover: Sáng mạnh hơn và nhô lên */
    .glowing-box:hover img {
        transform: scale(1.05); /* Nhô lên nhẹ */
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
