Jim Rassol-USA TODAY Sports

Jon Berti stroked a walk-off RBI single in the 11th inning as the host Miami Marlins beat the Pittsburgh Pirates 4-3 on Saturday afternoon.

Marlins ghost runner Joey Wendle went to third on Nick Fortes' sacrifice bunt before scoring on Berti's one-out, opposite-field single to right.

Marlins second baseman Luis Arraez, who leads the majors with a .401 batting average, went 1-for-3 with a homer, two RBIs and one walk.

Marlins starter Bryan Hoeing pitched five hitless and scoreless innings, allowing just three walks. Hoeing matched his career high by pitching five frames. However, he did not get a decision as the Marlins blew a ninth-inning lead for the second straight game.

Pittsburgh, which has lost 11 of its past 12 games, got a solid start from Osvaldo Bido (no-decision). He gave up nine hits, allowing just two runs in 5 2/3 innings.

Andrew McCutchen went 2-for-2 with a pair of doubles, three walks and one run for Pittsburgh.

Miami opened the scoring in the fifth. Berti hit a leadoff single on a fly ball that was nearly snagged by diving left fielder Josh Palacios. The play withstood the Pirates' challenge as Palacios appeared to have the ball before it rolled to the grass.

Two pitches later, Arraez connected on a fastball up and in, smacking the ball 370 feet to right. It was his third homer of the season.

With Marlins reliever Steven Okert replacing Hoeing, Pittsburgh finally got its first hit of the game as McCutchen drilled a one-out, ground-rule double in the sixth.

Pittsburgh got on the board in the eighth as McCutchen doubled and scored on Carlos Santana's two-out, opposite-field single.

Miami led 2-1 with two outs and none on in the ninth when Pirates rookie Nick Gonzales drew a walk. He scored on Jason Delay's double to the left-field corner off of reliever Tanner Scott.

Both teams scored in the 10th -- the Pirates on Ke'Bryan Hayes' two-out RBI single and Miami on Yuli Gurriel's sacrifice fly.

More must-reads:

TODAY'S BEST
Do Oilers need more from Connor McDavid to get to Stanley Cup Final?
All-Rookie teams show gems available all over draft
The NBA has not witnessed this much parity in 50 years
Knicks expected to be 'aggressive' in upgrading their roster
Drew Bledsoe offers advice for Patriots rookie QB Drake Maye
2024 AFC revenge games: Brothers, 'Stefon Diggs Bowl' to take center stage
2024 NFC revenge games: Which game should Cowboys, others have circled?
How All-Star Race victory could turn Joey Logano's season around
Xander Schauffele's triumph could open the floodgates for his career
Anderson Silva, Chael Sonnen will finish off their trilogy in a boxing ring
Ranking the five best MLB free-agent signings of offseason
Veteran WR, former first-round pick announces NFL retirement
Oilers advance to West Final again after holding off Canucks in Game 7
Bengals star WR not expected to sign franchise tender before OTAs
Red Sox RHP diagnosed with ligament damage in elbow
Watch: Caitlin Clark shows off range with logo three, but Fever fall short
Former Dolphins receiving leader announces his retirement from NFL
Detroit Lions dominate PFF's top-25 players under 25
Hall of Famer, legendary Raiders offensive lineman dead at 86
Report: Cavs owner 'would never' trade Donovan Mitchell to this team

Want more sports news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.