/* Split Image styles */
.split-img {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.split-img .image-block {
  flex: 0 0 40%;
  overflow: hidden;
  position: relative;
  min-height: 416px;
  background-repeat: no-repeat;
  background-size: cover;
}

.split-img .image-block img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
}
.split-img2 .image-block2 img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  width: 100%;
}
.split-img .text-wrap {
  flex: 0 0 60%;
  background-color: #E53F71;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem;
}

.split-img .text-block {
  padding: 2rem;
  display: inline-block;
}
.split-img .text-block {
  max-width: none !important;
}

.split-img .text-block2 {
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 height: 100%;
}

p.ttext {
  color: white;
  font-weight: bold;
  font-size: clamp(1.33rem, 2vw, 1.55rem);
}

/* Split Image 2 styles */
.split-img2 {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background-color: #3f1651;
  padding: 2rem 2rem;
}

.split-img2 .text-wrap2 {
  flex: 0 0 70%;
  display: flex;
  align-items:center;
  flex-direction:row;
  gap: 1rem;
}


p.btext {
  color: white;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
}

.split-img2 .image-block2 {
  flex: 0 0 30%;
  display: flex;
  align-items: center; /* Vertically center the image */
  justify-content: center; /* Horizontally center the image */
  overflow: hidden;
  position: relative;
}

.split-img2 p {
  padding-left: 1rem;

}

/* Mobile view */
@media (max-width: 768px) {
  .split-img,
  .split-img2 {
    display: block;
    flex-direction: column;
  }

  .split-img .image-block,
  .split-img .text-wrap,
  .split-img2 .text-wrap2,
  .split-img2 .image-block2 {
    max-width: 100%;
    overflow: hidden;
    flex: none;
  }
  .image-block {
    height: 100%;
  }
}