Like others said, cut the liners out out of your shorts. Buy a few different brands of boxers or briefs that don’t absorb sweat much and see what works.
I went through 5 or 6 different models of lined shorts before I realized I just needed to find good sport boxers where everything sits right and cut the liner out of running shorts.