/* Clasico Next 1.1.30 HOTFIX8 - REAL content width; no header/footer changes.
   Hook-provided --cn-page-inset-*: 0px when OFF; entered px per edge when ON.
   Previous body class + --cn-margin-* variables are supported as a fallback. */
html body.cn-theme #cn-main #wrapper > .container.cn-page-shell {
  box-sizing: border-box !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  max-width: var(--cn-page-content-max, var(--cn-width,1440px)) !important;
}
@media (min-width:1440px) {
  html body.cn-theme #cn-main #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-page-inset-pc,var(--cn-margin-pc,0px))) !important;
  }
  html body.cn-site-margins-on #cn-main #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-page-inset-pc,var(--cn-margin-pc,40px))) !important;
    max-width:none !important;
  }
}
@media (min-width:1024px) and (max-width:1439px) {
  html body.cn-theme #cn-main #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-page-inset-laptop,var(--cn-margin-laptop,0px))) !important;
  }
  html body.cn-site-margins-on #cn-main #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-page-inset-laptop,var(--cn-margin-laptop,28px))) !important;
    max-width:none !important;
  }
}
@media (min-width:768px) and (max-width:1023px) {
  html body.cn-theme #cn-main #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-page-inset-tablet,var(--cn-margin-tablet,0px))) !important;
  }
  html body.cn-site-margins-on #cn-main #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-page-inset-tablet,var(--cn-margin-tablet,16px))) !important;
    max-width:none !important;
  }
}
@media (max-width:767px) {
  html body.cn-theme #cn-main #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-page-inset-mobile,var(--cn-margin-mobile,0px))) !important;
    padding-left: min(12px, 3vw) !important;
    padding-right: min(12px, 3vw) !important;
  }
  html body.cn-site-margins-on #cn-main #wrapper > .container.cn-page-shell {
    width:calc(100% - 2 * var(--cn-page-inset-mobile,var(--cn-margin-mobile,12px))) !important;
    max-width:none !important;
  }
}
/* Full-width slider respects the selected content container when enabled.
   When disabled preserve the original full-bleed slider design. */
html body.cn-theme #cn-main #wrapper .cn-page-shell .cn-hero-model-full {
  margin-left:var(--cn-page-hero-bleed, calc((min(100vw, var(--cn-width,1440px)) - 100vw)/2 - 28px)) !important;
  margin-right:var(--cn-page-hero-bleed, calc((min(100vw, var(--cn-width,1440px)) - 100vw)/2 - 28px)) !important;
}
html body.cn-site-margins-on #cn-main #wrapper .cn-page-shell .cn-hero-model-full {
  margin-left:0 !important;
  margin-right:0 !important;
}
/* Never put the page gutters on the header, footer or overlays. */
