/* Inner page hero banner. Colours come from the theme's palette variables. */
.ae-page-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: 360px;
	margin-top: 0;
	color: #fff;
	background: var(--wp--preset--color--primary-dark, #44683a);
}

.ae-page-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ae-page-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(44, 67, 39, 0.6);
}

.ae-page-hero__content {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--wp--style--global--wide-size, 1340px) + 48px);
	margin: 0 auto;
	padding: 56px 24px;
}

.ae-page-hero__title {
	margin: 0;
	color: #fff;
	font-size: var(--wp--preset--font-size--xx-large, 2.6rem);
	line-height: 1.15;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.ae-page-hero__text {
	max-width: 40em;
	margin: 0.6em 0 0;
	font-size: var(--wp--preset--font-size--large, 1.25rem);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.ae-page-hero__credit {
	position: absolute;
	right: 16px;
	bottom: 10px;
	z-index: 1;
	margin: 0;
	font-size: 0.75rem;
	opacity: 0.8;
}

@media (max-width: 600px) {
	.ae-page-hero {
		min-height: 260px;
	}

	.ae-page-hero__content {
		padding: 40px 16px 48px;
	}

	.ae-page-hero__credit {
		left: 16px;
		text-align: right;
	}
}
