/* Platinum 151A: preserve original final-cascade order. */

/* BEGIN 112e */
html body.platinum112e-non-nemesis-fullbleed {
  --p112e-page-pad:clamp(24px, 4.6vw, 76px);
  --p112e-page-pad-sm:clamp(18px, 3.2vw, 40px);
  overflow-x:hidden;
}

/* Remove Neve/container side constraints for scoped pages. */
html body.platinum112e-non-nemesis-fullbleed main#content.neve-main,
html body.platinum112e-non-nemesis-fullbleed main#content.neve-main.neve-main,
html body.platinum112e-non-nemesis-fullbleed .single-page-container,
html body.platinum112e-non-nemesis-fullbleed .container.single-page-container,
html body.platinum112e-non-nemesis-fullbleed .nv-single-page-wrap,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  overflow:visible !important;
}

/* Generic full-bleed behavior for direct content sections. */
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > *:not(script):not(style):not(link):not(meta) {
  max-width:none !important;
}

/* Major generated sections should span the full viewport. */
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > .wp-block-group,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > .wp-block-cover,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > .wp-block-columns,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > .wp-block-media-text,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > section,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > .platinum112e-auto-fullbleed,
html body.platinum112e-non-nemesis-fullbleed .platinum111a-hero,
html body.platinum112e-non-nemesis-fullbleed .platinum111a-section,
html body.platinum112e-non-nemesis-fullbleed .platinum111a-cta,
html body.platinum112e-non-nemesis-fullbleed .platinum111d-contact,
html body.platinum112e-non-nemesis-fullbleed .platinum112b-about,
html body.platinum112e-non-nemesis-fullbleed .platinum109e-section,
html body.platinum112e-non-nemesis-fullbleed .platinum109m-section,
html body.platinum112e-non-nemesis-fullbleed .platinum110a-page,
html body.platinum112e-non-nemesis-fullbleed .platinum110e-page,
html body.platinum112e-non-nemesis-fullbleed .platinum110g-page {
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  border-radius:0 !important;
}

/* Inner wrappers: use viewport width with safe padding instead of fixed 1180px. */
html body.platinum112e-non-nemesis-fullbleed .platinum111a-wrap,
html body.platinum112e-non-nemesis-fullbleed .platinum111a-container,
html body.platinum112e-non-nemesis-fullbleed .platinum111d-wrap,
html body.platinum112e-non-nemesis-fullbleed .platinum112b-wrap,
html body.platinum112e-non-nemesis-fullbleed .platinum109e-wrap,
html body.platinum112e-non-nemesis-fullbleed .platinum110a-wrap,
html body.platinum112e-non-nemesis-fullbleed .platinum110e-wrap,
html body.platinum112e-non-nemesis-fullbleed .platinum110g-wrap,
html body.platinum112e-non-nemesis-fullbleed .wp-block-group__inner-container {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:var(--p112e-page-pad) !important;
  padding-right:var(--p112e-page-pad) !important;
}

/* Keep plain text readable if a legacy page has direct paragraph/list blocks. */
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > p,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > ul,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > ol,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > h1,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > h2,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > h3,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > h4,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content > figure {
  width:100% !important;
  max-width:none !important;
  padding-left:var(--p112e-page-pad) !important;
  padding-right:var(--p112e-page-pad) !important;
}

/* Grids/cards that were visually constrained by old wrappers should expand with the page. */
html body.platinum112e-non-nemesis-fullbleed .platinum111a-grid,
html body.platinum112e-non-nemesis-fullbleed .platinum111a-card-grid,
html body.platinum112e-non-nemesis-fullbleed .platinum111d-cards,
html body.platinum112e-non-nemesis-fullbleed .platinum111d-main-grid,
html body.platinum112e-non-nemesis-fullbleed .platinum112b-grid,
html body.platinum112e-non-nemesis-fullbleed .platinum112b-process,
html body.platinum112e-non-nemesis-fullbleed .platinum112b-split,
html body.platinum112e-non-nemesis-fullbleed .platinum109e-grid,
html body.platinum112e-non-nemesis-fullbleed .platinum110a-grid,
html body.platinum112e-non-nemesis-fullbleed .platinum110e-grid,
html body.platinum112e-non-nemesis-fullbleed .platinum110g-grid {
  width:100% !important;
  max-width:none !important;
}

/* Images and media should not keep old max container illusion. */
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content img,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content video,
html body.platinum112e-non-nemesis-fullbleed .nv-content-wrap.entry-content iframe {
  max-width:100% !important;
}

/* Prevent special full-width sections from creating horizontal scroll. */
html body.platinum112e-non-nemesis-fullbleed .platinum112e-auto-fullbleed {
  overflow:hidden;
}

/* About already has dedicated 112C/112D, but this keeps it aligned with the global mode. */
html body.platinum112e-non-nemesis-fullbleed .platinum112b-quote-box {
  width:100% !important;
  max-width:none !important;
}

/* Contact map/form can breathe full-width without breaking fields. */
html body.platinum112e-non-nemesis-fullbleed .platinum111d-map-shell,
html body.platinum112e-non-nemesis-fullbleed .platinum111d-form-card,
html body.platinum112e-non-nemesis-fullbleed .platinum111d-info-card {
  max-width:none !important;
}

/* Mobile safety */
@media (max-width:720px) {
  html body.platinum112e-non-nemesis-fullbleed {
    --p112e-page-pad:20px;
  }

  html body.platinum112e-non-nemesis-fullbleed .platinum111a-wrap,
  html body.platinum112e-non-nemesis-fullbleed .platinum111a-container,
  html body.platinum112e-non-nemesis-fullbleed .platinum111d-wrap,
  html body.platinum112e-non-nemesis-fullbleed .platinum112b-wrap,
  html body.platinum112e-non-nemesis-fullbleed .platinum109e-wrap,
  html body.platinum112e-non-nemesis-fullbleed .platinum110a-wrap,
  html body.platinum112e-non-nemesis-fullbleed .platinum110e-wrap,
  html body.platinum112e-non-nemesis-fullbleed .platinum110g-wrap,
  html body.platinum112e-non-nemesis-fullbleed .wp-block-group__inner-container {
    padding-left:var(--p112e-page-pad) !important;
    padding-right:var(--p112e-page-pad) !important;
  }
}
/* END 112e */
