Vatican digs in after gay marriage advances in US, Europe