body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #333;
  line-height: 1.6;
}

.navbar {
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand a {
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: #666;
  font-weight: 500;
}

.nav-links a:hover {
  color: #333;
}

.container {
  max-width: 900px;
  margin: 1rem auto;
  padding: 0.5rem 1rem;
}

/* Home page styles */
.home-page {
  max-width: 100%;
}

.profile-section {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.profile-column {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
}

.profile-column img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.profile-column img.circular {
  border-radius: 50%;
}

.content-column {
  flex: 1;
  min-width: 0;
}

.subtitle-below {
  font-size: 1.3rem;
  color: #666;
  font-weight: 500;
  line-height: 1.4;
  max-width: 400px;
  text-align: center;
}

/* About page styles */
.about-page {
  max-width: 100%;
}

.subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Publications styles */
.publications-page h1, .publications-page h2 {
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

.paper-item {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border-left: 3px solid #eee;
}

.paper-item.selected {
  border-left-color: #0366d6;
}

.paper-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.paper-type-icon {
  font-size: 1rem;
  margin-right: 0.25rem;
}

.type-journal {
  border-left-color: #28a745;
}

.type-chapter {
  border-left-color: #ffc107;
}

.type-report {
  border-left-color: #dc3545;
}

.paper-number {
  color: #666;
  font-weight: 400;
  font-size: 1rem;
  min-width: 2rem;
  flex-shrink: 0;
}

.paper-item h3 {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
  flex: 1;
}

.authors {
  color: #666;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.publication-info {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.paper-links a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #0366d6;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.paper-links a:hover {
  background: #024ea4;
}

/* Footer styles */
.footer {
  margin-top: 4rem;
  padding: 2rem 0;
  background: #f8f9fa;
  border-top: 1px solid #eee;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links a {
  color: #0366d6;
  text-decoration: none;
  font-weight: 500;
}

.social-links a:hover {
  text-decoration: underline;
}

.footer-text p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .profile-column {
    flex: none;
  }
  
  .profile-column img {
    width: 220px;
    height: 220px;
  }
  
  .content-column {
    text-align: center;
  }
  
  .subtitle-below {
    max-width: 300px;
    text-align: center;
  }
  
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links a {
    margin: 0 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

