/* Shared, fixed reading rhythm for public articles and admin previews. */
.managed-article-content.managed-article-content{width:100%;max-width:780px!important;margin-inline:auto!important;font-size:16px!important;line-height:1.95!important;overflow-wrap:break-word}
.managed-article-content.managed-article-content p{max-width:none!important;margin:0 0 16px!important;line-height:1.95!important;text-align:start}
.managed-article-content.managed-article-content h2{font-size:24px!important;font-weight:700!important;line-height:1.6!important;margin:32px 0 14px!important;padding-right:12px!important;border-right-width:3px!important}
.managed-article-content.managed-article-content h3{font-size:20px!important;font-weight:600!important;line-height:1.65!important;margin:24px 0 10px!important}
.managed-article-content.managed-article-content>h2:first-child{margin-top:0!important}
.managed-article-content.managed-article-content p:empty{display:none}
.managed-article-content.managed-article-content figure{margin:22px 0!important}
.managed-article-content.managed-article-content figure img{margin:0 auto!important}
.managed-article-content.managed-article-content figcaption{margin-top:8px;font-size:12px;line-height:1.7}
.managed-article-content.managed-article-content ul,.managed-article-content.managed-article-content ol{margin:12px 0 20px!important}
.managed-article-content.managed-article-content li{margin:6px 0!important}
.managed-article-content.managed-article-content .danilo-table-scroll{margin:20px 0!important}
.danilo-article-body.danilo-article-body{padding:32px!important}
.danilo-article-side .danilo-toc a{font-size:13px;line-height:1.7;padding:8px 10px}
.article-auto-preview.article-auto-preview>div:has(>[data-preview-toc]){grid-template-columns:200px minmax(0,1fr);gap:22px}
@media(max-width:1000px){.article-auto-preview.article-auto-preview>div:has(>[data-preview-toc]){grid-template-columns:minmax(0,1fr)}.article-auto-preview.article-auto-preview>div>.managed-article-content{grid-column:1}.article-auto-preview.article-auto-preview>div>[data-preview-toc]{position:static;max-height:280px}}
@media(max-width:640px){.managed-article-content.managed-article-content{font-size:15px!important;line-height:1.9!important}.managed-article-content.managed-article-content h2{font-size:21px!important;margin-top:26px!important}.managed-article-content.managed-article-content h3{font-size:18px!important;margin-top:20px!important}.danilo-article-body.danilo-article-body{padding:22px 18px!important}}
@media(max-width:640px){.article-auto-preview.article-auto-preview{box-sizing:border-box;width:100%!important;padding:16px 12px!important}.article-auto-preview.article-auto-preview>div:has(>[data-preview-toc]){padding:0!important;width:100%!important;box-sizing:border-box}.article-auto-preview.article-auto-preview .managed-article-content{box-sizing:border-box;min-width:0!important;width:100%!important}.article-auto-preview.article-auto-preview [data-preview-toc]{grid-column:1!important;grid-row:auto!important;width:100%!important}.article-auto-preview.article-auto-preview img{max-width:100%!important}}

/* Keep wide article tables inside their reading column, including small phones. */
.managed-article-content.managed-article-content{min-width:0;box-sizing:border-box}
.managed-article-content.managed-article-content .danilo-table-scroll{display:block;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box}
.managed-article-content.managed-article-content .danilo-table-scroll table{width:100%;border-collapse:collapse}
