Not sure why you assume "pandering" when that is not the point of the comment. If Republican want to win future elections the party needs to reflect the demographics of the country who share their values. What are people perception of Republicans? Where do they get those perception from? Do Republicans confirm those perception?
The values of the country have changed from conservative to liberal. The Republicans failed to recognized that.