The “~” selector will only stay within the same parent.
h2 and p never share the same parent.
What you need to do instead is use the class of the parents’ div like this:
.el-h2 ~ .el-p {
padding-left: 3.5em !important;
text-indent: 3.5em !important;
}
Btw if you’re trying to indent the headings, I’m trying to make something work but got stuck myself here: