Ben Affleck keeps busy in casual ensemble as he works at his office in Beverly Hills amid Jennifer Lopez split rumors

Ben Affleck is focusing on work amid his purported marital woes with wife Jennifer Lopez.

The Air actor-director, 51, whose relationship woes with wife Jennifer Lopez, 54, have dominated Hollywood headlines for nearly two months, kept things casual on a hot day in Southern California with a T-shirt and jeans as he visited his office in Beverly Hills.

The two-time Oscar-winner - who is father to children Violet, 18, Fin, 15, and Samuel, 12, with ex-wife Jennifer Garner, 52 - was clad in a gray T-shirt that had the emblem of Speed Motors Unlimited, which he was previously seen wearing on a dinner outing Wednesday with his children.

Affleck rounded out his ensemble with dark blue jeans and Nike sneakers as he was pictured walking through a parking structure and office area. 

He had a beverage in one hand and what appeared to be credentials in the other as he made his way through the structure.

Ben Affleck, 51, is focusing on work amid his purported marital woes with wife Jennifer Lopez, 54, as he visited his office in Beverly Hills, California

Ben Affleck, 51, is focusing on work amid his purported marital woes with wife Jennifer Lopez, 54, as he visited his office in Beverly Hills, California

Lopez remains on the other side of the country, as she was seen celebrating July 4 weekend in the Hamptons alongside her friend/vocal coach Stevie Mackey

Lopez remains on the other side of the country, as she was seen celebrating July 4 weekend in the Hamptons alongside her friend/vocal coach Stevie Mackey

Lopez - who is mother to twins Emme and Maximilian, 16, with ex-husband Marc Anthony, 55 - remains on the other side of the country, as she was seen celebrating July 4 weekend in the Hamptons in New York.

On Saturday, she was seen riding a Linus bicycle alongside her friend/vocal coach Stevie Mackey, who took to social media to share a snap of the outing.

Mackey, 42, captioned the image, 'Good times, good friends, good wheels.'

Lopez on Sunday took to Instagram to acknowledge the three-year anniversary of the release of her song Cambia el Paso, a collaboration with Rauw Alejandro.

'Happy Anniversary Cambia El Paso …' she wrote with a clip of the video, also including behind-the-scenes clips of the making of the music video that accompanied the single.

The marriage between Affleck and Lopez 'has allegedly been over for months,' sources told Page Six on July 1 amid ongoing speculation about the relationship.

Insiders told the outlet that the couple have 'been apart since March,' and that Affleck remains 'very protective of Jennifer' amid the tumultuous time.

Amid the issues, a source told DailyMail.com that Affleck's ex-wife Garner had to step back from an informal mediator role between Affleck and Lopez amid the parting, as she 'eventually got to a place where she was like, "Sorry, figure this out yourself."'

The Armageddon star kept things casual on a hot day in Southern California with a T-shirt and jeans

The Armageddon star kept things casual on a hot day in Southern California with a T-shirt and jeans

The Argo actor-director had a beverage in one hand and what appeared to be credentials in the other as he made his way through the structure

The Argo actor-director had a beverage in one hand and what appeared to be credentials in the other as he made his way through the structure 

The A-list actor's relationship woes with Lopez have dominated Hollywood headlines for nearly two months

The A-list actor's relationship woes with Lopez have dominated Hollywood headlines for nearly two months 

The marriage between Affleck and Lopez 'has allegedly been over for months,' sources said amid ongoing speculation about the relationship

The marriage between Affleck and Lopez 'has allegedly been over for months,' sources said amid ongoing speculation about the relationship 

It's been nearly two years since Affleck and Lopez, who first dated decades back, exchanged vows at the Little White Chapel in Las Vegas on July 16, 2022

It's been nearly two years since Affleck and Lopez, who first dated decades back, exchanged vows at the Little White Chapel in Las Vegas on July 16, 2022 

The source added: 'It was beginning to become too painful for her because it was bringing back so many memories of their divorce.'

It's been nearly two years since Affleck and Lopez, who first dated decades back, exchanged vows at the Little White Chapel in Las Vegas on July 16, 2022. 

'In the end it was the best possible wedding we could have imagined,' Lopez said in her newsletter On the JLo on July 17, 2022. 'One we dreamed of long ago and one made very real (in the eyes of the state, Las Vegas, a pink convertible and one another) at very, very, long last.'

The couple again exchanged vows at Affleck's estate outside of Savannah, Georgia on August 20, 2022.