The Dynamics of Religious Practice in Spain from the Mid-19th Century to 2010