Safari has only weak protections, basically url-level blocking equivalent to Pihole. Last I checked ublock origin does allow blocking elements by DOM selector.
One day ads will start being plexed with content over websockets and the DOM-level protections will be all we have. Firefox is really the only alternative here.