/* Author profile styling */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

/* Avatar styling */
.author-avatar {
  transition: transform 0.3s ease;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.author-avatar:hover {
  transform: scale(1.05);
}

/* Author grid styling */
.author-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.author-card {
  background-color: var(--card-bg);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.author-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
