/* Dedicated vehicle landing pages */
.mg-landing[class*="mg-theme-vehicle-"] .mg-booking-hero{
    min-height:92vh;
    background-position:center;
}

.mg-landing[class*="mg-theme-vehicle-"] .mg-booking-hero::before{
    background:linear-gradient(90deg,rgba(3,18,30,.96) 0%,rgba(5,38,60,.86) 48%,rgba(5,38,60,.5) 100%);
}

.mg-landing[class*="mg-theme-vehicle-"] .mg-hero-copy h1{
    max-width:13ch;
    font-size:clamp(3rem,6.2vw,5.8rem);
}

.mg-landing[class*="mg-theme-vehicle-"] .mg-feature-visual img{
    object-fit:contain;
    background:linear-gradient(135deg,#f7fbfd,#ffffff);
    padding:24px;
}

.mg-landing[class*="mg-theme-vehicle-"] .mg-service-card h3,
.mg-landing[class*="mg-theme-vehicle-"] .mg-trust-card h3{
    letter-spacing:-.03em;
}

.car-details-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border-radius:999px;
    border:1px solid rgba(11,55,101,.18);
    color:var(--mg-blue,#0b3765);
    background:#fff;
    text-decoration:none;
    font-weight:900;
    font-size:.88rem;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.car-details-btn:hover{
    transform:translateY(-1px);
    border-color:rgba(11,55,101,.36);
    box-shadow:0 14px 34px rgba(6,36,58,.12);
}

@media (max-width: 768px){
    .mg-landing[class*="mg-theme-vehicle-"] .mg-hero-copy h1{
        max-width:11ch;
        font-size:clamp(2.65rem,13vw,4rem);
    }

    .car-book-row{
        gap:10px;
    }

    .car-details-btn,
    .car-btn{
        width:100%;
    }
}

/* 2026-06-01 vehicle page mobile CTA repair
   Keeps long vehicle-specific CTA labels from overflowing on small screens. */
.mg-landing[class*="mg-theme-vehicle-"] .mg-search-btn,
.mg-landing[class*="mg-theme-vehicle-"] .mg-pill-cta,
.mg-landing[class*="mg-theme-vehicle-"] .mg-cta-box .mg-search-btn{
    max-width:100%;
    text-align:center;
    white-space:normal;
    line-height:1.18;
}

.mg-landing[class*="mg-theme-vehicle-"] .mg-hero-form-card .mg-search-btn{
    width:100%;
}

@media (max-width: 640px){
    .mg-landing[class*="mg-theme-vehicle-"] .mg-hero-form-card,
    .mg-landing[class*="mg-theme-vehicle-"] .mg-cta-box,
    .mg-landing[class*="mg-theme-vehicle-"] .booking-card{
        max-width:100%;
        overflow:hidden;
    }

    .mg-landing[class*="mg-theme-vehicle-"] .mg-search-btn,
    .mg-landing[class*="mg-theme-vehicle-"] .mg-pill-cta,
    .mg-landing[class*="mg-theme-vehicle-"] .mg-cta-box .mg-search-btn{
        width:100%;
        min-height:54px;
        padding:13px 16px;
        border-radius:16px;
        font-size:clamp(.86rem,3.7vw,.98rem);
        word-break:normal;
        overflow-wrap:anywhere;
    }

    .mg-landing[class*="mg-theme-vehicle-"] .mg-cta-box{
        display:flex;
        flex-direction:column;
        gap:18px;
        padding:24px 18px;
        border-radius:24px;
    }

    .mg-landing[class*="mg-theme-vehicle-"] .mg-cta-box .mg-search-btn{
        margin-top:0;
    }
}
