/* ============================================================
   内页样式（列表页 / 内容页 / 单页共用）
   ============================================================ */

/* ---------- 样式A：图文列表 ---------- */
.tw-news-list li { margin-bottom: 0.26rem; }
.tw-news-item {
  display: flex; gap: 0.3rem; padding: 0.26rem;
  border: 0.01rem solid var(--c-line); border-radius: 0.06rem;
  background: #fff; transition: all .3s; box-shadow: 0 0.02rem 0.1rem rgba(91, 10, 13, 0.05);
}
.tw-news-item:hover {
  border-color: rgba(149, 36, 40, 0.35);
  box-shadow: 0 0.1rem 0.3rem rgba(91, 10, 13, 0.14);
  transform: translateY(-0.03rem);
}
.tw-news-pic {
  flex-shrink: 0; width: 2.7rem; height: 1.8rem; border-radius: 0.04rem;
  overflow: hidden; background: var(--c-bg-gray);
}
.tw-news-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tw-news-item:hover .tw-news-pic img { transform: scale(1.06); }
.tw-news-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tw-news-txt h3 {
  font-size: 0.2rem; font-weight: 600; color: var(--c-text); line-height: 0.32rem;
  margin-bottom: 0.12rem; transition: color .25s;
}
.tw-news-item:hover .tw-news-txt h3 { color: var(--c-primary); }
.tw-news-txt p { font-size: 0.15rem; color: var(--c-text-3); line-height: 0.26rem; flex: 1; }
.tw-news-meta { display: flex; gap: 0.3rem; margin-top: 0.12rem; }
.tw-news-meta em { font-style: normal; font-size: 0.13rem; color: #B5A9A9; }

/* ---------- 样式B：纯标题列表 ---------- */
.tw-title-list { border-top: 0.02rem solid var(--c-primary); }
.tw-title-list li a {
  display: flex; align-items: center; padding: 0.16rem 0.08rem;
  font-size: 0.16rem; color: var(--c-text-2);
  border-bottom: 0.01rem dashed var(--c-line); transition: all .2s;
}
.tw-title-list li a i {
  flex-shrink: 0; width: 0.07rem; height: 0.07rem; border-radius: 50%;
  background: var(--c-line); margin-right: 0.14rem; transition: background .2s;
}
.tw-title-list li a em {
  font-style: normal; flex-shrink: 0; margin-left: auto; padding-left: 0.3rem;
  font-size: 0.13rem; color: var(--c-text-3);
}
.tw-title-list li a:hover { color: var(--c-primary); padding-left: 0.16rem; }
.tw-title-list li a:hover i { background: var(--c-gold); }

/* ---------- 分页 ---------- */
.tw-page {
  display: flex; justify-content: center; gap: 0.1rem; padding: 0.4rem 0 0.1rem;
  font-size: 0.14rem;
}
.tw-page-num, .tw-page-next {
  min-width: 0.36rem; height: 0.36rem; padding: 0 0.12rem;
  display: flex; align-items: center; justify-content: center;
  border: 0.01rem solid var(--c-line); border-radius: 0.03rem;
  color: var(--c-text-2); background: #fff; transition: all .2s;
}
.tw-page-num:hover, .tw-page-next:hover {
  border-color: var(--c-primary); color: var(--c-primary);
}
.tw-page-num.on {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  border-color: var(--c-primary); color: #fff;
}
.tw-page-ellipsis { color: var(--c-text-3); align-self: center; }

/* ---------- 内容页 ---------- */
.tw-article {
  border: 0.01rem solid var(--c-line); border-radius: 0.06rem; background: #fff;
  padding: 0.4rem 0.5rem 0.5rem; box-shadow: 0 0.02rem 0.1rem rgba(91, 10, 13, 0.05);
}
.tw-article h1 {
  font-size: 0.3rem; font-weight: 600; color: var(--c-text); line-height: 0.46rem;
  text-align: center; padding: 0.1rem 0 0.2rem;
}
.tw-article-info {
  display: flex; justify-content: center; gap: 0.34rem; flex-wrap: wrap;
  padding-bottom: 0.22rem; margin-bottom: 0.3rem;
  border-bottom: 0.01rem solid var(--c-line); font-size: 0.14rem; color: var(--c-text-3);
}
.tw-article-info em { font-style: normal; }
.tw-article-info em::before { content: ""; margin-right: 0.06rem; }
.tw-article-body {
  font-size: 0.17rem; color: #444; line-height: 0.34rem; text-align: justify;
  word-break: break-word;
}
.tw-article-body p { margin-bottom: 0.2rem; }
.tw-article-body img { max-width: 100%; height: auto; display: block; margin: 0.15rem auto; border-radius: 0.04rem; }
.tw-article-body h2, .tw-article-body h3 {
  font-size: 0.2rem; color: var(--c-primary); font-weight: 600; margin: 0.24rem 0 0.14rem;
}
.tw-article-body ul { padding-left: 0.3rem; list-style: disc; margin-bottom: 0.2rem; }
.tw-article-body ol { padding-left: 0.3rem; list-style: decimal; margin-bottom: 0.2rem; }
.tw-article-body table { width: 100%; margin: 0.15rem 0; font-size: 0.15rem; }
.tw-article-body th, .tw-article-body td {
  border: 0.01rem solid var(--c-line); padding: 0.1rem 0.14rem; text-align: left;
}
.tw-article-body th { background: var(--c-bg-gray); font-weight: 600; }

/* 附件 */
.tw-article-file {
  margin-top: 0.3rem; padding: 0.2rem 0.24rem; background: #FBF7F4;
  border-left: 0.04rem solid var(--c-gold); border-radius: 0.04rem;
}
.tw-article-file h4 { font-size: 0.16rem; color: var(--c-text); margin-bottom: 0.1rem; }
.tw-article-file a {
  display: flex; align-items: center; gap: 0.1rem; font-size: 0.15rem;
  color: var(--c-primary); line-height: 0.3rem; word-break: break-all;
}
.tw-article-file a:hover { text-decoration: underline; }

/* 上下篇 + 关闭 */
.tw-article-turn {
  margin-top: 0.4rem; border-top: 0.01rem solid var(--c-line); padding-top: 0.2rem;
  font-size: 0.15rem; color: var(--c-text-2);
}
.tw-article-turn p { margin-bottom: 0.1rem; }
.tw-article-turn a { color: var(--c-text-2); }
.tw-article-turn a:hover { color: var(--c-primary); }
.tw-article-turn b { color: var(--c-primary); font-weight: 600; margin-right: 0.1rem; }
.tw-article-close {
  margin-top: 0.3rem; text-align: center;
}
.tw-article-close button {
  padding: 0.1rem 0.5rem; border: 0.01rem solid var(--c-line); border-radius: 0.03rem;
  font-size: 0.15rem; color: var(--c-text-2); cursor: pointer; background: #fff;
  transition: all .25s;
}
.tw-article-close button:hover {
  background: var(--c-primary); border-color: var(--c-primary); color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .tw-news-item { display: block; padding: 0.2rem; }
  .tw-news-pic { width: 100%; height: 2rem; margin-bottom: 0.16rem; }
  .tw-article { padding: 0.26rem 0.22rem 0.34rem; }
  .tw-article h1 { font-size: 0.24rem; line-height: 0.38rem; }
  .tw-article-body { font-size: 0.16rem; line-height: 0.3rem; }
}

/* ---------- 预览站补充（2026-11-17）：空栏目 / 联系我们 / 返回列表 ---------- */
.tw-empty { padding: 0.8rem 0; text-align: center; color: var(--c-text-3); font-size: 0.16rem; }
.tw-single-h { font-size: 0.24rem; color: var(--c-primary); margin-bottom: 0.24rem; }
.tw-contact { width: 100%; border-collapse: collapse; margin-bottom: 0.24rem; font-size: 0.16rem; }
.tw-contact th, .tw-contact td { border: 0.01rem solid var(--c-line); padding: 0.14rem 0.18rem; text-align: left; line-height: 1.7; vertical-align: top; }
.tw-contact thead th { background: var(--c-bg-gray); }
.tw-article-close .tw-back { display: inline-block; padding: 0.08rem 0.3rem; border: 0.01rem solid var(--c-line); border-radius: 0.04rem; color: var(--c-text-2); font-size: 0.14rem; transition: all .25s; }
.tw-article-close .tw-back:hover { color: #fff; background: var(--c-primary); border-color: var(--c-primary); }
@media (max-width: 768px) {
  .tw-empty { font-size: 14px; padding: 40px 0; }
  .tw-single-h { font-size: 18px; }
  .tw-contact { font-size: 13px; }
  .tw-contact th, .tw-contact td { padding: 8px 6px; }
  .tw-article-close .tw-back { font-size: 14px; padding: 6px 18px; }
}
