/* Full-bleed photo header for interior pages */
body.mal-has-page-hero .entry-header,
body.mal-has-page-hero .ast-single-entry-banner,
body.mal-has-page-hero header.entry-header {
	display: none !important;
}

body.mal-has-page-hero #primary.content-area,
body.mal-has-page-hero #primary {
	margin-top: 0 !important;
}

body.mal-has-page-hero .ast-article-single,
body.mal-has-page-hero article.type-page {
	padding-top: 0 !important;
}

body.mal-has-page-hero .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.mal-has-page-hero .site-content > .ast-container,
body.mal-has-page-hero .site-content .ast-container {
	overflow: visible;
}

.mal-page-hero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: clamp(16rem, 42vh, 28rem);
	display: flex;
	align-items: flex-end;
	color: var(--mal-text, #f3f3f5);
	background-color: var(--mal-bg, #0b0b0d);
	background-size: cover;
	background-position: center;
	isolation: isolate;
}

.mal-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(180deg, rgba(11, 11, 13, 0.28) 0%, rgba(11, 11, 13, 0.62) 52%, rgba(11, 11, 13, 0.94) 100%),
		linear-gradient(90deg, rgba(11, 11, 13, 0.5) 0%, rgba(11, 11, 13, 0.12) 58%, rgba(11, 11, 13, 0.35) 100%);
}

.mal-page-hero__inner {
	position: relative;
	z-index: 1;
	width: min(72rem, calc(100% - 2.5rem));
	margin: 0 auto;
	padding: 3.5rem 0 2.25rem;
}

.mal-page-hero__title {
	margin: 0;
	font-family: var(--mal-font-display, "Bodoni Moda", Georgia, serif);
	font-weight: 600;
	font-size: clamp(2.5rem, 6vw, 4rem);
	line-height: 1.05;
	color: var(--mal-text, #f3f3f5);
	letter-spacing: 0.01em;
}

.mal-page-hero__subtitle {
	margin: 0.75rem 0 0;
	max-width: 36rem;
	font-family: var(--mal-font-ui, Syne, sans-serif);
	font-size: 1.05rem;
	line-height: 1.45;
	color: var(--mal-text-muted, #a0a0ab);
}

@media (max-width: 600px) {
	.mal-page-hero {
		min-height: clamp(14rem, 38vh, 22rem);
	}

	.mal-page-hero__inner {
		padding: 2.75rem 0 1.75rem;
	}
}
