/*
 * 에디터(TinyMCE) 작성 HTML 표시 영역 — 게시판 본문·개요·목차·소개 등 th:utext 자리에 class="editor-content".
 *
 * 퍼블 ui.common.css 리셋이 td·h1 의 border·font 를 0/inherit 로, ul·ol·li 의 list-style 을 none 으로 지워
 * 관리자 에디터에서 만든 표 테두리·제목 크기·목록 기호/번호가 FO 에서 모두 사라졌다.
 * 퍼블 파일은 갱신 때 덮어써지므로 여기서 이 영역만 되살린다.
 */
.editor-content h1 { font-size: 1.6em; font-weight: 700; margin: .6em 0 .4em; }
.editor-content h2 { font-size: 1.4em; font-weight: 700; margin: .6em 0 .4em; }
.editor-content h3 { font-size: 1.2em; font-weight: 700; margin: .5em 0 .3em; }
.editor-content h4, .editor-content h5, .editor-content h6 { font-weight: 700; margin: .5em 0 .3em; }
.editor-content p { margin: 0 0 .4em; }
.editor-content strong, .editor-content b { font-weight: 700; }
.editor-content em, .editor-content i { font-style: italic; }
.editor-content u { text-decoration: underline; }
.editor-content s, .editor-content del { text-decoration: line-through; }
.editor-content a { text-decoration: underline; }

.editor-content ul, .editor-content ol { margin: .4em 0; padding-left: 1.6em; }
.editor-content ul { list-style: disc; }
.editor-content ol { list-style: decimal; }
.editor-content ul ul { list-style: circle; }
.editor-content li { list-style: inherit; }

.editor-content table { max-width: 100%; margin: .6em 0; border-collapse: collapse; }
/* border="1"(에디터 기본) 표만 — border="0" 레이아웃 표는 테두리 없이 둔다 */
.editor-content table[border]:not([border="0"]) th,
.editor-content table[border]:not([border="0"]) td { border: 0.1rem solid var(--border-line, #ccc); }
.editor-content th, .editor-content td { padding: .4em .6em; vertical-align: top; }
.editor-content th { font-weight: 700; }
.editor-content img { max-width: 100%; height: auto; }
