/*
 * Reverse stacking order on mobile so the last column renders above the first.
 * Core Columns stacks via flex-wrap + flex-basis:100%, not flex-direction —
 * so `wrap-reverse` is the correct lever (keeps row axis, reverses line order).
 */
@media (max-width: 781px) {
    /* !important is required — WordPress prints per-block layout CSS with
       auto-generated higher-specificity selectors that otherwise win. */
    .wp-block-columns.is-mobile-sidebar-top {
        flex-wrap: wrap-reverse !important;
    }
}
