Constitution > Federal > State > Local
That hierarchy only applies on issues expressly detailed in the Constitution. On
most issues, the order should be Constitution > Local > State > Federal. Most people don't realize that this is what the founders intended.
I think you may be conflating what rights are allowed to be prohibited with what is allowed to be established. Anything is allowed to be established at the local level and up if the constitution doesn't forbid it, but if the constitution says you have free speech or freedom of/from religion, that trumps all laws restricting that freedom all the way to the local level. I.e. if the constitution says you can't have a christian government, not only does that mean you can't have a federal christian government, but that even local town governments can't be established by a church. I'm all for states having rights to decide how they operate, but not for states to make their own decisions to restrict rights otherwise protected by the country as a whole. USA went to war to finally settle that issue.