/* Authors Page Styles */

/* Authors Header */
.authors-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 0 2rem;
  text-align: center;
}

.authors-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.authors-title {
  font-size: 3rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
}

.authors-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #212529;
  border-radius: 2px;
}

.authors-description {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Authors Section */
.authors-section {
  padding: 3rem 0;
  background-color: #f8f9fa;
}

.authors-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Authors Grid */
.authors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* Author Card - Horizontal Layout */
.author-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 200px;
}

.author-card:hover {
  transform: scale(1.005);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Author Image */
.author-image {
  padding: 2rem;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e9ecef;
  transition: all 0.3s ease;
}

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

.author-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #e9ecef;
  transition: all 0.3s ease;
}

.author-card:hover .author-avatar-placeholder {
  border-color: #212529;
  transform: scale(1.05);
}

.author-avatar-placeholder i {
  font-size: 3rem;
  color: #6c757d;
}

/* Author Info */
.author-info {
  padding: 2rem;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.author-bio {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Author Stats */
.author-stats {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.stat-item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  background: #f8f9fa;
  border-radius: 20px;
  transition: all 0.3s ease;
  gap: 0.5rem;
  width: fit-content;
  border: 1px solid #e9ecef;
}

.stat-number {
  font-size: 1rem;
  font-weight: 700;
  color: #6c757d;
}

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* No Authors State */
.no-authors {
  text-align: center;
  padding: 4rem 2rem;
  color: #6c757d;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-authors i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}

.no-authors h3 {
  font-size: 1.5rem;
  color: #495057;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.no-authors p {
  font-size: 1rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .authors-header {
    padding: 2rem 0 1.5rem;
  }
  
  .authors-header .container {
    padding: 0 1rem;
  }
  
  .authors-section .container {
    padding: 0 1rem;
  }
  
  .authors-title {
    font-size: 2rem;
  }
  
  .authors-description {
    font-size: 1rem;
  }
  
  /* Switch to vertical layout on mobile */
  .author-card {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }
  
  .author-image {
    padding: 2rem 2rem 1rem;
    justify-content: center;
  }
  
  .author-info {
    padding: 1rem 2rem 2rem;
    text-align: center;
  }
  
  .stat-item {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }
  
  .author-avatar,
  .author-avatar-placeholder {
    width: 100px;
    height: 100px;
  }
  
  .author-avatar-placeholder i {
    font-size: 2.5rem;
  }
  
  .author-name {
    font-size: 1.2rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
}