/* Just Transfer - desktop / laptop fit (v103). Phones are not affected. */

/* 1) Small laptop screens (also Windows at 125% zoom): slimmer fixed header so it does not eat the page */
@media (min-width:992px) and (max-height:820px){
  .navbar-with-contact{padding-top:2px!important;padding-bottom:2px!important}
  nav.navbar.navbar-with-contact .navbar-brand img.jt-logo{height:54px!important;max-height:54px!important;width:auto!important}
  .navbar-with-contact .navbar-contact a{font-size:.92rem}
  .navbar-with-contact .navbar-collapse{padding-top:0!important}
  .navbar-with-contact .nav-link{padding-top:3px!important;padding-bottom:3px!important;font-size:.95rem}
  .navbar-with-contact .btn,.navbar-with-contact .nav-btn{padding-top:4px!important;padding-bottom:4px!important}
}

/* 2) Wide screens: homepage quote box + "Why book" side by side instead of a half-empty page */
@media (min-width:1000px){
  .ap-intro:has(>.wb){max-width:1180px;display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);column-gap:34px;align-items:start}
  .ap-intro:has(>.wb)>h2,.ap-intro:has(>.wb)>.ap-line,.ap-intro:has(>.wb)>p{grid-column:1/-1}
  .ap-intro:has(>.wb)>.qf{grid-column:1;margin-top:1.6rem}
  .ap-intro:has(>.wb)>.wb{grid-column:2;margin:1.6rem 0 1.2rem;align-self:start}
  .ap-intro:has(>.wb) .wb-grid{grid-template-columns:repeat(2,1fr)!important;gap:12px!important}
  /* six vehicle cards: 3 + 3 instead of 4 + 2 */
  .ap-grid:has(>.ap-card:nth-child(6)):not(:has(>.ap-card:nth-child(7))){grid-template-columns:repeat(3,minmax(0,1fr))}
}
