/**
 * Hero — values from MVP style.css (.hero-section, .hero-left, .hero-right).
 */

.hero-section {
	padding: 40px 0;
}

.hero-wrapper {
	display: flex;
	align-items: center;
}

.hero-left {
	width: 50%;
	position: relative;
	z-index: 2;
}

.hero-left-inner {
	display: flex;
	flex-direction: column;
	row-gap: 16px;
	background: #fff;
	clip-path: polygon(0 0, 100% 0, calc(100% - 70.1512px) 100%, 0 100%);
	padding: 40px 120px 40px 0;
	margin-left: calc(-50vw + 50%);
	padding-left: calc(50vw - 50%);
}

.hero-left-inner * {
	margin: 0 !important;
}

.hero-right {
	width: 80%;
	position: relative;
	margin-left: -20%;
	z-index: 1;
	padding: 30px;
}

.hero-right::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../../assets/images/hero-img-angle.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top right;
	pointer-events: none;
}

.hero-right img {
	display: block;
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 884 / 499;
	min-height: 490px;
}

@media (max-width: 991px) {
	.custom-section.hero-section {
		padding: 16px;
		padding-bottom: 0;
	}

	.hero-section .container {
		padding: 0;
	}

	.hero-wrapper {
		flex-wrap: wrap;
	}

	.hero-left {
		width: -webkit-fill-available;
		order: 2;
		margin-left: -16px;
		margin-right: -16px;
		margin-top: 16px;
	}

	.hero-left-inner {
		clip-path: inherit;
		margin: 0;
		padding: 32px;
	}

	.hero-right {
		width: 100%;
		margin: 0;
		padding: 16px;
		padding-left: 0;
	}

	.hero-right img {
		min-height: inherit;
	}
}
