.article-wrap{padding-top:18px}
.article-card{padding:22px}
.article-card h1{margin:0 0 10px;font-size:26px;line-height:1.25}
.article-meta{display:flex;gap:12px;flex-wrap:wrap;color:rgba(255,255,255,.70);font-size:12px;margin-bottom:14px}
.article-content{color:rgba(255,255,255,.88);font-size:16px}
.article-content img{border-radius:16px;border:1px solid rgba(255,255,255,.10);margin:10px 0}
.article-content a{color:#c4b5fd;text-decoration:underline;text-underline-offset:3px}
.article-content a:hover{color:#ddd6fe}
.article-content h2,.article-content h3{margin:18px 0 8px}
.article-content p{margin:10px 0}
.article-tags{margin-top:16px}
.article-tags a{display:inline-flex;margin:0 8px 8px 0}
.prevnext{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
@media (max-width: 720px){.prevnext{grid-template-columns:1fr}}
.prevnext a{display:block;padding:14px;border-radius:var(--radius);background: rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.10)}
.prevnext a:hover{border-color: rgba(124,58,237,.30)}
/* ====== 文章卡片整体 ====== */
.article-card {
  /*background: #ffffff;*/
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

.article-card:hover {
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.08);
}

/* ====== 标题 ====== */
.article-card h1 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* ====== 文章Meta信息 ====== */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #777;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 30px;
}

.article-meta span {
  position: relative;
}

.article-meta a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.article-meta a:hover {
  text-decoration: underline;
}

/* ====== 正文排版优化 ====== */
.article-content {
  font-size: 17px;
  line-height: 1.9;
  color: #fff;
  word-break: break-word;
}

.article-content p {
  margin-bottom: 22px;
}

.article-content h2,
.article-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.article-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}

/* ====== 标签 ====== */
.article-tags {
  margin-top: 30px;
}

.article-tags a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f3f4f6;
  color: #444;
  font-size: 13px;
  margin-right: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: 0.2s ease;
}

.article-tags a:hover {
  background: #2563eb;
  color: #fff;
}

/* ====== 上下篇样式升级 ====== */
.prevnext {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

.prevnext a {
  flex: 1;
  background: #f8fafc;
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none;
  color: #222;
  transition: 0.25s ease;
  border: 1px solid #f1f1f1;
}

.prevnext a:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(37, 99, 235, 0.25);
}

.prevnext .subtle {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.prevnext div {
  font-weight: 600;
  line-height: 1.5;
}

/* ====== 移动端适配 ====== */
@media (max-width: 768px) {
  .article-card {
    padding: 25px;
  }

  .article-card h1 {
    font-size: 22px;
  }

  .article-meta {
    font-size: 12px;
    gap: 12px;
  }

  .article-content {
    font-size: 15px;
  }

  .prevnext {
    flex-direction: column;
  }
}
