/**
 * Result Block
 */


.result-block__body {
  position: relative;
}
.result-block__body::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  height: 160px;
  z-index: -1;
}
.result-block--primary .result-block__body::before {
  background-color: var(--brand-primary-light-color);
}
.result-block--secondary .result-block__body::before {
  background-color: var(--brand-secondary-light-color);
}
.result-block__text {
  max-width: 450px;
  margin: 3rem auto 0;
}
.result-block__text h2 {
  line-height: 1.3;
}
.result-block__image img {
  margin: 0 auto;
  border-radius: 2px;
}
@media all and (min-width: 400px) {
  .result-block .result-block__body::before {
    height: 180px;
  }
}
@media all and (min-width: 768px) {
  .result-block__body {
  }
  .result-block__body::before {
    content: none;
  }
  .result-block__wrapper {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    position: relative;
    padding: 3rem 0;
  }
  .result-block__text {
    max-width: initial;
    margin: 0;
  }
  .result-block__content {
    width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .result-block__image {
    align-self: center;
  }
  .result-block__image::before {
    content: "";
    display: block;
    position: absolute;
    left: -15%;
    top: 0;
    width: 50%;
    bottom: 0;
    z-index: -1;
    margin: auto 0;
    max-height: 450px;
  }
  .result-block--primary .result-block__image::before {
    background-color: var(--brand-primary-light-color);
  }
  .result-block--secondary .result-block__image::before {
    background-color: var(--brand-secondary-light-color);
  }
}
@media all and (min-width: 1200px) {
  .result-block__image::before {
    width: 60%;
    left: -20%;
    max-height: 500px;
  }
}
@media all and (min-width: 1400px) {
  .result-block__image::before {
    width: 55%;
    max-height: 550px;
  }
}