.block_big-text-image {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.block_big-text-image .text-wrapper {
    grid-row-end: 13;
    grid-row-start: auto;
    align-self: end;
    grid-column: 1 / 13;
    padding: var(--spacing-vertical) var(--spacing-9xl);
    display: flex;
    flex-direction: column;
    transform: translate3d(0, var(--shift), 0);
    will-change: transform;
    gap: var(--spacing-m);
}
.block_big-text-image .text-wrapper .title {
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -3%;
    text-transform: uppercase;
    font-family: var(--font-display), sans-serif;
    font-size: clamp(40px, 1.25vw + 35.9375px, 70px);
    max-width: 560px;
    text-wrap: pretty;
}
.block_big-text-image .text-wrapper .rich-text {
    display: flex;
    gap: 16px;
    flex-direction: column;
    max-width: 560px;
}
.block_big-text-image .text-wrapper .rich-text p {
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -.38px;
    font-family: var(--font-body), sans-serif;
    font-size: clamp(18px, .1875vw + 17.296875px, 24px);
    text-wrap: pretty;
}
.block_big-text-image .cta-wrapper {
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.block_big-text-image picture {
    width: 100%;
    height: 600px;
    grid-row: 1 / 9;
    grid-column: 1 / 13;
    overflow: hidden;
    background-color: var(--color-neutral-30);
}

.block_big-text-image picture img {
    --ty: -10vh;
    --scale: 0;
    width: 110%;
    height: 110%;
    margin-left: -5%;
    transform-origin: center;
    transform: translate3d(0, calc(var(--ty)), 0) scale3d(calc(1 + var(--scale)), calc(1 + var(--scale)), 1);
    will-change: transform;
    object-fit: cover;
    object-position: center;
}

picture.has-lqi img {
    width: 100%;
    opacity: 0;
    z-index: 2;
    transition: opacity .8s ease-out;
}

picture.has-lqi img.lazyloaded {
    opacity: 1;
}
.block_big-text-image picture.has-lqi img {
    width: 110%;
    max-width: none;
    margin-left: -5%;
}


.block_big-text-image {
    background-color: var(--block-bg, var(--color-neutral-30));
}
.block_big-text-image .text-wrapper {
    background-color: var(--block-bg, var(--color-neutral-30));
}
.block_big-text-image picture {
    background-color: var(--block-bg, var(--color-neutral-30));
}

/* Video (video_url_external) — mirrors the picture/img rules */
.block_big-text-image .video-wrapper {
    width: 100%;
    height: 600px;
    grid-row: 1 / 9;
    grid-column: 1 / 13;
    overflow: hidden;
    background-color: var(--block-bg, var(--color-neutral-30));
}
.block_big-text-image .video-wrapper video {
    --ty: -10vh;
    --scale: 0;
    display: block;
    width: 110%;
    height: 110%;
    max-width: none;
    margin-left: -5%;
    transform-origin: center;
    transform: translate3d(0, calc(var(--ty)), 0) scale3d(calc(1 + var(--scale)), calc(1 + var(--scale)), 1);
    will-change: transform;
    object-fit: cover;
    object-position: center;
}

/* Gallery (image_gallery) — takes the place of the single picture/video */
.block_big-text-image-gallery .gallery-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    grid-row: 1 / 9;
    grid-column: 1 / 13;
    overflow: hidden;
    background-color: var(--block-bg, var(--color-neutral-30));
}
.block_big-text-image-gallery .big-text-gallery,
.block_big-text-image-gallery .big-text-gallery .swiper-wrapper,
.block_big-text-image-gallery .big-text-gallery .swiper-slide {
    width: 100%;
    height: 100%;
}
.block_big-text-image-gallery .big-text-gallery .swiper-slide {
    overflow: hidden;
}
.block_big-text-image-gallery .big-text-gallery .swiper-slide picture,
.block_big-text-image-gallery .big-text-gallery .swiper-slide .video-wrapper {
    display: block;
    width: 100%;
    height: 100%;
}

/* Arrows */
.block_big-text-image-gallery .gallery-nav {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50px;
    background: #ffffff26;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: inset 0 0 0 .5px #ffffff40, 0 0 20px #0003;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate3d(0, -50%, 0);
    transition: opacity .4s ease-in-out, background-color .4s ease-in-out;
}
.block_big-text-image-gallery .gallery-nav:hover {
    background-color: #ffffff40;
}
.block_big-text-image-gallery .gallery-nav svg {
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.block_big-text-image-gallery .gallery-prev {
    left: var(--spacing-l, 24px);
}
.block_big-text-image-gallery .gallery-next {
    right: var(--spacing-l, 24px);
}
.block_big-text-image-gallery .gallery-nav.swiper-button-disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* Progress lines (sticky-cards look), centred at the bottom of the gallery.
   One clickable 1px segment per slide (track at 40% of --gallery-progress) and a
   single 4px thumb, one segment wide, that slides to the active one.
   --count is set in render.php, --index by initBigTextGallery(). */
.block_big-text-image-gallery .gallery-progress {
    --segment-gap: 4px; /* each side, so 8px between two lines */
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    width: min(189px, 30%);
    height: 24px;
    display: flex;
    z-index: 3;
}
.block_big-text-image-gallery .gallery-progress .segment {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    flex: 1 1 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.block_big-text-image-gallery .gallery-progress .segment::before {
    content: "";
    position: absolute;
    left: var(--segment-gap);
    right: var(--segment-gap);
    bottom: 50%;
    height: 1.4px; /* 40% thicker than the original 1px track */
    background-color: color-mix(in srgb, var(--gallery-progress, #fff) 40%, transparent);
    transition: background-color .4s ease-in-out;
}
.block_big-text-image-gallery .gallery-progress .segment:hover::before {
    background-color: color-mix(in srgb, var(--gallery-progress, #fff) 70%, transparent);
}
.block_big-text-image-gallery .gallery-progress .segment:focus-visible {
    outline: 1px solid var(--gallery-progress, #fff);
    outline-offset: 2px;
}
.block_big-text-image-gallery .gallery-progress .thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% / var(--count, 1));
    height: 100%;
    transform: translate3d(calc(var(--index, 0) * 100%), 0, 0);
    transition: transform .8s cubic-bezier(.625, .05, 0, 1);
    pointer-events: none;
}
.block_big-text-image-gallery .gallery-progress .thumb::before {
    content: "";
    position: absolute;
    left: var(--segment-gap);
    right: var(--segment-gap);
    bottom: 50%;
    height: 4px;
    background-color: var(--gallery-progress, #fff);
}


@media (min-width: 1020px) {
    picture.has-lqi {
        aspect-ratio: var(--ratio-desktop);
    }
    .block_big-text-image {
        height: 120vh;
        display: grid;
        flex-direction: unset;
    }
    .block_big-text-image .text-wrapper {
        padding: var(--spacing-4xl) var(--spacing-3xl);
        align-self: start;
        grid-row-start: 6;
        grid-column: 8 / 12;
    }
    .block_big-text-image.reverse .text-wrapper {
        grid-column: 2 / 6;
    }
    .block_big-text-image .cta-wrapper {
        margin-top: 32px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 32px;
    }

    .block_big-text-image picture {
        width: unset;
        height: unset;
        grid-row: 1 / 13;
        grid-column: 1 / 8;
    }
    .block_big-text-image.reverse picture {
        grid-column: 6 / 13;
    }
    .block_big-text-image picture img {
        height: calc(100% + 20vh);
    }

    .block_big-text-image {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(12, 1fr);
        column-gap: 0;
    }

    .block_big-text-image picture.has-lqi {
        aspect-ratio: auto;      /* the old --ratio-desktop is no longer set */
        width: 100%;
        height: 100%;
        justify-self: stretch;
        align-self: stretch;
    }

    /* Beat the generic picture.has-lqi img rule */
    .block_big-text-image picture.has-lqi img {
        width: 110%;
        height: calc(100% + 24vh);
        margin-left: -5%;
        max-width: none;
    }

    .block_big-text-image.reverse picture {
        grid-column: 6 / 13;
    }

    .block_big-text-image .video-wrapper {
        height: 100%;
        grid-row: 1 / 13;
        grid-column: 1 / 8;
    }
    .block_big-text-image.reverse .video-wrapper {
        grid-column: 6 / 13;
    }
    .block_big-text-image .video-wrapper video {
        height: calc(100% + 24vh);
    }

    .block_big-text-image-gallery .gallery-wrapper {
        height: 100%;
        grid-row: 1 / 13;
        grid-column: 1 / 8;
    }
    .block_big-text-image-gallery.reverse .gallery-wrapper {
        grid-column: 6 / 13;
    }
    .block_big-text-image-gallery .big-text-gallery .swiper-slide .video-wrapper {
        height: 100%;
    }
    .block_big-text-image-gallery .gallery-progress {
        bottom: 52px;
    }
}


@media(max-width:600px){
    .block_big-text-image .text-wrapper{
        /* padding: var(--spacing-4xl) var(--spacing-7xl); */
        padding-left: var(--spacing-7xl);
        padding-right: var(--spacing-7xl);
    }
}

/****/

/* ---------------------------------------------------------------------------
   Block: Booking mask

   Rendered fixed to the viewport, so the block can sit anywhere in the page
   order. Two states, both driven by a `show` class:

               >=1100px the booking bar, below that a
                                      full-screen popup sliding up from the
                                      bottom edge.
     .block_booking-form-new-only-opener  the rotated tab on the right edge that
                                      reopens the form once the hero scrolls
                                      out of view.
   --------------------------------------------------------------------------- */

/* --- Shell shared by both variants --------------------------------------- */

.block_booking-form-new {
    position: fixed;
    z-index: 3;
    top: 30%;
    right: 0;
    transform: translate3d(70vw, 0, 0);
    transition: transform .6s cubic-bezier(.625, .05, 0, 1);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0px;
}

@media (min-width: 700px) {
    .block_booking-form-new {
        transform: translate3d(40vw, 0, 0);
    }
}

@media (min-width: 1530px) {
    .block_booking-form-new {
        transform: translate3d(30vw, 0, 0);
    }
}

/* --- Opener tab ---------------------------------------------------------- */

.block_booking-form-new.block_booking-form-new-only-opener {
    position: fixed;
    top: 50%;
    bottom: unset;
    right: 0;
    left: unset;
    transform: rotate3d(0, 0, 1, -90deg) translate3d(0, 120px, 0);
    /* transform: rotate3d(0, 0, 1, -90deg) translate3d(0, 65px, 0); */
    transition: all .4s ease-out;
}

.button-reset, .close-modal__button, .booking-mask__close {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: inherit;
    text-transform: inherit;
    cursor: pointer;
}

.block_booking-form-new .booking-mask-opener {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: #dfddd9;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: #63636333 0 2px 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0px;
    will-change: background-color;
    transition: background-color .6s cubic-bezier(.625, .05, 0, 1);
}

@media (min-width: 1530px) {
    .block_booking-form-new .booking-mask-opener {
        width: 48px;
        height: 48px;
    }
}

.block_booking-form-new.block_booking-form-new-only-opener .booking-mask-opener {
    cursor: pointer;
    width: unset;
    height: unset;
    padding: 8px 16px;
    background-color: #dfddd9;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: #63636333 0 2px 8px;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    will-change: background-color;
}

.block_booking-form-new.block_booking-form-new-only-opener .booking-mask-opener span {
    color: #1d2120;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -.38px;
    font-family: var(--font-body);
    font-size: clamp(18px, .1875vw + 17.296875px, 24px);
    font-size: clamp(12px, .1875vw + 11.296875px, 15px);
    line-height: 100%;
    text-transform: uppercase;
    transition: color .6s cubic-bezier(.625, .05, 0, 1);
}

.block_booking-form-new.block_booking-form-new-only-opener .booking-mask-opener svg {
    width: 16px;
    height: 16px;
}

/* --- Panel: full-screen popup (base) ------------------------------------- */

/* Above the fixed .website-header (z-index 10), which would otherwise cover
   the close icon and catch its clicks. */
.block_booking-form-new {
    position: fixed;
    z-index: 11;
    top: 0;
    bottom: unset;
    right: unset;
    left: 0;
    transform: translate3d(0, 100%, 0);
    width: 100%;
    height: 100vh;
    transition: all .4s ease-out;
    visibility: hidden;
}

@supports (transition-behavior: allow-discrete) {
    .block_booking-form-new {
        content-visibility: hidden;
        transition: all .4s ease-out, content-visibility .4s ease-out allow-discrete;
    }
}

.block_booking-form-new.show {
    visibility: visible;
    transform: translateZ(0);
}

@supports (transition-behavior: allow-discrete) {
    .block_booking-form-new.show {
        content-visibility: visible;
        transition: all .4s ease-out;
    }
}

/* The button itself is the 48px hit area, not the icon inside it, so a tap
   anywhere on it closes the popup. */
.block_booking-form-new>.booking-mask__close {
    position: absolute;
    z-index: 2;
    top: 48px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}

.block_booking-form-new>.booking-mask__close svg {
    display: block;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

/* --- Form shell ---------------------------------------------------------- */

.block_booking-form-new .form-booking-mask {
    width: 70vw;
    background-color: #dfddd9;
    box-shadow: #63636333 0 2px;
}

@media (min-width: 700px) {
    .block_booking-form-new .form-booking-mask {
        width: 40vw;
    }
}

@media (min-width: 1530px) {
    .block_booking-form-new .form-booking-mask {
        width: 30vw;
    }
}

.block_booking-form-new .form-booking-mask {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.block_booking-form-new .form-booking-mask .container {
    padding: var(--spacing-l);
}

.block_booking-form-new .form-booking-mask .container {
    width: 100%;
    padding: var(--spacing-8xl);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.block_booking-form-new .form-booking-mask .container>.logo {
    width: 160px;
    height: auto;
    margin-bottom: 32px;
}

.block_booking-form-new .form-booking-mask .container form {
    /* One size for every piece of text in the form: labels, inputs, button. */
    --booking-mask-font-size: clamp(12px, .1875vw + 11.296875px, 15px);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.block_booking-form-new .form-booking-mask .container form {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}


@media(max-width:600px){
    .block_booking-form-new .form-booking-mask .container{
        padding-left: 0;
        padding-right: 0;
    }
}


/* --- Form Logo ------------------------------------ */
.form-booking-mask .header-logo{
    display: none;
}
@media(max-width:600px){
    .form-booking-mask .header-logo{
        display: flex;
    }

}


/* 

.booking-form-popup { display: none; }
.booking-form-popup.show { display: block; }

.booking-cta-wrapper { display: none; }
.booking-cta-wrapper.show { display: block; } */

/* --- Form rows ----------------------------------------------------------- */

.block_booking-form-new .form-booking-mask .container form .form-row {
    position: relative;
}

.block_booking-form-new .form-booking-mask .container form .form-row {
    padding: 4px;
}

/* Children field is kept in the markup but hidden for now. */
.block_booking-form-new .form-booking-mask .container form .form-row.childrens {
    display: none;
}

/* Labels, inputs and the button text share one font, size, line-height and
   letter-spacing so they read as the same text across the bar. */
.block_booking-form-new .form-booking-mask .container form .form-row label,
.block_booking-form-new .form-booking-mask .container form .form-row input,
.block_booking-form-new .form-booking-mask .container form .has-button .cta span {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 400;
    font-size: var(--booking-mask-font-size);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
}

.block_booking-form-new .form-booking-mask .container form .form-row label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translate3d(0, -50%, 0);
    white-space: nowrap;
    background-color: #dfddd9;
}

/* 12px plus the row's 4px padding lines the dates text up with the labels.
   Rows with a label get their left padding from initLeaveSpaceForPlaceholder. */
.block_booking-form-new .form-booking-mask .container form .form-row input {
    padding: var(--spacing-xs) 2px var(--spacing-xs) 12px;
    color: #313534;
}

.block_booking-form-new .form-booking-mask .container form .form-row svg {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translate3d(0, -50%, 0);
}


.block_booking-form-new .form-booking-mask .container form .has-text-input input,
.block_booking-form-new .form-booking-mask .container form .has-dates-input .input {
    width: 100%;
}

/* Guests row: uses .form-row-book to stay clear of the page form styles,
   so it repeats the .form-row base and row rules above. */
.block_booking-form-new .form-booking-mask .container form .form-row-book {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4px;
}

.block_booking-form-new .form-booking-mask .container form .form-row-book label,
.block_booking-form-new .form-booking-mask .container form .form-row-book input {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 400;
    font-size: var(--booking-mask-font-size);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-body);
}

.block_booking-form-new .form-booking-mask .container form .form-row-book label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translate3d(0, -50%, 0);
    white-space: nowrap;
    background-color: #dfddd9;
    color: var(--color-dark-800);
}

.block_booking-form-new .form-booking-mask .container form .form-row-book input {
    width: 100%;
    padding: var(--spacing-xs) 2px var(--spacing-xs) 12px;
    border: 0;
    border-bottom: 1px solid var(--color-dark-500);
    background: none;
    color: #313534;
    outline-color: transparent;
    transition: all var(--dur-fast) ease-in-out;
}

.block_booking-form-new .form-booking-mask .container form .form-row-book input::placeholder {
    color: var(--color-dark-500);
}

.block_booking-form-new .form-booking-mask .container form .form-row-book input:focus-visible {
    outline-color: var(--color-dark-500);
}

.block_booking-form-new .form-booking-mask .container form .form-row-book svg {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translate3d(0, -50%, 0);
}

/* --- 1100px and up: the panel becomes the booking bar -------------------- */

@media (min-width: 1100px) {
    .block_booking-form-new {
        --booking-mask-indicator-bottom: 24px;
        --booking-mask-indicator-height: 48px;
        z-index: 3;
        top: unset;
        bottom: max(10vh, var(--booking-mask-indicator-bottom) + var(--booking-mask-indicator-height) + var(--spacing-2xl));
        right: unset;
        left: 50%;
        width: unset;
        height: unset;
        transform: translate3d(-50%, -10%, 0);
        filter: blur(4px);
        opacity: 0;
    }

    .block_booking-form-new.show {
        filter: blur(0);
        opacity: 1;
        transform: translate3d(-50%, 0, 0);
    }

    .block_booking-form-new>.booking-mask__close {
        display: none;
    }

    .block_booking-form-new .form-booking-mask {
        /* 1280px by design, capped so the bar still fits a ~1100px viewport. */
        width: min(1280px, calc(100vw - var(--spacing-l) * 2));
        height: unset;
        display: block;
    }

    .block_booking-form-new .form-booking-mask .container {
        padding: var(--spacing-s) var(--spacing-l);
        display: block;
    }

    .block_booking-form-new .form-booking-mask .container>.logo {
        display: none;
    }

    .block_booking-form-new .form-booking-mask .container form {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .block_booking-form-new .form-booking-mask .container form .has-dates-input .input {
        width: 260px;
    }

    .block_booking-form-new .form-booking-mask .container form .has-button {
        margin: 0;
    }

    /* The global .form-row is width: 100%, so this row takes an equal share
       of the bar. Fill it instead of leaving a gap after the max-content button. */
    .block_booking-form-new .form-booking-mask .container form .has-button .cta {
        width: 100%;
    }
}

@media (min-width: 1530px) {
    .block_booking-form-new {
        --booking-mask-indicator-bottom: 40px;
    }
}



.block_booking-form-new.block_booking-form-new-only-opener.show {
    transform: rotate3d(0, 0, 1, -90deg) translate3d(0, 60px, 0);
}


@media(max-width:600px){
    
    .block_booking-form-new.block_booking-form-new-only-opener.show {
        transform: rotate3d(0, 0, 1, -90deg) translate3d(0, 50px, 0);
    }

}


/* --- Datepicker ------------------------------------------------------------
   initDatePicker sets the calendar to the field's width, but flatpickr keeps
   its day grid at a fixed 307.875px, so a narrower field cuts off the last
   column. Let the inner containers follow the calendar's width instead. */
.flatpickr-calendar .flatpickr-innerContainer,
.flatpickr-calendar .flatpickr-rContainer,
.flatpickr-calendar .flatpickr-days {
    display: block;
    width: 100% !important;
}

.flatpickr-calendar .dayContainer {
    width: 100%;
    min-width: 0;
    max-width: none;
}
