

.splash {
  background: var(--white);
}

.splash__right {
  padding: calc(var(--line-height-em)*2);
}



@media screen and (max-width:1375px) {
  .splash__right {
    padding-left: 0em;
    padding-right: 1em;
  }

  .splash__image.bottom {
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (max-width:1023px) {
  .splash__image.top {
    display: none;
  }

  .splash__image.bottom {
    height: auto;
    max-height: 250px;
    width: 100%;
    object-fit: cover;
  }

  .splash__right {
    padding: calc(var(--line-height-em));
  }
}

/* ------ */

.overlapping-element {
  margin-bottom: 0;
}

.overlapping-element__image-wrapper {
  background-color: var(--almost-black);
  width: 550px;
  min-width: 550px;
  margin-right: -6em;
}

.overlapping-element__image {
  height: 100%;
  object-fit: cover;
}

.overlapping-element__text {
  margin-top: 50px;
}

.overlapping-element__text-bg {
  padding-top: 0;
}

.overlapping-element__text::before {
  height: 0;
}

.contains-overlapping-element {
  padding-top: calc(var(--line-height-em)*4);
  padding-bottom: calc(var(--line-height-em)*0);
}

@media screen and (max-width:900px) {
  .overlapping-element {
    display: block;
  }

  .overlapping-element__image-wrapper {
    position: relative;
    min-width: auto;
    max-height: 300px;
    min-height: 300px;
    width: 100%;
  }

  .overlapping-element__image {
    box-sizing: border-box;
    height: 300px;
    max-height: 100%;
    width: 100%;
    margin-bottom: 0;
  }

  .overlapping-element__text {
    margin-top: 0;
  }

  .contains-overlapping-element {
    margin-bottom: calc(var(--line-height-em)*2);
    padding-top: 0;
  }
}

@media screen and (max-width:500px) {
    .overlapping-element__image-wrapper {
      max-height: 150px;
      min-height: 150px;
    }

    .overlapping-element__image {
      height: 150px;
    }

    .overlapping-element__text-bg {
      padding-right: var(--line-height-em);
      padding-left: var(--line-height-em);
    }

}
