LOS ANGELES (AP) -- A femme-fueled comedy beat a superhero blockbuster at the box office this weekend.
After holding the top position for three weeks, "Captain America: The Winter Soldier" has been topped by "The Other Woman" for the No. 1 spot.
Fox's revenge comedy, starring Cameron Diaz, Leslie Mann and Kate Upton, debuted with $24.7 million, while Disney-Marvel's "Captain America," led by Chris Evans, grossed $16 million in its fourth weekend, bringing its domestic total to $225 million.
The PG-13 rating of Nick Cassavetes directed "The Other Woman" - about three ladies wronged by a three-timing spouse played by Nikolaj Coster-Waldau of "Game of Thrones" - helped it draw a larger audience, says Paul Dergarabedian, senior media analyst of box-office tracker Rentrak.
"The rating was perfect," he said. "If you are going for the mainstream audience who is looking for something that has a little bit of an edge, but not too much, you can hit that sweet spot and draw a large audience."
The release date couldn't have been better, Dergarabedian noted. "This was the perfect time to release this film, between the success of `Captain America' and before the official start of the summer movie season with `Spider-Man 2.' "
Hollywood hasn't yet seen a comedy do especially well at the box office in 2014 since "Ride Along," which was released in January. Domestically, Jason Bateman's "Bad Words" made only $7.7 million overall. Tyler Perry's "The Single Moms Club" brought in $16 million domestically. Most of his films have grossed over $40 million domestically. And Marlon Wayans' sequel "A Haunted House 2" opened with $8.8 million, drastically down from the original's $18 million debut.
"Sometimes it's about casting," Dergarabedian said. "When you have Cameron Diaz in a comedy like this, it's hard not to knock it out of the park. This film is right in her wheelhouse. This is what she does best."
While Diaz's last film, thriller "The Counselor," grossed only $17 million domestically last year, her foul-mouthed 2011 comedy "Bad Teacher" earned over $100 million stateside.
"Captain America" has now hit over $645 million globally, surpassing its 2011 original "The First Avenger," which earned $370 million. The sequel is the highest-grossing April release ever.
Sony's faith-based "Heaven Is for Real," starring Greg Kinnear, held the third-place position with $13.8 million after opening in the same slot last weekend behind leaders "Captain America" and Fox's animated "Rio 2," which drifted down to fourth place with $13.7 million.
Relativity Media's action crime drama "Brick Mansions," starring the late Paul Walker, was No. 5 with $9.6 million. The film was one of the last Walker completed before he died in a car accident in November. To finish "Fast & Furious 7," which will be released April 2015, Walker's brothers, Caleb and Cody Walker, have stepped in to complete their brother's action scenes.
It's a solid debut after the film was pushed back from its original release date in February.
In one of his first interviews since the announcement from Universal Pictures, the studio behind the "Fast & Furious" franchise, Cody Walker broke down in tears when talking on Fox's Baltimore TV affiliate about his late brother's charitable work last week.
Johnny Depp's sci-fi disappointment "Transcendence" dropped from No. 4 to No. 6 in its second weekend, earning $4.1 million. The Warner Bros. film is Depp's third consecutive flop after 2013's Western "The Lone Ranger," in which he played Tonto, and 2012 quirky vampire flick "Dark Shadows."
Could the A-lister be losing his appeal at the box office? Depp's last film to exceed $100 million domestically was "Pirates of the Caribbean: On Stranger Tides" in 2011. Perhaps his upcoming Disney fantasy "Into the Woods," also starring Meryl Streep, will fare better.
Also opening this weekend was Lionsgate's "The Quiet Ones," starring Jared Harris ("Mad Men") as an Oxford professor who recruits students to conduct an experiment to prove supernatural abilities exist. The horror film's take was a mere $4 million.
Next weekend, Sony-Marvel's "The Amazing Spider-Man 2" kicks off the summer movie season with its domestic debut. The 18 weeks of summer constitutes on average 40 percent of the year's box office earnings, Dergarabedian said.
"Spider-Man 2" has already premiered internationally in locations like South Korea and Russia. In its second weekend of international release, it made $132 million.
Estimated ticket sales for Friday through Sunday at U.S. and Canadian theaters, according to Rentrak. Final domestic figures will be released on Monday:
1. "The Other Woman," $24.7 million.
2. "Captain America: The Winter Soldier," $16 million.
3. "Heaven Is for Real," $13.8 million.
4. "Rio 2," 13.7 million.
5. "Brick Mansions," $9.6 million.
6. "Transcendence," $4.1 million.
7. "The Quiet Ones," $4 million.
8. "Bears," $3.6 million.
9. "Divergent," $3.6 million.
10. "A Haunted House 2," $3.3 million.