/* ===================================================================
   Author Bio Component
   Reusable author biography section for articles and posts
   =================================================================== */

/* ===== AUTHOR BIO SECTION ===== */
.author-bio-section {
  background: white;
  padding: 50px 0;
  border-top: 1px solid #f5f5f5;
}

.author-bio-card {
  background: #fafbfc;
  border: 1px solid #e1e5e9;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-normal);
}

.author-bio-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ===== AUTHOR AVATAR ===== */
.author-avatar {
  flex-shrink: 0;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 122, 89, 0.3);
  transition: all var(--transition-normal);
}

.author-image:hover {
  transform: scale(1.05);
  border-color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(255, 122, 89, 0.4);
}

/* ===== AUTHOR INFO ===== */
.author-info {
  flex: 1;
  min-width: 0;
}

.author-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.author-name {
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-color);
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-primary);
}

.author-badge {
  background: #e5f3ff;
  color: #0066cc;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.author-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
  font-family: var(--font-primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .author-bio-section {
    padding: 30px 0;
  }
  
  .author-bio-card {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .author-header {
    justify-content: center;
    margin-bottom: 8px;
  }
  
  .author-image {
    width: 50px;
    height: 50px;
    border-width: 2px;
  }
  
  .author-name {
    font-size: 1rem;
  }
  
  .author-description {
    font-size: 0.9rem;
  }
}