With a 4-2 victory over the Brewers, the Pirates remained behind the Giants in the NL wild card standings but moved 4 1/2 games in front of the Milwaukee for the second wild card spot.