/*
 * 게시판 본문 표시 — 관리시스템 편집기(SunEditor)로 쓴 글의 표·그림 틀 (M4, 2026-12-03)
 *   편집기가 붙이는 class(se-…, __se__float-…)에만 걸리므로 다른 글(나모·CKEditor 로 쓴 글)에는 영향이 없다.
 *   규칙은 SunEditor 3.4.3 src/assets/suneditor-contents.css (MIT, /lib/suneditor/LICENSE.txt) 에서 표시에 필요한 것만 옮김.
 *   쓰는 곳 : 홈페이지 공지 상세(user/info/noticeDtl), 관련자료 상세(user/data/gedmatDtl), 관리 공지·공부하기 전자책 상세
 */

/* 그림·표 틀 : 브라우저 기본 figure 여백(40px) 제거 */
.se-component > figure,
figure.se-flex-component { margin: 0; }
.se-component > figure > * { margin: 0; }
.se-component,
figure.se-flex-component { margin-bottom: 1em; }

/* 표 : 편집기는 border 속성 대신 CSS 로 선을 그린다 */
figure.se-flex-component { max-width: 100%; overflow-x: auto; }
figure.se-flex-component > table {
	display: table;
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	border: 1px solid #d9d9d9;
}
figure.se-flex-component > table th,
figure.se-flex-component > table td {
	border: 1px solid #d9d9d9;
	padding: 0.4em;
	vertical-align: top;
	background-clip: padding-box;
}
figure.se-flex-component > table th { background-color: #f3f3f3; }
figure.se-flex-component > table caption {
	padding: 0.5em;
	border: 1px solid #d9d9d9;
	border-bottom: 0;
}
figure.se-flex-component > table.se-table-layout-fixed { table-layout: fixed; }
/* 칸 안 줄은 <div> 로 감싸므로 여백만 정리 */
figure.se-flex-component > table td > div,
figure.se-flex-component > table th > div { margin: 0; }

/* 그림 정렬 */
.se-image-container img { max-width: 100%; height: auto; }
.__se__float-left { float: left; margin-right: 1em; }
.__se__float-right { float: right; margin-left: 1em; }
.__se__float-none { float: none; }
.__se__float-center { float: none; text-align: center; }
.__se__float-center > figure { display: inline-block; }

/* 목록 기호 (2026-12-03) : 관리 화면 공통 CSS 의 li { list-style: none } 이 본문 목록의 번호·점까지 지워 들여쓰기만 남았다.
   본문 영역(gx-editor-body : 관리 공지·전자책 상세, 관련자료 상세)의 목록만 되살린다. 홈페이지 공지 상세는 원래 정상 */
.gx-editor-body ol,
.gx-editor-body ul { margin: 0.5em 0; padding-left: 2em; }
.gx-editor-body ol { list-style-type: decimal; }
.gx-editor-body ul { list-style-type: disc; }
.gx-editor-body ul ul { list-style-type: circle; }
.gx-editor-body ul ul ul { list-style-type: square; }
.gx-editor-body ol ol { list-style-type: lower-alpha; }
.gx-editor-body ol ol ol { list-style-type: lower-roman; }
.gx-editor-body li { list-style: inherit; }
