UX 193 then AV 8540 at Bogotá
Madrid → Bogota → Santa Marta
Timetable, Bogota time
19:35UX 193 from Madrid at the gate
18:50AV 8540 to Santa Marta leaves the gate
23 h 15 apart on the timetable, overnight
AV 8540 leaves 23 h 15 after UX 193 arrives on the timetable: more than half a day, so not a connection we count.