/* ── Notes list: item text ─────────────────────────────────────────────────── */
.notes-list__title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.notes-list__title a { text-decoration: none; color: var(--ink); }
.notes-list__title a:hover { color: var(--accent); }
.notes-list__permalink {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink-light);
  text-decoration: none;
}
.notes-list__permalink:hover { color: var(--accent); }
/* ── Note single page ──────────────────────────────────────────────────────── */
.note-single {
  max-width: 640px;
  margin: 0 auto;
  padding-top: var(--space-2xl);
}
.note-single__back {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink-light);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2rem;
}
.note-single__back:hover { color: var(--accent); }
.note-single__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.note-single__label {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink-light);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.15em 0.5em;
}
.note-single__date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink-light);
}
.note-single__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}
.note-single__body { line-height: 1.75; }

/* ── Notes listing ──────────────────────────────────────────────────────────── */
.notes-list {
  list-style: none;
  padding: var(--space-2xl) var(--gutter-wide);
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.notes-list__item {
  list-style: none;
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem 2rem;
  padding: var(--space-sm) 0;
  border-bottom: 1px dotted var(--border);
  align-items: start;
}
.notes-list__item:first-child { border-top: 1px dotted var(--border); }
.notes-list__date {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-light);
  padding-top: 0.25rem;
}
.notes-list__body p { margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1.75; }
.notes-list__body p:last-of-type { margin-bottom: 0.5rem; }
@media (max-width: 520px) {
  .notes-list__item { grid-template-columns: 1fr; gap: 0.4rem; }
}

