OP, over the last 40 years I have met so many professional woman whom have had experiences like yours.
Every one of these women are fantastic career women, and every single one of them took it very personally and were devastated and felt their confidence take a knock.
Some fought an won grievances.
Others left and moved to other positions and moved on professional.
None of them have ever forgotten the experience.
But they got through it, and you will too.
You are a normal woman having a normal reaction to an abnormal situation.
You can and will get through it.
This is on them.
You can choose not to allow it define you.
You can and will heal.
Just prioritise your health above all else and try and move on.
Your health is everything.
You do not to be hitting menopause in a toxic environment.
Deep breath, one day at a time.
Don't allow this to define your life.
That would be so unfair to you and your new husband.
Really wishing you well.
You can do this.