/* =============================================================================
   ARCHIVE PODCAST STYLES
   ============================================================================= */

/* Main Container */
.podcast-archive-page {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Hero Section */
.podcast-hero {
    padding-bottom: 60px;
}

.podcast-hero-header {
    text-align: center;
}

.podcast-hero-title {
    padding-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.podcast-hero-divider {
    border-color: #dee2e6;
    margin: 1rem 0;
}

.podcast-hero-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.podcast-hero-content p {
    margin-bottom: 1.5rem;
}

.podcast-hero-content a {
    color: #007cba;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.podcast-hero-content a:hover {
    border-bottom-color: #007cba;
}

/* Platform Links Section */
.podcast-platforms {
    padding-bottom: 30px;
}

.podcast-platform-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.podcast-platform-links > div {
    transition: transform 0.2s ease;
}

.podcast-platform-links > div:hover {
    transform: translateY(-2px);
}

.podcast-platform-links img {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.podcast-platform-links img:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Episodes Section */
.podcast-episodes {
    margin-top: 2rem;
}

.podcast-episodes-container {
    min-height: 400px;
}

/* Iframe Styling (for embedded content) */
.podcast-episodes-container iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Visually Hidden (Accessibility) */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus Management */
.podcast-platform-links a:focus,
.podcast-hero-content a:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Platform Link Focus States */
.platform-link-focused {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Episode Focus States */
.episode-focused {
    outline: 3px solid #007cba;
    outline-offset: 3px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 124, 186, 0.3);
}

/* Skip Links */
.skip-links {
    display: none !important;
}

.skip-link {
    display: none !important;
}

.skip-link:focus {
    display: none !important;
}

/* Navigation Instructions */
.podcast-navigation-instructions {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.podcast-navigation-instructions p {
    margin-bottom: 0.5rem;
}

.podcast-navigation-instructions p:last-child {
    margin-bottom: 0;
}

/* Focus Announcement */
.focus-announcement {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #007cba;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced Focus Indicators */
.podcast-platform-links a:focus,
.podcast-hero-content a:focus,
[tabindex="0"]:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
    border-radius: 4px;
    transition: outline 0.2s ease;
}

/* Keyboard Navigation Help */
.keyboard-navigation-help {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.nav-help-content {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.nav-help-content p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.nav-help-content p:last-child {
    margin-bottom: 0;
}

.nav-help-content strong {
    color: #495057;
    font-weight: 600;
}

/* Platform Navigation Help */
.platform-navigation-help {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #1976d2;
}

.platform-navigation-help p {
    margin: 0;
    font-weight: 500;
}

/* Search Section */
.podcast-search-section {
    padding: 2rem 0;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.podcast-search-section .text-muted {
    font-size: 0.95rem;
    line-height: 1.5;
}

.podcast-search-section .form-control {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.podcast-search-section .form-control:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25);
}

/* Search Results */
#podcast-search-results-info {
    margin: 1rem 0;
}

#podcast-search-results-info .alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}





/* Episode Container Focus */
.podcast-episodes-container [tabindex="0"] {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.podcast-episodes-container [tabindex="0"]:hover {
    border-color: #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.podcast-episodes-container [tabindex="0"]:focus {
    border-color: #007cba;
    box-shadow: 0 4px 16px rgba(0, 124, 186, 0.2);
}

/* Shortcode Generated Content Styling */
.pt-cv-ctf-value {
    width: 100% !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .podcast-archive-page {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .podcast-hero-title {
        font-size: 2rem;
        padding-bottom: 30px;
    }
    
    .podcast-hero-content {
        font-size: 1rem;
    }
    
    .podcast-platform-links {
        gap: 10px;
    }
    
    .podcast-platform-links img {
        max-width: 100px;
    }
}

@media (max-width: 576px) {
    .podcast-archive-page {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .podcast-hero-title {
        font-size: 1.75rem;
        padding-bottom: 25px;
    }
    
    .podcast-platform-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .podcast-platform-links img {
        max-width: 120px;
    }
}
