/*
 * The rounded video hero box shared by Home (rm/home-hero) and Product (rm/product-hero with a
 * video): box, media layer and cover video. Loaded before home.css and product.css (by name), which add
 * what differs: Home's 60% black layer, Product's poster background and phone sizes.
 */

.rm-hero-box {
    --rm-hero-box-gradient: linear-gradient(90deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .15) 70%, rgba(0, 0, 0, 0) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 560px;
    padding: 36px;
    border-radius: 40px;
}

.rm-hero-box__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rm-hero-box__video {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .rm-hero-box__media {
        display: none;
    }
}
