/* Preserve the whole cover, including diagrams and text near the edges. */
.video-article-card .catalog-item-main {
    min-width: 0;
}

.video-article-cover {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 1rem;
}

.video-article-cover img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: clamp(12rem, 34vw, 19rem);
    object-fit: contain;
    border-radius: 0.9rem;
}
