.testimonial {
    position: relative;
}

.testimonial--video-slider {
    margin-block: 100px;
}

.testimonial-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.testimonial-bg img {
    position: absolute;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.testimonial-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 100px 0 160px;
}

.testimonial-column,
.testimonial-image--vid-thumb {
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(2, 54, 69, 0.13);
    padding: 28px 20px 70px;
    color: #023645;
    min-height: 320px;
}

.testimonial-column i {
    color: #D69A36;
    font-size: 50px;
    line-height: 1em;
    padding-bottom: 10px;
    display: block;
}

.testimonial-column p {
    font-size: 17px;
    padding-bottom: 0;
    margin-bottom: 24px;
}

.testimonial-column h3 {
    font-size: 28px;
    color: #D69A36;
}

.substancet {
    position: relative;
    padding: 220px 0 0;
}

.testimonial-overlay {
    position: relative;
}

.testimonial-top-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.testimonial-top-content h2 {
    padding: 0 50px 0 0;
}

.testimonial-overlay .testimonial-content {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, .65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=0);
}

.testimonial-item {
    overflow: hidden;
}

.testimonial-image--vid-thumb {
    height: 290px;
    width: 100%;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-image-column {
    height: 100%;
    position: relative;
}

.testimonial-wrapper {
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .testimonial--video-slider {
        margin-block: 155px 100px;
    }


    .testimonial-column {
        max-width: 600px;
        margin: 0 auto;
        padding: 35px 90px 80px;
    }

    .testimonial-column i {
        padding-bottom: 20px;
    }

    .testimonial-content {
        padding: 110px 0;
    }

    .substancet .white-content-image {
        top: -401px;
        max-width: 450px;
    }

    .substancet {
        padding: 20px 0 0;
    }
}

@media (min-width: 1200px) {
    .testimonial-image--vid-thumb {
        height: 340px;
    }

    .testimonial--video-slider {
        margin-block: 50px 0;
    }


    .testimonial-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row;
    }

    .testimonial-text,
    .testimonial-image {
        width: 50%;
        position: relative;
    }

    .testimonial-text {
        background: #FFFFFF;
        box-shadow: 0 4px 16px rgba(2, 54, 69, 0.13);
        border-left: 6px solid #D69A36;
    }

    .testimonial-column {
        background: transparent;
        box-shadow: none;
        max-width: 100%;
        margin: 0 auto;
        padding: 35px 70px 80px;
        /* min-height: 320px; */
        height: 340px;
    }

    .testimonial-image-column {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .testimonial-image-column img {
        -o-object-fit: cover;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .testimonial .slick-prev,
    .testimonial .slick-next {
        opacity: 0;
    }

    .testimonial-overlay .slick-prev::before {
        content: "\e907";
    }

    .testimonial-overlay .slick-next::before {
        content: "\e90f";
    }

    .testimonial-overlay .slick-next::before,
    .testimonial-overlay .slick-prev::before {
        font-size: 30px;
    }

    .testimonial-overlay .slick-next {
        right: -65px;
        opacity: 1;
    }

    .testimonial-overlay .slick-prev {
        left: -65px;
        opacity: 1;
    }

    .testimonial-overlay {
        margin-top: 0;
    }

    .testimonial-overlay .testimonial-content {
        padding: 140px 0;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, .65) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=0);
    }

}

.layout-mb__coffee-image {
    display: none;
}

@media (max-width: 1025px) {
    .layout-mb--coffee-cup.testimonial-overlay .testimonial-content {
            background: #093645;
            padding-top: 15px;
        }
    
        .testimonial.testimonial-overlay.layout-mb--coffee-cup {
            margin-block: 3rem 14rem;
        }
    
        .layout-mb__coffee-image {
            position: absolute;
            bottom: -250px;
            display: block;
        }
}