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

.jumpstart-page-hero {
	position: relative;
	min-height: 200px;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1rem 1.25rem;
	background-color: #0c4a6e;
	color: #fff;
	overflow: hidden;
}

/* Contact form layout needs more than 200px — keep banner minimum, allow content height */
.jumpstart-page-hero--layout-split {
	height: auto;
	min-height: 200px;
	overflow: visible;
}

/* Explicit gradient mode (presets or custom inline on element) */
.jumpstart-page-hero--gradient.jumpstart-page-hero--grad-brand {
	background-image: linear-gradient(155deg, #0c4a6e 0%, #0369a1 42%, #0f2844 100%);
}

.jumpstart-page-hero--gradient.jumpstart-page-hero--grad-midnight {
	background-image: linear-gradient(155deg, #0f172a 0%, #312e81 55%, #1e1b4b 100%);
}

.jumpstart-page-hero--gradient.jumpstart-page-hero--grad-ocean {
	background-image: linear-gradient(155deg, #164e63 0%, #0e7490 50%, #155e75 100%);
}

.jumpstart-page-hero--gradient.jumpstart-page-hero--grad-ember {
	background-image: linear-gradient(155deg, #431407 0%, #c2410c 48%, #9a3412 100%);
}

.jumpstart-page-hero--gradient.jumpstart-page-hero--grad-forest {
	background-image: linear-gradient(155deg, #14532d 0%, #166534 50%, #15803d 100%);
}

.jumpstart-page-hero--gradient.jumpstart-page-hero--grad-sunset {
	background-image: linear-gradient(155deg, #581c87 0%, #c026d3 45%, #be185d 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__outer {
	position: relative;
	z-index: 1;
	width: 100%;
}

.jumpstart-page-hero__notices {
	text-align: left;
}

.jumpstart-page-hero__notice {
	max-width: 42rem;
}

.jumpstart-page-hero__grid {
	position: relative;
	z-index: 1;
	display: block;
}

.jumpstart-page-hero:not(.jumpstart-page-hero--layout-split) .jumpstart-page-hero__primary {
	max-width: 46rem;
	margin-inline: auto;
}

.jumpstart-page-hero--layout-split .jumpstart-page-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 2.5rem);
	align-items: start;
	text-align: left;
}

@media (min-width: 960px) {
	.jumpstart-page-hero--layout-split .jumpstart-page-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
		gap: clamp(2rem, 5vw, 3.5rem);
		align-items: start;
	}
}

.jumpstart-page-hero--layout-split .jumpstart-page-hero__primary {
	text-align: left;
}

.jumpstart-page-hero--layout-split .jumpstart-page-hero__subtitle {
	margin-left: 0;
	margin-right: 0;
	max-width: 52ch;
}

.jumpstart-page-hero__title {
	font-family: var(--font-display, Georgia, serif);
	font-size: clamp(1.25rem, 3.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 0.35rem;
	color: #fff;
	text-wrap: balance;
}

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

.jumpstart-page-hero--layout-split .jumpstart-page-hero__subtitle {
	margin-left: 0;
}

.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-page-hero__aside {
	width: 100%;
	max-width: 26rem;
	margin-inline: auto;
}

.jumpstart-page-hero--layout-split .jumpstart-page-hero__aside {
	margin-inline: 0;
	max-width: none;
}

.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;
	}
}
