/* =========================================
   PREMIUM UX/UI CSS FOR VIDEOS PAGE
========================================= */
.breadcrumb { margin-bottom: 20px; font-size: 13px; font-weight: 500; color: #64748b; }
.breadcrumb a { color: #2563eb; text-decoration: none; transition: 0.2s; }
.breadcrumb a:hover { color: #1d4ed8; text-decoration: underline; }
.breadcrumb span { margin-left: 8px; color: #cbd5e1; }

/* Cinematic Player Wrapper */
/* Clean Video Box */
.yt-main-container { margin-bottom: 35px; }
.yt-video-box {
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    aspect-ratio: 16 / 9;
}
.yt-video-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Title and Action Button Row */
.yt-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 15px;
    gap: 15px;
}
.video-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--qa-text-main, #1e293b);
    line-height: 1.4;
    flex: 1; /* Title ko zyada space dene ke liye */
}

/* Professional Soft Button */
.st-rel-post-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc; /* Soft white/gray bg */
    color: #475569 !important; /* Dark gray text */
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #cbd5e1; /* Subtle border */
    transition: 0.2s;
    white-space: nowrap;
}
.st-rel-post-btn:hover {
    background: #ffffff;
    color: var(--qa-primary, #2563eb) !important;
    border-color: var(--qa-primary, #2563eb);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.st-rel-post-btn i { color: var(--qa-primary, #2563eb); }

/* Mini Player Fixes */
.mini-player { 
    position: fixed !important; 
    z-index: 9999; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
    border-radius: 12px; 
    overflow: hidden;
    background: #000;
    transition: all 0.3s ease;
}
.mini-player .yt-video-box { border-radius: 0; box-shadow: none; }
.mini-player .yt-meta-bar { display: none !important; } /* Hide text/button in mini player */

@media(min-width:1025px){ .mini-player{ bottom: 20px; right: 20px; width: 340px; height: 191px; border: 2px solid #1e293b; } }
@media(min-width:768px) and (max-width:1024px){ .mini-player{ bottom: 20px; right: 20px; width: 280px; height: 158px; border: 2px solid #1e293b; } }

/* Mobile View adjustments */
@media(max-width: 768px) {
    .mini-player{ top: 0; left: 0; width: 100%; height: 210px; border-radius: 0; border: none;}
    .yt-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .video-title { font-size: 18px; }
    .st-rel-post-btn { width: 100%; justify-content: center; padding: 12px; }
}

/* Sections & Grid */
.section-title { 
    margin: 40px 0 20px; 
    font-size: 20px; 
    font-weight: 700; 
    color: #1e293b; 
    display: flex; 
    align-items: center; 
}
.section-title a { color: inherit; text-decoration: none; transition: 0.2s; }
.section-title a:hover { color: #2563eb; }

.yt-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px; 
}
.yt-card { 
    background: #ffffff; 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03); 
    transition: all 0.3s ease; 
}
.yt-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 20px -5px rgba(0,0,0,0.08); 
    border-color: #cbd5e1;
}
.yt-card a { text-decoration: none; color: inherit; display: block; }
.yt-card img { 
    width: 100%; 
    height: 140px; 
    object-fit: cover; 
    border-bottom: 1px solid #f1f5f9;
}
.yt-card h5 { 
    padding: 12px 15px; 
    margin: 0;
    font-size: 14px; 
    font-weight: 600; 
    line-height: 1.5; 
    color: #334155;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Load More Button */
.load-btn { 
    margin: 30px auto; 
    display: block; 
    padding: 12px 28px; 
    background: #f8fafc; 
    color: #475569; 
    font-weight: 600;
    border: 1px solid #cbd5e1; 
    border-radius: 50px; 
    cursor: pointer; 
    transition: 0.2s; 
}
.load-btn:hover { background: #2563eb; color: #fff; border-color: #2563eb; }

/* Floating Mini Player */
.mini-player { 
    position: fixed !important; 
    z-index: 9999; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
    border-radius: 12px; 
    overflow: hidden;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
}
.mini-player iframe { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.mini-player .video-title, .mini-player .st-video-action-bar { display: none; }

@media(min-width:1025px){ .mini-player{ bottom: 20px; right: 20px; width: 340px; height: 191px; border: 2px solid #1e293b; } }
@media(min-width:768px) and (max-width:1024px){ .mini-player{ bottom: 20px; right: 20px; width: 280px; height: 158px; border: 2px solid #1e293b; } }
@media(max-width:767px){ .mini-player{ top: 0; left: 0; width: 100%; height: 210px; border-radius: 0; } }