@charset "UTF-8";

/**
 * Column block — image cover utility.
 *
 * Makes the image (core/image or core/post-featured-image) inside a column
 * stretch to fill the full column height with object-fit: cover behavior.
 * Applied via the "Image cover" toggle in the block editor.
 */

.wp-block-column.gnext-column-image-cover {
	display: flex;
	flex-direction: column;
}

.wp-block-column.gnext-column-image-cover .wp-block-image,
.wp-block-column.gnext-column-image-cover .wp-block-post-featured-image {
	flex: 1;
	margin: 0;
	overflow: hidden;
}

.wp-block-column.gnext-column-image-cover .wp-block-image img,
.wp-block-column.gnext-column-image-cover .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
