Phase transitions and critical points in the rare-earth region