.text-image-widget-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  display: flex;
  justify-content: center;
  margin-bottom: 170px;
  margin-top: 170px;
}

.text-image-widget {
  display: flex;
  align-items: start;
  max-width: 100%;
  width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

.text-image-widget.align-left {
  flex-direction: row-reverse;
  /* Swap text and image for "right" alignment */
}

.image-holder{
  width: 60%;
  background-position: center;
  background-size: cover;
  max-width: 60%;
  height: auto;
  border-radius: 10px;
  position: absolute;
  z-index: 1;
  top: -50px;
  bottom: -50px;
  left: 0;
  right: auto;
  border-radius: 0px 10px 10px 0px;
  box-shadow: 0 16px 32px -8px rgba(12, 12, 13, 0.4);
}

.text-image-widget.align-right .image-holder {
  right: 0;
  left: auto;
  border-radius:0;
}

.text-image-widget .text-content {
  flex: 1;
  width: 60%;
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding: 45px;
  padding-top: 87px;
  padding-bottom: 87px;

  background: #FFF;
box-shadow: 0 0 7.5px 3px rgba(0, 0, 0, 0.10);
}
@media only screen and (max-width: 960px) {
  .text-image-widget .text-content {
  	width: 50%;
  	max-width: 50%;
  	z-index: 2;
  	padding: 30px;
  	padding-top: 40px;
  	padding-bottom: 40px;
  }
}
@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 .image-holder{
		position: relative;
		width: 100%;
		height: 400px;
		max-width: 100%;
		top: auto;
		right: auto;
		left: auto;
    bottom: auto;
		transform: translate(0,0);
		border-radius: 0!important;
	}
  .text-image-widget .text-content {
  	max-width: 100%;
  	width: 100%;
  }
	.text-image-widget.align-left {
		flex-direction: column;
	}
  .text-image-widget.align-right .image-holder {
  	right: auto;
  	left: auto;
  	border-radius: 0;
  	height: 400px;
  	margin-bottom: 20px;
  	bottom: auto;
  }
}
