/* ===================================================
   文章頁（2026-11 改版）：手機開頭變緊湊、重點摘要可收合、文末標籤合併
   廣告位置不變（adFrame0 仍在標題下、封面上）
   =================================================== */

/* 重點摘要：預設只顯示前 2 點 */
.ai-summary.is-collapsed .ai-summary-item:nth-child(n+3) { display: none; }
.ai-summary-more { display: block; width: 100%; padding: 10px; border: 0; border-top: 1px solid var(--border); background: var(--bg-section); color: var(--primary-light); font: inherit; font-size: 1rem; font-weight: 700; min-height: 44px; cursor: pointer; }
.ai-summary:not(.is-collapsed) .ai-summary-more { display: none; }
.ai-summary-body:not(:has(.ai-summary-item:nth-child(3))) + .ai-summary-more { display: none; }

/* 標籤、人物、組織合併一區 */
.article-chips { margin: 20px 0 4px; padding-top: 14px; border-top: 1px solid var(--border-light); }

@media (max-width: 767px) {
  .breadcrumb { padding: 8px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .article-header { padding: 8px 0 0; }
  .article-header .category-badge { display: none; }
  .article-title { font-size: 1.45rem; line-height: 1.42; margin-bottom: 10px; }
  .article-meta-bar { gap: 6px 10px; padding-bottom: 10px; }
  .article-author-avatar { width: 28px; height: 28px; font-size: 13px; }
  .article-author-name { font-size: 0.85rem; }
  .article-share { width: 100%; margin-left: 0; gap: 6px; }
  .article-share .share-btn { width: 34px; height: 34px; }
  .article-hero { margin: 12px -16px 0; }
  .ai-summary { margin: 16px 0; }
  .ai-summary-header { padding: 9px 14px; font-size: 1rem; }
  .ai-summary-body { padding: 12px 14px; font-size: 1.0625rem; line-height: 1.7; }
  /* 每列不換行，左右滑 */
  .article-tags-row, .article-people-row, .article-orgs-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-bottom: 10px; }
  .article-tags-row::-webkit-scrollbar, .article-people-row::-webkit-scrollbar, .article-orgs-row::-webkit-scrollbar { display: none; }
  .article-tag, .article-person-link, .article-org-link, .article-people-label, .article-orgs-label { flex-shrink: 0; white-space: nowrap; }
}

/* 分享列（讀者測試後修正）：LINE 改綠色寫字、按鈕至少 44px、「分享」不斷行；手機上字級鈕換到第二列 */
.article-share .share-btn.share-line { width: auto; padding: 0 12px; background: #00873C; color: #fff; font-weight: 800; font-size: .9375rem; letter-spacing: .02em; }
.article-share .share-btn.share-line:hover { background: #006E31; color: #fff; }
.article-share .share-btn.share-main { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 767px) {
  .article-share { flex-wrap: wrap; row-gap: 10px; }
  .article-share .share-btn { width: 44px; height: 44px; }
  .article-share .share-btn.share-main { width: auto; }
  .article-share .share-btn.share-line { width: auto; min-width: 64px; }
  .article-share .font-size-toggle { order: 9; flex-basis: 100%; gap: 8px; }
  .article-share .font-size-toggle .share-btn { width: 44px; height: 44px; }
}
