/* Shongshoy-only presentation fixes kept outside the legacy compatibility sheet. */
.cm-header .cm-menu-toggle{width:60px;height:60px}

/* Keep article reading rhythm consistent with the knowledge base on small screens. */
body.single-post .entry-content p,body.single-post .entry-content li,body.single-post .entry-content blockquote,
body.single-page .entry-content p,body.single-page .entry-content li,body.single-page .entry-content blockquote,
.bpress-wrap p,.bpress-wrap li,.bpress-wrap blockquote{font-size:20px;line-height:1.85}
body.single-post .entry-content p,body.single-page .entry-content p,.bpress-wrap p{text-align:justify}
.entry-content blockquote,.bpress-wrap blockquote{font-size:1em;line-height:1.85}

/* Keep references readable and aligned with the article text. */
.ss-fn-footnote-list,#page .bpress-wrap .ss-fn-footnote-list{padding:0 0 0 20px!important;margin-left:0!important}

/* Natural external/featured images must not inherit a square inline ratio. */
.ss-kb-featured.is-natural,.ss-kb-featured.is-natural[style]{aspect-ratio:auto!important;height:auto!important;min-height:0!important}
.ss-kb-featured.is-natural img,.ss-kb-featured.is-natural img[style]{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
.kb-featured-image img{display:block;width:100%;height:auto;max-width:100%}

/* Dark mode: authored tables and custom HTML should retain readable contrast. */
html.ss-dark-mode .entry-content table,html[data-wp-dark-mode-active] .entry-content table,
html.ss-dark-mode .bpress-wrap table,html[data-wp-dark-mode-active] .bpress-wrap table{color:#e5edf6;background:#172534;border-color:#475569}
html.ss-dark-mode .entry-content th,html.ss-dark-mode .entry-content td,html[data-wp-dark-mode-active] .entry-content th,html[data-wp-dark-mode-active] .entry-content td,
html.ss-dark-mode .bpress-wrap th,html.ss-dark-mode .bpress-wrap td,html[data-wp-dark-mode-active] .bpress-wrap th,html[data-wp-dark-mode-active] .bpress-wrap td{color:inherit;background-color:inherit;border-color:#475569}
html.ss-dark-mode .entry-content tr:nth-child(even)>*,html[data-wp-dark-mode-active] .entry-content tr:nth-child(even)>*,html.ss-dark-mode .bpress-wrap tr:nth-child(even)>*,html[data-wp-dark-mode-active] .bpress-wrap tr:nth-child(even)>*{background:#223447;color:#f1f5f9}
html.ss-dark-mode .entry-content [style*="background"],html[data-wp-dark-mode-active] .entry-content [style*="background"],html.ss-dark-mode .bpress-wrap [style*="background"],html[data-wp-dark-mode-active] .bpress-wrap [style*="background"]{color:#e5edf6}
html.ss-dark-mode .entry-content [style*="color: #000"],html.ss-dark-mode .entry-content [style*="color:#000"],html[data-wp-dark-mode-active] .entry-content [style*="color: #000"],html[data-wp-dark-mode-active] .entry-content [style*="color:#000"],html.ss-dark-mode .bpress-wrap [style*="color: #000"],html.ss-dark-mode .bpress-wrap [style*="color:#000"],html[data-wp-dark-mode-active] .bpress-wrap [style*="color: #000"],html[data-wp-dark-mode-active] .bpress-wrap [style*="color:#000"]{color:#e5edf6!important}
