.callout-reviews {
    padding: var(--wp--custom--layout--block-gap) 0;
    margin: 0;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--wp--custom--layout--block-gap);
    row-gap: var(--wp--custom--layout--block-gap);
    margin-top: 60px;
}

.review-item {
    text-align: center;
    padding: 0 var(--wp--custom--layout--block-gap) var(--wp--custom--layout--block-gap);
    display: block;
    margin: 0;
    position: relative;
}

.review-image {
    margin: -50px auto 10px;
    position: relative;
    display: block;
}

.review-image img {
    border-radius: 50%;
    display: block;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    text-align: center;
    border: var(--wp--custom--border-width--large) solid var(--wp--preset--color--white);
}

.review-overprint {
    color: var(--wp--preset--color--blue);
}

h3.review-title {
    font-size: var(--wp--preset--font-size--large);
    margin: var(--wp--custom--layout--block-gap-small) 0;
}

.review-item .content-meta {
    font-size: var(--wp--preset--font-size--small);
    line-height: var(--wp--custom--line-height--medium);
}

.review-item .block-callout-button {
    margin: var(--wp--custom--layout--block-gap-small) auto 0;
}

/*--------------------------------------------------------------
Style - In Post
--------------------------------------------------------------*/
.type-post .reviews-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-top: 0;
}

.type-post .review-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.type-post .review-image {
    margin: 0;
    width: 40%;
}

.type-post .review-image img {
    border-radius: 0;
    width: auto;
    height: auto;
    border: 0;
}

.type-post .review-abbr-content {
    text-align: left;
    padding: var(--wp--custom--layout--block-gap);
    width: 60%;
}

.type-post .review-item .block-callout-button {
    margin: var(--wp--custom--layout--block-gap-small) 0 0;
}

/*--------------------------------------------------------------
Style - After Post
--------------------------------------------------------------*/
.block-area-after-post .reviews-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-top: 0;
}

.block-area-after-post .review-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.block-area-after-post .review-image {
    margin: 0;
    width: 40%;
}

.block-area-after-post .review-image img {
    border-radius: 0;
    width: auto;
    height: auto;
    border: 0;
}

.block-area-after-post .review-abbr-content {
    text-align: left;
    padding: var(--wp--custom--layout--block-gap);
    width: 60%;
}

.block-area-after-post .review-item .block-callout-button {
    margin: var(--wp--custom--layout--block-gap-small) 0 0;
}

/*--------------------------------------------------------------
Style - Sidebar
--------------------------------------------------------------*/
.block-area-sidebar .reviews-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    row-gap: 60px;

}

/*--------------------------------------------------------------
Style - Responsive
--------------------------------------------------------------*/
@media (max-width: 800px) {
    .reviews-container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin-top: 0;
    }

    .review-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }

    .review-image {
        margin: 0;
        width: 40%;
    }

    .review-image img {
        border-radius: 0;
        width: auto;
        height: auto;
        border: 0;
    }

    .review-abbr-content {
        text-align: left;
        padding: var(--wp--custom--layout--block-gap);
        width: 60%;
    }

    .review-item .block-callout-button {
        margin: var(--wp--custom--layout--block-gap-small) 0 0;
    }
}
@media (max-width: 600px) {
    .reviews-container, .type-post .reviews-container, .block-area-after-post .reviews-container {
        row-gap: 60px;
    }
    .review-item, .type-post .review-item, .block-area-after-post .review-item{
        display: block;
        text-align:center;
    }

    .review-image, .type-post .review-image, .block-area-after-post .review-image {
        margin: -50px auto 10px;
        position: relative;
        display: block;
    }

    .review-image img, .type-post .review-image img, .block-area-after-post .review-image img {
        border-radius: 50%;
        width: 150px;
        height: 150px;
        border: var(--wp--custom--border-width--large) solid var(--wp--preset--color--white);
    }

    .review-abbr-content, .type-post .review-abbr-content,.block-area-after-post .review-abbr-content {
        text-align: center;
        padding: 0 20px 20px;
        width: 100%;
    }

    .review-item .block-callout-button, .type-post .review-item .block-callout-button, .block-area-after-post .review-item .block-callout-button {
        margin: var(--wp--custom--layout--block-gap-small) auto 0;
    }
}