Church and culture in the Middle Ages