/**
 * Base fixes for block-editable pages (template-editable.php).
 *
 * Classic themes render Group blocks with a legacy .wp-block-group__inner-container
 * wrapper div, which breaks direct-child layouts (e.g. .row > .col-*) — the grid
 * columns stop being flex children of .row and stack full-width. display:contents
 * removes the wrapper from layout so the theme CSS sees the original structure.
 */
.page-template-template-editable .wp-block-group__inner-container {
	display: contents;
}

/* Image blocks add a <figure> wrapper the hand-coded templates never had. */
.page-template-template-editable figure.wp-block-image {
	margin: 0;
}
.page-template-template-editable .wp-block-image img {
	max-width: 100%;
	height: auto;
	display: block;
}
