/* Artists directory (/artists) */
.beast-artists {
  --beast-artists-accent: #00acac;
}
.beast-artists__intro {
  margin: 0 0 1.1rem;
  max-width: 36rem;
  color: var(--bs-secondary-color, #6c757d);
  font-size: 0.95rem;
  line-height: 1.45;
}
.beast-artists__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.beast-artists__search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 16rem;
  min-width: 0;
  max-width: 28rem;
  height: 2.15rem;
  min-height: 2.15rem;
  max-height: 2.15rem;
  overflow: hidden;
  border: 1px solid rgba(127, 127, 127, 0.28);
  border-radius: 999px;
  background: var(--bs-body-bg, #fff);
  padding: 0 0.75rem;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.beast-artists__search:focus-within {
  border-color: rgba(0, 172, 172, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 172, 172, 0.15);
}
.beast-artists__search-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.85rem;
  height: 0.85rem;
  opacity: 0.55;
  line-height: 1;
  pointer-events: none;
}
.beast-artists__search-icon .fa {
  display: block;
  font-size: 0.8rem !important;
  line-height: 1 !important;
  width: 0.8rem;
  height: 0.8rem;
  margin: 0;
}
.beast-artists__search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  outline: none;
  box-shadow: none;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}
.beast-artists__search-input::-webkit-search-decoration,
.beast-artists__search-input::-webkit-search-cancel-button,
.beast-artists__search-input::-webkit-search-results-button,
.beast-artists__search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.beast-artists__search-input:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}
.beast-artists__search-input::placeholder {
  color: inherit;
  opacity: 0.45;
}
.beast-artists__grid {
  --bs-gutter-x: 0.7rem;
  --bs-gutter-y: 0.15rem;
}

/* Portrait card */
.artist-card-item {
  margin-bottom: 1.15rem;
}
.artist-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 0.2rem 0.1rem 0.1rem;
  border-radius: 1rem;
  transition: transform 0.18s ease, color 0.15s ease;
}
.artist-card:hover,
.artist-card:focus-visible {
  color: inherit;
  text-decoration: none;
  transform: translateY(-3px);
}
.artist-card:focus-visible {
  outline: 2px solid rgba(0, 172, 172, 0.55);
  outline-offset: 3px;
}
.artist-card__avatar {
  position: relative;
  width: min(100%, 200px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1a1a center / cover no-repeat;
  box-shadow: 0 0 0 2px rgba(127, 127, 127, 0.18);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.artist-card:hover .artist-card__avatar,
.artist-card:focus-visible .artist-card__avatar {
  box-shadow:
    0 0 0 2px rgba(0, 172, 172, 0.55),
    0 10px 22px rgba(0, 0, 0, 0.22);
}
.artist-card__avatar.is-lazy:not(.is-loaded) {
  background-image: none !important;
}
.artist-card__body {
  width: 100%;
  padding: 0.7rem 0.2rem 0;
  min-height: 3.1rem;
}
.artist-card__name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.artist-card__slug {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.2;
  opacity: 0.55;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.beast-artists-empty {
  text-align: center;
  padding: 2.75rem 1rem 2rem;
  opacity: 0.92;
}
.beast-artists-empty__title {
  font-size: 1.15rem;
  font-weight: 650;
  margin: 0 0 0.35rem;
}
.beast-artists-empty__copy {
  margin: 0 auto 1rem;
  max-width: 26rem;
  color: var(--bs-secondary-color, #6c757d);
  font-size: 0.92rem;
}
.beast-artists-empty .btn {
  border-radius: 999px;
}

@media (max-width: 575.98px) {
  .beast-artists__grid {
    --bs-gutter-x: 0.5rem;
  }
  .artist-card {
    padding: 0.1rem 0;
  }
  .artist-card__avatar {
    width: 100%;
    max-width: none;
  }
  .beast-artists__toolbar {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.75rem;
    gap: 0.4rem;
  }
  .beast-artists__search {
    max-width: none;
    height: 1.9rem;
    min-height: 1.9rem;
    max-height: 1.9rem;
    padding: 0 0.65rem;
    gap: 0.4rem;
  }
  .beast-artists__search-icon {
    width: 0.7rem;
    height: 0.7rem;
  }
  .beast-artists__search-icon .fa {
    font-size: 0.7rem !important;
    width: 0.7rem;
    height: 0.7rem;
  }
  .beast-artists__search-input {
    font-size: 16px;
    line-height: 1.9rem;
  }
}
