/* MusicBox 2.31.7 — compact home page sections only.
 * The screenshot shows the hero followed by Gutenberg top-level sections
 * with their own block padding. Override only that padding (including
 * inline style padding-top from the editor), never hero height or position.
 * Do not target product/card content or the site header.
 */
body.home .wp-block-post-content > :is(section.wp-block-group.alignfull, div.wp-block-group.alignfull, section.wp-block-group.ext-section, div.wp-block-group.ext-section):not(:has(.mbx-hero, .mbx-shop-banner)) {
  padding-block-start: var(--mbx-home-section-gap-desktop, 48px) !important;
  padding-block-end: var(--mbx-home-section-gap-desktop, 48px) !important;
}
/* Keep the first content section immediately after the hero free of
 * Gutenberg flow margins, while keeping its configured internal breathing room. */
body.home .wp-block-post-content > .mbx-hero + :is(section.wp-block-group, div.wp-block-group),
body.home .wp-block-post-content > .wp-block-shortcode:has(> .mbx-hero) + :is(section.wp-block-group, div.wp-block-group) {
  margin-block-start: 0 !important;
}
@media screen and (max-width: 767px) {
  body.home .wp-block-post-content > :is(section.wp-block-group.alignfull, div.wp-block-group.alignfull, section.wp-block-group.ext-section, div.wp-block-group.ext-section):not(:has(.mbx-hero, .mbx-shop-banner)) {
    padding-block-start: var(--mbx-home-section-gap-mobile, 24px) !important;
    padding-block-end: var(--mbx-home-section-gap-mobile, 24px) !important;
  }
}
