Attitudes have changed swiftly in favor of same-sex marriage, which is now legal in 19 states and the District of Columbia, Ginsburg said in her wood-paneled office on the court's main floor. The effect of the decision was to allow same-sex unions to resume in California, but the high court said nothing about the right to marry. Appeals courts in Denver and Richmond, Virginia, have upheld lower court rulings striking down state constitutional bans on same-sex marriage. While all the justices said the 35-foot buffer zone violated the Constitution, Ginsburg joined Chief Justice John Roberts and the court's other liberal justices to strike down the buffer zone on narrower grounds than the other, more conservative justices wanted. In the other case, Ginsburg and her liberal colleagues dissented from a decision that allows for-profit corporations, such as the Hobby Lobby chain of crafts stores, to assert religious objections to paying for contraceptives for women, as required under President Barack Obama's health care law.