Something I’m considering for my next campaign is largely divorcing gods and the like from alignments altogether. Basically, the more powerful the god, the less the god is aligned.
The idea here is that to gain full power over something, the god must encompass all aspects of it. This would preclude having an alignment. If you want to become supreme god of magic, you have to accept the good and the evil, the lawful and the chaotic, of all of it. Trying to reject part of it precludes true mastery.
Lesser gods might have greater interest in the mortal realm, and considerations of ‘right’ and ‘wrong’. They may still have strong alignments, and tend to be fairly meddlesome. This is why demigods and the like are ‘as powerful’ in the mortal realm as the greater gods — they actually get involved, and care about particular results.
As they gain in power (lesser gods) they tend to lose some of their attachment. This may be ennui, in an effort to embrace more of the portfolios, or a side effect of doing so. By the time they become intermediate gods they’ve lost more specific interest.
This setting would assume that elemental and primal forces are greater than alignment, of course. The gods of magic, war, and death are not good, not evil, not lawful, not chaotic. They just are.