.pkh-youtube-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 40px;
}

.pkh-youtube-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff8400;
}

.pkh-youtube-title {
    font-family: 'Noto Sans Devanagari', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
}

.pkh-youtube-title i {
    color: #ff0000 !important;
    margin-right: 10px !important;
}

.pkh-youtube-view-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ff0000 !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    font-family: 'Noto Sans Devanagari', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3) !important;
}

.pkh-youtube-view-btn:hover {
    background: #cc0000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.pkh-youtube-view-btn i {
    font-size: 18px !important;
}

.pkh-youtube-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

.pkh-youtube-video {
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.pkh-youtube-video:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.pkh-youtube-thumb {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 16/9 !important;
    background: #000 !important;
}

.pkh-youtube-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.pkh-youtube-video:hover .pkh-youtube-thumb img {
    transform: scale(1.05) !important;
}

.pkh-youtube-play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(255, 0, 0, 0.85) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 24px !important;
    transition: all 0.3s ease !important;
    border: 3px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

.pkh-youtube-video:hover .pkh-youtube-play-btn {
    transform: translate(-50%, -50%) scale(1.1) !important;
    background: #ff0000 !important;
}

.pkh-youtube-duration {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    background: rgba(0,0,0,0.8) !important;
    color: #fff !important;
    padding: 3px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'Noto Sans Devanagari', sans-serif !important;
}

.pkh-youtube-info {
    padding: 12px 15px 15px !important;
}

.pkh-youtube-video-title {
    font-family: 'Noto Sans Devanagari', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.pkh-youtube-video-date {
    font-family: 'Noto Sans Devanagari', sans-serif !important;
    font-size: 12px !important;
    color: #999 !important;
}

.pkh-youtube-loader {
    text-align: center !important;
    padding: 30px 0 !important;
    color: #999 !important;
    font-size: 14px !important;
    font-family: 'Noto Sans Devanagari', sans-serif !important;
}

.pkh-youtube-loader i {
    font-size: 24px !important;
    color: #ff8400 !important;
}

.pkh-youtube-loader .pkh-loader-text {
    display: block !important;
    margin-top: 10px !important;
}

.pkh-youtube-no-videos {
    text-align: center !important;
    padding: 60px 20px !important;
    font-family: 'Noto Sans Devanagari', sans-serif !important;
    font-size: 18px !important;
    color: #666 !important;
}

.pkh-youtube-no-videos i {
    font-size: 48px !important;
    color: #ccc !important;
    display: block !important;
    margin-bottom: 15px !important;
}

@media (max-width: 992px) {
    .pkh-youtube-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 15px !important;
    }
    .pkh-youtube-title {
        font-size: 22px !important;
    }
    .pkh-youtube-view-btn {
        padding: 8px 18px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 576px) {
    .pkh-youtube-gallery {
        padding: 10px 10px 30px !important;
    }
    .pkh-youtube-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 10px !important;
    }
    .pkh-youtube-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .pkh-youtube-title {
        font-size: 18px !important;
    }
    .pkh-youtube-view-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px !important;
        font-size: 12px !important;
    }
    .pkh-youtube-play-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    .pkh-youtube-video-title {
        font-size: 13px !important;
    }
    .pkh-youtube-info {
        padding: 8px 10px 10px !important;
    }
}

.pkh-youtube-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.9) !important;
    z-index: 999999 !important;
    justify-content: center !important;
    align-items: center !important;
}

.pkh-youtube-modal.active {
    display: flex !important;
}

.pkh-youtube-modal-content {
    position: relative !important;
    width: 90% !important;
    max-width: 800px !important;
    background: #000 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.pkh-youtube-modal-close {
    position: absolute !important;
    top: -40px !important;
    right: 0 !important;
    color: #fff !important;
    font-size: 30px !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    transition: transform 0.3s ease !important;
    z-index: 10 !important;
}

.pkh-youtube-modal-close:hover {
    transform: rotate(90deg) !important;
}

.pkh-youtube-modal-iframe {
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    border: none !important;
}
