Modern Cayo---racy endurance frame--https://www.bicyclingaustralia.com.au/bikes/focus-cayo-ultegra
2021 Diverge-https://www.specialized.com/us/en/diverge-sport-carbon/p/175286?color=290945-175286&searchText=96220-6044
Interesting bit here: riders suggest reason to buy or not buy the Diverge:
https://www.bikeride.com/specialized-diverge/
Seems to me that if you want to ride serious trails, but not so seriously that you need real front suspension, the Diverge is decent. Not as good on pavement as the Cayo .... so keep both.
The tire clearance is amazing, but you would have to have at least two sets of wheels (optimally one for 28-32, one for 37-47, and a 650b set.
The people who can tell you most are the guys who actually ride them.
But .... for "occasional trails" I might see what width of tires i could fit on the Cayo. The only real differences between casual gravel bikes and road bikes are wide tires and Maybe lower gearing (IMO.) The Diverge is a much more serious gravel bike---personally I wouldn't buy one unless the majority of my riding was going to b off-road.
But that's just me. I find it easy to tell other people how to live and even easier to spend their money.
https://www.cervelo.com/en/aspero-5