/* 文章静态详情页 — 对齐 lhys.com.cn/news 布局（头部/底部沿用本站） */

.page-article-static {
  background: #fff;
}

/* 固定头部占位，避免面包屑被遮挡 */
.page-article-static .site-header-offset {
  display: block;
  height: 86px;
  width: 100%;
  flex-shrink: 0;
}

.article-page-wrap {
  padding: 24px 0 80px;
  background: #fff;
}

.article-page-wrap .lh-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* 面包屑 */
.article-page-wrap .lh-breadcrumb {
  margin: 0 0 22px;
}

.article-page-wrap .lh-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 10px 14px;
  list-style: none;
  background: linear-gradient(90deg, #fff8f0 0%, #fff 70%);
  border: 1px solid #f0e4d4;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.article-page-wrap .lh-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: #888;
  max-width: 100%;
}

.article-page-wrap .lh-breadcrumb-item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px;
  border-right: 1.5px solid #c9b8a4;
  border-top: 1.5px solid #c9b8a4;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.article-page-wrap .lh-breadcrumb-item a {
  color: #5a5a5a;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-page-wrap .lh-breadcrumb-item a:hover {
  color: #ff8900;
}

.article-page-wrap .lh-breadcrumb-item .is-current {
  color: #1c1c1c;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(420px, 55vw);
}

/* 双栏布局 */
.article-page-wrap .news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
}

.article-page-wrap .news-detail {
  padding: 0;
  min-width: 0;
}

.article-page-wrap .news-detail h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.35;
  font-family: "Noto Serif SC", "STSong", serif, var(--font-display);
  color: #1c1c1c;
  font-weight: 700;
}

.article-page-wrap .news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #888;
}

.article-page-wrap .news-meta span {
  color: #ff8900;
  font-weight: 600;
}

.article-page-wrap .news-meta time {
  color: #888;
}

.article-page-wrap .news-detail-cover {
  margin: 22px 0;
  overflow: hidden;
  border-radius: 4px;
}

.article-page-wrap .news-detail-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.article-page-wrap .news-detail-summary {
  padding: 14px 16px;
  background: #fff8f0;
  border-left: 3px solid #ff8900;
  color: #444;
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
}

.article-page-wrap .news-content {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.article-page-wrap .news-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
}

.article-page-wrap .news-content p {
  margin: 0 0 1em;
}

.article-page-wrap .news-content h2,
.article-page-wrap .news-content h3,
.article-page-wrap .news-content h4 {
  margin: 1.6em 0 0.6em;
  font-family: "Noto Serif SC", "STSong", serif;
  color: #1c1c1c;
  font-weight: 700;
}

.article-page-wrap .news-content strong {
  color: #1c1c1c;
  font-weight: 600;
}

.article-page-wrap .news-content a.article-inner-link {
  color: #1d6fa4;
  text-decoration: none;
  border-bottom: 1px dotted rgba(29, 111, 164, 0.45);
  transition: color 0.2s;
}

.article-page-wrap .news-content a.article-inner-link:hover {
  color: #ff8900;
  border-bottom-color: rgba(255, 137, 0, 0.5);
}

.article-page-wrap .news-content ul,
.article-page-wrap .news-content ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.article-page-wrap .news-back {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #ececec;
}

.article-page-wrap .news-back a {
  color: #ff8900;
  font-weight: 600;
  text-decoration: none;
}

.article-page-wrap .news-back a:hover {
  text-decoration: underline;
}

/* 上一篇 / 下一篇 — 双栏卡片（对齐 lhys.com.cn） */
.page-article-static .news-pager-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #ececec;
}

.page-article-static .news-pager-item {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  background: #faf8f5;
  border: 1px solid #ececec;
  min-width: 0;
  min-height: 88px;
  box-sizing: border-box;
}

.page-article-static .news-pager-label {
  display: block;
  font-size: 12px;
  color: #ff8900;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.page-article-static .news-pager-body {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.page-article-static .news-pager-link {
  color: #1c1c1c;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-article-static .news-pager-link:hover {
  color: #ff8900;
}

.page-article-static .news-pager-empty {
  color: #aaa;
  font-size: 14px;
  line-height: 1.5;
}

.page-article-static .news-pager-item.is-prev .news-pager-body {
  justify-content: flex-start;
  text-align: left;
}

.page-article-static .news-pager-item.is-next {
  text-align: right;
}

.page-article-static .news-pager-item.is-next .news-pager-label {
  text-align: right;
}

.page-article-static .news-pager-item.is-next .news-pager-body {
  justify-content: flex-end;
  text-align: right;
}

.page-article-static .news-pager-item.is-next .news-pager-link {
  text-align: right;
}

.article-page-wrap .news-side-list .muted {
  color: #aaa;
  font-size: 14px;
}

/* 侧栏：推荐/热门/相关只保留这一组 */
.article-page-wrap .news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 96px;
}

.article-page-wrap .news-side-block {
  background: #fff;
  border: 1px solid #ececec;
  padding: 16px 16px 8px;
}

.article-page-wrap .news-side-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff8900;
  font-size: 16px;
  font-family: "Noto Serif SC", "STSong", serif;
  color: #1c1c1c;
  font-weight: 700;
}

.article-page-wrap .news-side-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-page-wrap .news-side-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}

.article-page-wrap .news-side-list li:last-child {
  border-bottom: 0;
}

.article-page-wrap .news-side-list a {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #333;
  font-weight: 500;
  text-decoration: none;
}

.article-page-wrap .news-side-list a:hover {
  color: #ff8900;
}

.article-page-wrap .news-side-list time {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}

@media (max-width: 960px) {
  .article-page-wrap .news-layout {
    grid-template-columns: 1fr;
  }

  .article-page-wrap .news-sidebar {
    position: static;
    top: auto;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .page-article-static .site-header-offset {
    height: 64px;
  }

  .article-page-wrap .lh-wrap {
    width: calc(100% - 28px);
  }

  .article-page-wrap .lh-breadcrumb-item .is-current {
    max-width: 48vw;
  }

  .page-article-static .news-pager-article {
    grid-template-columns: 1fr;
  }

  .page-article-static .news-pager-item.is-next,
  .page-article-static .news-pager-item.is-next .news-pager-label,
  .page-article-static .news-pager-item.is-next .news-pager-body,
  .page-article-static .news-pager-item.is-next .news-pager-link {
    text-align: left;
  }

  .page-article-static .news-pager-item.is-next .news-pager-body {
    justify-content: flex-start;
  }
}
