.ImageTeaser {
  position: relative;
  container-type: inline-size;
}

@media screen and (max-width: 768px) {

.ImageTeaser {
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
}
  }

@media screen and (min-width: 769px) {

.ImageTeaser {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 140px;
}
  }

.ImageTeaser-content {
  max-width: 500px;
  margin-bottom: 15px;
  padding: 15px;
  background-color: var(--clr-grayLight);
  outline: 15px solid rgba(255, 255, 255, 0.8);
}

.ImageTeaser-content .Button {
    border: 1px solid #ffffff;
  }

.ImageTeaser-content .Button:hover {
      background-color: #ffffff;
      color: var(--clr-primary);
    }

.ImageTeaser-content .Button i {
    margin-right: 10px;
    margin-left: 0;
  }

@container (min-width: 800px) {
  .ImageTeaser-image,
  .ImageTeaser-content {
    grid-row: 1;
    grid-column: 1;
  }

  .ImageTeaser-image {
    align-self: start;
  }

  .ImageTeaser-content {
    align-self: end;
    justify-self: end;
    width: 400px;
    max-width: calc(100% - 190px);
    margin-top: 60px;
    margin-right: 175px;
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
  }
}

.ImageTeaser-content .ContentHeader {
  margin-bottom: 20px;
  text-align: left;
}

.ImageTeaser-slugline {
  margin-top: 10px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.8);
}

.ImageTeaser-separator {
  margin-top: 10px;
}

.ImageTeaser-text {
  margin-bottom: 20px;
  line-height: 1.3;
  color: #ffffff;
}
