.reely-empty {
	text-align: center;
	opacity: .6;
}

.st-igv-wrap {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

.st-igv-track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 6px 2px;
}

.st-igv-track::-webkit-scrollbar {
	display: none;
}

.st-igv__card {
	flex: 0 0 calc(100% / (var(--st-igv-cols, 5) + 0.5) - 11px);
	scroll-snap-align: start;
	position: relative;
	display: block;
	aspect-ratio: 9 / 16;
	border-radius: 14px;
	overflow: hidden;
	background-color: #e9e9e9;
	background-size: cover;
	background-position: center;
	text-decoration: none;
}

.st-igv__card:focus-visible {
	outline: 3px solid #fa1d8f;
	outline-offset: 3px;
}

.st-igv__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.st-igv__card:hover .st-igv__thumb {
	transform: scale(1.06);
}

.st-igv__cap {
	position: absolute;
	inset: auto 0 0 0;
	padding: 26px 12px 10px;
	color: #fff;
	font-size: 12px;
	line-height: 1.35;
	background: linear-gradient(transparent, rgba(0, 0, 0, .72));
	opacity: 0;
	transition: opacity .3s;
}

.st-igv__card:hover .st-igv__cap,
.st-igv__card:focus-visible .st-igv__cap {
	opacity: 1;
}

@media (max-width: 600px) {
	.st-igv-wrap {
		--st-igv-cols: 2 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.st-igv-track {
		scroll-behavior: auto;
	}

	.st-igv__thumb,
	.st-igv__cap {
		transition: none;
	}
}
