.block-partners {
    margin: 0;
    padding: var(--spacing-top) 0 var(--spacing-bottom) 0;
    position: relative;
    background: var(--bgcolor);

    .container {
        position: relative;
    }

    .container::before,.container::after {
        content: none;
        display: block;
        background: var(--bgcolor);
        height: 100%;
        width: 90px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 90;
    }

    .container::before {
        left: 0;
    }

    h2 {
        font-size: clamp(28px,3.6vw,36px);
        font-weight: 700;
        line-height: 1.33;
        text-align: center;
        margin-bottom: 48px;
    }

    h3 {
        font-size: clamp(16px,1.8vw,18px);
        text-align: center;
        line-height: 1.5;
        font-weight: 800;
        font-family: var(--font-avenir);
        margin: 8px 0;
    }

    p {
        font-size: clamp(14px,1.6vw,16px);
        font-style: italic;
        line-height: 1.3;
        text-align: center;
    }

    .text {
        ul {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
        }

        li {
            display: inline-block;
            background: var(--bgcolor);
            padding: 2px 8px;
            font-size: 12px;
            color: #444D56;
            font-family: var(--font-avenir);
            border-radius: 999vw;
            line-height: 1.4;
        }
    }

    figure {
        width: 150px;
        aspect-ratio: 1;
        overflow: hidden;
        border: 1px solid #E3E5E7;
        border-radius: 999vw;

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

    .splide__list {
        li {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    }


    .attribution {
        margin-top: 16px;
    }

    .splide__track {
        padding-top: 0;
        padding-bottom: 0;
    }

    .splide__arrows {
        position: absolute;
        top: calc(100% + 32px);
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 32px;
        pointer-events: none;

        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: auto;
            aspect-ratio: 1;
            display: block;
            pointer-events: all;
            
            &:hover, &:focus {
                background: #fff;
                
                &::before {
                    background-color: #18479C;
                }
            }

            &:disabled {
                opacity: 0;
                pointer-events: none;
            }


            svg {
                display: none;
            }

            &:before {
                content: '';
                mask-image: var(--icon-arrow-narrow);
                background: #2872DC;
                display: block;
                width: 20px;
                height: 20px;
                transition: all .3s ease-in-out;
            }

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

        }
    }

    .splide__slide {
        position: relative;
        padding: 0;
        border-radius: 12px;
        transition: all .3s ease-in-out;

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

    .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;
            }
        }
    }


    .splide.is-focus-in {
        .splide__arrow {
            &:focus-visible {
                background: #fff;
                outline: 2px solid #CA4A2B;
                outline-offset: 0;
                border: 0;
            }

        }
    }



    @media screen and (min-width: 700px) {

        .container::before,.container::after {
            content: '';
        }


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

            button {
                height: auto;
                aspect-ratio: 1;
            }
        }
        
    }

    &.single {
        padding: 0 20px;

        .splide {
            visibility: visible;
        }

        .splide__track {
            padding: 20px;
        }

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