AV 138 then JA 5178 at Bogotá
Cordoba → Bogota → Santa Marta
Timetable, Bogota time
11:25AV 138 from Cordoba at the gate
05:15JA 5178 to Santa Marta leaves the gate
17 h 50 apart on the timetable, overnight
JA 5178 leaves 17 h 50 after AV 138 arrives on the timetable: more than half a day, so not a connection we count.