ARTICLE AD BOX

Officials in Costa Rica and Panama are confiscating migrants' passports and cellphones, denying them access to legal services and moving them between remote outposts as they wrestle with the logistics of a suddenly reversed migration flow.