/* ==========================================================================
   MODERN UI DESIGN SYSTEM - ĐẢNG BỘ ĐẠI HỌC KINH TẾ TP. HỒ CHÍ MINH (UEH)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
    --primary-red: #ba1218;
    --primary-red-dark: #8c0d12;
    --primary-red-light: #fef2f2;
    --primary-blue: #005395;
    --primary-blue-dark: #003866;
    --primary-blue-light: #f0f7fc;
    --accent-gold: #d4af37;
    --accent-gold-dark: #b89020;
    --accent-gold-light: #fdfaf0;
    --text-main: #1f2937;
    --text-title: #111827;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-page: #e8ecf1;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --border-dark: #d1d5db;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    right: calc(50% + 650px);
    width: 50vw;
    background: url('../../images/background/bg-footer-left.jpg') right center no-repeat;
    background-size: auto;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: calc(50% + 650px);
    width: 50vw;
    background: url('../../images/background/bg-footer-right.jpg') left center no-repeat;
    background-size: auto;
    z-index: -1;
}

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

body {
    background-color: var(--bg-page);
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}



a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-red);
}

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

/* ==========================================================================
   PAGE WRAPPER (1300px)
   ========================================================================== */
#mainstyle {
    width: 1300px !important;
    max-width: 1300px !important;
    /* margin: 15px auto 30px auto !important; */
    background: rgba(255, 255, 255, 0.85) !important;
    /* border-radius: var(--radius-lg); */
    box-shadow: 0 10px 35px rgba(0, 35, 75, 0.12);
    overflow: hidden;
    /* border: 1px solid rgba(0, 83, 149, 0.12); */
    padding: 0 !important;
}

/* ==========================================================================
   HEADER SECTION & BRANDING
   ========================================================================== */
#top {
    width: 100% !important;
    height: auto !important;
    padding: 10px 20px 15px 20px !important;
    background: #ffffff;
}

#top_menu {
    width: 100% !important;
    height: 35px !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding-bottom: 5px !important;
}

#langText {
    width: auto !important;
    float: none !important;
    text-align: right !important;
    margin-left: auto !important;
    font-size: 13px !important;
    color: var(--primary-blue) !important;
    padding: 0 !important;
}

#langText a {
    color: var(--primary-blue) !important;
    font-weight: 600;
    margin: 0 4px;
}

#langText a:hover {
    color: var(--primary-red) !important;
}

#topSearch {
    position: relative !important;
    float: none !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    margin: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px !important;
    padding: 2px 8px !important;
    background: #f8fafc;
    display: flex !important;
    align-items: center !important;
}

.searchBox {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    width: 150px !important;
    color: var(--text-main) !important;
}

.searchBTN {
    background: url("../images/searchbtn.png") no-repeat center center transparent !important;
    border: none !important;
    cursor: pointer;
    width: 28px !important;
    height: 24px !important;
}

.top-search-wrap {
    width: 200px;
    float: left;
}

#top_text_banner {
    width: 100% !important;
    height: auto !important;
    margin-top: 6px;
}

.text_name_ueh {
    width: 100% !important;
    float: none !important;
}

.banner-top-hochiminh {
    width: 100%;
}

.banner-bac-ho-img {
    height: 100px;
    width: auto;
    display: block;
}

.header-brand-row {
    display: flex;
    align-items: center;
    background: #ffffff;
}

.banner-cpv-wrap {
    flex: 1;
    min-width: 0;
}

.banner-cpv-img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 15px;
}

.logo-ueh-img {
    height: 75px !important;
    width: auto !important;
    object-fit: contain;
}

.logo-50-img {
    height: 75px !important;
    width: auto !important;
    object-fit: contain;
}

.logo-div {
    width: 1px;
    height: 65px;
    background-color: #cbd5e1;
}

/* ==========================================================================
   NAVIGATION BAR & SEARCH
   ========================================================================== */
.main-nav-bar {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    box-shadow: 0 4px 12px rgba(186, 18, 24, 0.25);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    z-index: 100;
}

.nav-mobile-toggle {
    display: none;
}

/* Home Button */
.nav-home-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: linear-gradient(135deg, #a00f14 0%, #7d0b0f 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.nav-home-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-gold);
}

.nav-home-btn:hover {
    background: linear-gradient(135deg, #870b0f 0%, #68080c 100%);
    color: var(--accent-gold) !important;
}

/* Menu List */
.nav-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.nav-menu-item {
    position: relative;
}

.nav-menu-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 16px;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all var(--transition-fast);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
}

.nav-menu-link:hover,
.nav-menu-item:hover>.nav-menu-link {
    background: rgba(0, 0, 0, 0.2);
    color: var(--accent-gold) !important;
}

.nav-menu-link .arrow-icon {
    font-size: 10px;
    opacity: 0.8;
    transition: transform var(--transition-fast);
}

.nav-menu-item:hover>.nav-menu-link .arrow-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border-top: 3px solid var(--accent-gold);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.nav-menu-item:hover>.nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-title);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: all var(--transition-fast);
}

.nav-dropdown li:last-child a {
    border-bottom: none;
}

.nav-dropdown li a:hover {
    background: var(--primary-blue-light);
    color: var(--primary-blue);
    padding-left: 23px;
}

/* Sub-items tree branch styling */
.nav-dropdown li.is-child {
    position: relative;
}

.nav-dropdown li.is-child::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    height: 1.5px;
    background: #cbd5e1;
    transition: all 0.2s ease;
    z-index: 1;
}

.nav-dropdown li.is-child.depth-2::before {
    width: 14px;
}

.nav-dropdown li.is-child.depth-3::before {
    width: 26px;
}

.nav-dropdown li.is-child.depth-4::before {
    width: 38px;
}

.nav-dropdown .tree-branch-symbol {
    font-family: Consolas, "Courier New", monospace;
    color: #94a3b8;
    margin-right: 5px;
    font-size: 11.5px;
    font-weight: 600;
    opacity: 0.8;
}

.nav-dropdown li.is-child a {
    font-size: 12.5px;
    color: #4b5563;
    position: relative;
}

.nav-dropdown li.is-child a:hover {
    color: var(--primary-blue);
    background: rgba(0, 95, 105, 0.05);
}

.nav-dropdown li.is-child:hover::before,
.nav-dropdown li.is-child.active::before {
    background: var(--accent-gold, #f59e0b);
}

.nav-dropdown li.is-child a:hover .tree-branch-symbol {
    color: var(--primary-blue);
    opacity: 1;
}

.nav-dropdown li.is-child.active a {
    color: var(--primary-blue);
    font-weight: 600;
    background: rgba(0, 95, 105, 0.08);
}

.nav-dropdown li.is-child.active .tree-branch-symbol {
    color: var(--primary-blue);
    opacity: 1;
}

/* Search Area on Nav */
.nav-search-box {
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.nav-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 3px 6px 3px 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nav-search-input {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 12.5px;
    width: 140px;
    color: var(--text-main);
    transition: width 0.3s ease;
}

.nav-search-input:focus {
    width: 180px;
}

.nav-search-btn {
    background: var(--primary-red);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: background var(--transition-fast);
}

.nav-search-btn:hover {
    background: var(--primary-blue);
}

/* ==========================================================================
   HOT NEWS TICKER
   ========================================================================== */
.hot-ticker-wrap {
    display: flex;
    align-items: center;
    background: #fff8f0;
    border-bottom: 1px solid #fed7aa;
    padding: 8px 20px;
    gap: 12px;
    font-size: 13px;
}

.hot-ticker-badge {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hot-ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.hot-ticker-content marquee {
    color: #9a3412;
    font-weight: 600;
}

/* ==========================================================================
   HERO BANNER SLIDER
   ========================================================================== */
.hero-slider-section {
    padding: 18px 20px 0 20px;
}

.modern-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #0f172a;
    user-select: none;
    cursor: grab;
}

.modern-slider-container.is-dragging {
    cursor: grabbing;
}

.modern-slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.modern-slides-wrapper.no-transition {
    transition: none !important;
}

.modern-slide-item {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.modern-slide-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.modern-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.modern-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    color: #ffffff;
    padding: 30px 25px 15px 25px;
    font-size: 15px;
    font-weight: 600;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    backdrop-filter: blur(4px);
    transition: all var(--transition-fast);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    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.5);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--accent-gold);
}

/* ==========================================================================
   TOP 3-COLUMN SECTION (TIÊU ĐIỂM | TIN TỨC - SỰ KIỆN | 3 THUMBNAIL TUYÊN TRUYỀN)
   ========================================================================== */
.top-three-col-section {
    padding: 12px 20px 20px 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) 260px;
    gap: 12px;
    align-items: stretch;
}

/* Common Card Box */
.section-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Section Box Header */
.box-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: #ffffff;
    padding: 9px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--accent-gold);
}

.box-header .box-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-header .box-title .star-icon {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.box-header .header-star-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.box-header a.more-link {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    opacity: 0.9;
    transition: color var(--transition-fast);
}

.box-header a.more-link:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* ==================== CỘT 1: TIÊU ĐIỂM ==================== */
.col-focus-news {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.focus-news-body {
    padding: 11px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 8px;
}

/* Phần tin chính trên: Slider 5 tin tiêu điểm */
.focus-main-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-sm);
    user-select: none;
    cursor: grab;
    background: transparent;
}

.focus-main-slider-wrapper.is-dragging {
    cursor: grabbing;
}

.focus-slides-track {
    display: flex;
    width: 100%;
    transition: transform 0.42s cubic-bezier(0.25, 1, 0.5, 1);
}

.focus-slides-track.no-transition {
    transition: none !important;
}

.focus-slide-item {
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.focus-main-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.focus-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.focus-slide-item:hover .focus-main-img-wrap img {
    transform: scale(1.03);
}

.focus-tag-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.focus-main-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.focus-main-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.38;
    color: var(--text-title);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.focus-slide-item:hover .focus-main-title {
    color: var(--primary-red);
}

.focus-main-desc {
    font-size: 12.8px;
    color: var(--text-muted);
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 0;
}

.focus-main-date {
    font-size: 11.5px;
    color: var(--text-light);
    font-weight: 500;
}

/* Nút bấm Prev/Next cho Main Slider */
.focus-slider-btn {
    position: absolute;
    top: 26%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    z-index: 6;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    opacity: 0;
}

.focus-main-slider-wrapper:hover .focus-slider-btn {
    opacity: 1;
}

.focus-slider-btn.prev {
    left: 8px;
}

.focus-slider-btn.next {
    right: 8px;
}

.focus-slider-btn:hover {
    background: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}



/* 2 tin phụ chia 2 cột cố định bên dưới */
.focus-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.focus-sub-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.focus-sub-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.focus-sub-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.focus-sub-card:hover .focus-sub-img-wrap img {
    transform: scale(1.05);
}

.focus-sub-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.focus-sub-title {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-title);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.focus-sub-card:hover .focus-sub-title {
    color: var(--primary-red);
}

.focus-sub-date {
    font-size: 11px;
    color: var(--text-light);
}

/* ==================== CỘT 2: TIN TỨC - SỰ KIỆN ==================== */
.col-latest-news {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.latest-5-list {
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.latest-5-list::-webkit-scrollbar {
    width: 5px;
}

.latest-5-list::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}

.latest-5-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background var(--transition-fast);
}

.latest-5-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

.latest-5-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 4px;
    border-bottom: 1px dashed #e2e8f0;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), padding var(--transition-fast);
    flex: 1;
}

.latest-5-item:last-child {
    border-bottom: none;
}

.latest-5-item:hover {
    background: #f8fafc;
    padding-left: 6px;
}

.latest-5-thumb {
    display: block;
    width: 78px;
    height: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.latest-5-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.latest-5-item:hover .latest-5-thumb img {
    transform: scale(1.08);
}

.latest-5-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.latest-5-title {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-title);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.latest-5-item:hover .latest-5-title {
    color: var(--primary-red);
}

.latest-5-date {
    font-size: 11px;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==================== CỘT 3: 3 THUMBNAIL TUYÊN TRUYỀN ==================== */
.fixed-propaganda-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-height: 0;
}

.propaganda-thumb-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-width: 100%;
}

.propaganda-thumb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-gold);
}

.propaganda-thumb-card img {
    width: 100%;
    flex: 1;
    height: 100%;
    min-height: 120px;
    max-height: 175px;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

.propaganda-thumb-card:hover img {
    transform: scale(1.05);
}

.propaganda-thumb-label {
    padding: 8px 10px;
    background: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    border-top: 2px solid var(--primary-red);
    line-height: 1.3;
    min-height: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.propaganda-thumb-card:hover .propaganda-thumb-label {
    color: var(--primary-red);
}

/* ==========================================================================
   BANNER KHẨU HIỆU ĐẠI HỘI ĐẢNG BỘ UEH
   ========================================================================== */
.slogan-banner-section {
    padding: 0 20px 20px 20px;
}

.slogan-banner-card {
    background: linear-gradient(135deg, #9b0b10 0%, #c0141b 50%, #85080c 100%);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-md);
    padding: 16px 25px;
    box-shadow: 0 6px 20px rgba(186, 18, 24, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.slogan-banner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.slogan-sub-title {
    color: #fef08a;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
}

.slogan-main-text {
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-family: 'Montserrat', sans-serif;
}

.slogan-sub-text {
    color: #fef3c7;
    font-size: 13.5px;
    font-weight: 500;
    font-style: italic;
}

.slogan-banner-img-link,
.slogan-banner-text-link {
    display: block;
    text-decoration: none;
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.slogan-banner-img-link:hover,
.slogan-banner-text-link:hover {
    transform: translateY(-2px);
}

.slogan-banner-img {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

/* ==========================================================================
   6 CHUYÊN MỤC TIN TỨC (2 HÀNG X 3 CỘT)
   ========================================================================== */
.category-grid-section {
    padding: 0 20px 25px 20px;
}

.category-grid-2x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cat-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.cat-header {
    background: #f8fafc;
    border-bottom: 2px solid var(--primary-red);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-title-icon {
    width: 6px;
    height: 16px;
    background: var(--primary-red);
    border-radius: 2px;
}

.cat-title-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
}

.cat-more-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.cat-more-btn:hover {
    color: var(--primary-red);
}

.cat-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.cat-featured-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.cat-featured-thumb {
    display: block;
    width: 105px;
    height: 75px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

.cat-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-fast);
}

.cat-featured-item:hover .cat-featured-thumb img {
    transform: scale(1.06);
}

.cat-featured-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cat-featured-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.38;
    color: var(--text-title);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cat-featured-item:hover .cat-featured-title {
    color: var(--primary-red);
}

.cat-date {
    font-size: 11px;
    color: var(--text-muted);
}

.cat-sub-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.cat-sub-links li {
    font-size: 13px;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.cat-sub-links li::before {
    content: "•";
    color: var(--primary-red);
    font-size: 14px;
    flex-shrink: 0;
}

.cat-sub-links li a {
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

.cat-sub-links li a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* ==========================================================================
   KHÔNG GIAN VĂN HÓA HỒ CHÍ MINH SỐ
   ========================================================================== */
.hcm-space-section {
    padding: 0 20px 25px 20px;
    width: 100%;
    box-sizing: border-box;
}

.hcm-space-wrapper {
    background: linear-gradient(to bottom, #fffcf5 0%, #ffffff 100%);
    border: 2px solid #ecdca8;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.hcm-space-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.hcm-space-header::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-red), var(--accent-gold));
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

.hcm-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #950c11 100%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 25px;
    border-radius: 30px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(186, 18, 24, 0.2);
}

/* 3 Cột Bài Viết Chuyên Mục HCM */
.hcm-articles-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 22px;
    width: 100%;
    min-width: 0;
}

.hcm-article-box {
    background: #ffffff;
    border: 1px solid #f0e6cb;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.hcm-article-header {
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 8px;
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hcm-featured-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 6px;
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.hcm-featured-img {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 145px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fdfaf0;
    flex-shrink: 0;
    box-sizing: border-box;
    min-width: 0;
}

.hcm-featured-img img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hcm-featured-card:hover .hcm-featured-img img {
    transform: scale(1.04);
}

.hcm-featured-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.hcm-featured-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-title);
    transition: color var(--transition-fast);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.hcm-featured-card:hover .hcm-featured-title {
    color: var(--primary-blue);
}

.hcm-featured-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* 4 Thumbnail Tuyên Truyền (Slider / 4-card Grid) */
.hcm-propaganda-slider-wrap {
    border-top: 1px dashed #d5c392;
    padding-top: 16px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.hcm-propaganda-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
    min-width: 0;
}

.hcm-promo-card {
    background: #ffffff;
    border: 1px solid #e2d7ba;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.hcm-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-red);
}

.hcm-promo-img-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 115px;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
    min-width: 0;
}

.hcm-promo-img-wrap img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hcm-promo-card:hover .hcm-promo-img-wrap img {
    transform: scale(1.06);
}

.hcm-promo-title {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    line-height: 1.3;
    background: #ffffff;
    border-top: 2px solid var(--accent-gold);
}

.hcm-promo-card:hover .hcm-promo-title {
    color: var(--primary-red);
}

/* ==========================================================================
   FOOTER (3 CỘT HIỆN ĐẠI - MÀU UEH #005f69)
   ========================================================================== */
.site-footer {
    background: #005f69;
    color: #e6f4f6;
    border-top: 4px solid var(--primary-red);
}

.footer-top-grid {
    padding: 30px 25px 25px 25px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
}

.footer-col-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent-gold);
}

/* Footer Col 1: Logo & Liên hệ */
.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    filter: brightness(1.2);
}

.footer-org-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
}

.footer-contact-info {
    font-size: 13px;
    line-height: 1.7;
    color: #d1ecf1;
}

.footer-contact-info strong {
    color: #ffffff;
}

/* Footer Col 2: Liên kết Text */
.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-list li a {
    color: #d1ecf1;
    font-size: 13px;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list li a::before {
    content: "›";
    color: var(--accent-gold);
    font-size: 16px;
    line-height: 1;
}

.footer-links-list li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Footer Col 3: 3 Dropdown Lists */
.footer-dropdowns-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-select-wrap {
    position: relative;
}

.footer-select-wrap label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #fef08a;
    margin-bottom: 4px;
}

.footer-select {
    width: 100%;
    padding: 9px 12px;
    background: #004b53;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: inherit;
    font-size: 12.5px;
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.footer-select:focus {
    border-color: var(--accent-gold);
}

.footer-select option {
    background: #005f69;
    color: #ffffff;
}

/* Bottom Copyright */
.footer-bottom-bar {
    background: #004b53;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 25px;
    text-align: center;
    font-size: 12px;
    color: #b2dfe5;
}

/* ==========================================================================
   INNER PAGES STYLING (Tương thích các trang Giới thiệu, Tổ chức, Văn bản...)
   ========================================================================== */
#leftcolumn {
    float: left !important;
    width: 290px !important;
    margin: 20px 0 25px 20px !important;
}

#main {
    margin-left: 330px !important;
    padding: 20px 25px 40px 10px !important;
    min-height: 550px !important;
    width: auto !important;
    float: none !important;
}

#main_plan {
    padding: 25px 30px 40px 30px !important;
    min-height: 550px !important;
    width: auto !important;
    float: none !important;
}

.left_01 {
    width: 100% !important;
    float: none !important;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    margin-bottom: 20px !important;
}

.left_title_01 {
    width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.4 !important;
    float: none !important;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%) !important;
    color: #ffffff !important;
    padding: 13px 18px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid var(--accent-gold) !important;
    text-indent: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

.left_body_01 {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    float: none !important;
    padding: 4px 0 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.left_body_01>div {
    width: 100% !important;
    float: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.left_body_01>div:last-child {
    border-bottom: none !important;
}

.menuleft {
    display: block !important;
    width: 100% !important;
    padding: 11px 18px 11px 30px !important;
    color: var(--primary-blue) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    text-indent: 0 !important;
    background: url("../images/arrow_01.png") 12px center no-repeat !important;
    transition: all var(--transition-fast) !important;
    box-sizing: border-box !important;
}

.menuleft:hover {
    background-color: var(--primary-blue-light) !important;
    color: var(--primary-red) !important;
    padding-left: 36px !important;
    background-position: 16px center !important;
}

.left_title_02 {
    width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.4 !important;
    float: none !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%) !important;
    color: #ffffff !important;
    padding: 13px 18px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid var(--accent-gold) !important;
    text-indent: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

.left_body_02 {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    float: none !important;
    padding: 8px 12px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.title_plan,
.title_home {
    width: 100% !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
    float: none !important;
}

.title_plan::after,
.title_home::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
}

.body_text_plan,
.body_text {
    width: 100% !important;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-main);
    float: none !important;
}

.info_link_plan,
.info_link_document,
.link_web,
.linkinvest,
a.namelink,
.namelink {
    display: inline-block !important;
    float: none !important;
    color: var(--primary-blue);
    font-weight: 500;
    padding: 5px 0;
    transition: color var(--transition-fast);
}

.info_link_plan:hover,
.info_link_document:hover,
.link_web:hover,
.linkinvest:hover,
a.namelink:hover,
.namelink:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* Pagination */
.page_class {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 25px;
}

.number_page a,
.current_page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.number_page a {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.number_page a:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

.current_page {
    background: var(--primary-red);
    color: #ffffff;
    border: 1px solid var(--primary-red);
}

/* ==========================================================================
   MODERN DOCUMENT & REGULATION SYSTEM (HỆ THỐNG VĂN BẢN - BIỂU MẪU)
   ========================================================================== */
.doc-system-container {
    width: 100%;
    padding: 10px 0 20px 0;
}

.doc-system-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #005395;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.doc-system-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-red));
    border-radius: 2px;
}

/* Search / Filter Card (Khung Tìm Kiếm) */
.doc-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.doc-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    margin-bottom: 20px;
}

.doc-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-filter-field label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.doc-filter-field input[type="text"],
.doc-filter-field input[type="date"],
.doc-filter-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13.5px;
    color: #1e293b;
    background: #ffffff;
    transition: all var(--transition-fast);
    outline: none;
    box-sizing: border-box;
}

.doc-filter-field input::placeholder {
    color: #94a3b8;
}

.doc-filter-field input:focus,
.doc-filter-field select:focus {
    border-color: #005395;
    box-shadow: 0 0 0 3px rgba(0, 83, 149, 0.12);
}

.doc-filter-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.doc-btn-search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ba1218;
    color: #ffffff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 26px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 6px rgba(186, 18, 24, 0.25);
}

.doc-btn-search:hover {
    background: #8c0d12;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(186, 18, 24, 0.35);
}

.doc-btn-reset {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    background: #ffffff;
    color: #ba1218;
    border: 1px solid #ba1218;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.doc-btn-reset:hover {
    background: #fef2f2;
    color: #8c0d12;
    border-color: #8c0d12;
}

/* Document Table Card (Bảng Danh Sách Văn Bản) */
.doc-table-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.doc-table thead th {
    background: #f1f5f9;
    color: #1e293b;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 12px;
    border-bottom: 2px solid #cbd5e1;
    letter-spacing: 0.3px;
}

.doc-table tbody td {
    padding: 13px 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.doc-table tbody tr:hover {
    background: #f8fafc;
}

.col-so-hieu {
    text-align: center;
    font-weight: 600;
    color: #334155;
    font-size: 12.5px;
}

.col-the-loai {
    text-align: center;
}

.doc-type-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f0f7fc;
    color: #005395;
    border: 1px solid #bae6fd;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.col-ngay-ban-hanh {
    text-align: center;
    color: #64748b;
    font-size: 12.5px;
    white-space: nowrap;
}

.col-trich-yeu {
    text-align: left;
}

.doc-title-link {
    color: #0f172a;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.5;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.doc-title-link:hover {
    color: #005395;
    text-decoration: underline;
}

.col-dinh-kem,
.col-tai-xuong {
    text-align: center;
}

.doc-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.doc-action-btn.view-btn {
    background: #f0f7fc;
    color: #005395;
}

.doc-action-btn.view-btn:hover {
    background: #005395;
    color: #ffffff;
    transform: scale(1.1);
}

.doc-action-btn.download-btn {
    background: #fef2f2;
    color: #ba1218;
}

.doc-action-btn.download-btn:hover {
    background: #ba1218;
    color: #ffffff;
    transform: scale(1.1);
}

.doc-action-btn.disabled {
    background: #f1f5f9;
    color: #cbd5e1;
    cursor: not-allowed;
}

.doc-empty-state {
    padding: 50px 20px;
    text-align: center;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.doc-empty-state svg {
    color: #cbd5e1;
}

.doc-empty-state p {
    font-size: 14px;
    font-weight: 500;
}

/* Document Pagination */
.doc-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
}

.doc-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.doc-page-btn:hover {
    background: #005395;
    color: #ffffff;
    border-color: #005395;
}

.doc-page-btn.active {
    background: #ba1218;
    color: #ffffff;
    border-color: #ba1218;
    cursor: default;
}

/* Document Detail View (Trang Chi Tiết Văn Bản) */
.doc-detail-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flow-root;
    width: 100%;
    box-sizing: border-box;
    clear: both;
}

.doc-detail-back {
    margin-bottom: 16px;
}

.btn-doc-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #005395;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-doc-back:hover {
    color: #ba1218;
    transform: translateX(-3px);
}

.doc-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 16px;
    border-bottom: 2px solid #ba1218;
    padding-bottom: 12px;
}

.doc-detail-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 18px;
    margin-bottom: 24px;
    font-size: 13px;
}

.doc-meta-item strong {
    color: #334155;
    font-weight: 700;
}

.doc-meta-item span {
    color: #005395;
    font-weight: 600;
}

.doc-meta-item.file-download {
    margin-left: auto;
}

.btn-download-file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ba1218;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-fast);
}

.btn-download-file:hover {
    background: #8c0d12;
}

.doc-detail-body {
    font-size: 14.5px;
    line-height: 1.8;
    color: #1e293b;
    margin-bottom: 25px;
}

.doc-pdf-viewer-wrap {
    margin-top: 20px;
    margin-bottom: 25px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}

.doc-pdf-header {
    background: #f1f5f9;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    border-bottom: 1px solid #cbd5e1;
}

.btn-pdf-external {
    font-size: 12px;
    color: #005395;
    font-weight: 600;
    text-decoration: none;
}

.btn-pdf-external:hover {
    color: #ba1218;
    text-decoration: underline;
}

.doc-pdf-iframe {
    width: 100%;
    height: 850px;
    display: block;
    background: #525659;
}

.doc-attachment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 25px;
}

.doc-attachment-card svg {
    color: #005395;
    flex-shrink: 0;
}

.doc-attachment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.doc-attachment-info strong {
    font-size: 14px;
    color: #1e293b;
}

.doc-attachment-info span {
    font-size: 12.5px;
    color: #64748b;
}

/* Related Documents & Articles */
.doc-related-section {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    clear: both;
    width: 100%;
    box-sizing: border-box;
}

.doc-related-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-related-header svg {
    color: var(--primary-red);
}

.doc-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-related-list li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.doc-related-link {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--text-title);
    font-size: 13.5px;
    line-height: 1.5;
    padding: 7px 12px;
    border-radius: 6px;
    transition: all var(--transition-fast);
    text-decoration: none;
    background: #fafbfc;
    border: 1px solid #f1f5f9;
}

.doc-related-link:hover {
    background: #ffffff;
    color: var(--primary-red);
    border-color: #cbd5e1;
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.doc-related-icon {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

.doc-related-text {
    flex: 1;
    font-weight: 500;
}

.doc-related-date {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    margin-left: 10px;
}

/* ==========================================================================
   MODERN WORKFLOW FLOWCHART & STEPPER (NGHIỆP VỤ CÔNG TÁC ĐẢNG)
   ========================================================================== */
.profess-workflow-container {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Header Card */
.workflow-header-card {
    background: linear-gradient(135deg, #005395 0%, #003866 100%);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 83, 149, 0.18);
    position: relative;
}

.workflow-badge {
    display: inline-block;
    background: var(--primary-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.workflow-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.workflow-desc {
    font-size: 13.5px;
    color: #e0f2fe;
    line-height: 1.5;
}

/* Vertical Steps Track (Sơ đồ các bước) */
.workflow-steps-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding-left: 20px;
}

.workflow-steps-track::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 45px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-red), var(--primary-blue), var(--accent-gold));
    border-radius: 2px;
    z-index: 1;
}

.workflow-step-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
    transition: all var(--transition-fast);
}

.workflow-step-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(0, 83, 149, 0.12);
    border-color: var(--primary-blue);
}

.step-num-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(186, 18, 24, 0.25);
    flex-shrink: 0;
    border: 2px solid #ffffff;
}

.step-num-badge span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
}

.step-num-badge strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
}

.step-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.step-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.step-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-main);
    margin: 0;
}

.step-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.step-role-tag,
.step-time-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.step-role-tag {
    background: #f0f7fc;
    color: var(--primary-blue);
    border: 1px solid #bae6fd;
}

.step-time-tag {
    background: #fff8eb;
    color: #b45309;
    border: 1px solid #fed7aa;
}

/* Forms Section (Biểu mẫu tải về) */
.workflow-forms-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
}

.workflow-forms-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-gold);
}

.workflow-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.form-download-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 16px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.form-download-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 83, 149, 0.12);
    transform: translateY(-2px);
}

.form-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-icon-wrap.word-icon {
    background: #eff6ff;
    color: #2563eb;
}

.form-icon-wrap.pdf-icon {
    background: #fef2f2;
    color: #dc2626;
}

.form-label-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.form-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.form-download-card:hover .form-name {
    color: var(--primary-blue);
}

.form-action-hint {
    font-size: 11.5px;
    color: #94a3b8;
}

.form-download-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.form-download-card:hover .form-download-btn {
    background: var(--primary-blue);
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (TABLET & MOBILE) - GIỮ NGUYÊN DESKTOP > 1024px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LAPTOP / MEDIUM SCREENS (<= 1320px)
   -------------------------------------------------------------------------- */
@media (max-width: 1320px) {
    #mainstyle {
        width: 96% !important;
        max-width: 1300px !important;
        margin: 12px auto 25px auto !important;
    }

    .top-three-col-section {
        grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.88fr) 240px;
        gap: 15px;
        padding: 16px;
    }

    .category-grid-2x3 {
        gap: 15px;
    }

    .hcm-articles-3col {
        gap: 15px;
    }

    .footer-top-grid {
        gap: 20px;
        padding: 25px 20px 20px 20px;
    }
}

@media (max-width: 1180px) {
    .top-three-col-section {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 16px;
    }

    .top-three-col-section .col-focus-news,
    .top-three-col-section .col-featured-news {
        order: 1;
    }

    .top-three-col-section .col-latest-news {
        order: 2;
    }

    .fixed-propaganda-col,
    .top-three-col-section .col-propaganda {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        order: 3;
    }

    .propaganda-thumb-card img {
        height: 105px;
    }
}

/* --------------------------------------------------------------------------
   2. TABLET SCREENS (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    #mainstyle {
        width: 98% !important;
        max-width: 100% !important;
        margin: 8px auto 20px auto !important;
        border-radius: var(--radius-md);
    }

    /* Main Navigation Bar (Tablet / Hamburger) */
    .main-nav-bar {
        flex-wrap: wrap;
        position: relative;
        padding: 0;
    }

    .nav-home-btn {
        padding: 11px 18px;
        font-size: 13px;
    }

    .nav-mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 36px;
        background: rgba(0, 0, 0, 0.22);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 5px;
        padding: 7px 8px;
        cursor: pointer;
        margin: 6px 12px 6px auto;
        transition: all 0.3s ease;
    }

    .nav-mobile-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--accent-gold);
    }

    .nav-mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--accent-gold);
    }

    .nav-menu-list {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #8e0e13;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        order: 10;
        animation: slideDownMenu 0.25s ease-out forwards;
    }

    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu-list.mobile-show {
        display: flex !important;
    }

    .nav-menu-item {
        width: 100%;
        position: relative;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        font-size: 13.5px;
        border-right: none;
        height: auto;
        cursor: pointer;
    }

    .nav-dropdown {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 100%;
        background: #75090e;
        border-top: none;
        border-left: 4px solid var(--accent-gold);
        border-radius: 0;
        box-shadow: none;
        padding: 4px 0;
        margin: 0;
    }

    .nav-menu-item.dropdown-open>.nav-dropdown {
        display: block;
    }

    .nav-menu-item.dropdown-open>.nav-menu-link .arrow-icon {
        transform: rotate(180deg);
        color: var(--accent-gold);
    }

    .nav-dropdown li a {
        color: #fee2e2;
        padding: 10px 20px 10px 28px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-dropdown li a:hover {
        background: rgba(0, 0, 0, 0.25);
        color: var(--accent-gold);
        padding-left: 34px;
    }

    .nav-search-box {
        display: none;
    }

    /* Hero Slider Tablet */
    .hero-slider-section {
        padding: 14px 16px 0 16px;
    }

    .modern-slider-container {
        height: 290px;
    }

    .modern-slide-caption {
        font-size: 13.5px;
        padding: 20px 16px 10px 16px;
    }

    /* Top 3-Column Section Tablet */
    .top-three-col-section {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 16px;
    }

    .top-three-col-section .col-focus-news,
    .top-three-col-section .col-featured-news {
        order: 1;
    }

    .top-three-col-section .col-latest-news {
        order: 2;
    }

    .fixed-propaganda-col,
    .top-three-col-section .col-propaganda {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        order: 3;
    }

    .propaganda-thumb-card img {
        height: 105px;
    }

    /* Category Grid Tablet */
    .category-grid-section {
        padding: 0 16px 20px 16px;
    }

    .category-grid-2x3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Slogan Tablet */
    .slogan-banner-section {
        padding: 0 16px 16px 16px;
    }

    .slogan-main-text {
        font-size: 18px;
    }

    /* HCM Space Tablet */
    .hcm-space-section {
        padding: 0 16px 20px 16px;
    }

    .hcm-articles-3col {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hcm-propaganda-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    /* Footer Tablet */
    .footer-top-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 24px;
        padding: 24px 20px;
    }

    .footer-dropdowns-group {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    /* Inner Pages Tablet */
    #leftcolumn {
        float: none !important;
        width: 100% !important;
        margin: 15px 0 !important;
    }

    #main,
    #main_plan {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 15px 20px 30px 20px !important;
        float: none !important;
    }
}

/* --------------------------------------------------------------------------
   3. MOBILE SCREENS (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    #mainstyle {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Top Bar & Header Mobile */
    #top {
        padding: 8px 12px 10px 12px !important;
    }

    #top_menu {
        height: auto !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        margin-bottom: 6px !important;
        padding-bottom: 0 !important;
    }

    #langText {
        font-size: 12px !important;
        text-align: right !important;
        width: auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        margin-left: auto !important;
        gap: 6px !important;
    }

    /* Banners & Logos Mobile */
    #top_text_banner {
        margin-top: 4px;
    }

    .banner-top-hochiminh {
        width: 100%;
        margin-bottom: 4px;
    }

    .banner-bac-ho-img {
        height: 55px;
        width: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    .header-brand-row {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 4px 0;
    }

    .banner-cpv-wrap {
        width: 100%;
        text-align: center;
    }

    .banner-cpv-img {
        height: 50px;
        width: 100%;
        object-fit: contain;
        object-position: center;
    }

    .header-logo {
        padding-left: 0;
        justify-content: center;
        gap: 10px;
        padding-bottom: 4px;
    }

    .logo-ueh-img,
    .logo-50-img {
        height: 42px !important;
    }

    .logo-div {
        height: 34px;
    }

    /* Hot Ticker Mobile */
    .hot-ticker-wrap {
        padding: 6px 12px;
        gap: 8px;
        font-size: 12px;
    }

    .hot-ticker-badge {
        font-size: 10px;
        padding: 2px 7px;
    }

    /* Hero Slider Mobile */
    .hero-slider-section {
        padding: 10px 12px 0 12px;
    }

    .modern-slider-container {
        height: 195px;
        border-radius: var(--radius-sm);
    }

    .modern-slide-caption {
        font-size: 12px;
        padding: 14px 12px 6px 12px;
        font-weight: 500;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .slider-btn.prev {
        left: 8px;
    }

    .slider-btn.next {
        right: 8px;
    }

    .slider-dots {
        bottom: 6px;
        gap: 5px;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }

    .slider-dot.active {
        width: 18px;
    }

    /* Top 3-Column Section Mobile */
    .top-three-col-section {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 12px;
    }

    .top-three-col-section .col-focus-news,
    .top-three-col-section .col-featured-news {
        order: 1;
    }

    .top-three-col-section .col-latest-news {
        order: 2;
    }

    .box-header {
        padding: 10px 14px;
        font-size: 12.5px;
    }

    .latest-5-list {
        padding: 8px 10px;
        gap: 2px;
        max-height: 480px;
    }

    .latest-5-thumb {
        width: 72px;
        height: 46px;
    }

    .latest-5-title {
        font-size: 12.5px;
    }

    .focus-news-body {
        padding: 12px;
        gap: 12px;
    }

    .focus-main-title {
        font-size: 14px;
    }

    .focus-main-desc {
        font-size: 12.5px;
    }

    .focus-sub-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .focus-sub-title {
        font-size: 12px;
    }

    .fixed-propaganda-col,
    .top-three-col-section .col-propaganda {
        order: 3;
        grid-column: span 1;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .propaganda-thumb-card img {
        height: 95px;
    }

    .propaganda-thumb-label {
        font-size: 12px;
        padding: 6px 8px;
    }

    /* Slogan Banner Mobile */
    .slogan-banner-section {
        padding: 0 12px 14px 12px;
    }

    .slogan-banner-card {
        padding: 12px 14px;
    }

    .slogan-sub-title {
        font-size: 11px;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }

    .slogan-main-text {
        font-size: 14px;
        letter-spacing: 0.3px;
        line-height: 1.35;
        margin-bottom: 3px;
    }

    .slogan-sub-text {
        font-size: 11.5px;
    }

    /* 6 Category Grid Mobile */
    .category-grid-section {
        padding: 0 12px 16px 12px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .category-grid-2x3 {
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
        min-width: 0;
    }

    .cat-box {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .cat-header {
        padding: 10px 14px;
    }

    .cat-title-text {
        font-size: 12.5px;
    }

    .cat-body {
        padding: 12px;
        gap: 8px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .cat-featured-item {
        min-width: 0;
        width: 100%;
    }

    .cat-featured-thumb {
        width: 90px;
        height: 65px;
        flex-shrink: 0;
    }

    .cat-featured-title {
        font-size: 12.5px;
        min-width: 0;
        word-break: break-word;
    }

    .cat-sub-links {
        width: 100%;
        min-width: 0;
    }

    .cat-sub-links li {
        font-size: 12.5px;
        width: 100%;
        min-width: 0;
    }

    .cat-sub-links li a {
        min-width: 0;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* HCM Cultural Space Mobile */
    .hcm-space-section {
        padding: 0 12px 16px 12px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hcm-space-wrapper {
        padding: 14px 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hcm-header-badge {
        font-size: 12px;
        padding: 6px 14px;
        letter-spacing: 0.3px;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
    }

    .hcm-articles-3col {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 14px;
        width: 100%;
        min-width: 0;
    }

    .hcm-article-box {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
        padding: 12px 10px;
    }

    .hcm-featured-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .hcm-featured-img {
        width: 100%;
        max-width: 100%;
        height: 145px;
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
        border-radius: var(--radius-sm);
    }

    .hcm-featured-img img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .hcm-featured-content {
        min-width: 0;
        width: 100%;
    }

    .hcm-featured-title {
        font-size: 13px;
        min-width: 0;
        word-break: break-word;
    }

    .hcm-propaganda-slider-wrap {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hcm-propaganda-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    .hcm-promo-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hcm-promo-img-wrap {
        width: 100%;
        max-width: 100%;
        height: 85px;
        min-width: 0;
        overflow: hidden;
    }

    .hcm-promo-img-wrap img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .hcm-promo-title {
        font-size: 11px;
        padding: 6px 4px;
        word-break: break-word;
    }

    /* Footer Mobile */
    .site-footer {
        border-top-width: 3px;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 14px;
    }

    .footer-brand-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-logo-img {
        height: 40px;
    }

    .footer-org-name {
        font-size: 13px;
    }

    .footer-contact-info {
        font-size: 12px;
        line-height: 1.65;
    }

    .footer-dropdowns-group {
        grid-column: span 1;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-select {
        font-size: 12px;
        padding: 8px 10px;
    }

    .footer-bottom-bar {
        padding: 10px 14px;
        font-size: 11.5px;
    }

    /* Inner Pages & Document System Mobile */
    #leftcolumn {
        margin: 10px 0 !important;
        width: 100% !important;
    }

    #main,
    #main_plan {
        padding: 12px 10px 25px 10px !important;
    }

    .title_home,
    .title_plan {
        font-size: 15px;
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

    .body_text,
    .body_text_plan {
        font-size: 13.5px;
    }

    .body_text img,
    .body_text_plan img,
    .doc-detail-body img {
        max-width: 100% !important;
        height: auto !important;
    }

    .doc-system-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .doc-filter-card {
        padding: 14px;
        margin-bottom: 16px;
    }

    .doc-filter-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 14px;
    }

    .doc-filter-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .doc-btn-search,
    .doc-btn-reset {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        padding: 10px 16px;
    }

    .doc-table-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        border-radius: 6px;
    }

    .doc-table {
        min-width: 600px;
    }

    .doc-detail-box {
        padding: 15px 12px;
    }

    .doc-detail-title {
        font-size: 15px;
        line-height: 1.4;
    }

    .doc-detail-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .doc-meta-item.file-download {
        margin-left: 0;
        width: 100%;
    }

    .btn-download-file {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .doc-pdf-iframe,
    iframe#fred {
        height: 420px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .doc-attachment-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }

    .doc-pagination-wrap,
    .page_class {
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 16px;
    }

    .doc-page-btn,
    .number_page a,
    .current_page {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 6px;
    }

    /* Workflow Stepper Mobile */
    .profess-workflow-container {
        gap: 16px;
    }

    .workflow-header-card {
        padding: 14px;
    }

    .workflow-title {
        font-size: 15px;
    }

    .workflow-steps-track {
        padding-left: 0;
    }

    .workflow-steps-track::before {
        display: none;
    }

    .workflow-step-card {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .step-num-badge {
        width: 42px;
        height: 42px;
    }

    .step-num-badge strong {
        font-size: 14px;
    }

    .workflow-forms-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* --------------------------------------------------------------------------
   4. SMALL MOBILE SCREENS (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .modern-slider-container {
        height: 165px;
    }

    .banner-bac-ho-img {
        height: 46px;
    }

    .banner-cpv-img {
        height: 44px;
    }

    .logo-ueh-img,
    .logo-50-img {
        height: 36px !important;
    }

    .slogan-main-text {
        font-size: 13px;
    }

    .hcm-promo-img-wrap {
        height: 75px;
    }
}

/* ==========================================================================
   5. MODERN CARD GRID FOR EVENTS & NEWS (SỰ KIỆN NỔI BẬT & TIN MỚI)
   ========================================================================== */
.modern-card-grid-container {
    width: 100%;
    margin: 15px 0 35px 0;
}

.modern-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.modern-card-item-wrap {
    display: flex;
}

.modern-card-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid #eaedf3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
    text-decoration: none !important;
}

/* Card Thumbnail */
.modern-card-thumb-wrap {
    width: 100%;
    height: 185px;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.modern-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.modern-card-item:hover .modern-card-img {
    transform: scale(1.06);
}

/* Card Body */
.modern-card-body {
    padding: 16px 16px 12px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modern-card-title {
    font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.45;
    color: #1e293b;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.modern-card-item:hover .modern-card-title {
    color: #005395;
}

.modern-card-desc {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Footer */
.modern-card-footer {
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    background: #ffffff;
    font-size: 12.5px;
}

.modern-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-weight: 500;
    font-size: 12px;
}

.modern-card-date svg {
    color: #059669;
    flex-shrink: 0;
}

.modern-card-more-btn {
    color: #ea580c;
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color 0.2s ease;
}

.modern-card-more-btn .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.modern-card-item:hover .modern-card-more-btn {
    color: #c2410c;
}

.modern-card-item:hover .modern-card-more-btn .arrow {
    transform: translateX(4px);
}

/* Modern Pagination */
.modern-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 35px 0 20px 0;
    flex-wrap: wrap;
}

.modern-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.modern-page-link:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #005395;
    text-decoration: none !important;
}

.modern-page-link.active {
    background: #005395;
    border-color: #005395;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 83, 149, 0.25);
    pointer-events: none;
}

.modern-page-link.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
    background: #f8fafc;
}

.modern-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 38px;
    color: #94a3b8;
    font-weight: 700;
}

/* Responsive Card Grid */
@media (max-width: 1100px) {
    .modern-card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .modern-card-thumb-wrap {
        height: 175px;
    }
}

@media (max-width: 768px) {
    .modern-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .modern-card-thumb-wrap {
        height: 165px;
    }

    .modern-card-title {
        font-size: 14px;
    }

    .modern-card-desc {
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .modern-card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modern-card-thumb-wrap {
        height: 190px;
    }

    .modern-page-link {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* ==========================================================================
   6. NEWS & EVENT SEARCH BAR & KEYWORD HIGHLIGHTING
   ========================================================================== */
.news-search-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.news-search-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.news-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.news-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.news-search-input-group.keyword-group {
    flex: 1;
    min-width: 260px;
}

.news-search-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.news-search-input {
    width: 100%;
    height: 42px;
    padding: 8px 36px 8px 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.news-search-input:focus {
    background: #ffffff;
    border-color: #005395;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 83, 149, 0.12);
}

.news-search-clear-input {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.news-search-clear-input:hover {
    color: #ef4444;
}

.news-search-input-group.select-group {
    width: 230px;
}

.news-search-select {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
    font-family: inherit;
    color: #334155;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.news-search-select:focus {
    background: #ffffff;
    border-color: #005395;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 83, 149, 0.12);
}

.news-search-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-search-submit-btn {
    height: 42px;
    padding: 0 20px;
    background: #005395;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 83, 149, 0.25);
    white-space: nowrap;
}

.news-search-submit-btn:hover {
    background: #003e73;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 83, 149, 0.35);
}

.news-search-reset-btn {
    height: 42px;
    padding: 0 16px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.news-search-reset-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    text-decoration: none !important;
}

/* Search results info notice */
.news-search-results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 22px;
    font-size: 14px;
    color: #1e3a8a;
}

.news-search-results-info strong {
    font-weight: 700;
}

.news-search-results-clear {
    color: #ef4444;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-search-results-clear:hover {
    text-decoration: underline;
    color: #b91c1c;
}

/* Keyword Highlighting */
.search-highlight,
mark.search-highlight {
    background-color: #fef08a !important;
    color: #854d0e !important;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
    box-shadow: 0 0 0 1px #facc15;
    display: inline;
}

@media (max-width: 768px) {
    .news-search-filter-card {
        padding: 14px;
    }

    .news-search-input-group.keyword-group,
    .news-search-input-group.select-group {
        width: 100%;
        min-width: 100%;
    }

    .news-search-btn-group {
        width: 100%;
    }

    .news-search-submit-btn,
    .news-search-reset-btn {
        flex: 1;
        justify-content: center;
    }
}

/* ==========================================================================
   4 KHỐI CUỐI TRANG CHỦ - DẠNG THUMBNAIL (TIÊU ĐỀ TRÊN, HÌNH DƯỚI)
   ========================================================================== */
.bottom-thumb-section {
    padding: 0 20px 20px 20px;
}

.bottom-thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.bottom-thumb-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    height: 100%;
    max-width: 100%;
}

.bottom-thumb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-gold);
}

.bottom-thumb-label {
    padding: 10px 12px;
    background: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    border-bottom: 2px solid var(--primary-red);
    line-height: 1.35;
    min-height: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.bottom-thumb-card:hover .bottom-thumb-label {
    color: var(--primary-red);
}

.bottom-thumb-img-wrap {
    width: 100%;
    height: 160px;
    max-height: 160px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
    display: block;
    box-sizing: border-box;
}

.bottom-thumb-img-wrap img {
    width: 100%;
    height: 100%;
    max-height: 160px;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

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

@media (max-width: 1024px) {
    .bottom-thumb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bottom-thumb-img-wrap {
        height: 150px;
        max-height: 150px;
    }
    .bottom-thumb-img-wrap img {
        max-height: 150px;
    }
}

@media (max-width: 576px) {
    .bottom-thumb-grid {
        grid-template-columns: 1fr;
    }
    .bottom-thumb-img-wrap {
        height: 160px;
        max-height: 160px;
    }
    .bottom-thumb-img-wrap img {
        max-height: 160px;
    }
}

/* ==========================================================================
   NÚT SỬA BÀI VIẾT CHO ADMIN (INLINE - BÊN CẠNH NGÀY ĐĂNG)
   ========================================================================== */
.admin-edit-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #005f69;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    vertical-align: middle;
}

.admin-edit-inline-btn:hover {
    background: #004b53;
    color: #ffffff;
}

.admin-edit-inline-btn svg {
    flex-shrink: 0;
}

/* ==========================================================================
   NÚT CUỘN LÊN ĐẦU TRANG (GÓC DƯỚI BÊN PHẢI)
   ========================================================================== */
.scroll-to-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #005395;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, visibility 0.25s;
    z-index: 999;
}

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

.scroll-to-top-btn:hover {
    background: #003f70;
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }
}