.vg-d2697888-wrap {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    clear: both;
}

.vg-d2697888-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.vg-d2697888-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.vg-d2697888-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.vg-d2697888-thumb-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #1a1a1a;
}

.vg-d2697888-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.vg-d2697888-card:hover .vg-d2697888-thumb {
    transform: scale(1.04);
}

.vg-d2697888-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.vg-d2697888-card:hover .vg-d2697888-overlay {
    background-color: rgba(0,0,0,0.55);
}

.vg-d2697888-play-icon {
    width: 48px;
    height: 48px;
    transition: transform 0.2s ease;
}

.vg-d2697888-card:hover .vg-d2697888-play-icon {
    transform: scale(1.15);
}

.vg-d2697888-card-body {
    padding: 16px;
    flex-grow: 1;
}

.vg-d2697888-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    word-wrap: break-word;
}

.vg-d2697888-excerpt {
    margin: 0;
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
    word-wrap: break-word;
}

.vg-d2697888-no-results {
    text-align: center;
    color: #888;
    padding: 40px 0;
}

/* ── Pagination ── */
.vg-d2697888-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    margin-bottom: 20px;
    padding: 10px 0;
    width: 100%;
}

.vg-d2697888-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background-color: #f0f0f0;
    color: #333333;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    line-height: 1;
}

.vg-d2697888-page-btn:hover:not(.is-active) {
    background-color: #e0e0e0;
    transform: translateY(-1px);
}

.vg-d2697888-page-btn.is-active {
    background-color: #1a73e8;
    color: #ffffff;
    cursor: default;
    pointer-events: none;
}

.vg-d2697888-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Lightbox ── */
.vg-d2697888-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vgFadeIn_d2697888 0.2s ease;
}

@keyframes vgFadeIn_d2697888 {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.vg-d2697888-lightbox-inner {
    position: relative;
    width: 90%;
    max-width: 960px;
}

.vg-d2697888-lightbox-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 6px;
}

.vg-d2697888-lightbox-video-wrap iframe,
.vg-d2697888-lightbox-video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

.vg-d2697888-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.vg-d2697888-lightbox-close:hover {
    opacity: 1;
}

.vg-d2697888-lightbox-title {
    color: #ffffff;
    text-align: center;
    margin: 14px 0 0;
    font-size: 16px;
    font-weight: 500;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .vg-d2697888-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .vg-d2697888-wrap {
        padding: 0 10px;
        box-sizing: border-box;
    }
    .vg-d2697888-grid {
        grid-template-columns: 1fr;
    }
    .vg-d2697888-page-btn {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }
}