With the introduction of G&Ks, you've been able to found a religion once you meet a minimum of faith and a great prophet spawns. Well recently I was playing a game as Rome and as was mopping up Morocco they sent a fresh great prophet straight into grabbing range. I hadn't invested anything into religion, not even a pantheon, so I was sending the prophet back to my capital to found a religion. It was passing through one of the cities I'd taken off the Inca, and there I noticed that I could found a religion in non capital cities. I did just because it was convenient(And in a good city as well, had managed to get it in a peace agreement) and went about the game as normal. This got me thinking though, if that city was captured could it be razed, and thus eradicating my religion for good? Does anyone know?
tl;dr If you found a religion in a raze able city can you destroy that city and thus the religion
tl;dr If you found a religion in a raze able city can you destroy that city and thus the religion