.tps-vk-video-gallery {
    width: 100%;
}

.tps-vk-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.tps-vk-video-card {
    min-width: 0;
}

.tps-vk-video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f3f5;
    border-radius: 0;
}

.tps-vk-video-frame iframe,
.tps-vk-video-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.tps-vk-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #777;
    font-size: 16px;
}

.tps-vk-video-title {
       margin-top: 10px;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

.tps-vk-video-description {
    color: #4d4d4d;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.tps-vk-video-description p {
    margin: 0 0 10px;
}

.tps-vk-video-description p:last-child {
    margin-bottom: 0;
}

.tps-vk-video-actions {
    margin-top: 40px;
    text-align: center;
}

.tps-vk-video-load-more {
    cursor: pointer;
}

.tps-vk-video-load-more:disabled {
    cursor: wait;
    opacity: .65;
}

@media (max-width: 991px) {
    .tps-vk-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 575px) {
    .tps-vk-video-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
