.post-header {
  background: var(--post-header-bg);
  padding: 0.5rem;
}

.post {
  /* A link to #post-N stops below the sticky breadcrumb, not under it */
  scroll-margin-top: 4rem;
  margin: 0.5rem 0 1rem 0;
  padding: 0;
  background: var(--post-bg);
  border: 1px solid var(--post-border);
  border-radius: 5px;
}

.post-content {
  color: var(--post-text-color);
  padding: 1rem;
  font-size: 1.125rem;
  line-height: 1.75;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-content a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  display: inline-block;
}

.post-content > blockquote:first-child {
  margin-top: 0;
}

.post-content p:first-child {
  margin-top: 0;
}

.post-content p:last-child {
  margin-bottom: 0;
}

.post-content img,
.post-content p img {
  max-width: 100%;
  height: auto;
}

.post-content pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: var(--code-bg);
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.4;
}

.thread-header {
  padding: 0.5rem 1rem;
  background: var(--container-bg);
  border-radius: 3px;
}

.thread-header h1 {
  color: var(--text-color);
}
