/* 文章內文的樣式：主站文章頁與後台編輯器共用（編輯器裡看到的就是上線的樣子） */
.entry {
  --c1: #F74D67; --c2: #FB7258; --text: #6e6d76; --head: #0e0c1b; --line: #DFDFE2;
  color: var(--text); font: 400 18px/1.75 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
}
.entry > :first-child { margin-top: 0; }
.entry a { color: var(--c1); text-decoration: none; }
.entry h2, .entry h3 { color: var(--head); }
.entry th { background: #f7f8f9; color: var(--head); font-weight: inherit; }
.entry em { font-style: italic; }
.entry p { margin-bottom: 27px; }
.entry h2 { font-size: 20px; line-height: 30px; font-weight: 600; margin: 30px 0 16px; }
.entry h2 strong, .entry h2 b, .entry h3 strong, .entry h3 b { font-weight: inherit; }   /* 原文標題外面又包粗體，避免變成最粗的 900 */
.entry h3 { font-size: 18px; line-height: 27px; margin: 27px 0 15.4px; }
.entry strong { color: var(--head); font-weight: 700; }
.entry ul, .entry ol { line-height: 1.6; margin: 0 0 27px; padding-left: 1.4em; }
.entry li { margin-bottom: 6px; }
.entry img { max-width: 100%; height: auto; border-radius: 6px; margin: 10px 0 27px; }
.entry figure { margin: 0 0 27px; }
.entry figure:has(> table) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry table { width: 100%; border-collapse: collapse; table-layout: fixed; border: 1px solid #dde1e4; font-size: 16px; line-height: 1.6; }
.entry td, .entry th { padding: 9px 12px; border: 1px solid #dde1e4; vertical-align: top; text-align: left; }
.entry tr:first-child td { background: #f7f8f9; color: var(--head); }
.entry blockquote { margin: 0 0 27px; padding: 4px 0 4px 22px; border-left: 3px solid var(--c2); }

.entry hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

@media (max-width: 689px) {
  .entry table { font-size: 15px; }
  .entry td { padding: 8px; }
  .entry table:has(td:nth-child(4)) { min-width: 560px; }
}

/* 段落在清單、表格、引言裡不要多出段距（編輯器裡清單項目內部是段落） */
.entry li > p, .entry td > p, .entry th > p { margin: 0; }
.entry blockquote > :last-child { margin-bottom: 0; }
