JA 5161 then IB 6995 at Bogotá
Cartagena → Bogota → Santa Marta
Timetable, Bogota time
23:15JA 5161 from Cartagena at the gate
18:05IB 6995 to Santa Marta leaves the gate
18 h 50 apart on the timetable, overnight
IB 6995 leaves 18 h 50 after JA 5161 arrives on the timetable: more than half a day, so not a connection we count.