.half-half-image-text-section {
  word-break: break-word;
  background-color: rgb(var(--color-background));
}

.half-half-image-text-section .block-image .empty-image-class {
  display: block;
  width: 100%;
  background-color: rgb(var(--color-image-background));
}

.half-half-image-text-section .subheading {
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.half-half-image-text-section .block-image,
.half-half-image-text__group {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  min-width: 0;
}

.half-half-image-text-section .block-image {
  display: flex;
}

.half-half-image-text-section .block-image > img,
.half-half-image-text-section .block-image > svg,
.half-half-image-text-section .block-image .hover-scale__image {
  display: block;
  width: 100%;
  height: 100%;
}

.half-half-image-text-section .block-image > img {
  aspect-ratio: var(--aspect-ratio);
  object-fit: cover;
}

.half-half-image-text__group {
  display: flex;
  min-height: 0;
  color: rgb(0 0 0);
  background-color: rgb(255 255 255);
}

.half-half-image-text__group a:not(.button),
.half-half-image-text__group a:not(.button):hover {
  color: inherit;
}

.half-half-image-text-section.overlap .half-half-image-text__group {
  width: 50%;
  max-width: 50%;
  background-color: rgb(255 255 255);
}

@media (min-width: 960px) {
  .half-half-image-text-section.overlap .half-half-image-text__group {
    transform: none;
  }
}

@media (max-width: 959px) {
  .half-half-image-text-section .block-image,
  .half-half-image-text__group {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }

  .half-half-image-text-section.overlap .half-half-image-text__group {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    transform: none;
  }
}
