.testimonial-slider {
    background-color: var(--wp--preset--color--primary);
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.testimonial-slider .slider {
    padding-top: var(--wp--preset--spacing--60);
    padding-bottom: var(--wp--preset--spacing--60);
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slider .slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.testimonial-slider .slide img {
    object-fit: cover;
    max-width: 160px;
    max-height: 160px;
    width: calc(88px + (600 - 88) * ((100vw - 320px) / (2560 - 320)));
    height: calc(88px + (600 - 88) * ((100vw - 320px) / (2560 - 320)));
    border-radius: 50%;
    margin: var(--wp--preset--spacing--20) 0;
}

.testimonial-slider .headline-text {
    font-size: var(--wp--preset--font-size--large);
    margin-bottom: 10px;
    color: var(--wp--preset--color--base);
}

.testimonial-slider .cta-text {
    font-style: italic;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    color: var(--wp--preset--color--base);
}

.testimonial-prev-slide, .testimonial-next-slide {
    position: absolute;
    top: 50%;
    height: 48px;
    width: 48px;
    z-index: 1;
    background-color: transparent;
    border: solid 2px var(--wp--preset--color--base);
    border-radius: 50%;
    padding: 0px 12px 0px 12px;
    cursor: pointer;
}

.testimonial-prev-slide {
    left: 2vw;
    top: 42%;
    transform: rotate(90deg);
}

.testimonial-next-slide {
    right: 2vw;
    top: 42%;
    transform: rotate(-90deg);
}