* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
}

header {
  border-bottom: 2px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

header h1 {
  margin: 0 0 10px 0;
  font-size: 2em;
}

header h1 a {
  color: #333;
  text-decoration: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

nav a:hover {
  text-decoration: underline;
}

main {
  margin: 30px 0;
}

h1, h2, h3 {
  color: #222;
  margin-top: 1.5em;
}

h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.2em; }

.paper-meta {
  background: #f9f9f9;
  padding: 15px;
  border-left: 3px solid #0066cc;
  margin: 20px 0;
  font-size: 0.9em;
}

.paper-meta p {
  margin: 5px 0;
}

.paper-list {
  list-style: none;
  padding: 0;
}

.paper-list li {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.paper-list h2 {
  margin-top: 0;
}

.paper-list h2 a {
  color: #333;
  text-decoration: none;
}

.paper-list h2 a:hover {
  color: #0066cc;
}

.taxonomies {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.taxonomy-tag {
  background: #e8f4f8;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85em;
  color: #0066cc;
  text-decoration: none;
  display: inline-block;
}

.taxonomy-tag:hover {
  background: #d0e8f0;
}

.taxonomy-list {
  list-style: none;
  padding: 0;
}

.taxonomy-list li {
  margin: 10px 0;
}

.taxonomy-list li a {
  color: #0066cc;
  text-decoration: none;
}

.taxonomy-list li a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 0.9em;
}

code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background: #f4f4f4;
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
}
