/* ==========================================================================
   MAIN STYLESHEET - QUỸ HỖ TRỢ PHÁT TRIỂN HTX ĐỒNG NAI
   Bảng màu: #0B4EA2 (Xanh chủ đạo), #7EC8F8 (Xanh da trời), #FFC928 (Vàng cam)
   ========================================================================== */

/* --- 0. CSS VARIABLES & RESET --- */
:root {
    /* Colors */
    --color-primary: #0B4EA2;
    --color-primary-dark: #073b7d;
    --color-primary-light: #1565c0;
    --color-accent: #FFC928;
    --color-accent-hover: #e5b31f;
    --color-sky: #7EC8F8;
    --color-sky-light: #e6f4fe;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-bg-page: #f4f7fb;
    --color-white: #ffffff;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-card: 0 2px 8px rgba(11, 78, 162, 0.08);
    --shadow-hover: 0 6px 18px rgba(11, 78, 162, 0.14);
    
    /* Typography */
    --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'UTM Helve', Arial, sans-serif;
    --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    
    /* Mobile Breakpoints */
    --bp-mobile-sm: 480px;
    --bp-mobile: 767px;
    --bp-tablet: 991px;
    --bp-desktop: 1200px;
    
    /* Touch Targets */
    --touch-min: 44px;
    --touch-comfortable: 48px;
}

/* Global Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--color-text-main);
    background-color: var(--color-bg-page);
    overflow-x: hidden;
}

/* Prevent zoom on input focus (mobile) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select {
    font-size: 16px;
}

/* --- 1. TOPBAR --- */
.site-topbar {
    background: #083772;
    color: #e2e8f0;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 2px solid var(--color-accent);
}

.topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.realtime-clock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 500;
}

.realtime-clock i {
    color: var(--color-accent);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch a {
    color: #cbd5e1;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
}

.lang-switch a.active,
.lang-switch a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.topbar-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 2px 10px;
    height: 30px;
}

.topbar-search-form input {
    border: none;
    outline: none;
    font-size: 12.5px;
    padding: 3px 6px;
    width: 170px;
    color: #1e293b;
}

.topbar-search-form button {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 13px;
}

/* --- 2. HEADER BRANDING & WAVE --- */
.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #dbeafe;
    overflow: hidden;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(11, 78, 162, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    position: relative;
    z-index: 2;
    gap: 20px;
}

.header-brand {
    display: flex;
    align-items: center;
}

.header-brand-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.brand-logo-img {
    height: 65px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.brand-logo-img:hover {
    transform: scale(1.02);
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-agency-sub {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #475569;
    font-weight: 600;
}

.brand-main-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.25;
    text-transform: uppercase;
    font-family: var(--font-heading);
    margin: 2px 0;
}

.brand-sub-title {
    font-size: 13.5px;
    color: #d97706;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Thanh tìm kiếm thông tin cùng hàng với Logo */
.header-search-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    padding: 3px 4px 3px 18px;
    box-shadow: 0 3px 10px rgba(11, 78, 162, 0.08);
    transition: all 0.3s ease;
    width: 350px;
}

.header-search-form:focus-within {
    border-color: #0076ba;
    box-shadow: 0 4px 16px rgba(11, 78, 162, 0.2);
}

.header-search-form input {
    border: none;
    outline: none;
    font-size: 13.5px;
    width: 100%;
    color: #1e293b;
    background: transparent;
    padding-right: 8px;
}

.header-search-form input::placeholder {
    color: #94a3b8;
}

.header-search-form button {
    background: linear-gradient(135deg, var(--color-primary) 0%, #083772 100%);
    color: #ffffff;
    border: none;
    border-radius: 22px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.header-search-form button:hover {
    background: linear-gradient(135deg, #083772 0%, #041f42 100%);
    box-shadow: 0 2px 8px rgba(11, 78, 162, 0.35);
}

/* Header Wave Graphic */
.header-wave-shape {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 40%;
    pointer-events: none;
    opacity: 0.15;
    background: radial-gradient(circle at 100% 100%, var(--color-sky) 0%, var(--color-primary) 70%);
    clip-path: ellipse(80% 100% at 90% 100%);
}

/* --- 3. MAIN NAVIGATION --- */
.site-nav {
    background: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 14px rgba(11, 78, 162, 0.22);
}

.nav-menu-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
}

.main-menu {
    display: flex;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ffffff;
}

.main-menu > li {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    text-align: center;
}

.main-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 13px 4px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    color: #ffffff;
    font-weight: 600;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.main-menu > li:first-child > a {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.main-menu > li:hover > a,
.main-menu > li.current-menu-item > a {
    background: var(--color-primary-dark);
    color: var(--color-accent);
}

.main-menu > li.menu-item-has-children:not(:has(svg.nav-dropdown-arrow)) > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 5px solid currentColor;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.main-menu > li.menu-item-has-children:hover > a::after,
.main-menu > li.menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

@media (max-width: 1200px) and (min-width: 993px) {
    .main-menu > li > a {
        font-size: 12px;
        letter-spacing: 0;
        padding: 13px 2px;
        gap: 4px;
    }
}

/* Dropdown Menu */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--color-accent);
    list-style: none;
    padding: 6px 0;
    display: none;
    border-radius: 0 0 6px 6px;
    z-index: 1000;
}

.main-menu > li:hover .sub-menu {
    display: block;
    animation: fadeInMenu 0.2s ease-in-out;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-menu .sub-menu li a {
    display: block;
    padding: 9px 18px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    white-space: nowrap;
}

.main-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.main-menu .sub-menu li a:hover {
    background: #f0f7ff;
    color: var(--color-primary);
    padding-left: 22px;
}

.mobile-nav-bar,
.mobile-menu-toggle,
.mobile-search-toggle,
.mobile-search-expand {
    display: none !important;
}

/* --- 3b. SUBPAGE BREADCRUMB BAR (Redesigned theo mẫu - Nền xanh, icon home, dấu /) --- */
.site-breadcrumb-nav {
    background: #0B4EA2;
    position: relative;
    z-index: 998;
    padding: 10px 0;
    font-size: 14px;
}

.site-breadcrumb-nav .breadcrumb-container {
    display: flex;
    align-items: center;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.breadcrumb-item a,
.breadcrumb-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover,
.breadcrumb-link:hover {
    color: #FFC928;
}

.breadcrumb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.breadcrumb-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Separator: dấu / màu trắng mờ */
.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
    user-select: none;
}

/* Current page: màu vàng */
.breadcrumb-current-text {
    color: #FFC928;
    font-weight: 600;
}

@media (max-width: 768px) {
    .site-breadcrumb-nav {
        padding: 8px 0;
    }
    
    .breadcrumb-list {
        font-size: 13px;
        gap: 8px;
    }
    
    .breadcrumb-item {
        gap: 8px;
    }
    
    .breadcrumb-icon {
        width: 14px;
        height: 14px;
    }
    
    .breadcrumb-sep {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .site-breadcrumb-nav {
        padding: 7px 0;
        font-size: 12.5px;
    }
    
    .breadcrumb-list {
        font-size: 12.5px;
        gap: 7px;
    }
    
    .breadcrumb-item {
        gap: 7px;
    }
    
    .breadcrumb-icon {
        width: 13px;
        height: 13px;
    }
    
    .breadcrumb-sep {
        font-size: 12.5px;
    }
}

/* --- 4. BREAKING NEWS TICKER --- */
.breaking-news-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 7px 0;
    font-size: 13px;
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticker-label {
    background: var(--color-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.ticker-label span {
    color: var(--color-accent);
}

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

.ticker-scroll-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 28s linear infinite;
    color: #334155;
}

.ticker-scroll-text a {
    color: #334155;
    margin-right: 40px;
}

.ticker-scroll-text a:hover {
    color: var(--color-primary);
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --- 5. MAIN PAGE LAYOUT GRID --- */
/* ==========================================================================
   GLOBAL WIDE CONTAINER (MỞ RỘNG BỐ CỤC TOÀN SITE 2 BÊN VỪA PHẢI: 1380px)
   ========================================================================== */
@media (min-width: 1200px) {
    .container,
    body.home .container,
    body.front-page .container,
    .site-hero-container,
    .about-hero-container,
    .org-hero-container,
    .contact-hero-container,
    .home-container {
        max-width: 1380px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.site-content {
    padding: 24px 0 40px 0;
}

.portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 70%) minmax(0, 30%);
    gap: 24px;
}

.portal-main-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.portal-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- 6. BLOCK CARD SYSTEM --- */
.portal-block {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-block:hover {
    box-shadow: var(--shadow-hover);
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: linear-gradient(90deg, #f8fafc 0%, #edf4fc 100%);
    border-bottom: 2px solid var(--color-primary);
    position: relative;
}

.block-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -2px;
    width: 4px;
    background: var(--color-accent);
}

.block-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--font-heading);
}

.block-title i {
    color: var(--color-accent);
}

.block-viewall {
    font-size: 13px;
    font-weight: 600;
    color: #0B4EA2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #EFF6FF;
    transition: all 0.25s ease;
}

.block-viewall:hover {
    background: #0B4EA2;
    color: #ffffff;
    transform: translateX(2px);
}

.block-viewall i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.block-viewall:hover i {
    transform: translateX(3px);
}

/* Nút Xem thêm tin tức (ở cuối block) */
.btn-view-more-news {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 32px;
    background: #0B4EA2;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(11, 78, 162, 0.2);
}

.btn-view-more-news:hover {
    background: #073b7d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 78, 162, 0.3);
}

.btn-view-more-news i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-view-more-news:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 767px) {
    .btn-view-more-news {
        width: 100%;
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .block-view-more {
        margin-top: 20px !important;
        padding-top: 16px !important;
    }
}

@media (max-width: 480px) {
    .btn-view-more-news {
        padding: 12px 20px;
        font-size: 13.5px;
        gap: 8px;
    }
}

.block-body {
    padding: 16px;
}

/* --- 7. HERO SLIDER & HIGHLIGHT LIST --- */
.hero-slider-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.slider-main-box {
    position: relative;
    background: #000;
    min-height: 340px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    overflow: hidden;
}

.slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 18px 14px 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 35, 75, 0.95) 100%);
    color: #fff;
}

.slider-badge {
    background: var(--color-accent);
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 6px;
}

.slider-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}

.slider-title a {
    color: #ffffff;
}

.slider-title a:hover {
    color: var(--color-accent);
}

.slider-desc {
    font-size: 12.5px;
    color: #e2e8f0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slider Controls - Next / Prev Arrows (Side Navigation) */
.slider-controls {
    position: absolute;
    top: 42%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
    z-index: 25;
}

.slider-btn {
    pointer-events: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.slider-btn:hover,
.slider-btn:active {
    background: var(--color-primary, #0B4EA2);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(11, 78, 162, 0.5);
}

/* Dots Indicator (Chỉ báo chuyển trang) */
.slider-dots {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    z-index: 25 !important;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 8px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.slider-dot {
    width: 8px !important;
    height: 8px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    line-height: 0 !important;
    display: inline-block !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.85) !important;
}

.slider-dot.active {
    width: 22px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background: var(--color-accent, #F39C12) !important;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.7) !important;
}

/* Highlight List on the Right */
.highlight-news-box {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
}

.highlight-header {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-sky);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.highlight-header i {
    color: var(--color-accent);
}

.highlight-list {
    list-style: none;
    overflow-y: auto;
    max-height: 290px;
    padding-right: 4px;
}

.highlight-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.highlight-list li:last-child {
    border-bottom: none;
}

.highlight-link {
    font-size: 13.5px;
    color: #334155;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.highlight-link:hover {
    color: var(--color-primary);
}

.highlight-meta {
    font-size: 11.5px;
    color: var(--color-text-muted);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- 8. TABS VĂN BẢN & CHỈ ĐẠO (YÊU CẦU CỐT LÕI) --- */
.tabs-navigation {
    display: flex;
    border-bottom: 2px solid var(--color-primary);
    background: #f8fafc;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-navigation::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.tab-btn {
    padding: 11px 20px;
    background: none;
    border: none;
    outline: none;
    font-weight: 700;
    font-size: 13.5px;
    color: #475569;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.tab-text-mobile {
    display: none;
}
.tab-text-desktop {
    display: inline;
}

.tab-btn:hover {
    color: var(--color-primary);
    background: #edf4fc;
}

.tab-btn.active {
    color: #ffffff;
    background: var(--color-primary);
    border-radius: 4px 4px 0 0;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
}

.tab-pane {
    display: none;
    animation: fadeInTab 0.25s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- BẢNG VĂN BẢN CHÍNH SÁCH THEO THIẾT KẾ ĐẶC THÙ (ẢNH YÊU CẦU) --- */
.vanban-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 12px;
}

.vanban-title-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vanban-title-left .vanban-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.vanban-title-left h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

.vanban-search-box {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.vanban-search-box input {
    border: none;
    outline: none;
    padding: 7px 12px;
    font-size: 13.5px;
    width: 220px;
    color: #334155;
}

.vanban-search-box button {
    border: none;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    padding: 7px 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vanban-search-box button:hover {
    background: #f1f5f9;
    color: var(--color-primary);
}

/* Bảng dữ liệu */
.table-van-ban-chinh-sach {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.table-van-ban-chinh-sach th {
    color: var(--color-primary);
    font-weight: 700;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-bottom: 2px solid #cbd5e1;
    text-align: left;
    background: #ffffff;
    font-size: 14px;
}

.table-van-ban-chinh-sach td {
    padding: 14px 14px;
    border: 1px solid #e2e8f0;
    vertical-align: top;
    line-height: 1.5;
}

/* Dòng nổi bật (Solid Blue Background như trong ảnh mẫu) */
.table-van-ban-chinh-sach tr.row-highlight td {
    background-color: #0076ba;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.table-van-ban-chinh-sach tr.row-highlight .doc-summary-text,
.table-van-ban-chinh-sach tr.row-highlight .doc-agency-info,
.table-van-ban-chinh-sach tr.row-highlight .doc-download-info {
    color: #ffffff;
}

.table-van-ban-chinh-sach tr.row-highlight a {
    color: #ffffff;
}

/* Các dòng thường */
.table-van-ban-chinh-sach tr:not(.row-highlight):hover td {
    background-color: #f8fafc;
}

.doc-code-val {
    font-weight: 700;
    color: inherit;
    word-break: break-word;
}

.doc-type-val {
    font-weight: 600;
}

.doc-date-val {
    color: inherit;
    white-space: nowrap;
}

.doc-summary-text {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.45;
}

.doc-agency-info {
    font-size: 13px;
    color: #475569;
    margin-bottom: 6px;
}

.doc-download-info {
    font-size: 13px;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pdf-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pdf-icon-badge:hover {
    transform: scale(1.15);
}

/* Bảng hiển thị văn bản chuẩn Portal */
.gov-document-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    margin-top: 6px;
}

.gov-document-table th {
    background: #f1f5f9;
    color: #334155;
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #cbd5e1;
}

.gov-document-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.gov-document-table tr:hover td {
    background: #f8fafc;
}

.doc-code {
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.doc-title-link {
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    display: block;
}

.doc-title-link:hover {
    color: var(--color-primary);
}

.doc-date {
    color: var(--color-text-muted);
    font-size: 12.5px;
    white-space: nowrap;
}

.btn-download-doc {
    background: var(--color-sky-light);
    color: var(--color-primary);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
}

.btn-download-doc:hover {
    background: var(--color-primary);
    color: #fff;
}

/* --- 9. CATEGORY NEWS BLOCK (1 BIG + 3 MINI) --- */
.cat-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.featured-cat-post {
    display: flex;
    flex-direction: column;
}

.featured-post-thumb {
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 190px;
    position: relative;
    margin-bottom: 10px;
}

.featured-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post-thumb:hover img {
    transform: scale(1.05);
}

.featured-post-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}

.featured-post-title a {
    color: #1e293b;
}

.featured-post-title a:hover {
    color: var(--color-primary);
}

.featured-post-excerpt {
    font-size: 13px;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.post-meta-date {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sub-posts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sub-post-item {
    display: flex;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.sub-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sub-post-thumb {
    width: 95px;
    height: 65px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.sub-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-post-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-post-title a {
    color: #334155;
}

.sub-post-title a:hover {
    color: var(--color-primary);
}

/* --- 10. THỦ TỤC & HƯỚNG DẪN VAY VỐN --- */
.procedure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.procedure-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 14px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.procedure-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 78, 162, 0.1);
}

.proc-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-sky-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 10px;
}

.proc-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    line-height: 1.35;
}

.proc-meta {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.btn-proc-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
 * TIMELINE QUY TRÌNH CẤP VỐN 4 BƯỚC DCAFD
 * ========================================================================== */
.proc-timeline-wrapper {
    position: relative;
    max-width: 1040px;
    margin: 20px auto 10px;
    padding: 10px 0;
}

.proc-timeline-line {
    position: absolute;
    top: 50px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: #cbd5e1;
    z-index: 1;
}

.proc-timeline-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.proc-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.proc-circle-node {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #0B4EA2;
    box-shadow: 0 4px 14px rgba(11, 78, 162, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 18px;
}

.proc-step-card:hover .proc-circle-node {
    transform: translateY(-4px) scale(1.05);
    border-color: #FFC928;
    box-shadow: 0 8px 24px rgba(11, 78, 162, 0.2);
}

.proc-step-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    background: #FFC928;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.proc-icon-svg {
    color: #0B4EA2;
    transition: color 0.2s ease;
}

.proc-step-title {
    font-size: 16px;
    font-weight: 800;
    color: #0B4EA2;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.proc-step-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    padding: 0 6px;
}

@media (max-width: 900px) {
    .proc-timeline-line {
        display: none;
    }
    .proc-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 540px) {
    .proc-timeline-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .proc-step-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 16px;
    }
    .proc-circle-node {
        flex-shrink: 0;
        width: 64px;
        height: 64px;
        margin-bottom: 0;
    }
    .proc-step-title {
        font-size: 15px;
        margin-bottom: 4px;
    }
    .proc-step-desc {
        font-size: 13px;
        padding: 0;
    }
}

/* --- 11. SẢN PHẨM HTX / OCOP ĐỒNG NAI --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.product-thumb {
    height: 135px;
    position: relative;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ocop-star-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(255, 201, 40, 0.95);
    color: #1a1a1a;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.product-info {
    padding: 10px;
}

.product-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-coop {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* --- 12. BỘ ĐẾM SỐ LIỆU QUỸ --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.metric-card {
    background: linear-gradient(135deg, #0B4EA2 0%, #073b7d 100%);
    color: #fff;
    padding: 18px 12px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(11, 78, 162, 0.18);
}

.metric-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-accent);
}

.metric-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.2;
    font-family: var(--font-heading);
}

.metric-label {
    font-size: 12.5px;
    color: #e2e8f0;
    font-weight: 500;
    margin-top: 4px;
}

/* --- 13. SIDEBAR WIDGETS --- */
.sidebar-widget {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.widget-header {
    background: var(--color-primary);
    color: #ffffff;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--color-accent);
}

.widget-header i {
    color: var(--color-accent);
}

.widget-body {
    padding: 14px;
}

/* Ticker Sidebar Item */
.sidebar-ticker-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-ticker-list li {
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-ticker-list li:last-child {
    border-bottom: none;
}

.sidebar-doc-link {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
    display: block;
}

.sidebar-doc-link:hover {
    color: var(--color-primary);
}

.sidebar-doc-date {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 2px;
}

/* --- WIDGET BÀI VIẾT XEM NHIỀU NHẤT (TOP VIEWS - REDESIGNED PREMIUM) --- */
.sidebar-top-views-widget .widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: #0050A0;
    color: #ffffff;
    border-radius: 8px 8px 0 0;
}

.sidebar-top-views-widget .widget-header-more {
    margin-left: auto;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    text-decoration: none !important;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.sidebar-top-views-widget .widget-header-more:hover {
    opacity: 1;
    color: #FFC928 !important;
    transform: translateX(2px);
}

.top-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.top-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 8px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.top-post-item:hover {
    background: #f8fafc;
    transform: translateX(3px);
}

.top-post-item:last-child {
    border-bottom: none;
}

/* Rank Badge 01, 02, 03... */
.top-post-rank {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.top-post-item:hover .top-post-rank {
    background: #e2e8f0;
    color: #1e293b;
    border-color: #cbd5e1;
    transform: scale(1.05);
}

/* Đảm bảo toàn bộ thứ hạng 01, 02, 03, 04, 05 đều đồng nhất màu xám thanh lịch */
.top-post-rank.rank-1,
.top-post-rank.rank-2,
.top-post-rank.rank-3 {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

/* Thumbnail */
.top-post-thumb {
    width: 74px;
    height: 52px;
    min-width: 74px;
    border-radius: 7px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    display: block;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

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

.top-post-item:hover .top-post-thumb img {
    transform: scale(1.08);
}

.top-post-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    font-size: 20px;
}

/* Content */
.top-post-content {
    flex: 1;
    min-width: 0;
}

.top-post-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-post-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-post-item:hover .top-post-title a,
.top-post-title a:hover {
    color: var(--color-primary, #0284c7);
}

/* Meta */
.top-post-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
    flex-wrap: wrap;
    line-height: 1;
}

.top-post-views {
    color: #475569;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-post-views i {
    font-size: 11px;
    color: var(--color-primary, #0284c7);
}

.top-post-views strong {
    color: #0f172a;
    font-weight: 600;
}

.top-post-dot {
    color: #cbd5e1;
    font-size: 9px;
    user-select: none;
}

.top-post-date {
    display: inline-flex;
    align-items: center;
    gap: 3.5px;
    color: #64748b;
}

.top-post-date i {
    font-size: 10px;
    color: #94a3b8;
}

/* Dropdown Links */
.gov-select-box {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #334155;
    background: #fff;
    margin-bottom: 10px;
    outline: none;
}

.gov-select-box:last-child {
    margin-bottom: 0;
}

/* Visitor Counter */
.visitor-stats-table {
    width: 100%;
    font-size: 13px;
}

.visitor-stats-table tr td {
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.visitor-stats-table tr:last-child td {
    border-bottom: none;
}

.visitor-stats-table .stat-icon {
    display: inline-block;
    vertical-align: -2.5px;
    margin-right: 7px;
    color: var(--color-primary);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.visitor-stats-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--color-primary);
}

/* Fallback for Font Awesome Free solid icons */
.fa-calendar-day,
.fa-calendar-week {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Banner Poster */
.poster-banner-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.poster-banner-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.25s ease;
}

.poster-banner-item:hover img {
    transform: scale(1.02);
}

/* --- 14. FOOTER --- */
.site-footer {
    background: #072e61;
    color: #e2e8f0;
    font-size: 13.5px;
    border-top: 3px solid var(--color-accent);
}

.footer-top {
    padding: 34px 0 24px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.footer-brand-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.footer-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #cbd5e1;
}

.footer-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-info-list li i {
    color: var(--color-accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-cert-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.cert-badge {
    background: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0B4EA2;
    font-weight: 700;
    font-size: 12.5px;
}

.footer-bottom {
    background: #041c3b;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
    color: #94a3b8;
    text-align: center;
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 10px;
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-accent);
    color: #1e293b;
}

/* --- 15. SUBPAGES STYLES --- */
.page-header-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #073b7d 100%);
    color: #fff;
    padding: 24px 0;
    margin-bottom: 24px;
    position: relative;
    border-bottom: 3px solid var(--color-accent);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.breadcrumb-nav a {
    color: #cbd5e1;
}

.breadcrumb-nav a:hover {
    color: var(--color-accent);
}

.page-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

/* Cơ cấu tổ chức */
.org-chart-wrapper {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.team-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
    transition: all 0.2s ease;
}

.team-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(11, 78, 162, 0.1);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    object-fit: cover;
    border: 3px solid var(--color-accent);
}

.team-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
}

/* Bộ lọc văn bản */
.doc-filter-bar {
    background: #f1f5f9;
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
}

.doc-filter-bar input,
.doc-filter-bar select {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    outline: none;
}

.btn-filter {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 8px 18px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.btn-filter:hover {
    background: var(--color-primary-dark);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-card {
    background: #ffffff;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #334155;
}

.form-control {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    outline: none;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.15);
}

.btn-submit {
    background: var(--color-accent);
    color: #1a1a1a;
    font-weight: 700;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
}

.btn-submit:hover {
    background: var(--color-accent-hover);
}

/* --- 16. RESPONSIVE MEDIA QUERIES --- */

/* ============================================
   MOBILE FIRST RESPONSIVE - PHASE 1
   ============================================ */

/* Mobile Small (< 480px) */
@media (max-width: 479px) {
    /* Header Mobile Small */
    .site-header {
        padding: 0;
    }
    
    .header-inner {
        padding: 10px 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .header-brand {
        justify-content: center;
    }
    
    .brand-logo-img {
        height: 50px;
        max-width: 180px;
    }
    
    .header-search-wrap {
        width: 100%;
        order: 2;
    }
    
    .header-search-form {
        width: 100%;
        padding: 3px 6px 3px 14px;
    }
    
    .header-search-form input {
        font-size: 15px;
        width: 100%;
    }
    
    .header-search-form button {
        padding: 7px 14px;
        font-size: 13px;
    }
    
    /* Hero Slider Mobile Small */
    .hero-slider-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .slider-main-box {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        min-height: 240px;
    }
    
    .slider-caption {
        padding: 16px 14px 12px;
    }
    
    .slider-title {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 4px;
    }
    
    .slider-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    
    .slider-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .slider-controls {
        top: 36%;
        padding: 0 8px;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.35);
        color: #ffffff;
    }
    
    .slider-btn:active {
        background: var(--color-primary, #0B4EA2);
        transform: scale(1.08);
    }

    .slider-dots {
        top: 10px !important;
        right: 10px !important;
        padding: 3px 6px !important;
        gap: 5px !important;
    }

    .slider-dot {
        width: 6px !important;
        height: 6px !important;
    }

    .slider-dot.active {
        width: 16px !important;
        height: 6px !important;
    }
    
    /* Highlight list mobile */
    .highlight-list {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    
    .highlight-item {
        padding: 10px 12px;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .highlight-title {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .highlight-meta {
        font-size: 11px;
        margin-top: 4px;
    }
    
    /* Tabs Văn bản Mobile Small */
    .tabs-navigation {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        gap: 2px;
    }
    
    .tabs-navigation::-webkit-scrollbar {
        height: 3px;
    }
    
    .tabs-navigation::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 3px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 12px;
        min-width: 140px;
        flex-shrink: 0;
    }
    
    .tab-btn i {
        font-size: 14px;
    }
    
    /* Table wrapper scroll */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    
    .table-responsive::before,
    .table-responsive::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 1;
    }
    
    .table-responsive::before {
        left: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, transparent 100%);
    }
    
    .table-responsive::after {
        right: 0;
        background: linear-gradient(270deg, rgba(255,255,255,0.9) 0%, transparent 100%);
    }
    
    .gov-document-table,
    .table-van-ban-chinh-sach {
        min-width: 100%;
        font-size: 13px;
    }
    
    .gov-document-table th,
    .table-van-ban-chinh-sach th {
        padding: 10px 10px;
        font-size: 12px;
        position: sticky;
        top: 0;
        background: #f1f5f9;
        z-index: 2;
    }
    
    .gov-document-table td,
    .table-van-ban-chinh-sach td {
        padding: 10px 10px;
    }
    
    .doc-code, .doc-code-val {
        font-size: 12px;
        min-width: 100px;
    }
    
    .doc-title-link {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .btn-download-doc {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .btn-download-doc i {
        font-size: 12px;
    }
    
    /* Tin tức Grid Mobile Small */
    .cat-news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .featured-post {
        margin-bottom: 0;
    }
    
    .featured-post-thumb {
        height: 180px;
        margin-bottom: 10px;
    }
    
    .featured-post-title {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 6px;
    }
    
    .featured-post-excerpt {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
    }
    
    .featured-post-meta {
        font-size: 11px;
    }
    
    .sub-posts-list {
        gap: 12px;
    }
    
    .sub-post-item {
        gap: 10px;
        padding-bottom: 12px;
    }
    
    .sub-post-thumb {
        width: 70px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .sub-post-title {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .sub-post-meta {
        font-size: 11px;
    }
    
    /* Sản phẩm HTX Mobile Small */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .product-card {
        display: flex;
        flex-direction: row;
        border-radius: var(--radius-md);
    }
    
    .product-thumb {
        width: 110px;
        height: 110px;
        flex-shrink: 0;
    }
    
    .product-info {
        padding: 12px;
        flex: 1;
    }
    
    .product-name {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 6px;
    }
    
    .product-htx {
        font-size: 11px;
    }
    
    .product-price {
        font-size: 13px;
        margin-top: 6px;
    }
    
    .ocop-star-badge {
        font-size: 10px;
        padding: 2px 5px;
    }
    
    /* Sidebar Mobile Small */
    .portal-sidebar {
        margin-top: 20px;
    }
    
    .sidebar-widget {
        margin-bottom: 16px;
        border-radius: var(--radius-md);
    }
    
    .widget-header {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .widget-header i {
        font-size: 14px;
    }
    
    .widget-body {
        padding: 12px;
    }
    
    .sidebar-doc-item {
        padding: 10px 0;
        font-size: 13px;
    }
    
    .sidebar-doc-link {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* ===== PHASE 3: TRANG VĂN BẢN ===== */
    
    /* Bộ lọc tìm kiếm văn bản */
    .doc-filter-bar {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px;
    }
    
    .doc-filter-bar input,
    .doc-filter-bar select {
        width: 100%;
        height: 44px;
        padding: 10px 14px;
        font-size: 15px;
    }
    
    .btn-filter {
        width: 100%;
        height: 44px;
        font-size: 14px;
        padding: 10px 20px;
    }
    
    /* Pagination văn bản */
    .vanban-pagination {
        gap: 4px;
        justify-content: center;
    }
    
    .vanban-pagination li {
        margin: 0;
    }
    
    .vanban-pagination li a,
    .vanban-pagination li span {
        min-width: 36px;
        height: 36px;
        padding: 8px;
        font-size: 13px;
        line-height: 1.4;
    }
    
    .vanban-pagination li.active span {
        min-width: 36px;
    }
    
    /* Ẩn số trang xa trên mobile */
    .vanban-pagination li:not(.active):not(:first-child):not(:last-child):not(:nth-child(2)):not(:nth-last-child(2)) {
        display: none;
    }
    
    /* ===== PHASE 4: TRANG LIÊN HỆ ===== */
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 18px;
    }
    
    /* Form */
    .form-group {
        margin-bottom: 14px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-control {
        height: 44px;
        padding: 11px 14px;
        font-size: 15px;
    }
    
    textarea.form-control {
        min-height: 120px;
        height: auto;
        resize: vertical;
    }
    
    /* Captcha */
    .captcha-display {
        font-size: 20px;
        font-weight: 700;
        padding: 12px;
    }
    
    .captcha-input {
        height: 44px;
        font-size: 16px;
    }
    
    /* Submit Button */
    .btn-submit,
    .btn-submit-green {
        width: 100%;
        height: 48px;
        font-size: 15px;
        padding: 12px 24px;
    }
    
    /* Contact Info */
    .contact-info-list {
        gap: 16px;
    }
    
    .contact-info-list li {
        padding: 12px;
        font-size: 14px;
    }
    
    .contact-info-list i {
        font-size: 20px;
        min-width: 28px;
    }
    
    .contact-info-list a {
        word-break: break-word;
    }
    
    /* Google Maps */
    .contact-map-wrapper {
        height: 300px;
        border-radius: var(--radius-md);
    }
    
    .contact-map-wrapper iframe {
        border-radius: var(--radius-md);
    }
}

/* Mobile (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 0;
    }
    
    .header-brand {
        justify-content: center;
    }
    
    .brand-logo-img {
        height: 55px;
        max-width: 220px;
    }
    
    .header-search-wrap {
        width: 100%;
    }
    
    .header-search-form {
        width: 100%;
    }
    
    /* Hero Slider */
    .hero-slider-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-main-box {
        min-height: 280px;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    
    .slider-title {
        font-size: 16px;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
    }
    
    /* Tabs & Table */
    .tabs-navigation {
        overflow-x: auto;
    }
    
    .tab-btn {
        padding: 11px 18px;
        font-size: 13px;
        min-width: 150px;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
    
    .gov-document-table,
    .table-van-ban-chinh-sach {
        min-width: 100%;
    }
    
    /* Tin tức */
    .cat-news-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-post-thumb {
        height: 220px;
    }
    
    .sub-post-thumb {
        width: 85px;
        height: 60px;
    }
    
    /* Sản phẩm - 2 cột */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-thumb {
        width: 100%;
        height: 140px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    /* Trang văn bản - mobile */
    .doc-filter-bar {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .doc-filter-bar input {
        grid-column: 1 / -1;
    }
    
    .btn-filter {
        grid-column: 1 / -1;
        height: 44px;
    }
    
    .vanban-pagination li a,
    .vanban-pagination li span {
        min-width: 40px;
        height: 40px;
        padding: 10px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-control {
        height: 44px;
        font-size: 15px;
    }
    
    textarea.form-control {
        min-height: 130px;
    }
    
    .btn-submit {
        width: 100%;
        height: 48px;
    }
    
    .contact-map-wrapper {
        height: 320px;
    }
}

/* Tablet & Mobile Navigation */
@media (max-width: 991px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-main-box {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        min-height: 280px;
    }
    
    .cat-news-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .doc-filter-bar {
        grid-template-columns: 1fr;
    }
    
    .nav-menu-wrapper {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .main-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--color-primary-dark);
    }
    
    .main-menu.show {
        display: flex;
    }
    
    .main-menu > li {
        flex: 0 0 auto;
        width: 100%;
        display: block;
        text-align: left;
    }

    .main-menu > li > a {
        justify-content: flex-start;
        padding: 12px 18px;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .main-menu .sub-menu {
        display: none;
        position: static;
        box-shadow: none;
        background: #072e61;
    }

    .main-menu > li.open > .sub-menu {
        display: block;
    }
    
    .main-menu .sub-menu li a {
        color: #e2e8f0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .header-search-wrap {
        width: 100%;
    }

    .header-search-form {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .brand-main-title {
        font-size: 17px;
    }
    
    .brand-logo-img {
        height: 55px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .topbar-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================================
   TRANG GIỚI THIỆU - CHUẨN THEO THIẾT KẾ MẪU DCAFD
   ======================================================== */

.page-gioi-thieu-wrapper {
    background: #ffffff;
    padding-bottom: 60px;
}

/* 1. Panoramic Hero Banner */
.about-hero-banner {
    position: relative;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    width: 100%;
    aspect-ratio: 2167 / 725;
    display: flex;
    align-items: center;
    overflow: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.about-hero-banner::before {
    display: none;
}

.about-hero-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.about-hero-content {
    max-width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero-breadcrumb {
    font-size: clamp(12px, 1.15vw, 15px);
    color: #0B4EA2;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-hero-breadcrumb a {
    color: #0B4EA2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.about-hero-breadcrumb a:hover {
    color: #073b7d;
    text-decoration: underline;
}

.about-hero-breadcrumb .sep {
    color: #0B4EA2;
    font-size: clamp(10px, 0.9vw, 12px);
    font-weight: 700;
}

.about-hero-breadcrumb .current {
    color: #0B4EA2;
    font-weight: 600;
}

.about-hero-title {
    font-size: clamp(22px, 2.7vw, 38px);
    font-weight: 800;
    color: #0B4EA2;
    line-height: 1.15;
    margin: 2px 0 8px 0;
    letter-spacing: -0.3px;
    font-family: var(--font-heading);
}

.about-hero-slogan {
    font-size: clamp(12px, 1.1vw, 15px);
    color: #0B4EA2;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .about-hero-content {
        max-width: 65%;
    }
    .about-hero-title {
        font-size: 18px;
        margin: 1px 0 3px 0;
    }
    .about-hero-breadcrumb {
        font-size: 10.5px;
        gap: 4px;
        margin-bottom: 2px;
    }
    .about-hero-slogan {
        font-size: 10px;
        line-height: 1.25;
    }
}
    padding: 0 15px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-hero-content {
    max-width: 520px;
}

.about-hero-breadcrumb {
    font-size: 13px;
    color: #0B4EA2;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-hero-breadcrumb a {
    color: #0B4EA2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.about-hero-breadcrumb a:hover {
    color: #073b7d;
    text-decoration: underline;
}

.about-hero-breadcrumb .sep {
    color: #0B4EA2;
    font-size: 11px;
    font-weight: 700;
}

.about-hero-breadcrumb .current {
    color: #0B4EA2;
    font-weight: 600;
}

.about-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #0B4EA2;
    line-height: 1.15;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.about-hero-slogan {
    font-size: 13px;
    color: #0B4EA2;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .about-hero-container {
        text-align: center;
    }
    .about-hero-content {
        max-width: 100%;
    }
    .about-hero-breadcrumb {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .about-hero-title {
        font-size: 28px;
    }
    .about-hero-slogan {
        font-size: 14px;
    }
}

/* Section Header dùng chung */
.about-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.about-sec-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-bar-indicator {
    width: 5px;
    height: 28px;
    background: #f59e0b; /* Màu vàng cam theo ảnh */
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-sec-title {
    font-size: 24px;
    font-weight: 800;
    color: #073b7d;
    margin: 0;
    line-height: 1.25;
}

.about-sec-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 4px 0 0 0;
    font-weight: 500;
}

.about-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 22px;
    border: 1.5px solid #0076ba;
    color: #0076ba;
    background: #ffffff;
    border-radius: 25px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.about-btn-pill:hover {
    background: #0076ba;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 118, 186, 0.25);
    transform: translateY(-1px);
}

/* Section 1: Tổng quan về Quỹ */
.about-overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 50px;
    margin-top: 36px;
}

.about-overview-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 24px;
}

.about-conference-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(11, 78, 162, 0.12);
    background: #ffffff;
    border: 1px solid #e0f2fe;
}

.about-conference-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Section 2: Chức năng, nhiệm vụ */
.about-functions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 55px;
}

.about-function-card {
    background: #eef6fd;
    border: 1px solid #d9ebf9;
    border-radius: 18px;
    padding: 28px 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.about-function-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(11, 78, 162, 0.12);
    background: #ffffff;
    border-color: #0076ba;
}

.about-function-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 28px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 78, 162, 0.08);
}

.about-function-title {
    font-size: 15px;
    font-weight: 700;
    color: #073b7d;
    margin: 0;
    line-height: 1.45;
}

/* Section 3: Tầm nhìn & Sứ mệnh */
.about-vision-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 55px;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 36px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 45%, #93c5fd 100%);
    box-shadow: 0 8px 24px rgba(11, 78, 162, 0.08);
}

.about-vision-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
}

.about-vision-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.3) 100%);
    pointer-events: none;
}

.about-vision-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 62%;
}

.about-vision-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 6px 20px rgba(11, 78, 162, 0.1);
    transition: transform 0.25s ease;
}

.about-vision-card:hover {
    transform: translateY(-3px);
}

.about-vision-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.about-vision-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0076ba;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.about-vision-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #073b7d;
    margin: 0;
}

.about-vision-card-desc {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.about-growth-arrow-svg {
    position: absolute;
    right: 25px;
    bottom: 15px;
    width: 36%;
    height: 85%;
    pointer-events: none;
    z-index: 2;
}

/* Section 4: Đối tác và đơn vị đồng hành */
.about-partners-wrap {
    position: relative;
    margin-bottom: 55px;
}

.about-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-partner-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.about-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(11, 78, 162, 0.12);
    border-color: #7EC8F8;
}

.about-partner-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: contain;
    margin-bottom: 14px;
    padding: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.about-partner-name {
    font-size: 16px;
    font-weight: 800;
    color: #073b7d;
    margin: 0 0 8px 0;
}

.about-partner-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 14px 0;
    line-height: 1.5;
}

.about-partner-link {
    color: #0076ba;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.about-partner-link:hover {
    color: #f59e0b;
    gap: 8px;
}

.about-nav-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0076ba;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.about-nav-arrow.prev { left: -19px; }
.about-nav-arrow.next { right: -19px; }

.about-nav-arrow:hover {
    background: #083772;
    transform: translateY(-50%) scale(1.1);
}

/* Section 5: Tin tức nổi bật */
.about-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 55px;
}

.about-news-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(11, 78, 162, 0.1);
    border-color: #0076ba;
}

.about-news-thumb {
    width: 100%;
    height: 175px;
    overflow: hidden;
    position: relative;
    background: #e0f2fe;
}

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

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

.about-news-body {
    padding: 18px 20px 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.about-news-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    margin: 0 0 10px 0;
}

.about-news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-news-title a:hover {
    color: #0076ba;
}

.about-news-date {
    font-size: 12.5px;
    color: #94a3b8;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Section 6: Câu hỏi thường gặp */
.about-faq-container {
    margin-bottom: 30px;
}

.about-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    overflow: hidden;
    background: #f8fafc;
    transition: all 0.25s ease;
}

.about-faq-item.active {
    border-color: #0076ba;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 78, 162, 0.08);
    border-radius: 14px;
}

.about-faq-question {
    padding: 13px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.about-faq-q-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 14.5px;
    color: #073b7d;
}

.about-faq-arrow-icon {
    color: #0076ba;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.about-faq-item.active .about-faq-arrow-icon {
    transform: rotate(90deg);
    color: #f59e0b;
}

.about-faq-answer {
    padding: 0 22px 18px 46px;
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    display: none;
}

.about-faq-item.active .about-faq-answer {
    display: block;
}

/* Footer chuẩn theo ảnh DCAFD */
.dcafd-footer {
    background: #062852;
    color: #ffffff;
    position: relative;
    padding: 45px 0 25px 0;
    overflow: hidden;
    border-top: 3px solid #FFC928;
}

.dcafd-footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 1.1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dcafd-brand-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dcafd-logo-text {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    display: flex;
    align-items: center;
    line-height: 1;
}

.dcafd-logo-text span {
    color: #FFC928;
}

.dcafd-org-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e2e8f0;
    line-height: 1.4;
}

.dcafd-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 13.5px;
}

.dcafd-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
}

.dcafd-contact-list li i {
    color: #FFC928;
    margin-top: 3px;
    width: 16px;
}

.dcafd-cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.dcafd-slogan-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dcafd-slogan-text {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    text-align: right;
    line-height: 1.3;
}

.dcafd-slogan-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFC928;
    color: #062852;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dcafd-slogan-btn:hover {
    transform: scale(1.12);
}

.dcafd-socials {
    display: flex;
    gap: 12px;
}

.dcafd-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dcafd-social-icon:hover {
    background: #FFC928;
    color: #062852;
}

.dcafd-skyline-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    opacity: 0.18;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .about-overview-grid {
        grid-template-columns: 1fr;
    }
    .about-functions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-vision-container {
        padding: 24px;
    }
    .about-vision-content {
        width: 100%;
        grid-template-columns: 1fr;
    }
    .about-growth-arrow-svg {
        display: none;
    }
    .about-partners-grid {
        grid-template-columns: 1fr;
    }
    .about-nav-arrow {
        display: none;
    }
    .about-news-grid {
        grid-template-columns: 1fr;
    }
    .dcafd-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .dcafd-cta-block {
        align-items: flex-start;
    }
    .dcafd-slogan-text {
        text-align: left;
    }
}

/* ========================================================
   TRANG CƠ CẤU TỔ CHỨC - CHUẨN BỘ MÁY CỔNG TTĐT
   ======================================================== */

.org-page-container {
    background: #ffffff;
    padding-bottom: 60px;
}

/* 1. Legal Framework Box */
.org-framework-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 35px;
    box-shadow: 0 4px 14px rgba(11, 78, 162, 0.05);
}

.org-framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 14px;
}

.org-framework-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 12px;
}

.org-framework-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.org-framework-item h4 {
    margin: 0 0 4px 0;
    font-size: 14.5px;
    color: #073b7d;
    font-weight: 700;
}

.org-framework-item p {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

/* 2. Hierarchical Org Chart Tree */
.org-chart-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    margin-bottom: 45px;
    box-shadow: 0 6px 20px rgba(11, 78, 162, 0.06);
}

.org-tree-wrapper {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

/* Node Cấp 1: HĐQL */
.org-node-hdql {
    display: inline-block;
    background: linear-gradient(135deg, #0B4EA2 0%, #083772 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(11, 78, 162, 0.25);
    border: 2px solid #7EC8F8;
    position: relative;
    z-index: 2;
}

.org-line-v {
    width: 2px;
    height: 30px;
    background: #0B4EA2;
    margin: 0 auto;
}

/* Cấp 2: BKS & Ban Giám đốc */
.org-level-2-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
    margin-bottom: 0;
}

.org-node-bks {
    background: #f8fafc;
    border: 2px dashed #0284c7;
    color: #0369a1;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.org-node-bgd {
    background: linear-gradient(135deg, #FFC928 0%, #f59e0b 100%);
    color: #1a1a1a;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.3);
    border: 2px solid #ffffff;
}

/* Cấp 3: Khối phòng ban ngang */
.org-depts-tree {
    position: relative;
    margin-top: 15px;
    padding-top: 25px;
}

.org-depts-tree::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #0B4EA2;
}

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

.org-dept-node {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px 12px;
    box-shadow: 0 4px 12px rgba(11, 78, 162, 0.06);
    position: relative;
    transition: all 0.25s ease;
}

.org-dept-node::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background: #0B4EA2;
}

.org-dept-node:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(11, 78, 162, 0.14);
}

.org-dept-node-icon {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.org-dept-node-title {
    font-size: 14px;
    font-weight: 700;
    color: #073b7d;
    margin: 0 0 4px 0;
}

.org-dept-node-sub {
    font-size: 11.5px;
    color: #64748b;
    margin: 0;
}

/* 3. Team Filter Bar & Profile Cards */
.team-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.team-filter-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-filter-btn:hover,
.team-filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 78, 162, 0.25);
}

.profile-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.profile-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.profile-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.profile-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(11, 78, 162, 0.12);
    border-color: #7EC8F8;
}

.profile-avatar-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 14px;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    pointer-events: none;
}

.profile-name {
    font-size: 17px;
    font-weight: 800;
    color: #073b7d;
    margin: 0 0 6px 0;
}

.profile-role-badge {
    display: inline-block;
    background: #eff6ff;
    color: var(--color-primary);
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 15px;
    margin-bottom: 8px;
}

.profile-edu {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 500;
}

.profile-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    width: 100%;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    font-size: 12.5px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.profile-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}

.profile-contact-list li i {
    color: var(--color-primary);
    width: 14px;
}

.profile-contact-list a {
    color: inherit;
    text-decoration: none;
}

.profile-contact-list a:hover {
    color: var(--color-primary);
}

.profile-duty-box {
    margin-top: auto;
    width: 100%;
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    color: #334155;
    line-height: 1.4;
    text-align: left;
    border-left: 3px solid var(--color-primary);
}

/* 4. Department Details Grid */
.dept-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.dept-detail-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.dept-detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 12px;
}

.dept-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eef6fd;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.dept-detail-title {
    font-size: 17px;
    font-weight: 800;
    color: #073b7d;
    margin: 0;
}

.dept-detail-lead {
    font-size: 13px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.dept-tasks-list {
    padding-left: 18px;
    margin: 0 0 16px 0;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.6;
}

.dept-tasks-list li {
    margin-bottom: 6px;
}

.dept-contact-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12.5px;
    color: #475569;
    flex-wrap: wrap;
    gap: 8px;
}

/* Responsive */
@media (max-width: 991px) {
    .org-framework-grid {
        grid-template-columns: 1fr;
    }
    .org-depts-tree::before {
        display: none;
    }
    .org-depts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .org-dept-node::before {
        display: none;
    }
    .profile-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dept-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .org-level-2-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .org-depts-grid {
        grid-template-columns: 1fr;
    }
    .profile-cards-grid {
        grid-template-columns: 1fr;
    }
}





/* ================= EXTRA COMPONENTS FROM XAMPP ================= */

/* --- 16. GIAO DIỆN HÀNG DÀI HƯỚNG DẪN THỦ TỤC & ACCORDION --- */
.gov-proc-container {
    width: 100%;
    min-width: 0;
}

.gov-proc-tabs-wrap {
    border-bottom: 2px solid #ea580c;
    margin-bottom: 16px;
    display: flex;
    overflow-x: auto;
    gap: 4px;
    max-width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
}

.gov-proc-tab {
    padding: 10px 20px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    font-family: inherit;
}

.gov-proc-tab:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gov-proc-tab-count {
    display: inline-block;
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 10px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.gov-proc-tab.active .gov-proc-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.gov-proc-tab:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.gov-proc-tab.active {
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
}

.gov-proc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.gov-proc-search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
    max-width: 450px;
}

.gov-proc-search-box input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    font-size: 13.5px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--color-text-main);
    outline: none;
    transition: border-color 0.2s ease;
}

.gov-proc-search-box input:focus {
    border-color: var(--color-primary);
}

.gov-proc-search-box i,
.gov-proc-search-box svg,
.gov-proc-search-box .tq-svg,
.gov-proc-search-box .gov-proc-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    stroke: #94a3b8;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.gov-proc-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gov-proc-btn-toggle-all {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.gov-proc-btn-toggle-all:hover {
    background: #e2e8f0;
    color: #0B4EA2;
}

.gov-proc-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    overflow: hidden;
}

.gov-proc-item {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.15s ease;
}

.gov-proc-item:last-child {
    border-bottom: none;
}

.gov-proc-empty-result {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    background: #ffffff;
}

.gov-proc-empty-result i {
    display: block;
    font-size: 38px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.gov-proc-empty-result p {
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 14px 0;
}

.gov-proc-reset-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #0B4EA2;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.gov-proc-reset-filter:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

.gov-proc-summary {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 240px;
    gap: 16px;
    padding: 16px 20px;
    align-items: start;
    cursor: pointer;
    user-select: none;
    text-decoration: none !important;
    color: inherit !important;
    transition: background 0.15s ease;
}

.gov-proc-item:hover {
    border-color: #0B4EA2;
}

.gov-proc-item:hover .gov-proc-summary {
    background: #f8fafc;
}

.gov-proc-item:hover .gov-proc-title {
    color: #073b7d;
    text-decoration: underline;
}

.gov-proc-file-action {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
}

.gov-proc-item:hover .gov-proc-file-action {
    text-decoration: underline;
}

.gov-proc-badge-col {
    display: flex;
    justify-content: center;
    padding-top: 2px;
}

.proc-badge-hot {
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.proc-badge-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
}

.gov-proc-main-col {
    display: flex;
    flex-direction: column;
}

.gov-proc-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.45;
    margin: 0 0 8px 0;
    transition: color 0.15s ease;
}

.gov-proc-title:hover {
    color: #073b7d;
    text-decoration: underline;
}

.gov-proc-meta-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
}

.gov-proc-meta-links .sep {
    color: #cbd5e1;
}

.gov-proc-toggle-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-size: 12.5px;
}

.gov-proc-toggle-link:hover {
    text-decoration: underline;
}

.gov-proc-toggle-link i.fa-chevron-down {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.gov-proc-item.is-open .gov-proc-toggle-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.gov-proc-meta-col {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.7;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #f1f5f9;
}

.gov-proc-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.gov-proc-meta-label {
    color: #64748b;
    white-space: nowrap;
}

.gov-proc-meta-val {
    font-weight: 600;
    color: #1e293b;
    text-align: right;
}

.badge-status-active {
    color: #16a34a;
    font-weight: 700;
}

.gov-proc-drawer {
    display: none;
    padding: 20px 24px 24px 24px;
    background: #f8fafc;
    border-top: 1px dashed #cbd5e1;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.6;
}

.gov-proc-item.is-open .gov-proc-drawer {
    display: block;
}

.gov-proc-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.gov-proc-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px 18px;
}

.gov-proc-section-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.gov-proc-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gov-proc-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gov-proc-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.gov-proc-check-list {
    margin: 0;
    padding-left: 20px;
}

.gov-proc-check-list li {
    margin-bottom: 6px;
}

.gov-proc-drawer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.gov-proc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.gov-proc-download-btn:hover {
    background: #083772;
    color: #ffffff;
}

.gov-proc-close-btn {
    background: none;
    border: 1px solid #cbd5e1;
    color: #64748b;
    padding: 7px 16px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.gov-proc-close-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #94a3b8;
}

@media (max-width: 860px) {
    /* Tabs: cuộn ngang, không xuống dòng */
    .gov-proc-tabs-wrap {
        scroll-snap-type: x proximity;
        padding-bottom: 2px;
    }

    .gov-proc-tab {
        scroll-snap-align: start;
    }

    .gov-proc-summary {
        grid-template-columns: 36px 1fr;
        gap: 12px;
        padding: 14px 16px;
    }

    /* Hộp thông tin pháp lý chuyển xuống dưới, chia 2 cột cho gọn */
    .gov-proc-meta-col {
        grid-column: 1 / -1;
        margin-top: 6px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 18px;
    }
}

/* Điện thoại lớn / tablet dọc */
@media (max-width: 640px) {
    .gov-proc-tabs-wrap {
        gap: 2px;
        margin-bottom: 12px;
        scrollbar-width: none;
    }

    .gov-proc-tabs-wrap::-webkit-scrollbar {
        display: none;
    }

    .gov-proc-tab {
        padding: 8px 12px;
        font-size: 12px;
    }

    .gov-proc-tab-count {
        min-width: 18px;
        padding: 0 5px;
        font-size: 10px;
    }

    /* Thanh tìm kiếm + nút mở tất cả xếp dọc, full chiều rộng */
    .gov-proc-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .gov-proc-search-box {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    /* Tránh iOS tự zoom khi focus vào ô nhập */
    .gov-proc-search-box input {
        font-size: 16px;
        padding: 10px 14px 10px 36px;
    }

    .gov-proc-toolbar-actions {
        width: 100%;
    }

    .gov-proc-btn-toggle-all {
        width: 100%;
        justify-content: center;
        padding: 9px 14px;
    }

    .gov-proc-summary {
        grid-template-columns: 30px 1fr;
        gap: 10px;
        padding: 12px 14px;
    }

    .proc-badge-num {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .proc-badge-hot {
        font-size: 10px;
        padding: 2px 6px;
    }

    .gov-proc-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .gov-proc-meta-links {
        gap: 6px;
        font-size: 12px;
    }

    /* Bỏ dấu "|" để các dòng meta gọn hơn trên màn hình hẹp */
    .gov-proc-meta-links .sep {
        display: none;
    }

    .gov-proc-meta-col {
        grid-template-columns: 1fr;
        padding: 10px 12px;
        font-size: 12px;
    }

    .gov-proc-drawer {
        padding: 14px;
        font-size: 13px;
    }

    .gov-proc-section {
        padding: 12px 14px;
    }

    .gov-proc-section-title {
        font-size: 13.5px;
    }

    /* Chân drawer: nút tải biểu mẫu / tư vấn / thu gọn xếp dọc */
    .gov-proc-drawer-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .gov-proc-drawer-footer > div {
        flex-direction: column;
        align-items: stretch !important;
    }

    .gov-proc-download-btn,
    .gov-proc-close-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .gov-proc-empty-result {
        padding: 28px 14px;
    }
}

/* Điện thoại nhỏ */
@media (max-width: 420px) {
    .gov-proc-tab {
        padding: 7px 10px;
        font-size: 11.5px;
    }

    .gov-proc-summary {
        grid-template-columns: 26px 1fr;
        gap: 8px;
        padding: 11px 12px;
    }

    .proc-badge-num {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .gov-proc-title {
        font-size: 13.5px;
    }

    .gov-proc-meta-links {
        font-size: 11.5px;
    }

    .gov-proc-drawer {
        padding: 12px;
    }

    .gov-proc-section {
        padding: 10px 12px;
    }
}

/* ==========================================================================
   TIN TỨC CHUYÊN MỤC & TRANG TỔNG HỢP (LAYOUT CHUẨN ẢNH MẪU)
   ========================================================================== */

/* 1. Tiêu đề danh mục in hoa to như ảnh mẫu */
.news-category-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0B4EA2;
}

.news-category-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.3;
}

/* 2. Danh sách bài viết dạng hàng ngang */
.news-archive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-archive-item {
    display: flex;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: flex-start;
}

.news-archive-item:first-child {
    padding-top: 0;
}

.news-archive-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 3. Khung thumbnail ảnh bên trái */
.news-archive-thumb {
    width: 250px;
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
    background: #f1f5f9;
}

.news-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-archive-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 36px;
}

/* 4. Khối nội dung bên phải */
.news-archive-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.news-archive-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.news-archive-title a {
    color: #0f172a;
    text-decoration: none;
}

.news-archive-title a:hover {
    color: #0B4EA2;
    text-decoration: underline;
}

.news-archive-excerpt {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-archive-meta {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.news-archive-date {
    font-size: 13px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.news-archive-date i {
    color: #d97706; /* Màu cam hổ phách chuẩn ảnh mẫu */
    font-size: 14px;
}

/* ==========================================================================
   BỘ LỌC TRANG TIN TỨC TỔNG HỢP (FILTER BAR)
   ========================================================================== */
.news-filter-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
}

.news-filter-tabs-wrap {
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.news-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-tab-item {
    margin: 0;
}

.news-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    font-family: inherit;
}

.news-tab-item.active .news-tab-btn {
    background: #0B4EA2;
    border-color: #0B4EA2;
    color: #ffffff;
}

.news-tab-count {
    display: inline-block;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    background: #e2e8f0;
    color: #475569;
}

.news-tab-item.active .news-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.news-filter-toolbar {
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
}

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

.news-search-input-group {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.news-search-input-group input {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 36px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13.5px;
    color: #1e293b;
    background: #ffffff;
    outline: none;
    box-sizing: border-box;
}

.news-search-input-group input:focus {
    border-color: #0B4EA2;
}

.news-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    stroke: #94a3b8;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.news-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

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

.news-sort-label {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
}

.news-sort-select {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    font-family: inherit;
}

.btn-news-filter-submit {
    height: 40px;
    padding: 0 18px;
    background: #0B4EA2;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.btn-news-filter-reset {
    height: 40px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

/* Trạng thái kết quả & Loading */
.news-results-status {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.news-results-wrap {
    position: relative;
    min-height: 200px;
    transition: opacity 0.2s ease;
}

.news-results-wrap.is-loading .news-archive-list {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.news-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
    font-size: 14px;
    font-weight: 600;
    color: #0B4EA2;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.news-archive-item {
    animation: newsFadeIn 0.22s ease-out;
}

@keyframes newsFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #0B4EA2;
    border-radius: 50%;
    animation: newsSpin 0.7s linear infinite;
}

@keyframes newsSpin {
    to { transform: rotate(360deg); }
}

.news-empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #64748b;
}

.news-empty-state > i,
.news-empty-icon i {
    font-size: 46px;
    color: #94a3b8;
    margin-bottom: 14px;
    display: inline-block;
}

.news-empty-state p {
    font-size: 14.5px;
    color: #475569;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.btn-back-news {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    background: #0B4EA2;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
    border: 1px solid #0B4EA2;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-back-news:hover {
    background: #083c7d;
    border-color: #083c7d;
    color: #ffffff !important;
    text-decoration: none !important;
}

.btn-back-news svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2.2;
    flex-shrink: 0;
}

.btn-back-news i {
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: inline-block !important;
    color: inherit !important;
}

@media (max-width: 768px) {
    .news-archive-item {
        flex-direction: column;
        gap: 14px;
    }

    .news-archive-thumb {
        width: 100%;
        height: 200px;
    }

    .news-archive-body {
        min-height: auto;
    }

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

    .news-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .news-sort-group {
        width: 100%;
        justify-content: space-between;
    }

    .news-sort-select {
        flex: 1;
    }

    .btn-news-filter-submit,
    .btn-news-filter-reset {
        justify-content: center;
    }
}

/* ==========================================================================
   PAGINATION STYLING (PHÂN TRANG CHUẨN ĐỒNG BỘ TIN TỨC & VĂN BẢN)
   ========================================================================== */
.vanban-pagination,
.theme-quy-pagination,
.news-pagination {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    width: 100%;
    clear: both;
}

.vanban-pagination ul,
.vanban-pagination ul.page-numbers,
.theme-quy-pagination ul,
.news-pagination ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.vanban-pagination li,
.theme-quy-pagination li,
.news-pagination li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
}

.vanban-pagination a.page-numbers,
.vanban-pagination span.page-numbers,
.theme-quy-pagination a.page-numbers,
.theme-quy-pagination span.page-numbers,
.news-pagination a.page-numbers,
.news-pagination span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    user-select: none !important;
}

.vanban-pagination span.page-numbers.current,
.theme-quy-pagination span.page-numbers.current,
.news-pagination span.page-numbers.current {
    background: #0B4EA2 !important;
    color: #ffffff !important;
    border-color: #0B4EA2 !important;
    box-shadow: 0 3px 10px rgba(11, 78, 162, 0.3) !important;
    cursor: default !important;
    pointer-events: none !important;
}

.vanban-pagination a.page-numbers:hover,
.theme-quy-pagination a.page-numbers:hover,
.news-pagination a.page-numbers:hover {
    background: #eff6ff !important;
    color: #0B4EA2 !important;
    border-color: #93c5fd !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(11, 78, 162, 0.15) !important;
}

.vanban-pagination .prev.page-numbers,
.vanban-pagination .next.page-numbers,
.theme-quy-pagination .prev.page-numbers,
.theme-quy-pagination .next.page-numbers {
    gap: 8px !important;
    padding: 0 18px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.vanban-pagination .prev.page-numbers i,
.vanban-pagination .next.page-numbers i {
    font-size: 12px !important;
    margin: 0 !important;
}

.vanban-pagination span.dots {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 24px !important;
    padding: 0 4px !important;
    color: #94a3b8 !important;
}





/* ================================================================
   RESPONSIVE MOBILE OPTIMIZATION - PHASES 1-4
   Global, Header, Homepage, Văn bản, Liên hệ
   ================================================================ */

/* ==========================================================================
   TABLET RESPONSIVE (768px - 991px) - OPTIMIZED FOR iPAD & TABLETS
   ========================================================================== */

@media (min-width: 768px) and (max-width: 991px) {
    
    /* GLOBAL & TYPOGRAPHY */
    body {
        font-size: 14.5px;
        line-height: 1.65;
    }
    
    .container {
        padding: 0 24px;
    }
    
    h1, .h1 {
        font-size: clamp(32px, 3.5vw, 36px) !important;
    }
    
    h2, .h2 {
        font-size: clamp(26px, 3vw, 28px) !important;
    }
    
    h3, .h3 {
        font-size: clamp(20px, 2.5vw, 22px) !important;
    }
    
    /* HEADER */
    .site-header {
        padding: 12px 0;
    }
    
    .site-logo img {
        height: 60px;
    }
    
    .header-search-box {
        height: 44px;
    }
    
    .btn-header-search {
        height: 44px;
        padding: 0 22px;
        font-size: 14.5px;
    }
    
    /* NAVIGATION - Show horizontal menu on tablet */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-navigation {
        display: block !important;
    }
    
    .main-menu {
        display: flex !important;
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
    }
    
    .main-menu > li > a {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    /* HERO BANNER (Subpages) */
    .site-hero-banner,
    .subpage-hero-banner,
    .about-hero-banner,
    .org-hero-banner,
    .contact-hero-banner {
        min-height: 280px;
        aspect-ratio: auto;
    }
    
    .site-hero-container,
    .about-hero-container,
    .org-hero-container,
    .contact-hero-container {
        padding: 50px 24px;
    }
    
    .site-hero-content,
    .about-hero-content,
    .org-hero-content,
    .contact-hero-content {
        max-width: 85%;
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }
    
    .site-hero-title,
    .about-hero-title,
    .org-hero-title,
    .contact-hero-title {
        font-size: clamp(32px, 3.5vw, 38px) !important;
        text-align: center !important;
    }
    
    /* HOMEPAGE SECTIONS */
    
    /* About Overview - 2 columns on tablet */
    .about-overview-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
    
    .about-overview-collage {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Puzzle Vision Mission - Side by side reduced */
    .puzzle-vision-mission-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    
    /* Quy trinh 4 buoc - 2x2 grid */
    .quy-trinh-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    /* Doi tac - 3-4 columns */
    .doi-tac-logo-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    
    /* FAQ - 2 columns */
    .faq-accordion-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    /* Tabs van ban */
    .tabs-van-ban-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Tin tuc grid */
    .tin-tuc-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    /* TRANG VAN BAN */
    .doc-filter-bar {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .doc-filter-select {
        min-width: 180px;
    }
    
    .vanban-table-wrap {
        overflow-x: auto;
    }
    
    /* TRANG THU TUC */
    .gov-proc-tabs-wrap {
        justify-content: flex-start;
        gap: 8px;
    }
    
    .gov-proc-tab {
        font-size: 13px;
        padding: 10px 16px;
    }
    
    .procedure-table-wrap {
        overflow-x: auto;
    }
    
    /* TRANG GIOI THIEU */
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .about-milestone-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* TRANG CO CAU TO CHUC */
    .org-framework-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
    
    .org-team-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    
    .org-chart-wrap {
        overflow-x: auto;
        padding-bottom: 20px;
    }
    
    /* TRANG LIEN HE */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .contact-form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .contact-map-wrap {
        height: 380px !important;
    }
    
    /* FOOTER */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    .footer-col:last-child {
        grid-column: 1 / -1;
    }
    
    /* SIDEBAR */
    .portal-grid {
        grid-template-columns: 1fr 320px !important;
        gap: 24px !important;
    }
    
    .sidebar {
        display: block !important;
    }
    
    /* BUTTONS & TOUCH TARGETS */
    button,
    .button,
    .btn,
    input[type="submit"],
    input[type="button"] {
        min-height: 46px;
        padding: 10px 20px;
        font-size: 14.5px;
    }
    
    /* IMAGES */
    .post-thumbnail,
    .news-thumb,
    .sub-post-thumb {
        height: 220px !important;
    }
    
    /* SPACING */
    .portal-block {
        margin-bottom: 28px;
    }
    
    .block-body {
        padding: 24px !important;
    }
    
    section,
    .home-section {
        padding: 50px 0;
    }
    
    /* TABLES */
    table {
        font-size: 14px;
    }
    
    td, th {
        padding: 12px 14px;
    }
    
    /* CARDS */
    .card,
    .news-card,
    .doc-card {
        padding: 20px;
    }
    
    /* PAGINATION */
    .pagination {
        gap: 8px;
    }
    
    .page-numbers {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE (Original - max-width: 991px)
   ========================================================================== */

/* PHASE 1: GLOBAL & HEADER */
@media (max-width: 991px) {
    /* Global base styles */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Header responsive */
    .site-header {
        padding: 10px 0;
    }
    
    .header-top-bar {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .site-logo img {
        height: 55px;
    }
    
    /* Header search bar */
    .header-search-wrap {
        margin-top: 10px;
    }
    
    .header-search-box {
        height: 42px;
    }
    
    .btn-header-search {
        height: 42px;
        padding: 0 20px;
        font-size: 14px;
    }
}

@media (max-width: 479px) {
    body {
        font-size: 13.5px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .site-header {
        padding: 8px 0;
    }
    
    .site-logo img {
        height: 50px;
    }
    
    .header-search-box {
        height: 44px;
        font-size: 14px;
    }
    
    .btn-header-search {
        height: 44px;
        padding: 0 16px;
        font-size: 13px;
    }
}

/* PHASE 2: TRANG CHỦ */
@media (max-width: 991px) {
    /* Hero slider responsive */
    .hero-carousel {
        height: 320px;
    }
    
    .hero-slide {
        height: 320px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .hero-desc {
        font-size: 14px;
    }
    
    /* Carousel controls */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    /* Tabs văn bản responsive */
    .tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tabs-nav::-webkit-scrollbar {
        height: 4px;
    }
    
    .tab-link {
        white-space: nowrap;
        font-size: 13px;
        padding: 10px 16px;
    }
    
    /* Table responsive wrapper */
    .table-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Tin tức grid */
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .news-card {
        padding: 14px;
    }
    
    .news-thumb {
        height: 140px;
    }
    
    .news-title {
        font-size: 14px;
    }
    
    /* Sản phẩm grid */
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .product-card {
        padding: 14px;
    }
    
    /* Sidebar */
    .portal-sidebar {
        margin-top: 20px;
    }
    
    .sidebar-block {
        margin-bottom: 16px;
    }
}

@media (max-width: 479px) {
    /* Hero slider mobile-sm */
    .hero-carousel {
        height: 240px;
    }
    
    .hero-slide {
        height: 240px;
    }
    
    .hero-content {
        padding: 16px;
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .hero-desc {
        font-size: 13px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 36px;
        height: 36px;
    }
    
    /* Tabs scroll horizontal */
    .tab-link {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    /* News grid single column */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-thumb {
        height: 180px;
    }
    
    /* Product horizontal layout */
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }
    
    .product-thumb {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }
}

/* PHASE 3: TRANG VĂN BẢN */
@media (max-width: 991px) {
    /* Document filter bar */
    .doc-filter-bar {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .doc-filter-input {
        height: 42px;
        font-size: 14px;
    }
    
    .btn-doc-filter {
        height: 42px;
        font-size: 14px;
    }
    
    /* Pagination */
    .vanban-pagination a.page-numbers,
    .vanban-pagination span.page-numbers {
        min-width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }
    
    /* Table wrapper */
    .table-van-ban-chinh-sach {
        font-size: 12px;
    }
    
    .table-van-ban-chinh-sach th,
    .table-van-ban-chinh-sach td {
        padding: 10px 8px;
    }
}

@media (max-width: 479px) {
    /* Filter stacked */
    .doc-filter-bar {
        grid-template-columns: 1fr;
    }
    
    .doc-filter-input {
        height: 44px;
        font-size: 15px;
    }
    
    .btn-doc-filter {
        height: 44px;
    }
    
    /* Pagination compact */
    .vanban-pagination a.page-numbers,
    .vanban-pagination span.page-numbers {
        min-width: 34px !important;
        height: 34px !important;
        padding: 0 10px !important;
    }
}

/* PHASE 4: TRANG LIÊN HỆ */
@media (max-width: 991px) {
    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Form inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        height: 44px;
        font-size: 16px; /* Prevent iOS zoom */
        padding: 10px 14px;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    /* Submit button */
    .btn-submit-form {
        width: 100%;
        height: 46px;
        font-size: 15px;
    }
    
    /* Contact info */
    .contact-info-item {
        padding: 14px;
        font-size: 14px;
    }
    
    .contact-info-item i {
        font-size: 20px;
    }
    
    /* Map responsive */
    .contact-map {
        height: 300px;
    }
}

@media (max-width: 479px) {
    .contact-grid {
        gap: 16px;
    }
    
    .form-group input,
    .form-group select {
        height: 46px;
    }
    
    .contact-info-item {
        padding: 12px;
        font-size: 13px;
    }
    
    .contact-map {
        height: 250px;
    }
}

/* ================================================================
   PHASE 5: CÁC TRANG KHÁC - RESPONSIVE MOBILE
   Tin tức, Thủ tục, Giới thiệu, Cơ cấu tổ chức
   ================================================================ */

/* 5.1 TRANG TIN TỨC (page-tin-tuc.php) */
@media (max-width: 991px) {
    /* Post item layout */
    .sub-post-item {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .sub-post-thumb {
        width: 100% !important;
        height: 200px !important;
    }
    
    .sub-post-item h3 {
        font-size: 15px !important;
    }
    
    .sub-post-item p {
        font-size: 13px !important;
    }
}

@media (max-width: 479px) {
    .sub-post-thumb {
        height: 180px !important;
    }
    
    .sub-post-item h3 {
        font-size: 14px !important;
    }
}

/* 5.2 TRANG THỦ TỤC (page-thu-tuc.php) */
@media (max-width: 991px) {
    /* Quy trình 4 bước - responsive grid */
    .page-thu-tuc [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    
    /* Bảng thủ tục - responsive table */
    .gov-document-table {
        font-size: 12px;
    }
    
    .gov-document-table th,
    .gov-document-table td {
        padding: 10px 8px;
    }
    
    /* Hide less important columns on mobile */
    .gov-document-table th:nth-child(3),
    .gov-document-table td:nth-child(3),
    .gov-document-table th:nth-child(4),
    .gov-document-table td:nth-child(4) {
        display: none;
    }
}

@media (max-width: 479px) {
    /* Stack quy trình 4 bước */
    .page-thu-tuc [style*="grid-template-columns: repeat(4, 1fr)"],
    .page-thu-tuc [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Compact table on mobile-sm */
    .gov-document-table {
        font-size: 11px;
    }
    
    .gov-document-table th,
    .gov-document-table td {
        padding: 8px 6px;
    }
}

/* 5.3 TRANG GIỚI THIỆU (page-gioi-thieu.php) */
@media (max-width: 991px) {
    /* Hero banner responsive */
    .about-hero-banner {
        aspect-ratio: 16 / 9;
    }
    
    .about-hero-content {
        max-width: 65%;
    }
    
    .about-hero-title {
        font-size: 26px !important;
    }
    
    /* Overview grid */
    .about-overview-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    .about-overview-text,
    .about-conference-card {
        max-width: 100%;
    }
    
    /* Functions grid - 2 columns */
    .about-functions-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px;
    }
    
    .about-function-card {
        padding: 20px 16px;
    }
    
    .about-function-title {
        font-size: 14px;
    }
    
    /* Vision cards stack */
    .about-vision-content {
        flex-direction: column !important;
        gap: 16px;
    }
    
    .about-vision-card {
        max-width: 100%;
    }
    
    /* Partners grid - 2 columns */
    .about-partners-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px;
    }
    
    .about-partner-card {
        padding: 20px 16px;
    }
    
    /* FAQ list */
    .about-faq-question {
        font-size: 14px;
        padding: 14px 12px;
    }
    
    .about-faq-answer {
        font-size: 13px;
        padding: 14px 12px;
    }
}

@media (max-width: 479px) {
    /* Hero banner mobile-sm */
    .about-hero-banner {
        aspect-ratio: 4 / 3;
    }
    
    .about-hero-content {
        max-width: 75%;
    }
    
    .about-hero-title {
        font-size: 22px !important;
    }
    
    .about-hero-slogan {
        font-size: 12px !important;
    }
    
    /* Functions grid - single column */
    .about-functions-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Partners grid - single column */
    .about-partners-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Buttons full-width */
    .about-btn-pill {
        width: 100%;
        text-align: center;
    }
    
    /* Section header stack */
    .about-section-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }
}

/* 5.4 TRANG CƠ CẤU TỔ CHỨC (page-co-cau-to-chuc.php) */
@media (max-width: 991px) {
    /* Hero banner org */
    .org-hero-banner {
        aspect-ratio: 16 / 9;
    }
    
    .org-hero-content {
        max-width: 65%;
    }
    
    .org-hero-title {
        font-size: 26px !important;
    }
    
    /* Org chart responsive */
    .org-chart-departments-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px;
    }
    
    .org-dept-col-card {
        padding: 20px 12px;
    }
    
    .org-dept-col-title {
        font-size: 13px;
    }
    
    /* Leaders grid - 2 columns */
    .org-leaders-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px;
    }
    
    .org-leader-card {
        padding: 16px;
    }
    
    .org-leader-name {
        font-size: 15px;
    }
    
    .org-leader-role {
        font-size: 13px;
    }
    
    /* Departments grid - 2 columns */
    .org-departments-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px;
    }
    
    .org-department-card {
        padding: 20px 16px;
    }
    
    .org-dept-name {
        font-size: 15px;
    }
    
    /* CTA banner */
    .org-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px 20px;
    }
    
    .org-cta-title {
        font-size: 20px;
    }
    
    .org-cta-slogan {
        font-size: 14px;
    }
}

@media (max-width: 479px) {
    /* Hero banner org mobile-sm */
    .org-hero-banner {
        aspect-ratio: 4 / 3;
    }
    
    .org-hero-content {
        max-width: 75%;
    }
    
    .org-hero-title {
        font-size: 22px !important;
    }
    
    .org-hero-slogan {
        font-size: 12px !important;
    }
    
    /* Org chart - single column */
    .org-chart-departments-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Adjust branch connector for mobile */
    .org-branch-line-h {
        width: 90%;
    }
    
    .org-branch-drops {
        width: 90%;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* Leaders grid - single column */
    .org-leaders-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Departments grid - single column */
    .org-departments-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Hide org chart leaf decoration on mobile */
    .org-chart-leaf-decor {
        display: none;
    }
    
    /* Growth arrow smaller on mobile */
    .about-growth-arrow-svg {
        width: 180px;
        height: auto;
    }
}

/* 5.5 GENERAL PAGE HEADER BANNER */
@media (max-width: 991px) {
    .page-header-banner {
        padding: 20px 0;
    }
    
    .page-title {
        font-size: 22px !important;
    }
    
    .breadcrumb-nav {
        font-size: 13px;
    }
}

@media (max-width: 479px) {
    .page-header-banner {
        padding: 16px 0;
    }
    
    .page-title {
        font-size: 18px !important;
    }
    
    .breadcrumb-nav {
        font-size: 12px;
    }
}

/* 5.6 PORTAL BLOCK BODY PADDING */
@media (max-width: 991px) {
    .portal-block .block-body {
        padding: 20px !important;
    }
}

@media (max-width: 479px) {
    .portal-block .block-body {
        padding: 16px !important;
    }
}

/* END PHASE 5 */


/* ================================================================
   PHASE 6: FOOTER - RESPONSIVE MOBILE
   Footer layout, back-to-top button
   ================================================================ */

/* 6.1 Footer Layout Responsive */
@media (max-width: 991px) {
    .site-footer {
        font-size: 13px;
    }
    
    .footer-top {
        padding: 28px 0 20px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Logo smaller on tablet */
    .footer-brand-logo {
        height: 45px !important;
    }
    
    .footer-info-list {
        font-size: 13px;
        gap: 8px;
    }
    
    .footer-info-list li {
        gap: 10px;
    }
    
    /* Cert box center on tablet */
    .footer-cert-box {
        align-items: center;
        text-align: center;
    }
    
    .cert-badge {
        padding: 10px 16px;
    }
    
    /* Footer bottom stack */
    .footer-bottom {
        padding: 14px 0;
        font-size: 12px;
        text-align: center;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 479px) {
    .site-footer {
        font-size: 12px;
    }
    
    .footer-top {
        padding: 24px 0 18px 0;
    }
    
    /* Logo even smaller on mobile-sm */
    .footer-brand-logo {
        height: 40px !important;
    }
    
    .footer-info-list {
        font-size: 12px;
        gap: 10px;
    }
    
    .footer-info-list li {
        flex-direction: row;
        gap: 8px;
    }
    
    /* SVG icons slightly smaller */
    .footer-svg-icon {
        width: 14px;
        height: 14px;
    }
    
    .cert-badge {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .footer-bottom {
        font-size: 11px;
        padding: 12px 0;
    }
}

/* 6.2 Back to Top Button Responsive */
@media (max-width: 991px) {
    .back-to-top {
        width: 46px;
        height: 46px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

@media (max-width: 479px) {
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
        font-size: 20px;
        border-width: 2.5px;
    }
    
    /* Larger touch target on mobile */
    .back-to-top::before {
        content: '';
        position: absolute;
        top: -4px;
        right: -4px;
        bottom: -4px;
        left: -4px;
    }
}

/* END PHASE 6 */


/* ================================================================
   PHASE 7: TYPOGRAPHY & SPACING - RESPONSIVE MOBILE
   Cross-cutting improvements for readability and touch accessibility
   ================================================================ */

/* 7.1 Typography Scale - Mobile Optimized */
@media (max-width: 991px) {
    body {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Heading scale for tablet/mobile */
    h1, .h1 {
        font-size: 26px !important;
        line-height: 1.25;
        margin-bottom: 16px;
    }
    
    h2, .h2 {
        font-size: 22px !important;
        line-height: 1.3;
        margin-bottom: 14px;
    }
    
    h3, .h3 {
        font-size: 18px !important;
        line-height: 1.35;
        margin-bottom: 12px;
    }
    
    h4, .h4 {
        font-size: 16px !important;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    h5, .h5 {
        font-size: 15px !important;
        line-height: 1.4;
    }
    
    h6, .h6 {
        font-size: 14px !important;
        line-height: 1.4;
    }
    
    /* Small text */
    small, .small {
        font-size: 13px;
    }
    
    /* Paragraphs */
    p {
        margin-bottom: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 479px) {
    body {
        font-size: 13.5px;
        line-height: 1.6;
    }
    
    /* Even smaller heading scale for mobile-sm */
    h1, .h1 {
        font-size: 24px !important;
        line-height: 1.25;
        margin-bottom: 14px;
    }
    
    h2, .h2 {
        font-size: 20px !important;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    h3, .h3 {
        font-size: 17px !important;
        line-height: 1.35;
        margin-bottom: 10px;
    }
    
    h4, .h4 {
        font-size: 15px !important;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    h5, .h5 {
        font-size: 14px !important;
        line-height: 1.4;
    }
    
    h6, .h6 {
        font-size: 13px !important;
        line-height: 1.4;
    }
    
    small, .small {
        font-size: 12px;
    }
    
    p {
        margin-bottom: 12px;
        line-height: 1.65;
    }
}

/* 7.2 Spacing & Layout Adjustments */
@media (max-width: 991px) {
    /* Container padding */
    .container {
        padding: 0 20px;
    }
    
    /* Section spacing */
    .site-content {
        padding: 24px 0;
    }
    
    /* Portal blocks */
    .portal-block {
        margin-bottom: 20px;
    }
    
    .block-header {
        padding: 14px 18px;
    }
    
    .block-body {
        padding: 18px;
    }
    
    /* Cards */
    .card, .info-card {
        padding: 18px;
        margin-bottom: 16px;
    }
    
    /* Grid gaps */
    .portal-grid {
        gap: 20px;
    }
    
    /* Lists */
    ul, ol {
        padding-left: 24px;
    }
    
    li {
        margin-bottom: 8px;
    }
}

@media (max-width: 479px) {
    /* Tighter spacing on mobile-sm */
    .container {
        padding: 0 15px;
    }
    
    .site-content {
        padding: 20px 0;
    }
    
    .portal-block {
        margin-bottom: 16px;
    }
    
    .block-header {
        padding: 12px 16px;
    }
    
    .block-body {
        padding: 16px;
    }
    
    .card, .info-card {
        padding: 16px;
        margin-bottom: 14px;
    }
    
    .portal-grid {
        gap: 16px;
    }
    
    ul, ol {
        padding-left: 20px;
    }
    
    li {
        margin-bottom: 6px;
    }
}

/* 7.3 Touch Targets & Accessibility */
@media (max-width: 991px) {
    /* Ensure minimum 44x44px touch targets (WCAG 2.1) */
    
    /* Buttons */
    button,
    .btn,
    .button,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Links in navigation */
    nav a,
    .menu a,
    .nav-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 10px 12px;
    }
    
    /* Form inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    input[type="number"],
    select,
    textarea {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    textarea {
        min-height: 120px;
    }
    
    /* Clickable icons */
    .icon-link,
    .btn-icon {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Pagination */
    .pagination a,
    .pagination span {
        min-width: 40px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Table row touch target */
    table tr {
        min-height: 48px;
    }
    
    table td,
    table th {
        padding: 12px 10px;
    }
}

@media (max-width: 479px) {
    /* Slightly larger targets on mobile-sm */
    button,
    .btn,
    .button,
    input[type="submit"],
    input[type="button"] {
        min-height: 46px;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    input[type="number"],
    select {
        min-height: 46px;
        padding: 12px 16px;
    }
    
    .icon-link,
    .btn-icon {
        min-width: 48px;
        min-height: 48px;
    }
}

/* 7.4 Readability Enhancements */
@media (max-width: 991px) {
    /* Better contrast for small text */
    .text-muted {
        color: #64748b;
    }
    
    /* Max line length for readability */
    .content-text,
    .article-content {
        max-width: 100%;
    }
    
    /* Lists */
    ul li,
    ol li {
        line-height: 1.65;
    }
    
    /* Blockquotes */
    blockquote {
        padding: 14px 18px;
        margin: 16px 0;
        font-size: 15px;
        border-left-width: 4px;
    }
    
    /* Code blocks */
    code {
        font-size: 13px;
        padding: 2px 6px;
    }
    
    pre {
        padding: 14px;
        font-size: 12px;
        overflow-x: auto;
    }
}

@media (max-width: 479px) {
    blockquote {
        padding: 12px 16px;
        margin: 14px 0;
        font-size: 14px;
    }
    
    code {
        font-size: 12px;
    }
    
    pre {
        padding: 12px;
        font-size: 11px;
    }
}

/* END PHASE 7 */


/* ================================================================
   PHASE 8: PERFORMANCE OPTIMIZATIONS
   Mobile-first performance improvements
   ================================================================ */

/* 8.1 Images - Base Responsive Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent layout shift for images */
img[width][height] {
    height: auto;
}

/* Loading state for lazy images */
img[loading="lazy"] {
    background: #f1f5f9;
}

/* Image containers maintain aspect ratio */
.img-container {
    position: relative;
    overflow: hidden;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive images in content */
.content-text img,
.article-content img,
.page-editor-content img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}

@media (max-width: 991px) {
    .content-text img,
    .article-content img,
    .page-editor-content img {
        margin: 12px 0;
    }
}

/* 8.2 Font Display Optimization */
/* Note: Font Awesome uses font-display in its own CSS */

/* 8.3 Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 8.4 GPU Acceleration for Animations */
@media (max-width: 991px) {
    .hero-slider,
    .back-to-top,
    .mobile-menu,
    .about-faq-answer {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* 8.5 Optimize Rendering */
@media (max-width: 991px) {
    /* Contain layout for better performance */
    .portal-block,
    .card,
    .news-item,
    .post-item {
        contain: layout style paint;
    }
    
    /* Use transform for animations instead of position */
    .back-to-top {
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .back-to-top:hover {
        transform: translateY(-2px);
    }
}

/* END PHASE 8 CSS */


/* ==========================================================================
   UNIFIED PANORAMIC HERO BANNER CHO TẤT CẢ CÁC TRANG CON
   ========================================================================== */
.site-hero-banner,
.subpage-hero-banner,
.org-hero-banner,
.contact-hero-banner {
    position: relative !important;
    background-color: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 2103 / 316 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.site-hero-banner::before,
.subpage-hero-banner::before,
.about-hero-banner::before,
.org-hero-banner::before,
.contact-hero-banner::before {
    display: none !important;
}

/* Lớp ảnh nền: Giữ nguyên vẹn đường nét xanh và vàng sắc nét, phần đáy dưới sóng trong suốt */
.hero-banner-bg {
    position: absolute !important;
    inset: 0 !important;
    background-color: transparent !important;
    filter: none !important;
    -webkit-filter: none !important;
    transform: none !important;
    z-index: 1 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.hero-banner-bg-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: center center !important;
    display: block !important;
    max-width: none !important;
}

/* Lớp phủ gradient tăng tương phản cho chữ ở trung tâm, phần đáy hoàn toàn trong suốt */
.hero-banner-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 65%, rgba(255, 255, 255, 0.0) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.site-hero-container,
.about-hero-container,
.org-hero-container,
.contact-hero-container {
    max-width: 1380px !important;
    margin: 0 auto !important;
    padding: 0 45px !important;
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.site-hero-content,
.about-hero-content,
.org-hero-content,
.contact-hero-content {
    max-width: 860px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    transform: translateY(-4px) !important;
    margin: 0 auto !important;
}

.site-hero-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #073b7d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin: 0 auto 6px auto !important;
    background: rgba(255, 255, 255, 0.85) !important;
    padding: 3px 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(11, 78, 162, 0.18) !important;
    box-shadow: 0 2px 8px rgba(11, 78, 162, 0.06) !important;
    backdrop-filter: blur(4px) !important;
    width: fit-content !important;
}

.site-hero-tag-bar {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #FFC928 !important;
    display: inline-block !important;
}

.site-hero-breadcrumb,
.about-hero-breadcrumb,
.org-hero-breadcrumb,
.contact-hero-breadcrumb {
    font-size: clamp(13px, 1.1vw, 15px) !important;
    color: #073b7d !important;
    font-weight: 700 !important;
    margin: 0 auto 6px auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.site-hero-breadcrumb a,
.about-hero-breadcrumb a,
.org-hero-breadcrumb a,
.contact-hero-breadcrumb a {
    color: #0B4EA2 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.site-hero-breadcrumb a:hover,
.about-hero-breadcrumb a:hover,
.org-hero-breadcrumb a:hover,
.contact-hero-breadcrumb a:hover {
    color: #073b7d !important;
    text-decoration: underline !important;
}

.site-hero-breadcrumb .sep,
.about-hero-breadcrumb .sep,
.org-hero-breadcrumb .sep,
.contact-hero-breadcrumb .sep {
    color: #94a3b8 !important;
    font-size: clamp(11px, 0.9vw, 13px) !important;
    font-weight: 700 !important;
}

.site-hero-breadcrumb .current,
.about-hero-breadcrumb .current,
.org-hero-breadcrumb .current,
.contact-hero-breadcrumb .current {
    color: #073b7d !important;
    font-weight: 700 !important;
}

.site-hero-title,
.about-hero-title,
.org-hero-title,
.contact-hero-title {
    font-size: clamp(26px, 3.2vw, 40px) !important;
    font-weight: 900 !important;
    color: #073b7d !important;
    line-height: 1.2 !important;
    margin: 2px auto 6px auto !important;
    letter-spacing: -0.5px !important;
    font-family: var(--font-heading) !important;
    text-align: center !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 16px rgba(255, 255, 255, 0.8) !important;
}

.site-hero-slogan,
.about-hero-slogan,
.org-hero-slogan,
.contact-hero-slogan {
    font-size: clamp(13px, 1.15vw, 15px) !important;
    color: #1e3a8a !important;
    font-weight: 600 !important;
    margin: 0 auto !important;
    line-height: 1.45 !important;
    text-align: center !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.7) !important;
}

@media (max-width: 768px) {
    .site-hero-banner,
    .subpage-hero-banner,
    .org-hero-banner,
    .contact-hero-banner {
        aspect-ratio: auto !important;
        min-height: 140px !important;
        padding: 15px 0 !important;
    }

    .site-hero-content,
    .about-hero-content,
    .org-hero-content,
    .contact-hero-content {
        max-width: 90% !important;
        transform: translateY(-4px) !important;
        align-items: center !important;
        text-align: center !important;
    }
    .site-hero-title,
    .about-hero-title,
    .org-hero-title,
    .contact-hero-title {
        font-size: 22px !important;
        margin: 2px 0 4px 0 !important;
        text-align: center !important;
    }
    .site-hero-breadcrumb,
    .about-hero-breadcrumb,
    .org-hero-breadcrumb,
    .contact-hero-breadcrumb {
        font-size: 12px !important;
        gap: 5px !important;
        margin-bottom: 3px !important;
        justify-content: center !important;
    }
    .site-hero-slogan,
    .about-hero-slogan,
    .org-hero-slogan,
    .contact-hero-slogan {
        font-size: 11px !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }
}

/* ================================================================
   ẢNH NỀN HỌA TIẾT ĐẰNG SAU CHO TRANG CƠ CẤU TỔ CHỨC (BG PATTERN)
   ================================================================ */
.org-main-wrapper {
    position: relative;
    padding: 30px 0 65px 0;
    background-color: #f8fbff;
    background-image: url('../images/bg-cctc-pattern.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    overflow: hidden;
}

/* ================================================================
   CẢI THIỆN TIÊU ĐỀ BÀI VIẾT, LÀM RÕ THỜI GIAN VÀ TÁC GIẢ VIẾT BÀI
   ================================================================ */
/* 1. Tiêu đề bài viết trong Hero Banner */
.is-single-post-banner .site-hero-content {
    max-width: 80% !important;
    margin: 0 auto !important;
    align-items: center !important;
    text-align: center !important;
}

.is-single-post-banner .site-hero-title,
.single-post-hero-title {
    font-size: clamp(19px, 2.2vw, 27px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 4px auto 10px auto !important;
    letter-spacing: -0.2px !important;
    text-transform: none !important;
    text-align: center !important;
}

.single-hero-meta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 auto !important;
    color: #1e3a8a !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.75) !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
}

.single-hero-meta i {
    color: #0B4EA2 !important;
}

.single-hero-meta .meta-sep {
    color: #94a3b8 !important;
}

/* 2. Tiêu đề và Thanh thông tin bài viết chi tiết (Single Article) */
.single-article-title {
    font-size: clamp(22px, 2.5vw, 28px) !important;
    font-weight: 800 !important;
    color: #073b7d !important;
    line-height: 1.4 !important;
    margin: 0 0 18px 0 !important;
    font-family: var(--font-heading) !important;
    letter-spacing: -0.3px !important;
}

.single-post-meta-bar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    margin-bottom: 24px !important;
    font-size: 13.5px !important;
    color: #334155 !important;
}

.single-post-meta-bar .meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.single-post-meta-bar .meta-icon {
    color: #0B4EA2 !important;
    font-size: 14px !important;
}

.single-post-meta-bar .meta-label {
    color: #64748b !important;
    font-weight: 500 !important;
}

.single-post-meta-bar .meta-val-date {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.single-post-meta-bar .meta-val-time {
    color: #475569 !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: 2px !important;
    font-size: 13px !important;
}

.single-post-meta-bar .meta-val-time i {
    font-size: 12px !important;
    color: #64748b !important;
}

.single-post-meta-bar .meta-author-badge {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    font-weight: 700 !important;
    padding: 3px 12px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    border: 1px solid #bae6fd !important;
}

.single-post-meta-bar .meta-cat-badge {
    background: #f1f5f9 !important;
    color: #073b7d !important;
    font-weight: 600 !important;
    padding: 3px 12px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    border: 1px solid #e2e8f0 !important;
}

.single-post-meta-bar .meta-divider {
    width: 1px !important;
    height: 18px !important;
    background-color: #cbd5e1 !important;
}

@media (max-width: 640px) {
    .is-single-post-banner .site-hero-content {
        max-width: 85% !important;
    }
    .single-post-meta-bar {
        gap: 10px !important;
        padding: 10px 14px !important;
    }
    .single-post-meta-bar .meta-divider {
        display: none !important;
    }
}

/* 3. Danh sách bài viết (News Cards & Meta) */
.news-item-title a,
.sub-post-title a {
    transition: color 0.2s ease !important;
}

.news-item-title a:hover,
.sub-post-title a:hover {
    color: #0284c7 !important;
    text-decoration: underline !important;
}

.post-card-meta {
    font-size: 13px !important;
    color: #475569 !important;
}

.post-card-meta .meta-date strong,
.post-card-meta .meta-author strong {
    color: #0f172a !important;
}

/* ==========================================================================
   14. GIAO DIỆN TRANG TÌM KIẾM TOÀN DIỆN (SEARCH RESULTS & EMPTY STATE)
   ========================================================================== */
.search-block-body {
    padding: 24px;
}
.search-header-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--color-primary, #0284c7);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.search-main-heading {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.search-query-highlight {
    color: var(--color-primary, #0284c7);
}

.search-count-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.search-count-desc strong {
    color: #0f172a;
}

/* Danh sách kết quả */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.search-result-card {
    display: flex;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.search-card-thumb {
    flex-shrink: 0;
    width: 170px;
    height: 115px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    display: block;
}

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

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

.search-card-thumb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    text-decoration: none !important;
}

.search-card-thumb-icon.badge-vanban {
    background: #f0fdf4;
    color: #16a34a;
}

.search-card-thumb-icon.badge-tintuc {
    background: #f0f9ff;
    color: #0284c7;
}

.search-card-thumb-icon.badge-thutuc {
    background: #fefce8;
    color: #ca8a04;
}

.search-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.search-card-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}

.search-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.search-type-badge.badge-tintuc {
    background: #e0f2fe;
    color: #0369a1;
}

.search-type-badge.badge-vanban {
    background: #dcfce7;
    color: #15803d;
}

.search-type-badge.badge-thutuc {
    background: #fef3c7;
    color: #b45309;
}

.search-meta-code {
    font-size: 12.5px;
    color: #475569;
}

.search-meta-code strong {
    color: #0f172a;
}

.search-card-date {
    font-size: 12.5px;
    color: #64748b;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.search-card-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 4px 0 8px 0;
}

.search-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.search-result-card:hover .search-card-title a,
.search-card-title a:hover {
    color: var(--color-primary, #0284c7);
}

.search-card-excerpt {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-card-action {
    margin-top: auto;
}

.search-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary, #0284c7);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.search-result-card:hover .search-view-link {
    gap: 9px;
}

/* ==========================================================================
   GIAO DIỆN KHI KHÔNG TÌM THẤY KẾT QUẢ (EMPTY STATE)
   ========================================================================== */
.search-empty-state-box {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 44px 28px;
    text-align: center;
    margin: 10px 0 20px 0;
}

.search-empty-icon-wrap {
    margin-bottom: 20px;
}

.search-empty-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    color: var(--color-primary, #0284c7);
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.14);
}

.search-empty-title {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.search-empty-desc {
    font-size: 15px;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

.search-empty-term {
    color: var(--color-primary, #0284c7);
    font-weight: 700;
}

/* Khung tìm kiếm lại */
.search-empty-retry-box {
    max-width: 540px;
    margin: 0 auto 34px auto;
}

.search-retry-input-wrap {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    padding: 5px 6px 5px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.search-retry-input-wrap:focus-within {
    border-color: var(--color-primary, #0284c7);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-retry-icon {
    color: #94a3b8;
    font-size: 15px;
    margin-right: 12px;
}

.search-retry-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14.5px;
    color: #0f172a;
}

.search-retry-input::placeholder {
    color: #94a3b8;
    font-size: 13.5px;
}

.search-retry-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-retry-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* Khối đề xuất chuyển mục */
.search-empty-suggestions {
    border-top: 1px solid #e2e8f0;
    padding-top: 26px;
}

.search-suggest-heading {
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 16px;
}

.search-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn-search-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-action-news {
    background: #eff6ff;
    color: #0284c7;
    border: 1px solid #bfdbfe;
}
.btn-action-news:hover {
    background: #0284c7;
    color: #ffffff !important;
    border-color: #0284c7;
    transform: translateY(-1px);
}

.btn-action-docs {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.btn-action-docs:hover {
    background: #16a34a;
    color: #ffffff !important;
    border-color: #16a34a;
    transform: translateY(-1px);
}

.btn-action-proc {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}
.btn-action-proc:hover {
    background: #d97706;
    color: #ffffff !important;
    border-color: #d97706;
    transform: translateY(-1px);
}

.btn-action-home {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.btn-action-home:hover {
    background: #334155;
    color: #ffffff !important;
    border-color: #334155;
    transform: translateY(-1px);
}

/* Responsive tìm kiếm */
@media (max-width: 768px) {
    .search-block-body {
        padding: 16px 12px;
    }

    .search-result-card {
        flex-direction: column;
        gap: 12px;
    }

    .search-card-thumb {
        width: 100%;
        height: 170px;
    }

    .search-empty-state-box {
        padding: 32px 16px;
    }

    .search-retry-input-wrap {
        border-radius: 12px;
        flex-wrap: wrap;
        padding: 10px;
        gap: 8px;
    }

    .search-retry-btn {
        width: 100%;
        border-radius: 8px;
        padding: 10px;
        text-align: center;
        justify-content: center;
    }

    .search-empty-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-search-action {
        justify-content: center;
    }
}

/* ==========================================================================
   SINGLE ARTICLE CONTENT & IMAGE STYLING (GUTENBERG BLOCKS)
   ========================================================================== */
.single-article-content {
    font-size: 15.5px;
    line-height: 1.85;
    color: #1e293b;
    word-break: break-word;
}

.single-article-content p {
    margin-bottom: 1.25em;
}

.single-article-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    display: inline-block;
    vertical-align: middle;
}

/* Biểu tượng cảm xúc / inline emoji */
.single-article-content img[src*="emoji"],
.single-article-content img[height="16"] {
    display: inline !important;
    vertical-align: -2px;
    margin: 0 3px !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Gutenberg block image figure */
.single-article-content figure.wp-block-image,
.single-article-content .wp-block-image {
    margin: 24px auto !important;
    text-align: center;
    clear: both;
}

.single-article-content figure.wp-block-image img,
.single-article-content .wp-block-image img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.single-article-content figcaption,
.single-article-content .wp-block-image figcaption {
    font-size: 13.5px;
    color: #64748b;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
}

.single-article-content blockquote {
    border-left: 4px solid var(--color-primary);
    background: #f8fafc;
    padding: 14px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

/* ==========================================================================
   SIDEBAR TOP BRAND BANNER (Đồng bộ nhận diện thương hiệu DCAFD)
   ========================================================================== */
.sidebar-top-brand-banner {
    margin-bottom: 10px;
    width: 100%;
}

.sidebar-brand-banner-link {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(13, 78, 160, 0.08);
    border: 1px solid #dbeafe;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
}

.sidebar-brand-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 78, 160, 0.16);
    border-color: #93c5fd;
}

.sidebar-brand-banner-inner {
    position: relative;
    width: 100%;
    height: 108px;
    display: flex;
    align-items: center;
    padding: 14px 18px;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.sidebar-brand-banner-bg-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: right center !important;
    z-index: 0 !important;
    pointer-events: none !important;
    transition: transform 0.4s ease;
}

.sidebar-brand-banner-link:hover .sidebar-brand-banner-bg-img {
    transform: scale(1.03);
}

.sidebar-brand-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 52%, rgba(255, 255, 255, 0.18) 100%);
    pointer-events: none;
    z-index: 1;
}

.sidebar-brand-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 80%;
}

.sidebar-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b45309;
}

.sidebar-brand-tag .tag-bar {
    width: 3px;
    height: 12px;
    background: #f59e0b;
    border-radius: 2px;
    display: inline-block;
}

.sidebar-brand-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1px;
    flex-wrap: wrap;
}

.sidebar-brand-name .brand-province {
    font-size: 13.5px;
    font-weight: 800;
    color: #0b3d88;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.sidebar-brand-name .brand-badge {
    background: #0284c7;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.3);
    display: inline-block;
}

@media (max-width: 991px) {
    .sidebar-brand-banner-inner {
        height: 96px;
        padding: 12px 16px;
    }
    .sidebar-brand-name .brand-province {
        font-size: 13px;
    }
}

/* ==========================================================================
   VĂN BẢN PDF / DOCUMENT IN-PAGE VIEWER
   ========================================================================== */
.van-ban-viewer-block {
    margin: 28px 0 24px 0;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.van-ban-viewer-block .viewer-header {
    background: #0d4ea0;
    color: #ffffff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.van-ban-viewer-block .btn-doc-download:hover {
    background: #d97706 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35) !important;
}

@media (max-width: 768px) {
    .van-ban-viewer-block iframe {
        height: 500px !important;
    }
}

/* ==========================================================================
   SUBPAGE CLEAN HEADER STRIP (Tiêu đề trang chuẩn Cổng TTĐT - Gọn gàng & Hiện đại)
   ========================================================================== */
.subpage-header-strip {
    background: linear-gradient(135deg, #073b7d 0%, #0b4ea2 60%, #1e5ba8 100%);
    border-bottom: 3px solid var(--color-accent, #FFC928);
    padding: 22px 0 20px;
    position: relative;
    box-shadow: 0 4px 12px rgba(7, 59, 125, 0.12);
}

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

.subpage-org-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-accent, #FFC928);
    margin-bottom: 6px;
}

.subpage-gold-bar {
    display: inline-block;
    width: 3px;
    height: 12px;
    background: var(--color-accent, #FFC928);
    border-radius: 2px;
}

.subpage-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.subpage-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .subpage-header-strip {
        padding: 16px 0 14px;
    }
    
    .subpage-title {
        font-size: 19px;
    }
    
    .subpage-desc {
        font-size: 12.5px;
    }
}

/* Bảo vệ banner & logo: không hiện "Mở hình ảnh trong tab mới" hoặc kéo thả ảnh */
.about-hero-banner-img,
.hero-banner-bg-img,
.sidebar-brand-banner-bg-img,
.brand-logo-img,
.footer-brand-logo {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
}





