/* Footage: Drone Aerial View of Car on Scenic Mountain Road, Andreas Berget, Pexels 40412906. */
/* Footage: Aerial View of Roadway in Moroccan Countryside, 8 K on Pexels (34490857). */
.autobook-hero .hero-video,
.autobook-hero .hero-still {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767.98px) {
    header.autobook-hero {
        min-height: 0 !important;
        padding: 105px 0 26px !important;
    }

    .autobook-hero .hero-video,
    .autobook-hero .hero-still {
        object-position: center;
        transform: none;
    }

    .autobook-hero .hero-gradient {
        background: linear-gradient(180deg, #08101c70, #08101caa 45%, #08101cc9) !important;
    }

    .autobook-hero > .container-xxl {
        padding-inline: clamp(14px, 4vw, 24px) !important;
    }

    .autobook-hero h1 {
        font-size: clamp(2rem, 8.5vw, 3.75rem);
        max-width: 100%;
        overflow-wrap: anywhere;
        margin-bottom: .85rem !important;
    }

    .autobook-hero .hero-kicker {
        max-width: 100%;
        margin-bottom: .85rem !important;
    }

    .autobook-hero .video-toggle {
        top: 68px;
        inset-inline-end: 16px;
        inset-inline-start: auto;
    }

    .autobook-hero .booking-glass {
        padding: 14px !important;
        margin-top: 18px !important;
    }

    .autobook-hero .booking-glass form > .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
    }

    .autobook-hero .booking-glass form > .row > * {
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .autobook-hero .booking-glass form > .row > :first-child,
    .autobook-hero .booking-glass form > .row > :last-child {
        grid-column: 1 / -1;
    }

    .autobook-hero .booking-glass .form-control {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: .55rem .5rem !important;
    }
}

.ab-brand .ab-navbar-wordmark {
    display: block;
    width: clamp(125px, 12vw, 165px);
    height: auto;
    aspect-ratio: 1928 / 272;
    object-fit: contain;
    flex: none;
    filter: drop-shadow(0 0 1px #ffffff85);
}
@media (max-width: 575.98px) {
    .ab-brand .ab-navbar-wordmark { width: clamp(88px, 24vw, 125px); }
}
