Carriers are just big targets. They are fighting the last, last war.
Sure, big targets, but well defended and remain viable so long as defense outperforms threats against them.
Remember, carriers were always considered vulnerable to land based attacks and so kept at a safe distance off shore.
Over the years such safe distances have increased or reduced based on relative technology.
Today is no different and the latest carriers come with the latest tech, hopefully up to whatever challenges are out there.