/*
 * Page hero (child theme, inc/page-hero.php).
 * Parallax banner: featured image + page title, styled to match the site's
 * Elementor hero sections (Playfair Display 700, white, 55% black overlay).
 */
.sig-page-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 33vh;
	min-height: 220px;
	margin: 0 0 2.5rem;
	overflow: hidden;
	background-color: #000;
	background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), var(--sig-hero-image, none);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed; /* parallax */
}

/*
 * Touch devices: iOS/iPadOS Safari doesn't support fixed backgrounds (it
 * shows a blurry, zoomed image), so scroll normally there. Same for people
 * who ask their OS for reduced motion.
 */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
	.sig-page-hero {
		background-attachment: scroll;
	}
}

.sig-page-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1140px;
	padding: 0 20px;
	text-align: center;
}

.sig-page-hero__title {
	margin: 0;
	font-family: "Playfair Display", serif;
	font-weight: 700;
	font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); /* 36px phones -> 64px desktop */
	line-height: 1.15;
	color: #fff;
	text-wrap: balance;
}
