/* 来自 redesign/category_hunan.html 的内联样式 */
/* ========== 湖湘栏目页 - 统一版心标准两栏 ========== */

/* 统一版心：所有区域共用 container，最大1280px */
.page-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* ===== Banner 收高 300-340px ===== */
.cat-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.cat-banner-mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(60,20,30,.62), rgba(20,20,35,.55));
}
.cat-banner-inner {
  position: relative; z-index: 2;
  text-align: center;
  color: #fff;
}
.cat-banner-inner .cb-label {
  font-size: 12px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.cat-banner-inner h1 {
  font-size: 48px; font-weight: 900;
  font-family: var(--font-serif);
  letter-spacing: 8px;
  margin-bottom: 10px;
}
.cat-banner-inner p {
  font-size: 14px; color: rgba(255,255,255,.65);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== 分类导航 ===== */
.cat-subnav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cat-subnav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-subnav-inner::-webkit-scrollbar { display: none; }
.cat-subnav a {
  flex-shrink: 0;
  padding: 7px 18px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-3);
  border-radius: 6px;
  transition: all var(--dur-fast) var(--ease);
}
.cat-subnav a:hover { color: var(--brand); background: var(--brand-soft); }
.cat-subnav a.active {
  color: #fff; background: var(--brand);
  font-weight: 700;
}

/* ===== 焦点新闻 左65% 右35% ===== */
.focus-section {
  padding: 40px 0 0;
}
.focus-grid {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 32px;
  align-items: start;
}
.focus-main {
  display: block;
}
.focus-main .fm-thumb {
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.focus-main .fm-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.focus-main:hover .fm-thumb img { transform: scale(1.03); }
.focus-main .fm-cat {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--brand); text-transform: uppercase;
  margin-bottom: 8px;
}
.focus-main h2 {
  font-size: 26px; font-weight: 700; line-height: 1.45;
  font-family: var(--font-serif);
  color: var(--ink);
  margin-bottom: 10px;
  transition: color var(--dur-fast) var(--ease);
}
.focus-main:hover h2 { color: var(--brand); }
.focus-main .fm-desc {
  font-size: 14px; color: var(--ink-3); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 焦点右侧新闻列表 */
.focus-side {
  display: flex; flex-direction: column;
}
.focus-side-item {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.focus-side-item:first-child { padding-top: 0; }
.focus-side-item:last-child { border-bottom: none; }
.focus-side-item .fsi-cat {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--brand);
  margin-bottom: 6px;
}
.focus-side-item h3 {
  font-size: 15px; font-weight: 600; line-height: 1.5;
  color: var(--ink);
  margin-bottom: 6px;
  transition: color var(--dur-fast) var(--ease);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.focus-side-item:hover h3 { color: var(--brand); }
.focus-side-item .fsi-date {
  font-size: 12px; color: var(--ink-4);
}

/* ===== 主内容区 两栏布局 ===== */
.main-content {
  padding: 48px 0 0;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

/* 新闻列表 */
.news-list {
  display: flex; flex-direction: column;
}
.news-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: start;
}
.news-item:first-child { padding-top: 0; }
.news-item .ni-thumb {
  width: 180px;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.news-item .ni-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.news-item:hover .ni-thumb img { transform: scale(1.04); }
.news-item-body .ni-cat {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--brand);
  margin-bottom: 6px;
}
.news-item-body h3 {
  font-size: 18px; font-weight: 700; line-height: 1.45;
  font-family: var(--font-serif);
  color: var(--ink);
  margin-bottom: 8px;
  transition: color var(--dur-fast) var(--ease);
}
.news-item:hover h3 { color: var(--brand); }
.news-item-body .ni-desc {
  font-size: 14px; color: var(--ink-3); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.news-item-body .ni-meta {
  font-size: 13px; color: var(--ink-4);
  display: flex; align-items: center; gap: 10px;
}
.news-item-body .ni-meta .sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink-5);
}

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

/* ===== 侧栏卡片 ===== */
.sidebar {
  display: flex; flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px 22px;
}
.sidebar-card .sc-title {
  font-size: 17px; font-weight: 800;
  font-family: var(--font-serif);
  color: var(--ink);
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  margin-bottom: 16px;
  line-height: 1.2;
}

/* 湖南热门 */
.hot-list { display: flex; flex-direction: column; }
.hot-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  min-height: 48px;
}
.hot-item:last-child { border-bottom: none; padding-bottom: 0; }
.hot-item:first-child { padding-top: 0; }
.hot-item .hi-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  color: var(--ink-4);
  font-family: var(--font-serif);
}
.hot-item:nth-child(1) .hi-num { color: #dc2626; }
.hot-item:nth-child(2) .hi-num { color: #ea580c; }
.hot-item:nth-child(3) .hi-num { color: #ca8a04; }
.hot-item h4 {
  font-size: 14px; font-weight: 600; line-height: 1.5;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-item:hover h4 { color: var(--brand); }

/* 热门标签 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== 城市推荐 ===== */
.city-section {
  padding: 56px 0;
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.city-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 22px 20px;
  transition: all var(--dur-fast) var(--ease);
}
.city-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.city-card .cc-name {
  font-size: 18px; font-weight: 800;
  font-family: var(--font-serif);
  color: var(--ink);
  margin-bottom: 4px;
}
.city-card .cc-count {
  font-size: 12px; color: var(--ink-4);
  margin-bottom: 10px;
}
.city-card .cc-latest {
  font-size: 13px; color: var(--ink-3); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 响应式 ===== */
@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 {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .focus-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .page-container {
    width: min(1280px, calc(100% - 32px));
  }
  .cat-banner { height: 240px; }
  .cat-banner-inner h1 { font-size: 34px; letter-spacing: 4px; }
  .news-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .news-item .ni-thumb {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .sidebar { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr; }
  .focus-main h2 { font-size: 20px; }
}