JA 5161 then AV 9762 at Bogotá
Cartagena → Bogota → Santa Marta
Timetable, Bogota time
23:15JA 5161 from Cartagena at the gate
20:55AV 9762 to Santa Marta leaves the gate
21 h 40 apart on the timetable, overnight
AV 9762 leaves 21 h 40 after JA 5161 arrives on the timetable: more than half a day, so not a connection we count.