/* ============================================
   YOGA MINDO — FULL-WIDTH PAGE OVERRIDE
   Activates only on pages with class "ym-fullwidth"
   ============================================ */

/* Hide the default WordPress site header/nav on opted-in pages */
body.ym-fullwidth #masthead,
body.ym-fullwidth .site-header,
body.ym-fullwidth header.site-header,
body.ym-fullwidth #site-header,
body.ym-fullwidth .wp-block-template-part[data-type="header"],
body.ym-fullwidth .site-branding,
body.ym-fullwidth .main-navigation,
body.ym-fullwidth #site-navigation,
body.ym-fullwidth .nav-primary,
body.ym-fullwidth .menu-primary-container {
  display: none !important;
}

/* Hide the default footer too (we render our own) */
body.ym-fullwidth #colophon,
body.ym-fullwidth .site-footer,
body.ym-fullwidth footer.site-footer,
body.ym-fullwidth #site-footer,
body.ym-fullwidth .wp-block-template-part[data-type="footer"] {
  display: none !important;
}

/* Force full-width — kill all container padding/max-width */
body.ym-fullwidth .site,
body.ym-fullwidth #page,
body.ym-fullwidth .site-content,
body.ym-fullwidth #content,
body.ym-fullwidth #primary,
body.ym-fullwidth #main,
body.ym-fullwidth main,
body.ym-fullwidth .content-area,
body.ym-fullwidth .entry-content,
body.ym-fullwidth article,
body.ym-fullwidth .post,
body.ym-fullwidth .page,
body.ym-fullwidth .wp-site-blocks,
body.ym-fullwidth .wp-block-post-content,
body.ym-fullwidth .is-layout-constrained {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Edge-to-edge */
body.ym-fullwidth .entry-content > *,
body.ym-fullwidth .wp-block-post-content > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Hide page titles (we have our own H1 in the hero) */
body.ym-fullwidth .entry-header,
body.ym-fullwidth .page-title,
body.ym-fullwidth .entry-title {
  display: none !important;
}

/* Remove default body padding */
body.ym-fullwidth {
  margin: 0 !important;
  padding: 0 !important;
  background: #faf5ea !important;
}

/* Sometimes themes add a top admin spacing */
body.ym-fullwidth.admin-bar {
  margin-top: 0 !important;
}

/* Hide the comments / "Loading Comments..." block on these pages */
body.ym-fullwidth #comments,
body.ym-fullwidth .comments-area,
body.ym-fullwidth #respond {
  display: none !important;
}

/* Hide WordPress.com's subscribe popup / share block if it appears */
body.ym-fullwidth .sharedaddy,
body.ym-fullwidth .jp-relatedposts,
body.ym-fullwidth #jp-post-flair {
  display: none !important;
}