@media (min-width:1024px){

    /* Restore the pre-V111 desktop form geometry: one field per row. */
    html body #home-view .booking-widget{
        width:min(820px,calc(100vw - 96px))!important;
        max-width:820px!important;
        padding:23px 20px 22px!important;
    }

    html body #home-view .hero{
        padding-top:112px!important;
    }

    html body #home-view .hero-heading-panel{
        margin-top:8px!important;
        margin-bottom:24px!important;
        padding:12px 18px 14px!important;
    }

    html body #home-view .widget-tabs{
        margin-bottom:17px!important;
    }

    html body #home-view #calcForm .form-grid{
        display:grid!important;
        grid-template-columns:1fr!important;
        column-gap:0!important;
        row-gap:15px!important;
        align-items:stretch!important;
    }

    html body #home-view #calcForm #box-depart,
    html body #home-view #calcForm #box-arrivee,
    html body #home-view #calcForm #box-heures,
    html body #home-view #calcForm #box-date,
    html body #home-view #calcForm #box-time,
    html body #home-view #calcForm #form-error-msg,
    html body #home-view #calcForm .btn-calc{
        grid-column:1!important;
        width:100%!important;
        min-width:0!important;
    }

    html body #home-view #calcForm #depart,
    html body #home-view #calcForm #arrivee,
    html body #home-view #calcForm #heures_input,
    html body #home-view #calcForm #date_picker,
    html body #home-view #calcForm #time_input{
        height:44px!important;
        min-height:44px!important;
        width:100%!important;
        box-sizing:border-box!important;
    }

    html body #home-view #calcForm .btn-calc{
        height:48px!important;
        min-height:48px!important;
        margin-top:5px!important;
    }

    /* Number of Hours popup: anchor to the LEFT edge of its own field. */
    html body #home-view #box-heures{
        position:relative!important;
    }
    html body :is(#home-view #hoursPickerPopup, #checkout-view #passengersPickerPopup){
        left:0!important;
        right:auto!important;
        transform:none!important;
        -webkit-transform:none!important;
    }
}



html body #home-view #contact .founder-portrait-img{
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 80%,rgba(0,0,0,.98) 84%,rgba(0,0,0,.88) 89%,rgba(0,0,0,.62) 94%,rgba(0,0,0,.28) 97%,transparent 100%)!important;
    mask-image:linear-gradient(to bottom,#000 0%,#000 80%,rgba(0,0,0,.98) 84%,rgba(0,0,0,.88) 89%,rgba(0,0,0,.62) 94%,rgba(0,0,0,.28) 97%,transparent 100%)!important;
    -webkit-mask-repeat:no-repeat!important;
    mask-repeat:no-repeat!important;
}



@media (min-width:1024px){
    html body #home-view .booking-widget{
        width:min(820px,calc(100vw - 96px))!important;
        max-width:820px!important;
        padding:21px 20px 20px!important;
    }

    html body #home-view .hero-heading-panel{
        margin-top:6px!important;
        margin-bottom:18px!important;
        padding:10px 18px 12px!important;
    }

    html body #home-view .booking-widget h1{
        margin-bottom:10px!important;
    }

    html body #home-view .hero-coachline-separator{
        margin-bottom:10px!important;
    }

    html body #home-view .widget-tabs{
        margin-bottom:14px!important;
    }

    html body #home-view #calcForm .form-grid{
        row-gap:12px!important;
    }

    html body #home-view #calcForm .btn-calc{
        margin-top:3px!important;
    }

    html body #home-view #box-time,
    html body #home-view #box-heures{
        position:relative!important;
    }

    html body #home-view #timePickerPopup.time-picker-popup.luxury-clock-popup,
    html body :is(#home-view #hoursPickerPopup, #checkout-view #passengersPickerPopup).time-picker-popup{
        position:absolute!important;
        top:auto!important;
        bottom:100%!important;
        left:0!important;
        right:auto!important;
        margin:0!important;
        transform:none!important;
        -webkit-transform:none!important;
    }
}

html body .flatpickr-calendar .flatpickr-day:hover,
html body .flatpickr-calendar .flatpickr-day:focus,
html body .flatpickr-calendar .flatpickr-day:focus-visible,
html body .flatpickr-calendar .flatpickr-day:not(.selected):hover,
html body .flatpickr-calendar .flatpickr-day:not(.selected):focus{
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    border-color:transparent!important;
    box-shadow:none!important;
    outline:0!important;
}

html body .flatpickr-calendar .flatpickr-day.selected:hover,
html body .flatpickr-calendar .flatpickr-day.selected:focus{
    background:transparent!important;
    background-color:transparent!important;
    border-color:transparent!important;
    box-shadow:none!important;
    color:#efd79f!important;
    -webkit-text-fill-color:#efd79f!important;
}

html body #home-view #timePickerPopup .clock-face{
    cursor:grab!important;
}
html body #home-view #timePickerPopup .clock-face:active{
    cursor:grabbing!important;
}
