One of the many paradoxes of the Trump era is that our unusual president couldn’t have been elected, and couldn’t survive politically today, without the support of religious conservatives … but at the same time his ascent was intimately connected to the secularization of conservatism, and his style gives us a taste of what to expect from a post-religious right.

The second point was clear during the Republican primaries, when the most reliable churchgoers tended to prefer Ted Cruz but the more secular part of the party was more Trumpist. But it was obscured in the general election, and since, by the fact that evangelical voters especially rallied to Trump and have generally stood by him.

Now, though, a new survey reveals the extent to which a basic religious division still exists within Trump’s Republican Party. The churchgoers who ultimately voted for Trump over Clinton still tend to hold different views than his more secular supporters, and the more religious part of the GOP is still the less Trumpist portion — meaning less populist on economics, but also less authoritarian and tribal on race and identity.

The survey was conducted by the Cato Institute’s Emily Ekins for the Voter Study Group, who analyzed the views of Trump voters based on their frequency of church attendance — from “never” to “weekly” or more often. The trend was consistent: The more often a Trump voter attended church, the less white-identitarian they appeared, the more they expressed favorable views of racial minorities, and the less they agreed with populist arguments on trade and immigration.

The differences were particularly striking on race. For instance, a quarter of Trump voters who never attend church describe being white as “very important” to their identity; for the most frequent churchgoers voters, it was 9 percent. Among non-churchgoing Trump voters, only 48 percent had warm feelings toward black people, compared to 71 percent of weekly churchgoers; the same sort of pattern held for views of Hispanics, Asians and Jews.

In general, churchgoing Republicans look more like the party many elite conservatives wanted to believe existed before Trump came along — more racially tolerant, more accepting of multiculturalism and globalization, and also more consistently libertarian on economics. Secularized Trump voters look more like the party as Trump has tried to remake it, blending an inchoate economic populism with strong racial resentments.

Interestingly in the survey the different groups make about the same amount of money, which cuts against strict economic-anxiety explanations for Trumpism. But the churchgoers and nonchurchgoers differ more in social capital: The irreligious are less likely to have college degrees, less likely to be married and more likely to be divorced; they’re also less civically engaged, less satisfied with their neighborhoods and communities, and less trusting and optimistic in general.

This seems to support the argument, advanced by Tim Carney of the Washington Examiner among others, that support for populism correlates with a kind of communal breakdown, in which secularization is one variable among many leaving people feeling isolated and angry, and drawing them to the ersatz solidarity of white identity politics.

This suggests a possibility that should worry both Trump’s religious supporters and anyone who finds his style of conservatism racially toxic. Despite their resistance to that toxicity, the churchgoers in this survey did vote for him, making a pragmatic bet that his policies on abortion and religious liberty were worth living with his Caligulan personal life and racial demagoguery.