/**
 * Hero Page template — full-width optional hero (template-hero-page.php)
 */

.jumpstart-page-hero {
	position: relative;
	min-height: clamp(18rem, 72vh, 40rem);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: clamp(3rem, 8vw, 5rem) 1.25rem;
	background-color: #0c4a6e;
	color: #fff;
}

/* Fallback gradient when no background image */
.jumpstart-page-hero:not(.jumpstart-page-hero--has-image) {
	background-image: linear-gradient(155deg, #0c4a6e 0%, #0369a1 42%, #0f2844 100%);
}

.jumpstart-page-hero--has-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: var(--jumpstart-page-hero-bg);
}

.jumpstart-page-hero--has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.82) 100%);
	pointer-events: none;
}

.jumpstart-page-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 46rem;
	margin: 0 auto;
}

.jumpstart-page-hero__title {
	font-family: var(--font-display, Georgia, serif);
	font-size: clamp(1.875rem, 5vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 0.75rem;
	color: #fff;
	text-wrap: balance;
}

.jumpstart-page-hero__subtitle {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	line-height: 1.55;
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.92);
	max-width: 42ch;
	margin-left: auto;
	margin-right: auto;
}

.jumpstart-page-hero__cta {
	margin: 0;
}

.jumpstart-page-hero__btn {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.jumpstart-page-hero__btn:hover {
	filter: brightness(1.06);
}

.jumpstart-hero-page-body {
	padding-top: clamp(2.5rem, 6vw, 4rem);
}

.jumpstart-hero-page-article .entry-content > *:first-child {
	margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
	.jumpstart-page-hero__btn:hover {
		filter: none;
	}
}
