.video-center {
    --video-radius: 1rem;
}

.video-archive-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}

.video-card__media,
.video-player-shell,
.video-cover-fallback {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--video-radius);
    background: #eef2ec;
}

.video-card__media img,
.video-player-shell img,
.video-player-shell iframe,
.video-player-shell video,
.video-player-internal {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-player-internal {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: var(--video-radius);
    background: #111;
}

.video-cover-fallback {
    display: grid;
    place-items: center;
    min-height: 180px;
    color: #50604c;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
}

.video-play-button {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 999px;
    min-width: 4.5rem;
    min-height: 4.5rem;
    padding: 0.75rem 1rem;
    background: rgba(20, 33, 18, 0.88);
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.video-play-button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

.video-player-shell[data-loaded="true"] .video-play-button,
.video-player-shell[data-loaded="true"] > img,
.video-player-shell[data-loaded="true"] > .video-cover-fallback {
    display: none;
}

.video-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    color: #667065;
}

.video-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.video-description {
    line-height: 2;
    white-space: pre-line;
}

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

@media (max-width: 768px) {
    .video-archive-filters,
    .video-related-grid {
        grid-template-columns: 1fr;
    }

    .video-player-shell,
    .video-card__media,
    .video-cover-fallback {
        border-radius: .75rem;
    }

    .video-play-button {
        min-width: 4rem;
        min-height: 4rem;
    }
}
