In my experience, both sides of an interview tend to avoid politics so that doesn’t often come into play directly. At least not in any of the technical interviews I’ve been a part of over multiple decades. Of course an interviewer may make assumptions about a candidate’s political positions based on the categories I mentioned in my original post (age, gender), but that type of fit would already be covered under those categories.
I could also see religious beliefs fitting into that category of culture fit if the candidate’s attire includes religious symbols or articles of clothing.