/*
 * Post gallery, Masonry layout: the post template's columns, items packed under each other by their own heights. The
 * browser does it with `display: grid-lanes`; elsewhere masonry.js spans each item over 1px rows and moves the row gap
 * into the spans (the items sit at the start of their area, so their height is their content's). Items keep their
 * left-to-right order.
 */
@supports (display: grid-lanes) {
	.wp-block-rtthemes-post-gallery.is-gallery-masonry .wp-block-post-template {
		display: grid-lanes;
	}
}

@supports not (display: grid-lanes) {
	.wp-block-rtthemes-post-gallery.is-gallery-masonry .wp-block-post-template {
		grid-auto-rows: 1px;
		align-items: start;
	}
}
