/* 来自 redesign/category_business.html 的内联样式 */
/* ========== 产经栏目页 - 按22条优化要求重写 ========== */

.page-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* 面包屑 */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px; color: var(--ink-4);
  border-bottom: 1px solid var(--line-light);
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-5); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* 频道标题 */
.channel-header { padding: 28px 0 16px; }
.channel-title {
  display: flex; justify-content: space-between; align-items: flex-end;
}
.channel-title h1 {
  font-size: 30px; font-weight: 600; line-height: 1.2;
  font-family: var(--font-serif);
  color: var(--ink); letter-spacing: 2px;
}
.page-count { font-size: 13px; color: #999; }

/* 分类导航 */
.cat-subnav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.cat-subnav-inner {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.cat-subnav-inner::-webkit-scrollbar { display: none; }
.cat-subnav a {
  flex-shrink: 0;
  padding: 13px 20px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--dur-fast);
}
.cat-subnav a:hover { color: var(--brand); }
.cat-subnav a.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 700; }

/* ===== 焦点区 ===== */
.hero-section { margin-bottom: 40px; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}
/* 主焦点新闻 */
.hero-main {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--dur-normal);
}
.hero-main:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.hero-image {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
}
.hero-body {
  padding: 18px 20px 20px;
  border: 1px solid #eee;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}
.hero-cat {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  color: #fff; background: #0f766e;
  padding: 3px 10px; border-radius: 4px;
  margin-bottom: 10px;
}
.hero-title {
  font-size: 23px; line-height: 1.5; font-weight: 600;
  font-family: var(--font-serif);
  color: var(--ink);
  transition: color var(--dur-fast);
}
.hero-main:hover .hero-title { color: var(--brand); }
.hero-summary {
  margin-top: 8px;
  font-size: 14px; line-height: 1.8; color: #666;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-meta {
  margin-top: 10px;
  font-size: 12px; color: #999;
  display: flex; align-items: center; gap: 10px;
}
.hero-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: #ddd; }

/* 右侧新闻 */
.hero-side {
  display: flex; flex-direction: column;
  gap: 12px;
  height: 100%;
}
.hero-side-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all var(--dur-fast);
  flex: 1;
}
.hero-side-item:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.hero-side-item .hsi-thumb {
  width: 110px; aspect-ratio: 4/3;
  border-radius: 6px; overflow: hidden;
  flex-shrink: 0;
}
.hero-side-item .hsi-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-side-item .hsi-cat {
  font-size: 11px; font-weight: 700;
  color: #0f766e;
  margin-bottom: 4px;
}
.hero-side-item h3 {
  font-size: 14px; line-height: 1.5; font-weight: 600;
  color: var(--ink);
  transition: color var(--dur-fast);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-side-item:hover h3 { color: var(--brand); }

/* ===== 主体双栏 ===== */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-bottom: 64px;
}

/* 左栏 */
.main-col { min-width: 0; }

/* 栏目板块 */
.category-block { margin-bottom: 36px; }
.category-block:first-child { margin-bottom: 36px; }
.category-block:last-of-type { margin-bottom: 0; }

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  border-bottom: 2px solid #222;
  margin-bottom: 0;
}
.section-title .st-left {
  display: flex; align-items: center; gap: 10px;
}
.section-title .st-left::before {
  content: ''; width: 4px; height: 16px;
  background: var(--brand); border-radius: 2px;
}
.section-title h3 {
  font-size: 18px; font-weight: 600;
  font-family: var(--font-serif);
  color: var(--ink);
}
.section-title .more {
  font-size: 13px; color: #999;
  transition: color var(--dur-fast);
}
.section-title .more:hover { color: var(--brand); }

/* 栏目新闻网格 - 两列 */
.section-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 0;
}
.section-news-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}
.section-news-image {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.section-news-info { min-width: 0; }
.section-news-title {
  font-size: 15px; line-height: 1.55; font-weight: 500;
  color: var(--ink);
  transition: color var(--dur-fast);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.section-news-item:hover .section-news-title { color: var(--brand); }
.section-news-meta {
  margin-top: 6px;
  font-size: 12px; color: #999;
  display: flex; align-items: center; gap: 8px;
}
.section-news-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: #ddd; }

/* 分页 */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding-top: 8px;
}
.pagination {
  display: inline-flex; align-items: center; gap: 6px;
}
.pagination a, .pagination span {
  min-width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-3);
  border: 1px solid #e5e5e5;
  padding: 0 12px;
  transition: all var(--dur-fast);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ===== 右栏 ===== */
.sidebar-col {
  min-width: 0;
  display: flex; flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
  align-self: start;
}

/* 卡片通用 */
.sidebar-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 18px 20px;
}
.sidebar-card .sc-title {
  font-size: 16px; font-weight: 700;
  font-family: var(--font-serif);
  color: var(--ink);
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  margin-bottom: 14px; line-height: 1.2;
}

/* 最热榜单 */
.hot-rank-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f2f2f2;
}
.hot-rank-item:last-child { border-bottom: none; padding-bottom: 0; }
.hot-rank-item:first-child { padding-top: 0; }
.hot-rank-item .rank {
  flex-shrink: 0;
  width: 24px;
  font-size: 15px; font-weight: 600;
  color: #aaa;
  font-family: var(--font-serif);
  text-align: center;
}
.hot-rank-item:nth-child(-n+3) .rank {
  color: #d92d2d;
  font-weight: 700;
}
.hot-rank-item h4 {
  font-size: 14px; line-height: 1.5; font-weight: 500;
  color: var(--ink);
  transition: color var(--dur-fast);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-rank-item:hover h4 { color: var(--brand); }

/* 热门标签 */
.tag-cloud {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tag-cloud .tag {
  display: inline-flex;
  height: 28px;
  padding: 0 11px;
  align-items: center;
  border-radius: 14px;
  background: #f6f7f8;
  font-size: 12px;
  color: #555;
  transition: all var(--dur-fast);
}
.tag-cloud .tag:hover {
  background: #fff0f0;
  color: #d92d2d;
}

/* 产经速览 - 数据模块 */
.biz-stats {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 18px 20px;
}
.biz-stats .sc-title {
  font-size: 16px; font-weight: 700;
  font-family: var(--font-serif);
  color: var(--ink);
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  margin-bottom: 14px; line-height: 1.2;
}
.biz-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.biz-stat-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px 14px;
}
.biz-stat-item .bsi-label {
  font-size: 11px; color: #999;
  margin-bottom: 4px;
}
.biz-stat-item .bsi-value {
  font-size: 20px; font-weight: 700;
  font-family: var(--font-serif);
  color: var(--ink);
}
.biz-stat-item .bsi-change {
  font-size: 11px; font-weight: 600;
  margin-left: 4px;
}
.biz-stat-item .bsi-change.up { color: #dc2626; }
.biz-stat-item .bsi-change.down { color: #16a34a; }

/* 栏目推荐 - 轻列表 */
.rec-section {
  padding: 0;
  border: none;
  background: transparent;
}
.rec-section .sc-title {
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  margin-bottom: 14px;
}
.recommend-item {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}
.recommend-item:last-child { border-bottom: none; padding-bottom: 0; }
.recommend-item h4 {
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
  transition: color var(--dur-fast);
}
.recommend-item:hover h4 { color: var(--brand); }
.recommend-item p {
  font-size: 12px; color: #888; line-height: 1.5;
}

/* 响应式 */
@media (max-width: 1199px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }
}
@media (max-width: 991px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-col {
    order: 2;
    position: static;
    margin-top: 32px;
  }
  .hero-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .page-container { width: min(1280px, calc(100% - 32px)); }
  .channel-title h1 { font-size: 26px; }
  .hero-title { font-size: 19px; }
  .section-news-grid { grid-template-columns: 1fr; }
  .section-news-item { grid-template-columns: 110px 1fr; gap: 12px; }
  .section-news-image { width: 110px; }
  .hero-side-item { grid-template-columns: 100px 1fr; }
  .hero-side-item .hsi-thumb { width: 100px; }
}