/* HighFelt authors directory — /yazarlar/ */

.hf-authors {
  --hf-authors-gap: max(20px, 5.5vw);
  --hf-authors-width: 1920px;
  --hf-authors-content: min(var(--hf-authors-width), 100% - var(--hf-authors-gap) * 2);
  --hf-font: "tiktoksans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hf-ink: #120b14;
  --hf-track: #f3f3f3;

  display: grid;
  width: 100%;
  grid-template-columns:
    [full-start] minmax(var(--hf-authors-gap), 1fr)
    [site-start] var(--hf-authors-content)
    [site-end] minmax(var(--hf-authors-gap), 1fr)
    [full-end];
  background: #fff;
  color: var(--hf-ink);
  font-family: var(--hf-font);
  box-sizing: border-box;
}

.hf-authors *,
.hf-authors *::before,
.hf-authors *::after {
  box-sizing: border-box;
}

.hf-authors-inner {
  grid-column: site;
  padding: clamp(32px, 4vw, 64px) 0 clamp(48px, 6vw, 96px);
}

.hf-authors-header {
  padding: 0 0 clamp(20px, 2.5vw, 28px);
  border-bottom: 1px solid #ededed;
}

.hf-authors-heading {
  margin: 0;
  font-family: var(--hf-font);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--hf-ink);
}

.hf-authors-list {
  list-style: none;
  margin: clamp(20px, 2.5vw, 28px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.hf-authors-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: var(--hf-track);
  transition: background 0.15s ease;
}

.hf-authors-card:hover {
  background: #ebebeb;
  text-decoration: none;
}

.hf-authors-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.hf-authors-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ddd;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}

.hf-authors-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hf-authors-name {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
  color: var(--hf-ink);
}

.hf-authors-bio {
  font-size: 14px;
  line-height: 1.4;
  color: #6b6b6b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hf-authors-count {
  font-size: 13px;
  color: #9a9a9a;
}

.hf-authors-empty {
  margin: 0;
  font-size: 16px;
  color: #9a9a9a;
}

@media (max-width: 640px) {
  .hf-authors-heading {
    font-size: 28px;
  }

  .hf-authors-avatar {
    width: 56px;
    height: 56px;
  }
}
