The statement that best explains how the counterculture movement evolved throughout the 1960s is: "It went from being an anti-war movement to embracing other ideas, such as gender and racial equality, too."
This statement captures the broader development of the counterculture movement as it expanded its focus beyond just opposition to the Vietnam War to include a wider range of social issues, such as civil rights, feminist movements, and more general challenges to societal norms.