/**
 * WordPress / Kadence overrides so design chrome stays full-bleed.
 * Parent Kadence still wraps content; we neutralize width/padding fights.
 */

body.jsmain-theme {
  background: var(--cream, #ffefe2);
}

/* Kill Kadence content max-width around our blocks */
body.jsmain-theme .entry-content > .wp-block-acf-hero,
body.jsmain-theme .entry-content > [class*="wp-block-acf-jsmain"],
body.jsmain-theme .entry-content > .acf-block-preview,
body.jsmain-theme .jsmain-main .entry-content,
body.jsmain-theme .jsmain-main {
  max-width: none !important;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.jsmain-theme .content-area,
body.jsmain-theme .entry-content-wrap,
body.jsmain-theme .site-container,
body.jsmain-theme .content-wrap,
body.jsmain-theme #inner-wrap,
body.jsmain-theme .wp-site-blocks {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hide duplicate Kadence title on pages that use our page-hero block */
body.jsmain-theme.page .entry-hero,
body.jsmain-theme.page .entry-header:not(.page-hero) {
  display: none;
}

body.jsmain-theme .site-header {
  /* ensure above Kadence sticky bits */
  z-index: 200;
}
