.vgp-gallery,
.vgp-latest {
    --vgp-gap: 24px;
    color: inherit;
}

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

.vgp-card {
    min-width: 0;
}

.vgp-player {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background: #111;
}

.vgp-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vgp-title {
    margin: 10px 0 0;
    font-size: 1rem;
    line-height: 1.4;
}

.vgp-pagination {
    margin-top: 32px;
    text-align: center;
}

.vgp-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vgp-pagination a,
.vgp-pagination .current,
.vgp-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid currentColor;
    border-radius: 7px;
    text-decoration: none;
}

.vgp-pagination .current {
    color: #fff;
    background: #111;
    border-color: #111;
}

.vgp-load-more[aria-busy="true"] {
    opacity: .65;
    pointer-events: none;
}

.vgp-latest {
    max-width: 760px;
}

.vgp-empty {
    grid-column: 1 / -1;
}

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

@media (max-width: 560px) {
    .vgp-grid {
        grid-template-columns: 1fr;
    }
}
