/**
 * Shared Page / Service / Volunteer hero.
 *
 * Themer supplies placement only. Keep layout here so editors adjust content
 * through ACF without duplicating Builder rows. Geometry follows the existing
 * Service hero: full-width photograph, navy scrim, 700px copy and 1240px shell.
 * Component selectors keep these rules away from Home/Donate custom heroes.
 */
.sav-hero {
	--sav-hero-navy: #222d61;
	--sav-hero-red: #c41212;
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	min-height: 784px;
	display: flex;
	align-items: flex-end;
	padding: 220px 20px 170px;
	background: var(--sav-hero-navy);
	color: #fff;
	font-family: "proxima-nova", "Proxima Nova", Arial, sans-serif;
}
.sav-hero__media,
.sav-hero__media::after,
.sav-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.sav-hero__media { z-index: -1; overflow: hidden; }
.sav-hero__media::after {
	content: "";
	/* Preserve the Service composition and add gentle navigation contrast. */
	background: linear-gradient(90deg, #222d61 0%, rgba(34,45,97,.15) 100%), linear-gradient(180deg, rgba(0,0,0,.18), transparent 40%);
}
.sav-hero .sav-hero__image {
	display: block;
	max-width: none;
	object-fit: cover;
	object-position: var(--sav-hero-position, center center);
}
.sav-hero__shell {
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 20px;
}
.sav-hero__copy { max-width: 700px; }
.sav-hero .sav-hero__eyebrow {
	margin: 0 0 20px;
	color: #fff;
	font: 700 20px/1.1 "proxima-nova", "Proxima Nova", Arial, sans-serif;
}
.sav-hero .sav-hero__headline {
	margin: 0;
	color: #fff;
	font: 700 64px/1.1 "proxima-nova", "Proxima Nova", Arial, sans-serif;
	letter-spacing: normal;
	text-transform: none;
	overflow-wrap: anywhere;
}
.sav-hero__intro { margin-top: 20px; }
.sav-hero .sav-hero__intro p {
	margin: 0 0 .7em;
	color: #fff;
	font: 400 20px/1.5 "proxima-nova", "Proxima Nova", Arial, sans-serif;
}
.sav-hero .sav-hero__intro p:last-child { margin-bottom: 0; }
.sav-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.sav-hero a.sav-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	max-width: 100%;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: 5px;
	color: #fff;
	font: 700 18px/1.25 "proxima-nova", "Proxima Nova", Arial, sans-serif;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
	transition: background-color .15s ease, color .15s ease;
}
.sav-hero a.sav-hero__button--primary { background: var(--sav-hero-red); }
.sav-hero a.sav-hero__button--primary:hover { background: #a80f0f; color: #fff; }
.sav-hero a.sav-hero__button--secondary { border-color: #fff; background: transparent; }
.sav-hero a.sav-hero__button--secondary:hover { background: #fff; color: var(--sav-hero-navy); }
.sav-hero a.sav-hero__button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 7px var(--sav-hero-navy); }
/* A disabled domain hero still needs its H1 and room for the overlaid header. */
.sav-hero--title-only { min-height: 0; padding-top: 200px; padding-bottom: 70px; }
@media (max-width: 768px) {
	/* Match the site gutter contract: outer 0, inner 20 on small screens. */
	.sav-hero { padding-inline: 0; padding-top: 190px; padding-bottom: 150px; }
	.sav-hero .sav-hero__image { object-position: var(--sav-hero-mobile-position, var(--sav-hero-position, center center)); }
	.sav-hero__media::after { background: linear-gradient(90deg, rgba(34,45,97,.96), rgba(34,45,97,.35)); }
	.sav-hero--title-only { padding-bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) {
	.sav-hero a.sav-hero__button { transition: none; }
}
