/* Podcast Blog Layout Styles */

.podcast-blog-layout {
    margin-top: 30px;
}

.featured-podcasts {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.featured-title {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid #50b948;
    padding-bottom: 10px;
}

.featured-podcast-item {
    display: flex;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.featured-podcast-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.podcast-thumbnail {
    position: relative;
    width: 120px;
    height: 80px;
    margin-right: 15px;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}

.podcast-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-podcast-item:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    color: white;
    font-size: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.podcast-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.podcast-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.podcast-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.podcast-meta .publish-date {
    color: #50b948;
    font-weight: 500;
}

.podcast-meta .author {
    color: #666;
    font-style: italic;
}

.leading-podcast {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.leading-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.2;
}

.podcast-video-container {
    margin-bottom: 20px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.remaining-podcasts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.remaining-title {
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.podcast-item {
    margin-bottom: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.podcast-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.podcast-item .podcast-thumbnail {
    width: 100%;
    height: 150px;
    margin-right: 0;
    margin-bottom: 0;
    border-radius: 0;
}

.podcast-item .podcast-info {
    padding: 15px;
}

.podcast-item .podcast-title {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.spotify-link {
    margin-top: 15px;
    text-align: center;
}

.spotify-link img {
    transition: transform 0.2s ease;
}

.spotify-link:hover img {
    transform: scale(1.05);
}

/* Modal Styles */
#podcastVideoModal .modal-dialog {
    max-width: 800px;
}

#podcastVideoModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#podcastVideoModal .modal-header {
    background: #50b948;
    color: white;
    border-bottom: none;
}

#podcastVideoModal .modal-title {
    font-weight: 600;
}

#podcastVideoModal .close {
    color: white;
    opacity: 0.8;
}

#podcastVideoModal .close:hover {
    opacity: 1;
}

#podcastVideoModal .modal-body {
    padding: 0;
}

#podcastVideoModal .video-responsive {
    padding-bottom: 56.25%;
    border-radius: 0;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-podcast-item {
        flex-direction: column;
    }
    
    .podcast-thumbnail {
        width: 100%;
        height: 120px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .leading-title {
        font-size: 22px;
    }
    
    .featured-title,
    .remaining-title {
        font-size: 20px;
    }
    
    .podcast-item .podcast-thumbnail {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .featured-podcasts,
    .leading-podcast {
        padding: 15px;
    }
    
    .leading-title {
        font-size: 20px;
    }
    
    .podcast-title {
        font-size: 14px;
    }
    
    .podcast-meta {
        font-size: 11px;
    }
}

/* Loading Animation */
.podcast-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.featured-podcast-item:hover .podcast-thumbnail::before {
    left: 100%;
}

/* Accessibility */
.podcast-item:focus,
.featured-podcast-item:focus {
    outline: 2px solid #50b948;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .play-overlay,
    .spotify-link {
        display: none;
    }
    
    .podcast-blog-layout {
        margin-top: 0;
    }
    
    .featured-podcasts,
    .leading-podcast {
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 