/* --- RESET & BASIC STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* Sửa riêng cho phần Tiêu đề bài viết */
.article-title, .page-title {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700; /* Hoặc 900 nếu muốn đậm hơn */
    color: #0b3c5d;
    line-height: 1.4;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.responsive-img, img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- LAYOUT GRID --- */
.grid {
    display: grid;
    gap: 20px;
}
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 2fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.gap-10 { gap: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.text-center { text-align: center; }

/* --- HEADER TOP BAR --- */
.top-bar {
    background: #fff;
    padding: 15px 0;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}
.brand-text .sub-title {
    font-size: 13px;
    color: #0b3c5d;
    font-weight: bold;
}
.brand-text .main-title {
    font-size: 18px;
    color: #0b3c5d;
    font-weight: bold;
}
.top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.lang-switch img {
    display: inline-block;
    margin-left: 5px;
}
.search-box {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 3px;
    overflow: hidden;
}
.search-box input {
    border: none;
    padding: 5px 10px;
    outline: none;
    font-size: 13px;
}
.search-box button {
    background: #eee;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

/* --- NAVIGATION MULTI-LEVEL --- */
.main-nav {
    background-color: #0c2340;
    position: relative;
    z-index: 999; /* Đảm bảo menu thả xuống nằm đè lên các thành phần khác */
}

.nav-links {
    display: flex;
    position: relative;
}

.nav-links li {
    position: relative; /* Làm chuẩn vị trí cho menu con tuyệt đối */
}

.nav-links a {
    color: #fff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.3s;
    white-space: nowrap;
}

.nav-links li:hover > a {
    background-color: #1d4273;
}

/* Biểu tượng mũi tên */
.toggle-icon {
    font-size: 10px;
    transition: transform 0.3s;
}

/* --- HOVER TRÊN MÁY TÍNH (DESKTOP) --- */
@media (min-width: 769px) {
    /* Menu Cấp 2 */
    .submenu.level-2 {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #0c2340;
        min-width: 220px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    /* Menu Cấp 3 */
    .submenu.level-3 {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        background-color: #1a385c;
        min-width: 230px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    /* Hiển thị khi Hover */
    .nav-links li:hover > .submenu {
        display: block;
    }
}

/* --- GIAO DIỆN DI ĐỘNG (MOBILE) --- */
.menu-toggle {
    display: none;
    background: transparent;
    color: #fff;
    border: none;
    padding: 12px 0;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        border-top: 1px solid #1d4273;
        padding: 12px 15px;
    }

    /* Định dạng menu đa cấp khi thụt lề trên Mobile */
    .submenu {
        display: none;
        background-color: #08172b;
    }

    .submenu.active {
        display: block;
    }

    .submenu.level-2 a {
        padding-left: 30px; /* Thụt vào cấp 2 */
        font-weight: normal;
    }

    .submenu.level-3 a {
        padding-left: 45px; /* Thụt vào cấp 3 */
        font-size: 12px;
        background-color: #050f1c;
    }
}
/* --- SECTIONS GENERAL --- */
.section {
    padding: 30px 0;
}
.bg-light {
    background-color: #f0f4f8;
}
.section-title {
    text-align: center;
    font-size: 22px;
    color: #000;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
}

/* --- CARDS & TIN TỨC --- */
.card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.card-body {
    padding: 15px;
}
.card-body h3 {
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.4;
}
.card-body .meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.btn-more {
    display: inline-block;
    background: #e65100;
    color: #fff;
    padding: 8px 25px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

/* --- PROMO BANNER GIỚI THIỆU --- */
.banner-blue {
    /* Gradient dải màu chuyển góc 135 độ sang trọng, hiện đại */
    background: linear-gradient(135deg, #07182e 0%, #0b3c5d 50%, #1d5a8a 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.banner-text {
    max-width: 60%;
    z-index: 2; /* Giúp chữ luôn hiển thị nổi bật trên nền */
}

.banner-text h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.banner-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #e0f2fe; /* Màu chữ sáng dịu mắt */
    font-style: italic;
}

/* Khung chứa ảnh & kỹ thuật làm chìm ảnh vào nền */
.banner-img-wrapper {
    position: relative;
    max-width: 380px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    /* Mask giúp làm mờ dần 4 cạnh của ảnh hòa vào màu nền */
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.banner-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Chế độ hòa trộn màu ảnh với dải Gradient bên dưới */
    mix-blend-mode: luminosity; 
    opacity: 0.9;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.banner-blue:hover .banner-img-wrapper img {
    transform: scale(1.05); /* Hiệu ứng phóng to nhẹ khi hover */
    opacity: 1;
}

/* Responsive cho Mobile & Tablet */
@media (max-width: 992px) {
    .banner-blue {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .banner-text {
        max-width: 100%;
    }
    
    .banner-img-wrapper {
        max-width: 100%;
    }
}

.hero-banner {
    width: 100%;
    overflow: hidden; /* Tránh xuất hiện thanh cuộn ngang không mong muốn */
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Đảm bảo hình ảnh hiển thị đẹp và sắc nét */
}
/* --- ĐỐI TÁC & COUNTER --- */
.partners-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.counter-strip {
    background: #002d62;
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 12px;
    border-radius: 3px;
}

/* --- FOOTER --- */
.footer-links {
    background-color: #fff;
    padding: 30px 0;
    border-top: 1px solid #ddd;
}
.footer-links h4 {
    color: #0b3c5d;
    margin-bottom: 10px;
    font-size: 18px;
}
.footer-links ul li a {
    color: #555;
    font-size: 13px;
    line-height: 2;
}

.main-footer {
    background-color: #003366;
    color: #fff;
    padding: 20px 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-info p {
    font-size: 16px;
    line-height: 1.8;
}

/* ==========================================
   MOBILE & TABLET RESPONSIVE (MEDIA QUERIES)
   ========================================== */

/* Tablet (Màn hình dưới 992px) */
@media (max-width: 992px) {
    .grid-3, .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .banner-blue {
        flex-direction: column;
        text-align: center;
    }
    .banner-text {
        max-width: 100%;
        margin-bottom: 15px;
    }
}

/* Mobile (Màn hình dưới 768px) */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .top-right {
        align-items: flex-start;
        width: 100%;
    }
    .search-box {
        width: 100%;
    }
    .search-box input {
        width: 100%;
    }

    /* Menu Hamburger trên điện thoại */
    .menu-toggle {
        display: block;
        width: 100%;
        text-align: left;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li a {
        border-top: 1px solid #1d4273;
    }

    .grid-3, .grid-5, .grid-2 {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* --- KHCN & ĐỔI MỚI SÁNG TẠO --- */
.tech-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tech-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Tiêu đề dưới ảnh */
.tech-title {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: bold;
    color: #0b3c5d;
    line-height: 1.4;
    margin: 0;
    transition: color 0.2s;
}

.tech-item a:hover .tech-title {
    color: #e65100; /* Đổi màu chữ khi rê chuột vào */
}

/* Tùy chỉnh tiêu đề cho ảnh lớn bên trái */
.main-tech-title {
    font-size: 15px;
    padding: 12px 15px;
}

/* Tối ưu hóa hiển thị ảnh nhỏ bên phải */
.grid-1 .tech-item {
    display: flex;
    flex-direction: column;
}

/* --- SECTION ĐỐI TÁC --- */
.partner-section {
    position: relative;
    padding: 40px 0;
    overflow: hidden; /* Bắt buộc có để cắt bỏ phần ảnh mờ bị tràn ra ngoài */
}

/* 1. Thẻ chứa ảnh JPG làm nền + Hiệu ứng Blur */
.partner-bg-image {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px; /* Mở rộng rìa 10px để khi blur không bị vệt trắng ở mép */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(2px); /* Giảm từ 8px xuống 2px để mờ nhẹ */
    -webkit-filter: blur(2px);
    z-index: 1;
}

/* 2. Lớp phủ màu tối đè lên ảnh mờ */
.partner-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 35, 64, 0.75); /* Màu xanh tối làm nổi bật logo trắng */
    z-index: 2;
}

/* 3. Nội dung hiển thị trên cùng */
.relative-index {
    position: relative;
    z-index: 3;
}
/* Hiệu ứng lớp phủ mờ (Blur Glassmorphism) */
.partner-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 35, 64, 0.75); /* Phủ màu tối mờ */
    backdrop-filter: blur(8px); /* Làm mờ ảnh nền */
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.relative-index {
    position: relative;
    z-index: 2;
}

.text-white {
    color: #ffffff !important;
}

/* Slider Layout 1 dòng */
.partner-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    margin: 25px 0 15px 0;
}

.partner-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: hidden; /* Ẩn bớt logo tràn lề */
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 0;
}

.partner-item {
    flex: 0 0 calc(20% - 16px); /* Hiển thị 5 logo trên 1 dòng ở Desktop */
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-3px);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%); /* Tăng bão hòa khi hover */
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

/* Nút Next & Previous */
.slider-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: #0c2340;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: #ffffff;
    color: #e65100;
    transform: scale(1.1);
}

.prev-btn { margin-right: 10px; }
.next-btn { margin-left: 10px; }

/* Các chấm chỉ số (Dots) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffffff;
    width: 25px; /* Kéo dài chấm đang chọn */
    border-radius: 5px;
}

/* Thống kê truy cập */
.counter-strip {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 6px;
}

/* Responsive cho Mobile & Tablet */
@media (max-width: 992px) {
    .partner-item {
        flex: 0 0 calc(33.333% - 14px); /* 3 logo / dòng trên Tablet */
    }
}

@media (max-width: 576px) {
    .partner-item {
        flex: 0 0 calc(50% - 10px); /* 2 logo / dòng trên Điện thoại */
        height: 75px;
    }
    .counter-strip {
        font-size: 11px;
        line-height: 1.8;
    }
}


/* --- HERO BANNER SLIDER --- */
.hero-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    /* Chiều cao tự động điều chỉnh theo ảnh */
}

.slide {
    display: none; /* Mặc định ẩn tất cả các slide */
    width: 100%;
    animation: fadeEffect 0.8s ease-in-out; /* Hiệu ứng mờ dần khi đổi slide */
}

.slide.active {
    display: block; /* Chỉ hiện slide đang active */
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hiệu ứng Fade chuyển cảnh */
@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Nút Next & Prev cho Hero Banner */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
}

.hero-btn:hover {
    background: rgba(12, 35, 64, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-btn.prev-btn { left: 20px; }
.hero-btn.next-btn { right: 20px; }

/* Dấu chấm chỉ số (Dots) nằm trên Banner */
.hero-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #ffffff;
    width: 30px; /* Kéo dài chấm đang chọn */
    border-radius: 6px;
}

/* Responsive trên Mobile */
@media (max-width: 768px) {
    .hero-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .hero-btn.prev-btn { left: 10px; }
    .hero-btn.next-btn { right: 10px; }
    .hero-dots { bottom: 10px; }
}

/* --- BREADCRUMB --- */
.breadcrumb-container {
    background-color: #f1f5f9;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 13px;
}
.breadcrumb li+li:before {
    content: "/\00a0";
    padding: 0 8px;
    color: #94a3b8;
}
.breadcrumb li a {
    color: #0b3c5d;
}
.breadcrumb li.active {
    color: #64748b;
}

/* --- BỐ CỤC ARTICLE LAYOUT (2 CỘT) --- */
.grid-article-layout {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr; /* Cột trái rộng hơn cột sidebar */
    gap: 35px;
}

/* CỘT CHÍNH - ARTICLE */
.article-main {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.category-badge {
    display: inline-block;
    background: #e65100;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.article-title {
    font-size: 26px;
    line-height: 1.35;
    color: #0b3c5d;
    font-weight: 800;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.meta-left span {
    margin-right: 15px;
}

.meta-right button {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #0b3c5d;
}

.article-sapo {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 20px;
}

.article-featured-image {
    margin-bottom: 25px;
}

.article-featured-image img {
    width: 100%;
    border-radius: 6px;
}

.article-featured-image figcaption {
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    text-align: center;
    margin-top: 8px;
}

/* NỘI DUNG BÀI VIẾT */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #1e293b;
    transition: font-size 0.2s ease;
}

.article-content p {
    margin-bottom: 18px;
}

.article-content h3 {
    font-size: 19px;
    color: #0b3c5d;
    margin: 25px 0 12px 0;
}

.article-content blockquote {
    background: #f0f7ff;
    border-left: 4px solid #0b3c5d;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #0369a1;
}

.article-content ul {
    margin: 0 0 20px 20px;
    list-style: disc;
}

.article-author-signature {
    text-align: right;
    margin-top: 30px;
    font-size: 14px;
    color: #0b3c5d;
}

/* CHIA SẺ */
.article-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: bold;
}

.share-btn {
    padding: 6px 14px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
}
.share-btn.fb { background: #1877f2; }
.share-btn.zalo { background: #0068ff; }
.share-btn.copy { background: #64748b; }

/* BÀI VIẾT LIÊN QUAN */
.related-posts {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #0b3c5d;
}

.related-title {
    font-size: 18px;
    color: #0b3c5d;
    margin-bottom: 20px;
}

/* SIDEBAR */
.sidebar-widget {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.widget-title {
    font-size: 16px;
    color: #0b3c5d;
    padding-bottom: 10px;
    border-bottom: 2px solid #e65100;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* --- TỐI ƯU BULLET DANH MỤC SIDEBAR --- */
.widget-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-category-list li {
    border-bottom: 1px dashed #e2e8f0; /* Đường gạch nối mỏng tinh tế */
}

.widget-category-list li:last-child {
    border-bottom: none;
}

.widget-category-list li a {
    display: flex;
    align-items: flex-start; /* Căn lề trên để khi tiêu đề rớt xuống 2 dòng vẫn đẹp */
    padding: 11px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

/* Định dạng cho Icon Bullet mới */
.widget-category-list li a .icon-bullet {
    font-size: 10px; /* Thu nhỏ icon cho vừa mắt */
    color: #e65100;  /* Màu cam làm điểm nhấn (hoặc đổi thành #0b3c5d) */
    margin-right: 10px;
    margin-top: 5px; /* Căn chỉnh icon vừa tầm với dòng chữ đầu tiên */
    flex-shrink: 0;  /* Không bị co nhỏ icon khi tiêu đề quá dài */
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Hiệu ứng khi rê chuột (Hover) */
.widget-category-list li a:hover {
    color: #e65100; /* Đổi màu chữ */
    padding-left: 4px; /* Đẩy nhẹ nguyên dòng sang phải */
}

.widget-category-list li a:hover .icon-bullet {
    transform: translateX(3px); /* Nhích nhẹ icon sang phải */
}

/* TIN XEM NHIỀU */
.popular-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.rank-num {
    background: #0b3c5d;
    color: #fff;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.popular-info a {
    font-size: 13px;
    font-weight: bold;
    color: #1e293b;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
}

.popular-info a:hover {
    color: #e65100;
}

.popular-date {
    font-size: 11px;
    color: #94a3b8;
}

.sidebar-banner img {
    border-radius: 6px;
    width: 100%;
}

/* RESPONSIVE TRÊN MOBILE & TABLET */
@media (max-width: 992px) {
    .grid-article-layout {
        grid-template-columns: 1fr; /* Chuyển thành 1 cột trên Mobile/Tablet */
    }
    .article-title {
        font-size: 22px;
    }
    .article-main {
        padding: 20px;
    }
}

/* --- PROMO BANNER (CHỈ SLIDER ẢNH) --- */
.banner-blue-only-img {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.promo-img-slides {
    position: relative;
    width: 100%;
}

.promo-img-slide {
    display: none; /* Mặc định ẩn */
    width: 100%;
    animation: imgFade 0.8s ease-in-out;
}

.promo-img-slide.active {
    display: block; /* Hiện slide đang active */
}

.promo-img-slide img {
    width: 100%;
    height: auto;
    max-height: 350px;
    display: block;
    object-fit: cover; /* Đảm bảo ảnh lấp đầy khung đẹp mắt */
    opacity: 0.95;
    transition: transform 0.5s ease;
}

.banner-blue-only-img:hover .promo-img-slide img {
    transform: scale(1.02); /* Hiệu ứng zoom nhẹ khi rê chuột */
}

/* Hiệu ứng chuyển cảnh */
@keyframes imgFade {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

/* --- KHUNG ẢNH & BADGE NHÃN --- */
.card-img-wrapper {
    position: relative; /* Dùng để định vị tuyệt đối cho badge */
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05); /* Zoom nhẹ khi rê chuột */
}

/* Định dạng ô badge nhỏ bo tròn góc trên bên phải */
.news-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 20px; /* Bo tròn hoàn toàn */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Màu riêng cho nhãn Sự kiện (Màu cam) */
.badge-event {
    background-color: #e65100;
}

/* Màu riêng cho nhãn Tin tức (Màu xanh navy) */
.badge-news {
    background-color: #0b3c5d;
}

/* Chỉnh kiểu dáng chữ tiêu đề */
.card-body h3 {
    color: #0b3c5d;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.card-body h3:hover {
    color: #e65100;
}

/* --- PHÂN TRANG (PAGINATION) --- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 6px;
    align-items: center;
}

.pagination li a, 
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: bold;
    color: #0b3c5d;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pagination li a:hover {
    background-color: #0b3c5d;
    color: #ffffff;
    border-color: #0b3c5d;
}

.pagination li.active span {
    background-color: #e65100;
    color: #ffffff;
    border-color: #e65100;
}

.pagination li.disabled span {
    border: none;
    background: transparent;
    color: #94a3b8;
}

/* --- CẮT ẢNH KHCN KHU VỰC ĐỔI MỚI SÁNG TẠO --- */
.tech-img-holder {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #e2e8f0;
}

/* 1. Ảnh lớn bên trái: Kích thước 600x320px */
.tech-img-holder.large {
    max-width: 950px;
    height: 430px;
}

.tech-img-holder.large img.img-large {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Tự động crop ảnh vừa khít 600x320px mà không móp ảnh */
    object-position: center;
    transition: transform 0.4s ease;
}

/* 2. Hai ảnh nhỏ bên phải: Kích thước 500x182px */
.tech-img-holder.small {
    max-width: 500px;
    height: 182px;
}

.tech-img-holder.small img.img-small {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Tự động crop ảnh vừa khít 500x182px mà không móp ảnh */
    object-position: center;
    transition: transform 0.4s ease;
}

/* Hiệu ứng phóng to nhẹ khi rê chuột vào */
.tech-item:hover img {
    transform: scale(1.05);
}

/* Responsive cho màn hình di động/máy tính bảng */
@media (max-width: 768px) {
    .tech-img-holder.large {
        height: 220px; /* Tự điều chỉnh chiều cao vừa vặn hơn trên điện thoại */
    }
    .tech-img-holder.small {
        height: 160px;
    }
}

/* --- CẮT ẢNH THẺ TUYỂN SINH CHUẨN 475x285 PX --- */
.admission-card .card-img-holder {
    width: 100%;
    max-width: 475px; /* Giới hạn chiều rộng tối đa */
    height: 285px;    /* Cố định chiều cao 285px */
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

.admission-card .card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* Tự động crop ảnh vừa khít khung 475x285px mà không bị méo hình */
    object-position: center; /* Căn giữa góc chụp của ảnh */
    display: block;
    transition: transform 0.4s ease;
}

/* Hiệu ứng phóng to nhẹ khi rê chuột vào bài viết */
.admission-card:hover .card-img-holder img {
    transform: scale(1.05);
}

/* Responsive cho màn hình điện thoại / máy tính bảng */
@media (max-width: 768px) {
    .admission-card .card-img-holder {
        height: 210px; /* Tự động thu nhỏ chiều cao trên di động để cân đối màn hình */
    }
}