/* Styles propres à la page videos_list.php (déplacés depuis le fichier PHP, sans modification). */
  



.video-hero {
  position: relative;
  overflow: hidden;
  height: 400px;            /* <-- tu forces directement la hauteur */
  display: flex;            /* pour centrer proprement */
  align-items: center;
  justify-content: center;
  margin-top: 2000;            /* au cas où */
}

.video-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 400px at 10% -10%, rgba(255,64,129,.25), transparent 60%),
    linear-gradient(135deg, #ff4081 0%, #2b0a1c 35%, #121212 65%, #000 100%);
  filter: saturate(105%);
  opacity: .95;
}

.video-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.video-hero__icon {
  font-size: 28px;    /* réduit pour ne pas casser la hauteur */
  margin-bottom: 2px;
}

.video-hero h1 {
  font-size:clamp(22px, 3vw, 32px); /* mini mais pro */
}

.video-hero__tagline {
  font-size: .8rem;
  margin-top: 2px;
  opacity: 0.75;
}
/* ======== FILTREUR ======== */
.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
  background: #111;
  border: 1px solid #222;
  border-radius: 14px;
  padding: 20px;
  justify-content: center;
}
.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 160px;
}
.filter-group label {
  font-weight: 600;
  color: #ccc;
  margin-bottom: 6px;
  font-size: .9rem;
}
.filter-group select,
.filter-group input[type="date"] {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  color: #eee;
  padding: 8px 10px;
}
.filter-btn {
  align-self: flex-end;
  background: linear-gradient(135deg,#ff4081,#7c1f3e);
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255,64,129,.3);
}

/* ======== GRILLE VIDÉO ======== */
/* ===== GRILLE VIDÉOS ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  width: 92%;
  max-width: 1300px;
  margin: 50px auto 80px;
  padding-bottom: 30px;
  justify-items: center;
}

/* ===== CARTE VIDÉO ===== */
.video-item {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 370px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 77, 141, 0.25);
}

/* ===== MINIATURE ===== */
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-item:hover .video-thumb img {
  transform: scale(1.08);
}

/* ===== OVERLAY ===== */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay {
  opacity: 1;
}

/* Badges et durée */
.video-show {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #fff;
  backdrop-filter: blur(5px);
}

.video-duration {
  align-self: flex-end;
  background: rgba(0, 0, 0, 0.65);
  padding: 4px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 3.2rem;
  color: #ff4d8d;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.video-item:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

/* ===== META ===== */
.video-meta {
  padding: 14px 16px 18px;
  text-align: left;
}

.video-meta h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.video-meta p {
  color: #aaa;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-meta i {
  font-size: 1rem;
  color: #ff4d8d;
}

/* ===== MESSAGE AUCUNE VIDÉO ===== */
.video-grid .no-video {
  grid-column: 1 / -1;
  text-align: center;
  color: #bbb;
  font-style: italic;
  font-size: 1rem;
  margin-top: 40px;
}

@media (max-width: 600px) {
  .video-filters { flex-direction: column; align-items: stretch; }
}
/* === Version mobile : suppression du bandeau de dédicaces === */
@media (max-width: 768px) {
  .dedicace-bar {
    display: none !important;
  }
}
