JA 5185 then P5 7272 at Bogotá
Santa Marta → Bogota → Medellín
Timetable, Bogota time
10:00JA 5185 from Santa Marta at the gate
07:10P5 7272 to Medellín leaves the gate
21 h 10 apart on the timetable, overnight
P5 7272 leaves 21 h 10 after JA 5185 arrives on the timetable: more than half a day, so not a connection we count.