@font-face{font-family:'Noto Sans';src:url('../fonts/NotoSans-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Noto Sans';src:url('../fonts/NotoSans-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
/* Shared by the editing canvas, preview and published articles. */
.article-content{font-family:"Noto Sans",sans-serif;font-size:16px;line-height:1.5;overflow-wrap:anywhere;color:#28221c}
.article-content p{margin:0 0 12px}.article-content h1,.article-content h2,.article-content h3,.article-content h4,.article-content h5,.article-content h6{line-height:1.3;margin:22px 0 12px;font-family:inherit;color:inherit}
.article-content h1{font-size:2em}.article-content h2{font-size:1.6em}.article-content h3{font-size:1.3em}
.article-content ul,.article-content ol{padding-left:2em;margin:12px 0}.article-content ul{list-style-type:disc}.article-content ol{list-style-type:decimal}.article-content li{display:list-item;margin:4px 0}.article-content li p{margin:0}
.article-content blockquote{border-left:4px solid #b99458;margin:18px 0;padding:8px 20px;color:#675846;background:#faf7f0}
.article-content img{max-width:100%;height:auto;object-fit:contain}.article-content img:not([style*="float"]){display:block;margin-left:auto;margin-right:auto}
.article-content iframe{display:block;width:100%;max-width:800px;height:auto;aspect-ratio:16/9;border:0;margin:20px auto}
.article-content table{width:100%;border-collapse:collapse;table-layout:fixed;margin:16px 0}.article-content td,.article-content th{border:1px solid #9c958a;padding:8px 10px;vertical-align:top;min-width:40px;position:relative}.article-content th{background:#f3eee5;font-weight:bold;text-align:left}.article-content td p,.article-content th p{margin:0}
.article-content a{color:#1b64a0;text-decoration:underline}.article-content pre{white-space:pre-wrap;background:#f5f3ef;padding:16px;border-radius:6px}.article-content code{font-family:Consolas,monospace}.article-content hr{clear:both;border:0;border-top:1px solid #bdb4a8;margin:24px 0}.article-content [data-editor-page]{box-sizing:border-box;max-width:100%}.article-content [data-editor-page]::after{content:"";display:block;clear:both}
.article-content table{min-width:0}.article-content table tr>td,.article-content table tr>th{border:1px solid #9c958a}.article-content th{font-size:inherit;color:inherit;text-transform:none;letter-spacing:normal}.article-content tbody tr:hover{background:transparent}.article-content img{border-radius:8px}.article-content h1,.article-content h2,.article-content h3,.article-content h4{letter-spacing:normal}
@media(max-width:600px){.article-content [data-editor-page]{padding-left:min(4vw,16px)!important;padding-right:min(4vw,16px)!important}.article-content table{font-size:.9em}.article-content td,.article-content th{padding:5px}}

.article figure,.article-content figure,.tiptap figure{margin:20px 0;max-width:100%}.article figcaption,.article-content figcaption,.tiptap figcaption{font-size:0.9em;line-height:1.6;color:#596675;text-align:center;padding:8px 12px;white-space:pre-wrap;overflow-wrap:anywhere}.article figure img,.tiptap figure img{max-width:100%;height:auto}.featured-image-picker textarea{width:100%;min-height:76px;border-radius:10px;padding:10px;box-sizing:border-box}

[data-page-break="1"]{display:block;break-after:page;page-break-after:always;height:0;margin:0;border:0} .tiptap [data-page-break="1"]{height:22px;border-top:1px dashed #a9957e;margin:18px 0;position:relative}.tiptap [data-page-break="1"]:after{content:'Ngắt trang khi in';position:absolute;top:0;left:0;color:#8d7767;font-size:11px}@media print{[data-page-break="1"]{height:0!important;border:0!important;margin:0!important}[data-page-break="1"]:after{display:none!important}}

/* Keep cells intact; wide tables scroll in their wrapper instead of squeezing digits. */
.article-content table{table-layout:auto;min-width:100%;width:max-content}.article-content :is(td,th){white-space:nowrap;word-break:normal;overflow-wrap:normal}.article-content :is(td,th) :is(p,span,strong,em,a){white-space:inherit;word-break:normal;overflow-wrap:normal}
