.cb-topic-teaser__inner {
  display: flex;
  width: var(--width-content);
  margin-left: auto;
  margin-right: auto;
  grid-column-gap: 3rem;
  /* align-items: flex-end;*/
}

.cb-topic-teaser__left {
  background-color: var(--yellow);
  padding: 2.9rem 2rem 11.5rem 1.8rem;
  flex-basis: 25%;
  background-image: url("/wp-content/themes/cbra-child/assets/icons/topic-square.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.cb-topic-teaser__right {
  padding-top: 9rem;
}

.cb-topic-teaser__left h2 {
  font-size: 3rem;
  position: relative;
  line-height: normal;
}

.cb-topic-teaser__left h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1rem;
  height: 3px;
  width: 100px;
  background-color: var(--black);
}

.cb-topic-teaser__wrapper {
  display: flex;
  grid-column-gap: 3rem;
  grid-row-gap: 3.75rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.cb-topic-teaser__topic {
  flex-basis: 38%;
}

.cb-topic-teaser__topic a {
  text-decoration: none;
  color: var(--black);
}

.cb-topic-teaser__topic h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  margin-right: 2rem;
  position: relative;
  transition: all ease 0.3s;
  line-height: 25px;
}

.cb-topic-teaser__topic a h3:after {
  content: "";
  background-image: url("/wp-content/themes/cbra-child/assets/icons/link-arrow.svg");
  position: absolute;
  height: 24px;
  width: 24px;
  background-position: center center;
  background-repeat: no-repeat;
  right: -2rem;
  top: 0;
  transition: all ease 0.3s;
}

.cb-topic-teaser__topic a:hover h3:after {
  right: -1rem;
}

.cb-topic-teaser__topic a:hover h3 {
  color: var(--grey);
}
.cb-topic-teaser__topic p:last-of-type {
  margin-bottom: 0;
}

/* TABLET */
@media only screen and (max-width: 1024px) {
  .cb-topic-teaser__wrapper {
    flex-direction: column;
  }
  .cb-topic-teaser {
    background-position: calc(100% + 17rem) bottom !important;
  }
}

/* MOBILE */
@media only screen and (max-width: 768px) {
  .cb-topic-teaser {
    background-image: unset !important;
  }
  .cb-topic-teaser__inner {
    flex-direction: column;
  }
  .cb-topic-teaser__wrapper {
    grid-row-gap: 1rem;
  }
  .cb-topic-teaser__topic {
    width: 100%;
  }
  .cb-topic-teaser__topic p {
    display: none;
  }
  .cb-topic-teaser__right {
    padding-top: 1rem;
  }
  .cb-topic-teaser__left {
    padding: 1.5rem 2rem 3rem 1.8rem;
  }
  .cb-topic-teaser__left h2 {
    font-size: 2rem;
  }
  .cb-topic-teaser__topic h3 {
    font-size: 1.125rem;
    margin-bottom: 0;
    margin-left: 1rem;
  }
  .cb-topic-teaser__topic h3:after {
    right: 1rem;
  }
  .cb-topic-teaser__topic a:hover h3:after {
    right: 0;
  }
}
