/* 新闻中心专有样式：分类入口 / 汇总列表 */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  margin-bottom: clamp(40px, 6vw, 72px);
}

.cat-block {
  display: block;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.cat-block:hover,
.cat-block:focus-visible {
  background: var(--brand-soft);
  border-color: rgba(78, 125, 72, 0.45);
  transform: translateY(-2px);
}

.cat-block .cat-count {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.cat-block h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}

.cat-block:hover h2 { color: var(--brand); }

.cat-block p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.cat-block .cat-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.cat-block .cat-go::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.22s var(--ease);
}

.cat-block:hover .cat-go::after { width: 30px; }

.news-section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 0;
}

.news-section-title h2 { font-size: 20px; font-weight: 600; }

.news-section-title span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

@media (max-width: 760px) {
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
}
