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