Sunday’s Formula 1 Pirelli Magyar Nagydij 2017 was full of drama on the track, but what was going on behind the scenes in the build-up to the Hungaroring weekend? Here's just some of the highlights...

    Nice lines

    Some all important family time for Felipe Massa, watching his son karting - the way he hits that apex suggests dad has been teaching him well.

    Oops! Error retrieving Instagram post

    Step to it

    Valtteri Bottas displays some pretty nifty footwork during his pre-Budapest training.

    Budapest bull run

    Red Bull provided Hungarian fans with a pre-race taste of F1 action on the streets of the nation's capital.

    In the picture

    Not many people get to share a photo with the son of a Beatle and the nephew of Brazil's most iconic F1 driver - Felipe Massa is one of them.

    Oops! Error retrieving Instagram post

    Ain't no party...

    ...like a Toro Rosso party. You had to be there.

    Pilot pooch

    Come on Lewis - Roscoe is ready to roll.

    Roscoe https://t.co/uJZXf1vO0L pic.twitter.com/up4Ejeoln9

    — Lewis Hamilton (@LewisHamilton) July 26, 2017

    The heat is on

    *Not content with them battling on track, Toro Rosso decide to pit their drivers against each other in another high-pressure environment. *

    Know your neighbour?

    They came a little too close for comfort in Sunday's race, but this suggests Max Verstappen and Daniel Ricciardo are normally quite good friends.

    Slot car envy

    What would the Mercedes team like to be doing during their tea breaks back at base? Going racing, of course.

    Pool of talent

    The Grand Prix wasn't the only major sporting event going on in the Hungarian capital over the weekend...

    Felicitations Fernando

    Still the quickest man on track - in terms of Sunday's fastest lap at least - it's hard to believe Fernando Alonso has just turned 36.

    Fit to pit

    Ahead of Saturday morning pit stop practice, the Haas and Renault crews prove equally conscientious in their warm-up routines.

    Here's looking at you Carlos

    Toro Rosso's Carlos Sainz is forced to revise some late modifications to his Hungaroring helmet.

    Duty calls

    When someone described Valtteri Bottas as a 'safe pair of hands', this is probably not what they had in mind.

    Birthday boy

    The life of an 'Formula 1 dad' is not always an easy one, so what better way to send a message home to your loved ones than via an F1 pit board.

    And there's another on the way...

    Everything on the table

    Williams' Lance Stroll and McLaren's Stoffel Vandoorne are in competition mode early on Sunday - with personal and national pride at stake.

    Beach bum

    For once, there really doesn't appear to be any place Fernando Alonso would rather be - thanks to this spectacular mural in the Budapest paddock.

    Crowd pleaser

    Good job Lewis Hamilton doesn't normally get this much wheelspin off the line!

    Wishful thinking

    Daniel Ricciardo made this not-unreasonable prediction ahead of Sunday's race. Seems he wasn't counting on a 'disagreement' with his Red Bull team mate...

    Back in the limelight

    It was a hectic weekend for Williams reserve Paul di Resta after his last-minute call up to replace Felipe Massa, but we're guessing he enjoyed every minute.

    Scottish wannabe

    Outlander actor Sam Heughan was a guest at Force India, seemingly looking to follow in the footsteps of returning compatriot Paul di Resta at Williams.

    Car spotting

    Actor Ashton Kutcher was among the famous faces enjoying the F1 action in Budapest.

    Toto's tot

    Best way to unwind after a tense 70 laps in Hungary? Some quality time with your new son Jack (good to see he's in team kit already!)

    Get well soon Felipe!

    He may have pulled out of the Hungary weekend with dizzy spells, but there was no way Mr Massa - senior or junior - was going to miss Sunday's race...

    Oops! Error retrieving Instagram post