﻿/* from TourHeroGallerySlider.module.css */
[data-tp="tour-hero-slider"] {
.wrap {
	position: relative;
	z-index: 0;
	width: 100%;
	overflow: hidden;
	background: #1a2332;
	aspect-ratio: 4 / 3.2;
	max-height: 420px;
	--marquee-duration: 24s;
	--marquee-shift: 0px;
}

@media (max-width: 991px) {
	.wrap {
		height: 360px;
		min-height: 360px;
		max-height: 360px;
		aspect-ratio: unset;
	}
}

@media (max-width: 575px) {
	.wrap {
		height: 330px;
		min-height: 330px;
		max-height: 330px;
	}
}

.viewport {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.track {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	height: 100%;
	width: max-content;
	will-change: transform;
}

.trackReady {
	animation: heroGalleryMarquee var(--marquee-duration) linear infinite;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
}

.wrap:hover .trackReady {
	animation-play-state: paused;
}

.set {
	display: flex;
	flex-wrap: nowrap;
	flex: 0 0 auto;
	align-items: stretch;
	height: 100%;
}

.slide {
	flex: 0 0 auto;
	height: 100%;
	width: auto;
}

.img {
	height: 100%;
	width: auto;
	max-width: none;
	display: block;
	user-select: none;
	pointer-events: none;
}



@media (prefers-reduced-motion: reduce) {
	.trackReady {
		animation-duration: calc(var(--marquee-duration) * 2);
	}
}

.overlay {
	position: absolute;
	inset: auto 0 0;
	z-index: 2;
	display: none;
	padding: 48px 20px 18px;
	background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 22, 0.55) 42%, rgba(8, 12, 22, 0.88) 100%);
	pointer-events: none;
}

.dest {
	margin: 0 0 8px;
	font-family: var(--heading-font-family, "Cormorant Garamond", Georgia, serif) !important;
	font-size: clamp(2.4rem, 10vw, 3.4rem);
	line-height: 0.95;
	font-weight: 500;
	color: #fff;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.duration {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px;
	padding: 8px 16px 8px 14px;
	background: linear-gradient(90deg, #b71c1c 0%, #e53935 42%, #c62828 100%);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
	box-shadow: 0 8px 18px rgba(229, 57, 53, 0.28);
}

.durationNum {
	color: #fbbf24;
}

}

@keyframes heroGalleryMarquee {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(calc(-1 * var(--marquee-shift)), 0, 0);
	}
}

