why not got with your original idea of having a *magic-type-specific-anti-magic-field*? Especially if you go for forbidding arcane, but allowing divine magic.
If you don't want this to be a 'normal spell' consider that the magic of other creatures than humanoids (e.g. dragons), and especially that of the gods, is crassly dissimilar to that available to the players. Also consider this writeup in the forgotten-realms wikia about magic, and a few passages on events where certain kinds of magic ceased to function: https://forgottenrealms.fandom.com/wiki/Magic