GQ 821 then FR 7596 at Athens
Rome → Athens → Budapest
Timetable, Athens time
14:00GQ 821 from Rome at the gate
09:55FR 7596 to Budapest leaves the gate
19 h 55 apart on the timetable, overnight
FR 7596 leaves 19 h 55 after GQ 821 arrives on the timetable: more than half a day, so not a connection we count.