/* FAB Reels Carousel runtime styles. */
.fab-reels-carousel {
	--fab-reels-per-view: 5;
	--fab-reels-gap: 24px;
	--fab-reels-radius: 18px;
	--fab-reels-ratio: 9 / 16;
	--fab-reels-duration: 650ms;
	--fab-reels-overlay: #000000;
	--fab-reels-overlay-opacity: 0.38;
	--fab-reels-dot-color: rgba(16, 24, 40, 0.28);
	--fab-reels-dot-active-color: #65328F;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	color: #101828;
	font-family: Inter, Arial, sans-serif;
	contain: paint;
	isolation: isolate;
}

.fab-reels-carousel *,
.fab-reels-carousel *::before,
.fab-reels-carousel *::after {
	box-sizing: border-box;
}

.fab-reels-carousel__inner {
	width: 100%;
	margin-inline: auto;
}

.fab-reels-carousel__header {
	max-width: 760px;
	margin-bottom: clamp(24px, 4vw, 42px);
}

.fab-reels-carousel__eyebrow {
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.fab-reels-carousel__heading {
	margin: 0;
	letter-spacing: 0;
}

.fab-reels-carousel__description {
	margin: 14px 0 0;
	max-width: 680px;
}

.fab-reels-carousel__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	contain: paint;
	touch-action: pan-y;
	outline: none;
}

.fab-reels-carousel__viewport:focus-visible,
.fab-reels-carousel__arrow:focus-visible,
.fab-reels-carousel__dot:focus-visible,
.fab-reels-carousel__play:focus-visible,
.fab-reels-carousel__cta:focus-visible {
	outline: 2px solid #C89412;
	outline-offset: 4px;
}

.fab-reels-carousel__track {
	display: flex;
	gap: var(--fab-reels-gap);
	width: 100%;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	transition: transform var(--fab-reels-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.fab-reels-carousel.is-dragging .fab-reels-carousel__track,
.fab-reels-carousel.is-silent-reset .fab-reels-carousel__track,
.fab-reels-carousel[data-mode="static"] .fab-reels-carousel__track {
	transition: none;
}

.fab-reels-carousel.is-dragging .fab-reels-carousel__track {
	cursor: grabbing;
	user-select: none;
}

.fab-reels-carousel__slide {
	flex: 0 0 calc((100% - (var(--fab-reels-gap) * (var(--fab-reels-per-view) - 1))) / var(--fab-reels-per-view));
	min-width: 0;
}

.fab-reels-carousel__slide--clone {
	pointer-events: none;
}

.fab-reels-carousel__card {
	position: relative;
	display: grid;
	aspect-ratio: var(--fab-reels-ratio);
	overflow: hidden;
	border: solid transparent;
	border-radius: var(--fab-reels-radius);
	background: #101828;
	isolation: isolate;
}

.fab-reels-carousel__video {
	grid-area: 1 / 1;
	display: block;
	width: 100%;
	height: 100%;
	background: #101828;
	border-radius: inherit;
	object-fit: cover;
}

.fab-reels-carousel__card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.1) 55%, transparent);
	opacity: var(--fab-reels-overlay-opacity);
	pointer-events: none;
}

.fab-reels-carousel__play {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 999px;
	background: rgba(16, 24, 40, 0.56);
	color: #FFFFFF;
	transform: translate(-50%, -50%);
	cursor: pointer;
	transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.fab-reels-carousel__play span {
	display: block;
	width: 0;
	height: 0;
	margin-left: 4px;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 15px solid currentColor;
}

.fab-reels-carousel__slide.is-playing .fab-reels-carousel__play {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.94);
}

.fab-reels-carousel__content {
	position: relative;
	z-index: 2;
	grid-area: 1 / 1;
	align-self: end;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 18px;
	pointer-events: none;
}

.fab-reels-carousel__title {
	margin: 0;
	font-size: 18px;
	font-weight: 650;
	line-height: 1.2;
}

.fab-reels-carousel__caption {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

.fab-reels-carousel__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 4px;
	text-decoration: none;
	pointer-events: auto;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.fab-reels-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
}

.fab-reels-carousel__controls:empty {
	display: none;
}

.fab-reels-carousel__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	border: 1px solid rgba(16, 24, 40, 0.14);
	box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.fab-reels-carousel__arrow:hover,
.fab-reels-carousel__arrow:focus-visible {
	transform: translateY(-1px);
}

.fab-reels-carousel__arrow[disabled],
.fab-reels-carousel__arrow[aria-disabled="true"] {
	opacity: 0.38;
	cursor: not-allowed;
	transform: none;
}

.fab-reels-carousel__arrow span {
	display: block;
	font-size: 28px;
	line-height: 1;
	transform: translateY(-1px);
}

.fab-reels-carousel__dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 44px;
}

.fab-reels-carousel__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent !important;
	cursor: pointer;
}

.fab-reels-carousel__dot[hidden] {
	display: none !important;
}

.fab-reels-carousel__dot::before {
	content: "";
	display: block;
	width: inherit;
	height: inherit;
	min-width: 8px;
	min-height: 8px;
	border-radius: 999px;
	background: var(--fab-reels-dot-color);
	transform: scale(1);
	transition: transform 180ms ease, background-color 180ms ease;
}

.fab-reels-carousel__dot.is-active::before {
	background: var(--fab-reels-dot-active-color);
	transform: scale(1.25);
}

@media (max-width: 1024px) {
	.fab-reels-carousel {
		--fab-reels-per-view: 3;
		--fab-reels-gap: 18px;
	}
}

@media (max-width: 767px) {
	.fab-reels-carousel {
		--fab-reels-per-view: 1;
		--fab-reels-gap: 14px;
	}

	.fab-reels-carousel__header {
		margin-bottom: 22px;
	}

	.fab-reels-carousel__controls {
		margin-top: 18px;
	}

	.fab-reels-carousel__arrow {
		width: 44px !important;
		height: 44px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fab-reels-carousel,
	.fab-reels-carousel * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
