.quick-facts {
  width: 100%;
  min-height: 400px;
  margin: 120px auto 50px;
  background-color: $yellow;
  position: relative;
  color: $white;

  @include mdx {
    margin: 80px auto 50px;
  }

  a {
    color: $white;
  }

  h2 {
    color: $white;
    font-weight: 700;
    font-size: 3.8rem;
    line-height: 4rem;
    margin: 0 0 45px;

    @include sm {
      font-size: 2.4rem;
      line-height: 2.9rem;
      margin: 0 0 30px;
    }
  }

  h4 {
    color: $white;
    font-weight: 700;
    font-size: 21px;
    line-height: 29px;
    margin: 0 0 5px;

    @include sm {
      font-size: 18px;
      line-height: 22px;
    }
  }

  &--yellow {
    h2, h4, p, a {
      color: $primary-color;
    }

    .quick-facts__icon path {
      stroke: $primary-color;
    }
  }

  &--orange {
    background-color: $topic-orange;
  }

  &--green {
    background-color: $topic-green;
  }

  &--primary {
    background-color: $primary-color;
  }

  &--secondary {
    background-color: $secondary-color;
  }

  &__content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 0;

    @include mdx {
      padding: 50px 30px;
    }
  }

  &__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 20px;
    overflow: hidden;
    transition: 0.3s height;

    @include sm {
      height: 455px;
      padding-left: 10px;
    }
  }

  &__item {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 435px;
    margin-bottom: 40px;
    align-items: flex-start;

    @include mdx {
      max-width: 50%;
    }

    @include md {
      max-width: 100%;
    }
  }

  &__icon {
    svg {
      width: 45px;
      height: 45px;

      @include sm {
        width: 35px;
        height: 35px;
      }
    }

    path {
      stroke: $white;
      stroke-width: 1.5px;
    }
  }

  &__info {
    margin-left: 30px;
    margin-right: 20px;
    flex: 1;

    @include sm {
      margin-left: 15px;
      margin-right: 10px;
    }

    p {
      margin: 0;
    }
  }

  &__grid-button {
    position: relative;
    width: 100%;
    height: 30px;

    span {
      font-weight: 700;
      font-size: 14px;
      line-height: 23px;
      margin: 0;
      cursor: pointer;
      bottom: 0;
      right: 0;
      position: absolute;
      opacity: 1;
      transition: 0.3s opacity;
    }
    .quick-facts--hide-btn {
      opacity: 0;
      pointer-events: none;
    }
  }
}
