/**
 * Homepage Modern Styles (Extracted from page-home-modern.php for Browser Caching & Smaller HTML)
 * File: assets/css/home-modern.css
 */

    /* ==========================================================================
       0. ROOT & BASE RESET - BULLETPROOF HIGH SPECIFICITY
       Khắc phục triệt để lỗi text màu trắng bị thừa hưởng từ Flatsome Dark Mode
       ========================================================================== */
    #content.modern-homepage-root,
    .modern-homepage-root {
        background-color: #ffffff !important;
        color: #1e293b !important;
        font-family: var(--indo-font-body, 'IBM Plex Sans', sans-serif) !important;
        overflow-x: clip;
    }

    /* Tối ưu cuộn mượt 120Hz (macOS/Windows/Mobile): cách ly paint cho các section dưới fold */
    .home-hero-slider-wrap {
        contain: layout paint;
    }

    .home-tours-section,
    .home-fleet-section,
    .home-cta-banner-section,
    .home-blog-section,
    .home-gallery-section {
        content-visibility: auto;
        contain-intrinsic-size: auto 650px;
    }




    .modern-homepage-root .text-brand-red {
        color: #b20000 !important;
    }

    .modern-homepage-root .text-gold {
        color: #f59e0b !important;
    }

    /* ==========================================================================
       1. HERO SLIDER STYLES & YOUTUBE AUTOPLAY
       ========================================================================== */
    .home-hero-slider-wrap {
        position: relative;
        background: #0b0c0e;
        margin-bottom: 0;
        overflow: hidden;
    }

    .home-hero-slider-wrap .banner {
        overflow: hidden;
    }

    /* Đảm bảo iframe YouTube phủ kín 100% chiều ngang & chiều cao banner (không trống 2 bên) */
    .home-hero-slider-wrap .hero-banner-youtube .banner-bg {
        overflow: hidden !important;
    }

    .home-hero-slider-wrap .ux-youtube {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: max(100vw, 177.78vh) !important;
        height: max(56.25vw, 100%) !important;
        min-width: 100% !important;
        min-height: 100% !important;
        transform: translate(-50%, -50%) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    .home-hero-slider-wrap .ux-youtube iframe {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        pointer-events: none !important;
        border: none !important;
    }

    /* Tắt hoàn toàn 100% overlay trên slide có YouTube video để hiển thị video sáng, rõ nét nguyên bản */
    .home-hero-slider-wrap .hero-banner-youtube .video-overlay,
    .home-hero-slider-wrap .hero-banner-youtube .overlay,
    .home-hero-slider-wrap .banner:has(.ux-youtube) .video-overlay,
    .home-hero-slider-wrap .banner:has(.ux-youtube) .overlay,
    .home-hero-slider-wrap .banner:has(.video-bg) .video-overlay,
    .home-hero-slider-wrap .banner:has(.video-bg) .overlay {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        background: transparent !important;
    }

    /* Giữ overlay dịu nhẹ cho các slide ảnh tĩnh để đảm bảo tương phản chữ */
    .home-hero-slider-wrap .banner:not(.hero-banner-youtube):not(:has(.ux-youtube)):not(:has(.video-bg)) .overlay {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.32) 100%) !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

    .home-hero-slider-wrap .banner-layers {
        position: relative !important;
        z-index: 3 !important;
    }

    /* ==========================================================================
       TỐI ƯU HERO SLIDER TRÊN MOBILE (KHÔNG VIỀN ĐEN TRÊN DƯỚI, ẨN TOÀN BỘ TEXT)
       ========================================================================== */
    @media (max-width: 849px) {

        /* 1. XÓA BỎ VIỀN ĐEN TRÊN DƯỚI: Khóa chiều cao slide video đúng tỷ lệ 16:9 (56.25vw) */
        .home-hero-slider-wrap .hero-banner-youtube,
        .home-hero-slider-wrap .banner:has(.ux-youtube),
        .home-hero-slider-wrap .banner:has(.video-bg) {
            height: 56.25vw !important;
            min-height: 56.25vw !important;
            max-height: 56.25vw !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
            overflow: hidden !important;
        }

        .home-hero-slider-wrap .hero-banner-youtube .banner-inner,
        .home-hero-slider-wrap .banner:has(.ux-youtube) .banner-inner,
        .home-hero-slider-wrap .hero-banner-youtube .banner-bg,
        .home-hero-slider-wrap .banner:has(.ux-youtube) .banner-bg {
            height: 100% !important;
            min-height: 100% !important;
            max-height: 100% !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
        }

        /* 2. VIDEO PHỦ KÍN 100% MÀN HÌNH: Tràn viền, chống méo hình & triệt tiêu viền đen */
        .home-hero-slider-wrap .hero-banner-youtube .ux-youtube,
        .home-hero-slider-wrap .banner:has(.ux-youtube) .ux-youtube {
            position: absolute !important;
            top: 50% !important;
            left: 50% !important;
            transform: translate(-50%, -50%) scale(1.03) !important;
            width: 100% !important;
            height: 100% !important;
            min-width: 100% !important;
            min-height: 100% !important;
            aspect-ratio: 16 / 9 !important;
            pointer-events: none !important;
            z-index: 1 !important;
        }

        .home-hero-slider-wrap .hero-banner-youtube .ux-youtube iframe,
        .home-hero-slider-wrap .banner:has(.ux-youtube) .ux-youtube iframe {
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            border: 0 !important;
            pointer-events: none !important;
        }

        /* 3. ẨN TOÀN BỘ TEXT, CAPSULE TAG & BUTTONS TRÊN SLIDE VIDEO Ở MOBILE */
        .home-hero-slider-wrap .hero-banner-youtube .banner-layers,
        .home-hero-slider-wrap .hero-banner-youtube .text-box,
        .home-hero-slider-wrap .banner:has(.ux-youtube) .banner-layers,
        .home-hero-slider-wrap .banner:has(.ux-youtube) .text-box {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        /* Tự động co giãn Flickity viewport khi hiển thị slide video */
        .home-hero-slider-wrap:has(.is-selected.hero-banner-youtube) .flickity-viewport {
            height: 56.25vw !important;
        }

        /* Giữ min-height 480px cho slide ảnh tĩnh (slide 2) để hiển thị đầy đủ nội dung */
        .home-hero-slider-wrap .banner:not(.hero-banner-youtube):not(:has(.ux-youtube)):not(:has(.video-bg)) {
            min-height: 480px !important;
        }

        /* Typography cho slide ảnh tĩnh */
        .home-hero-slider-wrap .banner:not(.hero-banner-youtube) .hero-title-main {
            font-size: 28px !important;
            line-height: 1.2 !important;
            margin-bottom: 12px !important;
        }

        .home-hero-slider-wrap .banner:not(.hero-banner-youtube) .hero-desc-lead {
            font-size: 13.5px !important;
            line-height: 1.5 !important;
            margin-bottom: 18px !important;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .home-hero-slider-wrap .banner:not(.hero-banner-youtube) .hero-btn-row {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
        }

        .home-hero-slider-wrap .banner:not(.hero-banner-youtube) .hero-btn-row .button {
            width: 100% !important;
            max-width: 270px !important;
            margin: 0 !important;
        }

        /* Căn chỉnh dots điều hướng sát mép đáy video */
        .home-hero-slider-wrap .flickity-page-dots {
            bottom: 8px !important;
            z-index: 10 !important;
        }
    }

    .hero-capsule-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(15, 23, 42, 0.75);
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: 6px 18px;
        border-radius: 9999px;
        color: #f8fafc !important;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        margin-bottom: 16px;
        backdrop-filter: blur(8px);
    }

    .hero-title-main {
        color: #ffffff !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
        margin-bottom: 16px !important;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
    }

    .hero-title-accent {
        color: #ff6b6b !important;
    }

    .hero-desc-lead {
        color: #e2e8f0 !important;
        font-size: clamp(15px, 1.8vw, 18px) !important;
        line-height: 1.6 !important;
        max-width: 620px !important;
        margin: 0 auto 24px auto !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    }

    .hero-btn-row {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* ==========================================================================
       2. SECTION HEADERS & BADGES
       ========================================================================== */
    .home-section-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #fef2f2 !important;
        border: 1px solid #fee2e2 !important;
        color: #b20000 !important;
        font-size: 11.5px !important;
        font-weight: 800 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        padding: 5px 14px !important;
        border-radius: 9999px !important;
        margin-bottom: 12px !important;
    }

    #content.modern-homepage-root .home-heading-title {
        color: #0f172a !important;
        font-size: clamp(24px, 3.5vw, 45px) !important;
        line-height: 1.25 !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
        margin-bottom: 14px !important;
    }

    #content.modern-homepage-root .section-subtitle {
        color: #475569 !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
        max-width: 680px !important;
        margin: 0 auto 30px auto !important;
        font-weight: 500 !important;
    }

    #content.modern-homepage-root .section-subtitle-rich,
    #content.modern-homepage-root .section-subtitle.section-subtitle-rich {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto 36px auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #content.modern-homepage-root .section-subtitle-rich p {
        color: #475569 !important;
        font-size: 16px !important;
        line-height: 1.75 !important;
        margin-bottom: 16px !important;
        font-weight: 450 !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #content.modern-homepage-root .section-subtitle-rich p:last-child {
        margin-bottom: 0 !important;
    }

    @media (max-width: 849px) {

        #content.modern-homepage-root .section-subtitle-rich,
        #content.modern-homepage-root .section-subtitle.section-subtitle-rich {
            margin: 0 auto 28px auto !important;
            padding: 0 4px !important;
        }

        #content.modern-homepage-root .section-subtitle-rich p {
            font-size: 14.5px !important;
            line-height: 1.65 !important;
            text-align: left !important;
            margin-bottom: 14px !important;
        }
    }

    .section-header-centered {
        margin-bottom: 40px;
    }

    /* ==========================================================================
       3. BRAND STORY, STATS & EXPANDABLE READ MORE
       ========================================================================== */
    .home-brand-story-section {
        padding: 50px 15px 30px 15px;
    }

    .brand-story-description-card {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-left: 4px solid #b20000 !important;
        border-radius: 12px !important;
        padding: 22px 24px 18px 24px !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
        position: relative !important;
        margin-bottom: 24px !important;
    }

    .brand-story-inner {
        position: relative;
        transition: max-height 0.4s ease;
    }

    .brand-story-inner.is-clamped {
        max-height: 165px;
        overflow: hidden;
    }

    .brand-story-inner.is-clamped::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
        pointer-events: none;
    }

    #content.modern-homepage-root .brand-story-text {
        color: #334155 !important;
        font-size: 16px !important;
        line-height: 1.75 !important;
        margin-bottom: 12px !important;
        text-align: left !important;
    }

    #content.modern-homepage-root .brand-story-text:last-child {
        margin-bottom: 0 !important;
    }

    #content.modern-homepage-root .brand-story-link {
        color: #b20000 !important;
        font-weight: 700 !important;
        text-decoration: underline !important;
        transition: color 0.2s ease !important;
    }

    #content.modern-homepage-root .brand-story-link:hover {
        color: #dc2626 !important;
        text-decoration: none !important;
    }

    .home-story-expand-bar {
        text-align: center;
        padding-top: 10px;
        margin-top: 6px;
    }

    .home-story-toggle-btn {
        background: #f8fafc !important;
        border: 1.5px solid #cbd5e1 !important;
        color: #0f172a !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        padding: 8px 22px !important;
        border-radius: 9999px !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        transition: all 0.2s ease !important;
        outline: none !important;
    }

    .home-story-toggle-btn:hover {
        background: #b20000 !important;
        border-color: #b20000 !important;
        color: #ffffff !important;
    }

    .home-stats-grid {
        margin-top: 20px !important;
    }

    .stat-card {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 16px 10px !important;
        text-align: center !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    }

    .stat-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
        border-color: #cbd5e1 !important;
    }

    .stat-card .stat-number {
        color: #b20000 !important;
        font-size: 26px !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
    }

    .stat-card .stat-label {
        color: #475569 !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: 0.6px !important;
        text-transform: uppercase !important;
        margin-top: 6px !important;
    }

    .home-video-facade-box {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 */
        height: 0;
        overflow: hidden;
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
        border: 1px solid #e2e8f0;
        background: #0f172a;
    }

    .home-video-facade-box iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    /* ==========================================================================
       4. BENEFITS (4 PILLARS) - RESILIENT FONTAWESOME ICONS
       ========================================================================== */
    .home-benefits-section {
        background: #f8fafc;
        padding: 50px 15px;
        border-top: 1px solid #f1f5f9;
        border-bottom: 1px solid #f1f5f9;
    }

    .benefit-card {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        padding: 32px 20px 26px 20px !important;
        text-align: center !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
        transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .benefit-card:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08) !important;
        border-color: #cbd5e1 !important;
    }

    #content.modern-homepage-root .benefit-icon-wrapper {
        width: 68px !important;
        height: 68px !important;
        border-radius: 50% !important;
        background: #fef2f2 !important;
        border: 1px solid #fee2e2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto 18px auto !important;
        transition: all 0.3s ease !important;
    }

    #content.modern-homepage-root .benefit-icon-wrapper i {
        color: #b20000 !important;
        font-size: 26px !important;
        transition: transform 0.3s ease !important;
    }

    #content.modern-homepage-root .benefit-card:hover .benefit-icon-wrapper {
        background: #b20000 !important;
        border-color: #b20000 !important;
        transform: scale(1.08) !important;
    }

    #content.modern-homepage-root .benefit-card:hover .benefit-icon-wrapper i {
        color: #ffffff !important;
        transform: scale(1.1) !important;
    }

    #content.modern-homepage-root .benefit-title {
        font-family: var(--indo-font-display, 'Archivo', sans-serif) !important;
        font-size: clamp(18px, 1.3vw, 20px) !important;
        color: #111827 !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        letter-spacing: 0.01em !important;
        text-transform: uppercase !important;
        margin: 0 0 10px 0 !important;
    }

    #content.modern-homepage-root .benefit-desc {
        font-family: var(--indo-font-body, 'IBM Plex Sans', sans-serif) !important;
        color: #4b5563 !important;
        font-size: 14.5px !important;
        line-height: 1.65 !important;
        margin: 0 !important;
    }

    /* ==========================================================================
       5. BEST SELLING TOURS GRID & CARDS
       Đồng bộ 100% chính xác với taxonomy-tour_category.php & style.css
       ========================================================================== */
    .home-tours-section {
        padding: 50px 15px;
    }

    #content.modern-homepage-root .tours-hot-deals-wrap.row.align-equal {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    #content.modern-homepage-root .tours-hot-deals-wrap>.col {
        margin-bottom: 28px !important;
        display: flex !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
        transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1) !important;
        border-color: #cbd5e1 !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-image.box-image {
        position: relative !important;
        width: 100% !important;
        overflow: hidden !important;
        background: #0f172a !important;
    }

    #content.modern-homepage-root .image-cover {
        position: relative !important;
        overflow: hidden !important;
        padding-top: 65% !important;
    }

    #content.modern-homepage-root .image-cover img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item:hover .image-cover img {
        transform: scale(1.08) !important;
    }

    /* Price Badge */
    #content.modern-homepage-root .tours-hot-deals-item-price {
        top: 14px !important;
        right: 14px !important;
        position: absolute !important;
        z-index: 2 !important;
        padding: 5px 12px !important;
        font-weight: 600 !important;
        font-size: 12px !important;
        color: #ffffff !important;
        border-radius: 6px !important;
        background: linear-gradient(135deg, #990000 0%, #b20000 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 4px 12px rgba(178, 0, 0, 0.35) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        line-height: 1.2 !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-price span {
        color: #ffffff !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-price del {
        color: #ffffff !important;
        opacity: 0.94 !important;
        font-size: 11.5px !important;
        margin-right: 3px !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-price strong,
    #content.modern-homepage-root .tours-hot-deals-item-price .price_text {
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        letter-spacing: -0.2px !important;
    }

    /* Featured Badge (Synchronized with live system) */
    #content.modern-homepage-root .tours-hot-deals-item-feature {
        top: 14px !important;
        left: 14px !important;
        position: absolute !important;
        z-index: 2 !important;
        padding: 5px 11px !important;
        font-weight: 800 !important;
        font-size: 11.5px !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
        color: #ffffff !important;
        border-radius: 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        line-height: 1 !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-feature i {
        color: #ffffff !important;
        font-size: 10px !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-content {
        padding: 18px 20px 18px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
        background: #ffffff !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-title {
        line-height: 1.35 !important;
        letter-spacing: 0.2px !important;
        text-transform: uppercase !important;
        margin: 0 0 10px 0 !important;
        min-height: 52px !important;
        height: 52px !important;
        max-height: 52px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-title a {
        color: #0f172a !important;
        text-decoration: none !important;
        transition: color 0.2s ease !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-title a:hover,
    #content.modern-homepage-root .tours-hot-deals-item:hover .tours-hot-deals-item-title a {
        color: #b20000 !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-location {
        color: #475569 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        background: #f8fafc !important;
        border: 1px solid #f1f5f9 !important;
        border-radius: 6px !important;
        padding: 0 10px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        box-sizing: border-box !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-location i {
        color: #b20000 !important;
        font-size: 13px !important;
        flex-shrink: 0 !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-location span {
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    #content.modern-homepage-root .tours-hot-deals-item-excerpt {
        color: #64748b !important;
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 12px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    #content.modern-homepage-root .tours-item-meta-bar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-top: 1px dashed #e2e8f0 !important;
        padding-top: 10px !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
        height: 34px !important;
        box-sizing: border-box !important;
    }

    #content.modern-homepage-root .tours-meta-duration {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #334155 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    #content.modern-homepage-root .tours-meta-duration i {
        color: #b20000 !important;
        font-size: 14px !important;
    }

    #content.modern-homepage-root .tours-meta-duration strong {
        color: #0f172a !important;
        font-weight: 800 !important;
    }

    /* Group Departure Info */
    #content.modern-homepage-root .tours-item-group-departure-info {
        margin-top: 10px !important;
        padding: 7px 11px !important;
        background: #fef2f2 !important;
        border: 1px solid #fee2e2 !important;
        border-left: 3.5px solid #b20000 !important;
        border-radius: 6px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
    }

    #content.modern-homepage-root .tours-item-group-departure-info i {
        color: #b20000 !important;
        font-size: 13.5px !important;
        flex-shrink: 0 !important;
    }

    #content.modern-homepage-root .tours-item-group-departure-info strong {
        color: #b20000 !important;
        font-weight: 700 !important;
    }

    #content.modern-homepage-root .tours-item-group-departure-info span {
        color: #1e293b !important;
    }

    #content.modern-homepage-root .tours-item-footer {
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid #f1f5f9 !important;
        width: 100% !important;
    }

    /* CTA Explore Tour Button (Synchronized: White button with red text on default, Red on Hover) */
    #content.modern-homepage-root .tours-item-cta-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        height: 38px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        border-radius: 7px !important;
        text-decoration: none !important;
        transition: all 0.25s ease !important;
        box-sizing: border-box !important;
    }

    #content.modern-homepage-root .tours-item-cta-btn span {
        color: #b20000 !important;
        transition: color 0.25s ease !important;
    }

    #content.modern-homepage-root .tours-item-cta-btn i {
        color: #b20000 !important;
        font-size: 12px !important;
        transition: transform 0.2s ease, color 0.2s ease !important;
    }

    #content.modern-homepage-root .tours-item-cta-btn:hover,
    #content.modern-homepage-root .tours-hot-deals-item:hover .tours-item-cta-btn {
        background: #b20000 !important;
        border-color: #b20000 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(178, 0, 0, 0.28) !important;
    }

    #content.modern-homepage-root .tours-item-cta-btn:hover span,
    #content.modern-homepage-root .tours-hot-deals-item:hover .tours-item-cta-btn span {
        color: #ffffff !important;
    }

    #content.modern-homepage-root .tours-item-cta-btn:hover i,
    #content.modern-homepage-root .tours-hot-deals-item:hover .tours-item-cta-btn i {
        transform: translateX(4px) !important;
        color: #ffffff !important;
    }

    /* ==========================================================================
       6. PRIMARY BUTTONS
       ========================================================================== */
    .home-btn-primary {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        background: #b20000 !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        padding: 14px 28px !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        box-shadow: 0 4px 18px rgba(178, 0, 0, 0.35) !important;
        transition: all 0.25s ease !important;
    }

    .home-btn-primary span,
    .home-btn-primary i {
        color: #ffffff !important;
    }

    .home-btn-primary:hover {
        background: #8f0000 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 24px rgba(178, 0, 0, 0.45) !important;
    }

    .home-btn-outline-white {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        background: transparent !important;
        color: #ffffff !important;
        border: 2px solid #ffffff !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        padding: 12px 26px !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        transition: all 0.25s ease !important;
    }

    .home-btn-outline-white span,
    .home-btn-outline-white i {
        color: #ffffff !important;
    }

    .home-btn-outline-white:hover {
        background: #ffffff !important;
        color: #0f172a !important;
        transform: translateY(-2px) !important;
    }

    .home-btn-outline-white:hover span,
    .home-btn-outline-white:hover i {
        color: #0f172a !important;
    }

    /* ==========================================================================
       7. FLEET SHOWCASE
       ========================================================================== */
    .home-fleet-section {
        background: #f8fafc;
        padding: 50px 15px;
        border-top: 1px solid #f1f5f9;
    }

    .home-fleet-card {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 24px !important;
    }

    .home-fleet-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
    }

    .home-fleet-img-wrap {
        position: relative !important;
        width: 100% !important;
        height: 280px !important;
        background: #f1f5f9 !important;
        overflow: hidden !important;
    }

    .home-fleet-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.5s ease !important;
    }

    .home-fleet-card:hover .home-fleet-img-wrap img {
        transform: scale(1.06) !important;
    }

    .fleet-chip {
        position: absolute !important;
        top: 12px !important;
        left: 12px !important;
        background: rgba(15, 23, 42, 0.85) !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        padding: 4px 10px !important;
        border-radius: 6px !important;
        text-transform: uppercase !important;
        z-index: 2 !important;
    }

    .home-fleet-body {
        padding: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
    }

    #content.modern-homepage-root .fleet-name {
        color: #0f172a !important;
        margin-bottom: 8px !important;
        font-size: 20px;
    }

    #content.modern-homepage-root .fleet-desc {
        color: #475569 !important;
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
    }

    .fleet-specs-pills {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-top: auto !important;
        margin-bottom: 14px !important;
    }

    #content.modern-homepage-root .spec-pill {
        background: #f1f5f9 !important;
        color: #334155 !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        padding: 4px 8px !important;
        border-radius: 4px !important;
    }

    #content.modern-homepage-root .spec-pill strong {
        color: #0f172a !important;
    }

    .fleet-footer {
        border-top: 1px solid #f1f5f9 !important;
        padding-top: 12px !important;
    }

    .fleet-link-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        color: #b20000 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        transition: gap 0.2s ease !important;
    }

    .fleet-link-btn:hover {
        gap: 10px !important;
    }

    /* ==========================================================================
       8. CTA BANNER (TAILOR-MADE MOTORCYCLE EXPEDITIONS)
       Bulletproof High Specificity & Contrast Overrides
       ========================================================================== */
    #content.modern-homepage-root .home-cta-banner-section,
    .home-cta-banner-section {
        position: relative !important;
        padding: 105px 20px !important;
        background: linear-gradient(180deg, rgb(15 23 42 / 47%) 0%, rgb(15 23 42 / 48%) 100%),
            url('https://indochinamotorbiketours.com/wp-content/uploads/2023/03/Vietnam-Motorcycle-Tours-to-Ha-Giang_17457790.jpg') center center / cover no-repeat !important;
        color: #ffffff !important;
        text-align: center !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    #content.modern-homepage-root .home-cta-inner {
        max-width: 820px !important;
        margin: 0 auto !important;
        position: relative !important;
        z-index: 2 !important;
    }

    #content.modern-homepage-root .home-cta-banner-section .cta-capsule-tag {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: rgba(15, 23, 42, 0.75) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        padding: 6px 18px !important;
        border-radius: 9999px !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        margin-bottom: 18px !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    #content.modern-homepage-root .home-cta-banner-section .cta-capsule-tag i {
        color: #f59e0b !important;
    }

    #content.modern-homepage-root .home-cta-banner-section h2,
    #content.modern-homepage-root .home-cta-banner-section .cta-banner-heading {
        color: #ffffff !important;
        font-family: var(--disp, 'Archivo', sans-serif) !important;
        font-size: clamp(28px, 4.8vw, 48px) !important;
        font-weight: 900 !important;
        line-height: 1.18 !important;
        text-transform: uppercase !important;
        letter-spacing: -0.3px !important;
        margin: 0 auto 16px auto !important;
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65) !important;
    }

    #content.modern-homepage-root .home-cta-banner-section .cta-banner-heading .text-brand-red {
        color: #ff6b6b !important;
        display: inline-block !important;
        text-shadow: 0 4px 22px rgba(255, 107, 107, 0.45) !important;
    }

    #content.modern-homepage-root .home-cta-banner-section p,
    #content.modern-homepage-root .home-cta-banner-section .cta-banner-sub {
        color: #f1f5f9 !important;
        font-size: clamp(15px, 2vw, 17.5px) !important;
        line-height: 1.65 !important;
        max-width: 660px !important;
        margin: 0 auto 32px auto !important;
        font-weight: 500 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55) !important;
    }

    #content.modern-homepage-root .home-cta-banner-section .cta-banner-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        flex-wrap: wrap !important;
    }

    #content.modern-homepage-root .home-btn-cta-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        background: #b20000 !important;
        color: #ffffff !important;
        border: 2px solid #b20000 !important;
        padding: 13px 28px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        box-shadow: 0 6px 20px rgba(178, 0, 0, 0.45) !important;
        text-decoration: none !important;
        transition: all 0.25s ease !important;
    }

    #content.modern-homepage-root .home-btn-cta-primary span,
    #content.modern-homepage-root .home-btn-cta-primary i {
        color: #ffffff !important;
    }

    #content.modern-homepage-root .home-btn-cta-primary:hover {
        background: #dc2626 !important;
        border-color: #dc2626 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 26px rgba(220, 38, 38, 0.55) !important;
    }

    #content.modern-homepage-root .home-btn-cta-whatsapp {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        background: #ffffff !important;
        color: #0f172a !important;
        border: 2px solid #ffffff !important;
        padding: 13px 26px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
        text-decoration: none !important;
        transition: all 0.25s ease !important;
    }

    #content.modern-homepage-root .home-btn-cta-whatsapp i {
        color: #25D366 !important;
        font-size: 18px !important;
        transition: color 0.2s ease !important;
    }

    #content.modern-homepage-root .home-btn-cta-whatsapp span {
        color: #0f172a !important;
        font-weight: 800 !important;
        transition: color 0.2s ease !important;
    }

    #content.modern-homepage-root .home-btn-cta-whatsapp:hover {
        background: #25D366 !important;
        border-color: #25D366 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
    }

    #content.modern-homepage-root .home-btn-cta-whatsapp:hover i,
    #content.modern-homepage-root .home-btn-cta-whatsapp:hover span {
        color: #ffffff !important;
    }

    /* ==========================================================================
       9. TRAVEL GUIDES BLOG CARDS
       ========================================================================== */
    .home-blog-section {
        padding: 50px 15px;
    }

    .home-blog-card {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 24px !important;
    }

    .home-blog-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
    }

    .blog-card-thumb {
        position: relative !important;
        width: 100% !important;
        height: 280px !important;
        overflow: hidden !important;
        background: #0f172a !important;
    }

    .blog-card-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.5s ease !important;
    }

    .home-blog-card:hover .blog-card-thumb img {
        transform: scale(1.08) !important;
    }

    .blog-card-date {
        position: absolute !important;
        bottom: 12px !important;
        left: 12px !important;
        background: rgba(15, 23, 42, 0.85) !important;
        color: #ffffff !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        padding: 4px 10px !important;
        border-radius: 6px !important;
    }

    .blog-card-body {
        padding: 22px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
    }

    #content.modern-homepage-root .blog-card-title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    #content.modern-homepage-root .blog-card-title a {
        color: #0f172a !important;
        text-decoration: none !important;
        transition: color 0.2s ease !important;
    }

    #content.modern-homepage-root .blog-card-title a:hover {
        color: #b20000 !important;
    }

    #content.modern-homepage-root .blog-card-excerpt {
        color: #475569 !important;
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 16px !important;
    }

    .blog-readmore-link {
        margin-top: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        color: #b20000 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        transition: gap 0.2s ease !important;
    }

    .blog-readmore-link:hover {
        gap: 10px !important;
    }

    /* ==========================================================================
       10. GALLERY MOSAIC & INSTAGRAM FEED
       ========================================================================== */
    .home-gallery-section {
        padding: 70px 0 70px 0;
        background: #ffffff;
        border-top: 1px solid #f1f5f9;
    }

    .home-gallery-section .gallery-item img,
    .home-gallery-section .instagram-image-container img {
        border-radius: 10px;
        transition: transform 0.4s ease;
    }

    .home-gallery-section .gallery-item:hover img,
    .home-gallery-section .instagram-image-container:hover img {
        transform: scale(1.04);
    }

    .btn-insta-follow {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        color: #ffffff !important;
        font-weight: 700;
        font-size: 14px;
        padding: 11px 26px;
        border-radius: 9999px;
        text-decoration: none !important;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
    }

    .btn-insta-follow:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5);
        color: #ffffff !important;
    }

/* ==========================================================================
   YOUTUBE FACADE PLAYER (ZERO THIRD-PARTY JS ON INITIAL PAGE LOAD)
   ========================================================================== */
.home-video-facade-box .indo-yt-facade {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: #0f172a !important;
    cursor: pointer;
    overflow: hidden;
    border-radius: inherit;
}

.home-video-facade-box .indo-yt-facade img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: brightness(0.88);
}

.home-video-facade-box .indo-yt-facade:hover img {
    transform: scale(1.04);
    filter: brightness(0.96);
}

.home-video-facade-box .indo-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 50px;
    border-radius: 14px;
    background: rgba(178, 0, 0, 0.92);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-video-facade-box .indo-yt-facade:hover .indo-yt-play {
    background: #dc2626;
    transform: translate(-50%, -50%) scale(1.08);
}

.home-video-facade-box .indo-yt-facade:focus-visible {
    outline: 3px solid #b20000;
    outline-offset: 3px;
}

