/* Rakuza v1.1.11 — mobile outer gutters: 4px on each side.
 * Limit the override to the page/body containers, not their nested cards,
 * form controls, navigation or the full-bleed hero carousel.
 * The 2017 parent theme otherwise reserves ~2em on each side of .wrap.
 */
@media screen and (max-width: 767px) {
    /* Ordinary pages, posts, archives and the front page's panel sections. */
    #content.site-content > .wrap,
    #content.site-content .panel-content > .wrap,
    .site-footer > .wrap {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* Explicitly authored Gutenberg home sections previously had 24px
       of mobile padding in home-editorial.css.  Preserve the vertical space. */
    body:is(.rakuza-home-redesign, .page-id-442)
    #content .entry-content > .rz-home-block {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}
