/* Notes listing — same design system as articles/projects */

.projects-hero.centered {
  padding: 3rem 2rem 1.5rem !important;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projects-hero.centered .hero-content {
  gap: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.projects-hero.centered .hero-title {
  margin-bottom: 0;
  white-space: nowrap;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 36rem;
  line-height: 1.5;
}

.hero-subtitle a {
  color: var(--accent-primary);
  text-decoration: none;
}

.hero-subtitle a:hover {
  text-decoration: underline;
}

#notes-filter-bar .filter-bar-wrapper {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 1200px;
}

.projects-content {
  padding-bottom: 3rem;
}

#notes-grid.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  align-items: start;
}

.note-card {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.note-card .card-body {
  padding: 1rem;
  gap: 0.5rem;
}

.note-card .card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.note-card .note-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.85;
}

.note-card .card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.note-card .card-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* Individual note pages */
.note-page {
  max-width: 720px;
  margin: 6rem auto 4rem;
  padding: 0 1.5rem;
}

.note-page-header {
  margin-bottom: 2rem;
}

.note-page-header .note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.note-page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.note-body {
  line-height: 1.7;
  color: var(--text-secondary);
}

.note-body p {
  margin-bottom: 1.25rem;
}

.note-body h2 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.note-body ul {
  margin: 0 0 1.25rem 1.25rem;
}

.note-body li {
  margin-bottom: 0.5rem;
}

.note-body a {
  color: var(--accent-primary);
}

.note-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.note-back:hover {
  color: var(--accent-primary);
}

@media (max-width: 768px) {
  .projects-hero.centered .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .projects-hero.centered {
    padding: 2rem 1rem 1rem !important;
  }

  .note-page {
    margin-top: 5rem;
  }
}
