/* ============================================================
   ARTICLE DETAIL PAGE
   引用：/article/* 路由（通过 head.ejs 按页加载）
============================================================ */

/* Article layout */
.article-main-col {
  min-width: 0;
}





/* Article tags section */
.article-tags {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px dashed var(--surface-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.article-tags-icon {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-right: 2px;
}

/* Prev/Next navigation */
.article-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}
@media (min-width: 900px) {
  .article-nav {
    grid-template-columns: 1fr 1fr;
  }
}
.article-nav > div {
  min-width: 0;
}
.article-nav-card {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-1-bg);
  border: 1px solid var(--surface-border);
  box-shadow: var(--surface-shadow-1);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
  text-decoration: none;
  color: inherit;
}
.article-nav-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 53, 0.28);
  box-shadow: var(--surface-shadow-2);
}
.article-nav-card.right {
  text-align: right;
}
.article-nav-label {
  display: block;
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.article-nav-title {
  margin-top: 6px;
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


