.review-section {


    .wc-block-components-review-list {
        display: grid;
        grid-gap: 2rem;
        grid-template-columns: repeat((auto-fit, minmax(200px, 1fr)));
        padding: 0;

        li {
            margin: 0;
            @include flex;
            position: relative;
            width: 100%;
            margin-inline: auto;


            .wc-block-components-review-list-item__text {
                padding: var(--wp--custom--spacing--normal);
                padding-bottom: 50px;
                position: relative;
                @include border(45px);
                text-align: center;
                width: 100%;
            }

            .wc-block-components-review-list-item__image {
                height: 4rem;
                width: 4rem;
                margin-inline: auto;

                img {
                    @include border(50%);
                }
            }

            .wc-block-components-review-list-item__meta {
                display: grid;
            }

            .wc-block-components-review-list-item__info {
                margin: 0;
                padding: 0;
                position: absolute;
                z-index: 1;
                bottom: -55px;
                left: 50%;
                transform: translateX(-50%);
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 0.5rem;

                .wc-block-components-review-list-item__author {
                    text-transform: capitalize;
                }
            }
        }
    }
}

.wp-block-section.review-section:nth-child(even) .wc-block-components-review-list li .wc-block-components-review-list-item__text:before {
    color: var(--wp--preset--color--border-default-color);
}

.wp-block-section.review-section {
    padding-bottom: calc(var(--wp--custom--spacing--section-block-top) + 100px);
}

.review-section {
    .wc-block-review-list-item__rating.wc-block-components-review-list-item__rating {
        margin-inline: auto;
    }

    .wc-block-components-review-list-item__product {
        margin: 0;
    }

    .wc-block-components-review-list-item__product+.wc-block-components-review-list-item__author+.wc-block-components-review-list-item__published-date:before {
        content: none;
    }
}