/*.bios {
    display: flex;
    margin-top: 2.5vw;
    margin-bottom: 5.25vw;
}

.bio {
    flex-basis: 50%;
}

.bio img {
    width: 100%;
    margin-bottom: 2vw;
}

.info {
    text-align: center;
    border-top: 1px solid rgb(150 150 150);
    padding: 0.7em 0 0.5em;
    line-height: 1.5;
}

.info:last-child {
    border-bottom: 1px solid rgb(150 150 150);
}

.info :is(h4, p) {
    margin: 0;
}*/

.full-width-background {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 0.1em 4vw;
    box-sizing: border-box;
    overflow: hidden;
}

.full-width-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-gray) url('/assets/Catering-Testimonials_WS.jpg') top / cover no-repeat;
    filter: brightness(0.3);
    z-index: -1;
}

.full-width-background :is(h2, h4, p) {
    color: var(--white);
}

.full-width-background h2 {
    margin: 1em 0 0.5em;
}

.full-width-background p {
    text-align: left;
    padding: 0 1.5em;
}

.author {
    margin: 0 0 1.2em;
    line-height: 1.5;
}

.testimonials {
    width: min(calc(51rem + 15vw), 100%);
    aspect-ratio: auto;
    max-width: none;
}

.testimonials .slide {
    align-items: center;
}

.testimonials .item {
    position: relative;
    top: -0.5em;
}

.testimonials .item > img {
    width: 4em;
}

@media (max-width: 1128px) {
    /*.bios {
        margin-bottom: 10vw;
    }*/

    .full-width-background {
        padding-left: 2.25em;
        padding-right: 2.25em;
    }

    .testimonials {
        width: 100%;
    }

    .full-width-background h2 {
        text-wrap: balance;
        font-size: 1.7em;
    }

    .full-width-background h4 {
        letter-spacing: 0.01em;
    }

    .full-width-background p {
        font-size: 1em;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}

@media (max-width: 740px) {
    /*.bios {
        flex-direction: column;
        margin-bottom: 3vh;
    }

    .bio {
        margin-top: 4vh;
        margin-bottom: 5vh;
    }

    .bio img {
        display: block;
        width: min(100%, 20em);
        margin-inline: auto;
        margin-bottom: 6vw;
    }*/

    .carousel {
        margin: 0 auto;
    }

    .testimonials .slide {
        padding-bottom: 0.3em;
    }

    .slide.scroll-down::after {
        content: 'Scroll down to read more';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        font-size: 0.8em;
        color: rgba(255, 255, 255, 0.6);
    }

    .full-width-background {
        padding-bottom: 0.6em;
    }

    .full-width-background h2 {
        line-height: 1.2;
    }

    .full-width-background p {
        font-size: 0.8em;
        max-height: 12em;
        overflow: auto;
        padding-bottom: 1em;
        margin-bottom: 0;
        overscroll-behavior-y: none;
    }

    .full-width-background .text {
        position: relative;
        overflow: hidden;
    }

    .full-width-background .slide.scroll-down .text::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: -1.5em;
        width: calc(100% + 3em);
        height: calc(100% + 3em);
        box-shadow: inset 0 0 1.5em rgba(0, 0, 0, 0.8);
        pointer-events: none;
    }
}
