/* The blog's own pages, in the site's frame (site.css: the bar, the footer) on the design system's tiles and covers: the
   posts as tiles with their covers set in, and a post to read. */
/* ---- the index: a tile per post, its cover set in */
.blog-head {
  max-width: 680px;
  margin: 24px 0 40px;
}
.blog,
.post {
  padding-bottom: 72px;
}
.blog h1,
.post h1,
.post .prose h2 {
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.blog-head h1 {
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 750;
}
.blog-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 20px;
}
.posts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: calc(var(--gap) + var(--depth-tile));
}
@media (min-width: 760px) {
  .posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.post-tile {
  display: grid;
  align-content: start;
  justify-content: stretch;
  gap: 0;
  height: 100%;
  padding: 0 0 22px;
  border-radius: var(--round-tile);
  text-align: left;
  font-weight: 400;
}
.post-words {
  display: grid;
  gap: 6px;
  padding: 6px 22px 0;
}
.post-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.post-day {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.post-lede {
  font-size: 21px;
}
.post-draft {
  justify-self: start;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 16px;
  background: var(--well);
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--ink) 12%, transparent);
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

/* ---- a post: its cover on a flat panel, then the words at a reading width */
.post article {
  max-width: 720px;
  margin: 0 auto;
}
.post-head {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}
.post-head .post-cover {
  margin-bottom: 14px;
  background: var(--panel);
}
.post-head h1 {
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 750;
}
.post-head .post-lede {
  font-size: clamp(20px, 2.6vw, 23px);
}
.post-meta {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}
.post .prose {
  padding-bottom: 0;
  font-size: 19px;
}
.post .prose > * + * {
  margin-top: 1em;
}
.post .prose h2 {
  margin-top: 2em;
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 700;
}
.post .prose a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
/* The board's own words, on a flat panel */
.post .prose blockquote {
  padding: 18px 22px;
  border-radius: var(--round-tile);
  background: var(--panel);
  font-size: 20px;
  transition: background-color var(--recolour) ease;
}
.post .prose blockquote p + p {
  margin-top: 0.6em;
}
.post-end {
  margin-top: 56px;
}
