
#home-banner {
	min-height: calc(100svh - 90px);
}

.wp-block-hero-banner {
	display: flex;
	justify-content: center;
	align-items: center;
    align-content: center;
	flex-wrap: wrap;
	background-position: center;
	background-size: cover;
	padding: calc(var(--bl) * 3.5) calc(var(--bl) * 2) calc(var(--bl) * 5);
	min-height: 100dvh;

	/* Text Colour */

	&.text-colour--dark {
		h1,
		.wp-block-hero-banner__excerpt {
			color: var(--wp--preset--color--body);
		}
	}

	/* Alignment */

	&.text-position--centre {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}


	/* Designs */

	&.design--full-image {
		height: auto;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		> * {
			margin-left: auto;
			margin-right: auto;
			text-align: center;
		}

		@media(min-width: 782px) {
			.wp-block-hero-banner__text {
				margin-top: auto;
			}
		}
	}

	&.design--cutout {
		.wp-block-hero-banner__background-image {
			width: 25%;
			mask-image: url('../../../assets/images/banner-shape.svg');
            mask-size: auto 100%;
            mask-position: top right;
		}

		@media (min-width: 992px) {
			.wp-block-hero-banner__background-image {
				width: 50%;
		    	mask-size: 100% 100%;
			}
		}
	}

	/* Background Overlay */

	&.background-overlay--light,
	&.background-overlay--dark,
	&.background-overlay--colour,
	&.background-overlay--gradient {
		&::after {
			z-index: 3;
		}
	}
}

.wp-block-hero-banner__background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 2;
}

.wp-block-hero-banner__text {
	max-width: 700px;
	z-index: 4;
	justify-content: center;
	text-align: center;

	@media (min-width: 992px) {
		justify-content: flex-start;
		text-align: left;
		width: 50%;
		margin-left: 50%;
	}
}

.wp-block-hero-banner .wp-block-post-terms {
    span {
		background-color: var(--wp--preset--color--body);
		color: var(--wp--preset--color--base);
	}

	@media(max-width: 991.99px) {
    	justify-content: center;
	}
}

.wp-block-hero-banner h1 {
	color: white;
}

.wp-block-hero-banner__excerpt {
	font-size: 18px;
	color: white;
}