/*
 * Give Page Builder pages the same edge-to-edge canvas used by the legacy
 * builder. Contained Page Builder rows keep their own theme max-width.
 */
body.pagebuilder-content.cms-index-index #maincontent,
body.pagebuilder-content.cms-page-view #maincontent {
    max-width: none;
    padding-right: 0;
    padding-left: 0;
    overflow: hidden;
}

body.pagebuilder-content.cms-index-index #maincontent > .row,
body.pagebuilder-content.cms-page-view #maincontent > .row {
    margin-right: 0;
    margin-left: 0;
}

body.pagebuilder-content.cms-index-index #maincontent > .row > .column.main,
body.pagebuilder-content.cms-page-view #maincontent > .row > .column.main {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}


/* Page Builder CMS pages must not inherit two/three-column catalog shell. */
body.pagebuilder-content.cms-index-index #maincontent .column.main,
body.pagebuilder-content.cms-page-view #maincontent .column.main {
    float: none !important;
    max-width: none !important;
    width: 100% !important;
}

body.pagebuilder-content.cms-index-index #maincontent .sidebar,
body.pagebuilder-content.cms-page-view #maincontent .sidebar {
    display: none !important;
}
