.tbhs {
	--tbhs-accent: #f59e0b;
	background: #0b1f33;
	color: #fff;
	display: grid;
	isolation: isolate;
	min-height: clamp(22rem, 62vw, 50rem);
	overflow: hidden;
	position: relative;
}

.tbhs__viewport,
.tbhs__slide,
.tbhs__media,
.tbhs__shade {
	grid-area: 1 / 1;
	height: 100%;
	width: 100%;
}

.tbhs__viewport {
	display: grid;
}

.tbhs__slide {
	display: grid;
	opacity: 0;
	pointer-events: none;
	transition: opacity 500ms ease;
	visibility: hidden;
}

.tbhs__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.tbhs__media {
	border: 0;
	object-fit: cover;
	transform: scale(1.01);
}

.tbhs__video {
	left: 50%;
	min-height: 100%;
	min-width: 177.78%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.tbhs__shade {
	background: linear-gradient(90deg, rgba(4, 18, 31, 0.78), rgba(4, 18, 31, 0.2) 70%);
}

.tbhs__content {
	align-self: center;
	grid-area: 1 / 1;
	justify-self: center;
	max-width: 74rem;
	padding: 4rem clamp(2rem, 7vw, 7rem);
	position: relative;
	width: 100%;
	z-index: 2;
}

.tbhs__content h2 {
	color: inherit;
	font-size: clamp(2rem, 5vw, 4.75rem);
	line-height: 1.05;
	margin: 0 0 1rem;
	max-width: 18ch;
}

.tbhs__content p {
	font-size: clamp(1rem, 2vw, 1.35rem);
	line-height: 1.6;
	margin: 0 0 1.5rem;
	max-width: 54ch;
}

.tbhs__link {
	background: var(--tbhs-accent);
	border-radius: 999px;
	color: #111827;
	display: inline-block;
	font-weight: 700;
	padding: 0.8rem 1.35rem;
	text-decoration: none;
}

.tbhs__link:focus-visible,
.tbhs__control:focus-visible,
.tbhs__dots button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.tbhs__control {
	align-self: center;
	background: rgba(0, 0, 0, 0.42);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	grid-area: 1 / 1;
	height: 3rem;
	line-height: 1;
	padding: 0;
	position: relative;
	width: 3rem;
	z-index: 3;
}

.tbhs__control--previous {
	justify-self: start;
	margin-inline-start: 1rem;
}

.tbhs__control--next {
	justify-self: end;
	margin-inline-end: 1rem;
}

.tbhs__dots {
	align-self: end;
	display: flex;
	gap: 0.55rem;
	grid-area: 1 / 1;
	justify-self: center;
	margin-bottom: 1.25rem;
	position: relative;
	z-index: 3;
}

.tbhs__dots button {
	background: rgba(255, 255, 255, 0.58);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	height: 0.7rem;
	padding: 0;
	width: 0.7rem;
}

.tbhs__dots button[aria-current="true"] {
	background: var(--tbhs-accent);
	transform: scale(1.28);
}

@media (max-width: 48rem) {
	.tbhs__control {
		display: none;
	}

	.tbhs__content {
		padding-inline: 1.5rem;
		text-align: center;
	}

	.tbhs__content h2,
	.tbhs__content p {
		margin-inline: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tbhs__slide {
		transition: none;
	}
}

