/* --- MOBILE MENU OVERLAY: Ikuti custom-home.css agar konsisten --- */
@media (max-width: 991.98px) {
    #mobileMenuOverlay ul {
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
        max-width: 400px;
        transform: translateY(20px);
        transition: transform 0.3s;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    #mobileMenuOverlay.active ul {
        transform: translateY(0);
    }

    #mobileMenuOverlay ul li {
        position: relative;
    }

    #mobileMenuOverlay ul li a,
    #mobileMenuOverlay .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        font-size: 1.08rem;
        font-weight: bold;
        color: #222;
        background: #ffe082;
        border-radius: 10px;
        text-align: center;
        border: 2px solid #222;
        padding: 13px 0;
        margin-bottom: 10px;
        transition: background 0.2s, color 0.2s, transform 0.2s, border 0.2s;
        text-decoration: none;
        gap: 6px;
    }

    #mobileMenuOverlay ul li a.active,
    #mobileMenuOverlay ul li a:hover,
    #mobileMenuOverlay .mobile-menu-toggle[aria-expanded='true'] {
        background: linear-gradient(90deg, #c9a100 0%, #c9a100 100%);
        color: #000;
        border: 2px solid #222;
        transform: scale(1.04);
    }

    #mobileMenuOverlay .close-btn {
        left: 12px !important;
        right: auto !important;
        top: 12px !important;
        margin: 0 !important;
        background: none;
        color: #fff;
    }
}

@media (max-width: 600px) {
    #mobileMenuOverlay ul {
        max-width: 100vw;
    }

    #mobileMenuOverlay ul li a,
    #mobileMenuOverlay .mobile-menu-toggle {
        font-size: 1.02rem;
        padding: 10px 0;
    }

    #mobileMenuOverlay .close-btn {
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        right: auto !important;
        font-size: 1.5rem !important;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 400px) {

    #mobileMenuOverlay ul li a,
    #mobileMenuOverlay .mobile-menu-toggle {
        font-size: 0.95rem;
        padding: 8px 0;
    }
}

.submenu-arrow {
    margin-left: 4px;
    font-size: 1em;
    transition: transform 0.2s;
    width: 1.2em;
    min-width: 1.2em;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}

@import url("mobile-menu-overlay.css");
/* Mobile menu overlay styles moved to `mobile-menu-overlay.css` — keep single source-of-truth. */

/* --- Back to Top Button Yellow Color Update --- */
.rts__back__top {
    background: linear-gradient(90deg, #c9a100 0%, #c9a100 100%) !important;
    box-shadow: 0 2px 12px #c9a10033 !important;
}

/* --- Footer Responsive --- */
@media (max-width: 991px) {
    .footer__widget__wrapper {
        flex-wrap: wrap;
        gap: 32px;
    }

    .rts__widget {
        min-width: 220px;
        flex: 1 1 45%;
        margin-bottom: 24px;
    }
}

@media (max-width: 600px) {
    .footer__widget__wrapper {
        flex-direction: column !important;
        gap: 18px !important;
    }

    .rts__widget {
        min-width: unset;
        width: 100%;
        margin-bottom: 14px;
    }

    .footer__logo {
        max-width: 160px;
        height: auto;
    }

    .copyright__wrapper {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center;
    }
}

/* --- General Responsive Utility --- */
@media (max-width: 600px) {

    .container,
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.banner__slider__image::before {
    background-color: transparent !important;
    /* Pakai !important agar pasti override */
}

/* Hamburger menu button always at the right on mobile */
@media (max-width: 991.98px) {
    #mobileMenuBtn {
        position: fixed !important;
        top: 24px !important;
        right: 24px !important;
        left: auto !important;
        z-index: 100100 !important;
        margin: 0 !important;
        background: #ffd000;
        border-radius: 12px;
        box-shadow: 0 2px 12px 0 #ffd70044;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border: none;
    }
}

@media (max-width: 600px) {
    #mobileMenuBtn {
        top: 12px !important;
        right: 12px !important;
        padding: 8px !important;
    }
}

/* Close button and overlay handled by mobile-menu-overlay.css */

/* Prevent dropdown menu labels from wrapping on desktop */
@media (min-width: 768px) {
    .navigation__menu .dropdown-menu {
        min-width: 240px !important;
        max-width: 420px;
    }

    .navigation__menu .dropdown>a {
        white-space: nowrap;
    }

    .navigation__menu .dropdown-menu a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        max-width: 95%;
    }

    .navigation__menu .menu-meeting-event {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}