Elections and media in digital times