
.featured {
  position: relative;
  top: $header-height;
  width: 100% !important;
  max-width: 100% !important;
  height: $featured-height;
  max-height: 50vh;
  z-index: 1;
  background-repeat: no-repeat !important;
  background-size: contain;
  background-position: center;

  .middle {
    transition: .5s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;

    .description {
      height: 3.5em;
      max-height: 3.5em;
      overflow: hidden;

      &:after {
        background: none;
      }
    }
    }
    .medal {
      @extend .container;
      transition: .5s ease;
      position: absolute;
      top: 20%;
      width: 90%;
      text-align: center;
      display: flex;
      color: #ffffff;
      z-index: 10;
    }

  .featured:hover .image {
    opacity: 0.3;
  }

  .featured:hover .middle {
    opacity: 1;
  }

  .text {
    color: white;

    z-index: 1;
    h3 {
      font-family: SFUIDisplayBold;
      font-weight: 800;
      font-size: 30px;
      line-height: 36px;
    }
  }

  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: $overlay;
  }
}
.clear__featured {
  clear: both;
  height: $featured-height / 2;
}
@include media-breakpoint-down(800px) {
  .featured {
    .medal {
      top: 8%;
      left: 8%;
    }
  }
}

@include media-breakpoint-down(sm) {
  .featured {
    .middle {
      width: 80%;
    }

    .medal {
      top: 20%;
      left: 1%;
    }
  }
}

.reviews {
  @extend .bg-white;
  padding: 20px !important;
  overflow-wrap: break-word !important;
  .reviews--sub-title, .reviews--login-title, .reviews--title {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0.03em;

    color: $dark;
  }
  button, a.button {
    width: 88px;
    height: 30px;
    margin-top: 20px;
    padding: 3px 24px;
    background: $light-primary;
    color: $dark;
    border: 0.5px solid $light-primary;
    box-sizing: border-box;
    border-radius: 4px;
    text-transform: capitalize;
    text-decoration: none !important;
     &.review-login-button {
       padding: 6px 24px;
     }
  }

  .reviews--sub-title{
    font-size: 14px;
    line-height: 15px;
    padding-bottom: 20px;
  }

  .reviews--login-title {
    font-weight: 600;
    font-size: 20px;
    padding-bottom: 10px;
  }
}
