Montana is very purple (and very weird politically). Rural red areas but most of our population centers are wildly blue. Democrat governor, 1 Dem Senator. There's no real religious right, just a libertarian right.
'wildly blue' is incorrect about the population centers. If that were correct the vote would have gone to Trump given how the vast majority of the population is in the cities.
Look at the election results from Missoula, Great Falls, Billings, etc and then compare them to San Francisco (a place actually wildly blue).