.hero-section {
    transition: var(--transition);
}

.hero-section>.video-container {
    transition: var(--transition);
    transition-duration: 500ms;
    z-index: 99;
}

.hero-section>.video-container:not(.video-ran-once) {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    /* pointer-events: none; */
}

.hero-section>.video-container:not(.video-ran-once) video {
    /* pointer-events: none; */
}

.hero-section>.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}


.hero-section>.video-container.video-ran-once {
    position: fixed;
    border-radius: var(--border-radius-default);
    overflow: hidden;
    left: var(--grid-container-padding-x);
    bottom: var(--unit-16);
    cursor: pointer;
}

.hero-section>.video-container button.sound,
.hero-section>.video-container button.full-screen
{
    width: var(--unit-32);
    height: var(--unit-32);
}

.hero-section>.video-container button {
    border: 0px;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}


.hero-section>.video-container button.play {
    position: absolute;
    left: 50%;
    top: 50%;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.hero-section>.video-container button svg {
    width: 100%;
    height: 100%;
}

.hero-section>.video-container button.play svg {
    fill: var(--color-white);
    opacity: .8;
    transition: var(--transition);
}

.hero-section>.video-container.video-ran-once button.play {
    opacity: 1;
}

.slide {
    box-shadow: var(--box-shadow);
    padding: var(--unit-28) var(--unit-16);
    border-radius: var(--border-radius-default);
}

.slide__svg {
    width: auto;
    height: var(--unit-60);
    max-height: 100%;
}

.slide__svg svg {
    width: 100%;
    height: 100%;
}

.slide__name {
    min-height: 74px;
    font-size: 2rem;
    font-weight: var(--font-bold);
    line-height: normal;
}

.modal-share svg {
    width: 2.5rem;
    height: auto;
    transition: var(--transition);
}

.video-actions {
    position: absolute;
    right: var(--unit-16);
    bottom: var(--unit-16);
}

.hero-section>.video-container.video-ran-once button:not(.play) {
    display: none;
}

.modal--video {
    background-color: rgba(0, 0, 0, .8);
}

.video-container:not(.sound) button.sound svg path:nth-child(1),
.video-container:not(.sound) button.sound svg path:nth-child(2) {
    display: none;
}

#modal video {
    height: auto !important;
    width: 100% !important;
}

@media (min-width: 64rem) {
    body:not([data-scroll-y-dir-thresholed]) .top-bar {
        background-color: rgba(255, 255, 255, .7);
    }

    .video--mobile {
        display: none;
    }

    .cta--scroll {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    #modal video {
        max-width: 70vw;
    }

    .modal--share .modal__content {
        padding: 2rem;
    }

    .modal--video .modal__content {
        max-height: 85vh;
    }

    .hero-section>.video-container:hover button.play svg {
        opacity: 1;
    }

    .hero-section>.video-container button.play {
        width: 3rem;
    }

    .hero-section>.video-container.video-ran-once {
        width: 300px;
    }

    .hero-section {
        aspect-ratio: 16 / 9;
        height: auto !important;
        max-height: 100vh;
        min-width: 100%;
    }

    .hero-section>img {
        object-fit: contain;
    }

    .columns {
        column-count: 2;
        column-gap: 1.875rem;
    }
}

@media (max-width: 63.9375rem) {
    .hero-section>.video-container:not(.video-ran-once) video {
        pointer-events: none;
    }

    .video--desktop {
        display: none;
    }

    .hero-section>.video-container.video-ran-once .video--desktop,
    #modal .video--desktop {
        display: block;
    }

    .hero-section>.video-container.video-ran-once .video--mobile {
        display: none;
    }

    .cta--scroll {
        position: absolute;
        bottom: var(--unit-16);
        right: var(--grid-container-padding-x);
        padding: var(--unit-16);
        min-width: 40vw;
    }

    .modal--share .modal__content {
        padding: var(--unit-16) 0;
    }

    .hero-section>.video-container button.play {
        width: var(--unit-32);
    }

    .hero-section>.video-container.video-ran-once {
        width: 40vw;
        position: absolute;
    }

    .hero-section {
        height: calc(var(--screen-height, 100vh) - var(--top-bar-height, var(--top-bar-fallback))) !important;
        padding-bottom: unset;
    }

    .hero-section>img {
        object-position: top;
    }
}