How to select an element when a previous element contains xxx

Hi there - new user here

I've read the doc's but can't get my head around how I can select text within a div when the previous div contains a certain element... Here is an example from a car sales website where I want to scrape the Year, Mileage etc
I want to tell the scraper to get the year text by looking in the div AFTER the div that contains " etc?

              <div class="col-6"><i class="icon-calendar2 me-2"></i> <span>Year</span></div>
              <div class="col-6">2021</div>

              <div class="col-6"><i class="icon-key fw-semibold me-2"></i> <span>Number of Owners</span></div>
              <div class="col-6">1</div>

              <div class="col-6"><i class="icon-car-meter fw-semibold me-2"></i> <span>Mileage</span></div>
              <div class="col-6">273 Miles</div>
              <div class="col-6"><i class="icon-paint-brush me-2"></i> <span>Exterior Colour</span></div>
              <div class="col-6">Nero Helene</div>

@raindrop Hi, try - div:has(.icon-calendar2) + div + div + div

@viesturs Thank you! I had been trying different combinations all day... you suggestion wasn't 100% but it did give me a better understanding of how to do it...

The actual selector turned out to be div:has(.icon-calendar2) + div

Much appreciated