#bma-artists-root {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-family: sans-serif;
}

#bma-artist-search {
  width: 100%;
  max-width: 400px;
  padding: 10px 12px;
  margin-bottom: 20px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
}

#bma-letters {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bma-letter {
  cursor: pointer;
  padding: 6px 10px;
  background: #f0f0f0;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.2s;
}

.bma-letter:hover {
  background: #333;
  color: #fff;
}

#bma-artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px;
}

.bma-artist-item {
  text-align: center;
}

.bma-artist-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.bma-artist-item img:hover {
  transform: scale(1.05);
}

.bma-artist-item .name {
  margin-top: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #222;
  line-height: 1.2;
}

.no-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: #eee;
  border-radius: 12px;
}

#bma-artists-pagination {
  margin-top: 30px;
  text-align: center;
}

#bma-artists-pagination button {
  margin: 0 6px;
  padding: 8px 14px;
  font-size: 14px;
  border: none;
  background: #444;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

#bma-artists-pagination button:hover {
  background: #222;
}

.bma-page-info {
  font-weight: bold;
  margin: 0 10px;
  display: inline-block;
}

.bma-empty {
  text-align: center;
  font-style: italic;
  color: #777;
  padding: 30px 0;
}


