/* ==========================================================================
   Blog post
   The article column with the recent posts beside it. Long-form copy wants a
   smaller measure than the landing sections, so the body sits on --fs-body-sm
   and the headings step down from it rather than from the page scale.
   Loaded only on a single post.
   ========================================================================== */

.post__layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 360px;
  gap:clamp(32px, 3.3vw, 64px);
  align-items:start;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:clamp(16px, 1.4vw, 26px);
  font-size:var(--fs-nav);
  line-height:1.5;
  color:var(--boulder);
}
.breadcrumb a{ color:var(--boulder); }
.breadcrumb a:hover{ color:var(--red); text-decoration:underline; }
.breadcrumb__current{ color:var(--ink); }

/* ---------- Header ---------- */
.post__media{
  margin:0;
  aspect-ratio:825 / 420;
  background:var(--alto);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.post__media img{ width:100%; height:100%; object-fit:cover; }
.post__placeholder{ font-size:var(--fs-body-sm); color:var(--boulder); }

.post__header{ margin-top:clamp(20px, 1.9vw, 36px); }
.post__kicker{
  font-size:var(--fs-nav);
  line-height:1.5;
  font-weight:600;
  color:var(--red);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.post__title{
  margin-top:10px;
  font-size:var(--fs-h1);
  line-height:1.2;
  color:var(--ink);
}
.post__meta{
  margin-top:12px;
  font-size:var(--fs-nav);
  line-height:1.5;
  font-weight:400;
  color:var(--boulder);
}

/* ---------- Body ---------- */
/* Long-form, so these are set here rather than left to the page defaults. */
.post__body{
  margin-top:clamp(24px, 2.2vw, 42px);
  font-size:var(--fs-body-sm);
  line-height:1.6;
  color:var(--ink);
}
.post__body > * + *{ margin-top:1em; }
.post__body h2{
  margin-top:1.6em;
  font-size:var(--fs-day-title);
  line-height:1.3;
}
.post__body h3{
  margin-top:1.4em;
  font-size:var(--fs-h3);
  line-height:1.35;
}
.post__body ul,
.post__body ol{ padding-left:1.4em; }
.post__body ul{ list-style:disc; }
.post__body ol{ list-style:decimal; }
.post__body li + li{ margin-top:.5em; }
.post__body a{ color:var(--red); text-decoration:underline; }
.post__body a:hover{ text-decoration:none; }
.post__body img{ max-width:100%; height:auto; }
.post__body blockquote{
  padding-left:clamp(16px, 1.2vw, 23px);
  border-left:3px solid var(--red);
  font-weight:600;
}
.post__body table{ width:100%; border-collapse:collapse; }
.post__body th,
.post__body td{
  padding:12px 14px;
  border:1px solid var(--gallery);
  text-align:left;
}
.post__body th{ background:var(--concrete); font-weight:700; }

/* ---------- Recent posts ---------- */
.post__aside{
  position:sticky;
  top:calc(var(--header-h) + 24px);
}
.recent__title{
  padding:16px 20px;
  background:var(--red);
  color:var(--white);
  font-size:var(--fs-h3);
  line-height:1.3;
}
.recent{
  padding:4px 20px 8px;
  border:1px solid var(--concrete);
  border-top:0;
  list-style:none;
}
.recent__item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 0;
}
.recent__item + .recent__item{ border-top:1px solid var(--concrete); }
.recent__n{
  flex:none;
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--red);
  color:var(--white);
  font-size:0.8125rem;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}
.recent__link{
  font-size:var(--fs-body-sm);
  line-height:1.35;
  color:var(--ink);
}
.recent__link:hover{ color:var(--red); text-decoration:underline; }

/* ---------- Breakpoints ---------- */
@media (max-width:1024px){
  /* The column is full width here, so the recent posts drop below it and
     stop being sticky. */
  .post__layout{ grid-template-columns:1fr; }
  .post__aside{ position:static; }
}
