FR 6053 then FR 1242 at Athens
Bologna → Athens → Budapest
Timetable, Athens time
15:30FR 6053 from Bologna at the gate
12:45FR 1242 to Budapest leaves the gate
21 h 15 apart on the timetable, overnight
FR 1242 leaves 21 h 15 after FR 6053 arrives on the timetable: more than half a day, so not a connection we count.