.testimonials {
    background-color: #94979b1a;
    padding-bottom: 48px;
    margin-bottom: 48px;

    &__container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding-top: 64px;

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

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

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

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

    &__list {
        list-style: none;
        padding: 0;
        margin: 0;
        font: 400 16px/1.375 $font-family-sans-serif;

        &__item {
            padding: 16px 24px;
            position: relative;

            &:not(:first-child) {
                display: none;
            }

            &::before,
            &::after {
                content: '';
                display: block;
                position: absolute;
                aspect-ratio: 107 / 76;
                width: 107px;
                top: 0;
                left: 0;
                background-color: rgba(148, 151, 155, 0.2);
                mask: var(--icon-quote) no-repeat center center / contain;
                // z-index: -1;
            }

            &::after {
                transform: rotateZ(-180deg);
                left: unset;
                top: unset;
                bottom: 0;
                right: 0;
            }

            & > * {
                position: relative;
                z-index: 2;
            }

            & > :last-child {
                margin-bottom: 0;
            }
        }
    }

    &__image {
        width: 100%;
        height: 100%;
        object-fit: cover;

        &__wrapper {
            position: relative;
        }

        &__container {
            position: absolute;
            width: 100%;
            aspect-ratio: 1.1;
            border-radius: 18px;
            overflow: hidden;
            background-color: #94979b;
        }
    }

    @media screen and (min-width: 992px) {
        background-color: transparent;

        &__container {
            padding: 64px 80px 40px;
            display: grid;
            grid-template-columns: 45% 55%;
            gap: 50px 10px;
            background-color: #94979b1a;
            border-radius: 18px;

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

        &__header {
            grid-column: 1 / 3;
        }

        &__title {
            font-size: 16px;
        }

        &__text {
            font-size: 14px;
        }

        &__list {
            font-size: 14px;

            &__item {
                padding-top: 0;
                padding-bottom: 0;
            }
        }

        &__image {
            /*
            */

            &__wrapper {
                position: relative;
            }

            &__container {
                position: absolute;
                aspect-ratio: 1.25;
                right: -25px;
            }
        }
    }
}
