.page-reviews,
.page-reviews #content {
    background: #f5f6f7;
}

.reviews-card {
    margin-bottom: 64px;
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    color: #181b1e;
    font: 500 16px/20px Gilroy, sans-serif;
}

.reviews-card > .nc_text {
    margin-top: 20px;
}

.reviews-card > .nc_text > .nc_row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.reviews-card > .nc_text > .nc_row > .h1 {
    display: none;
}

.reviews-card > .nc_text > .nc_row > h2 {
    text-align: center;
    overflow-wrap: anywhere;
    margin: 0;
    font: 600 16px/20px Gilroy, sans-serif;
    letter-spacing: normal;
    text-transform: none;
}

.reviews-card > .nc_text > .nc_row > h2 > span[style*="color"] {
    /* The legacy editor saves the thank-you text with an inline color. */
    color: inherit !important;
}

@media (max-width: 768px) {
    .page-reviews #content > .container {
        padding-inline: 16px;
    }
}

@media (max-width: 500px) {
    .reviews-card {
        padding: 16px;
    }

    .reviews-card > .nc_text {
        margin-top: 16px;
    }

    .reviews-card > .nc_text > .nc_row {
        gap: 16px;
    }
}
