@media (min-width: 769px) {
    .um-mobile-header,
    .um-mobile-drawer,
    .um-mobile-overlay,
    .um-home-section {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body.um-mobile-ready {
        background: #f3fbf6 !important;
        overflow-x: hidden !important;
    }

    body.um-mobile-ready > header:not(.um-mobile-header),
    body.um-mobile-ready .desa-header-user,
    body.um-mobile-ready .desa-navbar-final,
    body.um-mobile-ready .site-header,
    body.um-mobile-ready .main-header,
    body.um-mobile-ready .navbar,
    body.um-mobile-ready .desktop-header {
        display: none !important;
    }

    .um-mobile-header {
        position: sticky;
        top: 0;
        z-index: 9999;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 8px 26px rgba(15, 23, 42, .08);
    }

    .um-mobile-nav {
        height: 62px;
        padding: 8px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .um-mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .um-mobile-logo {
        width: 42px;
        height: 42px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .um-mobile-title {
        margin: 0;
        font-size: 17px;
        line-height: 1.05;
        font-weight: 950;
        color: #0f172a;
    }

    .um-mobile-subtitle {
        margin: 3px 0 0;
        font-size: 10.5px;
        line-height: 1;
        font-weight: 850;
        color: #047857;
    }

    .um-menu-btn {
        width: 43px;
        height: 43px;
        border: 0;
        border-radius: 999px;
        background: #059669;
        color: #ffffff;
        font-size: 24px;
        font-weight: 950;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 26px rgba(5, 150, 105, .25);
    }

    .um-mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .42);
        opacity: 0;
        visibility: hidden;
        transition: .22s ease;
        z-index: 10000;
    }

    .um-mobile-drawer {
        position: fixed;
        top: 0;
        right: -310px;
        width: 300px;
        max-width: 86vw;
        height: 100vh;
        background: #ffffff;
        z-index: 10001;
        box-shadow: -20px 0 60px rgba(15, 23, 42, .18);
        transition: .25s ease;
        padding: 18px;
        display: flex;
        flex-direction: column;
    }

    body.um-drawer-open .um-mobile-overlay {
        opacity: 1;
        visibility: visible;
    }

    body.um-drawer-open .um-mobile-drawer {
        right: 0;
    }

    body.um-drawer-open {
        overflow: hidden !important;
    }

    .um-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 16px;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 14px;
    }

    .um-drawer-head strong {
        font-size: 17px;
        font-weight: 950;
        color: #0f172a;
    }

    .um-close-btn {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 999px;
        background: #f1f5f9;
        color: #0f172a;
        font-size: 22px;
        font-weight: 900;
    }

    .um-drawer-menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .um-drawer-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 14px;
        border-radius: 16px;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        color: #0f172a;
        font-size: 14px;
        font-weight: 850;
        text-decoration: none;
    }

    .um-drawer-menu a.active {
        background: #dcfce7;
        color: #047857;
        border-color: #bbf7d0;
    }

    .um-drawer-admin {
        margin-top: auto;
        padding-top: 14px;
    }

    .um-drawer-admin a {
        display: block;
        text-align: center;
        padding: 13px 16px;
        border-radius: 999px;
        background: #059669;
        color: #ffffff;
        font-weight: 900;
        text-decoration: none;
    }

    body.um-home .hero-card,
    body.um-home .hero-slide,
    body.um-home .beranda-hero,
    body.um-home .home-hero,
    body.um-home .desa-hero,
    body.um-home .welcome-hero {
        display: none !important;
    }

    .um-home-section {
        padding: 10px 14px 14px;
        background: #f3fbf6;
    }

    .um-home-card {
        position: relative;
        height: 164px;
        border-radius: 18px;
        overflow: hidden;
        background: #064e3b;
        box-shadow: 0 16px 38px rgba(15, 23, 42, .13);
    }

    .um-home-track {
        display: flex;
        height: 100%;
        transition: transform .3s ease;
    }

    .um-home-slide {
        min-width: 100%;
        height: 100%;
    }

    .um-home-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(.48) contrast(1.05);
        display: block;
    }

    .um-home-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(2,44,34,.82), rgba(2,44,34,.42), rgba(2,44,34,.14));
        pointer-events: none;
    }

    .um-home-content {
        position: absolute;
        left: 18px;
        right: 56px;
        bottom: 28px;
        z-index: 2;
        color: #ffffff;
    }

    .um-home-title {
        margin: 0 0 8px;
        font-size: 19px;
        line-height: 1.08;
        font-weight: 950;
        letter-spacing: -.3px;
    }

    .um-home-desc {
        margin: 0;
        font-size: 10.8px;
        line-height: 1.45;
        font-weight: 700;
        max-width: 270px;
    }

    .um-home-btn {
        position: absolute;
        top: 50%;
        z-index: 3;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        border: 0;
        border-radius: 999px;
        background: rgba(255,255,255,.92);
        color: #047857;
        font-size: 16px;
        font-weight: 950;
    }

    .um-home-btn.prev {
        left: 10px;
    }

    .um-home-btn.next {
        right: 10px;
    }

    .um-home-dots {
        position: absolute;
        left: 18px;
        bottom: 12px;
        z-index: 3;
        display: flex;
        gap: 5px;
    }

    .um-home-dot {
        width: 18px;
        height: 5px;
        border: 0;
        border-radius: 999px;
        background: rgba(255,255,255,.42);
    }

    .um-home-dot.active {
        width: 26px;
        background: #ffffff;
    }
}