.trilha-autor,
.trilha-etapas,
.card-autor {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  min-width: 0;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.trilha-autor {
  padding: 0;
}

.card-autor {
  margin-bottom: var(--spacing-sm);
}

.trilha-autor svg,
.trilha-etapas svg,
.card-autor svg {
  color: var(--color-primary);
  flex: 0 0 auto;
  opacity: 0.7;
}

.trilha-autor-avatar,
.card-autor-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.trilha-autor-nome,
.card-autor-nome {
  color: inherit;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-attribution-link {
  color: inherit;
  text-decoration: none;
}

.author-attribution-link:hover,
.author-attribution-link:focus {
  color: var(--color-primary);
  text-decoration: none;
}

.tag-autor {
  background: linear-gradient(135deg, #e8f5e8, #c8e6c9) !important;
  color: #2e7d32 !important;
}

.tag-autor-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  color: #2e7d32;
  text-decoration: none;
}

.tag-autor-wrap svg {
  width: 14px;
  height: 14px;
  color: #2e7d32;
  flex: 0 0 auto;
}

.tag-autor-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.tag-autor-wrap .tag-autor {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 576px) {
  .trilha-autor,
  .trilha-etapas {
    font-size: var(--font-size-sm);
  }
}
