D. Ross Cameron-USA TODAY Sports

Kevin Smith bombed a three-run home run, Carlos Perez added a two-run shot and the Oakland Athletics handed the visiting Toronto Blue Jays an unexpected setback in their American League wild-card pursuit with a 5-2 victory Wednesday afternoon.

JP Sears (4-11) and three relievers combined on a six-hitter, allowing the A's (43-97) to cap just their second winning homestand of the season with a fourth win in six games.

Despite completing a third consecutive 2-1 series win, the Blue Jays (77-63) failed to improve their playoff position. They began the day a half-game behind the Seattle Mariners and a half-game ahead of the Texas Rangers in their three-team duel for the final two AL wild card spots.

After the visitors had taken a 1-0 lead against Sears in the second inning on an Ernie Clement RBI single, the A's grabbed the lead for good when Perez belted his sixth homer with Ryan Noda aboard in the fourth.

That homer came off Blue Jays starter Hyun Jin Ryu (3-2), who worked the first five innings, allowing two runs and five hits. He walked one and struck out five.

Smith, who debuted as a Blue Jay in 2021, increased the advantage to 5-1 when he took reliever Trevor Richards over the fence in left-center field in the sixth. Jordan Diaz and Perez had opened the inning with singles.

The 27-year-old Smith was making his first start since being recalled from Triple-A Las Vegas on Tuesday.

Sears was pulled after five innings, having limited the Blue Jays to one run and four hits. He walked four and struck out three.

Relievers Mason Miller, Dany Jimenez and Trevor May followed with four innings of one-run ball, with May earning his 18th save with a one-hit ninth.

Toronto's second run came courtesy of Davis Schneider's seventh home run, a solo shot off Jimenez in the eighth.

Cavan Biggio had two hits for the Blue Jays, who had won the first two games of the series 6-5 and 7-1.

More must-reads:

TODAY'S BEST
Oilers crush Panthers in Game 4, stay alive in Stanley Cup Final
Dodgers ace leaves game against Royals due to triceps tightness
Sam Mayer uses overtime restart to win Xfinity Series' return to Iowa
Liberty forward pushes herself into MVP conversation with big game vs. Aces
Tiger Woods makes big admission about his U.S. Open future
Cubs P 'Mike' Imanaga continues hot start vs. Cardinals
Celtics' All-Defensive guard reportedly could replace Kawhi Leonard on Team USA
Tee Higgins' contract decision adds pressure on Bengals in 2024
One-time Defensive Player of the Year open to reunion with former team
College baseball has become too regional for its own good
Three Padres prospects who should be untouchable in trade talks
Connor McDavid's history-making night helps Oilers stave off elimination
Astros scratch Justin Verlander as nightmare season continues
Watch: Oilers chase goaltender Sergei Bobrovsky from Game 4
Watch: Rockies third baseman takes advantage of Pirates laziness' to steal home
Pirates place young catcher on concussion IL
Watch: Game 4 of Stanley Cup Final gets off to chaotic start
Rockies 1B, former NL MVP diagnosed with internal oblique strain
NBA insider shares update on J.J. Redick's candidacy for Lakers HC job
Nationals hurler DJ Herz makes impressive history in third career start