JA 5173 then AV 9368 at Bogotá
Santa Marta → Bogota → Medellín
Timetable, Bogota time
23:35JA 5173 from Santa Marta at the gate
20:55AV 9368 to Medellín leaves the gate
21 h 20 apart on the timetable, overnight
AV 9368 leaves 21 h 20 after JA 5173 arrives on the timetable: more than half a day, so not a connection we count.