.plugin-container.videos-plugin {
    text-align: center;
}

.videos-plugin .videos-container {
    display: block;
    overflow: hidden;
    text-align: center;
}

.videos-plugin .video-item {
    display: inline-block;
    width: 346px;
    height: 346px;
    margin: 10px;
    padding: 15px 0 0 0;
    border: 1px solid #fff;
    vertical-align: top;
}

.videos-plugin .video-item > .picture-container {
    min-height: 250px;
    width: 310px;
    margin: auto;
    background-position: center;
    background-clip: content-box;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.videos-plugin .video-item .links {
    vertical-align: top;

    height: auto;
    font-size: 16px;
}

/* Video without an uploaded cover: neutral placeholder with a play symbol
   (no preview image is loaded from YouTube before consent) */
.videos-plugin .video-item > .picture-container.no-cover {
    position: relative;
    height: 250px;
    background: #2b2b2b;
}

.videos-plugin .video-item > .picture-container.no-cover::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -22px 0 0 -14px;
    border-style: solid;
    border-width: 22px 0 22px 36px;
    border-color: transparent transparent transparent #fff;
    opacity: 0.85;
}
