/* 作者信息区域 */
.author-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.author-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.author-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.author-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
  letter-spacing: -0.02em;
}

.author-description {
  color: #999;
  font-size: 0.9rem;
  text-align: center;
  max-width: 28rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.social-link:hover {
  background: #e8e8e8;
  color: #333;
  transform: translateY(-2px);
}

.dark .author-avatar {
  border-color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark .author-name {
  color: #e0e0e0;
}

.dark .author-description {
  color: #888;
}

.dark .social-link {
  background: #2d2d2d;
  color: #aaa;
  border: 1px solid #3d3d3d;
}

.dark .social-link:hover {
  background: #3d3d3d;
  color: #e0e0e0;
}

@media (max-width: 640px) {
  .author-avatar {
    width: 5rem;
    height: 5rem;
  }

  .author-name {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .author-profile {
    margin-bottom: 2rem !important;
  }

  .author-avatar {
    width: 4.5rem !important;
    height: 4.5rem !important;
    margin-bottom: 0.75rem !important;
  }

  .author-name {
    font-size: 1.4rem !important;
    margin-bottom: 0.35rem !important;
  }

  .author-description {
    font-size: 0.8rem !important;
    max-width: 22rem !important;
  }

  .social-links {
    gap: 0.5rem !important;
    margin-top: 1rem !important;
  }

  .social-link {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
  }
}
