/* =========================================================================
   Tenantivo Help Center / Videos
   Used by: Views/Home/Help/Videos.cshtml
   Depends on tokens defined in Public.css (--tv-* variables).
   ========================================================================= */

.tv-videos-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 42%, #0f172a 100%);
    color: #fff;
    padding: 3.5rem 0 5rem;
}

.tv-videos-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% -10%, rgba(59, 130, 246, 0.35), transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(14, 165, 233, 0.2), transparent 50%);
    pointer-events: none;
}

.tv-videos-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--tv-soft-bg, #f8fafc));
    pointer-events: none;
}

.tv-videos-hero > .container {
    position: relative;
    z-index: 2;
}

.tv-videos-hero-breadcrumb {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.75);
}

.tv-videos-hero-breadcrumb a {
    color: rgba(226, 232, 240, 0.92);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.tv-videos-hero-breadcrumb a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.tv-videos-hero-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.35);
}

.tv-videos-hero-breadcrumb .current {
    color: #fff;
    font-weight: 500;
}

.tv-videos-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.tv-videos-hero-pill-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    font-size: 0.75rem;
}

.tv-videos-hero-title {
    color: #fff;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.tv-videos-hero-lead {
    max-width: 40rem;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Public.css sets .public-main p { color: #334155 } — keep hero text light on dark background */
.public-main .tv-videos-hero h1.tv-videos-hero-title {
    color: #fff !important;
}
.public-main .tv-videos-hero p.tv-videos-hero-lead {
    color: #e2e8f0 !important;
}

.tv-videos-listing {
    padding: 2.5rem 0 4rem;
    background: var(--tv-soft-bg, #f8fafc);
}

.tv-videos-empty {
    text-align: center;
    color: #64748b;
    padding: 3rem 1rem;
}

.tv-video-card {
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tv-video-card:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-2px);
}

.tv-video-embed {
    background: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.tv-video-embed iframe {
    border: 0;
}

.tv-video-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: #64748b;
}

.tv-video-meta .code {
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1e293b;
}
