/**
 * TV Shows Page Styles
 * Template: template-tv-shows.php
 */

/* ========================================= */
/* Value Proposition Bar (replaces old dark hero) */
/* ========================================= */
.tvs-value-prop h1.fp-value-prop__text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fp-text-muted, #555);
    margin: 0;
}

/* ========================================= */
/* Quick Filter Pills */
/* ========================================= */
.tvs-filters {
    margin-bottom: 8px;
}

.fp-genre-pill--active {
    background: var(--fp-primary, #e8642c);
    color: #fff;
    border-color: var(--fp-primary, #e8642c);
}

@media (max-width: 768px) {
    .tvs-value-prop h1.fp-value-prop__text {
        font-size: 0.9rem;
    }
}

/* ========================================= */
/* Section Styling */
/* ========================================= */
.tvs-section {
    margin-bottom: 24px;
}

.fp-section__title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tvs-ruv-logo {
    height: 24px;
    width: auto;
}

.fp-section__badge {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ========================================= */
/* Trending Grid */
/* ========================================= */
.tvs-trending-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .tvs-trending-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .tvs-trending-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .tvs-trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================= */
/* Trending Card */
/* ========================================= */
.tvs-trending-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.tvs-trending-card__poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.tvs-trending-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tvs-trending-card:hover .tvs-trending-card__poster img {
    transform: scale(1.05);
}

.tvs-trending-card__rating {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tvs-rating__star {
    color: #fbbf24;
}

.tvs-trending-card__info {
    padding: 12px;
}

.tvs-trending-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tvs-trending-card__year {
    font-size: 0.8rem;
    color: #6b7280;
}

.tvs-trending-card__genres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.tvs-genre-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    color: #4b5563;
    background: #f3f4f6;
    padding: 2px 7px;
    border-radius: 10px;
    line-height: 1.4;
    white-space: nowrap;
}

/* ========================================= */
/* Browse CTA Section */
/* ========================================= */
.tvs-browse-cta {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 16px;
}

.tvs-browse-cta p {
    font-size: 1.125rem;
    color: #4b5563;
    margin: 0 0 20px;
}

.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.fp-btn--primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
}

.fp-btn--primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* ========================================= */
/* Section Variations */
/* ========================================= */
.tvs-section--trending {
    background: #fafafa;
    padding: 32px 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.tvs-section--all {
    margin-top: 32px;
    margin-bottom: 48px;
}

/* ========================================= */
/* Responsive Adjustments */
/* ========================================= */
@media (max-width: 768px) {
    .tvs-section {
        margin-bottom: 16px;
    }

    .tvs-browse-cta {
        padding: 32px 16px;
    }

    .tvs-browse-cta p {
        font-size: 1rem;
    }

    .tvs-ruv-logo {
        height: 20px;
    }
}

@media (max-width: 480px) {
    .tvs-trending-card__info {
        padding: 8px;
    }

    .tvs-trending-card__title {
        font-size: 0.8rem;
    }

    .tvs-trending-card__rating {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

