/*
 * Structural CSS is intentionally defensive because themes, Elementor skins,
 * and image optimization plugins often add broad rules to img, h1 and p tags.
 */
.ohe-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	height: 700px;
	min-height: 280px;
	overflow: hidden;
	box-sizing: border-box;
}

.ohe-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.ohe-media .ohe-image,
.ohe-hero > .ohe-media > img.ohe-image {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	object-fit: cover;
	object-position: center center;
	pointer-events: none;
}

.ohe-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.35;
	pointer-events: none;
}

.ohe-content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 48px;
	box-sizing: border-box;
}

.ohe-content-inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 720px;
	text-align: start;
	box-sizing: border-box;
}

/* Cache-safe desktop alignment fallback. Elementor's generated responsive CSS
 * overrides these rules for tablet/mobile when a different device value is set. */
.ohe-hero.ohe-align-start .ohe-content {
	align-items: flex-start;
}

.ohe-hero.ohe-align-center .ohe-content {
	align-items: center;
}

.ohe-hero.ohe-align-end .ohe-content {
	align-items: flex-end;
}

.ohe-hero.ohe-align-start .ohe-content-inner {
	margin-inline: 0 auto;
	text-align: start;
}

.ohe-hero.ohe-align-center .ohe-content-inner {
	margin-inline: auto;
	text-align: center;
}

.ohe-hero.ohe-align-end .ohe-content-inner {
	margin-inline: auto 0;
	text-align: end;
}

.ohe-title,
.ohe-description,
.ohe-description p {
	width: 100%;
	padding: 0;
	text-align: inherit;
	box-sizing: border-box;
}

.ohe-title {
	margin: 0 0 16px;
	color: #fff;
}

.ohe-description {
	margin: 0 0 24px;
	color: #fff;
}

.ohe-description p {
	margin: 0 0 0.75em;
	color: inherit;
	font: inherit;
	line-height: inherit;
}

.ohe-description p:last-child {
	margin-bottom: 0;
}

.ohe-button-wrap {
	display: block;
	width: 100%;
	line-height: 1;
	text-align: inherit;
}

.ohe-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 24px;
	border-radius: 6px;
	background-color: #fff;
	color: #111;
	line-height: 1.2;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ohe-button:hover,
.ohe-button:focus {
	text-decoration: none;
}

.ohe-button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.ohe-button {
		transition: none;
	}
}
