.scroll-gallery-wrapper {
  position: relative;
  padding: 1rem;
  overflow: hidden;
}

.scroll-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 1rem;
  scroll-padding-left: 1rem;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
}

.scroll-gallery::-webkit-scrollbar {
display: none;
}

.audio-thumbnail {
  position: relative;
  width: 150px;
  max-width: 150px;
  height: 150px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
  border: 10px solid;
  border-radius: 12px;
}

.audio-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.audio-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  background-color: rgba(255, 255, 255, 0);
  padding: 0.5em 0.7em;
  pointer-events: none;
  font-family: "Arial", "Segoe UI Symbol", "Noto Sans", sans-serif;
}

/* Modale */
.spotify-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.spotify-modal-content {
  position: relative;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  max-width: 90%;
  width: 320px;
}

.spotify-modal iframe {
  width: 100%;
  height: 352px;
  border: none;
  border-radius: 12px;
}

.spotify-modal-close {
  position: absolute;
  top: 0.2rem;
  right: 0.4rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
}

/* Flèches fixes */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 2rem;
  padding: 0.3em 0.5em;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.scroll-arrow.left  { left: 0.5rem; }
.scroll-arrow.right { right: 0.5rem; }

.gallery{
  border-radius: 12px 12px 12px 12px;
  padding-top: 1em;
  overflow: hidden;
}

.sw{
    border-color: rgb(173, 216, 230);   
}

.sw h4{
    border-left: 4px solid lightBlue;
}

.tg{
    border-color: rgb(211, 47, 47);   
}

.tg h4{
    border-left: 4px solid #D32F2F;
}

.vw{
    border-color: rgb(121, 134, 203);   
}

.vw h4{
    border-left: 4px solid #7986CB;
}

.sf{
    border-color: rgb(129, 199, 132);   
}

.sf h4{
    border-left: 4px solid #81C784;
}

.qs{
    border-color: rgb(251, 192, 45);   
}

.qs h4{
    border-left: 4px solid #FBC02D;
}

.sb{
    border-color: rgb(251, 140, 0);   
}

.sb h4{
    border-left: 4px solid #FB8C00;
}

.cc{
    border-color: rgb(236, 64, 122);
}

.cc h4{
    border-left: 4px solid #EC407A;
}

.jv{
    border-color: rgb(38, 198, 218);
}

.jv h4{
    border-left: 4px solid #26C6DA;
}

.rb{
    border-color: rgb(142, 36, 170);
}

.rb h4{
    border-left: 4px solid #8E24AA;
}

.pd{
    border-color: rgb(230, 74, 25);
}

.pd h4{
    border-left: 4px solid #E64A19;
}

.musique {
  list-style: none;
  margin-left: 3em;
}

.musique li {
  padding-left: 1.6em;
  position: relative;
}

.musique .bpm::before {
  content: "🎵";
  position: absolute;
  left: 0;
}

.musique .mesure::before {
  content: "⏱️";
  position: absolute;
  left: 0;
}

.musique .style::before {
  content: "💃";
  position: absolute;
  left: 0;
}



