Beneath commonalities, religious life was divided by both race and class