.ftv-hero-carousel {
	--ftv-hero-main-max-width: 1600px;
	--ftv-hero-main-radius: 0px;
	--ftv-hero-cointent-max-width: 980px;
	--ftv-hero-transition: 700ms;
	--ftv-hero-thumbs-max-width: 980px;
	--ftv-hero-thumbs-visible: 4;
	--ftv-hero-thumb-gap: 12px;
	--ftv-hero-thumb-safe-margin: 1px;
	--ftv-hero-thumb-radius: 6px;
	--ftv-hero-bg: #112533;
	margin: 0 auto 34px;
	position: relative;
	overflow-x: clip;
}

@keyframes ftv-hero-skeleton-shimmer {
	0% {
		transform: translateX(-120%);
	}
	100% {
		transform: translateX(120%);
	}
}

.ftv-hero-carousel__skeleton {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, #304f60 0%, #233f4f 100%);
	overflow: hidden;
	pointer-events: none;
	z-index: 14;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ftv-hero-carousel__skeleton::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 48%, rgba(255, 255, 255, 0) 100%);
	transform: translateX(-120%);
	animation: ftv-hero-skeleton-shimmer 1.2s ease-in-out infinite;
}

.ftv-hero-carousel[data-ftv-hero-loading="0"] .ftv-hero-carousel__skeleton {
	opacity: 0;
	visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.ftv-hero-carousel__skeleton::after {
		animation: none;
	}
}

.ftv-hero-carousel__main {
	position: relative;
	width: min(100%, var(--ftv-hero-main-max-width));
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--ftv-hero-main-radius);
	background-color: var(--ftv-hero-bg);
	aspect-ratio: 21 / 9;
}

.ftv-hero-carousel__main:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 2px;
}

.ftv-hero-carousel__track {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.ftv-hero-carousel__item {
	position: absolute;
	inset: 0;
	height: 100%;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--ftv-hero-transition) cubic-bezier(0.4, 0, 0.2, 1);
	will-change: opacity;
}

.ftv-hero-carousel__item.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
}

.ftv-hero-carousel:not([data-ftv-hero-ready="1"]) .ftv-hero-carousel__item:first-child {
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
}

.ftv-hero-slide {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: var(--ftv-hero-bg);
}

.ftv-hero-slide__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: top center;
}

.ftv-hero-slide__video-placeholder {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: #000;
}

.ftv-hero-slide__video-placeholder .video-js,
.ftv-hero-slide__video-placeholder video-js {
	width: 100%;
	height: 100%;
}

.ftv-hero-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(17, 37, 51, 1) 0%, rgba(17, 37, 51, 0.85) 34%, rgba(17, 37, 51, 0.1) 72%, rgba(17, 37, 51, 0) 100%);
}

.ftv-hero-slide__overlay:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 37, 51, 0) 90%, rgb(17, 37, 51) 100%);
}


.ftv-hero-slide__content {
	max-width: var(--ftv-hero-cointent-max-width);
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 0 auto;
	padding: clamp(18px, 3.3vw, 56px);
	padding-left: 0;
}

.ftv-hero-slide__content-inner {
	max-width: 560px;
	color: #fff;
	padding: 18px 20px 18px 0;
}

.ftv-hero-slide__title {
	font-size: clamp(24px, 4vw, 48px);
	line-height: 1.08;
}

.ftv-hero-slide__content-inner h1,
.ftv-hero-slide__content-inner h2,
.ftv-hero-slide__content-inner h3,
.ftv-hero-slide__content-inner h4,
.ftv-hero-slide__content-inner h5,
.ftv-hero-slide__content-inner h6,
.ftv-hero-slide__content-inner p {
	color: #fff;
	margin-top: 0;
}

.ftv-hero-slide__content-inner p:last-of-type {
	margin-bottom: 0;
}

.ftv-hero-slide__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 16px;
	padding: 5px 20px;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ftv-hero-slide__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
}

.ftv-hero-slide__actions .ftv-hero-slide__cta {
	margin-top: 0;
}

.ftv-hero-slide__cta--trailer {
	background: rgba(17, 37, 51, 0.45);
	cursor: pointer;
}

.ftv-hero-slide__cta:hover,
.ftv-hero-slide__cta:focus {
	background-color: #fff;
	border-color: #fff;
	color: #112533;
}

.ftv-hero-slide.is-trailer-playing .ftv-hero-slide__overlay,
.ftv-hero-slide.is-trailer-loading .ftv-hero-slide__overlay,
.ftv-hero-slide.is-trailer-playing .ftv-hero-slide__content,
.ftv-hero-slide.is-trailer-loading .ftv-hero-slide__content {
	opacity: 0;
	pointer-events: none;
}

.ftv-hero-prev,
.ftv-hero-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	background: rgba(17, 37, 51, 0.58);
	transition: background-color 0.2s ease;
}

.ftv-hero-prev .fa,
.ftv-hero-next .fa {
	color: #fff;
	font-size: 16px;
	line-height: 1;
	pointer-events: none;
}

.ftv-hero-prev {
	left: 14px;
}

.ftv-hero-next {
	right: 14px;
}

.ftv-hero-prev .fa {
	transform: rotate(180deg);
}

.ftv-hero-prev:hover,
.ftv-hero-next:hover,
.ftv-hero-prev:focus,
.ftv-hero-next:focus {
	background: rgba(17, 37, 51, 0.86);
}

.ftv-hero-carousel__thumbs {
	position: relative;
	z-index: 6;
	width: min(calc(100% - 32px), var(--ftv-hero-thumbs-max-width));
	margin: -124px auto 0;
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}

.ftv-hero-carousel.is-trailer-active .ftv-hero-carousel__thumbs {
	transform: translate3d(0, 92px, 0);
}

.ftv-hero-thumbs-prev,
.ftv-hero-thumbs-next {
	position: absolute;
	top: calc(50% + 2px);
	transform: translateY(-50%) scale(0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 8;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	background: rgba(17, 37, 51, 0.74);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.ftv-hero-thumbs-prev {
	left: -17px;
}

.ftv-hero-thumbs-next {
	right: -17px;
}

.ftv-hero-thumbs-prev .fa,
.ftv-hero-thumbs-next .fa {
	color: #fff;
	font-size: 12px;
	line-height: 1;
	pointer-events: none;
}

.ftv-hero-thumbs-prev .fa {
	transform: rotate(180deg);
}

.ftv-hero-thumbs-prev:hover,
.ftv-hero-thumbs-next:hover,
.ftv-hero-thumbs-prev:focus,
.ftv-hero-thumbs-next:focus {
	background: rgba(17, 37, 51, 0.96);
}

.ftv-hero-carousel__thumbs:hover .ftv-hero-thumbs-prev,
.ftv-hero-carousel__thumbs:hover .ftv-hero-thumbs-next,
.ftv-hero-carousel__thumbs:focus-within .ftv-hero-thumbs-prev,
.ftv-hero-carousel__thumbs:focus-within .ftv-hero-thumbs-next {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(-50%) scale(1);
}

.ftv-hero-carousel__thumb-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (2 * var(--ftv-hero-thumb-safe-margin)) - (var(--ftv-hero-thumb-gap) * (var(--ftv-hero-thumbs-visible) - 1))) / var(--ftv-hero-thumbs-visible));
	gap: var(--ftv-hero-thumb-gap);
	overflow-x: hidden;
	overflow-y: hidden;
	padding: 20px var(--ftv-hero-thumb-safe-margin) 30px;
	scroll-padding-inline: var(--ftv-hero-thumb-safe-margin);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}

.ftv-hero-carousel__thumb-track::-webkit-scrollbar {
	display: none;
}

.ftv-hero-thumb {
	display: block;
	width: 100%;
	padding: 0;
	box-sizing: border-box;
	/*border: 2px solid transparent;*/
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	background-color: #112533 !important;
	border-radius: var(--ftv-hero-thumb-radius);
	cursor: pointer;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	-webkit-user-select: none;
	user-select: none;
}

.ftv-hero-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-user-drag: none;
	user-drag: none;
	-webkit-touch-callout: none;
	pointer-events: none;
}

.ftv-hero-thumb:hover,
.ftv-hero-thumb:focus {
	opacity: 1;
	transform: scale(1.02);
}

.ftv-hero-thumb.is-active,
.ftv-hero-thumb[aria-current="true"] {

	border: 2px solid white;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.ftv-hero-carousel.is-single-slide .ftv-hero-prev,
.ftv-hero-carousel.is-single-slide .ftv-hero-next,
.ftv-hero-carousel.is-single-slide .ftv-hero-thumbs-prev,
.ftv-hero-carousel.is-single-slide .ftv-hero-thumbs-next {
	display: none;
}

@media (max-width: 1280px) {
	.ftv-hero-carousel__thumbs {
		margin-top: -56px;
	}
}

@media (max-width: 1024px) {
	.ftv-hero-carousel__thumbs {
		margin-top: -44px;
	}

	.ftv-hero-prev,
	.ftv-hero-next {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 767px) {
	.ftv-hero-carousel {
		--ftv-hero-thumbs-visible: 2;
		margin-bottom: 20px;
	}

	.ftv-hero-carousel__skeleton {
		border-radius: inherit;
	}

	.ftv-hero-carousel__main {
		border-radius: 8px;
		aspect-ratio: 16 / 10;
	}

	.ftv-hero-slide__content {
		align-items: flex-end;
		padding: 14px;
	}

	.ftv-hero-slide__content-inner {
		max-width: 100%;
		padding: 12px 14px;
		/*background: linear-gradient(180deg, rgba(17, 37, 51, 0) 0%, rgba(17, 37, 51, 0.84) 38%, rgba(17, 37, 51, 0.95) 100%);*/
	}

	.ftv-hero-slide__title {
		font-size: clamp(20px, 7vw, 30px);
	}

	.ftv-hero-slide__content-inner p {
		display: none;
	}

	.ftv-hero-prev,
	.ftv-hero-next {
		top: calc(50% - 18px);
	}

	.ftv-hero-carousel__thumbs {
		width: calc(100% - 24px);
		margin-top: 10px;
	}

	.ftv-hero-thumbs-prev,
	.ftv-hero-thumbs-next {
		top: calc(50% + 1px);
		width: 30px;
		height: 30px;
	}

	.ftv-hero-thumbs-prev {
		left: -6px;
	}

	.ftv-hero-thumbs-next {
		right: -6px;
	}

	.ftv-hero-carousel__thumb-track {
		padding-bottom: 2px;
	}

	.ftv-hero-carousel.is-trailer-active .ftv-hero-carousel__thumbs {
		transform: none;
	}
}
