.testimonial img {
    width: 100%;
    max-width: 400px;
    border-radius: 0.15rem;
    filter: grayscale(1);
    transition: filter 0.25s;
    margin: auto;
}

.testimonial.testimonial.is-active img {
    filter: grayscale(0) drop-shadow(0px 5px 6px rgba(0, 0, 0, 0.2)) drop-shadow(0px 9px 12px rgba(0, 0, 0, 0.14)) drop-shadow(0px 3px 16px rgba(0, 0, 0, 0.12));;
}

.testimonial .testimonial-text {
    margin-top: 1.5rem;
    opacity: 0;
    visibility: hidden;
    height: 0;
    transition: 0.25s;
    margin-left: -50%;
    width: 200%;
}

@media screen and (max-width: 1080px) {
    .testimonial .testimonial-text {
        margin-left: 0;
        width: 100%;
        opacity: 1;
        visibility: visible;
        height: auto;
    }

    .testimonial.testimonial.is-visible img {
        filter: grayscale(0) drop-shadow(0px 5px 6px rgba(0, 0, 0, 0.2)) drop-shadow(0px 9px 12px rgba(0, 0, 0, 0.14)) drop-shadow(0px 3px 16px rgba(0, 0, 0, 0.12));;
    }
}

.testimonial.is-active .testimonial-text {
    opacity: 1;
    visibility: visible;
    height: auto;
}

.testimonial .testimonial-text h4 {
    margin-bottom: 0.25rem;
    color: var(--red);
}

.testimonial .testimonial-text p.position {
    margin: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.splide__arrows {
    display: none;
}

.splide__pagination {
    bottom: -1rem
}

.splide__pagination__page {
    opacity: 1;
    background: var(--light);
}

.splide__pagination__page.is-active {
    background: var(--red);
    transform: unset;
}