#custom-image-text-align-left {
  width: 100%;
  height: auto;
  display: flex;
}

#custom-image-text-align-left .column-left-side-content {
  flex-grow: 1; /* This will make the left column take up the remaining space */
}

#custom-image-text-align-left .column-right-side-content {
  flex-shrink: 0; /* This prevents the right column from shrinking below its content's size */
  padding: 10px 0 10px 40px;
}

#custom-image-text-align-left .column-right-side-content img {
  height: auto;
  max-width: 100%; /* This prevents the image from growing beyond the width of its container */
}

@media only screen and (max-width: 992px) {
  #custom-image-text-align-left {
    flex-direction: column;
  }
  #custom-image-text-align-left .column-left-side-content  {
    width: 100%;
  }
  #custom-image-text-align-left .column-right-side-content {
    width: 100%;
    text-align: center; padding: 4px;
  }
}


#custom-image-text-align-right {
  width: 100%;
  height: auto;
  display: flex;
}

#custom-image-text-align-right .column-left-side-content {
  flex-grow: 1; /* This will make the left column take up the remaining space */
}

#custom-image-text-align-right .column-right-side-content {
  flex-shrink: 0; /* This prevents the right column from shrinking below its content's size */
  padding: 10px 0 10px 40px;
}

#custom-image-text-align-right .column-right-side-content img {
  height: auto;
  max-width: 100%; /* This prevents the image from growing beyond the width of its container */
}

@media only screen and (max-width: 992px) {
  #custom-image-text-align-right {
    flex-direction: column;
  }
  #custom-image-text-align-right .column-left-side-content  {
    width: 100%;
    text-align: center;
  }
  #custom-image-text-align-right .column-right-side-content {
    width: 100%;
  }
}