:root .block-editor-block-list__layout.is-root-container {

	> .wp-block {

		&.alignleft {
			margin-inline-start: calc( ( 100% - #{'min(var(--block-max-width), 100%)'} ) / 2 );
		}

		&.alignright {
			margin-inline-end: calc( ( 100% - #{'min(var(--block-max-width), 100%)'} ) / 2 );
		}
	}
}