MILAN (AP) -- A last-minute goal saw Inter Milan fall to a 2-1 defeat at home to Atalanta in Serie A on Sunday and lose pace in the race for a European place.
Giacomo Bonaventura scored his second goal of the match with 10 seconds remaining after Inter had hit the woodwork three times in an entertaining second half.
Mauro Icardi had cancelled out Bonaventura's goal within 60 seconds in the first half.
Inter remained fifth and is level on points with Parma, which earlier drew 1-1 against Genoa and has a game in hand.
Hellas Verona's European bid was dented again as it lost 5-0 at Sampdoria.
Elsewhere, Udinese beat Sassuolo 1-0 and Bologna won a relegation fight against Cagliari by the same score.
Fourth-placed Fiorentina, which is a point ahead of Inter and Parma, visits Napoli later.
Also Sunday, Lazio hosts AC Milan and leader Juventus visits bottom club Catania.
Atalanta started the brighter at San Siro and Inter goalkeeper Samir Handanovic pulled off several good saves, while German Denis headed Bonaventura's cross off the crossbar.
The visitors broke the deadlock in the 35th minute as Maxi Moralez rolled the ball across for Bonaventura to finish off a rapid counterattack.
But Inter was immediately level when Icardi latched onto Fredy Guarin's through ball and cut across Mario Yepes before firing into the bottom left corner. To celebrate he held up a T-shirt dedicated to his girlfriend Wanda Nera, the ex-wife of former Sampdoria teammate Maxi Lopez.
Inter should have sealed the match in the second half but Guarin smashed a shot off the crossbar and Rodrigo Palacio sent a glancing header onto the left upright.
Both sides could have snatched the win. Inter's Jonathan cleared off the line three minutes from time before chipping the ball off the underside of the crossbar at the other end.
Atalanta secured the result when Bonaventura was left completely unmarked at the far post to head a free kick between Handanovic's legs.
Parma maintained its charge toward a European spot as it extended its club record unbeaten run to 17 matches.
Genoa took the lead against the run of play in the 21st when Isaac Cofie drilled Moussa Konate's through ball across Parma goalkeeper Antonio Mirante.
Parma leveled 10 minutes later. Genoa failed to deal properly with a free kick and Ezequiel Schelotto fired a powerful shot into the top corner.
Verona looked on course for a European spot at the turn of the year but has only won one of its past 11 games and fell to a third consecutive loss.
Sampdoria took the lead in the fourth minute when Renan's effort crashed off the bottom of the right post and Gianluca Sansone was on hand for the tap in.
Renan then got on the scoresheet himself before a double for Roberto Soriano. Angelo Palombo added the fifth.
At Udinese, captain Antonio Di Natale scored his 10th goal of the season to ensure he reached double figures in goals for the eighth consecutive season.
It was a good way to mark his 324th league appearance for Udinese -- a new club record.
Di Natale could have had a second but kicked up a chunk of turf as he ballooned a penalty over the bar.
Sassuolo also missed a penalty kick.