
.page-hero {
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.page-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0, 0, 0, 0.5);
	color: var(--primary-color);
	font-family: 'Playfair Display', serif;
}
.hero-subtitle {
	font-size: 2rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.page-hero-overlay h1 {
	padding-top: 200px;
	font-size: 5rem;
	letter-spacing: 0.5rem;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
	  color: var(--background-color, #f8f6f1);
}

@media (max-width: 768px) {
	.page-hero,
	.hero-about,
	.hero-services,
	.hero-contact {
		height: clamp(320px, 58svh, 440px) !important;
		min-height: clamp(320px, 58svh, 440px) !important;
		background-size: cover;
		background-position: center;
		overflow: hidden;
	}

	.page-hero-overlay,
	.hero-about .page-hero-overlay,
	.hero-services .page-hero-overlay,
	.hero-contact .page-hero-overlay {
		width: 100%;
		height: 100% !important;
		min-height: 100% !important;
		max-height: none !important;
		display: flex;
		align-items: flex-end;
		justify-content: flex-end;
		padding: 0;
		box-sizing: border-box;
		background:
			linear-gradient(
				180deg,
				rgba(0, 0, 0, 0.14) 0%,
				rgba(0, 0, 0, 0.34) 48%,
				rgba(0, 0, 0, 0.68) 100%
			) !important;
	}

	.page-hero-overlay h1,
	.page-hero-message,
	.hero-about .page-hero-overlay h1,
	.hero-services .page-hero-overlay h1,
	.hero-contact .page-hero-overlay h1 {
		position: static !important;
		width: 100%;
		max-width: 100%;
		padding: 0 !important;
		margin: 0;
		font-size: clamp(2rem, 8.5vw, 3rem) !important;
		line-height: 1.05;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		text-align: left;
		overflow-wrap: break-word;
		color: var(--background-color, #f8f6f1);
		text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
		transform: none !important;
	}

	.page-hero-message,
	.hero-about .page-hero-overlay,
	.hero-services .page-hero-overlay,
	.hero-contact .page-hero-overlay {
		padding: 0 clamp(1.25rem, 6vw, 2rem) clamp(1.5rem, 8vw, 2.25rem) !important;
	}

	.page-hero-message.hero--center,
	.page-hero-message.hero--top-left,
	.page-hero-message.hero--top-right,
	.page-hero-message.hero--bottom-left,
	.page-hero-message.hero--bottom-right {
		top: auto;
		right: auto;
		bottom: clamp(1.5rem, 8vw, 2.25rem);
		left: clamp(1.25rem, 6vw, 2rem);
		width: calc(100% - clamp(2.5rem, 12vw, 4rem));
		text-align: left;
	}

	.hero-subtitle {
		width: 100%;
		max-width: 28rem;
		margin-top: 0.75rem;
		font-size: clamp(1rem, 4vw, 1.25rem);
		line-height: 1.4;
		text-align: left;
		word-break: normal;
		overflow-wrap: break-word;
		color: var(--background-color, #f8f6f1);
		text-shadow: 0 2px 12px rgba(0, 0, 0, 0.44);
	}

	.hero-subtitle p {
		margin: 0;
	}
}

@media (max-width: 420px) {
	.page-hero,
	.hero-about,
	.hero-services,
	.hero-contact {
		height: clamp(300px, 54svh, 400px) !important;
		min-height: clamp(300px, 54svh, 400px) !important;
	}

	.page-hero-overlay h1,
	.page-hero-message,
	.hero-about .page-hero-overlay h1,
	.hero-services .page-hero-overlay h1,
	.hero-contact .page-hero-overlay h1 {
		font-size: clamp(1.75rem, 8vw, 2.45rem) !important;
		letter-spacing: 0.055em;
	}
}
