﻿
/* ============================================================
   16. FILTERS
   ============================================================ */
.filters-section {
    padding: 0 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.category-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.category-pill {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: rgba(15, 23, 41, 0.7);
    background: white;
    border: 1px solid rgba(15, 23, 41, 0.12);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    &:hover {
        border-color: rgba(0, 171, 229, 0.3);
        color: var(--deep-navy);
        box-shadow: 0 4px 12px rgba(0, 171, 229, 0.1);
    }

    &.active {
        color: white;
        border-color: transparent;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        background: var(--deep-navy);
        box-shadow: 0 4px 16px rgba(15, 23, 41, 0.25);
    }
}

.format-dropdown {
    position: relative;
}

.format-select {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--deep-navy);
    background: white;
    border: 1px solid rgba(15, 23, 41, 0.12);
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    appearance: none;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

    .format-select:hover,
    .format-select:focus {
        border-color: rgba(0, 171, 229, 0.3);
        outline: none;
        box-shadow: 0 4px 12px rgba(0, 171, 229, 0.1);
    }

.format-dropdown::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(15, 23, 41, 0.4);
    pointer-events: none;
}

/* ============================================================
   17. SHOWS GRID & CARDS
   ============================================================ */
.shows-section {
    padding: 0 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.shows-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.show-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    text-decoration: none;
    display: flex;
    flex-direction: column;

    .show-thumbnail {
        position: relative;
        aspect-ratio: 1;
        overflow: hidden;
        padding: .3rem;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .show-thumbnail-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 26, 0.8) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
    }

    .show-info {
        padding: 1rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .show-description {
        font-family: 'Be Vietnam Pro', sans-serif;
        font-weight: 400;
        font-size: 0.7rem;
        color: rgba(15, 23, 41, 0.75);
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: auto;
    }

        .show-name {
            font-family: 'Be Vietnam Pro', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            color: var(--deep-navy);
            margin-bottom: 0.35rem;
            line-height: 1.1;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .show-host {
            font-family: 'Be Vietnam Pro', sans-serif;
            font-weight: 300;
            font-size: 0.8rem;
            color: var(--deep-navy);
            margin-bottom: 0.2rem;
        }
    }

    .show-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(0, 171, 229, 0.15);
        border-color: rgba(0, 171, 229, 0.2);
    }

        .show-thumbnail img {
            transform: scale(1.05);
        }

        .show-thumbnail-overlay {
            opacity: 1;
        }
    


.show-category-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-top: 0.75rem;
    background: var(--blue);
    color: white;
}

    .show-category-tag[data-category="talk"] {
        background: var(--cyan);
        color: white;
    }

    .show-category-tag[data-category="premiere sports network"] {
        background: var(--royal-blue);
        color: white;
    }

/* No results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    opacity: 0.2;
    color: var(--deep-navy);
}

.no-results-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: rgba(15, 23, 41, 0.5);
}

@media (hover: none) {
    .show-card:hover {
        transform: none;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        border-color: var(--border-light);
    }
}

@media (max-width: 1400px) {
    .shows-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .shows-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }
}

@media (max-width: 900px) {
    .shows-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }

    .category-pills {
        justify-content: center;
    }

    .format-dropdown,
    .format-select {
        width: 100%;
    }

    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .filters-section {
        padding: 0 1.25rem 2rem;
    }

    .shows-section {
        padding: 0 1.25rem 4rem;
    }
}

@media (max-width: 600px) {
    .shows-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .category-pill {
        padding: 0.45rem 0.85rem;
        font-size: 0.75rem;
    }

    .shows-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .page-hero {
        padding: 4rem 1.5rem 3rem;
    }
}
