.mfvv-video-embed {
    margin-bottom: 1.5rem;
}

.mfvv-video-embed iframe {
    display: block;
    max-width: 100%;
}

.mfvv-video-embed.has-custom-dimensions {
    max-width: 100%;
    width: var(--mfvv-video-width, auto);
}

.mfvv-video-embed.has-custom-dimensions iframe {
    width: 100%;
}

.mfvv-video-embed.has-custom-height iframe {
    height: var(--mfvv-video-height);
}

.mfvv-video-embed.is-stretched {
    width: 100%;
}

.mfvv-video-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(var(--mfvv-columns, 3), minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.mfvv-video-card__link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.mfvv-video-card__image,
.mfvv-video-card__placeholder {
    aspect-ratio: 16 / 9;
    background: #111;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.mfvv-video-card__placeholder::before {
    color: #fff;
    content: "▶";
    display: grid;
    font-size: 2rem;
    height: 100%;
    place-items: center;
}

.mfvv-video-card__title {
    display: block;
    font-weight: 600;
    margin-top: 0.6rem;
}

@media (max-width: 782px) {
    .mfvv-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .mfvv-video-grid {
        grid-template-columns: 1fr;
    }
}
