/* Podcast Accelerator WordPress Plugin Styles */

.podcast-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.podcast-banner img,
.episode-banner img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.podcast-social-sharing,
.episode-social-sharing,
.podcast-social-sharing-bottom,
.episode-social-sharing-bottom {
    text-align: center;
    margin: 20px 0;
}

.podcast-header {
    margin-bottom: 30px;
}

.podcast-header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #333;
}

.podcast-header p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
}

.podcast-platforms {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.platform-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.platform-icons a {
    display: block;
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.platform-icons a:hover {
    transform: scale(1.1);
}

.platform-icons img {
    width: 100%;
    height: auto;
}

.podcast-episodes {
    margin-top: 40px;
}

.episode-item {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
    align-items: flex-start;
}

.episode-image {
    flex: 0 0 300px;
}

.episode-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.episode-content {
    flex: 1;
}

.published-date {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
    font-weight: 500;
}

.episode-content h2 {
    font-size: 1.5em;
    margin: 10px 0;
    color: #333;
}

.episode-content h2:hover {
    color: #779b0f;
}

.episode-content h3 {
    font-size: 1.2em;
    margin: 5px 0 15px;
    color: #555;
    font-weight: normal;
}

.episode-content p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.play-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.episode-separator {
    border: none;
    border-top: 1px solid #eee;
    margin: 40px 0;
}

/* Episode Detail Page Styles */
.episode-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.episode-content-wrapper {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: flex-start;
}

.episode-image-section {
    flex: 0 0 400px;
}

.episode-image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.episode-details-section {
    flex: 1;
}

.episode-header h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #333;
}

.episode-header h2 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #555;
    font-weight: normal;
}

.episode-audio {
    margin: 20px 0;
}

.episode-audio audio {
    width: 100%;
    max-width: 500px;
}

.episode-actions {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #779b0f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #669a0d;
    color: white;
    text-decoration: none;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    max-width: 300px;
}

/* Transcript Styles */
.episode-transcript {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.episode-transcript h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #779b0f;
    padding-bottom: 10px;
}

.transcript-content {
    line-height: 1.8;
    color: #444;
    font-size: 1em;
}

.transcript-content p {
    margin-bottom: 15px;
}

.transcript-content h1,
.transcript-content h2,
.transcript-content h3,
.transcript-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.transcript-content ul,
.transcript-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.transcript-content li {
    margin-bottom: 8px;
}

/* Error Styles */
.podcast-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .podcast-container,
    .episode-container {
        padding: 15px;
    }
    
    .episode-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .episode-image {
        flex: none;
        max-width: 100%;
    }
    
    .episode-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .episode-image-section {
        flex: none;
    }
    
    .platform-icons {
        gap: 10px;
    }
    
    .platform-icons a {
        width: 40px;
        height: 40px;
    }
    
    .podcast-header h1 {
        font-size: 2em;
    }
    
    .episode-header h1 {
        font-size: 1.8em;
    }
    
    .episode-content h2 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .platform-icons {
        gap: 8px;
    }
    
    .platform-icons a {
        width: 35px;
        height: 35px;
    }
    
    .podcast-header h1 {
        font-size: 1.8em;
    }
    
    .episode-header h1 {
        font-size: 1.6em;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}