I am working with HTML code like the example below:
<div class="A"> --- Div 0 There can be multiple of this
<div class="B C"></div>
</div>
<div class="A"> --- Div 1
<div class="B C D"></div>
</div>
<div class="A"> --- Div 2
<div></div>
<div class="B C D"></div>
</div>
<div class="A"> --- Div 3
<div class="B C D"></div>
</div>
My goal is to apply a specific styling only to
<div class="B C D"></div>
within Div 1.
To achieve this, I have used the CSS selector .B.C.D:first-of-type, but unfortunately it is also impacting Div 3.
Given that I do not have control over the HTML, I seek to address this issue solely using CSS.