.callout-reviews {
    padding: 0;
    margin: 0;
}
.callout-reviews .section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 var(--wp--custom--layout--block-gap-small);
}
.callout-reviews .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 {
    border-radius: var(--wp--custom--border-radius--small);
    text-align: center;
    padding: 0 var(--wp--custom--layout--block-gap) var(--wp--custom--layout--block-gap);
    display: block;
    margin: 0;
    position: relative;
    -webkit-box-shadow: var(--wp--custom--box-shadow--1);
    -moz-box-shadow: var(--wp--custom--box-shadow--1);
    box-shadow: var(--wp--custom--box-shadow--1);
    background: var(--wp--preset--color--white);
}

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

.review-image img {
    border-radius: var(--wp--custom--border-radius--large);
    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);
    -webkit-box-shadow: var(--wp--custom--box-shadow--1);
    -moz-box-shadow: var(--wp--custom--box-shadow--1);
    box-shadow: var(--wp--custom--box-shadow--1);
}

.review-abbr-content h3.section-title {
    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-abbr-content .overprint {
    display: block;
    margin: var(--wp--custom--layout--block-gap-small) auto 0;
    padding: var(--wp--custom--layout--block-gap-small);
    width: fit-content;
}

.review-button .sm-caps {
    display: block;
}

/*--------------------------------------------------------------
Style - Post
--------------------------------------------------------------*/
.type-post .callout-reviews .reviews-container {
    display: block;
    margin-top: 0;
}

.type-post .review-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--wp--custom--layout--block-gap);
    margin: 0 auto var(--wp--custom--layout--block-gap);
}

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

.type-post .review-image img {
    width: 250px;
    height: 250px;
}

.type-post .review-abbr-content {
    width: 70%;
    text-align: left;
    margin-left: var(--wp--custom--layout--block-gap)
}
.type-post .review-abbr-content h3 {
    margin: var(--wp--custom--layout--block-gap-small) 0;
}
.type-post .review-abbr-content .overprint {
    margin: var(--wp--custom--layout--block-gap-small) 0 0;
}

/*--------------------------------------------------------------
Style - Post Editor
--------------------------------------------------------------*/
.content-sidebar .block-editor-block-list__layout .callout-reviews {
    margin: var(--wp--custom--layout--block-gap) 0 !important;
}

.content-sidebar .block-editor-block-list__layout .callout-reviews .reviews-container {
    display: block;
    margin-top: 0;
}

.content-sidebar .block-editor-block-list__layout .review-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--wp--custom--layout--block-gap);
    margin: 0 auto var(--wp--custom--layout--block-gap);
}

.content-sidebar .block-editor-block-list__layout .review-image {
    margin: 0;
}

.content-sidebar .block-editor-block-list__layout .review-image img {
    width: 250px;
    height: 250px;
}

.content-sidebar .block-editor-block-list__layout .review-abbr-content {
    width: 70%;
    text-align: left;
    margin-left: var(--wp--custom--layout--block-gap)
}

.content-sidebar .block-editor-block-list__layout .review-button {
    margin: var(--wp--custom--layout--block-gap-small) 0 0;
}

/*--------------------------------------------------------------
Style - Sidebar
--------------------------------------------------------------*/
.content-sidebar .type-post .callout-reviews .reviews-container {
    display: block;
}
.block-area-sidebar .callout-reviews, .block-area-sidebar .callout-reviews.alignfull {
    margin: 0 auto var(--wp--custom--layout--block-gap);
}

.block-area-sidebar .reviews-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    row-gap: 60px;
    margin-top: 60px;
}

/*--------------------------------------------------------------
Style - Responsive
--------------------------------------------------------------*/
@media (max-width: 800px) {
    .content-full-width .callout-reviews {
        margin: var(--wp--custom--layout--block-gap) 0 !important;
    }

    .content-full-width .callout-reviews .reviews-container {
        display: block;
        margin-top: 0;
    }

    .content-full-width .review-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--wp--custom--layout--block-gap);
        margin: 0 auto var(--wp--custom--layout--block-gap);
    }

    .content-full-width .review-image {
        margin: 0;
    }

    .content-full-width .review-image img {
        width: 150px;
        height: 150px;
    }

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

    .content-full-width .review-button {
        margin: var(--wp--custom--layout--block-gap-small) 0 0;
    }
}

@media (max-width: 600px) {
    .callout-reviews .section-header {
        display: block;
        text-align: center;
    }
    .callout-reviews .section-desc {
        text-align: center;
    }
    .callout-reviews .section-icon {
        margin: 0 auto 10px;
    }
    .callout-reviews, .content-sidebar .type-post .callout-reviews, .content-full-width .callout-reviews {
        margin: var(--wp--custom--layout--block-gap) 0 !important;
    }

    .callout-reviews .reviews-container, .content-full-width .callout-reviews .reviews-container, .content-sidebar .type-post .callout-reviews .reviews-container {
        display: block;
        margin-top: 60px;
    }

    .review-item, .content-full-width .review-item, .content-sidebar .type-post .review-item {
        display: block;
        text-align: center;
        padding: var(--wp--custom--layout--block-gap);
        margin: 0 0 60px;
        position: relative;
    }

    .review-image, .content-full-width .review-image, .content-sidebar .type-post .review-image {
        margin: -50px auto 10px;
        position: relative;
        display: block;
    }

    .review-image img, .content-full-width .review-image img, .content-sidebar .type-post .review-image img {
        border-radius: var(--wp--custom--border-radius--large);
        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-abbr-content, .content-full-width .review-abbr-content, .content-sidebar .type-post .review-abbr-content {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .review-button, .content-full-width .review-button, .content-sidebar .type-post .review-button {
        margin: var(--wp--custom--layout--block-gap-small) auto 0;
    }
    .type-post .review-abbr-content .overprint {
        margin: var(--wp--custom--layout--block-gap-small) auto 0;
}
}