/* Homepage arched media gallery — 3 matching cards */

.gr-home-gallery {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	gap: 0;
	box-sizing: border-box;
	padding: 60px 20px;
}

.gr-home-gallery__card {
	flex: 1 1 33.333%;
	width: 33.333%;
	max-width: 33.333%;
	box-sizing: border-box;
	padding: 0 20px;
	position: relative;
}

.gr-home-gallery__media,
.gr-home-gallery__card img.gr-home-gallery__media,
.gr-home-gallery__card video.gr-home-gallery__media {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: 400px !important;
	min-height: 400px !important;
	max-height: 400px !important;
	object-fit: cover !important;
	object-position: center center !important;
	border-radius: 500px 500px 0 0 !important;
	background: #111;
}

@media (max-width: 1024px) {
	.gr-home-gallery {
		padding: 40px 12px;
	}

	.gr-home-gallery__card {
		padding: 0 10px;
	}

	.gr-home-gallery__media,
	.gr-home-gallery__card img.gr-home-gallery__media,
	.gr-home-gallery__card video.gr-home-gallery__media {
		height: 280px !important;
		min-height: 280px !important;
		max-height: 280px !important;
		border-radius: 300px 300px 0 0 !important;
	}
}

@media (max-width: 767px) {
	.gr-home-gallery {
		flex-wrap: wrap;
		padding: 30px 10px;
	}

	.gr-home-gallery__card {
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
		padding: 0 8px 16px;
	}

	.gr-home-gallery__media,
	.gr-home-gallery__card img.gr-home-gallery__media,
	.gr-home-gallery__card video.gr-home-gallery__media {
		height: 260px !important;
		min-height: 260px !important;
		max-height: 260px !important;
		border-radius: 260px 260px 0 0 !important;
	}
}
