/* XMS v1.3.77 — Adjustable page size: responsive sitewide and optional per-page override.
   Width applies to boxed page content; preserve full-width video, hero backgrounds,
   site header, and the full-width animated footer. Default 1340px. */
body.xms-theme.xms-home-study .xms-main,
body.xms-theme.xms-inner-study .xms-main {
  width:min(100%, var(--xms-page-width, 1340px)) !important;
  max-width:none;
  margin-left:auto;
  margin-right:auto;
}
/* Standard non-study pages built using the XMS page builder or classic editor. */
body.xms-theme:not(.xms-home-study):not(.xms-inner-study) .xms-main .xms-container {
  width:min(calc(100% - 64px), var(--xms-page-width, 1340px)) !important;
  max-width:none;
}
/* Keep mobile gutter widths controlled independently of the desktop page width. */
@media(max-width:767px){
  body.xms-theme:not(.xms-home-study):not(.xms-inner-study) .xms-main .xms-container {
    width:min(calc(100% - 36px), var(--xms-page-width, 1340px)) !important;
  }
}
