/* Single Author Page Styles */
.single-author-page {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
  min-height: calc(100vh - 200px);
}

/* Header section - как на странице авторов */
.single-author-header {
  margin-top: 120px;
  text-align: center;
  margin-bottom: 40px;
}

.single-author-title {
  font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 48px;
  line-height: 1.2;
  color: #000326;
  margin: 0 0 16px 0;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 16px;
  color: rgba(49, 49, 50, 0.8) !important;
  margin: 0;
}

.breadcrumbs a {
  color: rgba(49, 49, 50, 0.8) !important;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: rgba(49, 49, 50, 0.8) !important;
}

.breadcrumbs__current {
  color: rgba(49, 49, 50, 0.8) !important;
}

/* Author Profile - как на странице авторов */
.single-author-profile {
  text-align: center;
  margin-bottom: 40px;
}

.single-author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #007AFF;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 600;
  margin: 0 auto 24px auto;
  flex-shrink: 0;
}

.single-author-name {
  font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #000326;
  margin: 0 0 16px 0;
  text-align: center;
}

.single-author-description {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(49, 49, 50, 0.5) !important;
}

.single-author-description p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(49, 49, 50, 0.5) !important;
  margin: 0;
  text-align: center;
}

/* Articles section - с отступом 40px */
.single-author-articles {
  margin-top: 40px;
}

.single-author-articles-title {
  font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #000326;
  margin: 0 0 24px 0;
  text-align: center;
}

.single-author-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Article Card Styles - точно как на странице категорий */
.article-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.article-card__image {
  width: 100%;
  height: 285px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 12px;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__placeholder {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
}

.article-card__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 0;
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 4px 8px;
  border-radius: 8px;
  background-color: rgba(247, 247, 247, 1);
}

.article-card__author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #007AFF;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.article-card__author-name {
  font-size: 14px !important;
  color: #000326 !important;
  font-weight: 500 !important;
}

.article-card__author-name a {
  color: #000326 !important;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.article-card__author-name a:hover {
  opacity: 0.8 !important;
}

.article-card__category {
  padding: 6px 8px;
  border-radius: 8px;
  background-color: rgba(247, 247, 247, 1);
  color: rgba(49, 49, 50, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.article-card__category a {
  color: rgba(49, 49, 50, 0.8);
  text-decoration: none;
}

.article-card__category:hover {
  background-color: rgba(240, 240, 240, 1);
}

.article-card__category a:hover {
  color: rgba(0, 3, 38, 1);
}

.article-card__date {
  font-size: 14px;
  color: rgba(49, 49, 50, 0.6);
  margin: 0;
}

.article-card__title {
  margin: 0;
}

.article-card__title a {
  font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 18px;
  line-height: 1.3;
  color: #000326;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.article-card__title a:hover {
  opacity: 0.8;
}

.article-card__excerpt {
  font-size: 14px;
  color: rgba(49, 49, 50, 0.8);
  line-height: 1.5;
  margin: 0;
}

.article-card__link {
  color: #007AFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-card__link:hover {
  color: #0056CC;
}

.article-card__arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
  filter: brightness(0) saturate(100%) invert(34%) sepia(99%) saturate(2594%) hue-rotate(202deg) brightness(98%) contrast(101%);
}

.article-card__link:hover .article-card__arrow {
  transform: translateX(2px);
}

/* Responsive adjustments */
@media (max-width: 1200px) and (min-width: 701px) {
  .single-author-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .single-author-title {
    font-size: 36px;
  }
  
  .single-author-avatar {
    width: 80px;
    height: 80px;
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .single-author-name {
    font-size: 20px;
  }
  
  .single-author-articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}