.text-and-image-cmp {
  min-height: 300px;
  display: flex;
  border-radius: 25px;
  box-shadow: 0 6px 8px 0 rgba(34, 34, 34, 0.1);
  overflow: hidden;
}
.text-and-image-cmp .flex-row {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}
.text-and-image-cmp .flex-row .img-col {
  order: 1;
  position: relative;
  min-height: var(--image-min-height-override);
  flex: 1 1 auto;
}
.text-and-image-cmp .flex-row .img-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.text-and-image-cmp .flex-row .text-col {
  order: 2;
  display: flex;
  background-color: var(--text-section-bg-color);
  flex: 1 1 auto;
}
.text-and-image-cmp .flex-row .text-col .text-section-wrapper {
  padding: 25px 45px;
  min-width: 100%;
}
@media (min-width: 768px) {
  .text-and-image-cmp.image-placement-left .text-col,
  .text-and-image-cmp.image-placement-right .img-col {
    order: 2;
  }
  .text-and-image-cmp.image-placement-left .img-col,
  .text-and-image-cmp.image-placement-right .text-col {
    order: 1;
  }
}
@media (min-width: 768px) {
  .text-and-image-cmp:not(.image-placement-top) .flex-row {
    flex-direction: row;
    flex-wrap: nowrap;
  }
}
@media (min-width: 768px) {
  .text-and-image-cmp:not(.image-placement-top) .flex-row .img-col {
    flex: 1 1 50%;
    min-height: 0px;
    height: 100%;
  }
}
@media (min-width: 768px) {
  .text-and-image-cmp:not(.image-placement-top) .flex-row .text-col {
    flex: 1 1 50%;
    height: 100%;
    align-items: center;
  }
}
