:root {
  --bg: #fff;
  --text: #1a1a1a;
  --muted: #888;
  --border: #e0e0e0;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  line-height: 1.7;
  padding: 4rem 2rem;
  max-width: 680px;
  margin: 0 auto;
}

header {
  margin-bottom: 2rem;
}

.cover {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 2rem;
}

header a {
  text-decoration: none;
  color: var(--text);
  font-size: 1.4rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb span {
  color: var(--text);
}


.section-label {
  font-size: 1rem;
  font-weight: bold;
  margin: 2rem 0 0.5rem;
}

h2 {
  margin-top: 2rem;
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

li {
  font-size: 1rem;
  padding: 0.2rem 0;
}

.muted {
  color: var(--text);
}

nav {
  margin-top: 2rem;
  font-size: 1rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-right: 1.5rem;
}

nav a:hover {
  color: var(--muted);
}

.content img {
  width: 100%;
  display: block;
  margin: 1.5rem 0;
}

.timestamp {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

blockquote {
  margin: 2rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--text);
}

blockquote p {
  margin: 0 0 1rem 0;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card-note {
  text-decoration: none;
  color: var(--text);
  display: block;
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-note img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.card-title {
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem 0.2rem;
  margin: 0;
}

.card-date {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0 0.8rem 0.6rem;
  margin: 0;
}

.card-note:hover {
  border-color: var(--text);
}

.scrapbook-item {
  margin-bottom: 3rem;
}

.scrapbook-item img {
  width: 100%;
  display: block;
  margin-bottom: 0.5rem;
}

.scrapbook-caption {
  font-size: 0.85rem;
  color: var(--muted);
}

.footnotes {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footnotes hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 1rem;
}

.footnotes ol {
  padding-left: 1.2rem;
}

.footnotes li {
  padding: 0.2rem 0;
  font-size: 0.85rem;
}

.footnotes a {
  color: var(--muted);
}

sup {
  font-size: 0.7rem;
  line-height: 0;
}

@media (max-width: 600px) {
  body {
    padding: 2rem 1.2rem;
  }
  .cover {
    height: 200px;
  }
}
