.ytg-grid-932797b0 {
    display: grid;
    width: 100%;
}
.ytg-cols-1 { grid-template-columns: 1fr; }
.ytg-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ytg-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ytg-cols-4 { grid-template-columns: repeat(4, 1fr); }

.ytg-item-932797b0 {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.ytg-thumb-wrapper-932797b0 {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
    border-radius: 8px;
}

.ytg-thumbnail-932797b0 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ytg-item-932797b0:hover .ytg-thumbnail-932797b0 {
    transform: scale(1.05);
}

.ytg-play-btn-932797b0 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ytg-play-btn-932797b0 span {
    margin-left: 2px;
}

.ytg-item-932797b0:hover .ytg-play-btn-932797b0 {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.ytg-item-title-932797b0 {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

/* Lightbox Styles */
.ytg-lightbox-932797b0 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.admin-bar .ytg-lightbox-932797b0 {
    top: var(--wp-admin--admin-bar--height, 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .ytg-lightbox-932797b0 {
        top: 46px;
    }
}

.ytg-lightbox-932797b0.active {
    opacity: 1;
    pointer-events: auto;
}

.ytg-lightbox-content-932797b0 {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.ytg-lightbox-content-932797b0 iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.ytg-lightbox-close-932797b0 {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
