© PA Photos
Danny Grainger's first league goal since October 2010 was the difference between the sides at Tynecastle.
The left-back found the top-right corner with a fierce strike from 25 yards on 14 minutes.
Hearts were good value for the three points and could have easily extended their lead but for the superb form of goalkeeper Darren Randolph.
Hearts climb two places to eighth in the SPL table.