.vm-home-hero {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #222216;
}
.vm-home-hero .vm-home-hero-video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}
.vm-home-hero-controls:not([hidden]) {
    position: absolute;
    top: max(.5rem, env(safe-area-inset-top));
    right: max(.5rem, env(safe-area-inset-right));
    display: flex;
    gap: 4px;
}
.vm-home-hero-controls button:not([hidden]) {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
}
.vm-home-hero-controls button::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    border: 1px solid rgb(255 255 255 / 60%);
    background: rgb(34 34 22 / 88%);
    content: "";
}
.vm-home-hero-controls button:hover::after {
    background: #222216;
}
.vm-home-hero-controls button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}
.vm-home-hero-controls svg {
    display: block;
    width: 20px;
    height: 20px;
}
.vm-home-hero-play::before {
    content: "";
    border-block: 6px solid transparent;
    border-left: 9px solid currentColor;
}
.vm-home-hero-play[data-playing="true"]::before {
    box-sizing: border-box;
    width: 10px;
    height: 12px;
    border: 0;
    border-inline: 3px solid currentColor;
}
.vm-home-hero-sound[data-muted="true"] .vm-home-sound-on,
.vm-home-hero-sound[data-muted="false"] .vm-home-sound-off,
.vm-home-hero-fullscreen:not([data-fullscreen="true"]) .vm-home-contract,
.vm-home-hero-fullscreen[data-fullscreen="true"] .vm-home-expand {
    display: none;
}
@media (max-width: 767px) {
    .vm-home-hero {
        aspect-ratio: 4 / 3;
        margin-inline: -15px;
    }
    .vm-home-hero-controls:not([hidden]) {
        top: auto;
        bottom: max(.5rem, env(safe-area-inset-bottom));
        gap: 0;
    }
    .vm-home-hero-controls button:not([hidden]) {
        width: 44px;
        height: 44px;
    }
    .vm-home-hero-controls button::after {
        inset: 5px;
    }
    .vm-home-hero-controls svg {
        width: 17px;
        height: 17px;
    }
}
.vm-home-hero-controls .vm-home-hero-sound:has(.vm-home-hero-sound-label:not([hidden])) {
    grid-auto-flow: column;
    gap: 6px;
    width: auto;
    padding-inline: 12px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}
.vm-home-hero-sound-label[hidden] {
    display: none;
}
.vm-home-hero:fullscreen {
    width: 100%;
    height: 100%;
    margin: 0;
    background: #000;
}
.vm-home-hero:fullscreen .vm-home-hero-video {
    object-fit: contain;
}
.vm-home-hero .vm-home-hero-video:-webkit-full-screen {
    object-fit: contain;
}
