Maine became the 31st state to block same-sex marriage through a public referendum Some said the loss was a sign that the state-by-state approach favored by the largest gay-rights groups had failed and that the focus should move to repealing the Defense of Marriage Act, which bans federal recognition of same-sex marriage, and which Congress can overturn without voter approval.