Journalists released after 24 hours in detention