/* news.css — list, tabs, and cards. Shared layout is in page-base.css. */

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.news-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid rgba(30, 27, 22, 0.14);
  background: rgba(247, 250, 251, 0.72);
  color: var(--harbor-ink);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.news-tab:hover {
  border-color: var(--harbor-ink);
  color: var(--harbor-ink);
}

.news-tab.is-active {
  border-color: var(--harbor-ink);
  background: var(--harbor-ink);
  color: #f7f6f3;
}

.news-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-card {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  background: rgba(247, 250, 251, 0.82);
  border: 1px solid rgba(30, 27, 22, 0.08);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
  border-color: rgba(164, 147, 124, 0.45);
  color: inherit;
  transform: translateY(-2px);
}

.news-card:has(.news-card__media) {
  grid-template-columns: 220px 1fr;
  align-items: start;
}

.news-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(30, 27, 22, 0.06);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.news-card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.news-card__title {
  margin: 0;
  font-family: var(--font-display-pt);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.25;
}

.news-card__summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--text-sm);
  max-width: 62ch;
}

.news-empty {
  padding: 28px 22px;
  background: rgba(247, 250, 251, 0.7);
  border: 1px dashed rgba(30, 27, 22, 0.18);
  color: var(--ink-faint);
}

@media (prefers-reduced-motion: reduce) {
.news-card:hover {
    transform: none;
  }
}

/* 新闻列表和详情采用浅色编辑式排版。 */
.news-reference { background: #fdfcf9; color: #1e1b16; }
.news-reference .editorial-header { padding: 175px 28px 42px; background: linear-gradient(120deg,#f3f0e9,#fdfcf9); }
.editorial-header__inner { max-width: 1340px; margin: auto; }
.editorial-header h1 { font-family: var(--font-latin); font-size: clamp(32px,4vw,60px); line-height: 1.12; max-width: 1050px; margin: 16px 0; letter-spacing: -.025em; }
.editorial-header p { max-width: 800px; font-size: 19px; line-height: 1.5; }
.editorial-header .updates__kicker { font-size: 14px; font-weight: 750; border-left: 4px solid #a08654; padding-left: 12px; }
.editorial-back { display: inline-flex; margin-bottom: 24px; color: #a08654; text-decoration: none; font-weight: 700; }
.news-reference .shell { width: min(100%,1400px); margin: auto; padding: 32px 28px 60px; }
.news-reference .news-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; padding: 0; list-style: none; }
.news-reference .news-card { display: flex; flex-direction: column; height: 100%; padding: 0; border: 1px solid #e9e3d9; border-radius: 22px; overflow: hidden; box-shadow: 0 4px 14px #1e1b160a; background: #fdfcf9; color: #1e1b16; text-decoration: none; }
.news-reference .news-card__media { display: block; aspect-ratio: 1.6; overflow: hidden; }
.news-reference .news-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-reference .news-card__body { display: block; padding: 24px; }
.news-reference .news-card__title { font-family: var(--font-latin); font-size: 26px; line-height: 1.2; margin: 12px 0; }
.news-reference .news-card__meta { color: #a08654; font-size: 13px; font-weight: 700; }
.news-reference .news-card__summary { font-size: 16px; line-height: 1.5; color: #6f675a; }
.news-reference .news-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.news-reference .news-tab { border-radius: 999px; padding: 10px 20px; border: 1px solid #d9d1c2; color: #1e1b16; text-decoration: none; }
.news-reference .news-tab.is-active { background: #a08654; color: white; border-color: #a08654; }
.news-reference .news-empty { grid-column: 1 / -1; list-style: none; padding: 30px; }

.news-pagination { display: flex; justify-content: center; gap: 24px; margin-top: 36px; }
.news-pagination a { border: 1px solid #a08654; border-radius: 999px; padding: 12px 24px; color: #a08654; text-decoration: none; }