.video-preview {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    background: #e7f0f5;
}

.video-preview-link,
.video-preview iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-preview-link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: #225f87;
    transform: translate(-50%, -50%);
}

.video-preview-play::after {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-block: 9px solid transparent;
    border-left: 14px solid #fff;
    content: "";
}

.video-preview-link:hover .video-preview-play {
    background: #2a79b2;
}

.video-preview-link:focus-visible {
    outline: 3px solid #225f87;
    outline-offset: -4px;
}

.video-preview-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 24px;
    background: #225f87;
    color: #fff;
    font-size: 12px;
}

.video-source-link {
    display: inline-block;
    margin: 8px 24px 0;
    color: #225f87;
    font-size: 14px;
    text-decoration: underline;
}

.video-unavailable {
    display: grid;
    min-height: 100px;
    place-items: center;
    margin: 0;
    background: #e7f0f5;
    border-radius: 24px;
}

.video-catalog-controls {
    margin-top: 24px;
    text-align: center;
}

.video-catalog-controls [data-video-more][aria-disabled="true"] {
    opacity: .65;
}
