/* Puerto del <style> de src/components/PageHero.astro */

.page-hero {
	position: relative;
	background: var(--color-navy);
	color: var(--color-white);
	min-height: 300px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.page-hero-media {
	position: absolute;
	inset: 0;
}

.page-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% center;
}

.page-hero-tint {
	position: absolute;
	inset: 0;
	background: rgba(0, 12, 28, 0.18);
	mix-blend-mode: multiply;
}

.page-hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(0, 12, 28, 0.96) 0%,
		rgba(0, 12, 28, 0.78) 32%,
		rgba(0, 12, 28, 0.28) 58%,
		rgba(0, 12, 28, 0.05) 80%
	);
}

.page-hero-content {
	position: relative;
	z-index: 2;
	padding-top: 48px;
	padding-bottom: 56px;
}

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 16px;
}

.breadcrumb a {
	color: var(--color-red);
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
	color: rgba(255, 255, 255, 0.4);
}

.breadcrumb span[aria-current] {
	color: rgba(255, 255, 255, 0.75);
	font-weight: 500;
}

.page-hero h1 {
	font-size: 44px;
	line-height: 1.15;
	color: var(--color-white);
	max-width: 640px;
	margin-bottom: 14px;
}

.page-hero-subtitle {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	max-width: 560px;
}

.page-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 20px;
}

.page-hero-tall {
	min-height: 520px;
}

.page-hero-tall .page-hero-content {
	padding-top: 64px;
	padding-bottom: 72px;
}

.page-hero-corner {
	position: absolute;
	z-index: 2;
	right: var(--container-pad);
	bottom: 40px;
	max-width: 220px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: right;
	line-height: 1.5;
	color: var(--color-white);
}

.page-hero-corner span {
	color: var(--color-red);
}

@media (max-width: 640px) {
	.page-hero-content {
		padding-top: 40px;
		padding-bottom: 44px;
	}

	.page-hero h1 {
		font-size: 32px;
	}

	.page-hero-tall .page-hero-content {
		padding-top: 40px;
		padding-bottom: 44px;
	}

	.page-hero-actions .btn {
		justify-content: center;
	}

	.page-hero-corner {
		display: none;
	}
}
