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