/**
 * Author Page Styles - Premium Cinematic
 * Clean Architecture: scoped overrides for /blog/author.html
 */

.author-hero {
  position: relative;
  background: transparent;
  width: 100%;
  padding: 11rem 1.5rem 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* Background Atmospheric Glow */
.author-hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(45, 212, 191, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Loading & Empty States */
.author-hero .loading,
.author-hero .empty-state,
.posts-section .loading,
.posts-section .empty-state {
  text-align: center;
  padding: 6rem 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Inter', sans-serif;
}

.empty-state i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.empty-state h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* Spinners */
.author-hero .spinner,
.posts-section .spinner {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #2dd4bf;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Posts section */
.posts-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
  color: #fff;
  letter-spacing: -0.02em;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .author-hero-content {
    padding: 2.5rem;
    gap: 3rem;
  }

  .author-info {
    padding-left: 2rem;
  }
}

@media (max-width: 768px) {
  .author-hero {
    padding: 9rem 1rem 3rem;
  }

  .author-hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .author-info {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 2rem;
    text-align: center;
  }

  .author-avatar {
    width: 160px;
    height: 160px;
  }

  .author-bio {
    font-size: 1.05rem;
  }
}