Do you think this can still be done well, or do you feel it is outdated by default (and reinforcing bad stereotypes) to have men with X ability, women with Y ability?

In particular, the trope of men being dangerous and out of control (not a stereotype that should be promoted, perhaps) in their abilities.

How does this interact with more fluid perceptions of gender, and especially in a modern/contemporary context?

Is it problematic to present a character whose gender doesn't match their biological sex, and give them an ability linked to biological sex?

Apologies if I've phrased anythign in a clumsy way, I'm struggling to explain all the things I mean.