/* ============================================================
   党的建设 杂志官网 — 子页面样式（栏目页 / 内容页）
   需与 style.css 搭配使用，依赖其设计变量与公共组件
   版式：通栏布局，--read-col 控制正文阅读栏宽
   ============================================================ */

:root {
  --read-col: 1400px;
}

/* ========== 面包屑 ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px auto 18px;
  font-size: 13px;
  color: var(--ink-3);
}
.breadcrumb a {
  color: var(--ink-2);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--red);
}
.breadcrumb .sep {
  color: var(--gold);
  font-size: 8px;
}
.breadcrumb .current {
  color: var(--red);
}

/* ========== 栏目页：栏目头 ========== */
.channel-banner {
  position: relative;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    90deg,
    var(--red-deep),
    var(--red-bright) 30%,
    var(--red) 50%,
    var(--red-bright) 70%,
    var(--red-deep)
  );
  border-radius: 10px;
  box-shadow: var(--shadow-md), inset 0 0 0 2px rgba(255, 220, 130, 0.3);
}
.channel-banner::before,
.channel-banner::after {
  content: "★";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-soft);
  font-size: 16px;
}
.channel-banner::before { left: 46px; }
.channel-banner::after { right: 46px; }
.channel-name {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 14px;
  text-indent: 14px; /* 平衡末字间距造成的视觉偏移 */
  color: #ffe9a8;
}
.channel-sub {
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(255, 233, 168, 0.8);
}

/* ========== 栏目页：文章列表 ========== */
.list-box {
  min-width: 0;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 30px 36px;
}

/* 置顶文章 */
.list-feature {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.feature-thumb {
  height: 230px;
  border-radius: 8px;
  overflow: hidden;
}
.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.list-feature:hover .feature-thumb img {
  transform: scale(1.05);
}
.feature-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-flag {
  align-self: flex-start;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 1px 12px;
  border-radius: 3px;
}
.feature-info h2 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.2s;
}
.list-feature:hover .feature-info h2 {
  color: var(--red);
}
.feature-info p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-meta {
  margin-top: auto;
  font-size: 12px;
  color: #b0a284;
}
.feature-meta::before {
  content: "◆";
  color: var(--gold);
  font-size: 8px;
  margin-right: 6px;
  vertical-align: 2px;
}

/* 列表项（双栏网格） */
.list-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 46px;
}
.list-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.list-date {
  text-align: center;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}
.list-date time {
  display: block;
}
.list-date b {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}
.list-date span {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 1px;
}
.list-info {
  min-width: 0;
}
.list-info h2 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  // white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.list-item:hover .list-info h2 {
  color: var(--red);
}
.list-info p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
 font-size: 16px !important;
}
.pagination a {
  width: unset !important;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink-2);
  text-align: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pagination a:hover {
  color: var(--red);
  border-color: var(--red);
}
.pagination span, .pagination a, .pagination input {
 margin: 0 10px;
}
.pagination .page-num.active {
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.pagination .page-info {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-left: 6px;
}

/* ========== 内容页：正文 ========== */
.article-card {
  position: relative;
  min-width: 0;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 40px 48px 34px;
}
/* 鎏金书角装饰，呼应首页领导卡片 */
.article-card::before,
.article-card::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--gold);
  opacity: 0.55;
}
.article-card::before {
  top: 10px;
  right: 10px;
  border-top: 2px solid;
  border-right: 2px solid;
  border-radius: 0 6px 0 0;
}
.article-card::after {
  bottom: 10px;
  left: 10px;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-radius: 0 0 0 6px;
}

.article-column-tag {
  width: fit-content;
  margin: 0 auto 14px;
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  color: #ffe9a8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  text-indent: 4px;
  padding: 2px 18px;
  border-radius: 999px;
}
.article-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  text-align: center;
}
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-3);
}
.article-meta span + span::before {
  content: "·";
  margin: 0 10px;
  color: var(--gold);
}

/* 字号调节 */
.font-size {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.font-size button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  border-radius: 4px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 22px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.font-size button:hover {
  color: var(--red);
  border-color: var(--red);
}
.font-size button.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* 导读摘要 */
.article-lead {
  max-width: var(--read-col);
  margin: 26px auto 28px;
  padding: 16px 20px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* 正文排版 */
.article-body {
  max-width: var(--read-col);
  margin: 0 auto;
  font-size: 17px;
  line-height: 2;
  color: var(--ink);
}
.article-body p {
  margin-bottom: 14px;
  text-indent: 2em;
}
.article-body .article-h {
  position: relative;
  margin: 26px 0 14px;
  padding-left: 14px;
  font-size: 19px;
  font-weight: 700;
  color: var(--red);
  text-indent: 0;
}
.article-body .article-h::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 60%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--red-bright), var(--gold));
}
.article-body figure {
  margin: 22px 0;
  text-indent: 0;
}
.article-body figure img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.article-body figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}

/* 署名与责辑 */
.article-sign {
  max-width: var(--read-col);
  margin: 26px auto 0;
  text-align: right;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* 上一篇 / 下一篇 */
.article-adjacent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.article-adjacent a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gold-pale);
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.article-adjacent a:hover {
  color: var(--red);
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
}
.article-adjacent .adj-label {
  flex: 0 0 auto;
  color: var(--red);
  font-weight: 700;
}
.article-adjacent .adj-title {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== 内容页：相关阅读 ========== */
.related {
  margin: 26px auto 0;
}
.related-box {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 6px 24px;
}
.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-list a {
  position: relative;
  display: block;
  padding: 12px 0 12px 16px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.related-list li:last-child a,
.related-list li:nth-last-child(2):nth-child(odd) a {
  border-bottom: none;
}
.related-list a::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 8px;
}
.related-list a:hover {
  color: var(--red);
}

/* ========== 响应式 ========== */
@media (max-width: 860px) {
  .channel-banner::before { left: 20px; }
  .channel-banner::after { right: 20px; }
  .channel-name {
    font-size: 26px;
    letter-spacing: 10px;
    text-indent: 10px;
  }

  .list-box {
    padding: 18px 16px;
  }
  .list-feature {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-thumb {
    height: 200px;
  }
  .feature-info h2 {
    font-size: 20px;
  }
  .list-columns {
    grid-template-columns: 1fr;
  }
  .list-item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 14px;
  }
  .list-date b {
    font-size: 22px;
  }

  .article-card {
    padding: 24px 16px 20px;
  }
  .article-title {
    font-size: 24px;
  }
  .article-lead {
    margin: 20px auto 22px;
  }
  .article-body {
    font-size: 16px;
  }
  .article-adjacent {
    grid-template-columns: 1fr;
  }
  .related-list {
    grid-template-columns: 1fr;
  }
  /* 单栏时恢复倒数第二条的分隔线（双栏规则在此不适用） */
  .related-list li:nth-last-child(2):nth-child(odd) a {
    border-bottom: 1px dashed var(--line-soft);
  }
  .related-list li:last-child a {
    border-bottom: none;
  }
}

@media (max-width: 560px) {
  .channel-sub {
    letter-spacing: 1px;
  }
  .feature-info h2 {
    font-size: 18px;
  }
  .article-title {
    font-size: 20px;
  }
  .pagination .page-info {
    display: none;
  }
}
<!--ecms sync check [sync_thread_id="3bcee7cc5a424330844ab778a62d31c1" sync_date="2026-08-27 11:08:00" check_sum="3bcee7cc5a424330844ab778a62d31c1]-->