/* FOOTER ACCORDIONS */

.arcane-mobile-footer .arcane-footer-toggle {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    font: inherit;
    text-align: inherit;
    opacity: 1 !important;
    appearance: none;
}

/* RESPONSIVE: MOBILE FOOTER (768px) */

@media (max-width: 768px) {

    /* Respect the footer row's existing WPBakery padding */
    body #ajax-content-wrap .arcane-mobile-footer > .row_col_wrap_12 > .wpb_column {
        margin-bottom: 0 !important;
    }

    body #ajax-content-wrap .arcane-mobile-footer > .row_col_wrap_12 > .wpb_column:first-child:not(.arcane-footer-accordion) {
        margin-bottom: 12px !important;
    }

    /* Accordion columns */
    .arcane-mobile-footer .arcane-footer-accordion > .vc_column-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    html body .arcane-mobile-footer .arcane-footer-heading {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* Flat full-width headings, with a straight divider line */
    html body .arcane-mobile-footer .arcane-footer-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
        padding: 18px 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-align: left !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
        text-transform: uppercase;
        cursor: pointer;
    }

    html body .arcane-mobile-footer .arcane-footer-toggle::before {
        content: none !important;
        display: none !important;
    }

    /* Plus and minus indicators */
    html body .arcane-mobile-footer .arcane-footer-toggle::after {
        content: "+";
        font-size: 22px;
        font-weight: 400;
        line-height: 1;
        margin-left: 20px;
        flex-shrink: 0;
    }

    html body .arcane-mobile-footer .arcane-footer-toggle[aria-expanded="true"]::after {
        content: "\2212";
    }

    .arcane-mobile-footer .arcane-footer-toggle:focus-visible {
        outline: 2px solid var(--nectar-accent-color, #ffb627);
        outline-offset: 3px;
    }

    /* Expandable content */
    .arcane-mobile-footer .arcane-footer-panel {
        display: none;
        margin: 0;
        padding: 16px 0;
        text-align: left !important;
    }

    .arcane-mobile-footer .arcane-footer-accordion.is-open .arcane-footer-panel {
        display: block;
    }

    html body .arcane-mobile-footer .arcane-footer-panel .nectar-fancy-ul,
    html body .arcane-mobile-footer .arcane-footer-panel .wpb_wrapper,
    html body .arcane-mobile-footer .arcane-footer-panel .wpb_text_column,
    html body .arcane-mobile-footer .arcane-footer-panel ul,
    html body .arcane-mobile-footer .arcane-footer-panel li,
    html body .arcane-mobile-footer .arcane-footer-panel p {
        text-align: left !important;
    }

    /* Separate copyright row: stack and left-align */
    body #ajax-content-wrap .arcane-footer-bottom > .row_col_wrap_12 {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

    html body #ajax-content-wrap .arcane-footer-bottom > .row_col_wrap_12 > .wpb_column {
        display: block !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        text-align: left !important;
    }

    body #ajax-content-wrap .arcane-footer-bottom .vc_column-inner,
    body #ajax-content-wrap .arcane-footer-bottom .wpb_wrapper,
    body #ajax-content-wrap .arcane-footer-bottom .wpb_text_column,
    body #ajax-content-wrap .arcane-footer-bottom .footer-credit {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    html body #ajax-content-wrap .arcane-footer-bottom .wpb_text_column,
    html body #ajax-content-wrap .arcane-footer-bottom .wpb_text_column p,
    html body #ajax-content-wrap .arcane-footer-bottom .footer-credit,
    html body #ajax-content-wrap .arcane-footer-bottom .footer-credit p {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
}
