/* Shared by CKEditor and all board detail pages. */
.post-content { overflow-wrap:anywhere; }
.post-content img, .cke_editable img { max-width:100% !important; height:auto !important; }
.post-content table, .cke_editable table { max-width:100%; }
.post-content figure, .cke_editable figure { max-width:100%; }
.post-content .image-left, .cke_editable .image-left { float:left; margin:0 16px 12px 0; }
.post-content .image-right, .cke_editable .image-right { float:right; margin:0 0 12px 16px; }
.post-content .image-center, .cke_editable .image-center { display:table; margin:12px auto; float:none; }
.post-content::after { content:''; display:block; clear:both; }
.youtube-embed-wrapper { width:100%; max-width:640px; margin:16px auto; aspect-ratio:16/9; }
.youtube-embed-wrapper.youtube-shorts { max-width:360px; aspect-ratio:9/16; }
.post-content .youtube-embed-wrapper iframe, .cke_editable .youtube-embed-wrapper iframe { display:block; position:static !important; width:100% !important; height:100% !important; border:0; aspect-ratio:inherit; margin:0; }
.jt-link-card { margin:12px 0; padding:14px; border:1px solid #dce2e8; border-radius:8px; overflow-wrap:anywhere; }
.jt-link-card a { text-decoration:underline; }
@media(max-width:600px) { .post-content table { display:block; overflow-x:auto; } }
