/* 行业资讯 - 列表页 / 详情页 */

/* 与其它子页一致的基础 reset（顶栏间距依赖 #site-header 内联样式恢复） */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.divider-brand {
  height: 3px;
  width: 4rem;
  background: linear-gradient(135deg, #f15a24 0%, #ed1c24 100%);
  border-radius: 2px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--slate-100, #f1f5f9);
}

.section-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary, #f15a24);
  letter-spacing: 0.08em;
}

.section-badge .icon-primary {
  color: var(--primary, #f15a24);
}

.news-page {
  background: #fff;
  color: #141414;
  max-width: 100%;
  overflow-x: hidden;
}

.news-page-main {
  padding: 5rem 0 0;
  min-height: 60vh;
}

@media (min-width: 768px) {
  .news-page-main {
    padding: 6rem 0 0;
  }
}

.news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.news-breadcrumb a {
  color: #64748b;
  transition: color 0.2s;
}

.news-breadcrumb a:hover {
  color: #f15a24;
}

.news-page-head {
  margin-bottom: 2.5rem;
}

.news-page-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.75rem 0 0;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .news-page-title {
    font-size: 2.25rem;
  }
}

.news-page-desc {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 48rem;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #f15a24;
  margin-bottom: 1.5rem;
  transition: gap 0.2s;
}

.news-back-link:hover {
  gap: 0.625rem;
}

.news-list-wrap {
  margin-bottom: 2rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

/* 列表卡片（与首页行业资讯区块一致） */
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  max-width: 100%;
}

.news-grid--list {
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .news-grid--list {
    gap: 1.25rem;
  }
}

.news-item {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-100, #f1f5f9);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .news-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 1rem;
  }
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.news-date-block {
  display: none;
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background: var(--slate-50, #f8fafc);
  border: 1px solid var(--slate-100, #f1f5f9);
  border-radius: 1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .news-date-block {
    display: flex;
  }
}

.news-date-day {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary, #f15a24);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.news-date-month {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-400, #94a3b8);
}

.news-item-body {
  flex: 1;
  min-width: 0;
}

.news-mobile-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .news-mobile-head {
    display: none;
  }
}

.news-mobile-date {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--slate-500, #64748b);
  white-space: nowrap;
  flex-shrink: 0;
}

.news-mobile-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900, #0f172a);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.news-desktop-meta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .news-desktop-meta {
    display: flex;
  }
}

.news-category {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .news-mobile-head .news-category {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
  }
}

.news-category.industry {
  color: var(--primary, #f15a24);
  background: #fff7ed;
  border-color: #ffedd5;
}

.news-category.policy {
  color: #2563eb;
  background: #eff6ff;
  border-color: #dbeafe;
}

.news-category.company {
  color: #e11d48;
  background: #fff1f2;
  border-color: #ffe4e6;
}

.news-category.tech {
  color: #0d9488;
  background: #f0fdfa;
  border-color: #ccfbf1;
}

.news-date-full {
  font-size: 0.75rem;
  color: var(--slate-400, #94a3b8);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.news-desktop-title {
  display: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900, #0f172a);
  margin: 0 0 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .news-desktop-title {
    display: block;
  }
}

.news-summary {
  font-size: 0.75rem;
  color: var(--slate-500, #64748b);
  font-weight: 500;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .news-summary {
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-break: break-word;
  }
}

.news-item-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .news-item-link {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.news-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #94a3b8;
  font-size: 0.9375rem;
}

.news-pagination {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.news-pagination .page-bar,
.news-pagination ul,
.news-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.news-pagination a:hover {
  color: #f15a24;
  border-color: rgba(241, 90, 36, 0.35);
  background: #fff7ed;
}

.news-pagination strong,
.news-pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f15a24 0%, #ed1c24 100%);
  border: none;
}

/* 详情 */
.news-article-header {
  margin-bottom: 2rem;
}

.news-article-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .news-article-title {
    font-size: 2.125rem;
  }
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: #94a3b8;
  margin: 0;
}

.news-article-meta svg {
  color: #f15a24;
}

.news-article-source {
  color: #64748b;
}

.news-article-lead {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid rgba(241, 90, 36, 0.45);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #475569;
}

.news-article-cover {
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.news-article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.cms-article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #334155;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.cms-article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.cms-article-body pre,
.cms-article-body code {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.cms-article-body h2,
.cms-article-body h3,
.cms-article-body h4 {
  color: #0f172a;
  font-weight: 800;
  margin: 2rem 0 1rem;
  line-height: 1.4;
}

.cms-article-body p {
  margin: 0 0 1.25rem;
}

.cms-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.cms-article-body a {
  color: #f15a24;
  text-decoration: underline;
}

.cms-article-body ul,
.cms-article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.cms-article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-left: 4px solid #f15a24;
  color: #475569;
}

/* 详情页布局 */
.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .news-detail-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .news-detail-layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 3rem;
  }
}

.news-article {
  min-width: 0;
}

.news-article-header .divider-brand {
  margin-top: 1rem;
}

.news-article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.news-article-meta--source svg {
  color: #94a3b8;
}

.news-article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9;
}

.news-detail-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .news-detail-nav {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.news-detail-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  min-height: 4.5rem;
}

.news-detail-nav-item:hover {
  border-color: rgba(241, 90, 36, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.news-detail-nav-item--next {
  text-align: right;
}

@media (min-width: 640px) {
  .news-detail-nav-item--next {
    grid-column: 2;
  }
}

.news-detail-nav-item--empty {
  color: #94a3b8;
  font-size: 0.875rem;
  justify-content: center;
  background: #f8fafc;
  cursor: default;
}

.news-detail-nav-item--empty:hover {
  transform: none;
  box-shadow: none;
  border-color: #f1f5f9;
}

.news-detail-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f15a24;
  letter-spacing: 0.06em;
}

.news-detail-nav-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f15a24 0%, #ed1c24 100%);
  box-shadow: 0 8px 20px rgba(241, 90, 36, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-detail-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(241, 90, 36, 0.32);
}

.news-detail-sidebar {
  position: static;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .news-detail-sidebar {
    position: sticky;
    top: 6rem;
  }
}

.news-detail-sidebar-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .news-detail-sidebar-card {
    padding: 1.5rem;
  }
}

.news-detail-sidebar-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.news-detail-sidebar-divider {
  width: 2.5rem;
  margin: 0.75rem 0 1rem;
}

.news-detail-related {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-detail-related-item {
  border-bottom: 1px solid #f1f5f9;
}

.news-detail-related-item:last-child {
  border-bottom: none;
}

.news-detail-related-link {
  display: block;
  padding: 0.875rem 0;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.news-detail-related-link:hover .news-detail-related-text {
  color: #f15a24;
}

.news-detail-related-item.is-active .news-detail-related-text {
  color: #f15a24;
  font-weight: 700;
}

.news-detail-related-date {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.news-detail-related-text {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-detail-sidebar-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f15a24;
}

.news-detail-sidebar-more:hover {
  gap: 0.625rem;
}
