/* Commonplace — blog-only additions layered over the shared family
 * stylesheet (css/style.css, copied from RiteAndRubric/shared).
 * Keep everything blog-specific here so style.css can be re-copied
 * verbatim when the upstream shared file changes. */

header.site .tagline {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* post list (index page) */
.post-entry { margin: 2rem 0; }
.post-date {
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}
.post-entry .post-title {
  font-weight: normal;
  font-size: 1.35rem;
  margin: 0.15rem 0 0.3rem;
}
.post-entry .post-title a { text-decoration: none; color: var(--ink); }
.post-entry .post-title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.18em;
}
.post-entry .post-desc { margin: 0; color: var(--muted); }

/* single post */
article.post .post-head { text-align: center; margin: 1.6rem 0 1.4rem; }
article.post .post-head h1 {
  font-size: 1.55rem;
  font-weight: normal;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  margin: 0.2rem 0 0;
}
article.post h2 {
  text-align: center;
  font-variant: small-caps;
  font-weight: normal;
  letter-spacing: 0.1em;
  font-size: 1.15rem;
  margin: 1.8rem 0 0.7rem;
}
article.post h3 {
  font-weight: normal;
  font-style: italic;
  font-size: 1.05rem;
  margin: 1.4rem 0 0.5rem;
}
article.post a {
  text-decoration-color: var(--gold);
  text-underline-offset: 0.18em;
}
article.post blockquote {
  margin: 1rem 0;
  padding: 0.2rem 1rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-style: italic;
}
article.post code {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 0.25em;
  font-size: 0.9em;
}
article.post pre {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
  overflow-x: auto;
}
article.post pre code { background: none; border: none; padding: 0; }
article.post img { max-width: 100%; height: auto; }
article.post hr {
  border: none;
  border-top: 1px solid var(--line);
  width: 60%;
  margin: 2rem auto;
}

/* footnotes */
article.post .fn-ref {
  font-size: 0.7em;
  line-height: 0;
  margin-left: 0.08em;
}
article.post .fn-ref a { text-decoration: none; }
article.post .footnotes {
  margin-top: 2.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
article.post .footnotes ol { padding-left: 1.3rem; }
article.post .footnotes li { margin: 0.25rem 0; }
article.post .fn-back {
  text-decoration: none;
  margin-left: 0.2em;
}
