/*
 * Static hero, replacement for the Slider Revolution module.
 *
 * Values taken from the archived rs6 layer attributes:
 *   eyebrow  15/13/12px, line-height 32/30/20, letter-spacing 2px, weight 500, uppercase
 *   title    117/74/46/40px, line-height 107/68/44/30, letter-spacing -1px, weight 700
 *   button   16px, line-height 57, weight 600, padding 0 55px, #0a0a93 → #136eff on hover
 */

.tk-hero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	height: clamp(420px, calc(100vh - 120px), 900px);
	overflow: hidden;
	background: #1f242e;
}

.tk-hero__slide {
	position: absolute;
	inset: 0;
	background-position: center center;
	background-size: cover;
	opacity: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.tk-hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.tk-hero__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 6%;
	text-align: center;
	color: #fff;
}

.tk-hero__eyebrow {
	margin: 0;
	font-family: "paralucent", sans-serif;
	font-size: 15px;
	line-height: 32px;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.tk-hero__title {
	margin: 0;
	font-family: "paralucent", sans-serif;
	font-size: 117px;
	line-height: 107px;
	font-weight: 700;
	letter-spacing: -1px;
	color: #fff;
}

.tk-hero__cta {
	margin-top: 28px;
	display: inline-block;
	padding: 0 55px;
	font-family: "paralucent", sans-serif;
	font-size: 16px;
	line-height: 57px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background-color: #0a0a93;
	transition: background-color 0.3s ease;
}

.tk-hero__cta:hover,
.tk-hero__cta:focus {
	background-color: #136eff;
	color: #fff;
}

/* arrows: same look as the theme's qwery_simple_2 skin */
.tk-hero__nav {
	position: absolute;
	top: 50%;
	width: 63px;
	height: 63px;
	margin-top: -31px;
	padding: 0;
	border: 0;
	background: #181b22;
	color: #fff;
	cursor: pointer;
	z-index: 3;
	transition: background 0.3s ease;
}

.tk-hero__nav:hover {
	background: #000;
}

.tk-hero__nav::before {
	font-family: "fontello";
	font-size: 14px;
	line-height: 63px;
	display: block;
	content: "\EA08";
}

.tk-hero__nav--prev {
	left: 0;
}

.tk-hero__nav--prev::before {
	transform: rotate(-90deg);
}

.tk-hero__nav--next {
	right: 0;
}

.tk-hero__nav--next::before {
	transform: rotate(90deg);
}

.tk-hero__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 32px;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 3;
}

.tk-hero__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.tk-hero__dot.is-active {
	background: #fff;
}

@media (max-width: 1240px) {
	.tk-hero__title {
		font-size: 74px;
		line-height: 68px;
	}

	.tk-hero__eyebrow {
		font-size: 13px;
		line-height: 30px;
	}
}

@media (max-width: 1024px) {
	.tk-hero__title {
		font-size: 46px;
		line-height: 44px;
	}

	.tk-hero__eyebrow {
		font-size: 12px;
		line-height: 20px;
		letter-spacing: 1px;
	}

	.tk-hero__cta {
		padding: 0 30px;
		font-size: 14px;
		line-height: 46px;
	}
}

@media (max-width: 640px) {
	.tk-hero {
		height: clamp(380px, calc(100vh - 80px), 640px);
	}

	.tk-hero__title {
		font-size: 40px;
		line-height: 30px;
	}

	.tk-hero__nav {
		width: 44px;
		height: 44px;
		margin-top: -22px;
	}

	.tk-hero__nav::before {
		line-height: 44px;
	}
}

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