FR 4641 then FR 4652 at Arlanda
Riga → Stockholm → Kaunas
Timetable, Stockholm time
15:35FR 4641 from Riga at the gate
07:50FR 4652 to Kaunas leaves the gate
16 h 15 apart on the timetable, overnight
FR 4652 leaves 16 h 15 after FR 4641 arrives on the timetable: more than half a day, so not a connection we count.