.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: 1200px;
  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;
  border-radius: 10px;
  position: absolute;
  z-index: 1;
  top: 50%;
  bottom: 0;
  max-height: 100%;
  left: 0;
  right: auto;
  border-radius: 0px 10px 10px 0px;
  box-shadow: 0 16px 32px -8px rgba(12, 12, 13, 0.4);
  transform: translate(0, -50%);
}

.text-image-widget.align-right img {
  right: 0;
  left: auto;
  border-radius: 10px 0px 0px 10px;
}

.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);
		border-radius: 0!important;
	}
	.text-image-widget .text-content{
		padding: 0;
		max-width: 100%;
	}
	.text-image-widget.align-left {
		flex-direction: column;
	}
}
