/* Navexa Articles UI (lightweight) */

.nx-page-title{
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--nx-dark);
}

.nx-article-card{
  background:#fff;
  border:1px solid var(--nx-border);
  border-radius: 16px;
  overflow:hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  position:relative;
}
.nx-article-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.nx-article-cover-wrap{
  position:relative;
  height: 170px;
  background: #f1f5f9;
}

.nx-article-cover{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.nx-article-body{
  padding: 14px 14px 16px 14px;
}

.nx-article-title{
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.8;
  color: #111827;
  margin: 0;
}

.nx-article-excerpt{
  font-size: .9rem;
  line-height: 2;
  margin-top: .55rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nx-article-tags{
  display:flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.nx-tag{
  font-size: .78rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: #f1f5ff;
  border:1px solid #dbeafe;
  color:#2563eb;
  text-decoration:none;
}
.nx-tag:hover{ background:#e0f2fe; }

.nx-cat-list li{ margin-bottom: .35rem; }
.nx-cat-link{
  display:block;
  padding: .35rem .6rem;
  border-radius: 10px;
  text-decoration:none;
  color:#374151;
  border:1px solid transparent;
}
.nx-cat-link:hover{
  background:#f8fafc;
  border-color: #e5e7eb;
}
.nx-cat-link.active{
  background:#eff6ff;
  border-color:#bfdbfe;
  color:#1d4ed8;
  font-weight:700;
}

/* Detail */

.nx-breadcrumb{ margin-bottom:0; }

.nx-article-detail{
  background:#fff;
  border:1px solid var(--nx-border);
  border-radius: 18px;
  padding: 18px;
}

.nx-article-h1{
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 2;
  color: #0f172a;
}

.nx-article-lead{
  font-size: .98rem;
  line-height: 2.2;
}

.nx-article-content{
  line-height: 2.2;
  font-size: .98rem;
  color: #111827;
}

.nx-article-content h2{
  margin-top: 1.4rem;
  font-weight: 900;
  font-size: 1.2rem;
}

.nx-article-content h3{
  margin-top: 1.1rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.nx-article-content table{
  width:100%;
  border-collapse: collapse;
  margin: .8rem 0;
}
.nx-article-content th,
.nx-article-content td{
  border: 1px solid #e5e7eb;
  padding: .55rem .65rem;
  vertical-align: top;
}
.nx-article-content blockquote{
  border-right: 4px solid #93c5fd;
  background: #eff6ff;
  padding: .8rem 1rem;
  border-radius: 12px;
}
.nx-article-content a{
  text-decoration: none;
}

.nx-toc .nx-toc-list{ list-style: none; padding:0; margin:0; }
.nx-toc-item{ margin-bottom: .35rem; }
.nx-toc-item.level-3{ padding-right: 1rem; opacity:.95; }

.nx-related-card{
  background:#fff;
  border:1px solid var(--nx-border);
  border-radius: 16px;
  padding: 14px;
  position:relative;
}
.nx-related-title{
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.9;
  margin:0;
}

.nx-link{ text-decoration:none; }

@media (max-width: 768px){
  .nx-article-cover-wrap{ height: 160px; }
  .nx-article-detail{ padding: 14px; }
}
