/* 작성·수정 에디터와 상세 본문에 동일한 게시글 서식을 적용합니다. */
.community-rich-body,
.community-compose .note-editor .note-editing-area .note-editable {
    font-family: var(--fm-font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--k-text-body);
    overflow-wrap: anywhere;
    white-space: normal;
}
/* 제목 단계의 크기와 밑줄을 편집기 및 저장된 본문에서 동일하게 표시합니다. */
.community-rich-body h1,
.community-rich-body h2,
.community-rich-body h3,
.community-compose .note-editable h1,
.community-compose .note-editable h2,
.community-compose .note-editable h3 {
    margin: 0;
    font-family: var(--fm-font-family);
    font-weight: 600;
    line-height: 1.8;
}
.community-rich-body h1,
.community-compose .note-editable h1 {
    font-size: 20px;
}
.community-rich-body h2,
.community-compose .note-editable h2 {
    font-size: 18px;
}
.community-rich-body h3,
.community-compose .note-editable h3 {
    font-size: 16px;
}
.community-rich-body u,
.community-compose .note-editable u {
    text-decoration: underline;
}
/* 제목과 본문을 전환해도 작성 및 상세 문단에 위아래 여백을 추가하지 않습니다. */
.community-rich-body p,
.community-rich-body div,
.community-compose .note-editable p,
.community-compose .note-editable div {
    margin: 0;
}
.community-rich-body ul,
.community-rich-body ol,
.community-compose .note-editable ul,
.community-compose .note-editable ol {
    padding-left: 24px;
    margin: 12px 0;
}
.community-rich-body ul,
.community-compose .note-editable ul {
    list-style-type: disc;
}
.community-rich-body ol,
.community-compose .note-editable ol {
    list-style-type: decimal;
}
.community-rich-body li,
.community-compose .note-editable li {
    list-style-position: outside;
}
.community-rich-body img,
.community-compose .note-editable img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}
.community-rich-body a,
.community-rich-body a:hover,
.community-rich-body a:focus,
.community-compose .note-editor .note-editing-area .note-editable a,
.community-compose .note-editor .note-editing-area .note-editable a:hover,
.community-compose .note-editor .note-editing-area .note-editable a:focus {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
