/* 资讯详情页：标题区、正文、分页、标签、上下篇；分类导览、两栏版面、侧栏在 main.css */
.lb-art-main .lb-vd-panel .lb-module-title {
  font-size: 18px;
  font-weight: 700;
}

/* ===== 标题区 ===== */
.lb-ad-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.lb-ad-title {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.lb-ad-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.lb-ad-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lb-ad-meta em {
  font-style: normal;
}

.lb-ad-meta-cat {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(26, 143, 214, 0.12);
  color: var(--art-blue);
}

/* ===== 正文（后台富文本，行内样式压回主题配色与字级） ===== */
.lb-ad-body {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.lb-ad-body * {
  background: none !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
}

.lb-ad-body p,
.lb-ad-body ul,
.lb-ad-body ol {
  margin: 0 0 16px;
}

.lb-ad-body ul,
.lb-ad-body ol {
  padding-left: 1.5em;
}

.lb-ad-body li {
  margin-bottom: 6px;
}

.lb-ad-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border-radius: var(--radius);
}

.lb-ad-body h2,
.lb-ad-body h3,
.lb-ad-body h4 {
  margin: 24px 0 12px;
  color: var(--text) !important;
  font-size: 19px !important;
  font-weight: 700;
  line-height: 1.4;
}

.lb-ad-body a {
  color: var(--art-blue) !important;
  text-decoration: underline;
}

.lb-ad-body blockquote {
  margin: 16px 0;
  padding: 10px 16px;
  border-left: 3px solid var(--art-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-elev) !important;
}

.lb-ad-body > :last-child {
  margin-bottom: 0;
}

.lb-ad-pager {
  margin-bottom: 20px;
}

/* ===== 标签 ===== */
.lb-ad-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.lb-ad-tags-label {
  color: var(--text-muted);
  font-size: 13px;
}

.lb-ad-tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--text);
  font-size: 13px;
  transition: color 0.15s, box-shadow 0.15s;
}

.lb-ad-tag:hover {
  box-shadow: inset 0 0 0 1px var(--art-blue);
  color: var(--art-blue);
}

/* ===== 上下篇 ===== */
.lb-ad-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.lb-ad-pn-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg-elev);
}

.lb-ad-pn-item--next {
  text-align: right;
}

.lb-ad-pn-label {
  color: var(--text-muted);
  font-size: 12px;
}

.lb-ad-pn-item a,
.lb-ad-pn-none {
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lb-ad-pn-item a {
  color: var(--text);
}

.lb-ad-pn-item a:hover {
  color: var(--art-blue);
}

.lb-ad-pn-none {
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .lb-art-main .lb-vd-panel .lb-module-title {
    font-size: 17px;
  }

  .lb-ad-title {
    font-size: 21px;
  }

  .lb-ad-body {
    font-size: 15px;
  }

  .lb-ad-prev-next {
    grid-template-columns: minmax(0, 1fr);
  }

  .lb-ad-pn-item--next {
    text-align: left;
  }
}
