/* latest.css —— 最新一期：Hub 底部的焦点速览。 */

/* ==========================================================================
   最新一期
   ========================================================================== */

.latest {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}
.latest-grid {
  display: grid;
  gap: 22px 30px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.latest-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-2);
  cursor: pointer;
  display: block;
}
/* 焦点配图。无图时 .l-ph 占位块保持同样比例，栅格不塌陷。 */
.l-fig {
  position: relative;
  margin: 0 0 11px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: var(--sunken);
}
.l-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.l-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: .6rem;
  line-height: 1.6;
  color: #fff;
  background: rgba(20, 22, 24, .55);
  padding: 0 5px;
  border-radius: 3px 0 0 0;
  pointer-events: none;
}
.l-ph {
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-ph-mark {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--rule);
}
.latest-item .l-idx {
  font-family: var(--serif);
  font-size: .72rem;
  color: var(--ink-3);
}
.latest-item .l-title {
  font-family: var(--serif);
  font-size: .98rem;
  line-height: 1.55;
  margin-top: 3px;
  transition: color .16s var(--ease);
}
.latest-item:hover .l-title { color: var(--moved); }

/* 漏跑提示。页面看起来一切正常时，你不会知道中间缺了几期 ——
   把这个信息明说出来。 */
.stale-tag {
  margin-left: 10px;
  font-size: .7rem;
  color: var(--disputed);
  border: 1px solid color-mix(in srgb, var(--disputed) 30%, transparent);
  border-radius: 2px;
  padding: 1px 7px;
  white-space: nowrap;
}
