One option is to use a universal selector to create a more specific rule that will take effect if the nodes are not direct children:
div p {color: red;}
However, you need to keep track of specific conflicts. div * p will be more specific than another rule that works, for example, with paragraphs in general.
source share