/* Podcast Episode Widget Container */
.podcast-episode-box {
    background: #fdfdfd;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    overflow: hidden;
}

.podcast-episode-box.is-featured {
    border: 2px solid #0073aa;
}

/* Clearfix */
.podcast-episode-box::after {
    content: "";
    clear: both;
    display: table;
}

/* Featured Ribbon */
.featured-ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #0073aa;
    color: #fff;
    padding: 20px 40px 5px;
    transform: rotate(45deg);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Thumbnail */
.podcast-thumb {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    float: left;
    margin: 0 15px 10px 0;
    object-fit: cover;
    border: 1px solid #eee;
}

/* Badges & Text */
.podcast-badges { display: flex; gap: 5px; margin-bottom: 10px; }
.p-badge { 
    background: #eee; 
    color: #555; 
    font-size: 11px; 
    font-weight: 700; 
    padding: 3px 8px; 
    border-radius: 4px;
}

.podcast-episode-box h3 { margin: 0 0 15px 0; font-size: 1.25rem; color: #333; }

/* Audio & Controls */
.wp-audio-shortcode { margin-bottom: 15px !important; }

.podcast-controls { display: flex; gap: 8px; flex-wrap: wrap; margin: 15px 0; }

.share-btn, .sub-btn { 
    padding: 8px 16px; 
    border-radius: 20px; 
    font-size: 13px; 
    font-weight: 700; 
    text-decoration: none; 
    border: none; 
    cursor: pointer; 
}

.main-share { background: #0073aa; color: #fff; }
.download-btn { background: #444; color: #fff; }
.apple { background: #a246ff; color: #fff; }
.spotify { background: #1DB954; color: #fff; }

/* Transcript */
.transcript-details { margin-top: 15px; font-size: 14px; }
.transcript-content { 
    max-height: 300px; 
    overflow-y: auto; 
    padding: 15px; 
    background: #fff; 
    border: 1px solid #eee; 
    margin-top: 10px; 
    line-height: 1.6; 
}

/* Upload Progress Bar (Submission Form) */
.upload-progress {
    width: 100%;
    background: #eee;
    height: 10px;
    border-radius: 5px;
    margin-top: 15px;
    overflow: hidden;
}
.upload-progress .bar {
    width: 0%;
    height: 100%;
    background: #0073aa;
    transition: width 0.2s;
}
