/**
 * 文章列表（template-articles.php）
 * 依赖 front-page.css（hc-article-card / hc-section--articles 等）
 */

/* Banner：底图铺满，去掉默认浅色渐变与点阵遮层（大图本身已偏亮） */
.home-corporate.articles-page .custom-page-hero.articles-page-hero.custom-page-hero--has-bg {
  background-image: var(--custom-page-hero-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-corporate.articles-page .custom-page-hero.articles-page-hero::before {
  display: none;
}

.home-corporate.articles-page .articles-page-hero__preline {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hc-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-corporate.articles-page .articles-page-hero__title {
  margin: 0;
  max-width: min(18em, 100%);
  font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--hc-ink);
}

/* 列表区标题 */
.home-corporate.articles-page .articles-page__list-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.home-corporate.articles-page .articles-page__list-title {
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* 分页 */
.home-corporate.articles-page .articles-page-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: clamp(40px, 5vw, 56px);
}

.home-corporate.articles-page .articles-page-pagination__edge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--hc-line);
  background: var(--hc-surface);
  color: var(--hc-muted);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.home-corporate.articles-page .articles-page-pagination__edge:hover:not(.is-disabled) {
  border-color: var(--hc-line-strong);
  color: var(--hc-ink);
  background: var(--hc-surface-muted);
}

.home-corporate.articles-page .articles-page-pagination__edge.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.home-corporate.articles-page .articles-page-pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-corporate.articles-page .articles-page-pagination__list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-corporate.articles-page .articles-page-pagination__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--hc-line);
  background: var(--hc-surface);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--hc-muted);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.home-corporate.articles-page .articles-page-pagination__list a:hover {
  border-color: var(--hc-line-strong);
  color: var(--hc-ink);
}

.home-corporate.articles-page .articles-page-pagination__list a.is-active {
  border-color: var(--hc-ink);
  background: var(--hc-ink);
  color: #fff;
}

.home-corporate.articles-page .articles-page-alert {
  margin: 0;
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hc-muted);
  border: 1px dashed var(--hc-line-strong);
  border-radius: var(--hc-radius-md);
  background: var(--hc-surface);
}
