.yt-feed-wrapper-c0de1708 {
    position: relative;
    width: 100%;
}

.yt-feed-c0de1708__badge {
    background-color: #ff4757;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.yt-feed-c0de1708 {
    display: grid;
    width: 100%;
}

/* Columns Config */
.yt-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.yt-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yt-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yt-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 991px) {
    .yt-feed-c0de1708 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 480px) {
    .yt-feed-c0de1708 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
}

.yt-feed-c0de1708__card {
    background-color: #f7f9fa;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.yt-feed-c0de1708__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.yt-feed-c0de1708__thumb-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.yt-feed-c0de1708__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-feed-c0de1708__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-feed-c0de1708__card:hover .yt-feed-c0de1708__overlay {
    opacity: 1;
}

.yt-feed-c0de1708__play-btn {
    width: 60px;
    height: 60px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.yt-feed-c0de1708__play-btn svg {
    fill: #ffffff;
}

.yt-feed-c0de1708__card:hover .yt-feed-c0de1708__play-btn {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.2);
}

.yt-feed-c0de1708__meta {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.yt-feed-c0de1708__title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Lightbox Modal Stylings */
.yt-lightbox-c0de1708 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: 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-lightbox-c0de1708 {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .yt-lightbox-c0de1708 {
        top: 46px;
    }
}

.yt-lightbox-c0de1708.active {
    opacity: 1;
    pointer-events: auto;
}

.yt-lightbox-c0de1708__content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.yt-lightbox-c0de1708__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.yt-lightbox-c0de1708__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.yt-lightbox-c0de1708__close:hover {
    color: #ff4757;
}

.yt-feed-c0de1708__error {
    background-color: #fff2f2;
    border-left: 4px solid #ff4757;
    padding: 12px;
    color: #d63031;
    font-size: 14px;
    border-radius: 4px;
}
