/* ==========================================================================
   Front-page hero slider — washington.org style
   Full-bleed slides, gradient overlays, headline + text + SEE MORE,
   arrows and dots. Purple accents match the header.
   ========================================================================== */

.jcu-hero {
	--jcuhr-purple: #68267e;
	position: relative;
	/* Height comes from Slider Settings when set; responsive clamp otherwise */
	height: var(--jcu-hero-h, clamp(420px, 58vh, 640px));
	overflow: hidden;
	background: #1a1020;
}

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

.jcu-hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

/* Gradients top and bottom, like the reference */

.jcu-hero__grad {
	position: absolute;
	left: 0;
	right: 0;
	pointer-events: none;
}

.jcu-hero__grad--top {
	top: 0;
	height: 30%;
	background: linear-gradient(rgba(10, 5, 14, 0.55), transparent);
}

.jcu-hero__grad--bottom {
	bottom: 0;
	height: 60%;
	background: linear-gradient(transparent, rgba(10, 5, 14, 0.78));
}

/* Content block, bottom-left */

.jcu-hero__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 4.5rem 3rem;
	color: #fff;
}

.jcu-hero__title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.9rem, 4.5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.08;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.jcu-hero__title a {
	color: #fff !important;
	text-decoration: none;
}

.jcu-hero__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

.jcu-hero__text {
	margin: 0 0 1.1rem;
	max-width: 640px;
	font-size: clamp(0.95rem, 1.4vw, 1.1rem);
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.94);
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.jcu-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff !important;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid rgba(255, 255, 255, 0.55);
	padding-bottom: 0.3rem;
	transition: border-color 0.2s, gap 0.2s;
}

.jcu-hero__cta:hover {
	border-color: #fff;
	gap: 0.8rem;
}

.jcu-hero__cta svg {
	width: 16px;
	height: 16px;
}

/* Arrows */

.jcu-hero__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background: rgba(10, 5, 14, 0.35);
	color: #fff;
	cursor: pointer;
	line-height: 0;
	transition: background 0.2s, border-color 0.2s;
}

.jcu-hero__arrow:hover {
	background: var(--jcuhr-purple);
	border-color: var(--jcuhr-purple);
}

.jcu-hero__arrow--prev {
	left: 1.1rem;
}

.jcu-hero__arrow--next {
	right: 1.1rem;
}

.jcu-hero__arrow svg {
	width: 22px;
	height: 22px;
}

/* Dots */

.jcu-hero__dots {
	position: absolute;
	right: 4.5rem;
	bottom: 1.4rem;
	z-index: 2;
	display: flex;
	gap: 0.55rem;
}

.jcu-hero__dots button {
	width: 11px;
	height: 11px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}

.jcu-hero__dots button:hover {
	transform: scale(1.25);
}

.jcu-hero__dots button.is-active {
	background: #fff;
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 820px) {
	.jcu-hero {
		/* Phones: cap at 75% of the configured height, or the responsive default */
		height: min(calc(var(--jcu-hero-h, 520px) * 0.75), clamp(360px, 52vh, 520px));
	}

	.jcu-hero__content {
		padding: 0 1.25rem 3.4rem;
	}

	.jcu-hero__arrow {
		display: none;
	}

	.jcu-hero__dots {
		right: 50%;
		transform: translateX(50%);
		bottom: 1.1rem;
	}
}
