.rive-hero {
    height: 70vh;
    width: 100%;
    width: 100dvw;
    display: flex;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    align-items: center;
    justify-content: center;
}

#rivecanvas {
    position: relative;


    width: auto;
    height: 200%;
}


.rive-hero-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 40px);
    align-items: flex-start;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
    position: absolute;
    text-align: center;
    z-index: 1;
    height: 100%;
}

@media screen and (min-width: 768px) { 
    .rive-hero { 
        height: 100vh;
    }
    .rive-hero-content {
        padding: clamp(30px, 5vw, 80px) clamp(25px, 8vw, 100px);
    }
}

.elementor-element[data-element_type="container"]:has(.elementor-widget-jxl-rive-hero) {
    padding-top: 0 !important;
}