@mixin m-box-padding($topBottom: $m-space-xl, $rightLeft: $m-space-lg, $topBottomMobile: $m-space-xl, $rightLeftMobile: $m-space) {
    &:not(.m--no-padding) {
        @media (max-width: $m-mq-max-sm) {
            padding: $topBottomMobile $rightLeftMobile;
        }

        @media (min-width: $m-mq-min-sm) {
            padding: $topBottom $rightLeft;
        }
    }
}

@mixin m-fixed-box-padding($topBottom: $m-space-xl, $rightLeft: $m-space-lg, $topBottomMobile: $m-space-xl, $rightLeftMobile: $m-space) {
    &:not(.m--no-padding) {
        @media (max-width: $m-mq-max-sm) {
            padding: $topBottomMobile $rightLeftMobile 0;

            > :last-child {
                margin-bottom: $topBottomMobile;
            }
        }

        @media (min-width: $m-mq-min-sm) {
            padding: $topBottom $rightLeft 0;

            > :last-child {
                margin-bottom: $topBottom;
            }
        }
    }
}
