/* Blog index and posts. The palette, type, and chrome live in styles.css. */

.blog { padding: 120px 0 96px; }
.blog .wrap { max-width: 720px; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--text-3);
}
.crumbs li { max-width: 100%; overflow-wrap: break-word; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current="page"] { color: var(--text-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; }

.blog h1 {
  margin-top: 18px;
  font-size: clamp(40px, 6vw, 64px);
}
.blog .intro {
  margin-top: 16px;
  max-width: 40rem;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  color: var(--text-2);
  text-wrap: pretty;
}

.empty {
  margin-top: 48px;
  padding: 56px 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  text-align: center;
}
.empty h2 {
  font-size: 22px;
  letter-spacing: -0.015em;
}
.empty p { margin-top: 8px; color: var(--text-2); }

.post-list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.post-list a {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
}
.post-list li:last-child a { border-bottom: 1px solid var(--hairline); }
.post-list time {
  display: block;
  font-size: 13px;
  color: var(--text-3);
}
.post-list h2 {
  margin-top: 6px;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
}
.post-list p { margin-top: 8px; color: var(--text-2); }
.post-list a:hover h2 { text-decoration: underline; text-decoration-color: var(--text-3); text-underline-offset: 3px; }

.byline {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 15px;
}

.body {
  margin-top: 36px;
  overflow-wrap: break-word;
}
.body h2 {
  margin-top: 44px;
  font-size: 26px;
  letter-spacing: -0.015em;
}
.body h3 {
  margin-top: 28px;
  font-size: 18px;
  letter-spacing: 0;
}
.body p,
.body ul,
.body ol,
.body blockquote { margin-top: 14px; color: var(--text-2); }
.body ul,
.body ol { padding-left: 1.25em; }
.body li + li { margin-top: 8px; }
.body strong { color: var(--text); font-weight: 600; }
.body a { text-decoration-color: var(--text-3); text-underline-offset: 3px; }
.body blockquote {
  margin-left: 0;
  padding-left: 16px;
  border-left: 2px solid var(--hairline);
}
.body code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}
