Is there a way in CSS to select all the span tags inside the body and make them red except for any span tags inside a div element. What I am after is a way in CSS to select span elements outside of the div element but are still within the body. In the example below I only want "Span A" and "Span B" to be red and no other span to be affected.
<style>
body :not(div) span {
color: red;
}
</style>
<body>
<span>Span A</span>
<article>
<span>Span B</span>
</article>
<div>
<span>Span C</span>
<article>
<span>Span D</span>
</article>
</div>
</body>