Idaho’s top court on Monday ruled that state law allows a woman to adopt the children of her same-sex spouse, in a precedent-setting victory for gay couples in a socially conservative U.S. state that has banned the unions.