/* Force hide the last two links on desktop layouts */
@media screen and (min-width: 992px) {
    .wpb_custom_menu ul.menu > li:nth-last-child(1),
    .wpb_custom_menu ul.menu > li:nth-last-child(2),
    .vc_wp_custommenu ul.menu > li:nth-last-child(1),
    .vc_wp_custommenu ul.menu > li:nth-last-child(2) {
        display: none !important;
    }
}