.testimonial {
    position: relative;
}

.testimonial * {
    color: var(--color-white);
}

.testimonial__image {
    font-size: 0;
    margin: 0 0 0 auto;
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 50%;
}

.testimonial .section strong {
    color: var(--color-secondary);
}

@media (min-width: 1025px) {
    .testimonial__image {
        top: 0;
        bottom: auto;
        right: 0;
        width: 598px;
        height: 100%;
    }
}

.testimonial__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial__container {
    position: relative;
    z-index: 2;
}

.testimonial__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.testimonial__slider {
    width: 100%;
    margin-top: 70px;
}

.testimonial__content {
    text-align: left;
}

@media (min-width: 768px) {
    .testimonial__content {
        text-align: center;
        width: 100%;
    }
}

@media (min-width: 1025px) {
    .testimonial__content {
        width: 552px;
        padding-right: 14px;
        margin-top: -114px;
        text-align: left;
    }

    .testimonial__slider {
        width: calc(100% - 552px);
        padding-left: 14px;
        margin-top: auto;
    }
}

@media (min-width: 768px) {
    .testimonial__slider__wrapper .slick-track,
    .testimonial__slider__wrapper .slick-slide,
    .testimonial__slider__wrapper .slick-slide > div {
        height: 100%;
    }
}

.testimonial__slider__item {
    text-align: center;
    background-color: var(--bg-medium);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .testimonial__slider__item {
        height: 100%;
    }
}

.testimonial__slider__card {
    padding: 32px;
}

@media (min-width: 768px) {
    .testimonial__slider__card {
        padding: 64px;
    }
}

.testimonial__slider__description {
    color: var(--color-white);
    margin: 0 0 35px;
    position: relative;
}

.testimonial__slider__description p {
    font-size: 16px;
    font-family: var(--font-primary);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial__slider__description:before,
.testimonial__slider__description:after {
    color: var(--color-secondary);
    display: inline;
    font-weight: 600;
    font-size: 18px;
    position: absolute;;
    top: 10px;
}

.testimonial__slider__description:before {
    content: "“";
    margin-right: 5px;
    left: -10px;
}

.testimonial__slider__description:after {
    content: "”";
    margin-left: 5px;
    right: -10px;
}

.testimonial__slider__name h3,
.testimonial__slider__name p {
    text-transform: uppercase;
    font-size: 24px;
    font-family: var(--font-secondary);
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.testimonial__slider__name h3 {
    color: var(--color-secondary);
}

.testimonial__slider__name p {
    color: var(--color-white);
}

.testimonial__slider .slick-slider {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .testimonial__slider .slick-slider {
        justify-content: center;
    }
}

.testimonial__slider .slick-prev,
.testimonial__slider .slick-next {
    order: 1;
    margin-right: 22px;
}

.testimonial__slider .slick-list {
    order: 0;
    margin-bottom: 45px;
}

@media (min-width: 1025px) {
    .testimonial__slider .slick-list {
        margin-bottom: 45px;
    }
}
