/**
 * Full-width layout — loaded last so it overrides legacy 85% / 1240px rules.
 */

.width85,
.inner-page .width85,
.inner-page .ast-container,
.ast-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Header and footer share the same horizontal padding */
.site-header .header-inner.width85,
.site-footer .footer-primary.width85,
.site-footer .footer-below.width85 {
  padding-left: var(--site-pad-x) !important;
  padding-right: var(--site-pad-x) !important;
}

@media only screen and (min-width: 922px) {
  .width85 {
    width: 100% !important;
  }

  .ast-container {
    max-width: 100% !important;
    width: 100% !important;
  }
}

.inner-page .entry-content,
.inner-page .wpb-content-wrapper {
  width: 100%;
  max-width: none;
}

/* Let full-bleed VC rows span the viewport */
.inner-page .stretchMe,
.inner-page [data-vc-stretch-content="true"] {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
