.testimonials {
    position: relative;
    z-index: 1;
    background: #F3F3F5;
}

.testimonials.bg-white {
    background: #fff;
}

.testimonials.bg-blue {
    background: #004B86;
}

.testimonials::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 66px;
    height: 68px;
    background-color: #fff;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.testimonials::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 65px;
    height: 70px;
    background-color: #fff;
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.testimonials.bg-white::after,
.testimonials.bg-white::before {
    background-color: #F3F3F5;
}

.testimonials.bg-blue::after {
    top: -1px;
}

.testimonials.bg-blue {
    color: inherit;
}

.testimonial__headline h2 {
    font-size: 28px;
    padding: 0 0 14px;
}

.testimonial-item {
    filter: drop-shadow(2px 5px 10px rgba(9, 48, 78, 0.10));
}

.js-testimonial .slick-track {
    display: flex;
    align-items: flex-start;
    padding-bottom: 50px;
}

.testimonial-item-wrap {
    background-color: rgba(243,243,245,0.9);
    clip-path: polygon(0 0, 91% 0, 100% 40px, 100% 100%, 36px 100%, 0 88%);
    padding: 32px 15px 24px 25px;
}

.testimonial-item-wrap p {
    color: #585F65;
    font-size: 16px;
    line-height: 1.75em;
    padding: 0;
}

.js-testimonial .slick-list {
    width: calc(100% + 20px);
    margin-left: -10px;
}

.js-testimonial .slick-slide {
    margin: 10px;
}

.js-testimonial .slick-slide div {
    margin-bottom: 10px;
}

.testimonial-bottom-text {
    padding-right: 0;
    min-height: 46px;
    background-color: rgb(255, 255, 255);
    position: relative;
    z-index: 1;
 
    width: calc(100% - 8px);
    padding-bottom: 10px;
}

.testimonial-bottom-text h5 {
    font-size: 16px;
    line-height: 1.5em;
    color: #1B78C1;
    padding: 0 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.testimonial-text-scroll {
    height: 287px;
    overflow-y: scroll;
    padding-bottom: 15px;
    padding-right: 27px;
    scrollbar-width: thin;
    scrollbar-color: #BEC3C7 rgba(217, 223, 227, 0.64);
}

.testimonial-text-scroll h3 {
    font-size: 16px;
    line-height: 1.5em;
    color: #1B78C1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.testimonial-text-scroll::-webkit-scrollbar-track {
	background-color: rgba(217, 223, 227, 0.64);
  }

.testimonial-text-scroll::-webkit-scrollbar-track {
	background-color: rgba(217, 223, 227, 0.64);
}

.testimonial-text-scroll::-webkit-scrollbar {
	width: 8px;
	background-color: rgba(217, 223, 227, 0.64);
}

.testimonial-text-scroll::-webkit-scrollbar-thumb {
	background-color: #BEC3C7;
}

.testimonial-button {
    padding-top: 24px;
}
@media(min-width:680px) {
    .testimonial-bottom-text {
        margin-top: -49px;
        }
 } 

@media(min-width: 768px) {
    .js-testimonial {
        padding: 0 75px;
    }

    .js-testimonial .slick-list {
        width: calc(100% + 40px);
        margin-left: -20px;
    }

    .js-testimonial .slick-slide {
        margin: 10px 20px;
    }

    .js-testimonial .slick-track {
        padding-bottom: 10px;
    }

    .testimonial__headline h2 {
        padding: 0 0 40px;
    }

    .testimonial-item-wrap {
        padding: 50px 33px 46px 44px;
        clip-path: polygon(0 0, 91% 0, 100% 40px, 100% 100%, 49px 100%, 0 89%);
    }

    .testimonial-button {
        padding-top: 29px;
    }

    .js-testimonial .slick-next {
        bottom: 40%;
        margin: 0;
        left: unset;
        right: 17px;
        transform: translate(0% , -50%);
    }

    .js-testimonial .slick-prev {
        bottom: 40%;
        margin: 0;
        left: 17px;
        transform: translate(0% , -50%);
    }

    .testimonials::before,
    .testimonials::after {
        width: 97px;
        height: 101px;
      }
}

@media(min-width: 1200px) {
    .testimonials::before,
    .testimonials::after {
        width: 270px;
        height: 287px;
    }

    .testimonial__headline h2 {
        font-size: 38px;
    }

    .js-testimonial {
        padding: 0 20px;
    }

    .js-testimonial .slick-list {
        width: calc(100% + 32px);
        margin-left: -16px;
    }

    .js-testimonial .slick-slide {
        margin: 10px 16px;
    }

    .testimonial-bottom-text {
        display: flex;
        align-items: end;
        padding-bottom: 0;
        box-shadow: -20px 0px 12px 30px #ffffff7a;
    }

    .js-testimonial .slick-prev {
        left: -55px;
    }

    .js-testimonial .slick-next {
        right: -55px;
    }

    .testimonial-text-scroll {
        height: 249px;
        padding-bottom: 50px;
    }

}

@media(min-width: 1366px) {
    .testimonial-bottom-text {
        width: calc(100% - 84px);
        min-height: auto;
        margin: 0;
        position: absolute;
        left: 43px;
        bottom: 50px;
    }

    .testimonial-item-wrap {
        padding: 50px 33px 80px 44px;
    }
}

.testimonial__headline p:last-child{
    padding-bottom: 30px;
}