/* Author Box Styles - Only for single posts */
.article-author-box {
  display: flex;
  gap: 20px;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 12px;
  margin: 40px 0;
}

.author-box-avatar {
  flex-shrink: 0;
}

.author-box-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.author-box-info {
  flex: 1;
}

.author-box-header {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.author-box-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-right: 4px;
}

.author-box-position {
  color: #667eea;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  top: 1px; /* чуть ближе к тексту */
}


.author-box-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.author-box-name a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.author-box-name a:hover {
  color: #667eea;
}

.author-box-position {
  color: #667eea;
  font-size: 14px;
  font-weight: 600;
}

.author-box-bio {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0 15px 0;
}

.author-box-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.author-box-links a {
  padding: 6px 14px;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e5e5e5;
  transition: all 0.3s;
}

.author-box-links a:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.author-box-links .view-profile {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.author-box-links .view-profile:hover {
  background: #764ba2;
  border-color: #764ba2;
}

/* Mobile */
@media (max-width: 640px) {
  .article
