/* Editorial Grid for Elementor - frontend styles */

.editorial-grid-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	/* Prevent CSS Grid from stretching rows/items to match the tallest
	   item in a row - each item must keep its own explicit height. */
	align-items: start;
	align-content: start;
}

.editorial-item {
	display: block;
	position: relative;
	overflow: hidden;
	align-self: start;
	height: var(--desktop-height, 400px) !important;
}

.editorial-item-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 1024px) {
	.editorial-item {
		height: var(--tablet-height, 350px) !important;
	}
}

@media (max-width: 767px) {
	.editorial-item {
		height: var(--mobile-height, 300px) !important;
	}
}
