/* SANCTEK 020.1 — Reusable Full Width Page Layout */

/*
 * The page content owns its own section containers.
 * Do not constrain the page again at theme level.
 */
body.page-template-template-fullwidth .site-content,
body.page-template-template-fullwidth #content,
body.page-template-template-fullwidth #primary,
body.page-template-template-fullwidth .site-main,
body.page-template-template-fullwidth .sanctek-fullwidth-page,
body.page-template-template-fullwidth .sanctek-fullwidth-entry,
body.page-template-template-fullwidth .sanctek-fullwidth-entry__content,
body.page-template-template-fullwidth .entry-content{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

body.page-template-template-fullwidth .sanctek-fullwidth-page,
body.page-template-template-fullwidth .sanctek-fullwidth-entry,
body.page-template-template-fullwidth .sanctek-fullwidth-entry__content{
  padding-left:0 !important;
  padding-right:0 !important;
}

/*
 * Remove common theme/article wrappers that add vertical spacing,
 * borders or card treatment around normal pages.
 */
body.page-template-template-fullwidth .sanctek-fullwidth-entry{
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.page-template-template-fullwidth .sanctek-fullwidth-entry__content{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/*
 * WordPress/editor defaults sometimes constrain direct children
 * of .entry-content. The Full Width template intentionally releases
 * those constraints. Individual page sections can still use their
 * own .container class.
 */
body.page-template-template-fullwidth .sanctek-fullwidth-entry__content > *{
  max-width:none;
}

/* Cô Tiên Xanh case study owns its inner 1180px containers. */
body.page-template-template-fullwidth .sanctek-fullwidth-entry__content > .sanctek-case{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}

/* Avoid unexpected horizontal scroll from legacy wrappers. */
body.page-template-template-fullwidth{
  overflow-x:hidden;
}
