/* Priority: 84 */

.aurica-video-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    background: #000;
}

.aurica-video-hero > .vc_column_container,
.aurica-video-hero > .vc_column_container > .vc_column-inner,
.aurica-video-hero > .vc_column_container > .vc_column-inner > .wpb_wrapper {
    position: relative;
}

.aurica-video-hero .xleb-clip-wrapper {
    width: 100vw;
    background: #000;
    transform: translate3d(0, var(--aurica-video-hero-media-shift, 0px), 0);
    transform-origin: center top;
    will-change: transform;
}

.aurica-video-hero .xleb-clip,
.aurica-video-hero .xleb-link,
.aurica-video-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aurica-video-hero .video-play-button {
    display: none;
}

.aurica-video-hero video::-webkit-media-controls,
.aurica-video-hero video::-webkit-media-controls-panel,
.aurica-video-hero video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.aurica-video-hero__title {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: min(560px, calc(100vw - 40px));
    color: #fff;
    text-align: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
    bottom: 25%;
}

.aurica-video-hero__title h1,
.aurica-video-hero__title h2,
.aurica-video-hero__title p {
    color: inherit;
}

.aurica-video-hero__title em {
    color: inherit;
    font-style: italic;
}

body.home {
    --aurica-video-hero-height: calc(100vw * 9 / 16);
    --aurica-video-hero-overlap: var(--aurica-video-hero-height);
    --aurica-video-hero-media-extra: clamp(90px, 18vw, 240px);
    --aurica-video-hero-media-shift: 0px;
}

body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) {
        position: relative;
        z-index: 0;
        width: 100vw;
        max-width: none;
        min-height: calc(var(--aurica-video-hero-height) + var(--aurica-video-hero-overlap));
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        align-items: start;
        overflow: visible;
}

@supports ((animation-timeline: scroll()) and (view-timeline-name: --aurica-video-hero-scene)) {
    body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene,
    body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) {
        view-timeline-name: --aurica-video-hero-scene;
        view-timeline-axis: block;
    }

    body.home .aurica-video-hero .xleb-clip-wrapper {
        transform: translate3d(0, 0, 0);
        animation: aurica-video-hero-css-parallax linear both;
        animation-timeline: --aurica-video-hero-scene;
        animation-range: cover 0% cover 100%;
    }

    body.home:not(.xleb-mobile-menu-open) header:not(:has(.desktop-menu.open)):not(:has(.mobile-burger.opened)) {
        animation: aurica-video-hero-header-css-state linear both;
        animation-timeline: scroll(root block);
        animation-range: 0 var(--aurica-video-hero-height);
    }
}

@keyframes aurica-video-hero-css-parallax {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, calc(-1 * var(--aurica-video-hero-media-extra)), 0);
    }
}

@keyframes aurica-video-hero-header-css-state {
    0%,
    98% {
        --aurica-header-current-color: var(--white);
        --aurica-header-active-count-color: var(--primary500);
        background: transparent;
    }

    100% {
        --aurica-header-current-color: var(--primary500);
        --aurica-header-active-count-color: var(--white);
        background: #fffbf6;
    }
}

body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene > .vc_column_container,
body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene > .vc_column_container > .vc_column-inner,
body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene > .vc_column_container > .vc_column-inner > .wpb_wrapper,
body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene .vc_section,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) > .vc_column_container,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) > .vc_column_container > .vc_column-inner,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) > .vc_column_container > .vc_column-inner > .wpb_wrapper,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) .vc_section {
        position: sticky;
        top: 0;
        width: 100vw;
        max-width: none;
        height: var(--aurica-video-hero-height);
        overflow: hidden;
}

body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene > .vc_column_container,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) > .vc_column_container {
    grid-column: 1 / -1 !important;
}

body.home .aurica-video-hero {
        aspect-ratio: 16 / 9;
        height: var(--aurica-video-hero-height) !important;
        min-height: 0;
}

body.home .aurica-video-hero .xleb-clip-wrapper,
body.home .aurica-video-hero .xleb-clip,
body.home .aurica-video-hero video {
        aspect-ratio: 16 / 9;
        min-height: 0;
}

body.home .aurica-video-hero .xleb-clip-wrapper {
        height: calc(var(--aurica-video-hero-height) + var(--aurica-video-hero-media-extra));
}

body.home .aurica-video-hero .xleb-clip,
body.home .aurica-video-hero video {
        height: 100%;
}

body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene ~ .vc_row,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) ~ .vc_row {
        position: relative;
        z-index: 2;
        background: #fffbf6;
        box-shadow: 0 0 0 100vmax #fffbf6;
        clip-path: inset(0 -100vmax);
}

body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene ~ .vc_row::before,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) ~ .vc_row::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: -2px;
        left: calc(50% - 50vw);
        width: 100vw;
        height: calc(100% + 4px);
        background: #fffbf6;
        pointer-events: none;
}

body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene + .vc_row,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) + .vc_row {
    margin-top: calc(-1 * var(--aurica-video-hero-overlap)) !important;
}

body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene ~ .vc_row + .vc_row,
body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) ~ .vc_row + .vc_row {
    margin-top: -2px !important;
    padding-top: 3px;
}

@media (max-width: 767px) {
    body.home {
        --aurica-video-hero-height: calc(100vw * 16 / 9);
        --aurica-video-hero-media-extra: clamp(96px, 30vw, 180px);
    }

    body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene > .vc_column_container,
    body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene > .vc_column_container > .vc_column-inner,
    body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene > .vc_column_container > .vc_column-inner > .wpb_wrapper,
    body.home .wpb-content-wrapper > .vc_row.aurica-video-hero-scene .vc_section,
    body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) > .vc_column_container,
    body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) > .vc_column_container > .vc_column-inner,
    body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) > .vc_column_container > .vc_column-inner > .wpb_wrapper,
    body.home .wpb-content-wrapper > .vc_row:has(.aurica-video-hero) .vc_section {
        position: relative;
        top: auto;
        left: auto;
        z-index: auto;
        width: 100vw;
        max-width: none;
        height: var(--aurica-video-hero-height);
        overflow: visible;
    }

    body.home .aurica-video-hero-fixed-layer,
    body.aurica-collection-video-hero-page .aurica-video-hero-fixed-layer {
        position: fixed;
        z-index: 0;
        top: 0;
        left: 0;
        width: 100vw;
        max-width: none;
        height: var(--aurica-video-hero-height);
        overflow: hidden;
        pointer-events: none;
    }

    body.home .aurica-video-hero-fixed-layer.is-hidden,
    body.aurica-collection-video-hero-page .aurica-video-hero-fixed-layer.is-hidden {
        opacity: 0;
        visibility: hidden;
    }

    body.home .aurica-video-hero-fixed-layer .aurica-video-hero,
    body.aurica-collection-video-hero-page .aurica-video-hero-fixed-layer .aurica-video-hero {
        left: 0 !important;
        right: auto !important;
        width: 100vw !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.aurica-collection-video-hero-page .aurica-video-hero-fixed-layer .aurica-video-hero,
    body.aurica-collection-video-hero-page .aurica-video-hero-fixed-layer .xleb-clip-wrapper,
    body.aurica-collection-video-hero-page .aurica-video-hero-fixed-layer .xleb-clip,
    body.aurica-collection-video-hero-page .aurica-video-hero-fixed-layer video {
        width: 100vw !important;
        height: var(--aurica-video-hero-height) !important;
        min-height: 0;
        aspect-ratio: 9 / 16;
    }

    body.home .aurica-video-hero,
    body.home .aurica-video-hero .xleb-clip-wrapper,
    body.home .aurica-video-hero .xleb-clip,
    body.home .aurica-video-hero video {
        aspect-ratio: 9 / 16;
    }

    body.home .aurica-video-hero .xleb-clip-wrapper {
        height: calc(var(--aurica-video-hero-height) + var(--aurica-video-hero-media-extra));
        animation: none;
        transform: translate3d(0, var(--aurica-video-hero-media-shift, 0px), 0);
        will-change: transform;
    }

    .aurica-video-hero > .vc_column_container {
        position: static;
    }

    .aurica-video-hero__title {
        width: min(360px, calc(100vw - 32px));
        bottom: unset;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aurica-video-hero .xleb-clip-wrapper {
        animation: none !important;
        transform: none;
        will-change: auto;
    }
}

/* Collection pages use the same scene contract as the homepage, but keep the
 * video and following content explicitly separated in the PHP template. */
body.aurica-collection-video-hero-page {
    --aurica-video-hero-height: calc(100vw * 9 / 16);
    --aurica-video-hero-overlap: clamp(220px, 32vw, 520px);
    /* Match the homepage: the scene lasts for two hero heights, while
     * content starts one hero height below the top and travels over it. */
    --aurica-collection-hero-content-cover: calc(var(--aurica-video-hero-height) - var(--aurica-video-hero-overlap));
    --aurica-video-hero-media-extra: clamp(90px, 18vw, 240px);
    --aurica-video-hero-media-shift: 0px;
    background: #fffbf6;
}

@media (min-width: 768px) {
    body.aurica-collection-video-hero-page .aurica-collection-hero-scene {
        position: relative;
        z-index: 0;
        width: 100vw !important;
        max-width: none !important;
        height: calc(var(--aurica-video-hero-height) * 2);
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
        overflow: visible;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-scene > .vc_section {
        position: sticky;
        top: 0;
        width: 100vw !important;
        max-width: none !important;
        height: var(--aurica-video-hero-height);
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
        overflow: hidden;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-scene .aurica-video-hero {
        height: var(--aurica-video-hero-height);
        min-height: 0;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-scene .xleb-clip,
    body.aurica-collection-video-hero-page .aurica-collection-hero-scene video {
        top: 0 !important;
        height: 100% !important;
        transform: translateX(-50%) !important;
        min-height: 0;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-scene .xleb-clip-wrapper {
        height: calc(var(--aurica-video-hero-height) + var(--aurica-video-hero-media-extra));
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-content {
        position: relative;
        z-index: 2;
        /* width: 100vw !important;
        max-width: none !important; */
        margin-top: calc(-1 * (var(--aurica-video-hero-overlap) + var(--aurica-collection-hero-content-cover)));
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
        background: #fffbf6;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-content::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: -2px;
        left: calc(50% - 50vw);
        width: 100vw;
        height: calc(100% + 4px);
        background: #fffbf6;
        pointer-events: none;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-content > * {
        position: relative;
        z-index: 1;
        width: min(1704px, 100%);
        max-width: 100%;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero .aurica-video-hero {
        margin-top: calc(-1 * var(--header-height, 0px));
    }
}

@media (max-width: 767px) {
    body.aurica-collection-video-hero-page {
        --aurica-video-hero-height: calc(100vw * 16 / 9);
        --aurica-video-hero-overlap: clamp(88px, 24vw, 150px);
        --aurica-collection-hero-content-cover: calc(var(--aurica-video-hero-height) - var(--aurica-video-hero-overlap));
        --aurica-video-hero-media-extra: clamp(72px, 22vw, 120px);
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-scene > .vc_section,
    body.aurica-collection-video-hero-page .aurica-collection-hero-scene .aurica-video-hero,
    body.aurica-collection-video-hero-page .aurica-collection-hero-scene .xleb-clip-wrapper,
    body.aurica-collection-video-hero-page .aurica-collection-hero-scene .xleb-clip,
    body.aurica-collection-video-hero-page .aurica-collection-hero-scene video {
        height: var(--aurica-video-hero-height);
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-scene {
        position: relative;
        z-index: 0;
        height: calc(var(--aurica-video-hero-height) * 2);
        width: 100vw !important;
        max-width: none !important;
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
        overflow: visible;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-scene > .vc_section {
        position: sticky;
        top: 0;
        overflow: hidden;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-content {
        position: relative;
        z-index: 2;
        /* width: 100vw !important;
        max-width: none !important; */
        margin-top: calc(-1 * (var(--aurica-video-hero-overlap) + var(--aurica-collection-hero-content-cover)));
        margin-right: calc(50% - 50vw) !important;
        margin-left: calc(50% - 50vw) !important;
        background: #fffbf6;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-content::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: -2px;
        left: calc(50% - 50vw);
        width: 100vw;
        height: calc(100% + 4px);
        background: #fffbf6;
        pointer-events: none;
    }

    body.aurica-collection-video-hero-page .aurica-collection-hero-content > * {
        position: relative;
        z-index: 1;
        width: min(1704px, 100%);
        max-width: 100%;
        margin-right: auto !important;
        margin-left: auto !important;
    }
}
