Past Lupoglav, after going over the Lupoglav–Raša railway line the A8 heads southeast, until it reaches the D500 road at the Vranja exit and the western entrance to the 5 kilometers Učka Tunnel; this is the third-longest road tunnel in Croatia.