/* Keep legacy post images tidy in the narrow console-theme content column. */
main img {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin: 1rem auto;
}

/* Give fenced code blocks clear boundaries and keep long lines scrollable. */
main div.highlighter-rouge {
  box-sizing: border-box;
  max-width: 100%;
  margin: 1rem 0 1.25rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border: var(--border);
}

main div.highlighter-rouge pre {
  overflow: visible;
}

/* Keep inline code distinct too, without turning short snippets into blocks. */
main code.highlighter-rouge {
  padding: 0.05em 0.3em;
  border: var(--border);
}

main h1,
main h2,
main h3 {
  font-size: 1.25em;
}

main .post-title {
  font-size: 2.5em;
}
