.block-hero.has-background,
.editor-styles-wrapper .block-hero.has-background,
.block-hero.has-background.alignfull,
.editor-styles-wrapper .block-hero.has-background.alignfull {
	padding: 0;
}

.block-hero__image {
	position: relative;
	height: 100%;
	width: 100%;
}

.block-hero__image img,
.block-hero__image img[style] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover;
}

@media only screen and (max-width: 767px) {
	.block-hero__inner {
		display: block;
	}

	.block-hero__content {
		padding: 40px 16px;
	}

	.block-hero__image {
		height: auto;
	}

	.block-hero__image img,
	.block-hero__image img[style] {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		height: auto !important;
		aspect-ratio: auto !important;
		object-fit: fill;
	}

}


@media only screen and (min-width: 768px) {
	.block-hero__inner {
		display: grid;
		grid-template-columns: 1fr 1.2fr;
		align-items: center;
		gap: 60px;
	}

	.block-hero__image {
		order: 2;
	}

	.block-hero__content {
		padding: 100px 0 100px 16px;
		order: 1;
	}


}


/* Sidebar */
.block-area-sidebar .block-hero__inner {
	display: block;
}

.block-area-sidebar .block-hero__content {
	padding: 16px;
}

.block-area-sidebar .block-hero__image {
	height: auto;
}

.block-area-sidebar .block-hero__image img,
.block-area-sidebar .block-hero__image img[style] {
	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	height: auto !important;
	aspect-ratio: auto !important;
	object-fit: fill;
}
