/* Page Hero section — big banner for interior page headers. */

.rally-page-hero {
	position: relative;
	/* Compact banner — smaller than a full hero but still substantial. */
	min-height: clamp(340px, 42vh, 480px);
	display: grid;
	place-items: center;
	overflow: hidden;
	color: var(--rally-white);
	isolation: isolate;
	background: var(--rally-black);
}

.rally-page-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

/* Stronger overlay so the headline reads cleanly over any photo. */
.rally-page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.7) 100%);
	z-index: -1;
}

.rally-page-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--rally-space-4);
	text-align: center;
	padding-block: var(--rally-section-padding-y);
	max-width: 900px;
}

.rally-page-hero__eyebrow {
	font-family: var(--rally-font-body);
	font-size: var(--rally-text-base);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--rally-red-bright, #D10000);
	margin: 0;
}

.rally-page-hero__title {
	font-size: var(--rally-text-4xl);
	line-height: 1.05;
	color: var(--rally-white);
	margin: 0;
	max-width: 18ch;
}

.rally-page-hero__subtitle {
	font-size: var(--rally-text-lg);
	font-weight: 500;
	line-height: 1.5;
	color: var(--rally-white);
	margin: 0;
	max-width: 60ch;
	opacity: 0.95;
}

/* Small red accent rule under the title for visual rhythm. */
.rally-page-hero__title::after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	background: var(--rally-red);
	margin: var(--rally-space-3) auto 0;
}
