/**
 * Hero Carrossel — front-end styles.
 * Slides are stacked in a single grid cell so they crossfade and the
 * wrapper auto-sizes to the tallest slide (no fixed height needed).
 */

.hc-hero {
	position: relative;
	width: 100%;
	text-align: left;
}

.hc-slides {
	display: grid;
}

.hc-slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--hc-fade, 1500ms) ease-in-out, visibility 0s linear var(--hc-fade, 1500ms);
	pointer-events: none;
}

.hc-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity var(--hc-fade, 1500ms) ease-in-out, visibility 0s linear 0s;
	pointer-events: auto;
}

/* Before JS runs, show the first slide to avoid an empty box (no-JS fallback). */
.hc-hero:not(.hc-ready) .hc-slide:first-child {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.hc-title {
	margin: 0 0 16px;
	font-family: "Poppins", sans-serif;
	font-size: 61px;
	font-weight: 400;
	line-height: 67px;
	color: #ffffff;
}

.hc-text {
	margin: 0 0 24px;
	max-width: 40em;
	font-family: "Poppins", sans-serif;
	font-size: 24px;
	font-weight: 300;
	letter-spacing: 1px;
	color: #ffffff;
}

/* Each Enter may produce a <p>; render it as a plain line (no extra gap). */
.hc-title p,
.hc-text p {
	margin: 0;
}

.hc-button {
	display: inline-block;
	text-decoration: none;
	padding: 14px 28px;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 3px;
	line-height: 1;
	border: 1px solid #ffffff;
	border-radius: 999px;
	background-color: #ffffff;
	color: #030407 !important;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hc-button:hover,
.hc-button:focus {
	background-color: #728972;
	border-color: #728972;
	color: #030407 !important;
}

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