.solutions-template__header {
  max-width: $max-width;
  margin-left: auto;
  margin-right: auto;

  h1 {
    font-size: 3.4rem;
    line-height: 3.8rem;
    margin: .67em 0;

    @include sm {
      margin: 7px 0;
    }
  }
}

.solutions-template__header-wrapper {
  padding-top: 22px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 30px;
  width: 66.66666667%;

  @include md {
    width: 58.33333333%;
  }

  @include sm {
    margin-top: 20px;
    margin-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
  }
}

.solutions-template__title-wrapper {
  width: 70.83333333%;
  margin-left: 12.5%;
  padding-left: 5px;

  @include md {
    margin-left: 8.33333333%;
    width: 83.33333333%;
  }

  @include sm {
    margin-left: 0;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.solutions-template__body {
  background-color: rgba(238, 240, 242, .5);
  padding-left: 10px;
  padding-right: 10px;
}

.solutions-template__cards {
  padding: 0 45px 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: $max-width;
  margin: 0 auto;
}

.solutions-template__card {
  background: #fff;
  color: $primary-color;
  min-height: 422px;
  box-shadow: 0 50px 40px -20px rgba(21,38,68,.25);
  flex: 1;
  max-width: 430px;
  min-width: 320px;
  margin: -20px 15px 70px;
  padding: 30px 40px;
  transition: color .2s linear;

  p {
    font-size: 1.8rem;
    margin: 10px 0;
    transition: color .2s linear;
  }

  &:hover {
    .icon-hover {
      opacity: 1;
    }

    .arrow-forward:after{
      opacity: 1;
    }

    p,
    h2 {
      color: $secondary-color;
    }
  }
}

.solutions-template__title {
  margin: 20px 0 10px;

  h2 {
    display: inline;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 3rem;
    line-height: 3.8rem;
    font-weight: 700;
    color: $primary-color;
    transition: color .2s linear;

    @include sm {
      font-size: 1.8rem;
      line-height: 2rem;
    }
  }

  .arrow-forward {
    min-width: 30px;
    display: inline-block;
    margin-left: 5px;
    width: 20px;
    height: 14px;
    position: relative;

    &:before,
    &:after {
      content: ' ';
      background: url(../assets/img/svg/ArrowForward.svg);
      background-repeat: no-repeat;
      display: block;
      height: 100%;
      width: 100%;
      position: absolute;
      left: 0;
      top: 0;
      transition: opacity 0.2s linear;
    }

    &:after {
      background: url(../assets/img/svg/ArrowForward_lb.svg);
      background-repeat: no-repeat;
      opacity: 0;
    }
  }
}

.solutions-template__icon {
  position: relative;
  height: 60px;

  img {
    height: 60px;
  }

  .icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .2s linear;
  }
}
