/* "Keep reading" at the end of every blog post, generated or hand-written. The build writes the
   section (build/lib/site.mjs relatedHtml) and links this file into each post. Colors fall back
   to the blog palette so it reads the same on pages that define their own variables. */
.related { margin-top:56px; }
.related .related-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.related .related-head h2 { margin:0; font-size:clamp(22px, 3vw, 28px); line-height:1.15; letter-spacing:-0.03em; font-weight:600; }
.related .related-head a { font-size:14px; color:var(--muted, #A1A1AA); text-decoration:none; white-space:nowrap; padding:6px 0; }
.related .related-head a:hover { color:#fff; }
.related .related-list { list-style:none; margin:16px 0 0; padding:0; display:grid; gap:10px; }
.related .related-list li { margin:0; }
.related .rel-card { display:grid; grid-template-columns:96px 1fr; gap:16px; align-items:center; padding:10px; border:1px solid var(--line, rgba(255,255,255,.10)); border-radius:18px; background:var(--card, #17171A); text-decoration:none; color:#fff; transition:border-color .2s, transform .2s; }
.related .rel-card:hover { border-color:#fff; transform:translateY(-2px); }
.related .rel-card img { width:96px; height:96px; object-fit:cover; border-radius:12px; display:block; border:0; filter:brightness(.88); }
.related .rel-tx { display:block; min-width:0; }
.related .rel-meta { display:block; font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--dim, #6B6B74); font-weight:600; line-height:1.4; }
.related .rel-title { display:block; margin-top:4px; font-size:17px; line-height:1.3; font-weight:600; letter-spacing:-0.01em; text-wrap:pretty; }
.related .related-more { margin-top:14px; font-size:15px; }
.related .related-more a { color:var(--muted, #A1A1AA); }
.related .related-more a:hover { color:#fff; }
@media (max-width:760px) {
  .related .rel-card { grid-template-columns:80px 1fr; gap:14px; }
  .related .rel-card img { width:80px; height:80px; }
  .related .rel-title { font-size:16px; }
}
@media (prefers-reduced-motion:reduce) { .related .rel-card { transition:none; } .related .rel-card:hover { transform:none; } }
