/* =====================================================
   TARJETAS DE PODCAST — Cámara FM
   ===================================================== */
 
/* ---------- CONTENEDOR ---------- */
.pod-card-wrapper{
  width: 100%;
  margin: 0;
}
.pod-card-container{
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  align-items: flex-start;
  gap: 16px;
  padding: 0;
  margin: 0;
}
/* la barra de acciones del admin no debe contar como columna */
.pod-card-container .admin_actions{
  flex: 0 0 100%;
}
 
 
/* ---------- TARJETA ---------- */
/* El tamaño se cambia aquí y en ningún otro lado. */
.pod-card{
  position: relative;
  width: 309px;
  height: 301px;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pod-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}
 
 
/* ---------- CARÁTULA ---------- */
.pod-card .pod-card__media{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.pod-card .pod-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  max-width: none;
  color: transparent;
  transition: transform 0.5s ease;
}
.pod-card:hover .pod-card__media img{
  transform: scale(1.05);
}
 
 
/* ---------- VELO OSCURO ---------- */
.pod-card .pod-card__veil{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.90) 26%,
    rgba(0,0,0,0.55) 42%,
    rgba(0,0,0,0.10) 62%,
    rgba(0,0,0,0.25) 100%);
}
 
 
/* ---------- LOGO SPOTIFY ---------- */
.pod-card .pod-card__brand{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  line-height: 0;
  pointer-events: none;
}
.pod-card .pod-card__brand svg{
  width: 30px;
  height: 30px;
  display: block;
}
 
 
/* ---------- TEXTOS ---------- */
/* Los !important son a propósito: el tema del sitio le mete color y
   margen a los h3 y a los p, y se comía la descripción. */
.pod-card .pod-card__body{
  position: absolute;
  left: 20px;
  right: 76px;
  bottom: 18px;
  pointer-events: none;
}
.pod-card .pod-card__body .pod-card__title{
  margin: 0 0 5px 0 !important;
  padding: 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.pod-card .pod-card__body .pod-card__sub p{
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #ffffff !important;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  overflow: hidden;
}
 
 
/* ---------- BOTÓN PLAY ---------- */
.pod-card .pod-card__play{
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  padding: 0;
  margin: 0;
  line-height: 0;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.pod-card:hover .pod-card__play{
  transform: scale(1.1);
}
.pod-card .pod-card__play svg{
  width: 16px;
  height: 16px;
  fill: #000000;
  display: inline-block;
  vertical-align: middle;
  margin-left: 3px;
}
 
 
/* ---------- REPRODUCTOR ---------- */
.pod-card .pod-card__player{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  display: none;
  z-index: 2;
}
.pod-card.reproduciendo .pod-card__player{
  display: block;
}
.pod-card.reproduciendo{
  cursor: default;
}
.pod-card.reproduciendo:hover{
  transform: none;
  box-shadow: none;
}
.pod-card .pod-card__player iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}
 
 
/* ---------- BOTÓN CERRAR ---------- */
.pod-card .pod-card__close{
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
  display: none;
}
.pod-card.reproduciendo .pod-card__close{
  display: block;
}
.pod-card.is-playing .pod-card__player,
.pod-card.reproduciendo .pod-card__player{
  display: block;
}

.pod-card.is-playing,
.pod-card.reproduciendo{
  cursor: default;
}

.pod-card.is-playing:hover,
.pod-card.reproduciendo:hover{
  transform: none;
  box-shadow: none;
}

.pod-card.is-playing .pod-card__close,
.pod-card.reproduciendo .pod-card__close{
  display: block;
}

/* El contenedor del reproductor y el iframe, por si acaso */
.pod-card .pod-card__player{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 2;
}
.pod-card .pod-card__player iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* ---------- MÓVIL ---------- */
@media (max-width: 767px){
  .pod-card{
    width: 100%;
    height: 80vw;
  }
  .pod-card .pod-card__body{
    left: 14px;
    right: 66px;
    bottom: 14px;
  }
  .pod-card .pod-card__body .pod-card__title{ font-size: 17px !important; }
  .pod-card .pod-card__body .pod-card__sub{ font-size: 13px !important; }
  .pod-card .pod-card__play{ width: 38px; height: 38px; right: 14px; bottom: 14px; }
}