/*
 * Talents listing (/talents/all). Uses the filter bar from al-projects.css and the tokens from al-samples.css.
 */
.al-tal-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.al-tal {
    position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; background: var(--al-surface);
    border: 1px solid var(--al-border); border-radius: var(--al-radius); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.al-tal:hover { border-color: #cbd5e1; box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 12px 28px rgba(15, 23, 42, .08); transform: translateY(-2px); }
.al-tal:focus-within { border-color: var(--al-accent); box-shadow: 0 0 0 4px var(--al-accent-soft); }
.al-tal__head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.al-tal__avatar { position: relative; flex: none; width: 64px; height: 64px; }
.al-tal__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: var(--al-chip); }
.al-tal__dot { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: #94a3b8; border: 3px solid var(--al-surface); box-sizing: content-box; }
.al-tal__dot.is-online { background: #22c55e; }
.al-tal__who { min-width: 0; }
.al-tal__name { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--al-text); display: flex; align-items: center; gap: 6px; }
.al-tal__name a { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-tal__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--al-radius); }
.al-tal__name a:focus-visible { outline: none; }
.al-tal__name svg { width: 16px; height: 16px; flex: none; color: var(--al-accent); }
.al-tal__user { font-size: 13px; color: var(--al-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-tal__status.is-offline { color: #94a3b8; }
.al-tal__status.is-online { color: #16a34a; }
.al-tal__title {
    margin: 16px 0 0; min-height: 3em; font-size: 15px; line-height: 1.5; color: #334155;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.al-tal__title.is-empty { color: #94a3b8; }
.al-tal__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: 14px; color: var(--al-muted); }
.al-tal__meta span { display: inline-flex; align-items: center; gap: 6px; }
.al-tal__meta svg { width: 14px; height: 14px; flex: none; }
.al-tal__meta strong { color: var(--al-text); }
.al-tal__skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; min-height: 26px; }
.al-tal__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 18px; }
.al-tal__foot > span { font-size: 13px; color: var(--al-muted); }
.al-tal__foot > span strong { color: var(--al-text); }
.al-tal__cta { position: relative; z-index: 2; font-size: 14px; font-weight: 600; color: var(--al-brand-link, #1e2a78); text-decoration: none; }
.al-tal__cta:hover { color: var(--al-accent-strong); }
.al-tal__cta::after { content: " \2192"; }
.al-tal__divider { height: 1px; background: var(--al-border); margin-top: 18px; }
.al-results.is-loading .al-tal-grid { opacity: .5; }

@media (max-width: 1199px) { .al-tal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .al-tal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .al-tal-grid { grid-template-columns: 1fr; } }
