/* YouTube Channel Gallery – bbdbc0e0 */

.ytcg-bbdbc0e0-wrapper {
    width: 100%;
}

/* Notice */
.ytcg-bbdbc0e0-notice {
    padding: 20px;
    background: #f0f0f0;
    border-radius: 8px;
    text-align: center;
    color: #555;
    font-size: 14px;
}

/* Featured Video */
.ytcg-bbdbc0e0-featured {
    margin-bottom: 40px;
}

.ytcg-bbdbc0e0-featured-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.ytcg-bbdbc0e0-featured-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ytcg-bbdbc0e0-featured-title {
    margin: 16px 0 4px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.ytcg-bbdbc0e0-featured-date {
    font-size: 13px;
    color: #888;
}

/* Dropdown Filter Row */
.ytcg-bbdbc0e0-filter-row {
    display: flex;
    margin-bottom: 24px;
}

.ytcg-bbdbc0e0-dropdown {
    width: 300px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    appearance: auto;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ytcg-bbdbc0e0-dropdown:hover {
    border-color: #bbb;
}

.ytcg-bbdbc0e0-dropdown:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Video Grid */
.ytcg-bbdbc0e0-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Card */
.ytcg-bbdbc0e0-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.35s ease;
    cursor: pointer;
}

.ytcg-bbdbc0e0-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ytcg-bbdbc0e0-card.ytcg-bbdbc0e0-hidden {
    display: none;
}

/* Thumbnail */
.ytcg-bbdbc0e0-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
}

.ytcg-bbdbc0e0-thumb-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ytcg-bbdbc0e0-card:hover .ytcg-bbdbc0e0-thumb-wrapper img {
    transform: scale(1.05);
}

.ytcg-bbdbc0e0-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.85;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.ytcg-bbdbc0e0-card:hover .ytcg-bbdbc0e0-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.ytcg-bbdbc0e0-card-title {
    margin: 12px 14px 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ytcg-bbdbc0e0-card-date {
    display: block;
    margin: 0 14px 14px;
    font-size: 12px;
    color: #999;
}

/* Lightbox Overlay */
.ytcg-bbdbc0e0-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ytcg-bbdbc0e0-lightbox.ytcg-bbdbc0e0-lb-visible {
    opacity: 1;
}

.ytcg-bbdbc0e0-lb-inner {
    position: relative;
    width: 80%;
    max-width: 960px;
    padding-bottom: 45%;
}

.ytcg-bbdbc0e0-lb-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.ytcg-bbdbc0e0-lb-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}

.ytcg-bbdbc0e0-lb-close:hover {
    color: #ff4444;
}

/* Responsive */
@media (max-width: 768px) {
    .ytcg-bbdbc0e0-featured-title {
        font-size: 18px;
    }

    .ytcg-bbdbc0e0-lb-inner {
        width: 95%;
        padding-bottom: 53%;
    }

    .ytcg-bbdbc0e0-dropdown {
        width: 100%;
    }
}
