/* 공지사항 편집기, 관리자 미리보기, 사용자 본문의 공통 서식 */
.board-rich-content {
    font-family: Arial, 'Malgun Gothic', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #333;
    text-align: left;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.board-rich-content p,
.board-rich-content h1,
.board-rich-content h2,
.board-rich-content h3,
.board-rich-content h4,
.board-rich-content h5,
.board-rich-content h6,
.board-rich-content ol,
.board-rich-content ul,
.board-rich-content li {
    margin: 0;
    padding: 0;
}

.board-rich-content h1,
.board-rich-content h2,
.board-rich-content h3,
.board-rich-content h4,
.board-rich-content h5,
.board-rich-content h6,
.board-rich-content.ql-editor h1,
.board-rich-content.ql-editor h2,
.board-rich-content.ql-editor h3,
.board-rich-content.ql-editor h4,
.board-rich-content.ql-editor h5,
.board-rich-content.ql-editor h6 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    border: 0;
}

.board-rich-content strong,
.board-rich-content b { font-weight: 700; }
.board-rich-content em,
.board-rich-content i { font-style: italic; }
.board-rich-content u { text-decoration: underline; }
.board-rich-content s { text-decoration: line-through; }
/* 링크에는 밑줄을 자동으로 붙이지 않고, 직접 지정한 u 서식만 유지한다. */
.board-rich-content a,
.board-rich-content.ql-editor a { color: #06c; text-decoration: none; }

.board-rich-content ol,
.board-rich-content ul { padding-left: 1.5em; }
.board-rich-content:not(.ql-editor) ol > li { list-style-type: decimal; }
.board-rich-content:not(.ql-editor) ul > li { list-style-type: disc; }

/* 기존 공지사항에 저장된 Quill 클래스도 표시한다. */
.board-rich-content .ql-align-center { text-align: center; }
.board-rich-content .ql-align-right { text-align: right; }
.board-rich-content .ql-align-justify { text-align: justify; }
.board-rich-content .ql-size-small { font-size: 0.75em; }
.board-rich-content .ql-size-large { font-size: 1.5em; }
.board-rich-content .ql-size-huge { font-size: 2.5em; }
.board-rich-content .ql-font-serif { font-family: Georgia, 'Times New Roman', serif; }
.board-rich-content .ql-font-monospace { font-family: Monaco, 'Courier New', monospace; }
