/* Artist profile cards — Artists / Naat Khawans / Qari / Scholars */
.na-artist-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.na-artist-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 1.15rem 1rem 1rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.na-artist-card:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #dcdcdc;
}

.na-artist-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.na-artist-avatar {
  position: relative;
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0.15rem 0 0.85rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.na-artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  background: #ececec;
  border: 2px solid #f0f0f0;
  display: block;
}

.na-artist-avatar-badge {
  position: absolute;
  right: -0.1rem;
  bottom: -0.05rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.na-artist-avatar-badge .material-symbols-outlined {
  font-size: 0.95rem;
}

.na-artist-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f0f0f;
  max-width: 100%;
}

.na-artist-name a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.na-artist-name a:hover {
  color: var(--brand-red, #964FFF);
}

.na-artist-role {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #606060;
}

.na-artist-stats {
  margin: 0.3rem 0 0;
  font-size: 0.75rem;
  color: #8a8a8a;
  line-height: 1.35;
}

.na-artist-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #0f0f0f;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.na-artist-cta:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

@media (min-width: 640px) {
  .na-artist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .na-artist-avatar {
    width: 6rem;
    height: 6rem;
  }

  .na-artist-card {
    padding: 1.35rem 1.1rem 1.1rem;
  }
}

@media (min-width: 960px) {
  .na-artist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .na-artist-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
