
/* ===============================
   SunEditor 출력용 전체 CSS
   =============================== */

.sun-editor-editable {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  word-break: break-word;
  background-color: #fafafa;
}

.sun-editor-editable * {
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* 이미지, 비디오 공통 처리 */
.sun-editor-editable img,
.sun-editor-editable iframe {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* 이미지 컨테이너 */
.sun-editor-editable .se-image-container,
.sun-editor-editable .se-video-container,
.sun-editor-editable .se-component {
  display: block;
  margin: 1em auto;
  text-align: center;
  max-width: 100%;
}

/* figure 스타일 */
.sun-editor-editable figure {
  margin: 0 auto;
  display: inline-block;
  max-width: 100%;
  width: auto !important;
  text-align: center;
}

/* 정렬 */
.sun-editor-editable .__se__float-left {
  float: left !important;
  margin-right: 1em;
  max-width: 100%;
  clear: both;
}
.sun-editor-editable .__se__float-right {
  float: right !important;
  margin-left: 1em;
  max-width: 100%;
  clear: both;
}
.sun-editor-editable .__se__float-center {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  display: block !important;
  max-width: 100%;
}
.sun-editor-editable .__se__float-none {
  float: none !important;
  margin: 1em 0;
  max-width: 100%;
}

/* 캡션 */
.sun-editor-editable figcaption {
  font-size: 0.9em;
  color: #555;
  text-align: center;
  margin-top: 0.5em;
}

/* 문단 */
.sun-editor-editable p {}

/* 제목 태그 */
.sun-editor-editable h1 { font-size: 2em; font-weight: bold; margin: 0.67em 0; }
.sun-editor-editable h2 { font-size: 1.5em; font-weight: bold; margin: 0.75em 0; }
.sun-editor-editable h3 { font-size: 1.17em; font-weight: bold; margin: 0.83em 0; }
.sun-editor-editable h4 { font-size: 1em; font-weight: bold; margin: 1.12em 0; }
.sun-editor-editable h5 { font-size: 0.83em; font-weight: bold; margin: 1.5em 0; }
.sun-editor-editable h6 { font-size: 0.75em; font-weight: bold; margin: 1.67em 0; }

/* 링크 */
.sun-editor-editable a {
  color: #004cff;
  text-decoration: none;
}
.sun-editor-editable a:hover {
  text-decoration: underline;
  color: #0093ff;
}

/* 리스트 */
.sun-editor-editable ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin: 0 0 1em;
}
.sun-editor-editable ol {
  list-style-type: decimal;
  padding-left: 1.5em;
  margin: 0 0 1em;
}
.sun-editor-editable li {
  margin-bottom: 0.5em;
}

/* 표 */
.sun-editor-editable table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.sun-editor-editable th,
.sun-editor-editable td {
  border: 1px solid #ccc;
  padding: 0.5em;
  text-align: left;
}
.sun-editor-editable th {
  background: #f5f5f5;
  font-weight: bold;
}

/* 인용문 */
.sun-editor-editable blockquote {
  margin: 1em 0;
  padding-left: 1em;
  border-left: 4px solid #ccc;
  color: #666;
  font-style: italic;
}

/* 코드 블록 */
.sun-editor-editable pre {
  background-color: #f9f9f9;
  padding: 1em;
  border-radius: 4px;
  font-family: monospace;
  overflow: auto;
}

/* 구분선 */
.sun-editor-editable hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1.5em 0;
}


