First- and Second-Order Phase Transitions in Potts Models: Renormalization-Group Solution | Synapse