/* v517R — Global public header simplification
   Removes pressure from the main nav after How to Apply and Visa Info were moved into Useful Guide.
   This layer restores a larger, clearer and consistent menu size across public pages. */

@media (min-width:1121px){
  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .container.nav,
  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .nav{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:22px !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand.brand-logo{
    flex:0 0 auto !important;
    margin-right:24px !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand-logo img,
  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar img.logo-dark{
    max-width:238px !important;
    max-height:50px !important;
    width:auto !important;
    object-fit:contain !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks{
    flex:1 1 auto !important;
    min-width:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:18px !important;
    font-size:17px !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks a:not(.btn){
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    white-space:nowrap !important;
    font-size:17px !important;
    line-height:1.08 !important;
    font-weight:850 !important;
    padding:10px 4px !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks a[href="/contact.html"],
  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks a[href="/tracking.html"]{
    display:inline-flex !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks .nav-apply-btn,
  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks a.btn{
    font-size:18px !important;
    min-height:48px !important;
    padding:12px 24px !important;
    font-weight:900 !important;
  }
}

@media (min-width:1121px) and (max-width:1320px){
  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .brand-logo img,
  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar img.logo-dark{
    max-width:220px !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks{
    gap:14px !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks a:not(.btn){
    font-size:16px !important;
    padding-left:3px !important;
    padding-right:3px !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks .nav-apply-btn,
  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks a.btn{
    font-size:17px !important;
    padding-left:20px !important;
    padding-right:20px !important;
  }
}

@media (max-width:1120px){
  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .navlinks{
    display:none !important;
  }

  body:not(.vge-admin-page):not(.admin-body):not([class*="admin"]) .topbar .mobile-only{
    display:inline-flex !important;
  }
}

body.useful-guide-page .guide-core-service-pages-v517R{
  border:1px solid rgba(219,231,245,.96);
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  padding:clamp(20px,3vw,32px);
  box-shadow:0 18px 44px rgba(15,23,42,.06);
}

body.useful-guide-page .guide-card-grid-two-v517R{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

@media(max-width:760px){
  body.useful-guide-page .guide-card-grid-two-v517R{
    grid-template-columns:1fr !important;
  }
}
