I agree with your about the religious and economic demographics, but…
Ethnic? From what I’ve seen, the only ethnic demographic that wasn’t split roughly 50/50 was the black demographic. [correction: Native Americans voted for Trump 2 to 1]
Gender? At least 45% of voters from each gender voted for Trump.
Politicians should be able to communicate effectively, and part of that is knowing your audience. The Democrats failed to reach the working class, it’s that simple.