/* Basic CSS for SSR pages */
body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #1f2937;
}

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

.header {
  background: #1e40af;
  color: white;
  padding: 1rem 0;
}

.header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.nav {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.5rem 0;
}

.nav a {
  color: #475569;
  text-decoration: none;
  margin-right: 1.5rem;
  font-weight: 500;
}

.nav a:hover {
  color: #1e40af;
}

.breadcrumb {
  padding: 1rem 0;
  color: #64748b;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: #1e40af;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.author-header {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}

.author-image {
  flex-shrink: 0;
}

.author-image img {
  width: 192px;
  height: 256px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.author-content {
  flex: 1;
}

.author-bio {
  color: #374151;
  margin-bottom: 1.5rem;
}

.series-section {
  margin: 3rem 0;
}

.series-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.books-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d1d5db;
  margin-bottom: 2rem;
}

.books-table td {
  padding: 0.75rem;
  border-right: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
  vertical-align: top;
}

.books-table td:first-child {
  font-weight: 600;
  width: 40%;
}

.books-table td:nth-child(2) {
  text-align: center;
  width: 15%;
}

.books-table td:last-child {
  width: 45%;
}

.amazon-link {
  color: #2563eb;
  text-decoration: none;
}

.amazon-link:hover {
  text-decoration: underline;
}

.similar-authors {
  margin: 3rem 0;
}

.similar-authors ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.similar-authors li {
  margin: 0.5rem 0;
}

.newsletter {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
  color: #64748b;
}

/* Responsive design */
@media (max-width: 768px) {
  .author-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .author-image {
    align-self: center;
  }
  
  .author-image img {
    width: 144px;
    height: 192px;
  }
  
  .books-table td {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
  
  .nav a {
    margin-right: 1rem;
    font-size: 0.875rem;
  }
}