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