html {
    --wordpress-admin-bar-height: 0px;
    font-family: Helvetica, sans-serif;

}

body.admin-bar {
    --wordpress-admin-bar-height: 46px;
    --wordpress-100h: calc(100% - var(--wordpress-admin-bar-height));
    @media screen and (min-width: 783px) {
        --wordpress-admin-bar-height: 32px;
    }
}

/* ==========================================================================
   Homepage Hero
   ========================================================================== */

.home-hero {
    background-color: black;
    position: relative;
    z-index: 2;
    min-height: calc(90dvh - var(--wordpress-admin-bar-height));

    /*Sit behind header*/
    margin-top: -114px;

    margin-bottom:2rem;

    iframe {
        border: none;
    }
}

.home-hero__media {
    inset: 0;
    object-fit: cover;
    width: 100%;
    height:  calc(100dvh - var(--wordpress-admin-bar-height));
    position: sticky;

    top: calc(var(--wordpress-admin-bar-height));
    overflow: hidden;

    clip-path: inset(0 0 0 0); /*acts like overflow hidden but handles fixed*/

    &:after {
        position: absolute;
        inset: 0;

        background: linear-gradient(294deg, rgba(0, 0, 0, 0.08) 55.12%, rgba(0, 0, 0, 0.40) 92.86%);
        display: block;
        content: " ";
    }
}
.home-hero__image {
    height: 100%;
    width: 100%;
}
.home-hero__image, .home-hero__video {
    inset: 0;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
    display: block;
    top: 0;
    position: absolute;

    iframe {
        aspect-ratio: 16/ 9 ;
        min-width: 100%;
        min-height: 100%;
        position: absolute;
        left: 50%;
        top: 50%;
        translate: -50% -50%;
        max-width: unset !important;
        width: auto;
        height: auto;
    }
}

@media screen and (min-aspect-ratio: 16/9) {
    .home-hero__video iframe {
        min-height: 56.25vw;
    }
}

.home-hero__image--desktop {
    display: none;
}

.home-hero__content {
    padding-block: clamp(4rem, 6vw, 112px);
    padding-inline: 2rem;
    text-align:center;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    color: #fff;

    .btn {
        background-color: transparent;
        border-color: #fff;
        color: #fff;
        transition: background-color .2s;
    }
}

@media screen and (min-aspect-ratio: 1) {
    .home-hero__image--desktop {
        display: block;
    }
}

body.home:has(.home-hero) .header:not(.is-scrolled) {
    .header__logo {
        color: white;
    }

    .btn--outline, .button--outline {
        border-color: white;
        color: white;
        border: 1px solid white;
    }
    .header__hamburger:before,
    .header__hamburger:after {
        background-color: white;
    }
}