/* Podcasts Listing Page Styles */

.podcasts-listing-page {
    background: var(--color-white);
}

/* Hero Section */
.podcasts-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 5rem 0 3rem;
    color: white;
}

.podcasts-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.podcasts-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.podcasts-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Filter Section */
.filter-section {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-soft);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-section .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 700;
    color: var(--color-charcoal);
    font-size: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-gray-soft);
    border-radius: 8px;
    background: white;
    color: var(--color-charcoal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

/* Podcasts Grid */
.podcasts-grid-section {
    padding: 4rem 0;
    background: var(--color-gray-light);
}

.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
}

.podcast-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Podcast Cover */
.podcast-cover-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.podcast-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-cover-placeholder svg {
    width: 100px;
    height: 100px;
    color: white;
    opacity: 0.8;
}

.episode-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    cursor: pointer;
}

.podcast-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay svg {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    margin-left: 4px;
}

/* Podcast Content */
.podcast-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.podcast-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--color-gray-muted);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.podcast-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.podcast-title a {
    color: var(--color-charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.podcast-title a:hover {
    color: var(--color-accent);
}

/* Guest Info */
.guest-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-gray-light);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guest-avatar svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-muted);
}

.guest-details {
    flex: 1;
    min-width: 0;
}

.guest-name {
    font-weight: 700;
    color: var(--color-charcoal);
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guest-title {
    font-size: 0.875rem;
    color: var(--color-gray-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Podcast Excerpt */
.podcast-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-muted);
    margin: 0;
}

/* Tags */
.podcast-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.podcast-tag {
    padding: 0.375rem 0.75rem;
    background: var(--color-gray-light);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

/* Actions */
.podcast-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-soft);
}

.btn-podcast-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-podcast-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-podcast-primary svg {
    width: 18px;
    height: 18px;
}

.platform-links {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.platform-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
    border-radius: 8px;
    color: var(--color-charcoal);
    transition: all 0.3s;
}

.platform-link:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

.platform-link svg {
    width: 20px;
    height: 20px;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* No Podcasts */
.no-podcasts {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
}

.no-podcasts svg {
    width: 80px;
    height: 80px;
    color: var(--color-gray-muted);
    margin-bottom: 1.5rem;
}

.no-podcasts h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-charcoal);
}

.no-podcasts p {
    font-size: 1.125rem;
    color: var(--color-gray-muted);
    margin-bottom: 2rem;
}

/* Newsletter CTA */
.newsletter-cta {
    padding: 5rem 0;
    background: var(--color-charcoal);
}

.newsletter-cta .cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.newsletter-cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-input-group {
    display: flex;
    gap: 1rem;
}

.cta-input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.cta-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.cta-btn {
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: var(--color-accent-hover);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .podcasts-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .podcast-cover-wrapper {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .podcasts-hero {
        padding: 4rem 0 2rem;
    }

    .podcasts-hero .hero-title {
        font-size: 2rem;
    }

    .podcasts-hero .hero-subtitle {
        font-size: 1.125rem;
    }

    .filter-section .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .filter-buttons {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .podcasts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .podcast-cover-wrapper {
        height: 280px;
    }

    .podcast-content {
        padding: 1.25rem;
    }

    .podcast-title {
        font-size: 1.25rem;
    }

    .podcast-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .btn-podcast-primary {
        width: 100%;
    }

    .platform-links {
        margin-left: 0;
        justify-content: center;
    }

    .newsletter-cta h2 {
        font-size: 2rem;
    }

    .cta-input-group {
        flex-direction: column;
    }

    .cta-input-group input,
    .cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .podcasts-hero .hero-title {
        font-size: 1.75rem;
    }

    .podcasts-hero .hero-subtitle {
        font-size: 1rem;
    }

    .podcast-cover-wrapper {
        height: 240px;
    }

    .podcast-content {
        padding: 1rem;
        gap: 0.875rem;
    }

    .guest-info {
        gap: 0.75rem;
    }

    .guest-avatar {
        width: 40px;
        height: 40px;
    }

    .guest-name {
        font-size: 0.9375rem;
    }

    .podcast-excerpt {
        font-size: 0.9375rem;
    }

    .platform-link {
        width: 32px;
        height: 32px;
    }

    .platform-link svg {
        width: 16px;
        height: 16px;
    }
}
