/*
 * Fright Guild Core 3.3.22
 * Shared full-width shell for editable Gutenberg Pages.
 *
 * Applied only when Core adds body.fg-core-editable-fullwidth-page.
 * This removes Astra's ordinary content-width/padding constraints at the
 * page-shell level. Individual Gutenberg sections can then use alignfull
 * normally, without viewport-width or negative-margin breakout techniques.
 */

body.fg-core-editable-fullwidth-page .entry-header,
body.fg-core-editable-fullwidth-page .page-header,
body.fg-core-editable-fullwidth-page #secondary {
    display: none !important;
}

body.fg-core-editable-fullwidth-page .site-content,
body.fg-core-editable-fullwidth-page .site-content > .ast-container,
body.fg-core-editable-fullwidth-page .site-content > .ast-container-fluid,
body.fg-core-editable-fullwidth-page #primary,
body.fg-core-editable-fullwidth-page .content-area,
body.fg-core-editable-fullwidth-page .site-main,
body.fg-core-editable-fullwidth-page article.page,
body.fg-core-editable-fullwidth-page .ast-article-single,
body.fg-core-editable-fullwidth-page .entry-content {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    float: none;
}

body.fg-core-editable-fullwidth-page .entry-content > .wp-block-group,
body.fg-core-editable-fullwidth-page .entry-content > .wp-block-shortcode,
body.fg-core-editable-fullwidth-page .entry-content > .wp-block-html {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.fg-core-editable-fullwidth-page .entry-content > .wp-block-group.alignfull {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}
