.ftlhs {
	--ftlhs-red: #db2c2c;
	--ftlhs-desktop-height: 700px;
	--ftlhs-mobile-height: 560px;
	--ftlhs-transition: 600ms;
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	height: var(--ftlhs-desktop-height);
	min-height: 420px;
	background: #29343a;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.ftlhs.is-dragging,
.ftlhs.is-dragging .ftlhs__slide.has-full-link {
	cursor: grabbing;
}

.ftlhs .ftlhs__image {
	-webkit-user-drag: none;
}

.ftlhs-preview-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px 18px;
	min-height: 48px;
	padding: 10px 24px;
	background: #182229;
	color: #fff;
	font: 600 14px/1.4 "Nunito Sans", system-ui, sans-serif;
	text-align: center;
}

.ftlhs-preview-note strong {
	color: #fff;
	font-weight: 800;
}

.ftlhs-preview-note span {
	color: rgba(255, 255, 255, .78);
}

.ftlhs-preview-note--existing {
	background: #a82128;
}

@media (max-width: 767px) {
	.ftlhs-preview-note {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
		padding-inline: 18px;
		text-align: left;
	}
}

.ftlhs *,
.ftlhs *::before,
.ftlhs *::after {
	box-sizing: border-box;
}

.ftlhs [hidden] {
	display: none !important;
}

.ftlhs__slides,
.ftlhs__slide,
.ftlhs__picture,
.ftlhs__shade {
	position: absolute;
	inset: 0;
}

.ftlhs__slide {
	z-index: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--ftlhs-transition) ease, visibility 0s linear var(--ftlhs-transition);
}

.ftlhs__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

.ftlhs__picture {
	display: block;
}

.ftlhs .ftlhs__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--ftlhs-focal-x, 50%) var(--ftlhs-focal-y, 50%);
}

.ftlhs__shade {
	background: transparent;
}

.ftlhs__full-link {
	position: absolute;
	z-index: 2;
	inset: 0;
}

.ftlhs__slide.has-full-link .ftlhs__content-wrap {
	pointer-events: none;
}

.ftlhs__slide.has-full-link {
	cursor: pointer;
}

.ftlhs__slide.has-full-link .ftlhs__button {
	pointer-events: auto;
}

.ftlhs__slide--light .ftlhs__shade {
	background: transparent;
}

.ftlhs__slide--dark .ftlhs__shade {
	background: transparent;
}

.ftlhs__content-wrap {
	position: relative;
	z-index: 2;
	display: grid;
	align-items: center;
	width: min(100% - 48px, 1170px);
	height: 100%;
	margin-inline: auto;
	padding: 68px 0 86px;
}

.ftlhs__content {
	width: min(650px, 62%);
}

.ftlhs__slide--center .ftlhs__content {
	margin-inline: auto;
	text-align: center;
}

.ftlhs__slide--right .ftlhs__content {
	margin-left: auto;
	text-align: right;
}

.ftlhs__title {
	max-width: 17ch;
	margin: 0;
	color: var(--ftlhs-title-color, inherit);
	font-family: Quicksand, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	text-wrap: balance;
}

.ftlhs__slide.has-accent-title .ftlhs__title {
	color: var(--ftlhs-title-color, var(--ftlhs-red));
}

.ftlhs__slide--center .ftlhs__title,
.ftlhs__slide--right .ftlhs__title {
	margin-inline: auto;
}

.ftlhs__slide--right .ftlhs__title {
	margin-right: 0;
}

.ftlhs__text {
	max-width: 58ch;
	margin: 20px 0 0;
	color: var(--ftlhs-text-color, inherit);
	font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 35px;
	overflow-wrap: break-word;
	white-space: normal;
}

.ftlhs__slide--center .ftlhs__text,
.ftlhs__slide--right .ftlhs__text {
	margin-inline: auto;
}

.ftlhs__slide--right .ftlhs__text {
	margin-right: 0;
}

.ftlhs__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 28px;
	padding: 12px 24px;
	border: 2px solid var(--ftlhs-red);
	border-radius: 4px;
	background: var(--ftlhs-red);
	box-shadow: none;
	color: #fff;
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: .92rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.ftlhs__button:hover,
.ftlhs__button:focus-visible {
	border-color: #b21f25;
	background: #b21f25;
	color: #fff;
	transform: translateY(-1px);
}

.ftlhs__button:focus-visible,
.ftlhs button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.ftlhs__slide--dark {
	color: #162229;
}

.ftlhs__controls {
	position: absolute;
	z-index: 3;
	right: max(24px, calc((100% - 1170px) / 2));
	bottom: 28px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ftlhs__dot {
	appearance: none;
	margin: 0;
	border: 0;
	box-shadow: none;
	cursor: pointer;
}

.ftlhs__dots {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 4px;
}

.ftlhs__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, .58);
	transition: width 160ms ease, background-color 160ms ease;
}

.ftlhs__dot:hover,
.ftlhs__dot:focus-visible,
.ftlhs__dot.is-active {
	background: #fff;
}

.ftlhs__dot.is-active {
	width: 25px;
}

.ftlhs__status {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 767px) {
	.ftlhs__slide--device-desktop,
	.ftlhs__dot[data-device="desktop"] {
		display: none !important;
	}

	.ftlhs {
		/* Mobile artwork is designed at roughly 430 × 525. Scale the hero with
		 * that ratio on narrower phones so sponsor strips are not cropped, while
		 * retaining the editor's configured height as the upper limit. */
		height: min(var(--ftlhs-mobile-height), 122.1vw);
		min-height: min(420px, 122.1vw);
	}

	.ftlhs .ftlhs__image {
		object-position: var(--ftlhs-mobile-focal-x, 50%) var(--ftlhs-mobile-focal-y, 50%);
	}

	.ftlhs__content-wrap {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
	}

	.ftlhs__content,
	.ftlhs__slide--right .ftlhs__content {
		position: absolute;
		top: calc(50% - 66px);
		right: 12px;
		bottom: auto;
		left: 12px;
		width: auto;
		margin: 0;
		text-align: left;
	}

	.ftlhs__slide--center .ftlhs__content {
		text-align: center;
	}

	.ftlhs__title,
	.ftlhs__slide--right .ftlhs__title {
		position: static;
		max-width: 381px;
		margin: 0;
		font-size: clamp(2.25rem, 9.3vw, 2.5rem);
		font-weight: 700;
		line-height: 1.15;
		text-shadow: 0 1px 2px rgba(255, 255, 255, .72);
	}

	.ftlhs__slide:not(.has-accent-title) .ftlhs__title {
		max-width: 381px;
		text-shadow: 0 2px 5px rgba(0, 0, 0, .72);
	}

	.ftlhs__text,
	.ftlhs__slide--right .ftlhs__text {
		position: static;
		width: auto;
		max-width: 46ch;
		margin: 12px 0 0;
		font-size: clamp(1rem, 4.42vw, 1.1875rem);
		font-weight: 500;
		line-height: 27px;
		text-shadow: 0 1px 2px rgba(255, 255, 255, .82);
	}

	.ftlhs__slide--light .ftlhs__text {
		text-shadow: 0 2px 5px rgba(0, 0, 0, .76);
	}

	.ftlhs__button {
		min-height: 44px;
		margin-top: 20px;
		padding: 10px 19px;
	}

	.ftlhs__controls {
		right: 18px;
		bottom: 110px;
		left: 18px;
		justify-content: center;
	}
}

@media (min-width: 768px) {
	.ftlhs__slide--device-mobile,
	.ftlhs__dot[data-device="mobile"] {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ftlhs__slide,
	.ftlhs__button,
	.ftlhs__dot {
		transition: none !important;
	}
}
