@charset "utf-8";
/* ============================================================
   pages/news.css — 观点列表与文章卡
   ============================================================ */

.feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 30px;
  margin-top: 42px;
}

.feed__item.is-hidden {
  display: none;
}

.feed__frame {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper-dim);
}

.feed__frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.feed__link:hover .feed__frame img,
.feed__link:focus-visible .feed__frame img {
  transform: scale(1.03);
}

.feed__kicker {
  display: block;
  margin-top: 18px;
  color: var(--brand);
  font-size: 13px;
}

.feed__title {
  margin-top: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  transition: color 0.3s var(--ease);
}

.feed__link:hover .feed__title,
.feed__link:focus-visible .feed__title {
  color: var(--brand);
}

.feed__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: #8b8e9b;
  font-size: 12px;
}

.feed__excerpt {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed__more {
  display: inline-flex;
  margin-top: 14px;
}

/* 列表页副标题与筛选条 */
.news-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
}

.news-count {
  color: var(--ink-3);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }
}

@media (max-width: 768px) {
  .feed {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin-top: 24px;
  }

  .feed__kicker {
    margin-top: 14px;
  }

  .feed__title {
    font-size: 15px;
  }

  .news-bar {
    margin-top: 24px;
  }
}
