@charset "utf-8";
/* ==========================================================================
   新闻动态栏目（新增栏目专用样式）
   独立命名空间 .lznews_*，不修改任何既有选择器，因此对原站其它页面零影响。
   亮色为基础样式；文件末尾给出配色一致的黑夜模式覆盖（跟随系统）。
   ========================================================================== */

/* ---------- 栏目标题区 ---------- */
.lznews_sec { padding: 62px 0 90px; }
.lznews_head { text-align: center; margin-bottom: 46px; }
.lznews_head h2 { font-size: 42px; line-height: 1.4; color: #333; font-weight: bold; }
.lznews_head p { margin-top: 16px; font-size: 16px; line-height: 1.9; color: #666; }

/* ---------- 列表页 ---------- */
.lznews_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.lznews_card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(20, 40, 90, .07);
  transition: transform .35s ease, box-shadow .35s ease;
  opacity: 0;
  animation: lzNewsIn .55s ease forwards;
}
.lznews_card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(20, 40, 90, .14); }

@keyframes lzNewsIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lznews_pic { position: relative; width: 100%; padding-top: 56.25%; background: #f1f6ff; overflow: hidden; }
.lznews_pic img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.lznews_card:hover .lznews_pic img { transform: scale(1.06); }

.lznews_txt { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.lznews_meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; min-height: 24px; }
.lznews_cat {
  display: inline-block; font-size: 13px; line-height: 24px; padding: 0 12px;
  color: #4275f4; background: #eff7ff; border-radius: 1000px;
}
.lznews_meta em { font-style: normal; font-size: 13px; color: #999; letter-spacing: .3px; }

.lznews_txt h3 {
  font-size: 20px; line-height: 1.6; color: #333; font-weight: bold;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .3s;
}
.lznews_card:hover .lznews_txt h3 { color: #4275f4; }
.lznews_txt > p {
  margin-top: 12px; font-size: 14px; line-height: 1.85; color: #888;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lznews_more {
  margin-top: auto; padding-top: 18px; font-size: 14px; color: #4275f4;
  display: flex; align-items: center; gap: 6px;
}
.lznews_more i {
  width: 16px; height: 10px; display: inline-block; transition: transform .3s;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M10.5 0 9.4 1.1l3.2 3.2H0v1.4h12.6l-3.2 3.2L10.5 10 16 5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M10.5 0 9.4 1.1l3.2 3.2H0v1.4h12.6l-3.2 3.2L10.5 10 16 5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.lznews_card:hover .lznews_more i { transform: translateX(4px); }

.lznews_empty { grid-column: 1 / -1; text-align: center; color: #999; font-size: 16px; padding: 70px 0; }

/* 分页 */
.lznews_pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 56px; flex-wrap: wrap; }
.lznews_pager a {
  min-width: 44px; height: 44px; line-height: 42px; text-align: center; padding: 0 14px;
  border: 1px solid #e2e9ec; border-radius: 10px; color: #666; font-size: 15px;
  background: #fff; transition: .3s;
}
.lznews_pager a:hover { border-color: #4275f4; color: #4275f4; }
.lznews_pager a.cur { background: #4275f4; border-color: #4275f4; color: #fff; }

/* ---------- 详情页 ---------- */
.lznews_dwrap { background: #f6f7fa; padding: 0 0 90px; }

.lznews_crumb { max-width: 1400px; width: 94%; margin: 0 auto; padding: 26px 0 0; font-size: 14px; color: #999; }
.lznews_crumb a { color: #999; }
.lznews_crumb a:hover { color: #4275f4; }
.lznews_crumb span { margin: 0 8px; color: #c9c9c9; }

.lznews_detail {
  max-width: 900px; width: 94%; margin: 26px auto 0; background: #fff;
  border-radius: 20px; padding: 56px 60px 50px; box-shadow: 0 6px 30px rgba(20, 40, 90, .06);
}

.lznews_dhead { text-align: center; padding-bottom: 28px; border-bottom: 1px solid #f0f0f0; }
.lznews_dhead .lznews_cat { margin-bottom: 18px; }
.lznews_dhead h1 { font-size: 32px; line-height: 1.5; color: #333; font-weight: bold; }
.lznews_dhead .lznews_dmeta { margin-top: 18px; font-size: 14px; color: #999; display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.lznews_dhead .lznews_dmeta em { font-style: normal; }

.lznews_dcover { margin: 32px 0 8px; border-radius: 14px; overflow: hidden; }
.lznews_dcover img { display: block; width: 100%; height: auto; }

/* 正文排版 */
.lznews_body { padding-top: 26px; font-size: 16px; line-height: 2; color: #3d3d3d; word-break: break-word; }
.lznews_body p { margin-bottom: 20px; }
.lznews_body h2 { font-size: 21px; line-height: 1.6; color: #333; font-weight: bold; margin: 36px 0 16px; padding-left: 14px; border-left: 4px solid #4275f4; }
.lznews_body h3 { font-size: 18px; color: #333; font-weight: bold; margin: 26px 0 12px; }
.lznews_body ul, .lznews_body ol { margin: 0 0 20px; padding-left: 22px; }
.lznews_body li { margin-bottom: 10px; position: relative; }
.lznews_body ul li { list-style: none; }
.lznews_body ul li::before {
  content: ""; position: absolute; left: -18px; top: 13px; width: 6px; height: 6px;
  border-radius: 50%; background: #4275f4;
}
.lznews_body ol li { list-style: decimal; }
.lznews_body img { max-width: 100%; height: auto; border-radius: 12px; }
.lznews_body strong { color: #333; }
.lznews_body blockquote {
  margin: 24px 0; padding: 18px 24px; background: #f1f6ff; border-radius: 12px;
  color: #4275f4; font-size: 15px; line-height: 1.9;
}
.lznews_body a { color: #4275f4; word-break: break-all; }

/* 上一篇 / 下一篇 */
.lznews_pn { margin-top: 46px; padding-top: 26px; border-top: 1px solid #f0f0f0; display: flex; gap: 30px; flex-wrap: wrap; }
.lznews_pn a { flex: 1; min-width: 240px; font-size: 15px; color: #666; display: flex; gap: 10px; transition: color .3s; }
.lznews_pn a:hover { color: #4275f4; }
.lznews_pn a em { font-style: normal; color: #c9c9c9; flex: none; }
.lznews_pn a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lznews_pn a.lznews_pn_next { justify-content: flex-end; text-align: right; }

.lznews_back { display: flex; justify-content: center; margin-top: 30px; }
.lznews_back a {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 32px;
  border: 1px solid #4275f4; border-radius: 1000px; color: #4275f4; font-size: 15px; transition: .3s;
}
.lznews_back a:hover { background: #4275f4; color: #fff; }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1200px) {
  .lznews_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .lznews_detail { padding: 46px 40px 40px; }
}
@media screen and (max-width: 768px) {
  .lznews_sec { padding: 44px 0 60px; }
  .lznews_sec .titc { font-size: 30px; }
  .lznews_lead { font-size: 14px; margin-bottom: 32px; }
  .lznews_grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lznews_txt { padding: 20px 20px 22px; }
  .lznews_txt h3 { font-size: 18px; }
  .lznews_pager { margin-top: 36px; }
  .lznews_pager a { min-width: 40px; height: 40px; line-height: 38px; font-size: 14px; }

  .lznews_dwrap { padding-bottom: 60px; }
  .lznews_detail { padding: 30px 22px 30px; border-radius: 14px; margin-top: 16px; }
  .lznews_dhead { padding-bottom: 20px; }
  .lznews_dhead h1 { font-size: 22px; }
  .lznews_dhead .lznews_dmeta { font-size: 13px; gap: 10px; }
  .lznews_dcover { margin: 22px 0 6px; border-radius: 10px; }
  .lznews_body { font-size: 15px; line-height: 1.95; }
  .lznews_body h2 { font-size: 18px; margin: 28px 0 12px; }
  .lznews_pn { gap: 14px; margin-top: 32px; }
  .lznews_pn a { min-width: 100%; }
  .lznews_back a { height: 44px; padding: 0 24px; font-size: 14px; }
}

/* ==========================================================================
   黑夜模式：与 dark.css 同一套色板（底 #161a21 / 面 #1d222b / 边 #262c36）
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  .lznews_sec { background: transparent; }
  .lznews_head h2 { color: #e8eaee; }
  .lznews_head p { color: #a9b0bb; }

  .lznews_card { background: #1d222b; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
  .lznews_card:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
  .lznews_pic { background: #1b2029; }
  .lznews_cat { color: #7fa4ff; background: #1b2029; }
  .lznews_meta em { color: #8b929e; }
  .lznews_txt h3 { color: #e8eaee; }
  .lznews_card:hover .lznews_txt h3 { color: #6f9bff; }
  .lznews_txt > p { color: #98a0ac; }
  .lznews_more { color: #6f9bff; }
  .lznews_empty { color: #8b929e; }

  .lznews_pager a { background: #1d222b; border-color: #2a3038; color: #a9b0bb; }
  .lznews_pager a:hover { border-color: #6f9bff; color: #6f9bff; }
  .lznews_pager a.cur { background: #3b6be0; border-color: #3b6be0; color: #fff; }

  .lznews_dwrap { background: #14181f; }
  .lznews_crumb, .lznews_crumb a { color: #8b929e; }
  .lznews_crumb a:hover { color: #6f9bff; }
  .lznews_crumb span { color: #666d7a; }

  .lznews_detail { background: #1d222b; box-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
  .lznews_dhead { border-bottom-color: #262c36; }
  .lznews_dhead h1 { color: #e8eaee; }
  .lznews_dhead .lznews_dmeta { color: #8b929e; }

  .lznews_body { color: #c6cbd4; }
  .lznews_body h2 { color: #e8eaee; border-left-color: #6f9bff; }
  .lznews_body h3 { color: #e8eaee; }
  .lznews_body strong { color: #e8eaee; }
  .lznews_body blockquote { background: #1b2029; color: #7fa4ff; }
  .lznews_body a { color: #6f9bff; }
  .lznews_body ul li::before { background: #6f9bff; }

  .lznews_pn { border-top-color: #262c36; }
  .lznews_pn a { color: #a9b0bb; }
  .lznews_pn a:hover { color: #6f9bff; }
  .lznews_pn a em { color: #666d7a; }

  .lznews_back a { border-color: #6f9bff; color: #6f9bff; }
  .lznews_back a:hover { background: #3b6be0; border-color: #3b6be0; color: #fff; }
}
