.hf-testimonial-wrapper .hf-testimonial.black {
    background: #000;
}

.hf-testimonial-wrapper .hf-testimonial.white {
    background: #fff;
}

.hf-testimonial-wrapper .hf-testimonial.whitegradient {
    background: var(--white-gradient);
}

.hf-testimonial-wrapper .hf-testimonial.gradient {
    background: var(--main-gradient);
}

.hf-testimonial-wrapper .hf-testimonial.gradientflip {
    background: var(--main-gradient-flipped);
}

.hf-testimonial-wrapper .hf-testimonial.bluegradient {
    background: var(--blue-gradient);
}

.hf-testimonial-wrapper .hf-testimonial.purplegradient {
    background: var(--purple-gradient);
}

.hf-testimonial-wrapper .hf-testimonial.pinkgradient {
    background: var(--pink-gradient);
}

.hf-testimonial-wrapper .col-wrap {
    display: flex;
    align-items: center;
}

.hf-testimonial-wrapper .col-wrap .col-left {
    flex-basis: 50%;
    padding-right: 54px;
}

.hf-testimonial-wrapper .col-wrap .col-right {
    flex-basis: 50%;
    text-align: right;
}

.hf-testimonial-wrapper .col-wrap .col-left .hf-testimonial-quote {
    max-width: 100%;
    margin-bottom: 40px;
}

.hf-testimonial-wrapper .col-wrap .col-left .hf-testimonial-author-job {
    align-self: flex-start;
    text-align: left;
    margin-left: 15px;
}

.hf-testimonial-wrapper .hf-testimonial {
    display: flex;
    flex-direction: column;
}

.hf-testimonial .hf-testimonial-quote {
    margin-bottom: 109px;
    max-width: 70%;
}

.hf-testimonial .hf-testimonial-quote blockquote {
    border: 0;
    margin: 0;
    padding-left: 15px;
}

.hf-testimonial .hf-testimonial-quote blockquote::before {
    content: open-quote;
    position: absolute;
    left: 0;
}

.hf-testimonial .hf-testimonial-quote blockquote p:last-child {
    display: inline;
}

.hf-testimonial .hf-testimonial-author-job {
    position: relative;
    align-self: flex-end;
    text-align: right;
}

/* .hf-testimonial .hf-testimonial-author-job::before {
    content: '\2013';
    font-weight: 500;
    position: absolute;
    left: -15px;
} */

.hf-testimonial .hf-testimonial-author-job .hf-testimonial-author {
    font-weight: 600;
}

.hf-testimonial-wrapper .testimonial-image img,
.hf-testimonial-wrapper .vimeo-container iframe {
    border: 1px solid #fff;
    border-radius: 20px;
}

.hf-testimonial-wrapper .vimeo-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 20px;
}

.hf-testimonial-wrapper .vimeo-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hf-testimonial-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 11;
    cursor: pointer;
    background-color: rgba(0, 0, 0, .3);
}

.hf-testimonial-wrapper .video-overlay .play-button {
    width: 80px;
    height: 80px;
    opacity: .6;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: opacity .4s;
    z-index: 12;
}

.hf-testimonial-wrapper .video-overlay:hover .play-button,
.hf-testimonial-wrapper .video-overlay:hover .volume-button,
.hf-testimonial-wrapper .video-overlay:hover .transcript {
    opacity: 1;
}

.hf-testimonial-wrapper .transcript {
    width: 35px;
    position: absolute;
    bottom: 10%;
    right: 10px;
    opacity: .6;
    z-index: 12;
    transition: opacity .4s;
}

.hf-testimonial-wrapper .volume-button {
    width: 36px;
    position: absolute;
    top: 6%;
    left: 6%;
    opacity: .6;
    z-index: 12;
    transition: opacity .4s;
}

.hf-testimonial-wrapper .volume-button .sound-on-icon,
.hf-testimonial-wrapper .play-button .pause-icon {
    display: none;
}


@media (max-width: 991px) {
    .hf-testimonial .hf-testimonial-quote {
        margin-bottom: 75px;
        max-width: 100%;
    }

    .hf-testimonial-wrapper .col-wrap {
        flex-direction: column-reverse;
        gap: 50px;
    }

    .hf-testimonial-wrapper .col-wrap .col-left {
        flex-basis: 100%;
        padding-right: 0;
    }

    .hf-testimonial-wrapper .col-wrap .col-left .hf-testimonial .hf-testimonial-author-job {
        align-self: flex-end;
        text-align: right;
    }

    .hf-testimonial-wrapper .col-wrap .col-right {
        flex-basis: 100%;
        width: 100%;
    }
}

@media (max-width: 991px) {
    .hf-testimonial .hf-testimonial-quote blockquote {
        font-size: 22px;
        padding-right: 36px;
    }
}

@media (max-width: 767px) {
    .hf-testimonial-wrapper .container {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .hf-testimonial-wrapper .hf-testimonial-comma {
        display: none;
    }

    .hf-testimonial .hf-testimonial-quote {
        margin-bottom: 45px;
    }

    .hf-testimonial .hf-testimonial-quote blockquote {
        padding-left: 11px;
    }

    .hf-testimonial .hf-testimonial-author-job {
        align-self: flex-start;
        text-align: left;
        margin-left: 11px;
    }

    .hf-testimonial .hf-testimonial-author-job .hf-testimonial-author {
        font-size: 16px;
        font-weight: 600;
    }

    .hf-testimonial .hf-testimonial-author-job .hf-testimonial-job {
        display: block;
    }

    .hf-testimonial-wrapper .col-wrap .col-left .hf-testimonial .hf-testimonial-author-job {
        text-align: left;
    }
}