/* =========================================
   VIDEOS PAGE — extends the news.css design system (.nx-card, .nx-grid, .nx-section, .nx-tabs, .nx-container)
========================================= */

.videos-page {
    background: var(--nx-bg);
    padding-bottom: 20px;
}

.videos-page .nx-hero {
    padding: 36px 0 4px;
    text-align: center;
}
.videos-page .nx-hero__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--nx-text);
    margin-bottom: 8px;
}
.videos-page .nx-hero__subtitle {
    color: var(--nx-muted);
    max-width: 720px;
    margin: 0 auto;
}

/* Channel suggestions carousel — reuse the tab look */
.videos-page .nx-channel-scroll {
    margin: 20px 0 8px;
}
.videos-page .nx-channel-scroll .swiper-slide { width: auto !important; }
.videos-page .nx-channel-scroll .suggestion-item {
    background: #fff;
    border: 1px solid var(--nx-border) !important;
    border-radius: 999px !important;
    padding: 8px 16px 8px 8px !important;
    height: auto !important;
}
.videos-page .nx-channel-scroll .suggestion-title {
    font-size: .85rem !important;
    font-weight: 600;
    color: var(--nx-text) !important;
}
.videos-page .nx-channel-scroll .cico img { border-radius: 50%; }

/* Video card — extra bits on top of the shared .nx-card */
.nx-card--video .nx-card__media { cursor: pointer; }
.nx-card--video .nx-card__body { padding: 12px 14px 16px; }
.nx-card--video .nx-card__title { font-size: .92rem; -webkit-line-clamp: 2; }

.nx-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 20, 29, 0);
    transition: background .2s ease;
    color: #fff;
    font-size: 2.4rem;
    opacity: 0;
}
.nx-card--video:hover .nx-video__play {
    background: rgba(17, 20, 29, .25);
    opacity: 1;
}
.nx-video__play i { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }

.nx-video__duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(17, 20, 29, .8);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
    letter-spacing: .01em;
}

/* Ad banners between sections — full-width, out of the card grid so an
   unfilled slot doesn't leave a lopsided gap inside the grid itself. */
.videos-page .nx-ad-banner {
    display: flex;
    justify-content: center;
    margin: 28px 0;
    min-height: 0;
}

@media (max-width: 767px) {
    .nx-video__play { font-size: 2rem; }
}
