.editor-content {
  font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #212529;
  word-wrap: break-word;
}

/* 標題 */
.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
  font-weight: bold;
  line-height: 1.3;
  margin: 0.5em 0 0.5em;
}

/* 段落 */
.editor-content p {
  margin: 0.8em 0;
}

/* 強調、斜體、刪除線、下底線 */
.editor-content strong,
.editor-content b {
  font-weight: bold;
}
.editor-content em,
.editor-content i {
  font-style: italic;
}
.editor-content u {
  text-decoration: underline;
}
.editor-content s,
.editor-content strike {
  text-decoration: line-through;
}

/* 清單 */
.editor-content ul,
.editor-content ol {
  padding-left: 2em;
  margin: 1em 0;
}

/* 用更高優先級的選擇器 */
div.editor-content > ul {
  list-style-type: disc !important;
  /*padding-left: 40px !important;*/
}

div.editor-content > ul > li {
  display: list-item !important;
  list-style-type: disc !important;
}

.editor-content ul li,
.editor-content ol li {
  margin: 0.5em 0;
  display: list-item;  /* 加這行：確保以列表項目顯示 */
}

/* 引用區塊 */
.editor-content blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1em;
  color: #666;
  margin: 1.5em 0;
  font-style: italic;
  background-color: #f9f9f9;
}

/* 圖片 */
.editor-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
}

/* 表格 */
.editor-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.editor-content th,
.editor-content td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}
.editor-content thead {
  background-color: #f2f2f2;
}

/* 代碼區塊 */
.editor-content pre {
  background: #f8f8f8;
  padding: 1em;
  overflow: auto;
  font-family: "Courier New", monospace;
  font-size: 14px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  margin: 1em 0;
}
.editor-content code {
  background-color: #eee;
  padding: 2px 4px;
  font-family: "Courier New", monospace;
  border-radius: 3px;
}

/* 分隔線 */
.editor-content hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid #ccc;
}

/* 超連結 */
.editor-content a {
  color: #007bff;
  text-decoration: underline;
}
.editor-content a:hover {
  color: #0056b3;
}

/* 高亮（由 highlight plugin 產生） */
.editor-content mark {
  background-color: #fff3b0;
}

/* 自訂 class: alignments */
.editor-content .text-left {
  text-align: left;
}
.editor-content .text-center {
  text-align: center;
}
.editor-content .text-right {
  text-align: right;
}

/* 響應式 iframe 嵌入（影片） */
.editor-content iframe {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
}

/* 包含圖片容器的樣式 */
.editor-content figure.image {
  display: table;
  margin: 1.5em auto;
}

/* 置中圖片 */
.editor-content .image-style-align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 靠左圖片 */
.editor-content .image-style-align-left {
  float: left;
  margin-right: 1em;
}

/* 靠右圖片 */
.editor-content .image-style-align-right {
  float: right;
  margin-left: 1em;
}

/* 行內圖片 */
.editor-content .image-style-inline {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.5em;
}

/* 區塊圖片（預設） */
.editor-content .image-style-block {
  display: block;
  margin: 1em auto;
}

/* figcaption 樣式 */
.editor-content figure.image figcaption {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 0.5em;
}