.hh-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
}

.hh-video-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: #fff;
}

.hh-video-preview img,
.hh-video-play {
    grid-area: 1 / 1;
}

.hh-video .hh-video-preview img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.hh-video-play {
    place-self: center;
    padding: 0.4em 0.8em;
    border-radius: 0.3em;
    background: #c00;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.hh-video-preview:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}

.hh-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
