/*
 * Front-page Releases section: the release columns, cover beside the text.
 * Loaded on the front page and in the editor.
 */

/* Scoped to the section: core's block-gap rule ties a lone class and prints later. */
.pm-section > .pm-release {
	margin-block: var(--wp--preset--spacing--50) 0;
	gap: var(--wp--preset--spacing--50);
}

/* The doubled class outranks core's equal-width column rule; below 782px
   core stacks the columns at full width. */
@media (min-width: 782px) {
	.wp-block-columns.pm-release > .wp-block-column.pm-release__cover {
		flex: 0 1 36%;
	}

	.wp-block-columns.pm-release > .wp-block-column.pm-release__body {
		flex: 0 1 64%;
	}
}

.pm-release .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--pm-line), 0 30px 80px -30px rgb(185 150 255 / 0.55);
}

.pm-release h3 {
	margin-top: 0;
}
