/* post.css — depends on site.css tokens, sits alongside blog.css */

.post-wrap {
  max-width: 720px;
}

.back-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--meta-grey);
  text-decoration: none;
}

.back-link:hover {
  color: var(--ink);
}

.post-head {
  margin: 28px 0 40px;
}

.post-head .meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--meta-grey);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.post-head .meta .dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--meta-grey);
  display: inline-block;
}

.post-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 14px;
}

.post-head .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-head .tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--line-grey);
  border-radius: 999px;
  color: #555;
}

.post-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}

.post-body p {
  margin: 0 0 22px;
}

.post-body h2,
.post-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 36px 0 14px;
}

.post-body h2 { font-size: 30px; }
.post-body h3 { font-size: 24px; }

.post-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-grey);
  text-underline-offset: 3px;
}

.post-body a:hover {
  text-decoration-color: var(--ink);
}

.post-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 8px 0 22px;
}

.post-body blockquote {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 2px solid var(--line-grey);
  color: #444;
}
