In some instances the role becomes much harder instead of easier - for example Margaret Thatcher (love her or loathe her!) demonstrated a woman can hold powerful positions in a traditionally male-dominated environment.
Liz Truss then took the title of second female PM in UK history and promptly tanked the economy in spectacular fashion! She was beaten by an iceberg lettuce [0]
The next female MP who is aiming for the PM role has an enormous uphill battle against them and it could be decades before "the old boys club" vote for a woman.
I can't even begin to fathom how difficult it was for "Steve" to battle against the odds.
[0] https://www.theguardian.com/politics/2022/oct/20/iceberg-let...