.block_hero-video {
    width: 100%;
    height: 100svh;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    gap: 0px;
}
.block_hero-video {
    min-height: 100svh;
}
.block_hero-video.isHome {
    position: sticky;
    top: 0px;
    z-index: 0;
    padding: 0px !important;
}
.block_hero-video .main-media-wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.block_hero-video .main-media-wrapper::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    will-change: opacity;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    transition: opacity 0.8s ease-in-out;
}
.block_hero-video .main-media-wrapper.hide-layer::before {
    opacity: 0;
}

picture {
    display: block;
    user-select: none;
}
picture.has-lqi {
    display: block;
    position: relative;
    background-color: #eeeeee;
    background-size: 100% auto;
    background-repeat: no-repeat;
    aspect-ratio: var(--ratio-mobile);
    overflow: hidden;
    background-position: center center;
}

@media (min-width: 1020px) {
    picture.has-lqi {
        aspect-ratio: var(--ratio-desktop);
    }
}
picture.has-lqi.removebg {
    background-image: none !important;
}

.block_hero-video .main-media-wrapper picture {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}




.block_hero-video .container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
}
.block_hero-video .container {
    padding-bottom: calc(var(--hero-bottom-safe, 0px) + env(safe-area-inset-bottom));
}
.block_hero-video .text-wrapper {
    transform-origin: center bottom;
    will-change: transform;
}
.block_hero-video .container .text-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
}
.block_hero-video.isHome .text-wrapper-home-new {
    transition: 1s ease-in-out;
}

.block_hero-base.is-hero .container .text-wrapper, 
.block_hero-simple.is-hero .container .text-wrapper, 
.block_hero-text.is-hero .container .text-wrapper, 
.block_hero-video.is-hero .container .text-wrapper {
    opacity: 0;
    transition: 0.8s cubic-bezier(0.625, 0.05, 0, 1);
}
.block_hero-video.isBooking .container .text-wrapper {
    transform: none !important;
}

.block_hero-video .scroll-down_icon-wrapper {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 50%;
    transform: translate3d(-50%, 0px, 0px);
}
.block_hero-video .scroll-down_icon-wrapper .line {
    background-color: var(--color-neutral-10);
    width: 2px;
    height: 48px;
    transform-origin: center top;
    animation: 3.5s cubic-bezier(0.625, 0.05, 0, 1) 0s infinite normal none running grow-line;
}
.block_hero-video .container .text-wrapper .hero-title {
    width: 100%;
    text-align: center;
    text-wrap: pretty;
    color: #e8e6e3;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -3%;
    text-transform: uppercase;
    font-family: var(--font-display);
    font-size: clamp(72px, 5.833vw + 50px, 200px);
    font-size: clamp(60px, 3.75vw + 45.625px, 150px);
}
.block_hero-video .container .text-wrapper .hero-pretitle,
.block_hero-video .container .text-wrapper .hero-text {
    width: 100%;
    text-align: center;
    color: rgb(241, 240, 239);
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    font-variant-numeric: lining-nums tabular-nums;
    font-family: var(--font-cond-bold);
    font-size: clamp(16px, 15.7656px + 0.0625vw, 21px);
}
.block_hero-video .container .text-wrapper .hero-text {
    text-transform: none;
    max-width: 520px;
    font-family: var(--font-cond);
    line-height: 140%;
}


/* ==========================================================================
   Video lightbox
   ========================================================================== */
.video-lightbox {
    --lb-max-width: 880px;   /* <- change this to make the player bigger / smaller */
    --lb-max-height: 80vh;

    z-index: 300;
    pointer-events: none;
    justify-content: center;
    align-items: center;
    padding: 24px;
    display: flex;
    position: fixed;
    inset: 0;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0%, 100% 0, 0 0);
    transition: clip-path .6s cubic-bezier(.625, .05, 0, 1);
}
.video-lightbox[data-video-activated="true"] {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}

/* Backdrop: semi-transparent like Vimeo, instead of solid */
.video-lightbox__bg {
    pointer-events: auto;
    background-color: rgba(10, 10, 10, 0.85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Player: sized by width + the video's real ratio (set by JS via --video-ratio) */
.video-lightbox__player {
    pointer-events: auto;
    color: rgb(239, 238, 236);
    isolation: isolate;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);

    aspect-ratio: var(--video-ratio, 16 / 9);
    /* never wider than the max width, 100% of the screen, or taller than max height */
    width: min(var(--lb-max-width), 100%, calc(var(--lb-max-height) * var(--video-ratio, 1.7778)));

    transform: translate3d(0, -140%, 0);
    transition: transform 0.6s ease-in-out 0.3s;
}
.video-lightbox[data-video-activated="true"] .video-lightbox__player {
    transform: translateZ(0);
}

.video-lightbox__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Fullscreen: fill the screen */
.video-lightbox__player:fullscreen {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
}
.video-lightbox__player:-webkit-full-screen {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
}

/* Dark overlay: only visible while paused */
.video-lightbox__dark {
    position: absolute;
    inset: 0;
    background-color: #131313;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s linear;
}
.video-lightbox[data-video-playing="false"] .video-lightbox__dark {
    opacity: 0.35;
}

/* Play / pause overlays */
.video-lightbox__play,
.video-lightbox__pause {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.video-lightbox__btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.5em;
    height: 4.5em;
    border-radius: 50%;
    background-color: rgba(100, 100, 100, 0.25);
    -webkit-backdrop-filter: blur(1em);
    backdrop-filter: blur(1em);
    transition: opacity 0.3s linear;
}
.video-lightbox__btn svg {
    width: 55%;
    height: auto;
}

/* Only ONE of them exists at a time */
.video-lightbox__pause { display: none; }
.video-lightbox[data-video-playing="true"] .video-lightbox__pause { display: flex; }
.video-lightbox[data-video-playing="true"] .video-lightbox__play  { display: none; }

/* Pause button: hidden while playing, shown when the user moves/taps */
.video-lightbox__pause .video-lightbox__btn { opacity: 0; }
.video-lightbox[data-video-activated="true"][data-video-hover="true"] .video-lightbox__pause .video-lightbox__btn {
    opacity: 1;
}

/* Controls bar */
.video-lightbox__interface {
    position: absolute;
    inset: 0;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    align-items: stretch;
    pointer-events: none;
    opacity: 0;
    padding: min(1.25em, 3vw);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 30%);
    transition: opacity 0.3s linear;
}
.video-lightbox[data-video-activated="true"][data-video-playing="false"] .video-lightbox__interface,
.video-lightbox[data-video-activated="true"][data-video-hover="true"] .video-lightbox__interface {
    opacity: 1;
}
.video-lightbox[data-video-activated="true"][data-video-playing="false"] .video-lightbox__interface-bottom,
.video-lightbox[data-video-activated="true"][data-video-hover="true"] .video-lightbox__interface-bottom {
    pointer-events: auto;
}

.video-lightbox__interface-bottom {
    display: flex;
    align-items: center;
    gap: 1em;
}
.video-lightbox__duration {
    min-width: 2.8em;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.video-lightbox__timeline {
    position: relative;
    flex: 1;
    height: 1.5em;
    display: flex;
    align-items: center;
}
.video-lightbox__timeline-progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    border: 0;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.video-lightbox__timeline-progress::-webkit-progress-bar   { background: rgba(255, 255, 255, 0.3); }
.video-lightbox__timeline-progress::-webkit-progress-value { background: #fff; }
.video-lightbox__timeline-progress::-moz-progress-bar      { background: #fff; }

.video-lightbox__timeline-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;           /* invisible, but handles seeking */
    cursor: pointer;
}

.video-lightbox__mute,
.video-lightbox__fullscreen {
    width: 1.5em;
    height: 1.5em;
    flex: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-lightbox__mute svg,
.video-lightbox__fullscreen svg {
    width: 100%;
    height: 100%;
}

/* Icon states */
.video-lightbox__volume-mute-svg,
.video-lightbox__fullscreen-shrink-svg { display: none; }
.video-lightbox[data-video-muted="true"] .video-lightbox__volume-up-svg   { display: none; }
.video-lightbox[data-video-muted="true"] .video-lightbox__volume-mute-svg  { display: block; }
.video-lightbox[data-video-fullscreen="true"] .video-lightbox__fullscreen-scale-svg  { display: none; }
.video-lightbox[data-video-fullscreen="true"] .video-lightbox__fullscreen-shrink-svg { display: block; }

/* Loading spinner */
.video-lightbox__loading {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4em;
    height: 4em;
    margin: auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s linear;
}
.video-lightbox[data-video-loading="true"] .video-lightbox__loading { opacity: 1; }

/* Close button: top-right of the screen */
.video-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #fff;
    pointer-events: auto;
}

@media (min-width: 1530px) {
    .block_hero-video .scroll-down_icon-wrapper {
        bottom: 40px;
    }
}

.block_hero-video .video_audio-manager {
    position: absolute;
    isolation: isolate;
    min-width: 100px;
    height: 30px;
    cursor: pointer;
    z-index: 16;
    bottom: 2em;
    right: 1em;
    padding: 6px;
    border-radius: 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.block_hero-video .video_audio-manager .audio-indicator {
    position: absolute;
    top: 50%;
    left: 0px;
    opacity: 0;
    color: var(--color-neutral-20);
    transform: translate3d(8px, -50%, 0px);
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 1.7px;
    font-variant-numeric: lining-nums tabular-nums;
    font-family: var(--font-cond-bold);
    font-size: clamp(12px, 11.2969px + 0.1875vw, 15px);
    text-transform: uppercase;
    transition: 0.4s ease-in-out;
}


.block_hero-video .video_audio-manager.has-audio-off .audio-indicator.audio-off {
    opacity: 1;
}

.block_hero-video .video_audio-manager svg {
    position: absolute;
    top: 50%;
    right: 0px;
    opacity: 0;
    transform: translate3d(0px, -50%, 0px);
    transition: 0.4s ease-in-out;
}

.block_hero-video .video_audio-manager.has-audio-off svg.svg_audio-on {
    opacity: 0;
}
.block_hero-video .video_audio-manager.has-audio-off svg.svg_audio-off {
    opacity: 1;
}
.block_hero-video .video_audio-manager.has-audio-on .audio-indicator.audio-on,
.block_hero-video .video_audio-manager.has-audio-on svg.svg_audio-on {
    opacity: 1;
}

.block_hero-video.isHome .layer-home {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    top: 0px;
    left: 0px;
    z-index: 15;
    opacity: 0;
    will-change: opacity;
}

.block_hero-video .container .cta-wrapper {
    width: max-content;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}


@media (min-width: 1020px) {
    .block_hero-video .video_audio-manager .audio-indicator {
        transform: translate3d(4px, -50%, 0px);
    }

    .block_hero-video .video_audio-manager {
        min-width: 120px;
        right: 3em;
        bottom: 4em;
        background: transparent;
        box-shadow: 0 0 var(--color-white);
        -webkit-backdrop-filter: blur(0px);
        backdrop-filter: blur(0px);
        transition: all .6s cubic-bezier(.625, .05, 0, 1);
    }
    .block_hero-video .video_audio-manager {
        padding: 8px 12px;
    }
    .block_hero-video .video_audio-manager svg {
        width: 16px;
        height: 16px;
        transform: translate3d(-4px, -50%, 0px);
    }

    .block_hero-video .video_audio-manager:hover {
        background: linear-gradient(0deg, #ffffff17, #ffffff17), linear-gradient(0deg, #fff0, #fff0 30%, #fff0 70%, #e0edff0a), linear-gradient(317deg, #fff0 17.24%, #fff0 58.62%, #d9ebff0d 86.21%), radial-gradient(38.46% 38.46% at 11.54% 19.23%, #ffebff05, #e5fff003 70%, #f0f0ff00);
        box-shadow: 0 0 46px #fff0;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
    .block_hero-video .container .text-wrapper .hero-title {
        font-size: clamp(72px, 5.833vw + 50px, 200px);
    }
    .block_hero-video .container .cta-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 40px;
    }
}
