/* Fiche d'un épisode de podcast (podcast_detail.php) : reprend la mise en page des articles (news_details.css) */

/* Visuel sans pochette */
.podcast-details .news-cover--empty {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, #8b5cf6 0%, #3e0070 55%, #12062a 100%);
}
.podcast-details .news-cover--empty i { font-size: 96px; color: rgba(255, 255, 255, .85); }
.podcast-details .news-header .meta .date i { font-size: 1rem; vertical-align: -3px; }
.podcast-details .news-header .meta .cat { background: rgba(255, 222, 89, .92); color: #111; padding: 2px 12px; border-radius: 999px; font-weight: 700; }

/* Lecteur de l'épisode : bouton + forme d'onde */
.podcast-player {
  display: flex; align-items: center; gap: 22px;
  margin: 26px 0 8px;
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, .16), rgba(255, 0, 64, .08));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.podcast-play-big {
  flex: none;
  width: 92px; height: 92px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 0; border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 55%, #ff0040 100%);
  color: #fff; font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(217, 70, 239, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.podcast-play-big i { font-size: 40px; line-height: 1; }
.podcast-play-big:hover { transform: scale(1.06); box-shadow: 0 14px 36px rgba(217, 70, 239, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.podcast-play-big:focus-visible { outline: 2px solid #ffde59; outline-offset: 4px; }
.podcast-play-big.is-playing { animation: rmh-pulse-ring-big 2s ease-out infinite; }
@keyframes rmh-pulse-ring-big {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45), 0 10px 28px rgba(217, 70, 239, .45); }
  100% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0), 0 10px 28px rgba(217, 70, 239, .45); }
}
.podcast-wave-wrap { flex: 1; min-width: 0; }
.podcast-wave { min-height: 96px; cursor: pointer; border-radius: 10px; }
.podcast-player:not(.is-ready) .podcast-wave { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 3px, transparent 3px 5px); opacity: .6; animation: rmh-wave-wait 1.4s ease-in-out infinite alternate; }
@keyframes rmh-wave-wait { to { opacity: .25; } }
.podcast-times { display: flex; justify-content: space-between; margin-top: 6px; font-size: .82rem; color: #cfcfcf; font-variant-numeric: tabular-nums; }

/* Statistiques et partage */
.podcast-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #e6e6e6; font-size: .92rem; }
.podcast-stats span { display: inline-flex; align-items: center; gap: 6px; }
.podcast-stats i { font-size: 1.1rem; color: #ffde59; }
.podcast-detail__content { color: #ddd; line-height: 1.7; }
.podcast-detail__content img { max-width: 100%; height: auto; }
.comment-note { margin: 8px 0 0; font-size: .82rem; color: #aaa; }

/* « À écouter aussi » : pochette absente */
.grid-post-image--empty { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 120px; background: linear-gradient(135deg, #3e0070, #12062a); }
.grid-post-image--empty i { font-size: 44px; color: rgba(255, 255, 255, .8); }
.grid-post-title a { color: inherit; text-decoration: none; }
.grid-post-title a:hover { color: #ffde59; }

/* Colonne latérale */
.news-sidebar .widget-episodes small { display: block; color: #9a9a9a; font-size: .78rem; }
.widget-subscribe .widget-link { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.widget-subscribe .widget-link:hover { background: rgba(255, 222, 89, .16); transform: translateX(3px); }
.widget-subscribe .widget-link i { color: #ffde59; }

@media (max-width: 640px) {
  .podcast-player { flex-direction: column; align-items: stretch; padding: 16px; }
  .podcast-play-big { width: 100%; height: 56px; border-radius: 999px; flex-direction: row; gap: 8px; font-size: .85rem; }
  .podcast-play-big i { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .podcast-play-big.is-playing, .podcast-player:not(.is-ready) .podcast-wave { animation: none; } }
