/* ============================================================
   文章导索页：页头 + 筛选栏 + 文章列表
   布局比例取自设计稿第 7 页（1280 画布）
   ============================================================ */

/* 页头：居中，与友链页标题同款（8rem + 2rem）
   标题与顶部栏的距离 = 副标题与下方第一个内容框的距离（各 1.5rem） */
.page-articles .page-content,
.page-search .page-content {
  padding-top: calc(var(--nav-h) + 1rem);
  margin: 0 0 0 2.4rem;
}
.page-head { margin-left: 0; padding-top: .5rem; text-align: center; }
.page-head h1 { font-size: 8rem; font-weight: 700; line-height: 1.25; }
.page-head p { font-size: 2rem; font-weight: 600; opacity: .92; margin-top: .2rem; }

.articles-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* —— 筛选条件栏（随内容一起滚动）；整体靠左 + 小字号，英文长标签不换行 —— */
.filter-panel { width: 15.75rem; flex-shrink: 0; }
.filter-group {
  display: grid;
  grid-template-columns: 4.75rem 1px 1fr;
  align-items: start;
  gap: .6rem 1.25rem;
}
.filter-group + .filter-group { margin-top: 2.6rem; }
.filter-group h3 {
  font-size: 1.25rem; font-weight: 700;
  text-align: right;
  line-height: 1.7;
}
.fg-divider { background: rgba(255, 255, 255, .4); align-self: stretch; }
.fg-options { display: flex; flex-direction: column; }
.filter-opt {
  display: flex; align-items: center;
  font-size: 1.25rem; font-weight: 600;
  line-height: 1.7;
  text-align: left;
  padding: .1rem 0;
}
.filter-opt::before {
  content: '';
  width: 1.05em; height: 1.05em;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: .22em;
  margin-right: .55em;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85em; font-weight: 700;
  color: var(--blue-deep);
  transition: background .2s ease;
}
.filter-opt.selected::before { content: '✓'; background: var(--white); border-color: var(--white); }

/* —— 文章列表卡 —— */
.article-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.88rem; }

.article-card {
  display: flex;
  height: 7.56rem;
  background: var(--blue-panel);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.article-card .ac-cover {
  width: 13.8rem; height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.article-card .ac-main {
  flex: 1;
  min-width: 0;
  padding: .9rem 1.5rem;
  display: flex; flex-direction: column; justify-content: center;
  gap: .35rem;
}
.ac-line1 { display: flex; align-items: center; gap: 1.1rem; }
.ac-line1 h3 {
  font-size: 3rem; font-weight: 700; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex-shrink: 1;
}
.ac-divider { width: 2px; height: 2.8rem; background: rgba(255, 255, 255, .45); flex-shrink: 0; }
.ac-meta {
  font-size: 1.17rem; font-weight: 600;
  display: flex; align-items: center; gap: 3rem;
  flex-shrink: 0;
}
.ac-meta .ac-date { font-family: var(--font-logo); }
.ac-intro {
  font-size: 1.17rem;
  color: rgba(255, 255, 255, .85);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 空结果提示 */
.list-empty {
  padding: 3rem 1rem;
  text-align: center;
  font-size: 1.5rem;
  color: var(--text-dim);
}
