A judge has ruled in favor of more than a dozen young people who came together to sue the state of Montana for enacting legislation they say benefits the fossil fuel industry while harming residents and wildlife, a win environmental activists say could empower others to take action on climate change.