/* =============================================
   Side Panel Videos - Mini reproductores en paneles laterales
   ============================================= */

.side-video-card {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}

/* --- Video / Poster --- */
.side-video-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Overlay degradado inferior --- */
.side-video-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 10px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.side-video-card__title {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-video-card__views {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.65rem;
  font-weight: 500;
}

/* --- Icono de play central --- */
.side-video-card__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1rem;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.side-video-card.playing .side-video-card__play-icon {
  opacity: 0;
}

/* --- Videos horizontales (video_largo) en banners --- */
.side-video-card--horizontal .side-video-card__video {
  object-fit: cover;
}

/* --- Hover --- */
.side-video-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
