.callouts-slider {
    &__container {
        padding-bottom: 48px;
        display: flex;
        flex-direction: column;
        gap: 40px;

        &:before,
        &:after {
            content: initial;
        }
    }

    &__header {
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    &__title {
        all: initial;
        font:
            700 24px/1.166 'open-sans',
            sans-serif;
        color: inherit;
        margin-bottom: 14px;
    }

    &__text {
        all: initial;
        font: 400 16px/1.375 $font-family-sans-serif;
        color: inherit;
        margin-bottom: 14px;
    }

    &__btn {
        all: initial;
        display: inline-block;
        font:
            700 20px/1 'open-sans',
            sans-serif;
        text-transform: uppercase;
        white-space: nowrap;
        padding: 8px 24px;
        border-radius: 1000px;
        border: 3.5px solid currentColor;
        cursor: pointer;

        &,
        &:hover,
        &:focus,
        &:active,
        &:visited {
            color: inherit;
            text-decoration: none;
        }
    }

    &__item {
        padding: 3px;

        &__link {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 18px;
            border-radius: 7px;
            background: #fff;
            padding: 15px;
            width: 208px;
            box-shadow: 0px 0px 8px 3px rgba(0, 0, 0, 0.07);
            &,
            &:hover,
            &:focus,
            &:active,
            &:visited {
                color: inherit;
                text-decoration: none;
            }
        }

        &__image {
            order: -1;
            border-radius: 7px;
            width: 100%;
            aspect-ratio: 175/125;
            overflow: hidden;

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

        &__title {
            all: initial;
            cursor: inherit;
            font:
                700 16px/1 'open-sans',
                sans-serif;
            color: inherit;
        }

        &__text {
            all: initial;
            cursor: inherit;
            font: 400 12px/1.166 $font-family-sans-serif;
            color: inherit;
        }
    }

    .splide {
        display: flex;
        flex-direction: column-reverse;

        &__arrows {
            display: flex;
            gap: 22px;
            align-items: center;
            padding: 16px 0 0;

            &:after {
                content: '';
                display: block;
                flex-grow: 1;
                height: 2px;
                background-color: currentColor;
            }
        }

        &__arrow {
            width: 50px;
            height: 50px;
            position: relative;
            border: 2px solid currentColor;
            background-color: #fff;
            top: unset;
            left: unset;
            right: unset;
            transform: unset;

            &,
            &:hover,
            &:focus,
            &:active,
            &:visited {
                opacity: 1;
            }

            svg {
                display: none;
            }

            &:after {
                content: '';
                display: block;
                width: 20px;
                height: 20px;
                mask: var(--icon-arrow-left) no-repeat center / contain;
                background: currentColor;
            }

            &--next {
                &:after {
                    mask-image: var(--icon-arrow-right);
                }
            }
        }
    }

    @media screen and (min-width: 992px) {
        &__container {
            flex-direction: row;
            gap: 25px;
        }

        &__header {
            flex: 0 0 245px;
            padding-bottom: 75px;
        }

        &__title {
            font-size: 20px;
        }

        &__text {
            font-size: 14px;
        }

        &__btn {
            font-size: 16px;
        }

        &__item {
            &__link {
                min-height: 100%;

                &__text {
                    font-size: 14px;
                }
            }

            &__text {
                font-size: 14px;
            }

            &__image {
                aspect-ratio: 174/88;
            }
        }

        .splide {
            width: calc(100% - 245px - 25px);

            &__arrows {
                position: absolute;
                width: 245px;
                bottom: 3px;
                right: calc(100% + 25px);
            }

            &__track {
                min-height: 100%;
            }
        }
    }
}
