Even San Francisco, a liberal bastion and conservative punching bag, has found itself caught up in the nation’s rightward ...