.acf-content-block {
    padding: 40px;
    background-color: black;
    color: white;
}


.cp_block-content h1:not([style*="color"]),
.cp_block-content h2:not([style*="color"]),
.cp_block-content h3:not([style*="color"]),
.cp_block-content h4:not([style*="color"]),
.cp_block-content h5:not([style*="color"]),
.cp_block-content 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);
}

.cp_block-content h1[style*="color"],
.cp_block-content h2[style*="color"],
.cp_block-content h3[style*="color"],
.cp_block-content h4[style*="color"],
.cp_block-content h5[style*="color"],
.cp_block-content 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);
}

.cp_block-content {
    overflow: hidden;
    padding: 15px 0;
}
.cp_block-content ul  {
    display: flex;
    flex-direction: column;
    list-style-position: inside;
    margin-bottom: 30px;
}
.cp_block-content ul li {
    margin-bottom: 16px;
}
.cp_block-content ul li p {
    display: inline;
}


.content-block h1,
.content-block h2,
.content-block h3,
.content-block h4,
.content-block h5,
.content-block h6 {
  margin-bottom: 10px;
  margin-top: 32px;
}