Not since WW2.....but the US Navy built up a LOT of invaluable experience on damage control practices and ship design based on the pounding our carriers took fighting the Japanese. Our current Ford and Nimitz CVNs are the refined iterations of a design lineage going back to the very durable Essex class. That said, the recent destruction of the Bonhomme Richard amphibious assault ship, which sustained cost-prohibitive damage in port due to a single arsonist, is disturbing.
There are wargames where we lose carriers against China.....and there are wargames where we don't. They're not invulnerable, but they never have been against a true peer anyway. Often it boils down to the CSG Commander not being overly cocky in terms of how he maneuvers his force.
https://www.thedrive.com/the-war-zone/34832/veteran-sailor-o...
The Navy does do large scale wargaming exercises of course, though any of the interesting details aren't going to be public so that doesn't really help shed any light on it.