/* NOTE: mobile menu overlay styles have been centralized to
   `public/frontend/css/mobile-menu-overlay.css` to avoid duplicates/conflicts. */

/* --- 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;
    }
}