/* Team Member Detail Page Styles */

.prose p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.prose ul,
.prose ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Member detail specific animations */
.member-detail-card {
  animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Social media hover effects */
.social-link {
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sticky sidebar */
@media (min-width: 1024px) {
  .sticky {
    position: sticky;
    top: 2rem;
  }
}

/* Related members hover effect */
.related-member-card {
  transition: all 0.3s ease;
}

.related-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Back button animation */
.back-button {
  transition: all 0.3s ease;
}

.back-button:hover {
  transform: translateX(-4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .aspect-square {
    max-width: 280px;
  }
}
