.wp-block-chm-gutenberg-row {
    max-width: none !important;
    margin-bottom: 4rem;
}

.wp-block-chm-gutenberg-row[data-size="full"] {
    position: relative;
    margin-left: -2rem !important;
    margin-right: -2rem !important;
    width: calc(100% + 4rem) !important;
    max-width: none !important;
}

@media(max-width: 869.5px) {
    .wp-block-chm-gutenberg-row[data-size="limited"] {
        margin-left: -2rem !important;
    }
}

@media(min-width: 870px) {
    .wp-block-chm-gutenberg-row[data-size="limited"] {
        max-width: 820px !important;
    }
}

.wp-block-chm-gutenberg-row[data-content-size="limited"] > * {
    width: 100%;
    max-width: calc(820px - 4rem);
    margin: 0 auto;
    float: none;
}

@media(max-width: 869.5px) {
    .wp-block-chm-gutenberg-row[data-content-size="limited"] > * {
        max-width: calc(100% - 4rem);
        margin-left: 0;
        margin-right: 0;
    }
}

@media(max-width: 600px) {
    .wp-block-chm-gutenberg-row[data-content-size="limited"] > * {
        max-width: calc(100% - 2rem);
    }
}

@media(max-width: 400px) {
    .wp-block-chm-gutenberg-row[data-content-size="limited"] > * {
        max-width: calc(100% - 1rem);
    }
}

.wp-block-chm-gutenberg-row > *:last-child {
    margin-bottom: 0 !important;
}

.wp-block-chm-gutenberg-row[data-color-type="light"],
.wp-block-chm-gutenberg-row[data-color-type="dark"] {
    padding: 4rem 2rem;
    margin-top: -4rem;
}

@media(max-width: 600px) {
    .wp-block-chm-gutenberg-row {
        padding: 2rem 1rem !important;
    }
    .wp-block-chm-gutenberg-row > * {
        max-width: 100% !important;
    }
}

.wp-block-chm-gutenberg-row[data-color-type="transparent"] + .wp-block-chm-gutenberg-row[data-color-type="light"],
.wp-block-chm-gutenberg-row[data-color-type="transparent"] + .wp-block-chm-gutenberg-row[data-color-type="dark"] {
    margin-top: 0;
}


.wp-block-chm-gutenberg-row[data-color-type="light"]:last-child,
.wp-block-chm-gutenberg-row[data-color-type="dark"]:last-child {
    margin-bottom: 0;
}
