.block--home-hero {
	position: relative;
	background-color: var(--wp--preset--color--sw-white);
}

.block--home-hero--main {
	position: relative;
	/* min-height: 840px; */
	background-color: var(--wp--preset--color--aqua);
	padding-top: 120px;
	transition: padding 0.4s ease;
	height: 80dvh;
}

@media screen and (max-width: 640px) {
	.block--home-hero--main {
		padding-top: 64px;
		min-height: auto;
	}
}

.block--home-hero--content-block {
	position: relative;
	grid-column: 1 / 9;
	border-radius: 0 20px 0 0;
	padding: 48px 48px 0px 48px;
	min-height: 150px;
	color: white;
	z-index: 1;
}

@media screen and (max-width: 1280px) {
	.block--home-hero--content-block {
		grid-column: 1 / 10;
	}
}

@media screen and (max-width: 768px) {
	.block--home-hero--content-block {
		grid-column: 1 / 13;
		padding: 56px 24px;
	}
}

@media screen and (max-width: 640px) {
	.block--home-hero--content-block {
		grid-column: 1 / 11;
		padding: 24px 24px 24px 16px;
	}
}

.block--home-hero--inner {
	display: grid;
	grid-template-columns:
		[full-start] minmax(calc(var(--page-gutter) - 8px), 1fr)
		[center-start] repeat(
			var(--num-grid-columns),
			[col-start]
				minmax(
					0,
					calc((var(--wp--style--global--wide-size) - 8px) / 14)
				)
				[col-end]
		)
		[center-end] minmax(calc(var(--page-gutter) - 8px), 1fr) [full-end];
	gap: calc(var(--page-gutter) / 2);
	height: 100%;
	align-items: end;
}

.block--home-hero--content-inner {
	position: relative;
	color: var(--wp--preset--color--sw-blue);
	max-width: 800px;
	margin-left: auto;
	z-index: 2;
}

.block--home-hero--content-inner h1 mark,
.block--home-hero--content-inner h2 mark {
	font-family: var(--wp--preset--font-family--ibm-plex-serif);
	font-weight: 400;
}

.block--home-hero--content-inner .wp-block-buttons {
	margin-top: 32px;
}

.block--home-hero--content-block::before {
	position: absolute;
	border-radius: 0 40px 0 0;
	content: '';
	inset: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: -1px;
	background: var(--wp--preset--color--sw-white);
	z-index: 1;
}

@media screen and (max-width: 640px) {
	.block--home-hero--content-block::before {
		border-radius: 0 20px 0 0;
	}
}

.block--home-hero--content-block .block--home-hero--top-left-corner {
	position: absolute;
	top: 0px;
	left: 0;
	transform: translateY(-100%);
	z-index: 1;
}

@media screen and (max-width: 640px) {
	.block--home-hero--content-block .block--home-hero--top-left-corner {
		display: none;
	}
}

.block--home-hero--content-block .block--home-hero--bottom-right-corner {
	position: absolute;
	bottom: 0px;
	right: 0px;
	transform: translateX(100%);
	z-index: 1;
}

@media screen and (max-width: 640px) {
	.block--home-hero--content-block .block--home-hero--top-left-corner {
		height: 32px;
		width: 32px;
	}

	.block--home-hero--content-block .block--home-hero--bottom-right-corner {
		height: 32px;
		width: 32px;
	}
}

.site-page-decoration {
	position: absolute;
	bottom: 0;
}

.block--home-hero--bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: 0 0 40px 0;
}

@media screen and (max-width: 640px) {
	.block--home-hero--bg {
		position: absolute;
		inset: 0;
		z-index: 0;
		overflow: hidden;
		border-radius: 0 0 0px 0;
	}
}

.block--home-hero--bg img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.block--home-hero--bg video {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
