/* Search-style results for notebooks list */
.notebooks-list {
  max-width: 900px;
  margin: 2rem auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.notebook-item {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.2s, transform 0.2s;
}

.notebook-item:hover {
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.notebook-title {
  display: block;
  font-size: 1.25rem;
  color: #0066cc;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.notebook-title:hover {
  text-decoration: underline;
}

.notebook-number {
  font-weight: 600;
}

.notebook-metadata {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background-color: #fafafa;
  margin: 0.75rem -1.5rem 1.25rem -1.5rem;
  padding: 0.75rem 1.5rem;
}

.date-range {
  display: block;
  color: #0066cc;
  font-weight: 600;
}

.locations {
  display: block;
  color: #666;
}

.locations::before {
  content: "📍 ";
  margin-right: 0.25rem;
}

.publication-info {
  flex-basis: 100%;
  margin: 0.5rem 0;
  font-style: italic;
  color: #555;
  font-weight: 400;
  padding: 0.25rem 0.5rem;
  background-color: #f0f8ff;
  border-radius: 0.25rem;
  font-size: 0.9rem;
}

.notebook-content {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.9375rem;
  color: #333;
}

/* Override any conflicting styles from landing.css */
.catalogue {
  padding: 0;
}

.catalogue ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.catalogue li {
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .notebooks-list {
    padding: 0 1rem;
  }
}

.notebook-item.unedited {
  background-color: #f8f8f8;
  color: #666;
  border-color: #ddd;
}

.notebook-item.unedited .notebook-title {
  color: #666;
}

.notebook-item.unedited .notebook-content {
  color: #777;
}