/* ============================================================
   MONICA — News 列表页（圆形猫章版）
   用于 lists_article.htm：News / Industry News / Company News 共用
   依赖 theme-monica.css 的基础 token（--blue / --ink / --muted / --line ...）
   ============================================================ */

/* ---------- 圆章 ---------- */
.dlist {
  display: grid;
  gap: 4px;
}

.drow {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.drow:hover {
  background: #fff;
  border-color: var(--line);
  transform: translateX(3px);
  box-shadow: 0 12px 32px rgba(10, 46, 110, .07);
}

/* 圆形猫章：上方猫，下方日期 */
.dseal {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c1);
  box-shadow: 0 6px 18px rgba(10, 46, 110, .07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 0 10px;
}

.dseal::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed var(--c1);
  opacity: .28;
}

.dseal__cat {
  width: 50px;
  height: 50px;
  flex: none;
  background-image: var(--cat);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.dseal__date {
  flex: none;
  text-align: center;
  line-height: 1;
}

.dseal__d {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--c1);
  letter-spacing: -.03em;
}

.dseal__m {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c1);
  opacity: .7;
  margin-top: 3px;
}

/* ---------- 正文 ---------- */
.dbody { min-width: 0; }

.dbody__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dtag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c1);
}

.dtag__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c1);
}

.dtime {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #9AA8BD;
  letter-spacing: .05em;
}

.dtitle {
  margin: 9px 0 0;
  font-size: 21px;
  line-height: 1.34;
  color: var(--blue-deep);
  font-weight: 800;
  letter-spacing: -.014em;
  max-width: 46ch;
}

.drow:hover .dtitle { color: var(--c1); }

.ddesc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
  max-width: 78ch;
}

.dfoot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.dmore {
  color: var(--c1);
  font-size: 12.5px;
  font-weight: 700;
}

.drow:hover .dmore { text-decoration: underline; }

/* ---------- 7 色轮换（按文章顺序） ---------- */
.dlist .drow:nth-child(7n+1) {
  --c1: #0A2E6E;
  --cat: url(/uploads/allimg/20261201/004257-3a1e684e.png);
}
.dlist .drow:nth-child(7n+2) {
  --c1: #1E7BE8;
  --cat: url(/uploads/allimg/20261201/004258-08549f74.png);
}
.dlist .drow:nth-child(7n+3) {
  --c1: #0E8CAA;
  --cat: url(/uploads/allimg/20261201/004259-127ab4f1.png);
}
.dlist .drow:nth-child(7n+4) {
  --c1: #0D9488;
  --cat: url(/uploads/allimg/20261201/004301-83039cfa.png);
}
.dlist .drow:nth-child(7n+5) {
  --c1: #B06A0A;
  --cat: url(/uploads/allimg/20261201/004302-8423bd9e.png);
}
.dlist .drow:nth-child(7n+6) {
  --c1: #6D4AD6;
  --cat: url(/uploads/allimg/20261201/004304-a4e1d6a1.png);
}
.dlist .drow:nth-child(7n+7) {
  --c1: #C7406E;
  --cat: url(/uploads/allimg/20261201/004305-c6ee2434.png);
}

/* ---------- 栏目头 ---------- */
.dhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.dhead h2 {
  margin: 10px 0 0;
  font-size: 32px;
  line-height: 1.2;
  color: var(--blue-deep);
  letter-spacing: -.02em;
}

.dhead p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 58ch;
}

.dpalette {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.dpalette i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: block;
}

.dlegend {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9AA8BD;
  text-align: center;
}

/* ---------- 响应式 ---------- */
@media (max-width: 820px) {
  .drow {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 12px;
  }
  .dseal {
    width: 76px;
    height: 76px;
    padding: 9px 0 8px;
    gap: 3px;
  }
  .dseal__cat { width: 38px; height: 38px; }
  .dseal__d { font-size: 14px; }
  .dseal__m { font-size: 7.5px; }
  .dtitle { font-size: 18px; }
  .dhead h2 { font-size: 26px; }
}

/* ============================================================
   文章详情：上一篇 / 下一篇
   ============================================================ */
.art-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.art-nav__side {
  flex: 1 1 0;
  min-width: 0;
}

.art-nav__side--r {
  text-align: right;
}

.art-nav__link {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  max-width: 46ch;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.art-nav__link:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(10, 46, 110, .08);
}

.art-nav__link--next {
  text-align: right;
  align-items: flex-end;
}

.art-nav__dir {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

.art-nav__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--blue-deep);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.art-nav__link:hover .art-nav__title {
  color: var(--blue-mid);
}

@media (max-width: 700px) {
  .pagination__list a,
  .pagination__list span,
  .pagination__list .page-num {
    min-width: 34px;
    height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }
  .art-nav { gap: 12px; }
  .art-nav__side { flex: 1 1 100%; }
  .art-nav__side--r { text-align: left; }
  .art-nav__link--next { text-align: left; align-items: flex-start; }
}

/* ============================================================
   文章详情页 Banner（深蓝渐变 + 反色猫线稿）
   ============================================================ */
.art-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A2E6E 0%, #1257C8 58%, #1E7BE8 100%);
  color: #fff;
  padding: 40px 0 46px;
}

/* 封面图背景层（文章自己的 litpic；无图时该层不渲染，回落到底色渐变） */
.art-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  opacity: .62;
  z-index: 0;
}

/* 遮罩层：保证标题在任意封面上都可读 */
.art-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 46, 110, .94) 0%, rgba(18, 87, 200, .82) 48%, rgba(30, 123, 232, .60) 100%),
    radial-gradient(1000px 320px at 78% 12%, rgba(56, 208, 232, .18), transparent 62%);
  z-index: 1;
}

/* 装饰猫已被「封面图背景层」取代，此处不再重复定义 .art-hero__cat，
   否则会和下面的分类标签样式叠加（position:absolute 会把标签甩到右下角）*/

.art-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

/* 深底上的面包屑 */
.crumbs--light { color: rgba(255, 255, 255, .62); margin-bottom: 26px; }
.crumbs--light a { color: rgba(255, 255, 255, .82); }
.crumbs--light a:hover { color: #fff; }

.art-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.art-hero__cat {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}

.art-hero__cat::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  display: block;
}

.art-hero__date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .62);
}

.art-hero__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: #fff;
  max-width: 34ch;
  font-weight: 800;
}

.art-hero__desc {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .82);
  max-width: 66ch;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

@media (max-width: 900px) {
  .art-hero { padding: 36px 0 42px; }
  .art-hero__title { font-size: 29px; max-width: 100%; }
  .art-hero__desc { font-size: 14px; }
  .art-hero__cat { width: 240px; height: 240px; right: -6%; bottom: -34px; opacity: .13; }
}

@media (max-width: 620px) {
  .art-hero { padding: 30px 0 36px; }
  .art-hero__title { font-size: 24px; }
  .art-hero__cat { width: 170px; height: 170px; right: -12%; bottom: -22px; opacity: .11; }
}
