Comcast reported a nearly 40% drop in first-quarter profit on Thursday, despite significant bumps in its cable and broadband divisions as coronavirus restrictions kept customers at home.

Here's how the company did:

EPS: 71 cents, adjusted

Revenue: $26.61 billion

Comcast shares fell as much as 7%, after being up as much as 2% in premarket trading, after the company said during its earnings call that it would lose about $500 million if theme parks remained closed through June. It also said advertising will be down "significantly" in the second quarter. Sky, which also helps drive advertising revenue through sports and other programming, took a hit during the quarter because customers can pause sports packages and it's unclear when sports will resume.

Wall Street was anticipating earnings per share of 68 cents on revenue of $26.75 billion, based on Refinitiv consensus estimates. However, it's difficult to compare reported earnings to analyst estimates for Comcast's first quarter, as the coronavirus pandemic continues to hit global economies and makes earnings impact difficult to assess.

Comcast posted $2.1 billion in net income for the first quarter. That's roughly 40% lower than the first quarter last year when Comcast earned more than $3.5 billion. Adjusted net income came in at $3.3 billion, a 6% dip year over year. The adjustments account for one-time items of investments, loss on early redemption of debt, costs related to the Sky transaction and amortization of acquisition-related intangible assets.

Comcast's NBCUniversal segment, which includes broadcast and cable channels, as well as theme parks and studios, saw its revenue slide 7% to $7.7 billion in the first quarter. It was the Comcast segment hit the hardest during the quarter.

Still, Comcast saw a boost from its cable and broadband divisions as the coronavirus pandemic kept U.S. households mostly inside. Cable revenue jumped 4.5% year over year, helped by a 52% surge specifically in wireless revenue.

"Our digital tools have been instrumental during this time of need," CEO Brian Roberts said in a call with investors. "The investments we have been making in our broadband products and network every single year are paying off."

An 8.8% jump in broadcast TV revenue also helped to offset headwinds in other segments that felt particular impacts of the Covid-19 outbreak.

"While parts of our business have been more impacted by COVID-19 than others, we have continued to innovate. We are distributing our content in new ways, as evidenced by the recent launch of Peacock on X1 and Flex," Roberts said in the release.