The Cardinals improved to a major league-best 16-4 in August and moved atop the NL wild-card standings by a half-game over Milwaukee.

They also climbed to 2 1/2 games back of the NL Central-leading Cubs.

"We're cooking on all cylinders right now," winning pitcher Luke Weaver (7-11) said. "We feel very confident about where we're at. We're kind of riding the wave right now and just bouncing off each other, keeping that positivity going."

The Cardinals have homered in 14 straight games. They won the opener 5-3 on consecutive ninth-inning homers by Jedd Gyorko and Matt Carpenter. This victory clinched their eighth consecutive series, equaling their longest streak since April 10-May 7, 2015.

Jose Martinez tied it with an RBI single in the third. Molina followed with a two-run shot to right center to make it 3-1, snapping an 0-for-17 skid and leaving him one hit shy of his 11th straight season with 100 or more.

With two outs in the seventh, Daniel Hudson hit Tyler O'Neill, setting the stage for Ozuna's two-run homer that extended the Cardinals' lead to 5-1.

The Dodgers have stranded 25 runners in the first two games of the series.

"We should definitely be playing better baseball," Machado said. "Eventually things will turn around. Once we turn that corner, I don't think anyone is going to hold us back."

For now, though, the Dodgers dropped 3 1/2 games behind the NL West-leading Diamondbacks, the farthest Los Angeles has been out of first place since July 1. The Dodgers fell to 32-32 at home.

"I'm as frustrated as the guys in there are," manager Dave Roberts said. "It doesn't feel good right now."

In his second major league start, Poncedeleon allowed one run and five hits in four innings. He struck out a career-high eight and walked one pitching not far from his hometown of Anaheim.

Cardinals reliever Carlos Martinez got hit in the chest by a comebacker from Joc Pederson in the eighth. Martinez was knocked down and writhed on the ground as his teammates and a trainer ran to him. He soon got up and walked off under his own power as the inning ended.

Martinez later said he had trouble breathing.

"He was alert, aware," Shildt said. "It was more of his sternum area which made it super scary."

Defensively, the Cardinals had a series of outfield miscues, all of them involving right fielder O'Neill.

He collided with second baseman Kolten Wong as they chased Yasmani Grandal's single in the second. On the next play, O'Neill dived and badly missed a single by Chris Taylor that loaded the bases for the Dodgers.

"It's a loud stadium but the reality is we need to be able to communicate better and not have issues where we're running into each other," Shildt said.

Also in the second, center fielder Harrison Bader clearly called for a high fly ball hit by Pederson, but O'Neill came charging in with his glove in the air. Bader still managed to make the catch.

In the fifth, Bader caught Justin Turner's long fly to right center but came dangerously close to colliding with O'Neill, who had his hands on his hips looking at Bader.

Dodgers: RHP JT Chargois went on the DL with nerve irritation. He experienced tingling in his fingers while tossing six pitches in the fifth inning a night earlier. ... RHP Ross Stripling will throw a simulated game Friday.

KOLTEN LOOKS GOLDEN

Wong made a stellar play for the first out of the ninth inning. The second baseman laid out in shallow center field for Turner's grounder, then pushed his upper body off the ground just long enough to wing the ball to first base before falling back to the outfield grass.

"That's Gold Glove-caliber," Shildt said.

END OF STREAK

Turner was hitless in five at-bats, ending his major league-leading 14-game hitting streak. During the run, he hit .464 with eight RBI and three homers.