/* ============================================================
   home-editorial.css — 赢政天下中文站
   仅补充 style.css 缺少的组件：YZ 指数看板 + site tagline
   其余全部复用 style.css 已有样式
   ============================================================ */

/* --- Site Tagline (home only) --- */
.header-brand {
  display: flex;
  align-items: center;
}

.site-tagline {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  margin-left: 20px;
}

/* --- YZ 指数看板 --- */
.editorial-yz {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light, #f0f0f0);
}

.editorial-yz__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.editorial-yz__header h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text, #1a1a1a);
}

.editorial-yz__more {
  font-size: 12px;
  color: var(--text-muted, #999);
  text-decoration: none;
}

.editorial-yz__more:hover {
  color: var(--accent, #c41a1a);
}

.editorial-yz__rule {
  display: inline-block;
  width: 3px;
  height: 16px;
  transform: translateY(2px);
}

.editorial-yz__rule--red { background: var(--accent, #c41a1a); }
.editorial-yz__rule--gold { background: #d4a24c; }

.editorial-yz__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.editorial-yz__card {
  background: #fff;
  border-top: 3px solid var(--accent, #c41a1a);
  padding: 12px 16px;
}

.editorial-yz__card--red {
  border-top-color: var(--accent, #c41a1a);
}

.editorial-yz__card--gold {
  border-top-color: #d4a24c;
  background: #fdf8ef;
}

.editorial-yz__label {
  font-size: 12px;
  color: var(--text-muted, #999);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.editorial-yz__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.editorial-yz__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e5e5;
  font-size: 14px;
  color: var(--text, #1a1a1a);
}

.editorial-yz__list li:last-child {
  border-bottom: none;
}

.editorial-yz__list li span {
  font-weight: 700;
  margin-right: 6px;
  min-width: 16px;
}

.editorial-yz__card--red .editorial-yz__list li span {
  color: var(--accent, #c41a1a);
}

.editorial-yz__card--gold .editorial-yz__list li span {
  color: #8a6d1f;
}

.editorial-yz__list li em {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
}

.editorial-yz__card--red .editorial-yz__list li em {
  color: var(--accent, #c41a1a);
}

.editorial-yz__card--gold .editorial-yz__list li em {
  color: #16a34a;
}

/* 3-column grid */
.editorial-yz__grid--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

/* 动态 card */
.editorial-yz__card--dark {
  background: #fff;
  border-top-color: #555;
}

.editorial-yz__changes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.editorial-yz__changes li {
  display: flex;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px dashed #e5e5e5;
  font-size: 13px;
  color: var(--text, #1a1a1a);
}

.editorial-yz__changes li:last-child {
  border-bottom: none;
}

.editorial-yz__changes li em {
  font-style: normal;
  font-weight: 700;
  margin-left: auto;
}

.editorial-yz__arrow {
  margin-right: 6px;
  font-weight: 700;
  font-size: 13px;
}

.editorial-yz__change--up .editorial-yz__arrow,
.editorial-yz__change--up em {
  color: #16a34a;
}

.editorial-yz__change--down .editorial-yz__arrow,
.editorial-yz__change--down em {
  color: #c41a1a;
}

.editorial-yz__change--incident .editorial-yz__arrow {
  color: #d97706;
}

.editorial-yz__change--incident {
  color: #92400e;
  font-size: 12px;
}

/* --- Sidebar: 卡片风格 --- */
.home-grid aside,
.home-grid > aside {
  border: 1px solid var(--border-light, #e5e5e5);
  border-radius: 8px;
  padding: 16px 18px;
  background: #fcfbf9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Section 标题 */
.home-grid aside .section-head {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light, #e5e5e5);
  margin-bottom: 12px;
}

.home-grid aside .section-head h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 测评与热门之间的分隔 */
.home-grid aside .sidebar-reviews {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light, #e5e5e5);
}

/* 排名数字样式升级 */
.home-grid aside .ranking__num {
  font-family: var(--font-serif, serif);
  font-size: 22px;
  font-weight: 700;
  min-width: 28px;
  color: #ddd;
  line-height: 1;
}

.home-grid aside .ranking__item:nth-child(1) .ranking__num { color: var(--accent, #c41a1a); }
.home-grid aside .ranking__item:nth-child(2) .ranking__num { color: #d4a24c; }
.home-grid aside .ranking__item:nth-child(3) .ranking__num { color: #666; }

/* 标题紧凑 */
.home-grid aside .ranking__title a,
.home-grid aside .popular-title a {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

/* 摘要隐藏（侧栏太窄不需要） */
.home-grid aside .ranking__excerpt,
.home-grid aside .popular-excerpt {
  display: none;
}

/* Meta 精简 */
.home-grid aside .ranking__meta,
.home-grid aside .popular-meta {
  font-size: 10px;
  color: #bbb;
}

/* --- Sidebar: 最新测评列表 --- */
.sidebar-reviews {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.sidebar-reviews li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light, #e5e5e5);
}

.sidebar-reviews li:last-child {
  border-bottom: none;
}

.sidebar-reviews li a {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text, #1a1a1a);
  text-decoration: none;
  font-weight: 500;
}

.sidebar-reviews li a:hover {
  color: var(--accent, #c41a1a);
}

.sidebar-reviews__meta {
  display: block;
  font-size: 10px;
  color: #bbb;
  margin-top: 2px;
}

/* --- Responsive: YZ 看板 --- */
@media (max-width: 1023px) {
  .editorial-yz__grid--3col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .editorial-yz {
    padding: 12px 0;
  }

  .editorial-yz__grid,
  .editorial-yz__grid--3col {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .editorial-yz__card {
    padding: 10px 14px;
  }

  .editorial-yz__list li {
    font-size: 13px;
  }
}
