Republicans used to be a predominantly pro-choice party decades ago. Ronald Reagan, as mayor of California, signed a bill legalising abortion in that state well before Roe vs. Wade.
The pro-LGBT politics of the Democratic Party more or less tracks national sentiments. It's the Republicans that are largely out of step.
I would suggest that it's more accurate to say that both parties were the parties of "safe legal and rare"
The Democrats stuck with that consensus-accepted sentiment until the late 1990's
The Republicans cranked the wheel to the right in the 1980's
The Democrats cranked the wheel to the left in the 2010's.
Which explains where we're at now on that issue.
Pre "Jerry Falwell/Moral Majority/Religious Right" (whatever you want to call it)... a plurality were on board with
safe legal and rare.
Fast forward to present day, we have "Women and their doctors should go to prison if they get an abortion" vs. "Shout your abortion, it's just a clump of cells, it should be on-demand, for any reason at all, and taxpayer funded"
On the LGBTQ+ issues, I always point out that the conversations around the "LGB" are different than the ones around the "TQ+", so they shouldn't be described as a monolith, and while there's national sentiments that seem to be in agreement on things like gay rights, gay marriage, employment and housing discrimination protections, etc... (you're more likely to find a pro-SSM republican in 2024 than you were to find a pro-SSM democrat in the 90s)... it's not the same with regards to "should this biological male be in the bathroom with my wife/daughter" and "should people have to attend a pronoun lecture" and "should we be letting 15 year olds start a gender transition process", but tribalism has muddied the waters on that one because there's no way to employ nuance without people accusing them of being "anti-LGBT".
I'd go as far as saying that referring to children's gender clinics as "life saving care" (as many prominent democrats do) doesn't reflect national sentiments, even among democrats. The only sentiments it reflects are that of activists, and the democrats who are afraid of being labelled "bigot" so go along with it to keep their social life intact.
Being a democrat who says "I'm not crazy about this youth transitioning stuff" is the equivalent of a republican saying "I'm not crazy about people owning AR-15s", it'll quicky get you ostracized from your social circles.