/**
 * MBA 13/15" footer — loaded last via default.xml so it wins over styles.css flex-wrap.
 * Brand + Company + Products + Support + Newsletter in one row.
 */

@media (min-width: 1024px) and (max-width: 1799px) {
    .acme-footer__main {
        display: grid !important;
        grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.72fr)) minmax(0, 0.9fr) !important;
        gap: clamp(0.5rem, 1.2vw, 0.875rem) !important;
        align-items: start !important;
        /* Keep desktop rail — do not stretch to 100% (MBA air-fix caps at 93.3125rem) */
        width: min(100%, var(--acme-footer-inner, var(--acme-header-inner, 93.3125rem))) !important;
        max-width: var(--acme-footer-inner, var(--acme-header-inner, 93.3125rem)) !important;
        margin-inline: auto !important;
        flex-wrap: unset !important;
        padding-bottom: 1.5rem !important;
    }

    .acme-footer__brand,
    .acme-footer__nav,
    .acme-footer__newsletter {
        flex: unset !important;
        flex-basis: auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .acme-footer__about {
        max-width: 100% !important;
        font-size: 0.8125rem !important;
        line-height: 1.4 !important;
    }

    .acme-footer__heading {
        font-size: 0.625rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.4rem !important;
    }

    .acme-footer__list a {
        font-size: 0.8125rem !important;
        line-height: 1.3 !important;
    }

    .acme-footer__newsletter-text {
        font-size: 0.8125rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.65rem !important;
    }
}
