.yt-feed-3a7e63fd-container {
    width: 100%;
}

.yt-feed-3a7e63fd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Responsive Columns Class Map */
.yt-feed-3a7e63fd-cols1- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(1, 1fr); }
.yt-feed-3a7e63fd-cols2- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(2, 1fr); }
.yt-feed-3a7e63fd-cols3- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(3, 1fr); }
.yt-feed-3a7e63fd-cols4- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .yt-feed-3a7e63fd-cols-tablet1- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(1, 1fr); }
    .yt-feed-3a7e63fd-cols-tablet2- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(2, 1fr); }
    .yt-feed-3a7e63fd-cols-tablet3- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(3, 1fr); }
    .yt-feed-3a7e63fd-cols-tablet4- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
    .yt-feed-3a7e63fd-cols-mobile1- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(1, 1fr); }
    .yt-feed-3a7e63fd-cols-mobile2- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(2, 1fr); }
    .yt-feed-3a7e63fd-cols-mobile3- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(3, 1fr); }
    .yt-feed-3a7e63fd-cols-mobile4- .yt-feed-3a7e63fd-grid { grid-template-columns: repeat(4, 1fr); }
}

.yt-feed-3a7e63fd-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yt-feed-3a7e63fd-card:hover {
    transform: translateY(-4px);
}

.yt-feed-3a7e63fd-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #000;
}

.yt-feed-3a7e63fd-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.yt-feed-3a7e63fd-card:hover .yt-feed-3a7e63fd-thumb {
    transform: scale(1.05);
}

.yt-feed-3a7e63fd-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yt-feed-3a7e63fd-card:hover .yt-feed-3a7e63fd-thumb-overlay {
    opacity: 1;
}

.yt-feed-3a7e63fd-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.8);
}

.yt-feed-3a7e63fd-card:hover .yt-feed-3a7e63fd-play-icon {
    transform: scale(1);
}

.yt-feed-3a7e63fd-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.yt-feed-3a7e63fd-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.yt-feed-3a7e63fd-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

/* Lightbox Styles */
.yt-feed-3a7e63fd-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.admin-bar .yt-feed-3a7e63fd-lightbox {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .yt-feed-3a7e63fd-lightbox {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.yt-feed-3a7e63fd-lightbox.is-active {
    opacity: 1;
    pointer-events: auto;
}

.yt-feed-3a7e63fd-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: #000;
}

.yt-feed-3a7e63fd-lightbox iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.yt-feed-3a7e63fd-lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}
