/* Year tab filter */
.nz-year-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.nz-year-tab {
    padding: 8px 22px;
    border: 2px solid #ddd;
    border-radius: 30px;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all .2s ease;
}

.nz-year-tab:hover {
    border-color: #2e7d32;
    color: #2e7d32;
    background: #FFD900;
}

.nz-year-tab.active {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

/* Grid */
.nz-episode-grid {
    display: grid;
    grid-template-columns: repeat(var(--nz-desktop-cols), 1fr);
    gap: 24px;
    transition: opacity .25s ease;
}

.nz-episode-grid.nz-loading {
    opacity: .4;
    pointer-events: none;
}

/* Card */
.nz-card {
    background: #fff;
    border-radius: var(--nz-card-radius);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.nz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.nz-thumb {
    width: 100%;
    height: var(--nz-image-height);
    object-fit: cover;
    display: block;
}

.nz-content {
    padding: 18px;
}

.nz-title {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.nz-title a {
    color: #111;
    text-decoration: none;
}

.nz-meta {
    font-size: 14px;
    margin-bottom: 8px;
    color: #555;
}

.nz-excerpt {
    margin-top: 12px;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.nz-no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 40px 0;
}

@media (max-width: 991px) {
    .nz-episode-grid {
        grid-template-columns: repeat(var(--nz-tablet-cols), 1fr);
    }
}

@media (max-width: 767px) {
    .nz-episode-grid {
        grid-template-columns: repeat(var(--nz-mobile-cols), 1fr);
    }

    .nz-year-tab {
        padding: 7px 16px;
        font-size: 14px;
    }
}
