/* Shared reading surface for Gutenberg and classic content. */
.entry-content, .editor-styles-wrapper { font-family: var(--ic-sans); font-size: 1.125rem; line-height: 1.85; color: var(--ic-ink); }
.entry-content { display: flow-root; }
.entry-content > * { max-width: var(--ic-reading); margin-inline: auto; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; width: 100%; }
:where(.entry-content) :where(h2, h3, h4) { margin-top: 1.7em; margin-bottom: .7em; }
:where(.entry-content) > :where(p, ul, ol) { margin-bottom: 1.4em; }
.entry-content a { text-decoration-thickness: 1px; }
:where(.entry-content) > :where(figure) { margin-block: 2rem; }
:where(.entry-content figcaption, .wp-element-caption) { font-size: .85rem; color: var(--ic-muted); line-height: 1.5; }
:where(.entry-content, .editor-styles-wrapper) :where(blockquote) { border-left: 3px solid var(--ic-blue); padding: .5rem 0 .5rem 1.5rem; font-family: var(--ic-serif); font-size: 1.4rem; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content cite { font-family: var(--ic-sans); color: var(--ic-muted); font-size: .85rem; }
:where(.entry-content .wp-block-pullquote) { border-block: 1px solid var(--ic-border); }
:where(.entry-content) pre { overflow-x: auto; background: var(--ic-soft); padding: 1.5rem; font-size: .9rem; }
.entry-content :not(pre) > code { background: var(--ic-soft); padding: .1em .3em; }
:where(.entry-content, .editor-styles-wrapper) :where(table) { border-collapse: collapse; width: 100%; }
:where(.entry-content, .editor-styles-wrapper) :where(th, td) { border: 1px solid var(--ic-border); padding: .75rem; text-align: start; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content iframe { max-width: 100%; }
:where(.entry-content) hr { border: 0; border-top: 1px solid var(--ic-border); margin-block: 2.5rem; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin-right: 1.5rem; }
.entry-content .alignright { float: right; margin-left: 1.5rem; }
.entry-content .wp-caption { max-width: 100%; }
.page-links { clear: both; padding-block: 1rem; }
.page-links a, .page-links .current { display: inline-block; padding: .3rem .8rem; border: 1px solid var(--ic-border); margin: .2rem; }
@media (max-width: 599px) { .entry-content .alignleft, .entry-content .alignright { float: none; margin-inline: auto; } }

/* Low-specificity article defaults leave Gutenberg block settings in control. */
:where(.single-post) .entry-content { line-height: 1.8; }
:where(.single-post .entry-content) > :where(p, ul, ol) { margin-bottom: 1.25em; }
:where(.single-post) .entry-content :where(h2) { font-size: clamp(1.65rem, 2.5vw, 2rem); line-height: 1.25; }
:where(.single-post) .entry-content :where(h3) { font-size: 1.5rem; line-height: 1.3; }
:where(.single-post) .entry-content :where(h4) { font-size: 1.125rem; line-height: 1.4; }
:where(.single-post .entry-content) :where(ul, ol) { padding-inline-start: 1.5em; }
:where(.single-post .entry-content) :where(li + li) { margin-top: .35em; }
:where(.single-post .entry-content) :where(blockquote) { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.55; padding-inline-start: 1.1rem; }
:where(.single-post .entry-content) :where(pre) { line-height: 1.65; padding: 1.25rem; }
:where(.single-post .entry-content) :where(th, td) { padding: .7rem .8rem; }
.single-post .page-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.single-post .page-links a, .single-post .page-links .current { margin: 0; min-width: 44px; min-height: 44px; text-align: center; border-radius: var(--ic-radius); }
.single-post .page-links .current { color: var(--ic-paper); background: var(--ic-blue); border-color: var(--ic-blue); }
