.hero {
	position: relative;
	margin-bottom: var(--spacing-lg);
	width: 100%;
	height: auto;
	overflow: hidden;
}

.hero > .inner {
	position: relative;
	z-index: 0;
	height: 100%;
	min-height: inherit;
	max-height: inherit;
}

.hero img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

.hero video {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

.hero .svg,
.hero svg {
	height:100%;
	width:100%;
}

.hero svg,
.hero svg * {
	fill: var(--fill-color, black) !important;
}

.hero > .overlay {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.15) 0%,
		rgba(255, 255, 255, 0.001) 100%
	);
}

@media (min-width: 992px) {
	.hero {
		height: calc(90dvh - var(--footer-height));
	}

	/* Media fill the whole hero at any screen ratio: centered, cropped to fit
	   (images crop around their admin focus point, set inline by image.php) */
	.hero img,
	.hero video {
		display: block;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}
