.image-cards {
	position: relative;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

.image-cards .slides {
	display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
}

.image-cards .slide,
.image-cards .img-cont,
.image-cards .slide-img {
	position: relative;
}

.image-cards .slide {
	overflow: hidden;
}

.image-cards .img-cont {
	aspect-ratio: 375 / 126;
}

.image-cards .img-cont::before,
.image-cards .img-cont::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	content: '';
	pointer-events: none;
	transition: opacity var(--transition-appendix);
}

.image-cards .img-cont::before {
	background: rgba(0, 0, 0, 0.4);
	opacity: 1;
}

.image-cards .img-cont::after {
	background: rgba(0, 82, 137, 0.8);
	opacity: 0;
}

.image-cards .slide-img {
	width: 100%;
}

.image-cards .sponsored {
	position: absolute;
	inset: 10px auto auto 10px;
	display: block;
	pointer-events: none;
	padding: 7px;
	font-family: var(--font-display);
	font-weight: bold;
	font-size: 0.813rem;
	line-height: 1;
	color: var(--white);
	background: rgba(0, 23, 31, 0.4);
	z-index: 10;
}

.image-cards .content-section {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-5);
	pointer-events: none;
}

.image-cards .content-section a {
	pointer-events: all;
}

.image-cards .slide-title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: bold;
	line-height: 1;
	text-align: center;
}

.image-cards .title-small {
	display: block;
	margin-bottom: 4px;
	font-size: var(--text-lg);
	letter-spacing: 0;
	text-transform: none;
	color: var(--white);
	-webkit-text-stroke: 0;
	text-stroke: 0;
}

.image-cards .title-normal {
	font-size: 1.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: transparent;
	-webkit-text-stroke: 1px var(--white);
	text-stroke: 1px var(--white);
}

.image-cards .slide-title a {
	font: inherit;
	color: var(--white);
	text-decoration: none;
}

/*----- black theme -----*/

.theme-microsite .image-cards .img-cont::after {
	background: rgba(0, 0, 0, 0.8);
}

/*----- lavender theme -----*/

.theme-lavender .image-cards .img-cont::after {
	background: rgba(161, 82, 175, 0.8);
}

/*----- inside mobile nav -----*/

.menu-container .image-cards .slides {
	display: block;
}

.menu-container .image-cards .img-cont {
	aspect-ratio: 75 / 44;
}

/*----- media queries -----*/

@media (hover: hover) {
	.image-cards .slide:hover .img-cont::before {
		opacity: 0;
	}
	
	.image-cards .slide:hover .img-cont::after {
		opacity: 1;
	}
}

@media (min-width: 48em) {
	.image-cards {
		padding: 0 var(--space-5);
	}

	.image-cards .slides {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 64em) {
	.image-cards .slides {
		gap: 40px;
	}

	.image-cards .title-small {
		margin-bottom: 8px;
		font-size: 1.375rem;
	}

	.image-cards .title-normal {
		font-size: 2.25rem;
	}

	/* inside main menu */

	.menu-container .image-cards {
		height: 100%;
		padding: 0;
	}

	.menu-container .image-cards .slides {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		height: 100%;
	}

	.menu-container .image-cards .slide,
	.menu-container .image-cards .slide > .inner,
	.menu-container .image-cards .img-cont,
	.menu-container .image-cards .slide-img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.menu-container .image-cards .slide {
		min-height: 240px;
	}

	.menu-container .image-cards .img-cont {
		aspect-ratio: 49 / 24;
	}
}