/* ======================================
   TIJDVERDRIJF - ARTISTS PAGE
   ====================================== */

.artists-filters {
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Identity-role filter pills turn white when active (matching the role tags on
   the cards). Scoped to #artist-filters so the genre filter row below keeps the
   yellow accent and the shared .filter-pill on other pages is untouched. */
#artist-filters .filter-pill.active {
  border-color: var(--text);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

#artist-filters .filter-pill.active .filter-count {
  color: var(--text);
}

.genre-filters {
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--border);
}

.genre-filters.disabled .filter-pill {
  opacity: 0.3;
  pointer-events: none;
}

.genre-filters.disabled .genre-all-overlay {
  pointer-events: none;
  opacity: 0.3;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.artist-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px 22px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.artist-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  border-color: var(--border);
}

.artist-avatar,
.artist-avatar-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: block;
  background: var(--border-subtle);
}

.artist-avatar {
  object-fit: cover;
}

.artist-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 36px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.artist-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.artist-city {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.artist-tags {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  /* Clamp to 2 rows: 2 pills (22px) + 1 row gap (6px). overflow hides any
     third row entirely (the gap above it sits past the cutoff). */
  max-height: 50px;
  overflow: hidden;
}

.artist-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.artist-genres {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  /* Clamp to 2 rows: 2 pills (24px) + 1 row gap (6px). */
  max-height: 54px;
  overflow: hidden;
}

.artist-genre-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 3px 10px;
  border: 1px solid rgba(236, 255, 12, 0.3);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(236, 255, 12, 0.04);
}

.artist-bio {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}

.artists-loading,
.artists-empty {
  font-family: var(--font-body);
  color: var(--text-secondary);
  text-align: center;
  padding: 48px 0;
}

.artists-empty p {
  margin: 0 0 4px;
}

.artists-empty-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.artists-empty-cta:hover {
  opacity: 0.75;
  text-decoration: none;
}

@media (max-width: 720px) {
  .artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .artists-grid {
    grid-template-columns: 1fr;
  }
  .artist-avatar,
  .artist-avatar-initials {
    width: 96px;
    height: 96px;
  }
  .artist-avatar-initials {
    font-size: 28px;
  }
}
