section#testimonials {
    padding-left: 0;
    padding-right: 0;
}

.testimonials-container {
    position: relative;
}

.testimonials {
    margin-top: 12vw;
}

.testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 3vw;
    font-size: 1.4vw;
    position: relative;
    margin-bottom: 10vw !important;
}

.testimonial-content {
    display: flex;
    align-items: flex-start;
}

.testimonial-img-wrapper {
    margin-inline-end: 3vw;
    background-image: url(/img/testimonial-mask-border.png?v=9);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.testimonial-img-mask {
    mask-image: url(/img/testimonial-mask.png?v=9);
    mask-size: 94%;
    mask-repeat: no-repeat;
    mask-position: center;
}

.testimonial-img {
    width: 10vw;
}

.testimonial-text {
    width: 20vw;
    color: #fff;
    text-align: justify;
    hyphens: auto;
}

@media only screen and (min-width: 1441px) {
    .testimonial-text {
        width: 50vw;
    }
}

@media only screen and (max-width: 1440px) {
    .testimonial-text {
        width: 50vw;
    }
}

@media only screen and (max-width: 1200px) {
}

@media only screen and (max-width: 992px) {
    .testimonials {
        margin-top: 24vw;
        margin-bottom: 8vw;
    }

    .testimonial {
        margin: 0 8vw;
        font-size: 3vw;
    }

    .testimonial-content {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-img-wrapper {
        margin-inline-end: 0;
        margin-block-end: 5vw;
    }

    .testimonial-img {
        width: 20vw;
    }

    .testimonial-text {
        width: auto;
    }
}

@media only screen and (max-width: 768px) {
    .testimonials {
        margin-top: 24vw;
        margin-bottom: 8vw;
    }

    .testimonial {
        margin: 0 8vw;
        font-size: 4vw;
    }

    .testimonial-content {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-img-wrapper {
        margin-inline-end: 0;
        margin-block-end: 5vw;
    }

    .testimonial-img {
        width: 30vw;
    }

    .testimonial-text {
        width: 70vw;
    }
}

@media only screen and (max-width: 430px) {
    .testimonials-section-title {
        top: 21.5vw;
    }

    section#testimonials {
        padding-top: 24vw;
    }

    .testimonials {
        margin-top: 24vw;
        margin-bottom: 8vw;
    }

    .testimonial {
        margin: 24vw 0;
        font-size: 4.6vw;
    }

    .testimonial-content {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-img-wrapper {
        margin-inline-end: 0;
        margin-block-end: 5vw;
    }

    .testimonial-img {
        width: 36vw;
    }

    .testimonial-text {
        width: 70vw;
    }
}

@media (hover: none) {
}

/* Desktop nav on testimonials page: colored from the start (non-sticky) */
.testimonials-page .nav-wrapper.non-sticky ul li a {
    color: var(--livui-blue);
}

.testimonials-page .nav-wrapper.non-sticky a svg {
    fill: var(--livui-pink);
}

.testimonials-page .nav-wrapper.non-sticky span.underline {
    background: var(--livui-pink);
}

/* Remove drop shadow like in sticky state */
.testimonials-page .nav-wrapper.non-sticky a svg,
.testimonials-page .nav-wrapper.non-sticky .nav-text {
    filter: none;
}