/* Clasico Next HOTFIX6 - only the primary content shell; keep headers, footer and overlays intact. */
@media (min-width:1440px) {
  body.cn-site-margins-on #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-margin-pc,40px)) !important;
    max-width:calc(var(--cn-width,1440px) - 2 * var(--cn-margin-pc,40px)) !important;
    margin-left:auto !important;margin-right:auto !important;
  }
}
@media (min-width:1024px) and (max-width:1439px) {
  body.cn-site-margins-on #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-margin-laptop,28px)) !important;
    max-width:calc(100% - 2 * var(--cn-margin-laptop,28px)) !important;
    margin-left:auto !important;margin-right:auto !important;
  }
}
@media (min-width:768px) and (max-width:1023px) {
  body.cn-site-margins-on #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-margin-tablet,16px)) !important;
    max-width:calc(100% - 2 * var(--cn-margin-tablet,16px)) !important;
    margin-left:auto !important;margin-right:auto !important;
  }
}
@media (max-width:767px) {
  body.cn-site-margins-on #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-margin-mobile,12px)) !important;
    max-width:calc(100% - 2 * var(--cn-margin-mobile,12px)) !important;
    margin-left:auto !important;margin-right:auto !important;
  }
}
body.cn-site-margins-on #wrapper > .container.cn-page-shell {box-sizing:border-box!important;min-width:0!important}

/* Full-bleed slider stays inside the chosen page shell when margins are enabled. */
body.cn-site-margins-on .cn-hero-model-full {margin-left:0!important;margin-right:0!important}
body.cn-site-margins-on .cn-hero-model-full .cn-slider {border-radius:var(--cn-radius,16px)}
