/* =====================================================
   SLIDER MOBILE DESA BAJUH - MODEL CARD SEPERTI CONTOH
===================================================== */

@media (max-width: 768px) {
    .dt-mobile-slider-section,
    .dt-mobile-home-slider,
    .dt-slider-section,
    .dt-slider-track,
    .mb-home-wrap,
    .um-home-section {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #dbxHero,
    .dbx-hero,
    #heroSlider,
    .hero-slider {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .dbx-page {
        padding-top: 0 !important;
    }

    .dbj-mobile-slider-wrap {
        display: block !important;
        width: 100%;
        background: #f6f8f7;
        padding: 16px 0 15px;
        overflow: hidden;
    }

    .dbj-mobile-slider-inner {
        width: 100%;
        overflow: hidden;
    }

    .dbj-mobile-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 0 14px 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .dbj-mobile-track::-webkit-scrollbar {
        display: none;
    }

    .dbj-mobile-card {
        position: relative;
        flex: 0 0 86%;
        height: 190px;
        border-radius: 8px;
        overflow: hidden;
        background-color: #064e3b;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        scroll-snap-align: start;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .15);
        text-decoration: none;
        color: #ffffff;
    }

    .dbj-mobile-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background:
            linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.32) 38%, rgba(0,0,0,.72) 100%);
        pointer-events: none;
    }

    .dbj-mobile-content {
        position: absolute;
        left: 20px;
        right: 18px;
        bottom: 24px;
        z-index: 2;
        color: #ffffff;
    }

    .dbj-mobile-badge {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        margin-bottom: 8px;
        padding: 5px 11px;
        border-radius: 999px;
        background: rgba(255,255,255,.22);
        border: 1px solid rgba(255,255,255,.28);
        color: #ffffff;
        font-size: 10px;
        line-height: 1;
        font-weight: 900;
        text-transform: capitalize;
        backdrop-filter: blur(8px);
    }

    .dbj-mobile-title {
        margin: 0;
        color: #ffffff;
        font-size: 20px;
        line-height: 1.12;
        font-weight: 950;
        letter-spacing: -.045em;
        text-shadow: 0 4px 14px rgba(0,0,0,.36);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dbj-mobile-desc {
        margin: 8px 0 0;
        color: rgba(255,255,255,.96);
        font-size: 13px;
        line-height: 1.42;
        font-weight: 750;
        text-shadow: 0 3px 10px rgba(0,0,0,.35);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dbj-mobile-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 12px;
    }

    .dbj-mobile-dot {
        width: 8px;
        height: 8px;
        border: 0;
        border-radius: 999px;
        background: #cbd5e1;
        padding: 0;
        transition: .2s ease;
    }

    .dbj-mobile-dot.is-active {
        width: 28px;
        background: #059669;
    }

    @media (max-width: 390px) {
        .dbj-mobile-card {
            flex-basis: 88%;
            height: 182px;
        }

        .dbj-mobile-content {
            left: 17px;
            right: 16px;
            bottom: 20px;
        }

        .dbj-mobile-title {
            font-size: 18px;
        }

        .dbj-mobile-desc {
            font-size: 12.5px;
        }
    }
}

@media (min-width: 769px) {
    .dbj-mobile-slider-wrap {
        display: none !important;
    }
}