/* ============================================================
   新闻内容标签（2026-10-21 新增）
   来源：news_zh.metakeywords（后台“关键词”字段，逗号分隔）
   展示位置：新闻列表卡片 + 新闻详情页正文后
   交互：标签可点击 → /news.html?keyword=标签（筛选列表）
   依赖：title.html 已对 canonical 去除 query，防筛选页重复收录
   ============================================================ */

/* 列表卡片内标签容器 */
.news-tags,
.news-tags-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 2px;
}

/* 单个标签（圆角胶囊） */
.news-tag {
  display: inline-block;
  padding: 3px 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #006fc0;
  background: #eaf3fb;
  border: 1px solid #cfe4f6;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.news-tag:hover {
  color: #fff;
  background: #006fc0;
  border-color: #006fc0;
}

/* 详情页标签：略大 + 顶部虚线分隔 */
.news-tags-detail {
  margin: 18px 0 6px;
  padding-top: 14px;
  border-top: 1px dashed #e2e2e2;
}
.news-tags-label {
  font-size: 13px;
  color: #888;
  margin-right: 2px;
}
.news-tags-detail .news-tag {
  font-size: 13px;
  padding: 4px 14px;
}

/* 筛选提示条（带 keyword 时显示） */
.news-filter-bar {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: #f3f8fc;
  border: 1px solid #dcebf8;
  border-radius: 4px;
  font-size: 14px;
  color: #555;
}
.news-filter-bar strong {
  color: #006fc0;
  font-weight: 700;
}
.news-filter-bar a {
  margin-left: 14px;
  color: #e8631a;
  text-decoration: none;
}
.news-filter-bar a:hover {
  text-decoration: underline;
}

/* 列表卡片标题链接保持与原文一致（非蓝色下划线） */
.k12-xl-xwlb-1nt2-1-01-list h4 a {
  text-decoration: none;
}

/* 移动端适配 */
@media (max-width: 1024px) {
  .news-tag {
    font-size: 12px;
    padding: 3px 10px;
  }
  .news-tags,
  .news-tags-detail {
    gap: 6px;
  }
  .news-tags-detail .news-tag {
    font-size: 12.5px;
    padding: 3px 11px;
  }
  .news-filter-bar {
    font-size: 13px;
    padding: 8px 10px;
  }
}
