/* Minimalist style with sidebar */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-size: 16px;
}

/* Navigation */
nav {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

nav a {
  margin-right: 1.5rem;
  color: #666;
}

nav a:hover {
  color: #0066cc;
  text-decoration: none;
}

/* Two-column layout */
.page-layout {
  display: flex;
  gap: 3rem;
}

/* Sidebar */
.sidebar {
  width: 150px;
  flex-shrink: 0;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.sidebar-links a {
  color: #555;
  font-size: 0.9rem;
  text-decoration: none;
}

.sidebar-links a:hover {
  color: #0066cc;
}

/* Main content */
.main-content {
  flex: 1;
  min-width: 0;
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Links */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  margin-bottom: 2rem;
}

header .subtitle {
  color: #555;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Sections */
section {
  margin-bottom: 2rem;
}

/* Publication list */
.pub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-list li {
  margin-bottom: 1rem;
}

.pub-list li strong {
  font-weight: 600;
}

/* Publication links [pdf] [code] etc */
.pub-link {
  font-size: 0.85rem;
  color: #0066cc;
  margin-left: 0.25rem;
  text-decoration: none;
}

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

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  font-size: 0.9rem;
  color: #888;
  text-align: center;
}

/* Responsive */
@media (max-width: 700px) {
  .page-layout {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .sidebar-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  body {
    padding: 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
}
