/* Mobile-only enhancement scoped to the live home hero: the JS adds vipmhero2
   only when it detects the existing .hero-grid. No slider or menu APIs modified. */
@media (max-width: 767px) {
  body.home .vipmhero2 {
    --vipmhero2-shade: linear-gradient(115deg, rgba(5,18,37,.90) 0%,rgba(7,29,53,.84) 45%,rgba(8,38,67,.60) 100%);
    position: relative;
    min-height: 0 !important;
    background-image: var(--vipmhero2-shade), var(--vipmhero2-image, var(--hero-image)) !important;
    background-position: center, center 42% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    overflow: visible;
  }
  body.home .vipmhero2 .hero-grid {
    min-width: 0 !important;
    width: min(100% - 32px, 560px) !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 20px !important;
    align-items: start !important;
    box-sizing: border-box;
  }
  body.home .vipmhero2 .hero-grid > * {min-width:0; max-width:100%;}
  body.home .vipmhero2 .hero-grid h1 {
    font-family: Poppins,system-ui,sans-serif;
    font-weight: 800;
    font-size: clamp(30px,7.5vw,43px) !important;
    line-height: 1.16 !important;
    letter-spacing: -.035em;
    text-wrap: balance;
    overflow-wrap: break-word;
    margin-bottom: 14px;
    text-shadow: 0 3px 16px rgba(0,0,0,.16);
  }
  body.home .vipmhero2 .hero-grid p {font-size: clamp(14px,3.65vw,16px);line-height: 1.75;}
  body.home .vipmhero2 .hero-grid img[src*="hero-airport"] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    image-rendering: auto;
  }
  body.home .vipmhero2 .hero-grid a,body.home .vipmhero2 .hero-grid button {max-width:100%;}
  body.home .vipmhero2 .hero-grid input,body.home .vipmhero2 .hero-grid select,body.home .vipmhero2 .hero-grid textarea {max-width:100%; min-width:0;}
}
@media (max-width: 380px) {
  body.home .vipmhero2 .hero-grid {width:calc(100% - 24px) !important;}
  body.home .vipmhero2 .hero-grid h1 {font-size:29px !important;}
}
@media (prefers-reduced-motion: reduce) {
  body.home .vipmhero2 *,body.home .vipmhero2 *::before,body.home .vipmhero2 *::after {scroll-behavior:auto !important;}
}

/* V9.2.5 responsive default hero */
@media (max-width: 767px) {
  body.home .hero.vipmhero2[style*="hero-airport.webp"] {
    --vipmhero2-image: url('../themes/vip-transfer-premium/assets/images/hero-airport-768.webp');
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  body.home .hero.vipmhero2[style*="hero-airport.webp"] {
    background-image: url('../themes/vip-transfer-premium/assets/images/hero-airport-1200.webp');
  }
}
