/* =========================
   Audio Gallery Layout (Desktop version)
========================= */
.audio-gallery {
  margin-top: 30px;
}

.audio-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.audio-item {
  width: 180px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease;
}

.audio-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid #fff;
}

.audio-item:hover {
  transform: scale(1.05);
}

.audio-item p {
  margin-top: 10px;
  font-size: 1rem;
  color: #fff;
}

/* =========================
   Audio Player Styling (Same for all devices)
========================= */
#audio-player {
  display: block;
  margin: 0 auto;
  margin-top: 30px; /* Ensure spacing between player and gallery */
}

/* =========================
   Mobile Layout - 2 items per row
========================= */
@media screen and (max-width: 768px) {
  .audio-item {
    width: calc(50% - 10px); /* 2 items per row with a little gap */
  }
  
  .audio-row {
    gap: 10px; /* Adjust the gap between items */
  }
}
