
  /*YOUTUBE SHORT caroussel*/
  .shorts-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 15px auto;
    padding: 0 50px;
    box-sizing: border-box;
  }

  .shorts-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 15px;
    /* Cache la barre de défilement standard pour un look propre */
    scrollbar-width: none; 
  }
  
  .shorts-carousel-track::-webkit-scrollbar {
    display: none; /* Cache la barre de défilement sur Chrome/Safari */
  }

  .short-card {
    flex: 0 0 calc(33.333% - 14px); /* Affiche 3 vidéos par ligne sur ordinateur */
    max-width: 250px; /* Largeur max des videos */
    box-sizing: border-box;
  }

  .short-card iframe {
    width: 100%;
    aspect-ratio: 9 / 16; /* Force le format vertical des Shorts */
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: #000;
  }

  /* Style des flèches de navigation */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background 0.3s;
  }

  .carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
  }

  .prev-btn { left: 5px; }
  .next-btn { right: 5px; }

  /* Adaptabilité Mobile (Responsive) */
  @media (max-width: 768px) {
    .short-card {
      flex: 0 0 calc(50% - 10px); /* Affiche 2 vidéos par ligne sur tablette */
    }
  }
  @media (max-width: 480px) {
    .shorts-carousel-container { padding: 0 10px; }
    .carousel-btn { display: none; } /* Cache les flèches sur mobile (défilement au doigt) */
    .short-card {
      flex: 0 0 80%; /* Affiche 1 vidéo principale et laisse entrevoir la suivante */
    }
  }
