.client-testimonial-sec {
    padding: 160px 0
}

.client-testimonial-sec .wrapper {
    display: flex;
    justify-content: space-between
}

.client-testimonial-sec .wrapper .item {
    display: flex;
    justify-content: space-between
}

.testimonial-img {
    width: 32.683%
}

.testimonial-text {
    width: 63.8%;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(12, 13, 14, .14);
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.author-img {
    position: relative;
    min-height: 618px;
    height: 100%
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0
}

.testimonial-img .testi-img {
    height: 100%;
    min-height: 618px;
    position: relative
}

.testimonial-with-image .testimonial-img .title-section {
    display: none
}

.testimonial-text .title-section {
    margin-bottom: 20px;
    display: none
}

.testimonial-with-image .testimonial-text .title-section {
    display: block
}

.testimonial-with-image .testimonial-text {
    padding: 0;
    border: 0
}

.client-testimonial-sec.testimonial-with-image .testimonial-main .custom-nav {
    bottom: 0
}

.testimonial-wrapper {
    max-width: 800px
}

.client-testimonial-sec .testimonial-main {
    position: relative
}

.client-testimonial-sec .testimonial-main .custom-nav {
    position: absolute;
    right: 0;
    bottom: 45px
}

.testimonial-content h2 {
    font-weight: 300;
    letter-spacing: -1.08px
}

.author-wrapper {
    margin-top: 35px
}

.author-wrapper .author-name h4 {
    font-family: var(--font-fightree);
    font-size: 22px;
    font-weight: 600;
    line-height: 29.7px;
    margin-bottom: 0
}

.author-wrapper .author-name span {
    color: rgba(12, 13, 14, .6);
    font-size: 16px;
    font-weight: 400;
    line-height: 23.2px
}

.author-img .popup-youtube {
    position: absolute;
    right: 0;
    bottom: 0
}

@media only screen and (max-width: 1699px) {
    .testimonial-with-image .testimonial-img {
        width: 40%
    }

    .testimonial-with-image .testimonial-text {
        width: 55%
    }

    .testimonial-wrapper {
        max-width: 655px
    }
}

@media only screen and (max-width: 1199px) {
    .testimonial-with-image .testimonial-img {
        width: 45%
    }

    .testimonial-with-image .testimonial-text {
        width: 50%
    }

    .client-testimonial-sec {
        padding: 80px 0
    }

    .testimonial-content h2 {
        font-size: 34px;
        line-height: 37.4px;
        letter-spacing: -.68px
    }

    .author-wrapper .author-name h4 {
        font-size: 20px;
        line-height: 27px
    }
}

@media only screen and (max-width: 991px) {
    .client-testimonial-sec {
        padding: 60px 0
    }

    .testimonial-with-image .testimonial-img {
        /*width: 100%;*/
        margin-bottom: 20px
    }

    .testimonial-with-image .testimonial-text {
        width: 100%
    }

    .author-img {
        height: auto;
        padding-bottom: 100%;
        min-height: unset
    }

    .client-testimonial-sec .wrapper .item {
        display: block
    }
}

@media only screen and (max-width: 767px) {
    .author-wrapper .author-name span {
        font-size: 14px;
        line-height: 20.3px
    }

    .testimonial-text {
        width: 100%;
        border: 0;
        padding-bottom: 24px
    }

    .testimonial-img {
        width: 140px;
        margin-bottom: 20px
    }

    .client-testimonial-sec .wrapper .item {
        display: block
    }

    .author-wrapper {
        margin-top: 20px
    }

    .client-testimonial-sec .testimonial-main .custom-nav {
        position: static;
        margin-top: 24px;
    }
}