/* Static stand-in for a Slider Revolution hero.
   Scoped under .ev-hf so it cannot leak into the theme. */

.ev-hf {
	--ev-hf-bg: linear-gradient(130deg, #003f1e 0%, #09843e 100%);
	--ev-hf-min: 78vh;

	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--ev-hf-min);
	padding: 72px 24px;
	overflow: hidden;
	background: var(--ev-hf-bg);
	text-align: center;
}

/* A soft radial wash, standing in for the particle animation the real
   slider draws. Subtle enough not to pretend it is the same thing. */
.ev-hf::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.10), transparent 42%),
		radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.07), transparent 46%);
}

.ev-hf__inner {
	position: relative;
	z-index: 1;
	max-width: 860px;
	margin: 0 auto;
}

/* Barrel sets ".page .entry-content h1 { color:#2a2f35 }" at specificity
   (0,2,1), which beats a lone class. Three classes wins on specificity alone,
   so this holds regardless of stylesheet order - no !important needed. */
.ev-hf .ev-hf__inner .ev-hf__headline {
	margin: 0;
	color: #fff;
	font-size: clamp(32px, 5.4vw, 62px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.ev-hf .ev-hf__inner .ev-hf__description {
	margin: 28px auto 0;
	max-width: 680px;
	color: rgba(255, 255, 255, 0.81);
	font-size: clamp(16px, 1.9vw, 20px);
	line-height: 1.6;
}

/* Content modules part-way down a page, rather than a page hero: same
   treatment, no viewport-height ambitions. */
.ev-hf--compact {
	min-height: 0;
	padding: 52px 24px;
}

.ev-hf--compact .ev-hf__inner .ev-hf__headline {
	font-size: clamp(24px, 3.2vw, 36px);
}

.ev-hf--compact .ev-hf__inner .ev-hf__description {
	margin-top: 18px;
	max-width: 760px;
	font-size: clamp(15px, 1.6vw, 17px);
}

@media (max-width: 640px) {
	.ev-hf {
		min-height: 60vh;
		padding: 56px 18px;
	}
	.ev-hf--compact {
		min-height: 0;
		padding: 40px 18px;
	}
	.ev-hf__description {
		margin-top: 20px;
	}
}
