/**
 * Page banner — centered inner-page hero (Figma 147:958).
 */

.page-banner {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(24rem, 42.22vw, 38rem);
	color: var(--color-white);
	overflow: clip;
}

.page-banner__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	background-color: var(--color-black);
}

.page-banner__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgb(0 0 0 / 0) 44.211%,
		rgb(0 0 0 / 1) 78.795%
	);
}

.page-banner__img {
	position: relative;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.page-banner__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-block: clamp(3rem, 5.56vw, 5rem);
	padding-inline: clamp(1.5rem, 6.67vw, 6rem);
}

.page-banner__container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(1.5rem, 2.5vw, 1.5rem);
	width: 100%;
	max-width: min(90rem, 100%);
	margin-inline: auto;
	text-align: center;
}

.page-banner__title {
	margin: 0;
	/* max-width: 30.6875rem; */
	font-family: var(--font-family-base);
	font-weight: var(--font-weight-heading);
	font-size: clamp(2.5rem, 6.67vw, 6rem);
	line-height: 0.9167;
	letter-spacing: 0.0027em;
	text-transform: uppercase;
	color: var(--color-white);
}

.page-banner__title-part {
	display: inline;
	font-size: inherit;
}

.page-banner__title-part--accent {
	color: var(--color-accent-yellow);
}

.page-banner__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	max-width: 50rem;
	width: 100%;
}

.page-banner__body {
	margin: 0;
	font-size: clamp(1rem, 0.35vw + 0.9375rem, 1.25rem);
	line-height: 1.6;
	letter-spacing: -0.0225em;
	color: var(--color-white);
}

.page-banner__cta-wrap {
	margin: 0;
}

.page-banner__cta {
	padding: 0.625rem 1.5625rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--color-header-cta-fg, #212930);
	border-radius: 0;
}

/* Tablet */
@media (max-width: 52rem) {
	.page-banner {
		min-height: clamp(20rem, 48vw, 32rem);
	}

	.page-banner__inner {
		padding-block: clamp(2.5rem, 6vw, 4rem);
		padding-inline: clamp(1.5rem, 5vw, 2.5rem);
	}

	.page-banner__title {
		font-size: clamp(2rem, 5vw + 0.75rem, 3rem);
		line-height: 0.95;
	}

	.page-banner__content {
		gap: clamp(1rem, 3vw, 1.5rem);
	}

	.page-banner__body {
		font-size: clamp(1rem, 1vw + 0.9rem, 1.125rem);
	}
}

/* Mobile */
@media (max-width: 48rem) {
	.page-banner {
		min-height: clamp(22rem, 100svh, 36rem);
	}

	.has-transparent-header .page-banner {
		box-sizing: border-box;
		padding-top: var(--site-header-offset);
		min-height: calc(clamp(22rem, 100svh, 25rem) + var(--site-header-offset));
	}

	.page-banner__inner {
		padding-block: clamp(2rem, 7vw, 3rem);
		padding-inline: clamp(1.25rem, 5vw, 1.5rem);
	}

	.has-transparent-header .page-banner__container {
		padding-top: 0.75rem;
	}

	.page-banner__container {
		gap: 1.25rem;
	}

	.page-banner__title {
		font-size: clamp(1.875rem, 8vw + 0.5rem, 2.5rem);
		line-height: 1;
	}

	.page-banner__body {
		font-size: 1rem;
		line-height: 1.5;
	}

	.page-banner__cta {
		min-height: 2.75rem;
		padding-inline: 1.25rem;
	}
}

/* Small phones */
@media (max-width: 28rem) {
	.page-banner {
		min-height: clamp(20rem, 100svh, 30rem);
	}

	.has-transparent-header .page-banner {
		min-height: calc(clamp(20rem, 100svh, 20rem) + var(--site-header-offset));
	}

	.page-banner__title {
		font-size: clamp(1.625rem, 9vw, 2rem);
	}
}

/* Large desktops */
@media (min-width: 90rem) {
	.page-banner__inner {
		padding-inline: 6rem;
	}
}
