/* Multi-line code blocks must wrap.

   The editorial CSS sets `white-space: nowrap` on `pre code`, which is right
   for short inline snippets but collapses every newline in a real code block:
   a 40-line block rendered as one 11,000px line. This restores wrapping
   wherever a code block sits inside post or page content.

   Matches the original selectors plus !important, because the theme rule
   `body.single.single-post .entry-content pre code` outranks a plain one. */

body.single.single-post .entry-content pre code,
body.page:not(.home):not(.ct-raw) .entry-content pre code,
.entry-content pre code {
	white-space: pre-wrap !important;
	word-break: break-word !important;
	overflow-wrap: anywhere;
	display: block;
}

/* Inline code, not inside a pre, keeps its original behaviour. */
.entry-content :not(pre) > code {
	white-space: normal;
}
