/* Blog post (article) styles — shared by every /blog/{slug}.html */

.post-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 32px 32px;
}
.post-hero .crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hcoms-grey-500);
  margin-bottom: 20px;
}
.post-hero .crumbs a {
  color: var(--hcoms-blue);
  text-decoration: none;
}
.post-hero .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hcoms-blue);
  background: var(--hcoms-blue-50);
  padding: 4px 10px;
  border-radius: 4px;
}
.post-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 18px 0 16px;
  color: var(--hcoms-ink);
}
.post-hero .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hcoms-grey-500);
}
.post-hero .meta span + span::before {
  content: "·";
  margin: 0 8px;
  color: var(--hcoms-grey-300);
}

.post-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 32px 96px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--hcoms-grey-900);
}
.post-article > p:first-of-type {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--hcoms-grey-900);
  margin-top: 32px;
}
.post-article p { margin: 0 0 22px; }
.post-article h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 56px 0 16px;
  color: var(--hcoms-ink);
}
.post-article h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
  color: var(--hcoms-ink);
}
.post-article a {
  color: var(--hcoms-blue-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.post-article a:hover { color: var(--hcoms-blue); }
.post-article ul, .post-article ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.post-article li { margin-bottom: 8px; }
.post-article strong { font-weight: 600; color: var(--hcoms-ink); }
.post-article code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--hcoms-grey-100);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--hcoms-ink);
}
.post-article pre {
  background: var(--hcoms-ink);
  color: #f4f4f5;
  padding: 20px 24px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}
.post-article pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.post-article blockquote {
  border-left: 3px solid var(--hcoms-blue);
  margin: 0 0 24px;
  padding: 8px 0 8px 24px;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--hcoms-grey-700);
  font-style: italic;
}
.post-article hr {
  border: none;
  border-top: 1px solid var(--hcoms-grey-200);
  margin: 48px 0;
}

/* Author / date footer */
.post-foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--hcoms-grey-200);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hcoms-grey-500);
}
.post-foot a {
  color: var(--hcoms-blue);
  text-decoration: none;
}

/* Related posts */
.post-related {
  background: var(--hcoms-grey-50);
  border-top: 1px solid var(--hcoms-grey-200);
  padding: 80px 32px;
}
.post-related .inner { max-width: 1100px; margin: 0 auto; }
.post-related h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
}
.post-related .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.post-related .card {
  background: white;
  border: 1px solid var(--hcoms-grey-200);
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.post-related .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(20,20,30,0.12);
}
.post-related .card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hcoms-blue);
}
.post-related .card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 8px 0 0;
  color: var(--hcoms-ink);
}

@media (max-width: 720px) {
  .post-hero { padding: 40px 20px 24px; }
  .post-article { padding: 12px 20px 64px; font-size: 17px; }
  .post-article > p:first-of-type { font-size: 19px; }
  .post-related .grid { grid-template-columns: 1fr; }
  .post-foot { flex-direction: column; gap: 12px; align-items: flex-start; padding: 24px 20px; }
}
