/* ============================================================
   NEWS GRID
   ============================================================ */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.news-card:hover { border-color: rgba(255,107,0,0.35); box-shadow: var(--shadow-md); }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.news-date { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--text-light); }
.news-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); line-height: 1.5; margin-bottom: 10px; transition: color var(--transition); }
.news-card:hover h3 { color: var(--orange); }
.news-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { display: flex; align-items: center; gap: 4px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; color: var(--orange); transition: gap var(--transition); }
.news-card:hover .news-more { gap: 8px; }

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .news-layout { grid-template-columns: 1fr 300px; } }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-list-card { display: flex; gap: 20px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: border-color var(--transition), box-shadow var(--transition); cursor: pointer; }
.news-list-card:hover { border-color: rgba(255,107,0,0.3); box-shadow: var(--shadow-md); }
.news-list-card .news-img { width: 120px; height: 90px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.news-list-card .news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-list-card .news-content h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 6px; line-height: 1.4; transition: color var(--transition); }
.news-list-card:hover .news-content h3 { color: var(--orange); }
.news-list-card .news-content p { font-size: 12px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-sidebar { display: flex; flex-direction: column; gap: 24px; }
.news-sidebar .sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.news-sidebar .sidebar-widget h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); }
.news-sidebar .cat-list li { padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.news-sidebar .cat-list li a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.news-sidebar .cat-list li a:hover { color: var(--orange); }
.news-sidebar .cat-list li .count { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600; background: var(--light-bg); color: var(--navy); padding: 2px 8px; border-radius: 100px; }


/* ═══════════════════════════════════════════════════════════
   新闻中心页面专用样式（补充）
   ═══════════════════════════════════════════════════════════ */
.news-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.news-tab { background: transparent; border: 1px solid var(--border); border-radius: 2px; padding: 8px 18px; font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all var(--transition); }
.news-tab.active, .news-tab:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.news-article { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.news-article:last-child { border-bottom: none; }
.news-article-img { width: 180px; height: 130px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; }
.news-article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.23,1,0.32,1); }
.news-article:hover .news-article-img img { transform: scale(1.05); }
.news-article-content { flex: 1; min-width: 0; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.news-tag { background: var(--orange); color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 2px; }
.news-date { font-family: 'Montserrat', Arial, sans-serif; font-size: 11px; color: var(--text-light); }
.news-article-content h3 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; color: var(--navy); font-size: 14px; line-height: 1.5; margin-bottom: 8px; transition: color var(--transition); }
.news-article:hover .news-article-content h3 { color: var(--orange); }
.news-article-content p { font-size: 12px; color: var(--text-muted); line-height: 1.7; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-read-more { font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; font-weight: 600; color: var(--orange); }
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.sidebar-widget h4 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); }
@media (max-width: 640px) { .news-article { flex-direction: column; } .news-article-img { width: 100%; height: 180px; } }


/* ═══════════════════════════════════════════════════════════
   news.html 专用样式
   ═══════════════════════════════════════════════════════════ */
.news-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .news-layout { grid-template-columns: 1fr 320px; } }

.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-article {
  display: flex; gap: 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
}
.news-article:hover { box-shadow: var(--shadow-md); border-color: rgba(255,107,0,0.3); }
.news-article-img {
  width: 160px; flex-shrink: 0; overflow: hidden;
}
.news-article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-article:hover .news-article-img img { transform: scale(1.05); }
.news-article-body { padding: 16px 16px 16px 0; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.news-article-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.news-cat-badge {
  font-size: 10px; font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--orange-light); color: var(--orange);
  border: 1px solid rgba(255,107,0,0.25);
  padding: 2px 8px; border-radius: 2px;
}
.news-date { font-size: 11px; color: var(--text-light); font-family: 'Montserrat', Arial, sans-serif; }
.news-article h3 { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }
.news-article:hover h3 { color: var(--orange); }
.news-article p { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.news-read-more { font-size: 12px; font-weight: 600; color: var(--orange); font-family: 'Montserrat', Arial, sans-serif; display: flex; align-items: center; gap: 4px; margin-top: 10px; }

/* 侧边栏 */
.news-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sidebar-box-title {
  background: var(--navy); color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px; font-weight: 700;
  padding: 12px 16px; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sidebar-cats { padding: 8px 0; }
.sidebar-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 16px;
  font-size: 13px; color: var(--text-body);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.sidebar-cat-item:last-child { border-bottom: none; }
.sidebar-cat-item:hover { background: var(--bg-light); color: var(--orange); }
.sidebar-cat-count {
  font-size: 11px; font-weight: 700;
  background: var(--bg-light); color: var(--text-muted);
  border-radius: 10px; padding: 1px 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.sidebar-hot-list { padding: 8px 0; }
.sidebar-hot-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background var(--transition);
}
.sidebar-hot-item:last-child { border-bottom: none; }
.sidebar-hot-item:hover { background: var(--bg-light); }
.hot-rank {
  width: 20px; height: 20px; flex-shrink: 0;
  background: var(--border); color: var(--text-muted);
  border-radius: 2px; font-size: 11px; font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.hot-rank.top { background: var(--orange); color: #fff; }
.sidebar-hot-item p { font-size: 12px; color: var(--navy); line-height: 1.5; }
.sidebar-hot-item p:hover { color: var(--orange); }

/* ═══════════════════════════════════════════════════════════
   新闻详情页（与产品详情同宽 + SEO 排版）
   ═══════════════════════════════════════════════════════════ */
.news-detail-page {
  padding: 56px 0 72px;
  background:
    linear-gradient(180deg, #f4f7fb 0%, #fff 220px),
    repeating-linear-gradient(90deg, rgba(10,35,66,0.025) 0, rgba(10,35,66,0.025) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(10,35,66,0.025) 0, rgba(10,35,66,0.025) 1px, transparent 1px, transparent 80px);
}
.news-detail-page .container {
  width: 100%;
  max-width: 1280px;
}
.news-detail-page .detail-content {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 12px 40px rgba(10,35,66,0.06);
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .news-detail-page .detail-content { padding: 40px 44px; }
}
.news-detail-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.news-detail-header .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.news-detail-cat {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: rgba(255,107,0,0.1);
  color: var(--orange);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.news-detail-body {
  color: var(--text-body);
  line-height: 1.9;
  font-size: 15px;
}
.news-detail-body > p:first-child {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-body);
}
.news-detail-body h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
  line-height: 1.45;
}
.news-detail-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 12px;
}
.news-detail-body p { margin-bottom: 16px; }
.news-detail-body ul,
.news-detail-body ol { margin: 0 0 18px 22px; }
.news-detail-body li { margin-bottom: 10px; }
.news-detail-body strong { color: var(--navy); font-weight: 600; }
.news-detail-body a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.news-detail-body a:hover { color: var(--navy); }
.news-detail-body .conclusion {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 36px;
}
.news-detail-body .conclusion h2 {
  border: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 1.1rem;
}
.news-detail-footer {
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.news-detail-page .detail-pagination,
.news-detail-page .detail-related { width: 100%; }
@media (max-width: 768px) {
  .news-detail-page { padding: 40px 0 56px; }
  .news-detail-page .detail-content { padding: 24px 18px; }
}

/* 列表页侧边栏优化 */
.sidebar-category-list { list-style: none; margin: 0; padding: 0; }
.sidebar-category-list li { margin-bottom: 6px; }
.sidebar-category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.sidebar-category-list li a:hover,
.sidebar-category-list li a.is-active {
  background: rgba(10,35,66,0.04);
  border-color: rgba(255,107,0,0.25);
  color: var(--navy);
}
.sidebar-category-list li a span {
  flex-shrink: 0;
  min-width: 28px;
  padding: 2px 9px;
  border-radius: 100px;
  background: var(--light-bg);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.sidebar-category-list li a.is-active span {
  background: var(--orange);
  color: #fff;
}
.sidebar-popular-list { list-style: none; margin: 0; padding: 0; }
.sidebar-popular-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-popular-list li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-popular-list li a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.sidebar-popular-list li a:hover { color: var(--orange); }
.sidebar-popular-list li span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
}
.sidebar-widget.sidebar-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4d8c 100%);
  border: none;
  color: #fff;
}
.sidebar-widget.sidebar-cta h4 {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.15);
}
.sidebar-widget.sidebar-cta p { color: rgba(255,255,255,0.78); font-size: 13px; line-height: 1.7; }
