/*
 * TCS Hero. Heights follow the old Slider Revolution setup: 700px on a
 * 1240px-wide screen, shrinking proportionally below that.
 */
.tcs-hero {
	position: relative;
	width: 100%;
	height: clamp(320px, 56.45vw, var(--tcs-hero-max, 700px));
	overflow: hidden;
	background: #b5532c;
	isolation: isolate;
	touch-action: pan-y;
}

.tcs-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.tcs-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

/* Salient sizes content images with `.row .col img { height: auto }`. */
.tcs-hero .tcs-hero__slide img.tcs-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Caption position matches the old slider: 442px in on its 1240px grid. */
.tcs-hero__caption {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.tcs-hero__inner {
	box-sizing: border-box;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(28px, 6.5vw, 80px) 40px 0 min(442px, 35.6vw);
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.tcs-hero .tcs-hero__title,
.tcs-hero .tcs-hero__subtitle {
	margin: 0;
	padding: 0;
	color: inherit;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.tcs-hero .tcs-hero__title {
	font-size: clamp(34px, 6.45vw, 80px);
	line-height: 1.15;
}

.tcs-hero .tcs-hero__subtitle {
	margin-top: 0.45em;
	font-size: clamp(19px, 3.63vw, 45px);
	line-height: 1.15;
	opacity: 0.9;
}

/* Prev/next: two plain arrows, vertically centred. */
.tcs-hero .tcs-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 64px;
	height: 64px;
	margin: -32px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	opacity: 0.85;
	transition: opacity 0.2s, transform 0.2s;
}

.tcs-hero__arrow--prev {
	left: 24px;
}

.tcs-hero__arrow--next {
	right: 24px;
}

.tcs-hero__chevron {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5));
}

.tcs-hero__arrow:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	opacity: 1;
}

@media (hover: hover) {
	.tcs-hero__arrow:hover {
		opacity: 1;
	}

	.tcs-hero__arrow--prev:hover {
		transform: translateX(-3px);
	}

	.tcs-hero__arrow--next:hover {
		transform: translateX(3px);
	}
}

@media (max-width: 999px) {
	.tcs-hero__inner {
		padding: clamp(24px, 6vw, 60px) 72px 0;
	}

	.tcs-hero .tcs-hero__arrow {
		width: 56px;
		height: 56px;
		margin-top: -28px;
	}

	.tcs-hero__arrow--prev {
		left: 8px;
	}

	.tcs-hero__arrow--next {
		right: 8px;
	}

	.tcs-hero__chevron {
		width: 32px;
		height: 32px;
		margin: -16px 0 0 -16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tcs-hero__slide,
	.tcs-hero__arrow {
		transition: none;
	}
}
