In its ruling on same-sex marriage, the Supreme Court tries to strike a balance between marriage equality and opposition to gay marriage from people of faith.