.block-quotes {
    margin: 40px 0 64px 0;
    position: relative;

    .container {
        position: relative;
    }

    .container::before,.container::after {
        content: '';
        display: block;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
        height: 100%;
        width: 100px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 90;
    }

    .container::before {
        transform: rotate(180deg);
        left: 0;
    }


    .logo {
        height: 24px;
        display: block;
        margin-bottom: 24px;

        img {
            height: 100%;
            object-fit: contain;
        }
    }

    .headshot {
        display: flex;
        gap: 16px;
        align-items: center;
        margin-bottom: 16px;

        figure {
            width: 100px;
            height: 100px;
            border-radius: 999vw;
            overflow: hidden;
            flex-shrink: 0;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        h3 {
            font-size: 20px;
            font-family: 'Avenir';
            line-height: 1.2;
            font-weight: 800;

            span {
                display: block;
                font-weight: 400;
            }
        }
    }

    &.headshot_sm {
        .headshot {
            margin: 16px 0 0 0;

            figure {
                width: 75px;
                height: 75px;
            }

            h3 {
                font-size: 18px;
            }
        }

        .quote:before {
            content: '“';
            display: block;
            font-family: 'Helvetica', serif;
            font-size: 40px;
            font-weight: 700;
        }

    }

    .readmore {
        font-family: 'Avenir';
        font-size: 18px;
        font-weight: 800;
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 2px;
        margin-top: 24px;
        display: flex;
        align-items: center;
        transition: all .3s ease-in-out;

        &::after {
            content: '';
            mask: var(--icon-chevron);
            display: block;
            width: 24px;
            height: 24px;
            mask-repeat: no-repeat;
            transform: rotate(-90deg);
            mask-position: center;
            background-color: #000;
            transition: all .3s ease-in-out;
        }

        &:hover, &:focus-visible {
            &::after {
                background-color: #CA4A2B;
            }
        }   
    }


    .attribution {
        margin-top: 16px;
    }

    .splide__track {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .splide__arrows {
        position: absolute;
        top: 100%;
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 16px;

        button {
            position: static;
            border-radius: 12px;
            background-color: #fff;
            box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
            padding: 0 16px;
            min-width: 52px;
            transform: none;
            border: 0;
            opacity: 1;
            height: 32px;

            &:focus, &:focus-visible, &:hover {
                background: #fff;
            }

            svg {
                display: none;
            }

            &:before {
                content: '';
                background: var(--icon-arrow-narrow);
                display: block;
                width: 20px;
                height: 20px;
            }

            &.splide__arrow--prev:before {
                transform: rotate(180deg);
            }

        }
    }

    .splide__slide {
        padding: 40px;
        border-radius: 12px;
        background: #FFF;
        box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.15);
        transition: all .3s ease-in-out;

        &[aria-hidden="true"] {
            opacity: .6;
        }
    }

    .splide__pagination {
        bottom: unset;
        padding: 0;
        position: static;
        gap: 8px;
        margin-top: 60px;

        li {
            line-height: 0;
            display: block;
        }

        button {
            min-width: 1px;
            width: 40px;
            height: 5px;
            background: #D9D9D9;
            transform: none;
            border: 0;
            opacity: 1;
            margin: 0;
            padding: 0;

            &[aria-selected="true"] {
                background: #2872DC;

                &:hover, &:focus-visible {
                    opacity: 1;
                }
            }

            &:hover, &:focus-visible {
                background: #2872DC;
                opacity: .5;
            }
        }
    }




    @media screen and (min-width: 700px) {
        margin: 40px 0;

        .splide__slide {
            padding: 80px;
        }

        .splide__arrows {
            top: calc(50% - 48px);
            justify-content: space-between;
            z-index: 91;
            padding: 0 20px;

            button {
                height: 44px;
            }
        }
        
    }

    &.single {
        padding: 0 20px;

        .splide {
            visibility: visible;
        }

        .splide__track {
            padding: 20px;
        }

        .splide__slide {
            flex-shrink: unset;
            margin: 0 auto;
            max-width: 856px;
            width: 100%;
        }
    }
}