/*
 * Posts: the post header (title, date and tags line), post body and tag
 * badges, on post pages and in the blog's paginated lists.
 */

/* === READING WIDTH === */
/* About 80 characters per line, see --measure in theme.css */
.post-title,
.post-meta,
.post-body,
.post-divider {
  max-width: var(--measure);
}

/* === HEADER === */
.post-title a {
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  color: var(--bs-secondary-color);
  font-family: var(--bs-font-monospace);
  font-size: 0.875rem;
}

.post-meta time {
  margin-right: 0.5rem;
}

/* === BODY === */
.post-body {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.post-body pre {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* === TAG BADGES === */
.tag-badge {
  background: transparent;
  border: var(--bs-border-width) solid var(--bs-border-color);
  color: var(--bs-secondary-color);
  font-weight: 400;
}

a.tag-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}
