﻿@font-face {
  font-family: "Roboto Light";
  src: url("../fonts/Roboto-Light.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Regular";
  src: url("../fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Medium";
  src: url("../fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Bold";
  src: url("../fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Inter Regular";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Inter Bold";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
:root {
    /* HueBen: Bảng màu thương hiệu chuẩn NDUN */
    --primary-blue: #162f92; /* Xanh dương đậm chủ đạo */
    --primary-dark: #0f226d; /* Xanh navy Topbar & Footer */
    --primary-light: #0075e1; /* Xanh dương nút & liên kết */
    --sky-blue: #0084d6; /* Xanh số 2026 */
    --accent-yellow: #f59e0b; /* Vàng cam gạch đầu dòng */
    --highlight-yellow: #fef08a; /* Nền vàng highlight */

    --bg-main: #f8fafc; /* Nền tổng thể */
    --bg-white: #ffffff;
    --bg-blue-tint: #f0f7ff;
    --bg-blue-light: #eff6ff;
    --border-color: #e2e8f0;
    --border-blue: #bfdbfe;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 14px rgba(15, 34, 109, 0.07);
    --shadow-lg: 0 10px 25px rgba(15, 34, 109, 0.1);
    --shadow-float: 0 12px 30px rgba(15, 34, 109, 0.12);
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    --container-max: 1240px;
    --transition: all 0.25s ease;
}

/* ==========================================================================
   HueBen: RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   HueBen: SECTION HEADER (Tiêu đề có gạch cam chuẩn thiết kế)
   ========================================================================== */
.section-block {
    padding: 32px 0;
}

.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.sec-tag-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sec-tag-orange {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .sec-tag-orange::before {
        content: "";
        display: inline-block;
        width: 14px;
        height: 2.5px;
        background-color: var(--accent-yellow);
        border-radius: 2px;
    }

.sec-main-title {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.sec-link-more {
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .sec-link-more:hover {
        color: var(--primary-blue);
        transform: translateX(3px);
    }

/* ==========================================================================
   HueBen: 1. HEADER NDUN (Khớp 100% Mockup Thiết Kế)
   ========================================================================== */
.site-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 3.5px solid #162f92;
}

.header-main-wrap {
    width: 100%;
    background: #ffffff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 0;
}

/* Logo bên trái */
.site-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    flex-shrink: 0;
}

.logo-emblem {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-title-1, .logo-title-2 {
    color: #162f92;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.logo-title-en {
    color: #64748b;
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
    white-space: nowrap;
}

/* Cột bên phải (Top Blue Bar + Menu) */
.header-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-grow: 1;
    margin-left: 20px;
}

/* Top Blue Bar bo góc trái dưới (Nền kéo dài 100% sang phải, nội dung giữ theo container) */
.top-blue-shape {
    position: relative;
    background-color: #162f92;
    color: #ffffff;
    padding: 6px 0 6px 24px;
    border-bottom-left-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

    /* Kéo màu xanh tràn viền sang phải */
    .top-blue-shape::after {
        content: "";
        position: absolute;
        top: 0;
        left: 100%;
        width: 100vw;
        height: 100%;
        background-color: #162f92;
        pointer-events: none;
    }

.top-shape-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14.5px;
}

    .top-shape-links a {
        color: rgba(255, 255, 255, 0.92);
        font-weight: 500;
        font-size: 14.5px;
        white-space: nowrap;
        transition: var(--transition);
    }

        .top-shape-links a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

.top-shape-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
}

    .header-search-box:focus-within {
        background: rgba(255, 255, 255, 0.25);
        border-color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .header-search-box input {
        background: transparent;
        color: #ffffff;
        font-size: 13.5px;
        width: 170px;
        border: none;
        outline: none;
    }

        .header-search-box input::placeholder {
            color: rgba(255, 255, 255, 0.75);
            font-size: 13px;
        }

    .header-search-box button {
        background: transparent;
        border: none;
        outline: none;
        color: #ffffff;
        font-size: 13px;
        cursor: pointer;
        padding: 0 2px;
    }

.lang-selector-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
}

/* Menu điều hướng chính */
.main-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0 8px;
}

.nav-link-item {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 4px;
    border-radius: var(--radius-xs);
    transition: var(--transition);
    white-space: nowrap;
}

    .nav-link-item:hover, .nav-item-dropdown:hover > .nav-link-item {
        color: #162f92;
    }

.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #162f92;
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 6px rgba(15, 34, 109, 0.06);
    transition: all 0.25s ease;
}

    .mobile-nav-toggle:hover,
    .mobile-nav-toggle:active {
        background: #162f92;
        color: #ffffff;
        border-color: #162f92;
        box-shadow: 0 4px 12px rgba(22, 47, 146, 0.25);
        transform: translateY(-1px);
    }

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(15, 34, 109, 0.12);
    border: 1px solid var(--border-color);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
    pointer-events: none;
}

    .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
    }

.nav-item-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item-dropdown:nth-last-child(1) > .dropdown-menu,
.nav-item-dropdown:nth-last-child(2) > .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

    .dropdown-link-item:hover {
        background-color: var(--bg-blue-tint);
        color: var(--primary-blue);
    }

/* HueBen: Submenu đa cấp (Cấp 2 -> Cấp 3 -> Cấp 4...) */
.dropdown-submenu-item {
    position: relative;
    width: 100%;
    display: block;
}

.dropdown-link-item.has-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.dropdown-link-item .dropdown-text {
    flex-grow: 1;
    margin-right: 8px;
}

.submenu-arrow-icon {
    font-size: 10px !important;
    color: #94a3b8 !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
    margin-left: auto !important;
    width: auto !important;
}

.dropdown-submenu-item:hover > .dropdown-link-item .submenu-arrow-icon {
    color: var(--primary-blue) !important;
    transform: translateX(2px) !important;
}

.dropdown-menu-sub {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
    min-width: 230px !important;
    margin-left: 2px !important;
    margin-top: 0 !important;
    background: #ffffff !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 10px 25px rgba(15, 34, 109, 0.15) !important;
    border: 1px solid var(--border-color) !important;
    padding: 6px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(8px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
    z-index: 1300 !important;
    pointer-events: none !important;
}

.dropdown-submenu-item:hover > .dropdown-menu-sub {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

/* Đảo chiều menu con sang trái nếu nằm ở 2 cột cuối bên phải màn hình */
.nav-item-dropdown:nth-last-child(1) .dropdown-menu-sub,
.nav-item-dropdown:nth-last-child(2) .dropdown-menu-sub {
    left: auto !important;
    right: 100% !important;
    margin-left: 0 !important;
    margin-right: 2px !important;
    transform: translateX(-8px) !important;
}

.nav-item-dropdown:nth-last-child(1) .dropdown-submenu-item:hover > .dropdown-menu-sub,
.nav-item-dropdown:nth-last-child(2) .dropdown-submenu-item:hover > .dropdown-menu-sub {
    transform: translateX(0) !important;
}

/* ==========================================================================
   HueBen: 2. HERO SLIDER SECTION (Chiều cao co giãn tự nhiên 100% theo hình ảnh)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    background: #f0f7ff;
    overflow: hidden;
    width: 100%;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-areas: "slide";
    overflow: hidden;
}

.hero-slide-item {
    grid-area: slide;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s ease;
    z-index: 1;
}

    .hero-slide-item.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

.hero-slide-link {
    display: block;
    width: 100%;
    cursor: pointer;
}

.hero-slide-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slider Controls (Prev/Next & Dots) */
.slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

    .slider-arrow-btn:hover {
        background: #ffffff;
        color: var(--primary-light);
        transform: translateY(-50%) scale(1.08);
    }

    .slider-arrow-btn.prev {
        left: 20px;
    }

    .slider-arrow-btn.next {
        right: 20px;
    }

.slider-dots-wrap {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

    .slider-dot.active {
        width: 28px;
        border-radius: var(--radius-pill);
        background: var(--primary-light);
        box-shadow: 0 2px 6px rgba(0, 117, 225, 0.5);
    }

/* ==========================================================================
   HueBen: 3. FLOATING QUICK ACCESS ICONS (8 Thẻ Trắng Độc Lập Khớp 100% Ảnh Thiết Kế)
   ========================================================================== */
.floating-icons-section {
    position: relative;
    z-index: 10;
    padding: 24px 0 16px;
    margin-top: 0;
    margin-bottom: 8px;
}

.quick-cards-8-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.quick-action-card {
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    border-radius: 12px;
    padding: 22px 8px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 125px;
    box-shadow: 0 3px 10px rgba(15, 34, 109, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
}

    .quick-action-card:hover {
        border-color: var(--primary-light);
        background: #ffffff;
        box-shadow: 0 8px 22px rgba(22, 47, 146, 0.12);
        transform: translateY(-4px);
    }

.quick-card-icon {
    font-size: 30px;
    color: #162f92;
    margin-bottom: 12px;
    transition: all 0.25s ease;
    display: inline-block;
}

.quick-action-card:hover .quick-card-icon {
    color: var(--primary-light);
    transform: scale(1.12);
}

.quick-card-text {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    display: block;
}

/* ==========================================================================
   HueBen: 4. THÔNG BÁO (6 Thẻ Calendar Badge)
   ========================================================================== */
.announcements-6-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.announcement-box-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

    .announcement-box-card:hover {
        border-color: var(--primary-light);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

.cal-date-badge {
    background: #eff6ff;
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    text-align: center;
    flex-shrink: 0;
    min-width: 50px;
}

.cal-day-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.cal-month-txt {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
}

.announcement-text-content {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .announcement-text-content:hover {
        color: var(--primary-blue);
    }

/* ==========================================================================
   HueBen: 5. TIN TỨC MỚI CẬP NHẬT (Tabs + 1 Lớn + 4 Nhỏ)
   ========================================================================== */
.news-tabs-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.news-tab-btn, a.news-tab-btn {
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

    .news-tab-btn.active, .news-tab-btn:hover, a.news-tab-btn.active, a.news-tab-btn:hover {
        background: var(--primary-blue);
        color: #ffffff;
        border-color: var(--primary-blue);
        text-decoration: none;
    }

.news-showcase-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
}

.featured-big-news {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

    .featured-big-news:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

.big-news-photo {
    height: 240px;
    overflow: hidden;
}

    .big-news-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.featured-big-news:hover .big-news-photo img {
    transform: scale(1.04);
}

.big-news-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date-tag {
    color: var(--text-muted);
    font-size: 11.5px;
    margin-bottom: 6px;
}

.big-news-headline {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

    .big-news-headline:hover {
        color: var(--primary-blue);
    }

.news-right-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-news-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    align-items: center;
    transition: var(--transition);
}

    .mini-news-item:hover {
        border-color: var(--primary-light);
        box-shadow: var(--shadow-sm);
        transform: translateX(3px);
    }

.mini-news-thumb {
    width: 95px;
    height: 65px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
}

    .mini-news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.mini-news-body {
    display: flex;
    flex-direction: column;
}

.mini-news-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .mini-news-title:hover {
        color: var(--primary-blue);
    }

/* ==========================================================================
   HueBen: 6. VỀ TRƯỜNG ĐẠI HỌC ĐIỀU DƯỠNG NAM ĐỊNH (Khớp 100% Mockup)
   ========================================================================== */
.about-3col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 24px;
}

/* Col 1: Intro + Stats + Button */
.about-col-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-p-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 14px;
    text-align: justify;
}

.about-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 16px;
    text-align: center;
}

.about-num-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-stat-ico {
    font-size: 20px;
    color: #162f92;
    margin-bottom: 4px;
}

.num-big-val {
    font-size: 18px;
    font-weight: 800;
    color: #162f92;
    line-height: 1.1;
}

.num-sub-lbl {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 2px;
}

.btn-learn-more-dark {
    background: #0f226d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    transition: var(--transition);
}

    .btn-learn-more-dark:hover {
        background: var(--primary-blue);
        transform: translateX(2px);
    }

/* Col 2: 2x3 White Tiles */
.about-tiles-2x3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.about-action-tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 2px 6px rgba(15, 34, 109, 0.03);
    transition: all 0.25s ease;
    min-height: 84px;
    text-decoration: none;
}

    .about-action-tile:hover {
        border-color: var(--primary-light);
        box-shadow: 0 6px 16px rgba(22, 47, 146, 0.1);
        transform: translateY(-2px);
    }

.about-tile-ico {
    font-size: 24px;
    color: #162f92;
    margin-bottom: 6px;
    transition: var(--transition);
}

.about-action-tile:hover .about-tile-ico {
    color: var(--primary-light);
    transform: scale(1.1);
}

.about-tile-lbl {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

/* Col 3: Video Frame */
.about-video-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .about-video-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: #162f92;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

    .video-play-badge:hover {
        background: #ffffff;
        color: var(--primary-light);
        transform: translate(-50%, -50%) scale(1.12);
    }

/* 4 Feature Banners */
.four-banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.feature-banner-cell {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    padding: 0;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .feature-banner-cell:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
    }

    .feature-banner-cell img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }

    .feature-banner-cell:hover img {
        transform: scale(1.02);
    }

/* ==========================================================================
   HueBen: 7. HOẠT ĐỘNG KHOA HỌC CÔNG NGHỆ (4 Thẻ 1 Hàng Khớp 100% Mockup)
   ========================================================================== */
.science-4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.science-card-item {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 10px rgba(15, 34, 109, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

    .science-card-item:hover {
        border-color: var(--primary-light);
        transform: translateY(-4px);
        box-shadow: 0 8px 22px rgba(22, 47, 146, 0.12);
    }

.science-card-photo {
    height: 145px;
    overflow: hidden;
    width: 100%;
}

    .science-card-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.science-card-item:hover .science-card-photo img {
    transform: scale(1.05);
}

.science-card-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.science-date-meta {
    font-size: 11.5px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 400;
    display: block;
}

.science-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .science-card-title a {
        color: inherit;
        transition: var(--transition);
    }

        .science-card-title a:hover {
            color: #162f92;
        }

/* ==========================================================================
   HueBen: 8. THÔNG TIN TUYỂN SINH (Khớp 100% Mockup Thiết Kế)
   ========================================================================== */
.admissions-2col-layout {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 20px;
    align-items: stretch;
}

/* Cột trái: Danh sách 4 thẻ ngang */
.admissions-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}

.admissions-action-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(15, 34, 109, 0.03);
    transition: all 0.25s ease;
}

    .admissions-action-item:hover {
        border-color: var(--primary-light);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(22, 47, 146, 0.09);
    }

.adm-item-icon {
    font-size: 24px;
    color: #0075e1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    flex-shrink: 0;
}

.adm-item-content {
    flex-grow: 1;
}

.adm-item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.adm-item-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

.adm-item-btn {
    border: 1px solid #0075e1;
    color: #0075e1;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background: transparent;
    transition: var(--transition);
    text-decoration: none;
}

    .adm-item-btn:hover {
        background: #0075e1;
        color: #ffffff;
    }

/* Cột phải: Banner Poster Tuyển sinh (Chứa ảnh banner kèm liên kết) */
.admissions-feature-poster {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 34, 109, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    width: 100%;
    height: 100%;
    min-height: 280px;
    text-decoration: none;
}

    .admissions-feature-poster:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(22, 47, 146, 0.18);
    }

.admissions-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.admissions-feature-poster:hover .admissions-poster-img {
    transform: scale(1.02);
}

/* ==========================================================================
   HueBen: 9. KHOA - PHÒNG BAN (6 Thẻ 1 Hàng Khớp 100% Mockup)
   ========================================================================== */
.faculties-6-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.faculty-bubble-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 12px 20px;
    text-align: center;
    border: 1.5px solid #dbeafe;
    box-shadow: 0 3px 10px rgba(15, 34, 109, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 170px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

    .faculty-bubble-card:hover {
        border-color: var(--primary-light);
        transform: translateY(-4px);
        box-shadow: 0 8px 22px rgba(22, 47, 146, 0.12);
        background-color: #ffffff;
    }

.faculty-circle-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0075e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
    transition: all 0.25s ease;
}

.faculty-bubble-card:hover .faculty-circle-icon {
    background: #0075e1;
    color: #ffffff;
    transform: scale(1.1);
}

.faculty-card-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 6px;
}

.faculty-card-sub {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.35;
}

/* ==========================================================================
   HueBen: 10. VIDEO NỔI BẬT & HÌNH ẢNH HOẠT ĐỘNG (Khớp 100% Mockup)
   ========================================================================== */
.media-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Cột trái: Video nổi bật */
.video-dual-wrap {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 12px;
    height: 220px;
}

.video-main-featured {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-main-featured:hover .video-featured-img {
    transform: scale(1.05);
}

.video-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
}

.video-play-center {
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: #162f92;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.video-main-featured:hover .video-play-center {
    background: #ffffff;
    color: var(--primary-light);
    transform: scale(1.12);
}

.video-featured-caption {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 3 Video nhỏ xếp dọc */
.video-mini-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.video-mini-row {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

    .video-mini-row:hover .video-mini-title {
        color: #162f92;
    }

.video-mini-thumb {
    position: relative;
    width: 88px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

    .video-mini-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.video-mini-row:hover .video-mini-thumb img {
    transform: scale(1.08);
}

.video-mini-play {
    position: absolute;
    bottom: 4px;
    left: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.video-mini-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Cột phải: 6 Ảnh hoạt động */
.photos-6-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    height: 220px;
}

.photo-grid-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

    .photo-grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .photo-grid-item:hover img {
        transform: scale(1.06);
    }

/* ==========================================================================
   HueBen: 11. ĐỐI TÁC KHÁCH HÀNG (8 Logo Đối Tác Chuẩn Khung Trắng)
   ========================================================================== */
.partners-8-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.partner-logo-item {
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    box-shadow: 0 2px 6px rgba(15, 34, 109, 0.03);
    transition: all 0.25s ease;
    cursor: pointer;
}

    .partner-logo-item:hover {
        border-color: var(--primary-light);
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(22, 47, 146, 0.1);
    }

    .partner-logo-item img {
        max-width: 100%;
        max-height: 48px;
        width: auto;
        height: auto;
        object-fit: contain;
        filter: grayscale(10%);
        transition: filter 0.3s ease, transform 0.3s ease;
    }

    .partner-logo-item:hover img {
        filter: grayscale(0%);
        transform: scale(1.08);
    }

/* ==========================================================================
   HueBen: 12. FOOTER NDUN (Khớp 100% Mockup Thiết Kế)
   ========================================================================== */
.site-footer-ndun {
    background-color: #132b85;
    color: #ffffff;
    padding: 42px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-5col-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr 0.9fr 1.35fr;
    gap: 28px;
    align-items: start;
}

/* Col 1: Logo & Liên hệ */
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

    .footer-logo-row img {
        height: 48px;
        width: auto;
        object-fit: contain;
    }

.footer-logo-text {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .footer-contact-list li {
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.45;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

        .footer-contact-list li i {
            color: #60a5fa;
            font-size: 13px;
            margin-top: 2px;
            flex-shrink: 0;
        }

/* Col 2, 3, 4: Nav Lists */
.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .footer-nav-list li a {
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.2s ease;
        display: inline-block;
        line-height: 1.35;
    }

        .footer-nav-list li a:hover {
            color: #ffffff;
            transform: translateX(3px);
        }

/* Col 5: Newsletter & Social */
.footer-news-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
    margin-bottom: 12px;
}

.newsletter-form-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

    .newsletter-form-row input {
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 6px;
        padding: 8px 12px;
        color: #ffffff;
        font-size: 12px;
        flex-grow: 1;
        outline: none;
        transition: border-color 0.2s ease;
    }

        .newsletter-form-row input::placeholder {
            color: rgba(255, 255, 255, 0.65);
        }

        .newsletter-form-row input:focus {
            border-color: #60a5fa;
            background: rgba(255, 255, 255, 0.18);
        }

    .newsletter-form-row button {
        background: #0075e1;
        color: #ffffff;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        padding: 8px 16px;
        border-radius: 6px;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

        .newsletter-form-row button:hover {
            background: #0284c7;
            transform: translateY(-1px);
        }

.footer-social-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-social-label {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.social-icons-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    transition: all 0.25s ease;
    text-decoration: none;
}

    .social-icon-btn:hover {
        background: #0075e1;
        color: #ffffff;
        transform: translateY(-2px);
    }

    .social-icon-btn.zalo-btn {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: -0.2px;
    }

/* Bottom Copyright Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 28px;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-legal-row {
    display: flex;
    gap: 16px;
}

    .footer-legal-row a {
        color: rgba(255, 255, 255, 0.65);
        transition: color 0.2s ease;
    }

        .footer-legal-row a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* ==========================================================================
   HueBen: 13. TRANG CON (News List, News Detail, Contact, Admissions, Depts)
   ========================================================================== */

/* Hero Banner Tin tức - Sự kiện & Trang con (Nền hình ảnh Trường NDUN kết hợp dải màu xanh tinh tế) */
.news-hero-banner {
    background-color: #eff6ff;
    background-image: linear-gradient(90deg, rgba(239, 246, 255, 0.96) 0%, rgba(239, 246, 255, 0.9) 50%, rgba(239, 246, 255, 0.45) 100%), url('../images/truong ndun.png');
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding: 45px 0 40px;
    min-height: 220px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dbeafe;
}

.news-hero-container {
    display: block;
    width: 100%;
}

.news-hero-text {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.news-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 12px;
}

    .news-breadcrumb-nav a {
        color: #1e3a8a;
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .news-breadcrumb-nav a:hover {
            color: #0075e1;
        }

.news-hero-title {
    font-size: 36px;
    font-weight: 900;
    color: #162f92;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.news-hero-desc {
    font-size: 14.5px;
    color: #1e3a8a;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Tabs Chuyên mục */
.news-tabs-section {
    padding: 24px 0 16px;
    background: var(--bg-main);
}

.news-tabs-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.news-tab-item, a.news-tab-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .news-tab-item:hover, a.news-tab-item:hover {
        border-color: var(--primary-light);
        color: var(--primary-blue);
        text-decoration: none;
    }

    .news-tab-item.active, a.news-tab-item.active {
        background: #0f226d;
        color: #ffffff;
        border-color: #0f226d;
        box-shadow: 0 4px 12px rgba(15, 34, 109, 0.2);
    }

/* Layout 2 Cột Main */
.news-main-section {
    padding: 10px 0 50px;
    background: #ffffff;
}

.news-layout-2col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

/* 1. Bài viết lớn Tiêu điểm */
.featured-news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 20px;
    padding: 16px;
    box-shadow: 0 3px 10px rgba(15, 34, 109, 0.04);
    margin-bottom: 24px;
    transition: all 0.25s ease;
}

    .featured-news-card:hover {
        border-color: var(--primary-light);
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(22, 47, 146, 0.1);
    }

.featured-news-thumb {
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
}

    .featured-news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.featured-news-card:hover .featured-news-thumb img {
    transform: scale(1.05);
}

.featured-news-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 6px 4px 0;
}

.news-date-tag {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
    display: block;
}

.featured-news-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 6px 0 8px;
}

    .featured-news-title a {
        color: inherit;
        transition: color 0.2s ease;
    }

        .featured-news-title a:hover {
            color: #162f92;
        }

.featured-news-excerpt {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-readmore-link {
    color: #0075e1;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

    .news-readmore-link:hover {
        color: #162f92;
        transform: translateX(4px);
    }

/* 2. Lưới 9 bài viết (3x3 Grid) */
.news-cards-3x3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.news-grid-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15, 34, 109, 0.03);
    transition: all 0.25s ease;
}

    .news-grid-item:hover {
        border-color: var(--primary-light);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(22, 47, 146, 0.1);
    }

.news-item-thumb {
    height: 140px;
    overflow: hidden;
}

    .news-item-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.news-grid-item:hover .news-item-thumb img {
    transform: scale(1.06);
}

.news-item-body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.news-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 6px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px;
}

    .news-item-title a {
        color: inherit;
    }

        .news-item-title a:hover {
            color: #162f92;
        }

/* 3. Phân trang */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-num, .page-arrow {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .page-num:hover, .page-arrow:hover {
        border-color: #0075e1;
        color: #0075e1;
    }

    .page-num.active {
        background: #162f92;
        color: #ffffff;
        border-color: #162f92;
    }

.page-dots {
    color: #64748b;
    font-weight: 700;
    padding: 0 4px;
}

/* SIDEBAR STYLES */
.sidebar-block-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(15, 34, 109, 0.03);
    margin-bottom: 20px;
}

.sidebar-block-title {
    font-size: 16px;
    font-weight: 800;
    color: #162f92;
    margin-bottom: 14px;
    line-height: 1.2;
}

.mini-news-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-news-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

    .mini-news-row:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

.mini-news-thumb {
    width: 74px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

    .mini-news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.mini-news-info {
    flex-grow: 1;
}

.mini-news-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .mini-news-title a {
        color: inherit;
    }

        .mini-news-title a:hover {
            color: #0075e1;
        }

.mini-news-date {
    font-size: 11px;
    color: #94a3b8;
}

/* Widget 2: Thông báo (Date box) */
.notice-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notice-card-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

    .notice-card-row:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

.notice-date-box {
    background: #f0f7ff;
    /* border: 1px solid #dbeafe; */
    border-radius: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
}

    .notice-date-box .n-day {
        font-size: 16px;
        font-weight: 800;
        color: #162f92;
        line-height: 1;
    }

    .notice-date-box .n-month {
        font-size: 10.5px;
        font-weight: 600;
        color: #0075e1;
        line-height: 1;
        margin-top: 2px;
    }

.notice-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
}

    .notice-title a {
        color: inherit;
    }

        .notice-title a:hover {
            color: #162f92;
        }

/* Widget 3: Sidebar Poster Tuyển sinh */
.sidebar-admissions-poster {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 34, 109, 0.08);
    transition: transform 0.25s ease;
}

    .sidebar-admissions-poster:hover {
        transform: translateY(-3px);
    }

    .sidebar-admissions-poster img {
        width: 100%;
        height: auto;
        display: block;
    }

/* HueBen: Nút Back To Top - Cố định góc phải dưới, hiển thị mượt khi scroll */
#backToTop,
.back-to-top,
.back-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #162f92;
    color: #ffffff;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(15, 34, 109, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

    #backToTop.visible,
    .back-to-top.visible,
    .back-to-top-btn.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #backToTop:hover,
    .back-to-top:hover,
    .back-to-top-btn:hover {
        background: #0075e1;
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 117, 225, 0.45);
    }


/* ==========================================================================
   HueBen: CHI TIẾT BÀI BÁO (Article Detail & Related News)
   ========================================================================== */
.article-detail-container {
    /* background: #ffffff; */
    /* border-radius: 12px; */
    padding: 0px 0px 0px;
    /* border: 1px solid #e2e8f0; */
    /* box-shadow: 0 2px 8px rgba(15, 34, 109, 0.03); */
    /* margin-bottom: 30px; */
}

.detail-main-heading {
    font-size: 25px;
    font-weight: 800;
    color: #162f92;
    line-height: 1.35;
    margin-bottom: 12px;
}

.detail-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12.5px;
    color: #64748b;
}

.meta-left-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-sep {
    color: #cbd5e1;
}

.meta-share-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-weight: 600;
    color: #334155;
}

.share-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .share-btn:hover {
        background: #0075e1;
        color: #ffffff;
        transform: translateY(-2px);
    }

.article-lead-box {
    background: #f8fafc;
    /* border-left: 4px solid #0075e1; */
    border-radius: 5px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.detail-featured-photo {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

    .detail-featured-photo img {
        width: 100%;
        height: auto;
        display: block;
    }

.article-body-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: #334155;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    .article-body-text p {
        margin-bottom: 14px;
    }

    .article-body-text h2,
    .article-body-text h3,
    .article-body-text h4 {
        font-size: 16.5px;
        font-weight: 800;
        color: #0f172a;
        margin: 20px 0 10px;
        line-height: 1.35;
    }

    /* HueBen: Bảo vệ Responsive cho hình ảnh, video, iframe & bảng nhúng */
    .article-body-text img,
    .article-body-text iframe,
    .article-body-text video {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        display: block;
        margin: 12px auto;
    }

    .article-body-text table {
        max-width: 100% !important;
        width: 100% !important;
        border-collapse: collapse;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 14px 0;
    }

    .article-body-text table td,
    .article-body-text table th {
        padding: 8px 12px;
        border: 1px solid #e2e8f0;
    }

/* Bài viết liên quan (5 cột 1 hàng) */
.related-news-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.related-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #162f92;
    margin-bottom: 18px;
}

.related-news-5grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.related-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(15, 34, 109, 0.03);
    transition: all 0.25s ease;
}

    .related-card-item:hover {
        border-color: var(--primary-light);
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(22, 47, 146, 0.1);
    }

.related-card-thumb {
    height: 105px;
    overflow: hidden;
}

    .related-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.related-card-item:hover .related-card-thumb img {
    transform: scale(1.08);
}

.related-card-body {
    padding: 10px 10px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-card-date {
    font-size: 10.5px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.related-card-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

    .related-card-title a {
        color: inherit;
    }

        .related-card-title a:hover {
            color: #162f92;
        }


/* ==========================================================================
   HueBen: TRANG LIÊN HỆ (Contact Page - Match Mockup 100%)
   ========================================================================== */
.contact-hero-banner {
    background-color: #eff6ff;
    background-image: linear-gradient(90deg, rgba(239, 246, 255, 0.96) 0%, rgba(239, 246, 255, 0.9) 50%, rgba(239, 246, 255, 0.45) 100%), url('../images/truong ndun.png');
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 48px 0 85px;
    min-height: 220px;
    display: flex;
    align-items: flex-start;
    z-index: 1;
    border-bottom: 1px solid #dbeafe;
}

.contact-page-section {
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

/* 1. Hàng 5 Card thông tin liên hệ: kéo margin-top: -70px đè 50% lên banner */
.contact-top-cards-bar {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 35px rgba(15, 34, 109, 0.09);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 22px 10px;
    margin-top: -70px; /* Kéo lên 70px (50% chiều cao) đè lên chân banner */
    margin-bottom: 45px;
    position: relative;
    z-index: 30; /* Nổi đè lên trên banner */
}

.contact-top-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid #e2e8f0;
}

    .contact-top-item:last-child {
        border-right: none;
    }

.contact-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #162f92;
    font-size: 18px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.contact-top-item:hover .contact-icon-circle {
    background: #162f92;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-item-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.contact-item-text {
    font-size: 12px;
    color: #475569;
    line-height: 1.45;
    margin: 0;
}
/* 2. Phần giữa: Form 2 Cột */
.contact-middle-2col {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 50px;
}

.contact-tag-badge {
    font-size: 12px;
    font-weight: 800;
    color: #0075e1;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.dash-orange {
    color: #f59e0b;
    font-weight: 900;
}

.contact-form-heading {
    font-size: 26px;
    font-weight: 800;
    color: #162f92;
    margin-bottom: 22px;
}

.contact-custom-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-2col-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field-label {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.req-star {
    color: #ef4444;
}

.contact-custom-form input,
.contact-custom-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 13.5px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

    .contact-custom-form input:focus,
    .contact-custom-form textarea:focus {
        border-color: #0075e1;
        box-shadow: 0 0 0 3px rgba(0, 117, 225, 0.12);
    }

.contact-custom-form textarea {
    resize: vertical;
}

.contact-submit-btn {
    background: #162f92;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    width: fit-content;
    transition: all 0.2s ease;
    margin-top: 4px;
}

    .contact-submit-btn:hover {
        background: #0075e1;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 117, 225, 0.25);
    }

/* Card Hỗ trợ sinh viên bên phải */
.student-support-card {
    background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 28px 24px 0;
    overflow: hidden;
    border: 1px solid #dbeafe;
}

.support-card-title {
    font-size: 21px;
    font-weight: 800;
    color: #162f92;
    text-align: center;
    margin-bottom: 20px;
}

.support-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .support-check-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13.5px;
        color: #334155;
        font-weight: 600;
    }

        .support-check-list li i {
            color: #0075e1;
            font-size: 14px;
            flex-shrink: 0;
        }

.support-students-photo {
    width: 100%;
    margin-top: 10px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

    .support-students-photo img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        object-position: top center;
        display: block;
    }

/* 3. Phần dưới: Các thông tin phòng ban (5 Cột) */
.departments-info-section {
    margin-top: 10px;
}

.depts-section-heading {
    font-size: 24px;
    font-weight: 800;
    color: #162f92;
    margin-bottom: 22px;
}

.depts-5cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.dept-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 14px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 34, 109, 0.03);
    transition: all 0.25s ease;
}

    .dept-info-card:hover {
        border-color: var(--primary-light);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(22, 47, 146, 0.1);
    }

.dept-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #162f92;
    font-size: 18px;
    margin: 0 auto 12px;
    transition: all 0.25s ease;
}

.dept-info-card:hover .dept-icon-badge {
    background: #162f92;
    color: #ffffff;
}

.dept-card-name {
    font-size: 14.5px;
    font-weight: 800;
    color: #162f92;
    margin-bottom: 6px;
}

.dept-card-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 14px;
    min-height: 32px;
}

.dept-contact-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: #334155;
    margin-bottom: 5px;
}

    .dept-contact-line:last-child {
        margin-bottom: 0;
    }

    .dept-contact-line i {
        color: #162f92;
        font-size: 11px;
    }


/* ==========================================================================
   HueBen: VIDEO GALLERY PLAY BUTTONS
   ========================================================================== */
.video-featured-thumb,
.video-grid-thumb {
    position: relative;
}

.video-play-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #162f92;
    font-size: 15px;
    padding-left: 2px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    pointer-events: none;
}

.news-grid-item:hover .video-play-center-btn,
.featured-news-card:hover .video-play-center-btn {
    background: #0075e1;
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.15);
}


/* HueBen: Icon mũi tên xổ xuống cho Dropdown menu */
.nav-link-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-arrow-icon {
    font-size: 8.5px;
    color: #64748b;
    margin-left: 2px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.nav-item-dropdown:hover .nav-arrow-icon,
.nav-item-dropdown.open .nav-arrow-icon {
    transform: rotate(180deg);
    color: #162f92;
}

.nav-link-item:hover .nav-arrow-icon {
    color: #162f92;
}


/* ==========================================================================
   HueBen: BỘ CHỌN ĐA NGÔN NGỮ (Multi-Language Selector Dropdown)
   ========================================================================== */
.lang-selector-wrap {
    position: relative;
    display: inline-block;
}

.lang-selector-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

    .lang-selector-btn:hover,
    .lang-selector-wrap:hover .lang-selector-btn {
        background: rgba(255, 255, 255, 0.28);
        border-color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

.lang-chevron {
    font-size: 8px;
    transition: transform 0.25s ease;
}

.lang-selector-wrap:hover .lang-chevron,
.lang-selector-wrap.active .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 34, 109, 0.2);
    border: 1px solid #e2e8f0;
    padding: 6px;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1400;
}

    .lang-dropdown-menu::before {
        content: "";
        position: absolute;
        top: -10px;
        right: 0;
        left: 0;
        height: 10px;
    }

.lang-selector-wrap:hover .lang-dropdown-menu,
.lang-selector-wrap.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .lang-option-item:hover {
        background: #eff6ff;
        color: #162f92;
        transform: translateX(2px);
    }

    .lang-option-item.active {
        background: #dbeafe;
        color: #162f92;
        font-weight: 700;
    }

.flag-icon {
    font-size: 14px;
}

/* ==========================================================================
   HueBen: BOOTSTRAP 5.3 COMPATIBILITY LAYER
   ========================================================================== */
.container, .container-fluid, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
    width: 100%;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #0f172a;
    background-color: #f8fafc;
    margin: 0;
    line-height: 1.5;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: all 0.25s ease;
}

    a:hover {
        text-decoration: none !important;
    }

ul, ol {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    list-style: none !important;
}

p, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

.lang-selector-wrap .lang-dropdown-menu {
    display: block !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    min-width: 170px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(15, 34, 109, 0.2) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
    z-index: 1400 !important;
}

.lang-selector-wrap:hover .lang-dropdown-menu,
.lang-selector-wrap.active .lang-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
/* ==========================================================================
   HueBen: HERO SLIDER VỚI SWIPER.JS (Chuyển Động Cực Mượt & Touch Swipe)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f1f5f9;
}

.hero-swiper {
    width: 100%;
    height: auto;
}

    .hero-swiper .swiper-slide {
        width: 100%;
        display: flex;
    }

.hero-slide-link {
    display: block;
    width: 100%;
}

.hero-slide-img {
    width: 100%;
    height: auto;
    /* min-height: 240px;
  max-height: 480px; */
    object-fit: cover;
    display: block;
}

/* Nút mũi tên chuyển slide dạng tròn nổi 3D */
.hero-swiper-btn-prev,
.hero-swiper-btn-next {
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(15, 34, 109, 0.18) !important;
    color: #162f92 !important;
    font-size: 16px !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(-50%) !important;
    top: 50% !important;
    z-index: 20 !important;
}

    .hero-swiper-btn-prev::after,
    .hero-swiper-btn-next::after {
        display: none !important;
    }

.hero-swiper-btn-prev {
    left: 20px !important;
}

.hero-swiper-btn-next {
    right: 20px !important;
}

    .hero-swiper-btn-prev:hover,
    .hero-swiper-btn-next:hover {
        background: #162f92 !important;
        color: #ffffff !important;
        box-shadow: 0 6px 18px rgba(22, 47, 146, 0.35) !important;
        transform: translateY(-50%) scale(1.1) !important;
    }

/* Pagination Dots */
.hero-swiper-pagination {
    bottom: 16px !important;
    z-index: 20 !important;
}

    .hero-swiper-pagination .swiper-pagination-bullet {
        width: 24px !important;
        height: 6px !important;
        border-radius: 4px !important;
        background: rgba(255, 255, 255, 0.6) !important;
        opacity: 1 !important;
        transition: all 0.3s ease !important;
        margin: 0 4px !important;
    }

    .hero-swiper-pagination .swiper-pagination-bullet-active {
        background: #0075e1 !important;
        width: 38px !important;
    }

@media screen and (max-width: 768px) {
    .hero-swiper-btn-prev,
    .hero-swiper-btn-next {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }

    .hero-swiper-btn-prev {
        left: 10px !important;
    }

    .hero-swiper-btn-next {
        right: 10px !important;
    }

    .hero-slide-img {
        min-height: 180px;
        max-height: 260px;
    }
}

/* ==========================================================================
   HueBen: Ẩn thanh Google Translate mặc định, giữ giao diện sạch đẹp 100%
   ========================================================================== */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0px !important;
    position: static !important;
}

.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

.skiptranslate:not(.lang-selector-wrap) {
    display: none !important;
}

#google_translate_element {
    display: none !important;
}

/* ==========================================================================
   HueBen: Thư viện ảnh & Chi tiết Album ảnh (4 Cột Grid Chuẩn Responsive)
   ========================================================================== */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.gallery-photo-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 34, 109, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 34, 109, 0.12);
    border-color: #bfdbfe;
}

.gallery-photo-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: block;
    background: #f1f5f9;
    cursor: pointer;
}

.gallery-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-photo-card:hover .gallery-photo-thumb img {
    transform: scale(1.08);
}

.gallery-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(15, 34, 109, 0.85), transparent);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.gallery-photo-card:hover .gallery-photo-overlay {
    opacity: 1;
}

.gallery-photo-overlay i {
    font-size: 14px;
}

.gallery-photo-caption {
    padding: 14px 16px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.gallery-photo-caption .photo-title {
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.gallery-photo-caption .photo-title a {
    color: #1e293b;
    text-decoration: none;
}

.gallery-photo-card:hover .photo-title,
.gallery-photo-card:hover .photo-title a {
    color: #0075e1;
}

@media (max-width: 1199px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .gallery-photo-thumb {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .photo-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .gallery-photo-thumb {
        height: 210px;
    }
}

/* HueBen: Video Play Button & Modal Styles cho Thư viện Video */
.gallery-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(15, 34, 109, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.85);
    z-index: 2;
}

.gallery-photo-card:hover .gallery-video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: #0075e1;
    border-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 117, 225, 0.5);
}

.video-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-dialog {
    width: 100%;
    max-width: 860px;
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.video-modal-backdrop.show .video-modal-dialog {
    transform: scale(1);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 15px;
}

.video-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s ease;
}

.video-modal-close:hover {
    color: #ffffff;
}

.video-modal-body {
    padding: 0;
    background: #000000;
}

.video-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

