/* ==========================================================================
   手持弹幕 官网 - content.css
   共享内容组件：公告列表 / 公告卡片（首页与公告页、详情页共用）
   ========================================================================== */

/* ---------- 公告区块容器 ---------- */
.article-block {
  background: var(--bg);
  padding: clamp(78px, 9vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.article__title {
  font-size: clamp(28px, 3.6vw, 58px);
  font-weight: 500;
  text-align: center;
  color: var(--text-1);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.article__sub {
  text-align: center;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-2);
  margin-bottom: clamp(44px, 5vw, 72px);
}

/* ---------- 场景化展开：场景卡片栅格 ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: clamp(64px, 8vw, 104px);
}

.scene-card {
  padding: 18px 18px 22px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.scene-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}

.scene-card__screen {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.scene-card .led-screen {
  height: 96px;
}
.scene-card .led-text {
  font-size: 30px;
}

.scene-card h3 {
  margin: 16px 0 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-1);
}
.scene-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
}

/* 公告子板块标题 */
.article__head-sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.article__head-sub h3 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  color: var(--text-1);
}

.article__list > li + li {
  border-top: 1px solid var(--line);
}

.article__empty {
  padding: 60px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 15px;
}

.article__link {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  padding: 26px 16px;
  border-radius: var(--radius-card);
  transition: background-color 0.3s var(--ease);
}
.article__link:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- 封面：CSS 渐变 + 点阵，替代真实截图 ---------- */
.article__cover {
  position: relative;
  width: 260px;
  height: 176px;
  flex: none;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a0f1c, #12060b);
}
.article__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1.5px
  );
  background-size: 14px 14px;
  opacity: 0.7;
}
.article__cover b {
  position: relative;
  z-index: 1;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid currentColor;
  text-shadow: 0 0 10px currentColor;
}
.cover-a {
  color: #ff2d3f;
}
.cover-b {
  color: #00e5a0;
  background: linear-gradient(135deg, #06251c, #04120e);
}
.cover-c {
  color: #4d7cff;
  background: linear-gradient(135deg, #0b1436, #050916);
}
.cover-d {
  color: #ffb400;
  background: linear-gradient(135deg, #2c1d02, #140d01);
}
.cover-e {
  color: #ff4d94;
  background: linear-gradient(135deg, #2b0b1c, #14040d);
}
.cover-f {
  color: #a855f7;
  background: linear-gradient(135deg, #1e1030, #0d0618);
}

/* ---------- 文字部分 ---------- */
.article__body {
  min-width: 0;
}
.article__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
/* 参考站：玫红描边小标签 */
.article__tag {
  flex: none;
  padding: 2px 7px;
  border: 1px solid var(--pink);
  border-radius: 2px;
  color: var(--pink);
  font-size: 13px;
  line-height: 1.5;
}
.article__head h3 {
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 400;
  color: var(--text-1);
  transition: color 0.25s var(--ease);
}
.article__link:hover .article__head h3 {
  color: var(--pink);
}
.article__sum {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article__date {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-3);
}

.article__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(36px, 4vw, 52px);
}
.article__more .btn {
  min-width: 295px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  /* 场景卡片：3 列 → 2 列 */
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  /* 场景卡片：2 列 → 1 列 */
  .scene-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .scene-card .led-screen {
    height: 84px;
  }

  /* 移动端：封面通栏，信息下移 */
  .article__link {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 22px 0;
  }
  .article__cover {
    width: 100%;
    height: 168px;
  }
  .article__more .btn {
    min-width: auto;
  }
}
