/*-------- Background Overlay --------*/
/* Frontend: Target wp-site-blocks class while excluding the Site Editor */
.frontend-only .wp-site-blocks {
    background-color: var(--wp--preset--color--custom-background-overlay);
	min-height: 100vh;
}
/* Backend: Apply to Block & Site Editor */
.editor-styles-wrapper .is-root-container {
	height: 100%;
	min-height: 100vh;
    background-color: var(--wp--preset--color--custom-background-overlay);
}

/*-------- Reset default spacing for root elements --------*/
/* Wrappers: Frontend */
.wp-site-blocks,
.wp-block-template-part,
.is-reusable,
.block-library-block__reusable-block-container,
.editor-styles-wrapper .wp-site-blocks,
.editor-styles-wrapper .wp-block-template-part,
.editor-styles-wrapper .is-reusable,
.editor-styles-wrapper .block-library-block__reusable-block-container  {
	padding: 0;
	margin:0;
	margin-block-start: 0;
	margin-block-end: 0;
}
	
/* Wrappers: Backend */
.editor-styles-wrapper .is-root-container.wp-site-blocks > * {
  margin-block-start: 0px;
  margin-block-end: 0;
}
.block-editor-block-list__layout .wp-block-template-part {
	padding: 0;
	margin:0;
	margin-block-start: 0;
	margin-block-end: 0;
}
/* First level children inside wrappers */
.wp-site-blocks > * {
    margin-block-start: 0;
    margin-block-end: 0;
}
/* Body Site Editor */
body.block-editor-iframe__body.editor-styles-wrapper {
	padding-top: 0;
	padding-bottom: 0;
}

/* Prevent Collapsed Margins */
.block-editor-block-list__layout .wp-block-post-content,
.wp-block-post-content {
    display: flow-root;
}