/* V1.1.21 — Homepage Search Bar & Hero Final Polish */

.site-header{
    box-shadow:0 4px 18px rgba(0,0,0,.045)!important;
}

.site-header__inner{
    padding-top:0!important;
    padding-bottom:0!important;
}

.hero-slider{
    min-height:660px!important;
    overflow:visible!important;
}

.hero-slider__content{
    min-height:660px!important;
    justify-content:center!important;
    padding-top:70px!important;
    padding-bottom:170px!important;
}

.hero-slider__content h1{
    max-width:960px;
    margin-top:10px!important;
    margin-bottom:12px!important;
}

.hero-slider__content p{
    max-width:680px!important;
}

.hero-slider__cta{
    margin-top:22px!important;
}

/* keep booking search fully inside hero */
.hero-slider .booking-bar,
.hero .booking-bar{
    position:absolute!important;
    z-index:20!important;
    left:50%!important;
    right:auto!important;
    bottom:28px!important;
    transform:translateX(-50%)!important;
    width:min(1180px,calc(100% - 64px))!important;
    min-height:96px!important;
    overflow:hidden!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 22px 48px rgba(0,0,0,.18)!important;
}

.hero-slider .booking-bar>div,
.hero .booking-bar>div{
    min-height:96px!important;
    padding:14px 18px!important;
}

.hero-slider .booking-bar label,
.hero .booking-bar label{
    margin-bottom:8px!important;
    color:#7f756a!important;
    font-size:11px!important;
    line-height:1.2!important;
}

.hero-slider .booking-bar input,
.hero .booking-bar input{
    display:block!important;
    width:100%!important;
    height:34px!important;
    min-height:34px!important;
    padding:0!important;
    color:#201f1d!important;
    font-size:16px!important;
    font-weight:700!important;
    line-height:34px!important;
    opacity:1!important;
}

.hero-slider .booking-bar input[type="date"]{
    color-scheme:light;
}

.booking-bar__submit{
    min-height:96px!important;
    height:100%!important;
    border-radius:0 16px 16px 0!important;
    font-size:15px!important;
}

.booking-bar__submit span:first-child{
    white-space:nowrap;
}

/* remove previous compensation that pushed next section too far */
.hero-slider + .section,
.hero + .section{
    padding-top:76px!important;
}

.home-section-tight:first-of-type{
    padding-top:76px!important;
}

/* stronger first section rhythm */
.home-section-head{
    align-items:flex-end!important;
}

.home-section-head h2{
    margin-bottom:0!important;
}

.home-section-head>a{
    margin-bottom:4px;
}

/* Navigation refinement */
.site-header nav a{
    position:relative;
    padding:25px 0;
}

.site-header nav a::after{
    content:"";
    position:absolute;
    left:0;
    right:100%;
    bottom:18px;
    height:2px;
    background:#bd9252;
    transition:right .2s ease;
}

.site-header nav a:hover::after{
    right:0;
}

.header-actions .btn,
.header-actions .btn--gold{
    padding-left:18px!important;
    padding-right:18px!important;
}

/* slider dots move above booking form */
.hero-slider__nav{
    right:50%!important;
    bottom:142px!important;
    transform:translateX(50%);
}

/* desktop readability for room cards */
.home-room-card .room-card__body{
    min-height:150px;
}

.home-room-card .room-card__footer{
    margin-top:auto;
}

@media(max-width:900px){
    .hero-slider{
        min-height:720px!important;
    }

    .hero-slider__content{
        min-height:720px!important;
        padding-bottom:260px!important;
    }

    .hero-slider .booking-bar,
    .hero .booking-bar{
        bottom:24px!important;
        grid-template-columns:1fr 1fr!important;
        width:calc(100% - 36px)!important;
        min-height:0!important;
    }

    .hero-slider .booking-bar>div,
    .hero .booking-bar>div{
        min-height:76px!important;
    }

    .booking-bar__submit{
        grid-column:1/-1;
        min-height:54px!important;
        border-radius:0 0 16px 16px!important;
    }

    .hero-slider__nav{
        bottom:232px!important;
    }

    .hero-slider + .section,
    .hero + .section{
        padding-top:58px!important;
    }
}

@media(max-width:640px){
    .site-header nav{
        display:none;
    }

    .hero-slider{
        min-height:830px!important;
    }

    .hero-slider__content{
        min-height:830px!important;
        padding:50px 18px 430px!important;
    }

    .hero-slider__content h1{
        font-size:clamp(38px,11vw,48px)!important;
    }

    .hero-slider .booking-bar,
    .hero .booking-bar{
        position:absolute!important;
        bottom:18px!important;
        grid-template-columns:1fr!important;
        width:calc(100% - 24px)!important;
        transform:translateX(-50%)!important;
    }

    .hero-slider .booking-bar>div,
    .hero .booking-bar>div{
        min-height:65px!important;
        padding:10px 14px!important;
    }

    .hero-slider .booking-bar label,
    .hero .booking-bar label{
        margin-bottom:3px!important;
        font-size:10px!important;
    }

    .hero-slider .booking-bar input,
    .hero .booking-bar input{
        min-height:30px!important;
        height:30px!important;
        line-height:30px!important;
        font-size:16px!important;
    }

    .booking-bar__submit{
        min-height:50px!important;
    }

    .hero-slider__nav{
        bottom:405px!important;
    }

    .hero-slider + .section,
    .hero + .section{
        padding-top:48px!important;
    }

    .header-actions{
        margin-left:auto;
    }

    .header-actions>a:first-child{
        display:none;
    }
}
