.testimonials,
.testimonials__heading {
    position: relative;
}

.testimonials__heading {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials__heading h2 {
    font-size: 35px;
    line-height: 1em;
    margin: 0;
    padding-top: 20px;
    position: relative;
    z-index: 1;
    text-transform: none;
}

.testimonials__wrap {
    margin: 0 22px;
    border: 1px solid #DDDDDD;
    border-radius: 7px;
}

.shadow-text {
    margin: 0;
    font-size: 55px;
    line-height: 67px !important;
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(242, 242, 242, 0.65);
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translate(-50%, 0);
    max-width: 330px;
}

.testimonials__image {
    width: 100%;
    height: 225px;
}

.testimonials__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 7px 7px 0px 0px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;    
}

.testimonials__text {
    padding: 35px 20px;
}

.testimonial__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial__top h4 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2em;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--text-color);
    text-transform: uppercase;
}

.testimonial__stars {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-color);
    gap: 0 10px;
    font-size: 20px;
}

.testimonial__content .read-more__box {
    max-height: 250px;
}

.testimonial__content .read-more__box.fx-untruncated {
    max-height: 100% !important;
}

.testimonial__content .expand {
    margin-bottom: 0;
}

.testimonials .slick-initialized .slick-slide {
    vertical-align: top;
}

.testimonials-slider-wrap {
    padding-bottom: 88px;
}

.testimonials__btn {
    text-align: center;
    margin-top: 20px;
}

.testimonials.bg-charcoal .shadow-text {
    color: rgb(242 242 242 / 9%);
}

.testimonials.bg-charcoal .testimonial__top h4 {
    color: var(--white);
}

.testimonials.bg-charcoal .testimonial__stars {
    color: var(--white);
}


@media (min-width: 768px) {
    .testimonials__heading {
        text-align: left;
        margin-bottom: 38px;
    }

    .shadow-text {
        font-size: 64px;
        letter-spacing: 0.27em;
        left: -15px;
        top: -30px;
        transform: none;
        max-width: 100%;
    }

    .testimonials__heading h2 {
        font-size: 45px;
        padding-top: 20px;
    }

    .testimonials__wrap {
        margin: 0 0;
        border: none;
        border-radius: 0;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row-reverse;
    }

    .testimonials__image {
        width: calc(100% - 460px);
        position: relative;
        height: auto;
    }

    .testimonials__image img {
        height: calc(100% - 50px);
        position: absolute;
        border-radius: 7px 0px 0px 7px;
        object-fit: contain;
    }

    .testimonials__text {
        padding: 24px 0 0 52px;
        width: 460px;
        position: relative;
    }

    .testimonials__text__wrapper {
        position: relative;
        padding: 50px 32px 60px 25px;
    }

    .testimonials__text__wrapper::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: calc(100% + 200px);
        height: 100%;
        border: 1px solid #DDDDDD;
        border-radius: 7px;
        z-index: -1;
    }

    .testimonial__top {
        margin-bottom: 20px;
    }

    .testimonial__content .read-more__box {
        max-height: 270px;
    }

    .testimonials-slider-wrap {
        padding-bottom: 88px;
    }

    .testimonials__btn {
        text-align: left;
        margin-top: -44px;
    }

    .testimonials .slick-prev {
        margin-left: 50px;
    }

    .testimonials .slick-next {
        margin-right: -208px;
    }
}

@media (min-width: 1200px) {
    .testimonials__heading {
        text-align: left;
        margin-bottom: -98px;
        padding-top: 50px;
    }

    .shadow-text {
        font-size: 63px;
        letter-spacing: 0.30em;
        left: -40px;
        top: 00px;
        line-height: 1em;
    }

    .testimonials__heading h2 {
        font-size: 50px;
        padding-top: 0;
        max-width: 550px;
    }

    .testimonials__wrap {
        margin: 0 0;
    }

    .testimonials__image {
        width: calc(50% - 143px);
        position: relative;
        height: auto;
    }

    .testimonials__image img {
        height: 100%;
    }

    .testimonials__text {
        padding: 130px 0 100px 0;
        width: calc(50% + 125px);
    }

    .testimonials__text__wrapper {
        position: relative;
        padding: 75px 140px 90px 76px;
        max-width: 755px;
        margin-left: auto;
        min-height: 479px;
    }

    .testimonial__content .read-more__box {
        max-height: 290px;
        overflow-wrap: inherit !important;
    }

    .testimonials-slider-wrap {
        padding-bottom: 0;
    }

    .testimonials__btn {
        margin-top: -56px;
        margin-left: 0;
    }

    .testimonials .slick-arrow {
        bottom: 10px;
    }

    .testimonials .slick-prev {
        margin-left: -175px;
    }

    .testimonials .slick-next {
        margin-right: 0px;
        right: auto;
        left: 50%;
        margin-left: -80px;
    }

    .testimonial__top h4 {
        font-size: 24px;
    }

    .testimonial__content .expand {
        margin-top: 10px;
    }
}


@media (min-width: 1300px) {
    .shadow-text {
        font-size: 71px;
        left: -75px;
    }

    .testimonials__btn {
        margin-left: 35px;
    }
}


@media (min-width: 1367px) {
    .shadow-text {
        font-size: 85px;
        left: -175px;
    }

    .testimonials__btn {
        margin-left: 75px;
    }

    .testimonials--margins {
        margin-bottom: 180px;
    }
}