.text-image-widget-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	margin-bottom: 0;
	margin-top: 0;
}

.text-image-widget {
	display: flex;
	align-items: start;
	max-width: 1400px;
	margin: 0 auto;
	gap: 20px;
}

.text-image-widget.align-left {
	flex-direction: row-reverse;
	/* Swap text and image for "right" alignment */
}

.text-image-widget img {
	width: auto;
	max-width: 42%;
	height: 100%;
	position: absolute;
	z-index: 1;
	bottom: 0;
	max-height: 125%;
	left: 0;
	right: auto;
	box-shadow: 0px 8px 12.3px 0px rgba(3, 46, 21, 0.19);
	top: 0;
	object-fit: cover;
}

.text-image-widget.align-right img {
	right: 0;
	left: auto;
}

.text-image-widget .text-content {
	flex: 1;
	max-width: 58%;
	position: relative;
	z-index: 6;
	padding-top: 160px;
	padding-bottom: 160px;

}


@media only screen and (max-width: 1560px) {
	.text-image-widget .text-content {
		flex: 1;
		max-width: 58%;
		position: relative;
		z-index: 6;
		padding-top: 110px;
		padding-bottom: 110px;
	}

	.text-image-widget img {
		max-width: 39%;
	}
}

@media only screen and (max-width: 1360px) {
	.text-image-widget.align-right img {
		right: -18%;
	}
}

@media only screen and (max-width: 1160px) {
	.text-image-widget.align-right img {
		right: -22%;
	}
}

@media only screen and (max-width: 960px) {
	.text-image-widget .text-content {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.text-image-widget-wrapper {
		margin-top: 0;
		margin-bottom: 0;
	}

	.text-image-widget {
		flex-direction: column;
	}

	.text-image-widget.align-right img {
		right: auto;
		left: auto;
		position: relative;
		height: auto;
		width: 100%;
		display: block;
		transform: none;
		top: 0;
	}

	.text-image-widget-wrapper::before {
		display: none;
	}

	.text-image-widget-wrapper .text-content {
		width: 100%;
		max-width: 100%;
	}

}

@media only screen and (max-width: 820px) {
	.text-image-widget-wrapper .text-content {
		padding-left: 25px;
		padding-right: 25px;
	}

	.text-image-widget {
		flex-direction: column;
	}

	.text-image-widget img {
		position: relative;
		width: 100%;
		height: auto;
		max-width: 100%;
		top: auto;
		right: auto;
		left: auto;
		transform: translate(0, 0);
	}

	.text-image-widget.align-left {
		flex-direction: column;
	}
}