/* ===== CSS RESET & BASE ===== */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #1a73e8;
            --primary-dark: #1557b0;
            --primary-light: #e8f0fe;
            --secondary: #34a853;
            --secondary-light: #e6f4ea;
            --accent: #ea4335;
            --accent-orange: #f59e0b;
            --text-primary: #202124;
            --text-secondary: #5f6368;
            --text-light: #80868b;
            --bg-white: #ffffff;
            --bg-light: #f8f9fa;
            --bg-section: #f1f3f4;
            --border-color: #e8eaed;
            --border-light: #f1f3f4;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
            --shadow-hover: 0 8px 30px rgba(26,115,232,0.15);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 20px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --max-width: 1200px;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--text-primary);
            background-color: var(--bg-light);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        .skip-link {
            position: fixed;
            top: 8px;
            left: 8px;
            z-index: 2000;
            padding: 10px 14px;
            border-radius: var(--radius-sm);
            background: var(--primary-dark);
            color: white;
            transform: translateY(-150%);
        }

        .skip-link:focus {
            transform: translateY(0);
        }

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

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

        ul, ol {
            list-style: none;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== TOP BAR ===== */
        .top-bar {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            color: white;
            padding: 6px 0;
            font-size: 0.8rem;
        }

        .top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .top-bar-left {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .top-bar-left a,
        .top-bar-left span {
            color: rgba(255,255,255,0.9);
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
        }

        .top-bar-left a:hover {
            color: white;
        }

        .top-bar-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .top-bar-right a {
            color: rgba(255,255,255,0.85);
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            transition: var(--transition);
        }

        .top-bar-right a:hover {
            background: rgba(255,255,255,0.25);
            color: white;
            transform: translateY(-1px);
        }

        /* ===== HEADER ===== */
        .site-header {
            background: var(--bg-white);
            padding: 16px 0;
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .site-header.is-scrolled {
            box-shadow: var(--shadow-md);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .logo-area {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 66px;
            height: 66px;
            object-fit: cover;
            border: 2px solid var(--bg-white);
            border-radius: 50%;
            display: block;
            box-shadow: 0 2px 10px rgba(26,115,232,0.25);
        }

        .logo-text h1 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1.2;
        }

        .logo-text span {
            font-size: 0.72rem;
            color: var(--text-light);
            font-weight: 400;
        }

        .search-box {
            flex: 1;
            max-width: 480px;
        }

        .search-form {
            display: flex;
            align-items: center;
            background: var(--bg-light);
            border: 2px solid var(--border-color);
            border-radius: 100px;
            overflow: hidden;
            transition: var(--transition);
        }

        .search-form:focus-within {
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
        }

        .search-form input {
            flex: 1;
            border: none;
            padding: 10px 20px;
            font-size: 0.9rem;
            background: transparent;
            outline: none;
            color: var(--text-primary);
            font-family: inherit;
        }

        .search-form input::placeholder {
            color: var(--text-light);
        }

        .search-form button {
            border: none;
            background: var(--primary);
            color: white;
            padding: 10px 20px;
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.9rem;
        }

        .search-form button:hover {
            background: var(--primary-dark);
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-primary);
            cursor: pointer;
            padding: 8px;
        }

        .mobile-search-toggle,
        .mobile-search-close {
            display: none;
        }

        /* ===== MAIN NAVIGATION ===== */
        .main-nav {
            background: var(--bg-white);
            border-top: 1px solid var(--border-light);
            box-shadow: 0 2px 4px rgba(0,0,0,0.04);
            position: relative;
            z-index: 999;
        }

        .nav-list {
            display: flex;
            align-items: center;
        }

        .nav-item {
            position: relative;
        }

        .nav-item > a,
        .dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 14px 18px;
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--text-primary);
            transition: var(--transition);
            white-space: nowrap;
        }

        .dropdown-toggle {
            width: 100%;
            border: 0;
            background: transparent;
            cursor: pointer;
            font-family: inherit;
        }

        .nav-item > a:hover,
        .dropdown-toggle:hover,
        .dropdown-toggle[aria-expanded="true"],
        .nav-item.active > a {
            color: var(--primary);
            background: var(--primary-light);
        }

        .nav-item.active > a {
            box-shadow: inset 0 -3px 0 var(--primary);
        }

        .nav-item > a .fa-chevron-down,
        .dropdown-toggle .fa-chevron-down {
            font-size: 0.6rem;
            transition: var(--transition);
        }

        .nav-item:hover > a .fa-chevron-down,
        .dropdown-toggle[aria-expanded="true"] .fa-chevron-down {
            transform: rotate(180deg);
        }

        /* Dropdown */
        .nav-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 240px;
            background: white;
            border-radius: 0 0 var(--radius-md) var(--radius-md);
            box-shadow: var(--shadow-lg);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-4px);
            transition: var(--transition);
            z-index: 100;
            border: 1px solid var(--border-color);
            padding: 8px 0;
        }

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

        .nav-dropdown a {
            display: block;
            padding: 10px 20px;
            font-size: 0.85rem;
            color: var(--text-secondary);
            transition: var(--transition);
        }

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

        /* ===== BREADCRUMB ===== */
        .breadcrumb-bar {
            background: var(--bg-white);
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.82rem;
            color: var(--text-light);
        }

        .breadcrumb a {
            color: var(--text-secondary);
        }

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

        .breadcrumb .separator {
            color: var(--text-light);
        }

        .breadcrumb .current {
            color: var(--primary);
            font-weight: 500;
        }

        /* ===== HERO / SLIDER ===== */
        .hero-section {
            padding: 24px 0;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 24px;
        }

        .hero-main {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            aspect-ratio: 16/9;
            cursor: pointer;
        }

        .hero-main img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .hero-main:hover img {
            transform: scale(1.03);
        }

        .hero-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 40px 28px 24px;
            background: linear-gradient(transparent, rgba(0,0,0,0.85));
            color: white;
        }

        .hero-overlay .badge {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 4px 14px;
            border-radius: 100px;
            font-size: 0.72rem;
            font-weight: 600;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .hero-overlay h2 {
            font-size: 1.3rem;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 8px;
        }

        .hero-overlay p {
            font-size: 0.85rem;
            opacity: 0.85;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .hero-sidebar {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .hero-side-item {
            display: flex;
            gap: 14px;
            padding: 14px;
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            transition: var(--transition);
            cursor: pointer;
        }

        .hero-side-item:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }

        .hero-side-item .thumb {
            width: 100px;
            min-width: 100px;
            height: 72px;
            border-radius: var(--radius-sm);
            overflow: hidden;
        }

        .hero-side-item .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-side-item .info {
            flex: 1;
        }

        .hero-side-item .info h3 {
            font-size: 0.85rem;
            font-weight: 600;
            line-height: 1.4;
            color: var(--text-primary);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 6px;
        }

        .hero-side-item:hover .info h3 {
            color: var(--primary);
        }

        .hero-side-item .info .meta {
            font-size: 0.72rem;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* ===== CATEGORY CHIPS ===== */
        .category-chips {
            padding: 0 0 24px;
        }

        .home-banners { padding: 18px 0 0; }
        .home-banner { margin-bottom: 12px; overflow: hidden; border-radius: var(--radius-md); }
        .home-banner img { width: 100%; }

        .chips-row {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: 100px;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: var(--transition);
            cursor: pointer;
        }

        .chip:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        .chip i {
            font-size: 1rem;
        }

        .chip.chip-1 i { color: #ea4335; }
        .chip.chip-2 i { color: #34a853; }
        .chip.chip-3 i { color: #fbbc05; }
        .chip.chip-4 i { color: #4285f4; }
        .chip.chip-5 i { color: #7b1fa2; }
        .chip.chip-6 i { color: #e91e63; }
        .chip.chip-7 i { color: #00bcd4; }

        /* ===== CONTENT SECTIONS ===== */
        .content-wrapper {
            padding-bottom: 40px;
        }

        .main-grid {
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 30px;
        }

        /* Section Header */
        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 3px solid var(--primary);
            position: relative;
        }

        .section-header::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--accent);
        }

        .section-header h2 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .section-header h2 i {
            color: var(--primary);
            font-size: 1rem;
        }

        .section-header .view-all {
            font-size: 0.82rem;
            color: var(--primary);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .section-header .view-all:hover {
            gap: 8px;
        }

        /* Article Cards */
        .article-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 40px;
        }

        .article-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .article-card:hover {
            border-color: transparent;
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }

        .article-card .card-image {
            position: relative;
            aspect-ratio: 16/10;
            overflow: hidden;
        }

        .article-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .article-card:hover .card-image img {
            transform: scale(1.08);
        }

        .article-card .card-image .category-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--primary);
            color: white;
            padding: 3px 12px;
            border-radius: 100px;
            font-size: 0.7rem;
            font-weight: 600;
        }

        .article-card .card-body {
            padding: 16px;
        }

        .article-card .card-body h3 {
            font-size: 0.95rem;
            font-weight: 600;
            line-height: 1.45;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            color: var(--text-primary);
        }

        .article-card:hover .card-body h3 {
            color: var(--primary);
        }

        .article-card .card-body p {
            font-size: 0.82rem;
            color: var(--text-secondary);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 12px;
        }

        .article-card .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-light);
        }

        .article-card .card-footer .date {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .article-card .card-footer .read-more {
            color: var(--primary);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* Featured Article (first in section) */
        .featured-article {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        .featured-article .card-image {
            aspect-ratio: auto;
            min-height: 260px;
            border-radius: var(--radius-md) 0 0 var(--radius-md);
        }

        .featured-article .card-body {
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .featured-article .card-body h3 {
            font-size: 1.15rem;
            -webkit-line-clamp: 3;
        }

        .featured-article .card-body p {
            -webkit-line-clamp: 3;
        }

        /* Mẫu category dùng chung: bài đầu nổi bật, các bài sau dạng danh sách. */
        .home-page .article-grid {
            grid-template-columns: 1fr;
            gap: 0;
        }

        .home-page .article-grid > .article-card:first-child {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            margin-bottom: 18px;
        }

        .home-page .article-grid > .article-card:first-child .card-image {
            aspect-ratio: auto;
            min-height: 260px;
            border-radius: var(--radius-md) 0 0 var(--radius-md);
        }

        .home-page .article-grid > .article-card:first-child .card-body {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 24px;
        }

        .home-page .article-grid > .article-card:first-child .card-body h3 {
            font-size: 1.15rem;
            -webkit-line-clamp: 3;
        }

        .home-page .article-grid > .article-card:first-child .card-body p {
            -webkit-line-clamp: 3;
        }

        .home-page .article-grid > .article-card:not(:first-child) {
            display: grid;
            grid-template-columns: 132px minmax(0, 1fr);
            align-items: center;
            border: 0;
            border-bottom: 1px solid var(--border-light);
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            padding: 14px 0;
        }

        .home-page .article-grid > .article-card:not(:first-child):last-child {
            border-bottom: 0;
        }

        .home-page .article-grid > .article-card:not(:first-child):hover {
            border-color: var(--border-light);
            box-shadow: none;
            transform: none;
        }

        .home-page .article-grid > .article-card:not(:first-child) .card-image {
            width: 132px;
            aspect-ratio: 3 / 2;
            border-radius: var(--radius-sm);
        }

        .home-page .article-grid > .article-card:not(:first-child) .card-image .category-tag,
        .home-page .article-grid > .article-card:not(:first-child) .card-body p,
        .home-page .article-grid > .article-card:not(:first-child) .read-more {
            display: none;
        }

        .home-page .article-grid > .article-card:not(:first-child) .card-body {
            padding: 0 0 0 16px;
        }

        .home-page .article-grid > .article-card:not(:first-child) .card-body h3 {
            margin-bottom: 8px;
            font-size: 0.92rem;
            -webkit-line-clamp: 2;
        }

        .home-page .article-grid > .article-card:not(:first-child) .card-footer {
            justify-content: flex-start;
        }

        /* List Articles */
        .article-list-item {
            display: flex;
            gap: 14px;
            padding: 14px 0;
            border-bottom: 1px solid var(--border-light);
            transition: var(--transition);
        }

        .article-list-item:last-child {
            border-bottom: none;
        }

        .article-list-item:hover {
            padding-left: 4px;
        }

        .article-list-item .list-thumb {
            width: 120px;
            min-width: 120px;
            height: 80px;
            border-radius: var(--radius-sm);
            overflow: hidden;
        }

        .article-list-item .list-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .article-list-item .list-info h3 {
            font-size: 0.88rem;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 6px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .article-list-item:hover .list-info h3 {
            color: var(--primary);
        }

        .article-list-item .list-info .meta {
            font-size: 0.72rem;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* ===== SIDEBAR ===== */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .sidebar-widget {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            overflow: hidden;
        }

        .widget-header {
            padding: 14px 18px;
            background: linear-gradient(135deg, var(--primary) 0%, #4285f4 100%);
            color: white;
        }

        .widget-header h3 {
            font-size: 0.95rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .widget-body {
            padding: 16px;
        }

        /* Popular Articles Widget */
        .popular-item {
            display: flex;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
            transition: var(--transition);
            cursor: pointer;
        }

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

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

        .popular-item:hover h4 {
            color: var(--primary);
        }

        .popular-item .rank {
            width: 28px;
            height: 28px;
            min-width: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 700;
            color: white;
            background: var(--text-light);
        }

        .popular-item:nth-child(1) .rank { background: var(--accent); }
        .popular-item:nth-child(2) .rank { background: var(--accent-orange); }
        .popular-item:nth-child(3) .rank { background: var(--secondary); }

        .popular-item h4 {
            font-size: 0.82rem;
            font-weight: 500;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: var(--transition);
        }

        /* Category Widget */
        .category-widget-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
            font-size: 0.85rem;
            transition: var(--transition);
            cursor: pointer;
        }

        .category-widget-item:last-child {
            border-bottom: none;
        }

        .category-widget-item:hover {
            color: var(--primary);
            padding-left: 4px;
        }

        .category-widget-item .name {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
        }

        .category-widget-item .count {
            background: var(--primary-light);
            color: var(--primary);
            padding: 2px 10px;
            border-radius: 100px;
            font-size: 0.72rem;
            font-weight: 600;
        }

        /* Tags Widget */
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tag-item {
            padding: 6px 14px;
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: 100px;
            font-size: 0.75rem;
            color: var(--text-secondary);
            transition: var(--transition);
            cursor: pointer;
        }

        .tag-item:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* ===== AD PLACEHOLDER ===== */
        .ad-placeholder {
            background: var(--bg-light);
            border: 2px dashed var(--border-color);
            border-radius: var(--radius-md);
            padding: 30px;
            text-align: center;
            color: var(--text-light);
            font-size: 0.82rem;
            margin: 20px 0;
        }

        .ad-placeholder i {
            display: block;
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        /* ===== TRUST PAGES BANNER ===== */
        .trust-section {
            padding: 40px 0;
            background: var(--bg-white);
        }

        .trust-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .trust-card {
            text-align: center;
            padding: 28px 20px;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-color);
            transition: var(--transition);
            cursor: pointer;
        }

        .trust-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }

        .trust-card .icon-circle {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 14px;
            font-size: 1.4rem;
        }

        .trust-card:nth-child(1) .icon-circle { background: #e8f0fe; color: var(--primary); }
        .trust-card:nth-child(2) .icon-circle { background: #e6f4ea; color: var(--secondary); }
        .trust-card:nth-child(3) .icon-circle { background: #fef7e0; color: var(--accent-orange); }
        .trust-card:nth-child(4) .icon-circle { background: #fce8e6; color: var(--accent); }

        .trust-card h3 {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .trust-card p {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        /* ===== FOOTER ===== */
        .site-footer {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            color: rgba(255,255,255,0.8);
            padding: 50px 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
        }

        .footer-col h3 {
            color: white;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 36px;
            height: 2px;
            background: var(--primary);
        }

        .footer-about p {
            font-size: 0.85rem;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        /* Footer content comes from the CMS and may contain inline dark colors. */
        .site-footer .footer-about,
        .site-footer .footer-about p,
        .site-footer .footer-about div,
        .site-footer .footer-about span,
        .site-footer .footer-about strong,
        .site-footer .footer-about em,
        .site-footer .footer-about a {
            color: rgba(255, 255, 255, 0.82) !important;
        }

        .site-footer .footer-about a:hover {
            color: #fff !important;
        }

        .footer-social {
            display: flex;
            gap: 10px;
        }

        .footer-social a {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.7);
            font-size: 0.95rem;
            transition: var(--transition);
        }

        .footer-social a:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.7);
            display: flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
        }

        .footer-links a::before {
            content: '›';
            font-size: 1.1rem;
            color: var(--primary);
        }

        .footer-links a:hover {
            color: white;
            padding-left: 4px;
        }

        .footer-contact li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 14px;
            font-size: 0.85rem;
        }

        .footer-contact li i {
            color: var(--primary);
            margin-top: 3px;
            width: 16px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding: 18px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
        }

        .footer-bottom-links {
            display: flex;
            gap: 24px;
        }

        .footer-bottom-links a {
            color: rgba(255,255,255,0.6);
            transition: var(--transition);
        }

        .footer-bottom-links a:hover {
            color: white;
        }

        /* ===== BACK TO TOP ===== */
        .back-to-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            box-shadow: var(--shadow-md);
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
            border: none;
        }

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

        .back-to-top:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
        }

        /* ===== ANIMATIONS ===== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-on-scroll {
            opacity: 0;
            animation: fadeInUp 0.5s ease forwards;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .hero-grid {
                grid-template-columns: 1fr;
            }

            .hero-sidebar {
                display: grid;
                grid-template-columns: 1fr 1fr;
            }

            .main-grid {
                grid-template-columns: 1fr;
            }

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

            .trust-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .top-bar-left {
                display: none;
            }

            .mobile-toggle,
            .mobile-search-toggle {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 42px;
                height: 42px;
                flex: 0 0 42px;
                padding: 0;
                border: 0;
                border-radius: 50%;
                background: var(--bg-light);
                color: var(--text-primary);
                font-size: 1.15rem;
                cursor: pointer;
            }

            .main-nav .nav-list {
                display: none;
                flex-direction: column;
                align-items: stretch;
                position: fixed;
                top: var(--mobile-header-bottom, 80px);
                left: 0;
                right: 0;
                background: white;
                box-shadow: var(--shadow-lg);
                z-index: 999;
                max-height: calc(100dvh - var(--mobile-header-bottom, 80px));
                overflow-y: auto;
                overscroll-behavior: contain;
            }

            .main-nav .nav-list.active {
                display: flex;
            }

            .nav-item,
            .nav-item > a,
            .dropdown-toggle {
                width: 100%;
            }

            .nav-item > a,
            .dropdown-toggle {
                padding: 12px 20px;
                border-bottom: 1px solid var(--border-light);
                justify-content: flex-start;
            }

            .nav-dropdown {
                position: static;
                display: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                border: none;
                background: var(--bg-light);
            }

            .nav-item:hover > .nav-dropdown {
                display: none;
            }

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

            .search-box {
                display: none;
            }

            .search-box.mobile-search-open {
                position: fixed;
                inset: 0;
                z-index: 1200;
                display: flex;
                align-items: flex-start;
                justify-content: center;
                max-width: none;
                padding: max(72px, 12vh) 20px 20px;
                background: rgba(15, 23, 42, .58);
                backdrop-filter: blur(3px);
            }

            .search-box.mobile-search-open .search-form {
                width: min(100%, 560px);
                background: #fff;
                border-color: var(--primary);
                box-shadow: var(--shadow-lg);
            }

            .search-box.mobile-search-open .search-form input {
                min-width: 0;
                font-size: 16px;
            }

            .mobile-search-close {
                position: fixed;
                top: 18px;
                right: 18px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 44px;
                height: 44px;
                border: 0;
                border-radius: 50%;
                background: #fff;
                color: var(--text-primary);
                box-shadow: var(--shadow-md);
                font-size: 1.15rem;
                cursor: pointer;
            }

            body.mobile-panel-open {
                overflow: hidden;
            }

            /* Bài nổi bật: tách nội dung khỏi ảnh để tiêu đề không bị tràn trên mobile. */
            .hero-main {
                display: block;
                aspect-ratio: auto;
                background: var(--bg-white);
                border: 1px solid var(--border-color);
                box-shadow: var(--shadow-sm);
            }

            .hero-main img {
                height: auto;
                aspect-ratio: 16 / 9;
                object-fit: cover;
            }

            .hero-main:hover img {
                transform: none;
            }

            .hero-overlay {
                position: static;
                padding: 18px 18px 20px;
                background: var(--bg-white);
                color: var(--text-primary);
            }

            .hero-overlay .badge {
                margin-bottom: 8px;
            }

            .hero-overlay h2 {
                margin-bottom: 8px;
                overflow-wrap: anywhere;
            }

            .hero-overlay p {
                color: var(--text-secondary);
                opacity: 1;
                overflow-wrap: anywhere;
            }

            .hero-sidebar {
                grid-template-columns: 1fr;
            }

            .article-grid {
                grid-template-columns: 1fr;
            }

            .featured-article,
            .home-page .article-grid > .article-card:first-child {
                grid-template-columns: 1fr;
            }

            .featured-article .card-image,
            .home-page .article-grid > .article-card:first-child .card-image {
                min-height: 0;
                aspect-ratio: 4 / 3;
                border-radius: var(--radius-md) var(--radius-md) 0 0;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }

            .trust-grid {
                grid-template-columns: 1fr;
            }

            .chips-row {
                overflow-x: auto;
                flex-wrap: nowrap;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }

            .chips-row::-webkit-scrollbar {
                display: none;
            }

            .chip {
                white-space: nowrap;
            }
        }

        @media (max-width: 480px) {
            .header-inner {
                gap: 8px;
            }

            .logo-area {
                min-width: 0;
                margin-right: auto;
            }

            .logo-text span {
                display: none;
            }

            .logo-icon {
                width: 48px;
                height: 48px;
            }

            .logo-text h1 {
                font-size: 1.05rem;
            }

            .hero-overlay h2 {
                font-size: 1.05rem;
            }

            .home-page .article-grid > .article-card:not(:first-child) {
                grid-template-columns: 104px minmax(0, 1fr);
            }

            .home-page .article-grid > .article-card:not(:first-child) .card-image {
                width: 104px;
            }

            .home-page .article-grid > .article-card:not(:first-child) .card-body {
                padding-left: 12px;
            }
        }

        /* ===== POLICY PAGES STYLING ===== */
        .policy-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .policy-content h2 {
            color: var(--primary);
            margin: 24px 0 12px;
            font-size: 1.2rem;
        }

        .policy-content p {
            margin-bottom: 14px;
            color: var(--text-secondary);
            line-height: 1.8;
        }

        .policy-content ul {
            padding-left: 24px;
            margin-bottom: 14px;
        }

        .policy-content ul li {
            list-style: disc;
            margin-bottom: 6px;
            color: var(--text-secondary);
            line-height: 1.7;
        }

.footer-contact a {
    color: rgba(255,255,255,0.8);
}

/* ===== CONTACT PAGE ===== */
.contact-hero { padding: 42px 0 28px; text-align: center; background: linear-gradient(180deg, var(--primary-light), transparent); }
.contact-eyebrow { display: inline-flex; gap: 7px; align-items: center; margin-bottom: 8px; color: var(--primary); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.contact-hero h1 { margin-bottom: 10px; color: var(--text-primary); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.25; }
.contact-hero p { max-width: 700px; margin: 0 auto; color: var(--text-secondary); }
.contact-section { padding: 18px 0 50px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 28px; align-items: start; }
.contact-main-card { min-height: 100%; padding: 30px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-white); box-shadow: var(--shadow-sm); }
.contact-card-heading { display: flex; gap: 13px; align-items: center; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border-color); }
.contact-heading-icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); }
.contact-card-heading span { color: var(--text-light); font-size: .72rem; font-weight: 600; text-transform: uppercase; }
.contact-card-heading h2 { margin-top: 2px; font-size: 1.2rem; line-height: 1.35; }
.contact-cms, .contact-cms p, .contact-cms div, .contact-cms span { color: var(--text-secondary) !important; line-height: 1.75; }
.contact-cms a { color: var(--primary) !important; font-weight: 600; }
.contact-channels { display: grid; gap: 12px; }
.contact-channel { display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; gap: 13px; align-items: center; padding: 16px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-white); box-shadow: var(--shadow-sm); }
.contact-channel:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.channel-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #fff; }
.channel-icon.phone { background: var(--secondary); }
.channel-icon.email { background: var(--primary); }
.channel-icon.facebook { background: #1877f2; }
.channel-icon.youtube { background: #ff0033; }
.contact-channel small { display: block; color: var(--text-light); font-size: .72rem; }
.contact-channel strong { display: block; overflow: hidden; color: var(--text-primary); font-size: .88rem; text-overflow: ellipsis; }
.channel-arrow { color: var(--text-light); font-size: .8rem; }
.contact-note { display: flex; gap: 12px; align-items: center; margin-top: 24px; padding: 16px 20px; border: 1px solid #f5df9a; border-radius: var(--radius-sm); background: #fff9e8; color: #805b00; }
.contact-note p { margin: 0; font-size: .88rem; }

@media (max-width: 850px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent { position: fixed; right: 20px; bottom: 20px; z-index: 2000; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; width: min(540px, calc(100% - 40px)); padding: 18px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-white); box-shadow: var(--shadow-lg); }
.cookie-consent-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: #fff3d6; color: #d78600; font-size: 1.15rem; }
.cookie-consent-content strong { display: block; margin-bottom: 4px; color: var(--text-primary); }
.cookie-consent-content p { color: var(--text-secondary); font-size: .82rem; line-height: 1.55; }
.cookie-consent-content a { color: var(--primary); font-weight: 600; }
.cookie-consent-actions { grid-column: 2; display: flex; justify-content: flex-end; gap: 8px; }
.cookie-btn { padding: 9px 15px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-white); color: var(--text-primary); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.cookie-accept { border-color: var(--primary); background: var(--primary); color: #fff; }
.cookie-reject:hover { border-color: var(--text-secondary); }
.cookie-accept:hover { background: var(--primary-dark); }

@media (max-width: 520px) {
    .cookie-consent { right: 12px; bottom: 12px; grid-template-columns: 38px minmax(0, 1fr); width: calc(100% - 24px); padding: 15px; }
    .cookie-consent-icon { width: 38px; height: 38px; }
    .cookie-consent-actions { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .contact-hero { padding: 30px 0 20px; }
    .contact-main-card { padding: 20px; }
    .contact-channel { grid-template-columns: 42px minmax(0, 1fr) 16px; padding: 13px; }
    .channel-icon { width: 42px; height: 42px; }
}
