.elementor-widget-custom-hero-video {
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
}
.custom-hero-video {
    position: relative;

    z-index: 1;
    /* background: linear-gradient(0deg,rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.5) 80%); */
    display: flex;

}
.custom-hero-video-content {
    
    padding: 0 var(--padding-side) clamp(40px, 8vw, 100px) var(--padding-side);
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    /*
    margin: -30vh auto 0 0;
    */
    justify-content: flex-end;
    position: sticky;

    z-index: 10;
    top: 0;
    opacity: 1;
    transition: opacity 1s;
    margin-top: auto;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(0deg,rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);*/
}
.custom-hero-video .heading,
.custom-hero-video, 
.custom-hero-video a.button {
    color: var(--theme-background-color);
}
.custom-hero-video a.button {
    border-color: var(--theme-background-color);

}


.custom-hero-video-media {
    position: fixed;
    width: 100%;

    top: 0;
    left: 0;

    overflow: hidden;


    transition: opacity 2s;
    background: #000;
}
.custom-hero-video-media video {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    object-fit: cover;
    object-position: center center;
}
.custom-hero-video-icon {
    max-width: 300px !important;

}
.custom-hero-video-icon > * {
    width: 100%;
    height: auto;
}

@media screen and (min-width: 768px) { 
    .custom-hero-video-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

}

.elementor-element[data-element_type="container"]:has(.elementor-widget-custom-hero-video),
.elementor-element[data-element_type="container"] > .e-con-inner:has(.elementor-widget-custom-hero-video){
    padding: 0;
    max-width: 100%;
    width: 100%;
    color: #fff;
}


