/* Crypal custom hero — replaces RoyalSlider markup on homepage */
.cry-hero-carousel {
	position: relative;
	width: 100%;
	height: clamp(240px, 34vw, 520px);
	overflow: hidden;
	background: #1a1a1a;
}

@media (min-width: 992px) {
	.cry-hero-carousel {
		height: clamp(300px, 30vw, 540px);
	}
}

.cry-hero-carousel .cry-hero-slides {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

.cry-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.65s ease, visibility 0.65s ease;
	z-index: 0;
}

.cry-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.cry-hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cry-hero-caption {
	position: absolute;
	left: 0;
	right: auto;
	bottom: 0;
	max-width: 92%;
	padding: 1rem 1.25rem 1.75rem;
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
	/* px + vw: site html is 62.5% so rem-based sizes were ~half “normal” hero type */
	font-size: clamp(20px, 3.8vw, 46px);
	line-height: 1.18;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
	pointer-events: none;
}

.cry-hero-caption p {
	margin: 0 0 0.2em;
}

.cry-hero-caption--stack {
	font-size: clamp(18px, 3.1vw, 38px);
	line-height: 1.15;
	letter-spacing: 0.05em;
}

.cry-hero-caption--stack p {
	margin-bottom: 0.08em;
}

@media (min-width: 992px) {
	.cry-hero-caption {
		padding: 1.5rem 2.5rem 2.25rem;
		max-width: 55%;
		font-size: clamp(24px, 3.4vw, 52px);
	}

	.cry-hero-caption--stack {
		font-size: clamp(20px, 2.8vw, 42px);
	}
}

.cry-hero-prev,
.cry-hero-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 2.5rem;
	height: 3.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.cry-hero-prev:hover,
.cry-hero-next:hover,
.cry-hero-prev:focus-visible,
.cry-hero-next:focus-visible {
	background: rgba(0, 0, 0, 0.55);
	outline: none;
}

.cry-hero-prev {
	left: 0;
	border-radius: 0 3px 3px 0;
}

.cry-hero-next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

.cry-hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.65rem;
	z-index: 4;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	padding: 0 0.5rem;
}

.cry-hero-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.cry-hero-dot.is-active {
	background: #fff;
	transform: scale(1.1);
}

.cry-hero-dot:hover,
.cry-hero-dot:focus-visible {
	background: rgba(255, 255, 255, 0.65);
	outline: none;
}
