/* Blog editorial — discovery & navigation additions.
 *
 * Kept in its own stylesheet (not public-shell.css) so editorial changes don't
 * touch the shared shell. Must be included on blog routes (see HANDOFF: header
 * include of assetUrl('/assets/css/blog-editorial.css') — parent will integrate).
 */

/* Blog index — topic entry points (driven by real post tags) */
.blog-topics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin: var(--space-2) 0 var(--space-6);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.blog-topics-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
}
.blog-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.blog-topic-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--accent);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.blog-topic-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.blog-topic-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .blog-topics {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Blog post — related reading spacing */
.blog-related {
  margin-top: var(--space-10);
}
.blog-post .blog-related .blog-kicker {
  margin-bottom: var(--space-2);
}
