/**
 * OTHPArtists Frontend CSS
 *
 * What it does:
 * - Forces OTHP artist cards (rendered by [sc4_othp_artists]) into rows of 3.
 * - Relies on ArtistMeta's frontend.css for the actual card look (border/glow).
 *
 * What calls it / what it calls:
 * - Enqueued by OTHPArtists\Shortcodes\ArtistCardsShortcode::render().
 * - Depends on `sc4-artistmeta-frontend` being enqueued first.
 */

/* 3-up grid on desktop, then 2-up, then 1-up */
.othp-artist-cards.sc4-artist-profile-group{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px){
  .othp-artist-cards.sc4-artist-profile-group{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px){
  .othp-artist-cards.sc4-artist-profile-group{
    grid-template-columns: 1fr;
  }
}

/* fix188: follow toggle spacing */
.othp-artist-card__follow{
  margin: 6px 0 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.othp-artist-card__follow .sc4-follow-toggle,
.othp-artist-card__follow .sc4-btn{
  cursor: pointer;
}

/* fix250: Certified Crispy stamp */
.othp-artist-card{
  position: relative;
}

.othp-artist-card__crispy{
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
}
