/* AfroConnect Podcasts — identité visuelle partagée (vert #1DB954, noir/blanc/gris) */
.acpod-podcasts-page { --acpod-green:#1DB954; --acpod-dark:#121212; --acpod-gray:#2a2a2a; --acpod-text-muted:#a7a7a7;
    max-width: 1200px; margin: 0 auto; padding: 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #222; }

.acpod-section { margin: 36px 0; }
.acpod-section-title { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.acpod-empty { color: var(--acpod-text-muted); font-style: italic; }

/* Catégories */
.acpod-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.acpod-category-pill { background: var(--acpod-dark); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 13px; text-decoration: none; }
.acpod-category-pill:hover { background: var(--acpod-green); color: #000; }

/* À la une */
.acpod-featured { position: relative; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; background: var(--acpod-dark); border-radius: 16px; overflow: hidden; color: #fff; }
.acpod-featured-cover { position: relative; background-size: cover; background-position: center; min-height: 260px; }
.acpod-featured-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.acpod-badge { display: inline-block; background: var(--acpod-green); color: #000; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; width: fit-content; }
.acpod-featured-body h2 { font-size: 24px; margin: 6px 0; }
.acpod-featured-body h2 a { color: #fff; text-decoration: none; }
.acpod-featured-body p { color: #d7d7d7; }

/* Grille d'épisodes */
.acpod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.acpod-card { background: #fff; border: 1px solid #eee; border-radius: 14px; overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.acpod-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.acpod-card-cover { position: relative; height: 150px; background-size: cover; background-position: center; background-color: var(--acpod-gray); }
.acpod-play-btn { position: absolute; bottom: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--acpod-green); color: #000; border: none; font-size: 15px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.acpod-play-btn:hover { filter: brightness(1.06); }
.acpod-play-btn-lg { position: static; width: 54px; height: 54px; font-size: 18px; }
.acpod-card-body { padding: 14px; }
.acpod-card-show { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--acpod-green); text-decoration: none; margin-bottom: 4px; }
.acpod-card-title { display: block; font-size: 15px; font-weight: 700; color: #111; text-decoration: none; margin-bottom: 8px; line-height: 1.3; }
.acpod-card-meta { display: flex; gap: 10px; font-size: 12px; color: var(--acpod-text-muted); margin-bottom: 10px; }
.acpod-card-actions { display: flex; align-items: center; gap: 10px; }
.acpod-fav-btn { background: none; border: 1px solid #ddd; border-radius: 8px; padding: 4px 8px; cursor: pointer; font-size: 14px; }
.acpod-fav-btn.is-active { color: var(--acpod-green); border-color: var(--acpod-green); }
.acpod-playlist-btn { background: none; border: 1px solid #ddd; border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: 12px; }
.acpod-playlist-btn:hover, .acpod-fav-btn:hover { border-color: var(--acpod-green); }

/* Émissions */
.acpod-shows-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.acpod-show-card { display: block; text-decoration: none; color: inherit; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #eee; }
.acpod-show-cover { height: 140px; background-size: cover; background-position: center; background-color: var(--acpod-gray); }
.acpod-show-body { padding: 14px; }
.acpod-show-title { font-size: 15px; margin: 0 0 4px; color: #111; }
.acpod-show-subtitle { font-size: 12px; color: var(--acpod-text-muted); margin: 0 0 8px; }
.acpod-show-count { font-size: 11px; font-weight: 700; color: var(--acpod-green); }

/* Recherche */
.acpod-search-widget { margin-bottom: 30px; }
.acpod-search-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.acpod-search-form input, .acpod-search-form select { padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.acpod-search-form input { flex: 1; min-width: 200px; }
.acpod-search-form button { background: var(--acpod-green); border: none; color: #000; font-weight: 700; padding: 10px 18px; border-radius: 8px; cursor: pointer; }

/* Page/entête émission */
.acpod-show-header { position: relative; border-radius: 16px; overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; background-size: cover; background-position: center; margin-bottom: 20px; }
.acpod-show-header-cover { display: none; }
.acpod-show-header-body { position: relative; padding: 26px; color: #fff; }
.acpod-show-header-body h1 { margin: 0 0 6px; font-size: 28px; }
.acpod-show-subtitle { color: #ddd; margin: 0; }
.acpod-show-description { margin-bottom: 24px; color: #444; line-height: 1.6; }

/* Page épisode seul */
.acpod-episode-header { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin-bottom: 24px; align-items: center; }
.acpod-episode-cover { width: 100%; border-radius: 14px; aspect-ratio: 1/1; object-fit: cover; background: var(--acpod-gray); }
.acpod-episode-header-body h1 { font-size: 26px; margin: 6px 0 10px; }
.acpod-episode-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.acpod-episode-actions .acpod-play-btn-lg { background: var(--acpod-green); border: none; border-radius: 999px; padding: 0 22px; color: #000; font-weight: 700; cursor: pointer; }
.acpod-episode-actions .acpod-fav-btn, .acpod-episode-actions .acpod-playlist-btn { border-radius: 999px; padding: 8px 16px; }
.acpod-episode-content { line-height: 1.7; color: #333; }

/* Mini-player persistant */
.acpod-mini-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: var(--acpod-dark); color: #fff;
    display: flex; align-items: center; gap: 14px; padding: 10px 18px; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
.acpod-mp-cover { width: 46px; height: 46px; border-radius: 6px; background-size: cover; background-position: center; background-color: var(--acpod-gray); flex-shrink: 0; }
.acpod-mp-info { min-width: 140px; max-width: 220px; }
.acpod-mp-title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acpod-mp-show { font-size: 11px; color: var(--acpod-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acpod-mp-controls { display: flex; align-items: center; gap: 10px; }
.acpod-mp-controls button { background: none; border: none; color: #fff; font-size: 16px; cursor: pointer; }
#acpod-mp-playpause { width: 34px; height: 34px; background: var(--acpod-green); color: #000; border-radius: 50%; font-size: 14px; }
.acpod-mp-progress { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 160px; }
.acpod-mp-time { font-size: 11px; color: var(--acpod-text-muted); width: 36px; }
.acpod-mp-progress input[type=range] { flex: 1; accent-color: var(--acpod-green); }
.acpod-mp-volume input[type=range] { width: 80px; accent-color: var(--acpod-green); }
#acpod-mp-close { background: none; border: none; color: var(--acpod-text-muted); font-size: 16px; cursor: pointer; }

@media (max-width: 780px) {
    .acpod-featured { grid-template-columns: 1fr; }
    .acpod-episode-header { grid-template-columns: 1fr; }
    .acpod-mini-player { flex-wrap: wrap; }
    .acpod-mp-info { max-width: none; flex: 1; }
    .acpod-mp-progress { order: 3; width: 100%; }
    .acpod-mp-volume { display: none; }
}
