/* Accessible submenu buttons inserted by the modular runtime. */
.clubalfa-submenu-toggle {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.clubalfa-submenu-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Footer columns collapse only below the parent theme's 768px breakpoint. */
.cs-footer-columns__nav > li > .clubalfa-submenu-toggle {
    align-items: center;
    flex: 0 0 24px;
    height: 24px;
    justify-content: center;
    margin-left: auto;
    min-height: 0;
    min-width: 0;
    width: 24px;
}

.cs-footer-columns__nav > li > .clubalfa-submenu-toggle::after {
    content: "\e90c";
    font-family: "cs-icons";
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.cs-footer-columns__nav > li.menu-item-expanded > .clubalfa-submenu-toggle::after {
    transform: rotate(180deg);
}

@media (max-width: 767.98px) {
    .cs-footer-columns__nav > li > .clubalfa-submenu-toggle {
        display: inline-flex;
    }
}

@media (min-width: 768px) {
    .cs-footer-columns__nav > li > .clubalfa-submenu-toggle {
        display: none;
    }
}

/* Navigation widgets use the same button instead of the parent's legacy span. */
.widget_nav_menu .menu-item-has-children > .clubalfa-submenu-toggle {
    align-items: center;
    display: flex;
    height: 20px;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    position: absolute;
    right: 0;
    top: 0.5rem;
    width: 20px;
}

.widget_nav_menu .menu-item-has-children > .clubalfa-submenu-toggle::after {
    content: "\e90c";
    font-family: "cs-icons";
    font-size: 1rem;
    line-height: 1;
}

.widget_nav_menu .menu-item-expanded > .clubalfa-submenu-toggle::after {
    content: "\e90f";
}
