/* ==========================================================================
   24h.com.vn Exact Theme Stylesheet (Redesign 100%)
   Primary Brand: Vibrant 24h Green (#78B43D), Clean White, Flat Modern Layout
   ========================================================================== */

:root {
    --color-24h-green: #78b43d;
    --color-24h-green-hover: #689f32;
    --color-24h-green-dark: #588728;
    --color-24h-green-bg: #f4f9ed;
    --color-24h-text: #222222;
    --color-24h-meta: #777777;
    --color-24h-border: #e2e4e8;
}

/* Base Reset & Typography */
body {
    font-family: 'Roboto', 'Arial', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    color: var(--color-24h-text) !important;
    background-color: #f7f8f9 !important;
    font-size: 14px;
}

a {
    color: #222222;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

a:hover, a:focus {
    color: var(--color-24h-green) !important;
    text-decoration: none;
}

/* Hide default top-bar on desktop because the 24h header row contains all info */
.top-bar {
    display: none !important;
}

/* ==========================================================================
   1. 24H HEADER ROW (LOGO + SHORTCUTS + SEARCH + LOGIN)
   ========================================================================= */
.logo-banner.logo-banner-24h {
    background: #ffffff !important;
    border-bottom: 1px solid #e8e8e8 !important;
    padding: 8px 0 !important;
}

.header-24h-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-24h-left {
    display: flex;
    align-items: center;
}

.logo-24h {
    height: 38px !important;
    max-height: 40px !important;
    width: auto !important;
    object-fit: contain;
}

.header-24h-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Shortcuts: Giá vàng, Đoán tỷ số, Lịch */
.header-shortcuts-24h {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-shortcuts-24h .sc-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
}

.header-shortcuts-24h .sc-item .sc-icon {
    font-size: 15px;
}

.header-shortcuts-24h .sc-item:hover {
    color: var(--color-24h-green) !important;
}

/* Search Box Pill */
.header-search-24h form {
    display: flex;
    align-items: center;
    background: #f1f2f4;
    border: 1px solid #dcdfe3;
    border-radius: 20px;
    padding: 3px 12px;
    width: 220px;
}

.header-search-24h input {
    border: none;
    background: transparent;
    font-size: 12.5px;
    color: #333;
    width: 100%;
    outline: none;
    padding: 3px 0;
}

.header-search-24h input::placeholder {
    color: #888888;
}

.header-search-24h .search-submit-btn {
    border: none;
    background: transparent;
    color: #777777;
    cursor: pointer;
    padding: 0 0 0 6px;
    font-size: 13px;
}

.header-search-24h .search-submit-btn:hover {
    color: var(--color-24h-green);
}

.live-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    z-index: 10000;
    overflow: hidden;
    max-height: 380px;
    overflow-y: auto;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
    text-decoration: none !important;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background: #f8fafc;
}

.live-search-item img {
    width: 44px;
    height: 34px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.live-search-item-info {
    flex: 1;
    min-width: 0;
}

.live-search-item-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-search-item-date {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.live-search-empty {
    padding: 12px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

body.theme-night-mode .live-search-dropdown {
    background: #1e1e1e !important;
    border-color: #333333 !important;
}

body.theme-night-mode .live-search-item {
    border-bottom-color: #2a2a2a !important;
}

body.theme-night-mode .live-search-item:hover {
    background: #282828 !important;
}

body.theme-night-mode .live-search-item-title {
    color: #f1f5f9 !important;
}

/* Auth / Login */
.header-auth-24h .auth-btn-24h {
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-auth-24h .auth-btn-24h i {
    font-size: 14px;
    color: #666;
}

.header-auth-24h .auth-btn-24h:hover {
    color: var(--color-24h-green) !important;
}

/* ==========================================================================
   2. MAIN NAVIGATION (SIGNATURE 24H GREEN NAVBAR #78B43D)
   ========================================================================== */
#header .main-menu,
#header .navbar-default.main-menu,
.navbar.main-menu {
    background: var(--color-24h-green) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
}

#header .navbar-default .navbar-nav {
    height: 40px !important;
    display: flex;
    align-items: center;
}

#header .navbar-default .navbar-nav > li {
    float: left;
}

#header .navbar-default .navbar-nav > li > a,
.navbar-default.main-menu .navbar-nav > li > a {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 0 10px !important;
    line-height: 40px !important;
    height: 40px !important;
    letter-spacing: 0.2px;
    transition: background 0.15s ease;
    border: none !important;
    background: transparent !important;
}

#header .navbar-default .navbar-nav > li > a:hover,
#header .navbar-default .navbar-nav > li > a:focus,
#header .navbar-default .navbar-nav > .active > a,
#header .navbar-default .navbar-nav > .active > a:focus,
#header .navbar-default .navbar-nav > .active > a:hover,
#header .navbar-default .navbar-nav > .open > a {
    background-color: var(--color-24h-green-hover) !important;
    color: #ffffff !important;
}

/* Hamburger & Home Icons at start */
.nav-icon-menu a,
.nav-icon-home a {
    padding: 0 12px !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 40px !important;
    line-height: 40px !important;
}

.nav-icon-menu a i {
    font-size: 16px;
    color: #ffffff;
}

/* Remove CI default underline */
#header .navbar-default .navbar-nav > .active > a::after, 
#header .navbar-default .navbar-nav > li > a:hover:after {
    display: none !important;
}

/* Hide right search icon in navbar since it's on top */
#header .navbar-default .navbar-right .li-search {
    display: none !important;
}

/* ==========================================================================
   3. SUB-NAVIGATION BAR (THANH CHUYÊN MỤC CON)
   ========================================================================== */
.sub-nav-24h {
    background: #ffffff;
    border-bottom: 1px solid #e2e4e8;
    padding: 8px 0;
    margin-bottom: 16px;
}

.sub-nav-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sub-nav-home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5d8dc;
    border-radius: 3px;
    padding: 4px 6px;
    background: #ffffff;
    cursor: pointer;
}

.sub-nav-home-icon:hover {
    border-color: var(--color-24h-green);
}

.sub-nav-main-title {
    font-weight: 800;
    font-size: 13.5px;
    text-transform: uppercase;
    color: #111111;
    letter-spacing: 0.3px;
}

.sub-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 16px;
    flex-wrap: wrap;
}

.sub-nav-links li a {
    font-size: 13px;
    color: #333333;
    font-weight: 500;
}

.sub-nav-links li a:hover {
    color: var(--color-24h-green) !important;
}

.sub-nav-links .dots-link {
    font-weight: 700;
    color: #666;
}

/* ==========================================================================
   4. 3-COLUMN FEATURED GRID (KHỐI TIN NỔI BẬT 3 CỘT)
   ========================================================================== */
.featured-grid-24h {
    margin-bottom: 20px;
}

.card-24h {
    background: transparent;
    margin-bottom: 16px;
}

.card-24h .img-wrap {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    position: relative;
    background: #eef0f2;
}

.card-24h .img-wrap img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.card-24h:hover .img-wrap img {
    transform: scale(1.04);
}

/* Side Column Cards (Left & Right) */
.card-side .img-wrap {
    height: 140px;
}

.card-side .title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

.card-side .title a {
    color: #111111 !important;
}

.card-side .title a:hover {
    color: var(--color-24h-green) !important;
}

/* Center Hero Card */
.card-hero .hero-img-wrap {
    height: 310px;
}

.card-hero .hero-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.card-hero .hero-title a {
    color: #111111 !important;
}

.card-hero .hero-title a:hover {
    color: var(--color-24h-green) !important;
}

/* Video badge */
.video-play-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: #ffffff;
    font-size: 22px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
}

/* ==========================================================================
   5. UTILITY ICONS ROW (THANH TIỆN ÍCH NGANG)
   ========================================================================== */
.utility-bar-24h {
    margin-bottom: 24px;
}

.utility-inner {
    background: #ffffff;
    border: 1px solid #e0e2e6;
    border-radius: 4px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.utility-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333333;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    transition: background 0.15s ease;
}

.utility-item:hover {
    background: var(--color-24h-green-bg);
    color: var(--color-24h-green) !important;
}

.utility-item .u-icon {
    font-size: 18px;
}

/* ==========================================================================
   6. HIGHLIGHT SECTION (NHIỀU NGƯỜI ĐỌC & TIN TỨC THỊ TRƯỜNG)
   ========================================================================== */
.highlight-section-24h {
    margin-bottom: 30px;
}

.block-header-24h {
    border-bottom: 2px solid #222222;
    margin-bottom: 14px;
    padding-bottom: 6px;
}

.block-header-24h .title-main {
    font-size: 17px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    margin: 0 !important;
}

.block-header-24h .title-green {
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: var(--color-24h-green) !important;
    margin: 0 !important;
}

/* Carousel cards: Nhiều người đọc */
.card-mini-24h {
    background: #ffffff;
    border-radius: 3px;
    margin-bottom: 12px;
}

.card-mini-24h .img-wrap {
    height: 98px;
    overflow: hidden;
    border-radius: 3px;
    background: #eee;
    display: block;
}

.card-mini-24h .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-mini-24h:hover .img-wrap img {
    transform: scale(1.05);
}

.card-mini-24h .title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

.card-mini-24h .title a {
    color: #222222 !important;
}

.card-mini-24h .title a:hover {
    color: var(--color-24h-green) !important;
}

/* Button Gửi Góp Ý */
.btn-gop-y-24h {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border: 1px solid var(--color-24h-green);
    border-radius: 3px;
    color: var(--color-24h-green) !important;
    font-weight: 700;
    font-size: 13px;
    background: #ffffff;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.btn-gop-y-24h:hover {
    background: var(--color-24h-green);
    color: #ffffff !important;
}

.btn-gop-y-24h:hover svg {
    fill: #ffffff !important;
}

/* List Tin tức thị trường */
.list-thi-truong-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thi-truong-item {
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ececec;
}

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

.thi-truong-item .left-thumb {
    width: 95px;
    height: 65px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 3px;
    background: #eee;
    display: block;
}

.thi-truong-item .left-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thi-truong-item:hover .left-thumb img {
    transform: scale(1.05);
}

.thi-truong-item .right-info .title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.thi-truong-item .right-info .title a {
    color: #222222 !important;
}

.thi-truong-item .right-info .title a:hover {
    color: var(--color-24h-green) !important;
}

/* ==========================================================================
   7. FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-actions-24h {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-actions-24h .float-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-actions-24h .float-btn:hover {
    transform: scale(1.1);
}

.floating-actions-24h .float-home {
    background: var(--color-24h-green);
}

.floating-actions-24h .float-top {
    background: #ffffff;
    border: 1px solid #d5d8dc;
}

/* ==========================================================================
   8. CATEGORY BLOCKS & SECTIONS
   ========================================================================== */
.section-head {
    border-bottom: 2px solid var(--color-24h-green) !important;
    margin-bottom: 16px !important;
    position: relative !important;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.section-head .title,
.section-head h4.title {
    background-color: var(--color-24h-green) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    padding: 6px 16px !important;
    margin: 0 !important;
    border-radius: 3px 3px 0 0 !important;
}

.section-head .title a,
.section-head h4.title a {
    color: #ffffff !important;
}

.section-head .subcategories li a:hover,
.section-head .subcategories li.active a {
    color: var(--color-24h-green) !important;
    font-weight: 700 !important;
}

.a-view-all {
    color: var(--color-24h-green) !important;
    font-weight: 600 !important;
}

.category-label {
    background-color: var(--color-24h-green) !important;
    color: #ffffff !important;
    border-radius: 3px !important;
}

/* Post Cards */
.post-item,
.post-item-small {
    background: #ffffff !important;
    border-radius: 3px !important;
    border: 1px solid #eef0f2 !important;
    transition: box-shadow 0.2s ease;
}

.post-item:hover,
.post-item-small:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.07) !important;
}

.post-item .title a:hover,
.post-item-small .title a:hover {
    color: var(--color-24h-green) !important;
}

/* ==========================================================================
   9. DETAIL ARTICLE PAGE
   ========================================================================== */
.post-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #1a1a1a !important;
}

.post-summary {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
    color: #333333 !important;
    background: #f7f9f5 !important;
    border-left: 4px solid var(--color-24h-green) !important;
    padding: 12px 16px !important;
    border-radius: 0 3px 3px 0 !important;
}

.post-text {
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #222222 !important;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
#footer {
    background-color: #1e2226 !important;
    border-top: 4px solid var(--color-24h-green) !important;
    color: #b0b4b9 !important;
    padding-top: 36px !important;
    margin-top: 40px !important;
}

#footer a:hover {
    color: var(--color-24h-green) !important;
}

.footer-bottom {
    background-color: #141618 !important;
    border-top: 1px solid #2a2d32 !important;
    padding: 14px 0 !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .header-shortcuts-24h {
        display: none !important;
    }
    .header-search-24h form {
        width: 170px;
    }
    .card-hero .hero-img-wrap {
        height: 240px;
    }
    .card-side .img-wrap {
        height: 120px;
    }
}

/* Desktop hide mobile header */
@media (min-width: 992px) {
    .m24h-mobile-header-wrap {
        display: none !important;
    }
}

/* ===================================================
   24H.COM.VN MOBILE HEADER & HOME LAYOUT (CHUẨN 24H)
   =================================================== */
@media (max-width: 991px) {
    /* Ẩn các khối header desktop và search box thừa */
    .logo-banner.logo-banner-24h,
    .main-menu.megamenu,
    .utility-live-bar-24h,
    .sub-nav-24h,
    #header .top-bar,
    .mobile-nav-search {
        display: none !important;
    }

    /* Mobile Header Container (2 Hàng Chuẩn 24h) */
    .m24h-mobile-header-wrap {
        display: block !important;
        background: #ffffff !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 99990 !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    }

    /* Hàng 1: Header Trắng */
    .m24h-top-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 12px !important;
        height: 50px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #f0f2f5 !important;
    }

    .m24h-logo {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .m24h-logo-img {
        height: 36px !important;
        width: auto !important;
        max-width: 120px !important;
        object-fit: contain !important;
    }

    /* Trending pills ở giữa */
    .m24h-trending {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin-left: 10px !important;
        margin-right: auto !important;
    }

    .m24h-trend-pill {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #333333 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .m24h-trend-pill span {
        color: #222222 !important;
        font-size: 13px !important;
    }

    .m24h-trend-pill:hover span {
        color: #78B43D !important;
    }

    /* Icon phải: User & Hamburger Menu */
    .m24h-right-icons {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-shrink: 0 !important;
    }

    .m24h-icon-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #222222 !important;
        text-decoration: none !important;
        padding: 4px !important;
    }

    /* Hàng 2: Thanh Chuyên Mục Xanh Lá Cuộn Ngang */
    .m24h-category-bar {
        background: #78B43D !important;
        display: flex !important;
        align-items: center !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 0 4px !important;
        height: 38px !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
    }

    .m24h-category-bar::-webkit-scrollbar {
        display: none !important;
    }

    .m24h-cat-link {
        display: inline-flex !important;
        align-items: center !important;
        color: #ffffff !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        padding: 0 11px !important;
        height: 38px !important;
        line-height: 38px !important;
        text-decoration: none !important;
        flex-shrink: 0 !important;
        letter-spacing: 0.2px !important;
    }

    .m24h-cat-link:hover, .m24h-cat-link:focus {
        color: #ffffff !important;
        opacity: 0.9 !important;
        text-decoration: none !important;
    }

    .m24h-cat-home {
        padding: 0 10px 0 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* =========================================
       Mobile Navigation Drawer (#navMobile)
       ========================================= */
    #navMobile.nav-mobile {
        width: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 999999 !important;
        background: #ffffff !important;
        box-shadow: 4px 0 25px rgba(0,0,0,0.25) !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
    }

    #navMobile.nav-mobile.nav-mobile-open {
        width: 320px !important;
        max-width: 86vw !important;
    }

    #overlay_bg.overlay-bg {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: rgba(0, 0, 0, 0.55) !important;
        backdrop-filter: blur(2px) !important;
        z-index: 999998 !important;
    }

    .m24h-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 16px !important;
        height: 54px !important;
        border-bottom: 1px solid #eef0f3 !important;
        background: #ffffff !important;
        flex-shrink: 0 !important;
    }

    .m24h-drawer-brand img {
        height: 32px !important;
        width: auto !important;
    }

    .m24h-drawer-close {
        background: none !important;
        border: none !important;
        padding: 4px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #333333 !important;
        border-radius: 4px !important;
    }
    .m24h-drawer-close:hover {
        background: #f0f2f5 !important;
    }

    .m24h-drawer-search-box {
        padding: 10px 14px !important;
        background: #f8faf7 !important;
        border-bottom: 1px solid #eef0f3 !important;
        flex-shrink: 0 !important;
    }

    .m24h-drawer-form {
        margin: 0 !important;
    }

    .m24h-drawer-search-wrap {
        display: flex !important;
        align-items: center !important;
        background: #ffffff !important;
        border: 1.5px solid #dbe2d4 !important;
        border-radius: 20px !important;
        padding: 2px 6px 2px 14px !important;
        transition: border-color 0.2s !important;
    }

    .m24h-drawer-search-wrap:focus-within {
        border-color: #78B43D !important;
    }

    .m24h-drawer-input {
        flex: 1 !important;
        border: none !important;
        outline: none !important;
        font-size: 13.5px !important;
        background: transparent !important;
        color: #222222 !important;
        height: 34px !important;
    }

    .m24h-drawer-btn-search {
        background: transparent !important;
        border: none !important;
        padding: 4px 8px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .m24h-drawer-scroll {
        flex: 1 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 12px 14px 20px !important;
        position: static !important;
        width: 100% !important;
    }

    .m24h-drawer-user-card {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        background: #f4f8f0 !important;
        border-radius: 8px !important;
        margin-bottom: 14px !important;
    }

    .m24h-drawer-avatar {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 2px solid #78B43D !important;
    }

    .m24h-drawer-uinfo {
        flex: 1 !important;
    }

    .m24h-drawer-uname {
        display: block !important;
        font-size: 14px !important;
        color: #111111 !important;
        font-weight: 700 !important;
    }

    .m24h-drawer-ulinks {
        font-size: 12px !important;
        color: #666666 !important;
        margin-top: 2px !important;
    }

    .m24h-drawer-ulinks a {
        color: #78B43D !important;
        font-weight: 600 !important;
    }

    .m24h-drawer-auth-btns {
        display: flex !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .m24h-btn-login, .m24h-btn-register {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        border-radius: 6px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }

    .m24h-btn-login {
        background: #78B43D !important;
        color: #ffffff !important;
    }

    .m24h-btn-register {
        background: #f0f2f5 !important;
        color: #333333 !important;
    }

    .m24h-drawer-quick-bar {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 16px !important;
        padding-bottom: 14px !important;
        border-bottom: 1px solid #eef0f3 !important;
    }

    .m24h-quick-chip {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        padding: 7px 10px !important;
        background: #f7f9fa !important;
        border-radius: 6px !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: #333333 !important;
        text-decoration: none !important;
        transition: background 0.15s !important;
    }

    .m24h-quick-chip:hover {
        background: #edf5e8 !important;
        color: #78B43D !important;
    }

    .m24h-drawer-heading {
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: 0.5px !important;
        color: #888888 !important;
        margin-bottom: 8px !important;
        padding-left: 4px !important;
    }

    .m24h-nav-tree {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .m24h-nav-tree .nav-item {
        border-bottom: 1px solid #f2f4f6 !important;
    }

    .m24h-nav-tree .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 8px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #222222 !important;
        text-decoration: none !important;
    }

    .m24h-nav-tree .nav-link:hover {
        color: #78B43D !important;
        background: #f9fbf8 !important;
    }

    .m24h-drop-arrow {
        font-size: 11px !important;
        color: #999999 !important;
    }

    .m24h-nav-tree .dropdown-menu {
        position: static !important;
        float: none !important;
        box-shadow: none !important;
        border: none !important;
        background: #f9fafb !important;
        padding: 4px 0 6px 14px !important;
        margin: 0 !important;
    }

    .m24h-nav-tree .dropdown-menu .nav-link {
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #555555 !important;
        padding: 6px 8px !important;
    }

    .m24h-drawer-footer {
        padding: 12px 16px !important;
        background: #fafbfc !important;
        border-top: 1px solid #eef0f3 !important;
        text-align: center !important;
        flex-shrink: 0 !important;
        position: static !important;
        width: 100% !important;
    }

    .m24h-drawer-copy {
        font-size: 11px !important;
        color: #999999 !important;
        margin-top: 6px !important;
    }

    /* =========================================
       Bố cục Tin Nổi Bật Trang Chủ trên Mobile (Chuẩn 24h.com.vn)
       ========================================= */
    #wrapper {
        padding-top: 0 !important;
    }

    .featured-grid-24h {
        padding-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .featured-grid-24h .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .featured-grid-24h .row {
        display: flex !important;
        flex-direction: column !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Hero Card lên vị trí số 1 trên cùng */
    .col-featured-center {
        order: -1 !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .card-hero {
        background: #ffffff !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        margin-bottom: 12px !important;
    }

    .card-hero .hero-img-wrap {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        max-height: 250px !important;
        border-radius: 0 !important;
        position: relative !important;
        display: block !important;
        overflow: hidden !important;
        background: #f0f2f5 !important;
        min-height: 200px !important;
    }

    .card-hero .hero-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        min-height: 200px !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Huy hiệu Trực Tiếp đỏ trên góc ảnh chuẩn 24h */
    .m24h-live-tag {
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        background: #e11d48 !important;
        color: #ffffff !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        padding: 3px 10px !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        z-index: 5 !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
        letter-spacing: 0.2px !important;
    }

    .m24h-live-dot {
        width: 6.5px !important;
        height: 6.5px !important;
        background: #ffffff !important;
        border-radius: 50% !important;
        display: inline-block !important;
        animation: m24hBlink 1.2s infinite ease-in-out !important;
    }

    @keyframes m24hBlink {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.3; transform: scale(0.85); }
    }

    /* Tiêu đề tin nổi bật mobile chuẩn 24h */
    .card-hero .hero-title {
        font-size: 20px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        padding: 12px 14px 4px !important;
        margin: 0 !important;
    }

    .card-hero .hero-title a {
        color: #1a1a1a !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
        text-decoration: none !important;
    }

    /* Các tin phụ dưới tin chính */
    .col-featured-side {
        width: 100% !important;
        padding: 0 12px !important;
    }

    .card-side {
        display: flex !important;
        gap: 12px !important;
        align-items: flex-start !important;
        margin-bottom: 12px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid #f0f2f5 !important;
    }

    .card-side .img-wrap {
        width: 125px !important;
        height: 82px !important;
        flex-shrink: 0 !important;
        border-radius: 4px !important;
        overflow: hidden !important;
    }

    .card-side .img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .card-side .title {
        font-size: 14.5px !important;
        font-weight: 600 !important;
        line-height: 1.38 !important;
        margin: 0 !important;
    }

    .card-side .title a {
        color: #222222 !important;
    }

    /* Chi tiết bài viết trên mobile */
    body {
        padding-bottom: 64px !important;
    }
    .post-content {
        padding: 14px 12px !important;
    }
    .post-content h1.title {
        font-size: 21px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        margin: 10px 0 12px 0 !important;
    }
    .post-summary h2 {
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.48 !important;
        color: #4b5563 !important;
    }
    .post-content .post-meta {
        clear: both !important;
        float: none !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        position: static !important;
        width: 100% !important;
        margin: 8px 0 12px 0 !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    .post-content .post-meta .post-details-meta-date {
        position: static !important;
        display: inline-block !important;
        margin-left: 8px !important;
        top: auto !important;
        left: auto !important;
    }
    .post-text {
        font-size: 16.5px !important;
        line-height: 1.7 !important;
        color: #222222 !important;
    }
    .post-text p {
        margin-bottom: 16px !important;
    }
    .post-text img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        margin: 12px auto !important;
        display: block !important;
    }
    .post-text table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
    }
    .ai-voice-reader-box {
        clear: both !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 12px !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
        margin: 12px 0 16px 0 !important;
    }
    .ai-voice-top-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .ai-voice-player {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 6px !important;
    }
    .btn-ai-play {
        flex: 1 1 auto !important;
        justify-content: center !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
    .ai-reading-tools {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 6px !important;
        width: 100% !important;
        padding: 4px 2px 6px 2px !important;
        scrollbar-width: none !important;
    }
    .ai-reading-tools::-webkit-scrollbar {
        display: none !important;
    }
    .ai-reading-tools .reading-time-pill,
    .ai-reading-tools .font-resizer-wrap,
    .ai-reading-tools .btn-copy-link {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* Social Share on Mobile */
    .post-content .post-share {
        margin: 12px 0 16px 0 !important;
        clear: both !important;
    }
    .post-share .share-box {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .post-share .share-box li {
        margin: 0 !important;
        display: inline-flex !important;
    }
    .post-share .share-box li a {
        border-radius: 8px !important;
        height: 36px !important;
        line-height: 36px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Floating elements offset on mobile to not block bottom nav */
    #aiFloatingWidgetContainer {
        bottom: 68px !important;
        right: 12px !important;
    }
    #scroll-top {
        bottom: 68px !important;
        right: 14px !important;
    }
    #m24hStickyAudioBar {
        bottom: 56px !important;
    }
}

/* ========================================================
   MOBILE APP BOTTOM NAVIGATION BAR (24H / BÁO MỚI)
   ======================================================== */
.m24h-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 99998;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.m24h-nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 0;
    transition: all 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.m24h-nav-tab:hover,
.m24h-nav-tab:focus {
    text-decoration: none !important;
    color: #78B43D;
}
.m24h-nav-tab.active {
    color: #78B43D !important;
    font-weight: 700 !important;
}
.m24h-nav-tab.active .m24h-tab-icon svg {
    stroke: #78B43D !important;
}
.m24h-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    transition: transform 0.2s ease;
}
.m24h-nav-tab:active .m24h-tab-icon {
    transform: scale(0.9);
}
.m24h-tab-icon-audio {
    position: relative;
}
.m24h-nav-tab.is-playing .m24h-tab-icon-audio svg {
    stroke: #78B43D;
    animation: pulseAudio 1.2s infinite;
}
@keyframes pulseAudio {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Night Mode for Mobile Bottom Bar */
body.theme-night-mode .m24h-bottom-nav {
    background: #181818 !important;
    border-top-color: #262626 !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.4) !important;
}
body.theme-night-mode .m24h-nav-tab {
    color: #94a3b8 !important;
}
body.theme-night-mode .m24h-nav-tab.active,
body.theme-night-mode .m24h-nav-tab:active {
    color: #78B43D !important;
}
body.theme-night-mode .m24h-nav-tab.active .m24h-tab-icon svg {
    stroke: #78B43D !important;
}
body.theme-night-mode .post-content .post-meta {
    border-bottom-color: #282828 !important;
}
body.theme-night-mode .post-text {
    color: #e5e5e5 !important;
}
body.theme-night-mode .post-summary h2 {
    color: #9ca3af !important;
}

/* Chế độ đêm trên Mobile */
body.theme-night-mode .m24h-mobile-header-wrap {
    background: #181818 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5) !important;
}

body.theme-night-mode .m24h-top-row {
    background: #181818 !important;
    border-bottom-color: #262626 !important;
}

body.theme-night-mode .m24h-trend-pill span {
    color: #e5e5e5 !important;
}

body.theme-night-mode .m24h-icon-btn svg {
    stroke: #e5e5e5 !important;
}

body.theme-night-mode .card-hero {
    background: #181818 !important;
}

body.theme-night-mode .card-hero .hero-title a {
    color: #f3f4f6 !important;
}

body.theme-night-mode #navMobile.nav-mobile {
    background: #1a1a1a !important;
    color: #e5e5e5 !important;
}

body.theme-night-mode .m24h-drawer-header,
body.theme-night-mode .m24h-drawer-search-box,
body.theme-night-mode .m24h-drawer-footer {
    background: #1e1e1e !important;
    border-color: #2c2c2c !important;
}

body.theme-night-mode .m24h-drawer-close svg {
    stroke: #e5e5e5 !important;
}

body.theme-night-mode .m24h-drawer-search-wrap {
    background: #282828 !important;
    border-color: #3e3e3e !important;
}

body.theme-night-mode .m24h-drawer-input {
    color: #ffffff !important;
}

body.theme-night-mode .m24h-drawer-user-card {
    background: #242b20 !important;
}

body.theme-night-mode .m24h-drawer-uname {
    color: #ffffff !important;
}

body.theme-night-mode .m24h-btn-register {
    background: #2a2a2a !important;
    color: #e5e5e5 !important;
}

body.theme-night-mode .m24h-quick-chip {
    background: #252525 !important;
    color: #d1d5db !important;
}

body.theme-night-mode .m24h-nav-tree .nav-item {
    border-color: #282828 !important;
}

body.theme-night-mode .m24h-nav-tree .nav-link {
    color: #e5e5e5 !important;
}

body.theme-night-mode .m24h-nav-tree .dropdown-menu {
    background: #222222 !important;
}

body.theme-night-mode .m24h-nav-tree .dropdown-menu .nav-link {
    color: #cbd5e1 !important;
}

body.theme-night-mode .card-side {
    border-bottom-color: #282828 !important;
}

body.theme-night-mode .card-side .title a {
    color: #e5e5e5 !important;
}


/* News Ticker & General UI */
.news-ticker-cnt {
    background: #ffffff !important;
    border: 1px solid var(--color-24h-border) !important;
    border-left: 4px solid var(--color-24h-green) !important;
    border-radius: 4px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
}

.news-ticker-cnt .news-ticker-title {
    background: var(--color-24h-green) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    padding: 8px 16px !important;
}

.news-ticker ul li a:hover {
    color: var(--color-24h-green) !important;
}

.bnt-news-ticker:hover {
    background: var(--color-24h-green) !important;
    color: #ffffff !important;
}

.btn-custom {
    background-color: var(--color-24h-green) !important;
    border-color: var(--color-24h-green) !important;
    color: #ffffff !important;
}

.btn-custom:hover {
    background-color: var(--color-24h-green-hover) !important;
    border-color: var(--color-24h-green-hover) !important;
}

.pagination > .active > a, 
.pagination > .active > span {
    background-color: var(--color-24h-green) !important;
    border-color: var(--color-24h-green) !important;
}

/* ==========================================================================
   LIVE UTILITY BAR & BREAKING NEWS TICKER 24H
   ========================================================================== */
.utility-live-bar-24h {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    font-size: 13px;
    line-height: 1.4;
}

.utility-live-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    gap: 15px;
}

/* Breaking Ticker */
.live-ticker-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.ticker-badge {
    background: #e53935;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    margin-right: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    animation: blinkDot 1s infinite alternate;
}

@keyframes blinkDot {
    from { opacity: 0.2; }
    to { opacity: 1; }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.ticker-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

.ticker-item {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

.ticker-item a {
    color: #222222;
    font-weight: 500;
    font-size: 13px;
}

.ticker-item a:hover {
    color: var(--color-24h-green) !important;
}

.ticker-arrows {
    display: flex;
    align-items: center;
    margin-left: 8px;
    gap: 2px;
}

.ticker-btn {
    background: none;
    border: none;
    padding: 2px 4px;
    color: #888888;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
}

.ticker-btn:hover {
    color: var(--color-24h-green);
}

/* Right Widgets */
.live-widgets-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.live-widget-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #555555;
    font-size: 12px;
}

.live-widget-item strong {
    color: #111111;
    font-weight: 600;
}

/* Dark Mode Button */
.btn-darkmode-switch {
    background: #f1f3f5;
    border: 1px solid #dcdfe4;
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    color: #333333;
    transition: all 0.2s;
}

.btn-darkmode-switch:hover {
    background: #e2e5e9;
    border-color: #ccd0d5;
}

/* ==========================================================================
   AI VOICE READER & READING TOOLS
   ========================================================================== */
.ai-voice-reader-box {
    background: #f9fbf7;
    border: 1px solid #d6ebd0;
    border-left: 4px solid var(--color-24h-green);
    border-radius: 6px;
    padding: 10px 14px;
    margin: 15px 0 20px 0;
}

@media (min-width: 769px) {
    .ai-voice-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    .ai-voice-player {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

.btn-ai-play {
    background: var(--color-24h-green);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-ai-play:hover {
    background: var(--color-24h-green-hover);
    transform: translateY(-1px);
}

.ai-speed-select {
    border: 1px solid #c7d2bd;
    background: #ffffff;
    border-radius: 14px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    outline: none;
}

/* Sound Wave Animation */
.ai-audio-wave {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 14px;
    margin-left: 2px;
}

.wave-bar {
    width: 2px;
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    animation: waveAnim 0.8s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; }

@keyframes waveAnim {
    0% { height: 3px; }
    100% { height: 14px; }
}

@media (min-width: 769px) {
    .ai-reading-tools {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

.reading-time-pill {
    background: #ffffff;
    border: 1px solid #e0e5db;
    border-radius: 14px;
    padding: 3px 9px;
    font-size: 12px;
    color: #555555;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.font-resizer-wrap {
    display: inline-flex;
    border: 1px solid #d4ded0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.btn-resizer {
    background: none;
    border: none;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #444444;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-resizer:hover {
    background: #eef3eb;
    color: var(--color-24h-green);
}

.btn-resizer:first-child {
    border-right: 1px solid #e0e5db;
}

.btn-copy-link {
    background: #ffffff;
    border: 1px solid #d4ded0;
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #444444;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-copy-link:hover {
    background: #eef3eb;
    border-color: var(--color-24h-green);
    color: var(--color-24h-green);
}

/* ==========================================================================
   DARK MODE THEME OVERRIDES (Dịu Mắt Ban Đêm)
   ========================================================================== */
body.theme-night-mode {
    background-color: #121212 !important;
    color: #d1d5db !important;
}

body.theme-night-mode a {
    color: #e5e7eb !important;
}

body.theme-night-mode a:hover {
    color: #8cd44a !important;
}

body.theme-night-mode .logo-banner.logo-banner-24h,
body.theme-night-mode .main-nav-24h,
body.theme-night-mode .utility-live-bar-24h,
body.theme-night-mode #wrapper,
body.theme-night-mode .section,
body.theme-night-mode .post-content,
body.theme-night-mode .widget,
body.theme-night-mode .sidebar {
    background-color: #1e1e1e !important;
    color: #e5e7eb !important;
    border-color: #2e2e2e !important;
}

body.theme-night-mode .card-24h-standard,
body.theme-night-mode .card-hero-center,
body.theme-night-mode .card-hero-side,
body.theme-night-mode .trending-post-item,
body.theme-night-mode .widget-market-section {
    background-color: #242424 !important;
    border-color: #333333 !important;
    color: #e5e7eb !important;
}

body.theme-night-mode .card-title,
body.theme-night-mode .post-content h1.title,
body.theme-night-mode .widget-title,
body.theme-night-mode .widget-24h-header h3 {
    color: #f3f4f6 !important;
}

body.theme-night-mode .post-text {
    color: #d1d5db !important;
}

body.theme-night-mode .utility-live-bar-24h {
    background: #1a1a1a !important;
    border-bottom: 1px solid #2d2d2d !important;
}

body.theme-night-mode .ticker-item a,
body.theme-night-mode .live-widget-item,
body.theme-night-mode .live-widget-item strong {
    color: #cbd5e1 !important;
}

body.theme-night-mode .btn-darkmode-switch {
    background: #2a2a2a;
    border-color: #404040;
    color: #fbbf24;
}

body.theme-night-mode .ai-voice-reader-box {
    background: #232a1f !important;
    border-color: #384d2e !important;
    border-left-color: #78B43D !important;
}

body.theme-night-mode .reading-time-pill,
body.theme-night-mode .font-resizer-wrap,
body.theme-night-mode .btn-copy-link,
body.theme-night-mode .ai-speed-select {
    background: #2c2c2c !important;
    border-color: #444444 !important;
    color: #e5e7eb !important;
}

body.theme-night-mode .btn-resizer {
    color: #e5e7eb !important;
}

body.theme-night-mode .header-search-24h input {
    background: #2a2a2a !important;
    border-color: #444444 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   FOCUS READING MODE (Chế độ đọc tập trung, ẩn thanh bên và quảng cáo)
   ========================================================================== */
body.focus-reading-mode #header,
body.focus-reading-mode .mobile-nav-container,
body.focus-reading-mode .utility-live-bar-24h,
body.focus-reading-mode .page-breadcrumb,
body.focus-reading-mode .col-sm-4.col-xs-12,
body.focus-reading-mode .post-share,
body.focus-reading-mode .reactions,
body.focus-reading-mode .comments,
body.focus-reading-mode .post-next-prev,
body.focus-reading-mode .bn-bottom-post,
body.focus-reading-mode .bn-header,
body.focus-reading-mode .bn-p-t-20,
body.focus-reading-mode #footer,
body.focus-reading-mode .f-widget-about,
body.focus-reading-mode .related-posts {
    display: none !important;
}

body.focus-reading-mode #wrapper {
    padding-top: 30px !important;
}

body.focus-reading-mode #content {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    float: none !important;
}

body.focus-reading-mode .post-content {
    background: #ffffff !important;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06) !important;
    border-radius: 12px !important;
    padding: 35px 40px !important;
}

body.focus-reading-mode .post-text {
    font-size: 18px !important;
    line-height: 1.85 !important;
}

body.theme-night-mode.focus-reading-mode .post-content {
    background: #1c1c1c !important;
    box-shadow: 0 10px 35px rgba(0,0,0,0.4) !important;
}

/* AI Flash News 60s Podcast Button */
.ticker-btn-podcast {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eef7e8;
    color: #588728;
    border: 1px solid #78B43D;
    border-radius: 14px;
    padding: 2px 10px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.5;
}
.ticker-btn-podcast:hover {
    background: #78B43D;
    color: #fff;
    border-color: #78B43D;
}
.ticker-btn-podcast.active {
    background: #e11d48 !important;
    border-color: #be123c !important;
    color: #fff !important;
    animation: podcastPulse 1.4s infinite;
}
@keyframes podcastPulse {
    0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}
body.theme-night-mode .ticker-btn-podcast {
    background: #1a2e12;
    color: #8ce147;
    border-color: #558728;
}



/* ==========================================================================
   LIVE MATCH CENTER 24H (BẢNG TỶ SỐ & LỊCH THI ĐẤU TRỰC TIẾP)
   ========================================================================== */
.m24h-match-center-wrap {
    margin-bottom: 24px;
}

.m24h-match-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}

.m24h-match-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.m24h-match-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.m24h-live-pulse-icon {
    width: 9px;
    height: 9px;
    background: #e11d48;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6);
    animation: livePulseAnim 1.4s infinite;
}

@keyframes livePulseAnim {
    0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(225, 29, 72, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.m24h-match-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.m24h-match-tabs::-webkit-scrollbar { display: none; }

.m24h-tab-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.m24h-tab-btn:hover {
    background: #f1f5f9;
    color: var(--color-24h-green);
    border-color: var(--color-24h-green);
}

.m24h-tab-btn.active {
    background: var(--color-24h-green) !important;
    color: #ffffff !important;
    border-color: var(--color-24h-green) !important;
}

.m24h-match-cards-container {
    padding: 14px 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    overflow-x: auto;
}

.m24h-match-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.m24h-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.m24h-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 8px;
}

.m24h-league-tag {
    color: #64748b;
    font-weight: 600;
}

.m24h-match-status {
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 700;
}

.status-live {
    background: #ffe4e6;
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.m24h-dot-pulse {
    width: 5px;
    height: 5px;
    background: #e11d48;
    border-radius: 50%;
}

.status-ft {
    background: #f1f5f9;
    color: #475569;
}

.status-upcoming {
    background: #e0f2fe;
    color: #0284c7;
}

.m24h-match-body {
    display: block;
    text-decoration: none !important;
    margin-bottom: 8px;
}

.m24h-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 0;
}

.m24h-team-info {
    display: flex;
    align-items: center;
    gap: 7px;
}

.m24h-team-crest {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
    color: #ffffff;
    flex-shrink: 0;
}

.crest-mancity { background: #6cabdd; }
.crest-liverpool { background: #c8102e; }
.crest-arsenal { background: #db0007; }
.crest-chelsea { background: #034694; }
.crest-real { background: #ee8700; color: #fff; }
.crest-bayern { background: #dc052d; }
.crest-hanoi { background: #800080; }
.crest-cahn { background: #be123c; }
.crest-tot { background: #132257; }
.crest-villa { background: #95bfe5; color: #670e36; }
.crest-namdinh { background: #eab308; color: #1e293b; }
.crest-hagl { background: #16a34a; }

.m24h-team-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.m24h-team-score {
    font-size: 15px;
    font-weight: 800;
    color: #334155;
}

.score-highlight {
    color: #e11d48;
}

.m24h-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 6px;
    font-size: 11.5px;
    text-align: center;
}

.m24h-btn-report {
    color: #e11d48 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.m24h-report-link {
    color: var(--color-24h-green);
    font-weight: 600;
}

@media (max-width: 768px) {
    .m24h-match-cards-container {
        display: flex;
        overflow-x: auto;
        padding: 10px 12px;
        gap: 10px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .m24h-match-cards-container::-webkit-scrollbar { display: none; }
    .m24h-match-card {
        min-width: 200px;
        flex-shrink: 0;
    }
    .m24h-match-header {
        padding: 8px 12px;
    }
}

/* ==========================================================================
   GOLD RATES & CURRENCY MODAL 24H
   ========================================================================== */
.m24h-gold-modal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.m24h-gold-modal-header {
    background: linear-gradient(135deg, #f7fbf3 0%, #edf5e8 100%);
    border-bottom: 1px solid #d9e6d2;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.m24h-gold-header-title {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.m24h-gold-badge {
    background: #e11d48;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    display: inline-block;
    width: fit-content;
}

.m24h-gold-modal-header .modal-title {
    font-size: 17px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.m24h-modal-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
}

.m24h-gold-modal-body {
    padding: 16px 18px;
}

.m24h-gold-tabs {
    margin-bottom: 14px;
}

.m24h-gold-tabs > li > a {
    border-radius: 20px !important;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
}

.m24h-gold-tabs > li.active > a,
.m24h-gold-tabs > li.active > a:hover {
    background: var(--color-24h-green) !important;
    color: #ffffff !important;
}

.m24h-gold-update-time {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.m24h-gold-table {
    margin-bottom: 12px;
    font-size: 13px;
}

.m24h-gold-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
    border-top: none !important;
}

.m24h-gold-table td {
    vertical-align: middle !important;
    padding: 9px 8px !important;
}

.highlight-gold-row {
    background: #fefce8;
}

.m24h-sub-brand {
    display: block;
    font-size: 11px;
    color: #888888;
    font-weight: 400;
}

.world-gold-row {
    background: #f0fdf4;
}

.m24h-calc-box {
    background: #f8faf7;
    border: 1px dashed #c7ddbf;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 10px;
}

.m24h-calc-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 6px;
    display: block;
}

.m24h-calc-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.m24h-calc-input {
    width: 70px !important;
    height: 32px !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 4px !important;
    border: 1.5px solid #78B43D !important;
}

.m24h-calc-unit, .m24h-calc-equal {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.m24h-calc-result {
    font-size: 15px;
    font-weight: 800;
    color: #e11d48;
    background: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid #fecdd3;
}

.m24h-gold-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #fafbfc;
}

.m24h-btn-ask-ai-gold {
    background: #78B43D;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    transition: background 0.2s;
}

.m24h-btn-ask-ai-gold:hover {
    background: #689F32;
    color: #ffffff;
}

/* ==========================================================================
   STICKY FLOATING MINI PODCAST BAR (BOTTOM PLAYER)
   ========================================================================== */
#m24hStickyAudioBar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--color-24h-green);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: slideUpBar 0.25s ease;
}

@keyframes slideUpBar {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.m24h-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    overflow: hidden;
    margin-right: 12px;
}

.m24h-bar-btn-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-24h-green);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s, background 0.15s;
}
.m24h-bar-btn-play:hover {
    background: var(--color-24h-green-hover);
    transform: scale(1.05);
}

.m24h-bar-info {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.m24h-bar-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m24h-bar-status {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.m24h-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.m24h-bar-close {
    background: none;
    border: none;
    padding: 4px;
    color: #64748b;
    cursor: pointer;
    border-radius: 4px;
}
.m24h-bar-close:hover {
    color: #1e293b;
    background: #f1f5f9;
}

/* Dark mode overrides */
body.theme-night-mode .m24h-gold-modal .modal-content {
    background: #1e1e1e !important;
    color: #e5e5e5 !important;
}
body.theme-night-mode .m24h-gold-modal-header {
    background: #252525 !important;
    border-color: #333 !important;
}
body.theme-night-mode .m24h-gold-modal-header .modal-title {
    color: #f3f4f6 !important;
}
body.theme-night-mode .m24h-gold-table th {
    background: #282828 !important;
    color: #cbd5e1 !important;
}
body.theme-night-mode .m24h-gold-table td {
    border-color: #333 !important;
}
body.theme-night-mode .highlight-gold-row {
    background: #2c2918 !important;
}
body.theme-night-mode .m24h-calc-box {
    background: #222 !important;
    border-color: #444 !important;
}
body.theme-night-mode .m24h-gold-modal-footer {
    background: #222 !important;
    border-color: #333 !important;
}
body.theme-night-mode .m24h-match-box,
body.theme-night-mode .m24h-match-card {
    background: #1e1e1e !important;
    border-color: #2e2e2e !important;
}
body.theme-night-mode .m24h-match-header {
    background: #252525 !important;
    border-color: #2e2e2e !important;
}
body.theme-night-mode .m24h-match-title,
body.theme-night-mode .m24h-team-name {
    color: #e5e5e5 !important;
}
body.theme-night-mode .m24h-tab-btn {
    background: #282828 !important;
    color: #cbd5e1 !important;
    border-color: #404040 !important;
}
body.theme-night-mode #m24hStickyAudioBar {
    background: rgba(28, 28, 28, 0.96) !important;
    border-top-color: var(--color-24h-green) !important;
}
body.theme-night-mode .m24h-bar-title {
    color: #f1f5f9 !important;
}
body.theme-night-mode .m24h-bar-status {
    color: #94a3b8 !important;
}

/* ========================================================
   ENABLE DRAWER NAVIGATION (#navMobile) ON PC DESKTOP & MOBILE
   ======================================================== */
#navMobile.nav-mobile {
    width: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    box-shadow: 4px 0 25px rgba(0,0,0,0.25) !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    visibility: hidden !important;
}

#navMobile.nav-mobile.nav-mobile-open {
    display: flex !important;
    visibility: visible !important;
    width: 340px !important;
    max-width: 90vw !important;
}

#overlay_bg.overlay-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 999998 !important;
    display: none;
}

#overlay_bg.overlay-bg[style*="display: block"],
#overlay_bg.overlay-bg.overlay-open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (min-width: 992px) {
    #navMobile.nav-mobile {
        display: flex !important;
    }
    #navMobile.nav-mobile.nav-mobile-open {
        display: flex !important;
        visibility: visible !important;
        width: 340px !important;
    }
    #overlay_bg.overlay-bg.overlay-open,
    #overlay_bg.overlay-bg[style*="display: block"] {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Nav icon menu button on desktop */
.nav-icon-menu a.btn-open-mobile-nav {
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 12px !important;
    background: rgba(0, 0, 0, 0.08) !important;
    transition: background 0.2s ease !important;
}

.nav-icon-menu a.btn-open-mobile-nav:hover {
    background: rgba(0, 0, 0, 0.2) !important;
}

/* Night Mode Drawer Styling */
body.theme-night-mode .m24h-drawer-admin-box a {
    border-color: #384252 !important;
}
