/* ========== News ========== */
/* ========== 新闻列表页样式 ========== */

/* 页面容器 */
.nl-page {
  background: #f5f5f7;
  min-height: 100vh;
}

/* 顶部横幅 */
.nl-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #1a1a2e 100%);
  padding: 48px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nl-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.nl-banner h1 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}

.nl-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  position: relative;
}

/* 统计栏 */
.nl-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 28px;
  position: relative;
}

.nl-stat-item {
  text-align: center;
}

.nl-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.nl-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* 搜索与筛选区 */
.nl-toolbar {
  max-width: 1200px;
  margin: -20px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.nl-toolbar-inner {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nl-search-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.nl-search-input {
  flex: 1;
  height: 44px;
  border: 1.5px solid #e4e4e7;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.nl-search-input:focus {
  border-color: #dc2626;
}

.nl-search-input::placeholder {
  color: #a1a1aa;
}

.nl-search-btn {
  height: 44px;
  padding: 0 28px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.nl-search-btn:hover {
  background: #b91c1c;
}

/* 分类Tab */
.nl-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #f0f0f0;
}

.nl-tab {
  padding: 10px 24px;
  font-size: 15px;
  color: #71717a;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-weight: 500;
}

.nl-tab:hover {
  color: #171717;
}

.nl-tab.active {
  color: #dc2626;
  border-bottom-color: #dc2626;
  font-weight: 600;
}

.nl-tab .tab-count {
  display: inline-block;
  font-size: 11px;
  background: #f4f4f5;
  color: #71717a;
  border-radius: 10px;
  padding: 1px 7px;
  margin-left: 6px;
  font-weight: 400;
}

.nl-tab.active .tab-count {
  background: #fef2f2;
  color: #dc2626;
}

/* 筛选行 */
.nl-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
}

.nl-filter-label {
  font-size: 13px;
  color: #a1a1aa;
  white-space: nowrap;
}

.nl-filter-select {
  height: 34px;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  padding: 0 28px 0 10px;
  font-size: 13px;
  color: #52525b;
  outline: none;
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  -webkit-appearance: none;
}

.nl-filter-select:focus {
  border-color: #dc2626;
}

/* 内容区 */
.nl-content {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 24px 80px;
}

/* 结果统计 */
.nl-result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.nl-result-count {
  font-size: 14px;
  color: #71717a;
}

.nl-result-count strong {
  color: #dc2626;
  font-weight: 600;
}

.nl-view-toggle {
  display: flex;
  gap: 4px;
}

.nl-view-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  transition: all 0.2s;
}

.nl-view-btn.active,
.nl-view-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

/* 新闻列表 - 列表模式 */
.nl-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 新闻卡片 - 列表项 */
.nl-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
}

.nl-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #dc2626;
  transform: translateY(-1px);
}

/* 卡片序号 */
.nl-card-index {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #a1a1aa;
  background: #f4f4f5;
}

.nl-card:nth-child(1) .nl-card-index {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
}

.nl-card:nth-child(2) .nl-card-index {
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
}

.nl-card:nth-child(3) .nl-card-index {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
}

/* 卡片内容 */
.nl-card-body {
  flex: 1;
  min-width: 0;
}

.nl-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.nl-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.5;
}

.nl-card-tag.tag-bidding {
  background: #fef2f2;
  color: #dc2626;
}

.nl-card-tag.tag-clarify {
  background: #fff7ed;
  color: #ea580c;
}

.nl-card-tag.tag-award {
  background: #f0fdf4;
  color: #16a34a;
}

.nl-card-tag.tag-correction {
  background: #eff6ff;
  color: #2563eb;
}

.nl-card-tag.tag-policy {
  background: #faf5ff;
  color: #7c3aed;
}

.nl-card-tag.tag-urgent {
  background: #dc2626;
  color: #fff;
}

.nl-card-tag.tag-new {
  background: #16a34a;
  color: #fff;
}

.nl-card-tag.tag-hot {
  background: #ea580c;
  color: #fff;
}

.nl-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #171717;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.nl-card:hover .nl-card-title {
  color: #dc2626;
}

.nl-card-desc {
  font-size: 13px;
  color: #71717a;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

/* 卡片底部信息 */
.nl-card-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nl-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #a1a1aa;
}

.nl-meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.nl-meta-item .meta-company {
  color: #52525b;
  font-weight: 500;
}

/* 卡片右侧金额 */
.nl-card-right {
  flex-shrink: 0;
  text-align: right;
  min-width: 120px;
}

.nl-card-amount-label {
  font-size: 12px;
  color: #a1a1aa;
  margin-bottom: 2px;
}

.nl-card-amount {
  font-size: 18px;
  font-weight: 700;
  color: #dc2626;
}

.nl-card-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

.nl-card-status.status-active {
  background: #f0fdf4;
  color: #16a34a;
}

.nl-card-status.status-ended {
  background: #f4f4f5;
  color: #a1a1aa;
}

/* 卡片模式 - 网格 */
.nl-list.grid-view {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-view .nl-card {
  flex-direction: column;
  gap: 0;
  padding: 20px;
}

.grid-view .nl-card-index {
  display: none;
}

.grid-view .nl-card-right {
  text-align: left;
  min-width: auto;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f4f4f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 分页 */
.nl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
}

.nl-page-btn {
  min-width: 38px;
  height: 38px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  background: #fff;
  color: #52525b;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.nl-page-btn:hover {
  border-color: #dc2626;
  color: #dc2626;
}

.nl-page-btn.active {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.nl-page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nl-page-btn svg {
  width: 16px;
  height: 16px;
}

/* 响应式 */
@media (max-width: 900px) {
  .nl-stats {
    gap: 24px;
  }

  .nl-stat-num {
    font-size: 22px;
  }

  .nl-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nl-tab {
    padding: 10px 16px;
    font-size: 14px;
  }

  .nl-list.grid-view {
    grid-template-columns: 1fr;
  }

  .nl-card-right {
    min-width: 100px;
  }

  .nl-card-amount {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .nl-banner {
    padding: 32px 0 28px;
  }

  .nl-banner h1 {
    font-size: 24px;
  }

  .nl-stats {
    gap: 16px;
  }

  .nl-stat-num {
    font-size: 20px;
  }

  .nl-toolbar-inner {
    padding: 16px;
  }

  .nl-search-row {
    flex-direction: column;
  }

  .nl-search-btn {
    width: 100%;
  }

  .nl-filters {
    flex-wrap: wrap;
    gap: 8px;
  }

  .nl-card {
    flex-direction: column;
    gap: 0;
    padding: 16px;
  }

  .nl-card-index {
    display: none;
  }

  .nl-card-right {
    text-align: left;
    min-width: auto;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f4f4f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nl-card-meta {
    gap: 12px;
  }

  .nl-card-title {
    font-size: 15px;
  }
}

/* ========== 新闻详情页 ========== */

/* 页面布局 */
.news-detail-page {
  background: var(--muted);
  min-height: 100vh;
}

/* 顶部面包屑 */
.news-breadcrumb {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.news-breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.news-breadcrumb a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.news-breadcrumb a:hover {
  color: var(--red);
}

.news-breadcrumb .sep {
  color: var(--border);
}

.news-breadcrumb .current {
  color: var(--foreground);
  font-weight: 500;
}

/* 主体两栏布局 */
.news-detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ====== 左侧分类导航 ====== */
.news-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}

.news-sidebar-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.news-sidebar-title {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-sidebar-title svg {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.news-cat-list {
  padding: 8px 0;
}

.news-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  border-left: 3px solid transparent;
}

.news-cat-item:hover {
  background: var(--muted);
  color: var(--foreground);
}

.news-cat-item.active {
  color: var(--red);
  font-weight: 600;
  background: #fef2f2;
  border-left-color: var(--red);
}

.news-cat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.news-cat-icon.icon-bidding {
  background: #fef2f2;
  color: var(--red);
}

.news-cat-icon.icon-clarify {
  background: #fff7ed;
  color: #ea580c;
}

.news-cat-icon.icon-award {
  background: #f0fdf4;
  color: #16a34a;
}

.news-cat-icon.icon-correction {
  background: #eff6ff;
  color: #2563eb;
}

.news-cat-icon.icon-policy {
  background: #faf5ff;
  color: #9333ea;
}

.news-cat-count {
  margin-left: auto;
  font-size: 12px;
  background: var(--muted);
  color: var(--muted-foreground);
  padding: 2px 8px;
  border-radius: 10px;
}

.news-cat-item.active .news-cat-count {
  background: #fecaca;
  color: var(--red);
}

/* 侧边栏热门文章 */
.sidebar-hot {
  margin-top: 16px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sidebar-hot-title {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-hot-title svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

.hot-list {
  padding: 12px 0;
}

.hot-item {
  display: flex;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.hot-item:hover {
  background: var(--muted);
}

.hot-rank {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--muted);
  color: var(--muted-foreground);
}

.hot-rank.top1 { background: var(--red); color: white; }
.hot-rank.top2 { background: #ea580c; color: white; }
.hot-rank.top3 { background: var(--amber); color: white; }

.hot-text {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-item:hover .hot-text {
  color: var(--red);
}

/* ====== 右侧文章区域 ====== */
.news-article-area {
  flex: 1;
  min-width: 0;
}

/* 文章卡片 */
.news-article-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* 文章头部 */
.article-header {
  padding: 32px 36px 0;
  border-bottom: 1px solid var(--border);
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.article-type-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.article-type-tag.tag-bidding { background: var(--red); }
.article-type-tag.tag-clarify { background: #ea580c; }
.article-type-tag.tag-award { background: #16a34a; }
.article-type-tag.tag-correction { background: #2563eb; }
.article-type-tag.tag-policy { background: #9333ea; }

.article-status {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.article-status.status-ongoing {
  background: #fef2f2;
  color: var(--red);
}

.article-status.status-ended {
  background: var(--muted);
  color: var(--muted-foreground);
}

.article-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.4;
  margin-bottom: 16px;
}

.article-info-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}

.article-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.article-info-item svg {
  width: 14px;
  height: 14px;
}

.article-info-item strong {
  color: var(--foreground);
  font-weight: 500;
}

/* 文章正文 */
.article-body {
  padding: 32px 36px;
}

.article-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
  margin: 28px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
}

.article-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  margin: 20px 0 12px;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 12px 0 16px 20px;
}

.article-body li {
  font-size: 15px;
  line-height: 2;
  color: #374151;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.article-body table th {
  background: var(--muted);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.article-body table td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: #374151;
}

.article-body table tr:hover td {
  background: #fafafa;
}

/* 重要信息框 */
.article-highlight {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 20px 0;
}

.article-highlight-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 8px;
}

.article-highlight-title svg {
  width: 16px;
  height: 16px;
}

.article-highlight p {
  font-size: 14px;
  color: #92400e;
  margin-bottom: 4px;
}

/* 文件下载 */
.article-download {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  margin: 12px 0;
  cursor: pointer;
  transition: background 0.2s;
}

.article-download:hover {
  background: #dbeafe;
}

.article-download-icon {
  width: 36px;
  height: 36px;
  background: #3b82f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-download-icon svg {
  width: 18px;
  height: 18px;
  color: white;
}

.article-download-info {
  flex: 1;
}

.article-download-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e40af;
}

.article-download-size {
  font-size: 12px;
  color: #6b7280;
}

.article-download-action {
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
}

/* 标签 */
.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.article-tags-label {
  font-size: 13px;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-tags-label svg {
  width: 14px;
  height: 14px;
}

.article-tag {
  font-size: 12px;
  padding: 4px 12px;
  background: var(--muted);
  color: var(--muted-foreground);
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

.article-tag:hover {
  background: #fef2f2;
  color: var(--red);
}

/* 文章操作栏 */
.article-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 36px;
  border-top: 1px solid var(--border);
}

.article-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted-foreground);
  cursor: pointer;
  background: white;
  transition: all 0.2s;
}

.article-action-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: #fef2f2;
}

.article-action-btn svg {
  width: 16px;
  height: 16px;
}

.article-action-btn.liked {
  border-color: var(--red);
  color: var(--red);
  background: #fef2f2;
}

/* 上下篇导航 */
.article-nav {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.article-nav-card {
  flex: 1;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.article-nav-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}

.article-nav-label {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-nav-title {
  font-size: 14px;
  color: var(--foreground);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-nav-card:hover .article-nav-title {
  color: var(--red);
}

/* ====== 响应式 ====== */
@media (max-width: 900px) {
  .news-detail-layout {
    flex-direction: column;
  }

  .news-sidebar {
    width: 100%;
    position: static;
  }

  .news-cat-list {
    display: flex;
    overflow-x: auto;
    padding: 8px 12px;
    gap: 0;
  }

  .news-cat-item {
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 10px 16px;
  }

  .news-cat-item.active {
    border-bottom-color: var(--red);
    border-left-color: transparent;
  }

  .sidebar-hot {
    display: none;
  }

  .article-header {
    padding: 24px 20px 0;
  }

  .article-body {
    padding: 24px 20px;
  }

  .article-tags,
  .article-actions {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-title {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .news-detail-layout {
    padding: 12px 12px 40px;
  }

  .article-info-row {
    gap: 12px;
  }

  .article-nav {
    flex-direction: column;
  }

  .article-body table {
    font-size: 12px;
  }

  .article-body th,
  .article-body td {
    padding: 8px 10px;
  }
}
