/*
Theme Name: Thám Tử Elite Pro
Theme URI: https://thamtu24h.com.vn
Author: Detective Agency AI
Description: Giao diện website thám tử tư cao cấp chuẩn SEO 2026, tối ưu tốc độ, responsive 100%
Version: 2.2.0
*/

:root {
    --primary: #0c192c;
    --secondary: #132644;
    --card-bg: #1a3258;
    --card-hover-bg: #224171;
    --accent: #0ea5e9;
    --accent-hover: #38bdf8;
    --accent-rgb: 14, 165, 233;
    --accent-gradient: linear-gradient(135deg, #0284c7, #0ea5e9);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(56, 189, 248, 0.18);
    --header-bg: rgba(12, 25, 44, 0.95);
    --footer-bg: #08111e;
    --bg-radial: radial-gradient(ellipse at 50% 0%, #1e3d6b 0%, #0c192c 70%);
    --hero-overlay: linear-gradient(90deg, rgba(12, 25, 44, 0.97) 0%, rgba(12, 25, 44, 0.88) 48%, rgba(12, 25, 44, 0.45) 100%);
    --page-cover-overlay: linear-gradient(135deg, rgba(12, 25, 44, 0.95) 0%, rgba(19, 38, 68, 0.88) 55%, rgba(12, 25, 44, 0.95) 100%);
    --section-alt-bg: #132644;
}

/* ==========================================================================
   SATELLITE SITES THEME PALETTES (MỖI TRANG MỘT MÀU NỀN & PHONG CÁCH RIÊNG)
   ========================================================================== */

/* 1. Vũng Tàu (.com) - Deep Oceanic Sapphire */
body.site-theme-vungtau-com {
    --primary: #0c192c;
    --secondary: #132644;
    --card-bg: #1a3258;
    --card-hover-bg: #224171;
    --accent: #0ea5e9;
    --accent-hover: #38bdf8;
    --accent-rgb: 14, 165, 233;
    --accent-gradient: linear-gradient(135deg, #0284c7, #0ea5e9);
    --header-bg: rgba(12, 25, 44, 0.95);
    --footer-bg: #08111e;
    --border: rgba(56, 189, 248, 0.18);
    --bg-radial: radial-gradient(ellipse at 50% 0%, #1e3d6b 0%, #0c192c 70%);
    --hero-overlay: linear-gradient(90deg, rgba(12, 25, 44, 0.97) 0%, rgba(12, 25, 44, 0.88) 48%, rgba(12, 25, 44, 0.45) 100%);
    --page-cover-overlay: linear-gradient(135deg, rgba(12, 25, 44, 0.95) 0%, rgba(19, 38, 68, 0.88) 55%, rgba(12, 25, 44, 0.95) 100%);
    --section-alt-bg: #132644;
}

/* 2. Đồng Tháp - Deep Forest Emerald & Jade */
body.site-theme-dongthap {
    --primary: #0a1c17;
    --secondary: #122c24;
    --card-bg: #173c32;
    --card-hover-bg: #1e4d40;
    --accent: #10b981;
    --accent-hover: #34d399;
    --accent-rgb: 16, 185, 129;
    --accent-gradient: linear-gradient(135deg, #059669, #10b981);
    --header-bg: rgba(10, 28, 23, 0.95);
    --footer-bg: #06120f;
    --border: rgba(52, 211, 153, 0.2);
    --bg-radial: radial-gradient(ellipse at 50% 0%, #17473a 0%, #0a1c17 70%);
    --hero-overlay: linear-gradient(90deg, rgba(10, 28, 23, 0.97) 0%, rgba(10, 28, 23, 0.88) 48%, rgba(10, 28, 23, 0.45) 100%);
    --page-cover-overlay: linear-gradient(135deg, rgba(10, 28, 23, 0.95) 0%, rgba(18, 44, 36, 0.88) 55%, rgba(10, 28, 23, 0.95) 100%);
    --section-alt-bg: #122c24;
}

/* 3. An Giang - Warm Mahogany & Royal Amber */
body.site-theme-angiang {
    --primary: #201511;
    --secondary: #2d1e18;
    --card-bg: #3d2a23;
    --card-hover-bg: #4e362d;
    --accent: #f59e0b;
    --accent-hover: #fbbf24;
    --accent-rgb: 245, 158, 11;
    --accent-gradient: linear-gradient(135deg, #d97706, #f59e0b);
    --header-bg: rgba(32, 21, 17, 0.95);
    --footer-bg: #140d0a;
    --border: rgba(245, 158, 11, 0.22);
    --bg-radial: radial-gradient(ellipse at 50% 0%, #4a2f26 0%, #201511 70%);
    --hero-overlay: linear-gradient(90deg, rgba(32, 21, 17, 0.97) 0%, rgba(32, 21, 17, 0.88) 48%, rgba(32, 21, 17, 0.45) 100%);
    --page-cover-overlay: linear-gradient(135deg, rgba(32, 21, 17, 0.95) 0%, rgba(45, 30, 24, 0.88) 55%, rgba(32, 21, 17, 0.95) 100%);
    --section-alt-bg: #2d1e18;
}

/* 4. Cà Mau - Deep Marine Teal & Cyan */
body.site-theme-camau {
    --primary: #0a1c22;
    --secondary: #112b35;
    --card-bg: #173c4a;
    --card-hover-bg: #1e4b5d;
    --accent: #06b6d4;
    --accent-hover: #22d3ee;
    --accent-rgb: 6, 182, 212;
    --accent-gradient: linear-gradient(135deg, #0891b2, #06b6d4);
    --header-bg: rgba(10, 28, 34, 0.95);
    --footer-bg: #061217;
    --border: rgba(6, 182, 212, 0.22);
    --bg-radial: radial-gradient(ellipse at 50% 0%, #164657 0%, #0a1c22 70%);
    --hero-overlay: linear-gradient(90deg, rgba(10, 28, 34, 0.97) 0%, rgba(10, 28, 34, 0.88) 48%, rgba(10, 28, 34, 0.45) 100%);
    --page-cover-overlay: linear-gradient(135deg, rgba(10, 28, 34, 0.95) 0%, rgba(17, 43, 53, 0.88) 55%, rgba(10, 28, 34, 0.95) 100%);
    --section-alt-bg: #112b35;
}

/* 5. Cần Thơ - Regal Tây Đô Midnight Sapphire */
body.site-theme-cantho {
    --primary: #111a36;
    --secondary: #19264e;
    --card-bg: #233568;
    --card-hover-bg: #2c4281;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-rgb: 59, 130, 246;
    --accent-gradient: linear-gradient(135deg, #2563eb, #3b82f6);
    --header-bg: rgba(17, 26, 54, 0.95);
    --footer-bg: #0a1022;
    --border: rgba(96, 165, 250, 0.22);
    --bg-radial: radial-gradient(ellipse at 50% 0%, #273c78 0%, #111a36 70%);
    --hero-overlay: linear-gradient(90deg, rgba(17, 26, 54, 0.97) 0%, rgba(17, 26, 54, 0.88) 48%, rgba(17, 26, 54, 0.45) 100%);
    --page-cover-overlay: linear-gradient(135deg, rgba(17, 26, 54, 0.95) 0%, rgba(25, 38, 78, 0.88) 55%, rgba(17, 26, 54, 0.95) 100%);
    --section-alt-bg: #19264e;
}

/* 6. Vĩnh Long - Twilight Amethyst & Regal Plum */
body.site-theme-vinhlong {
    --primary: #1c1228;
    --secondary: #291a3b;
    --card-bg: #382451;
    --card-hover-bg: #472e66;
    --accent: #a855f7;
    --accent-hover: #c084fc;
    --accent-rgb: 168, 85, 247;
    --accent-gradient: linear-gradient(135deg, #9333ea, #a855f7);
    --header-bg: rgba(28, 18, 40, 0.95);
    --footer-bg: #110b19;
    --border: rgba(192, 132, 252, 0.22);
    --bg-radial: radial-gradient(ellipse at 50% 0%, #442566 0%, #1c1228 70%);
    --hero-overlay: linear-gradient(90deg, rgba(28, 18, 40, 0.97) 0%, rgba(28, 18, 40, 0.88) 48%, rgba(28, 18, 40, 0.45) 100%);
    --page-cover-overlay: linear-gradient(135deg, rgba(28, 18, 40, 0.95) 0%, rgba(41, 26, 59, 0.88) 55%, rgba(28, 18, 40, 0.95) 100%);
    --section-alt-bg: #291a3b;
}

/* 7. Vũng Tàu Cloud - Modern Titanium Cyber & Cobalt */
body.site-theme-vungtau-cloud {
    --primary: #131926;
    --secondary: #1b2335;
    --card-bg: #243048;
    --card-hover-bg: #2e3d5c;
    --accent: #38bdf8;
    --accent-hover: #7dd3fc;
    --accent-rgb: 56, 189, 248;
    --accent-gradient: linear-gradient(135deg, #0284c7, #38bdf8);
    --header-bg: rgba(19, 25, 38, 0.95);
    --footer-bg: #0b0f17;
    --border: rgba(56, 189, 248, 0.22);
    --bg-radial: radial-gradient(ellipse at 50% 0%, #283c5e 0%, #131926 70%);
    --hero-overlay: linear-gradient(90deg, rgba(19, 25, 38, 0.97) 0%, rgba(19, 25, 38, 0.88) 48%, rgba(19, 25, 38, 0.45) 100%);
    --page-cover-overlay: linear-gradient(135deg, rgba(19, 25, 38, 0.95) 0%, rgba(27, 35, 53, 0.88) 55%, rgba(19, 25, 38, 0.95) 100%);
    --section-alt-bg: #1b2335;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--primary);
    background-image: var(--bg-radial);
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 100vh;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: all 0.3s; }
a:hover { opacity: 0.85; color: var(--accent-hover); }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}
.header-top {
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-main {
    padding: 16px 0;
}
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    min-width: 0;
}
.logo-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--accent-gradient, linear-gradient(135deg, var(--accent), #ff4757));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}
.logo-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.logo-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #fff;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
/* Universal list reset for header/nav components */
.nav-menu,
.nav-menu li,
.dropdown-menu,
.dropdown-menu li,
.mobile-nav-list,
.mobile-nav-list li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.nav-menu .nav-link {
    color: var(--text);
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.nav-menu .nav-link:hover {
    color: var(--accent);
    background: rgba(255,255,255,0.06);
}
.arrow-down {
    font-size: 11px;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

/* Dropdown Navigation */
.has-dropdown,
.menu-item-has-children {
    position: relative;
}
.has-dropdown:hover .arrow-down,
.has-dropdown:focus-within .arrow-down {
    transform: rotate(180deg);
    color: var(--accent);
    opacity: 1;
}
.menu-item-has-children > a::after {
    content: " ▾";
    font-size: 11px;
    transition: transform 0.25s ease;
    opacity: 0.7;
    margin-left: 4px;
}
.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    color: var(--accent);
    opacity: 1;
}
.dropdown-menu,
.sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 290px;
    background: var(--secondary, #132644);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border);
    padding: 8px 6px;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}
.dropdown-menu li,
.sub-menu li {
    margin: 2px 0;
    list-style: none !important;
}
.dropdown-menu li a,
.sub-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #cbd5e1;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.dropdown-menu li a:hover,
.sub-menu li a:hover {
    color: #fff;
    background: rgba(233, 69, 96, 0.2);
    transform: translateX(4px);
}
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--accent) !important;
    background: rgba(233, 69, 96, 0.12);
}

/* Hotline CTA */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-hotline {
    background: linear-gradient(135deg, var(--accent), #ff4757);
    color: #fff !important;
    padding: 9px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    animation: pulse 2.2s infinite;
    text-decoration: none;
    white-space: nowrap;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(233,69,96,0.7); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(233,69,96,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(233,69,96,0); }
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}
.mobile-nav-drawer {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-drawer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
@media (min-width: 1025px) {
    .mobile-nav-drawer,
    .mobile-toggle {
        display: none !important;
    }
}
.mobile-nav-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--secondary, #132644);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 40px;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
}
.mobile-nav-drawer.active .mobile-nav-inner {
    transform: translateX(0);
}
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}
.btn-close-mobile {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
}
.mobile-nav-list {
    list-style: none !important;
    list-style-type: none !important;
    padding: 10px 0;
    margin: 0;
}
.mobile-nav-list li {
    list-style: none !important;
    list-style-type: none !important;
}
.mobile-nav-list li a {
    display: block;
    padding: 10px 22px;
    color: #e2e8f0;
    font-size: 14.5px;
    text-decoration: none;
}
.mobile-nav-list li a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.04);
}
.mobile-group-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    padding: 14px 22px 6px;
    letter-spacing: 1px;
}
@media (max-width: 1024px) {
    .nav-menu { display: none !important; }
    .mobile-toggle { display: flex !important; }
}

/* Card Button */
.card-btn {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s;
}
.card-btn:hover {
    color: #fff;
    transform: translateX(4px);
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(233, 69, 96, 0.18), transparent 50%),
                linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 80px 0 70px;
    border-bottom: 1px solid var(--border);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(var(--accent-rgb, 14, 165, 233), 0.15);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(var(--accent-rgb, 14, 165, 233), 0.3);
}
.hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}
.btn-primary {
    background: var(--accent-gradient, linear-gradient(135deg, var(--accent), #ff4757));
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    opacity: 0.95;
}
.btn-outline {
    background: rgba(255,255,255,0.05);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid var(--border);
}
.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.hero-card h3 {
    font-size: 20px;
    margin-bottom: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-list {
    list-style: none;
}
.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #e2e8f0;
}
.feature-list li:last-child {
    border-bottom: none;
}

/* Stats Bar */
.stats-bar {
    background: var(--secondary);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item h4 {
    font-size: 34px;
    font-weight: 800;
    color: var(--gold);
}
.stat-item p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Section */
.section {
    padding: 70px 0;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.section-badge {
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.section-title {
    font-size: 34px;
    font-weight: 800;
    margin: 10px 0 14px;
}
.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.service-icon {
    font-size: 38px;
    margin-bottom: 16px;
}
.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}
.service-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Blog Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.post-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.post-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.post-card-body {
    padding: 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-meta {
    font-size: 12px;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 600;
}
.post-card h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
}
.post-card h3 a {
    color: #fff;
}
.post-card h3 a:hover {
    color: var(--accent);
}
.post-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 18px;
    flex: 1;
    line-height: 1.6;
}
.post-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Single Post */
.single-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}
.single-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}
.single-header h1 {
    font-size: 34px;
    line-height: 1.3;
    margin: 12px 0;
}
.single-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-size: 17px;
    line-height: 1.85;
}
.single-content h2 {
    font-size: 24px;
    margin: 32px 0 14px;
    color: #fff;
    border-left: 4px solid var(--accent);
    padding-left: 14px;
}
.single-content h3 {
    font-size: 20px;
    margin: 24px 0 12px;
    color: #e2e8f0;
}
.single-content p {
    margin-bottom: 18px;
    color: #cbd5e1;
}
.single-content ul, .single-content ol {
    margin: 16px 0 18px 24px;
    color: #cbd5e1;
}
.single-content li {
    margin-bottom: 8px;
}
.single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.single-content th, .single-content td {
    padding: 12px 16px;
    border: 1px solid var(--border);
}
.single-content th {
    background: rgba(255,255,255,0.06);
    color: var(--gold);
}

/* Floating Action Button */
.floating-call {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--accent-gradient, linear-gradient(135deg, var(--accent), #ff4757));
    color: #fff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: pulse 2s infinite;
}

/* Footer */
.site-footer {
    background: var(--footer-bg, #08111e);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 18px;
    margin-bottom: 18px;
    color: #fff;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent);
}
.footer-col p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.8;
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
}

/* Post Thumbnail Styling */
.post-thumb {
    display: block;
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--secondary, #132644);
}
.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.post-card:hover .post-thumb img {
    transform: scale(1.06);
}
.post-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(233, 69, 96, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.process-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 22px;
    position: relative;
    transition: all 0.3s ease;
}
.process-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}
.process-step {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
    opacity: 0.9;
}
.process-card h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
}
.process-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-4px);
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.25);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}
.pricing-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}
.pricing-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 16px;
}
.pricing-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}
.pricing-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features li:last-child {
    border-bottom: none;
}

/* Single Post Featured Image */
.single-featured-image {
    width: 100%;
    max-height: 440px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.single-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === BREADCRUMB NAVIGATION === */
.breadcrumb-nav {
    margin-bottom: 16px;
    font-size: 13px;
}
.breadcrumb-nav ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}
.breadcrumb-nav a {
    color: var(--text-muted);
}
.breadcrumb-nav a:hover {
    color: var(--accent);
}
.breadcrumb-nav .separator {
    color: rgba(255,255,255,0.2);
}
.breadcrumb-nav .current {
    color: var(--text);
    font-weight: 600;
}

/* === SINGLE META BAR === */
.single-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 14px 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}
.verified-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11.5px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* === TABLE OF CONTENTS (MỤC LỤC) === */
.toc-wrapper {
    background: rgba(26, 34, 53, 0.6);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 25px 0 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.toc-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    color: #fff;
}
.toc-toggle {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
}
.toc-content {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toc-list a {
    color: #cbd5e1;
    font-size: 13.5px;
    line-height: 1.5;
}
.toc-list a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.toc-main {
    font-weight: 600;
}
.toc-sub {
    margin-left: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* === ARTICLE CONTENT FORMATTING (TABLES, CALLOUTS) === */
.single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(26, 34, 53, 0.5);
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
}
.single-content th, .single-content td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}
.single-content th {
    background: rgba(233, 69, 96, 0.15);
    color: #fff;
    font-weight: 700;
}
.single-content blockquote {
    margin: 25px 0;
    padding: 16px 22px;
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #e2e8f0;
}

/* === RATING BOX === */
.article-rating-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    margin: 35px 0 25px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.rating-stars {
    font-size: 20px;
    letter-spacing: 2px;
}
.rating-text {
    font-size: 13.5px;
    color: #cbd5e1;
}

/* === AUTHOR E-E-A-T CARD === */
.author-eeat-card {
    display: flex;
    gap: 18px;
    background: linear-gradient(135deg, rgba(26, 34, 53, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 22px;
    margin: 35px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.author-avatar-badge {
    position: relative;
    flex-shrink: 0;
}
.avatar-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.35);
}
.verified-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}
.author-role {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.author-name {
    font-size: 18px;
    color: #fff;
    margin: 4px 0 8px;
}
.author-bio {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* === CTA CONTACT BOX === */
.cta-contact-box {
    background: linear-gradient(135deg, rgba(233,69,96,0.12), rgba(0,0,0,0.4));
    border: 1px solid rgba(233,69,96,0.35);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
}
.cta-contact-box h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 18px;
}
.cta-contact-box p {
    margin: 0;
    color: #e2e8f0;
    font-size: 14.5px;
}
.cta-phone {
    color: #fff !important;
    font-weight: 800;
    text-decoration: underline;
}

/* === RELATED POSTS SILO === */
.related-posts-section {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.related-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.related-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s;
}
.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.related-thumb {
    width: 100%;
    height: 140px;
    overflow: hidden;
}
.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.related-card:hover .related-thumb img {
    transform: scale(1.05);
}
.related-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.related-info h4 {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
}
.related-date {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .hero-grid, .services-grid, .posts-grid, .footer-grid, .process-grid, .pricing-grid, .related-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr !important;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    .nav-menu { display: none !important; }
    .author-eeat-card { flex-direction: column; }
}

@media (max-width: 768px) {
    /* Safe body padding for mobile sticky bar */
    body {
        padding-bottom: 68px !important;
    }

    .container {
        padding: 0 16px !important;
    }

    /* Top bar */
    .header-top {
        padding: 6px 0;
        font-size: 11.5px;
    }
    .header-top .container {
        justify-content: center;
        text-align: center;
    }
    .header-top .top-info,
    .header-top .top-email,
    .header-top .top-sep {
        display: none !important;
    }
    .header-top .top-contact {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    /* Main Header */
    .header-main {
        padding: 10px 0;
    }
    .header-main .container {
        padding: 0 14px;
        gap: 8px;
    }
    .logo {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }
    .logo-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 18px;
        border-radius: 8px;
    }
    .logo-title {
        font-size: 15px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .logo-sub {
        display: none !important;
    }
    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }
    .btn-hotline {
        padding: 6px 12px;
        font-size: 12.5px;
        border-radius: 20px;
        gap: 4px;
    }
    .mobile-toggle {
        padding: 8px 6px;
        min-width: 38px;
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-toggle span {
        width: 20px;
        height: 2px;
    }

    /* Hero Section on Mobile */
    .hero-section {
        padding: 38px 0 32px !important;
        background-position: center right !important;
    }
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
    .hero-badge {
        font-size: 11.5px !important;
        padding: 4px 12px !important;
        margin-bottom: 14px !important;
    }
    .hero-title {
        font-size: 23px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        letter-spacing: -0.3px !important;
    }
    .hero-desc {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 16px !important;
    }
    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100% !important;
        padding: 10px 8px !important;
        font-size: 12.5px !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }
    .hero-actions a:last-child {
        grid-column: span 2 !important;
    }
    .hero-card {
        padding: 18px 16px !important;
        border-radius: 12px !important;
    }
    .hero-card h3 {
        font-size: 16.5px !important;
        margin-bottom: 12px !important;
    }
    .feature-list li {
        font-size: 13px !important;
        margin-bottom: 10px !important;
        line-height: 1.5 !important;
    }

    /* Stats Bar */
    .stats-bar {
        padding: 22px 0 !important;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .stat-item {
        padding: 12px 10px !important;
        border-radius: 10px !important;
    }
    .stat-item h4 {
        font-size: 22px !important;
        margin-bottom: 2px !important;
    }
    .stat-item p {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
    }

    /* Section Headers */
    .section {
        padding: 40px 0 !important;
    }
    .section-badge {
        font-size: 10.5px !important;
        padding: 3px 10px !important;
        margin-bottom: 8px !important;
    }
    .section-title {
        font-size: 21px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    .section-desc {
        font-size: 13px !important;
        margin-bottom: 22px !important;
    }

    /* Services & Posts Grid */
    .services-grid, .posts-grid, .related-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .service-card, .post-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    .post-thumb {
        border-radius: 8px !important;
        margin-bottom: 12px !important;
    }
    .post-title {
        font-size: 16.5px !important;
        line-height: 1.35 !important;
    }
    .post-excerpt {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    /* Single Article Page Mobile Optimizations */
    .single-container {
        padding: 20px 0 60px !important;
    }
    .article-header {
        margin-bottom: 20px !important;
    }
    .article-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
    }
    .article-meta {
        font-size: 12px !important;
        gap: 8px !important;
        margin-bottom: 16px !important;
        flex-wrap: wrap !important;
    }
    .article-content {
        font-size: 15.5px !important;
        line-height: 1.75 !important;
    }
    .article-content h2 {
        font-size: 19px !important;
        line-height: 1.35 !important;
        margin-top: 26px !important;
        margin-bottom: 10px !important;
    }
    .article-content h3 {
        font-size: 16.5px !important;
        line-height: 1.4 !important;
        margin-top: 20px !important;
        margin-bottom: 8px !important;
    }
    .article-content img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 10px !important;
        margin: 16px 0 !important;
    }
    .article-content table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        font-size: 12.5px !important;
        border-radius: 8px !important;
    }
    .article-content table th,
    .article-content table td {
        padding: 8px 10px !important;
        white-space: nowrap !important;
    }
    .elite-takeaways,
    .nap-schema-box,
    .expert-quote-box {
        padding: 15px 13px !important;
        margin: 18px 0 !important;
        border-radius: 10px !important;
    }
    .author-eeat-card {
        padding: 16px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    .author-avatar {
        margin: 0 auto !important;
    }
    .page-cta-box {
        padding: 20px 16px !important;
        border-radius: 12px !important;
        margin-top: 28px !important;
    }
    .page-cta-inner h3 {
        font-size: 18px !important;
    }
    .page-cta-inner p {
        font-size: 13.5px !important;
        margin-bottom: 14px !important;
    }
    .page-cta-actions {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .page-cta-actions a {
        width: 100% !important;
        text-align: center !important;
        padding: 10px 14px !important;
    }

    /* Footer on Mobile */
    .site-footer {
        padding: 38px 0 85px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
    .footer-col h4 {
        font-size: 15.5px !important;
        margin-bottom: 10px !important;
    }
    .footer-col p {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    .footer-bottom {
        margin-top: 22px !important;
        padding-top: 14px !important;
        font-size: 11.5px !important;
    }
    .floating-call {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .logo-title {
        font-size: 13.5px !important;
        max-width: 145px !important;
    }
    .btn-hotline {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .hero-title {
        font-size: 21px !important;
    }
}

/* ==========================================================================
   MOBILE STICKY QUICK ACTION BAR (DÍNH ĐÁY MÀN HÌNH ĐIỆN THOẠI)
   ========================================================================== */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--header-bg, rgba(12, 25, 44, 0.96));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 99999;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        gap: 6px;
    }
}

.mbb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 46px;
}

.mbb-item:active {
    transform: scale(0.94);
}

.mbb-icon {
    font-size: 17px;
    line-height: 1;
}

.mbb-call {
    background: linear-gradient(135deg, #e94560, #ff4757);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.4);
}

.mbb-call .pulse {
    display: inline-block;
    animation: phoneShake 2s infinite ease-in-out;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

.mbb-zalo {
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa !important;
}

.mbb-pricing {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24 !important;
}

.mbb-menu {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0 !important;
}


/* === RICH ARTICLE ELEMENTS (CHẤT LƯỢNG CAO NHẤT 2026) === */

/* Key Takeaways Box (Tóm tắt cốt lõi) */
.elite-takeaways {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 78, 59, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-left: 5px solid #10b981;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 25px 0 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.takeaways-header {
    font-size: 15.5px;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.elite-takeaways ul {
    margin: 0;
    padding-left: 20px;
    color: #e2e8f0;
    font-size: 14.5px;
    line-height: 1.7;
}
.elite-takeaways li {
    margin-bottom: 6px;
}

/* Elite Structured Table (Google Featured Snippets) */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.elite-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.8);
    font-size: 14px;
    text-align: left;
}
.elite-table thead tr {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-bottom: 2px solid var(--accent);
}
.elite-table th {
    padding: 14px 18px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 12.5px;
    letter-spacing: 0.5px;
}
.elite-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    line-height: 1.6;
}
.elite-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Expert Checklist Box */
.expert-checklist-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(30, 58, 138, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-left: 5px solid #3b82f6;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 30px 0;
}
.expert-checklist-box h4 {
    margin: 0 0 14px;
    color: #60a5fa;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.expert-checklist-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.expert-checklist-box li {
    padding: 8px 0;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.expert-checklist-box li:last-child {
    border-bottom: none;
}
.expert-checklist-box li::before {
    content: "✓";
    color: #10b981;
    font-weight: 900;
    font-size: 15px;
}

/* FAQ Section */
.elite-faq-section {
    margin: 35px 0;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}
.elite-faq-section h3 {
    margin: 0 0 18px;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.faq-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.faq-item strong {
    display: block;
    color: #f1f5f9;
    font-size: 14.5px;
    margin-bottom: 6px;
}
.faq-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* Internal Link Silo Box */
.elite-silo-box {
    margin: 25px 0;
    padding: 14px 18px;
    background: rgba(99, 102, 241, 0.08);
    border-left: 4px solid #6366f1;
    border-radius: 8px;
    font-size: 14px;
    color: #e2e8f0;
}
.elite-silo-box a {
    color: #818cf8 !important;
    font-weight: 700;
    text-decoration: underline;
}

/* PBN Expert Callout PRO Box */
.pbn-expert-callout {
    margin: 30px 0;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-left: 5px solid #10b981;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.pbn-expert-callout a {
    color: #34d399 !important;
    text-decoration: underline;
    font-weight: 700;
}

/* PBN Citation Footer Box */
.pbn-citation-footer {
    margin-top: 35px;
    padding: 20px 24px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-left: 4px solid #6366f1;
    border-radius: 8px;
}
.pbn-citation-footer a {
    color: #818cf8 !important;
    font-weight: 700;
    text-decoration: underline;
}

/* ========================================================
   STATIC PAGE & CATEGORY ARCHIVE STYLING (LUXURY EEAT)
   ======================================================== */
.page-container,
.archive-container {
    max-width: 1000px;
    margin: 40px auto 70px;
    padding: 0 20px;
}

.page-article {
    background: transparent;
}

.page-header,
.archive-header {
    margin-bottom: 35px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header h1,
.archive-header .archive-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 14px 0 16px;
    letter-spacing: -0.5px;
}

.page-meta-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14.5px;
    color: #94a3b8;
    margin-top: 10px;
}

.page-meta-bar strong {
    color: #f1f5f9;
}

.page-featured-image {
    margin: 28px 0 15px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-content {
    background: var(--card-bg);
    padding: 42px;
    border-radius: 16px;
    border: 1px solid var(--border);
    font-size: 17px;
    line-height: 1.85;
    color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-content h2 {
    font-size: 26px;
    color: #fff;
    margin: 36px 0 16px;
    border-left: 4px solid var(--accent);
    padding-left: 14px;
    font-weight: 700;
}

.page-content h3 {
    font-size: 21px;
    color: #f8fafc;
    margin: 26px 0 12px;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    margin: 16px 0 24px 28px;
}

.page-content li {
    margin-bottom: 8px;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    font-size: 15.5px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-content table th {
    background: #1e293b;
    color: var(--accent);
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-content table td {
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.6);
}

.page-cta-box {
    margin-top: 45px;
    padding: 34px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.15), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(233, 69, 96, 0.4);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.page-cta-inner h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

.page-cta-inner p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.page-cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.archive-desc {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
    max-width: 750px;
}

.empty-archive-box {
    text-align: center;
    padding: 60px 24px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    margin: 30px 0;
}

/* ==========================================================================
   ẢNH BÌA TRANG CON & HERO COVER BANNER (THÁM TỬ TƯ)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 85px 0 75px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid var(--border) !important;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Page Cover Banner (Ảnh Bìa Cho Tất Cả Các Trang Con) */
.page-cover-banner {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 55px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.page-cover-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e94560, #f59e0b, #3b82f6, #10b981, #e94560);
    background-size: 200% 100%;
    animation: coverGradientShift 6s linear infinite;
    z-index: 3;
}

@keyframes coverGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.page-cover-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.page-cover-badge {
    display: inline-block;
    background: rgba(var(--accent-rgb, 14, 165, 233), 0.18);
    color: var(--accent-hover);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    border: 1px solid rgba(var(--accent-rgb, 14, 165, 233), 0.35);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.page-cover-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.page-cover-sub {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.page-cover-sub strong {
    color: var(--gold);
}

@media (max-width: 900px) {
    .hero-section {
        padding: 55px 0 50px;
        background-position: center right !important;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-cover-banner {
        padding: 45px 0 40px;
    }
    .page-cover-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .page-cover-banner {
        padding: 35px 0 30px;
    }
    .page-cover-title {
        font-size: 24px;
    }
    .page-cover-sub {
        font-size: 13px;
    }
}

