/* Artists directory (themes/_base/sections/artists + components/artist_socials). Token-only. */

/* ---- Header band ---------------------------------------------------------------------- */
.zt-artists-hero { padding: 72px 0 60px; }
.zt-artists-hero__eyebrow {
    display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
    font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    background: color-mix(in srgb, var(--z-hero-ink) 14%, transparent);
}
.zt-artists-count {
    display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; padding: 7px 16px; border-radius: 999px;
    font-size: .875rem; font-weight: 700; white-space: nowrap;
    border: 1px solid color-mix(in srgb, var(--z-hero-ink) 30%, transparent);
    background: color-mix(in srgb, var(--z-hero-ink) 12%, transparent);
}

/* ---- Search + genre buttons ----------------------------------------------------------- */
.zt-artists-filters { padding: 28px 0 0; }
.zt-artists-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; }
.zt-artists-search { position: relative; flex: 1 1 260px; min-width: 0; }
.zt-artists-search > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--z-muted); font-size: .85rem; pointer-events: none; }
.zt-artists-search input {
    width: 100%; min-width: 0; min-height: 46px; padding: 11px 44px 11px 40px; font: inherit; font-size: 1rem;
    color: var(--z-text); background: var(--z-surface-2); border: 1px solid var(--z-border); border-radius: var(--z-radius);
}
.zt-artists-search input::placeholder { color: var(--z-muted); opacity: .8; }
.zt-artists-search input:focus { outline: none; border-color: var(--z-accent-text); box-shadow: 0 0 0 3px var(--z-accent-soft); background: var(--z-surface); }
.zt-artists-search__clear {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--z-muted); background: var(--z-surface); border: 1px solid var(--z-border); font-size: .8rem; text-decoration: none;
}
.zt-artists-search__clear:hover { color: var(--z-text); text-decoration: none; }
.zt-artists-search__btn { flex: 0 0 auto; }
@media (max-width: 479px) { .zt-artists-search__btn { flex: 1 1 100%; } }
.zt-artists-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.zt-artists-chip {
    display: inline-flex; align-items: center; min-height: 38px; padding: 7px 16px; border-radius: 999px;
    font-size: .875rem; font-weight: 600; text-decoration: none;
    color: var(--z-text); background: var(--z-surface); border: 1px solid var(--z-border);
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.zt-artists-chip:hover { text-decoration: none; color: var(--z-accent-text); border-color: var(--z-accent-text); }
.zt-artists-chip.is-active { color: var(--z-accent-ink); background: var(--z-accent); border-color: var(--z-accent); }

/* ---- Cards ---------------------------------------------------------------------------- */
.zt-artists-grid-sec { padding: 28px 0 80px; }
.zt-artists-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .zt-artists-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .zt-artists-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .zt-artists-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.zt-artists-card { display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.zt-artists-card:hover { transform: translateY(-2px); box-shadow: var(--z-shadow-lg); border-color: color-mix(in srgb, var(--z-accent) 35%, var(--z-border)); }
.zt-artists-card__banner { position: relative; height: 88px; overflow: hidden; background: var(--z-surface-2); border-bottom: 1px solid var(--z-border); }
.zt-artists-card__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zt-artists-card__banner--plain { background: linear-gradient(135deg, var(--z-hero-from), var(--z-hero-to)); opacity: .85; }
.zt-artists-card__figure { position: relative; z-index: 1; margin-top: -34px; padding: 0 18px; }
.zt-artists-card__avatar {
    width: 64px; height: 64px; border-radius: var(--z-radius); object-fit: cover; display: block;
    border: 3px solid var(--z-surface); background: var(--z-surface-2); box-shadow: var(--z-shadow);
}
.zt-artists-card__avatar--initials {
    display: flex; align-items: center; justify-content: center;
    color: var(--z-accent-text); background: var(--z-accent-soft);
    font-family: var(--z-font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: .02em;
}
.zt-artists-card__body { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 14px 18px 18px; }
.zt-artists-card__text { flex: 1 1 auto; min-width: 0; }
.zt-artists-card__name { font-size: 1.0625rem; font-weight: 800; margin: 0; line-height: 1.25; overflow-wrap: anywhere; }
.zt-artists-card__genre {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--z-accent-text);
}
.zt-artists-card__desc {
    margin: 10px 0 0; font-size: .875rem; line-height: 1.6; color: var(--z-muted);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.zt-artists-card__events { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--z-border); }
.zt-artists-micro { margin: 0 0 8px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--z-muted); }
.zt-artists-micro i { margin-right: 4px; }
.zt-artists-dots { display: flex; align-items: center; }
.zt-artists-dot {
    width: 32px; height: 32px; flex: 0 0 auto; margin-left: -9px; border-radius: 999px; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--z-accent-text); background: var(--z-accent-soft); border: 2px solid var(--z-surface); font-size: .7rem;
}
.zt-artists-dot:first-child { margin-left: 0; }
.zt-artists-dot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zt-artists-dot--more { font-size: .7rem; font-weight: 800; }
/* The links row is always there (32px tall even when empty), so the rule above the button sits
   at the same height in every card of a row. */
.zt-artists-card__socials { display: flex; align-items: center; min-height: 47px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--z-border); }
.zt-artists-card__socials .zt-artist-socials { flex-wrap: nowrap; gap: 6px; }
.zt-artists-card__socials .zt-artist-social { width: 32px; height: 32px; font-size: .8rem; }
.zt-artists-card__cta { margin-top: 14px; }
.zt-artists-card__cta i { font-size: .75rem; }
@media (prefers-reduced-motion: reduce) { .zt-artists-card, .zt-artists-chip { transition: none; } .zt-artists-card:hover { transform: none; } }

/* ---- Artist links (components/artist_socials.php) -------------------------------------- */
.zt-artist-socials { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.zt-artist-social {
    width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center; font-size: .875rem; text-decoration: none;
    color: var(--z-muted); background: var(--z-surface); border: 1px solid var(--z-border);
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.zt-artist-social:hover { text-decoration: none; color: var(--z-accent-text); border-color: var(--z-accent-text); background: var(--z-accent-soft); }
.zt-artist-social--more { font-size: .72rem; font-weight: 800; color: var(--z-text); background: var(--z-surface-2); }

/* ---- Nothing found -------------------------------------------------------------------- */
.zt-artists-empty { text-align: center; padding: 52px 24px; }
.zt-artists-empty__icon {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: var(--z-radius);
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
    color: var(--z-accent-text); background: var(--z-accent-soft);
}
.zt-artists-empty__title { font-size: 1.25rem; font-weight: 800; margin: 0; }
.zt-artists-empty__text { max-width: 46ch; margin: 8px auto 20px; line-height: 1.6; overflow-wrap: anywhere; }
.zt-artists-empty__text strong { color: var(--z-text); }
