.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 60rem) {
    .logo {
        z-index: 35;
    }

    .mobile-toggle {
        display: block;
        z-index: 35;
    }

    .mobile-menu:has(+ .mobile-toggle[aria-expanded="false"]) {
        display: none;
    }

    .nav-cluster {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--s6) var(--s2) var(--s6);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        z-index: 15;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
    }

    cluster-l.nav-cluster {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s0);
    }

    cluster-l.nav-cluster > div[role="listitem"] {
        width: 100%;
    }

    /* Mobile dropdown styling */
    .dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        text-align: left;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-left: 2px solid #eee;
        margin-left: 0.5rem;
        margin-top: 0.5rem;
        width: calc(100% - 0.5rem);
    }

    .dropdown-menu box-l {
        padding: 0;
    }

    .dropdown-menu .nav-link {
        padding-left: var(--s0);
    }
}