.text-image-widget-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  display: flex;
  justify-content: center;
  margin-bottom: 120px;
  margin-top: 120px;
}

.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: 40%;
  height: auto;
  position: absolute;
  z-index: 1;
  top: 50%;
  bottom: 0;
  max-height: 100%;
  left: 0;
  right: auto;
  transform: translate(0, -50%);


box-shadow: 0px 8px 12.3px 0px rgba(3, 46, 21, 0.19);
}

.text-image-widget.align-right img {
  right: 0;
  left: auto;
}

.text-image-widget .text-content {
  flex: 1;
  max-width: 60%;
  position: relative;
  z-index: 2;
  padding: 20px;
  padding-top: 75px;
  padding-bottom: 75px;
}
@media only screen and (max-width: 960px) {
	.text-image-widget .text-content{
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.text-image-widget-wrapper{
		margin-top: 40px;
		margin-bottom: 40px;
	}
}
@media only screen and (max-width: 820px) {
	.text-image-widget-wrapper{
		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 .text-content{
		padding: 0;
		max-width: 100%;
	}
	.text-image-widget.align-left {
		flex-direction: column;
	}
}
