

.page-active {
    background-color: var(--tw-color-brand) !important;
}

.subnav-mobile {
    display: none;
}

.subnav-desktop {
    display: flex;
}

@media (max-width: 1023px) {
    .subnav-mobile {
        display: block;
    }

    .subnav-desktop {
        display: none;
    }
}

.subnav-dropdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.subnav-dropdown.is-open {
    max-height: 400px;
    opacity: 1;
}

.subnav-trigger .arrow {
    transition: transform 0.3s ease;
    transform: translateY(-50%);
    top: 50%;
}

.subnav-trigger[aria-expanded="true"] .arrow {
    transform: translateY(-50%) rotate(180deg);
}