/* Match the existing cover video and retain the booking calendar's overflow. */
.hero.home-search {
    position: relative;
    z-index: 0;
    isolation: isolate;
}
.hero-video-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: #304c49;
    pointer-events: none;
}
.hero-video-background video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero.home-search .wrapper {
    background-color: rgba(0, 0, 0, 0.5);
}
/* Reserve the existing gallery height before its on-demand initialization. */
#general-gallery:not(.owl-loaded) {
    display: block;
    min-height: 300px;
}
.gallery-content:not(.owl-loaded) > .item {
    display: none;
}
/* Intrinsic dimensions reserve space without changing responsive image sizes. */
.parallax_wrapper > img,
.parallax_wrapper .img_over img,
footer img[data-home-src] {
    height: auto;
}

/* Retain the entrance effect while making the first screen usable sooner. */
.hero.home-search .is-transitioned .slide-animated { transition-duration: .32s; }
.hero.home-search .is-transitioned .slide-animated.one { transition-delay: .04s; }
.hero.home-search .is-transitioned .slide-animated.two { transition-delay: .08s; }
.hero.home-search .is-transitioned .slide-animated.three { transition-delay: .12s; }
.hero.home-search .is-transitioned .slide-animated.four { transition-delay: .16s; }

/* Targeted mobile layout without changing the desktop composition. */
#first_section .parallax_wrapper .img_over { width: 125%; }
@media (max-width: 991px) {
    .hero.home-search { height: auto; min-height: 100vh; min-height: 100svh; padding-inline: 0; }
    .hero.home-search .wrapper { position: relative; inset: auto; width: 100%; height: auto; min-height: 100vh; min-height: 100svh; padding-block: 104px 96px; }
    #first_section { padding-top: 64px; padding-bottom: 56px; }
    #first_section .parallax_wrapper { max-width: 520px; margin: 0 auto 32px; }
    #first_section .parallax_wrapper .img_over { width: 100%; }
    #first_section .intro .title h2 { font-size: clamp(29px, 4.8vw, 38px); line-height: 1.2; }
    #first_section .intro .lead { font-size: 18px; line-height: 1.65; }
    #first_section .intro p { line-height: 1.75; }
}
@media (max-width: 575px) {
    .hero.home-search .wrapper { padding-block: 96px 86px; }
    .hero.home-search .wrapper > .container { padding-inline: 14px; }
    .hero.home-search .wrapper h1 { font-size: clamp(23px, 6.4vw, 30px); line-height: 1.22; }
    .hero.home-search .wrapper small { font-size: 10px; letter-spacing: 2.3px; }
    .hero.home-search .mouse_wp { display: none; }
    .hero.home-search .reservation-search { margin-top: 20px; }
    .reservation-search-field { padding: 10px 11px; }
    .reservation-search-field input { min-height: 30px; font-size: 16px; }
    .reservation-search-submit { min-height: 48px; }
    #first_section { padding-top: 52px; padding-bottom: 44px; }
    #first_section .parallax_wrapper { margin-bottom: 28px; }
    #first_section .intro .title h2 { font-size: clamp(28px, 7.6vw, 34px); line-height: 1.2; }
    #first_section .intro .lead { font-size: 17px; line-height: 1.65; }
    #first_section .intro p:not(.lead) { font-size: 15px; }
}
@media (max-width: 360px) {
    .reservation-search-field { padding-inline: 8px; }
    .reservation-search-field input[type="date"]::-webkit-calendar-picker-indicator { width: 14px; padding: 0; margin: 0; }
}
@media (max-width: 991px) and (orientation: landscape) and (max-height: 500px) {
    .hero.home-search .wrapper { padding-block: 96px 78px; }
    .hero.home-search .wrapper h1 { font-size: clamp(26px, 4vw, 38px); }
}
