.acf-content-block {
    padding: 40px;
    background-color: black;
    color: white;
}


.content-block h1:not([style*="color"]),
.content-block h2:not([style*="color"]),
.content-block h3:not([style*="color"]),
.content-block h4:not([style*="color"]),
.content-block h5:not([style*="color"]),
.content-block h6:not([style*="color"]),
.editor-styles-wrapper .acf-content-block h1:not([style*="color"]),
.editor-styles-wrapper .acf-content-block h2:not([style*="color"]),
.editor-styles-wrapper .acf-content-block h3:not([style*="color"]),
.editor-styles-wrapper .acf-content-block h4:not([style*="color"]),
.editor-styles-wrapper .acf-content-block h5:not([style*="color"]),
.editor-styles-wrapper .acf-content-block h6:not([style*="color"]) {
    color: var(--heading-color, #fff);
}

.content-block h1[style*="color"],
.content-block h2[style*="color"],
.content-block h3[style*="color"],
.content-block h4[style*="color"],
.content-block h5[style*="color"],
.content-block h6[style*="color"],
.editor-styles-wrapper .acf-content-block h1[style*="color"],
.editor-styles-wrapper .acf-content-block h2[style*="color"],
.editor-styles-wrapper .acf-content-block h3[style*="color"],
.editor-styles-wrapper .acf-content-block h4[style*="color"],
.editor-styles-wrapper .acf-content-block h5[style*="color"],
.editor-styles-wrapper .acf-content-block h6[style*="color"] {
    color: inherit !important;
}

.acf-content-block {
    color: var(--text-color);
}

.content-block {
    overflow: hidden;
    padding: 30px 0;
}
.content-block ul  {
    display: flex;
    flex-direction: column;
    list-style-position: inside;
    margin-bottom: 30px;
}
.content-block ul li {
    margin-bottom: 16px;
}
.content-block ul li p {
    display: inline;
}