:root { --brand: #c8161d; --brand2: #e34d4d; --ink: #1a1a1a; --muted: #7c8288; --line: #e6e8eb; --bg: #f5f6f7; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.75 -apple-system, "Segoe UI", "Microsoft YaHei", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 18px; }

/* 顶部条 */
.topbar { background: #14161a; color: #b9bec6; font-size: 12.5px; }
.tb-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 34px; }
.tb-slogan { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.tb-right { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 6px; }
.langs a { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; }
.langs a.on { background: var(--brand); color: #fff; }
.search { display: flex; }
.search input { width: 150px; padding: 5px 10px; border: 0; border-radius: 4px 0 0 4px; background: #fff; outline: none; font-size: 13px; }
.search button { padding: 5px 12px; border: 0; border-radius: 0 4px 4px 0; background: var(--brand); color: #fff; cursor: pointer; font-size: 13px; }

/* 报头 */
.masthead { background: #fff; border-bottom: 3px solid var(--brand); }
.mh-in { display: flex; align-items: center; gap: 24px; padding: 16px 18px; }
.brand { font-size: 28px; font-weight: 900; letter-spacing: 1px; color: var(--brand); white-space: nowrap; }
.chan { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.chan a { padding: 6px 12px; border-radius: 4px; font-size: 15px; color: #333; }
.chan a:hover { background: #fdecec; color: var(--brand); }

/* 快讯 */
.flash { background: #fff; border-bottom: 1px solid var(--line); }
.flash-in { display: flex; align-items: center; gap: 14px; padding: 10px 18px; }
.flash-tag { flex: none; background: var(--brand); color: #fff; font-size: 12.5px; padding: 3px 10px; border-radius: 3px; font-weight: 600; }
.flash ul { display: flex; gap: 22px; flex-wrap: wrap; overflow: hidden; max-height: 26px; }
.flash li { list-style: none; font-size: 13.5px; }
.flash li a:hover { color: var(--brand); }

/* 区块标题 */
.stit { margin: 0 0 12px; font-size: 17px; padding-left: 10px; border-left: 4px solid var(--brand); line-height: 1.2; }
.stit.big { font-size: 21px; margin: 22px 0 14px; padding-bottom: 10px; border-left: 0; border-bottom: 2px solid #eceef0; position: relative; }
.stit.big:after { content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 2px; background: var(--brand); }
.kicker { display: inline-block; font-size: 12px; color: var(--brand); border: 1px solid #f3c9cb; border-radius: 3px; padding: 1px 7px; margin-bottom: 6px; }
.meta { color: var(--muted); font-size: 12.5px; }

/* 头条 */
.lead { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; margin: 18px 0 8px; }
.lead-main { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lead-pic img { width: 100%; height: 300px; object-fit: cover; }
.lead-tx { padding: 14px 18px 18px; }
.lead-tx h1 { margin: 0 0 8px; font-size: 25px; line-height: 1.4; }
.lead-tx h1 a:hover { color: var(--brand); }
.excerpt { margin: 0 0 10px; color: #55585c; font-size: 14.5px; }
.more { color: var(--brand); font-size: 14px; }
.lead-side { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; }
.side-list li { list-style: none; padding: 8px 0; border-bottom: 1px dashed #eef0f2; }
.side-list li:last-child { border-bottom: 0; }
.side-list b { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.5; }
.side-list b:hover { color: var(--brand); }
.side-list em { font-style: normal; color: var(--muted); font-size: 12px; }

/* 三栏推荐 */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ncard { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.ncard:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 22, 26, .1); }
.npic { display: block; height: 158px; overflow: hidden; background: #eef0f2; }
.npic img { width: 100%; height: 100%; object-fit: cover; }
.nbd { padding: 12px 14px 16px; }
.nbd h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.nbd h3 a:hover { color: var(--brand); }
.nm { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; height: 42px; overflow: hidden; }

/* 两栏 + 列表流 */
.grid2 { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; margin: 8px 0 20px; }
.stream { min-width: 0; }
.nl li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; }
.nl li a { display: flex; gap: 14px; padding: 12px; }
.nl .pic { flex: none; width: 190px; height: 118px; border-radius: 4px; overflow: hidden; background: #eef0f2; }
.nl .pic img { width: 100%; height: 100%; object-fit: cover; }
.nl .tx { min-width: 0; }
.nl .tx b { display: block; font-size: 16.5px; line-height: 1.5; }
.nl .tx b:hover { color: var(--brand); }
.nl .tx em { display: block; font-style: normal; color: var(--muted); font-size: 12.5px; margin: 5px 0 6px; }
.nl .tx i { font-style: normal; color: #5d6167; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 侧栏 */
.side .box { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px; margin-bottom: 16px; }
.side .box h3 { margin: 0 0 12px; font-size: 16px; padding-left: 9px; border-left: 3px solid var(--brand); line-height: 1.2; }
.hot li { list-style: none; counter-increment: h; display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #eef0f2; font-size: 14px; }
.hot { counter-reset: h; }
.hot li:before { content: counter(h); flex: none; width: 18px; height: 18px; border-radius: 3px; background: #f4f5f6; color: var(--brand); font-size: 12px; display: grid; place-items: center; }
.hot li a:hover { color: var(--brand); }
.hot li span { margin-left: auto; color: var(--muted); font-size: 12px; }
.cats li { list-style: none; }
.cats a { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #eef0f2; font-size: 14px; }
.cats a em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: 4px 10px; border-radius: 3px; background: #f2f3f5; font-size: 12.5px; }
.tags a:hover { background: var(--brand); color: #fff; }

/* 栏目页 */
.crumb { color: var(--muted); font-size: 13px; padding: 14px 0 0; }
.crumb a { color: var(--brand); }
.cat-head { margin: 14px 0 10px; padding-bottom: 12px; border-bottom: 2px solid #eceef0; }
.cat-head h1 { margin: 0 0 6px; font-size: 26px; }
.cat-head p { margin: 0; color: var(--muted); font-size: 14px; }
.cat-lead { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 14px; }
.cat-lead img { width: 100%; height: 260px; object-fit: cover; }
.cl-tx { display: block; padding: 12px 16px 16px; }
.cl-tx b { display: block; font-size: 19px; line-height: 1.5; }
.cl-tx i { font-style: normal; color: var(--muted); font-size: 13.5px; }

/* 内容页 */
.post { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 30px; margin: 18px 0; }
.pt { margin: 8px 0 12px; font-size: 29px; line-height: 1.4; }
.post .sub { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.post .sub .cat a { color: var(--brand); }
.post-pic { margin: 18px 0 0; }
.post-pic img { width: 100%; border-radius: 6px; }
.digest { margin: 16px 0 0; padding: 12px 16px; background: #f7f8f9; border-left: 4px solid var(--brand2); color: #5d6167; font-size: 14.5px; }
.post .content { font-size: 16.5px; line-height: 1.95; color: #26282c; margin-top: 18px; }
.post .content h2 { font-size: 22px; margin: 26px 0 12px; padding-left: 10px; border-left: 4px solid var(--brand); }
.post .content h3 { font-size: 18px; margin: 22px 0 10px; }
.post .content p { margin: 0 0 16px; }
.post .content img { border-radius: 6px; margin: 14px auto; }
.post .content blockquote { margin: 18px 0; padding: 12px 16px; background: #f7f8f9; border-left: 4px solid var(--brand2); color: #5d6167; }
.post .content ul, .post .content ol { padding-left: 24px; }
.post-tags { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.prevnext { display: flex; justify-content: space-between; gap: 14px; margin-top: 16px; font-size: 14px; flex-wrap: wrap; }
.prevnext a { color: #45484d; }
.prevnext a:hover { color: var(--brand); }

/* 搜索 / 404 */
.search-page { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px; margin: 18px 0; }
.search-page h1 { margin: 0 0 14px; font-size: 22px; }
.search.big { margin-bottom: 20px; }
.search.big input { width: 100%; }
.notfound { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 50px; margin: 18px 0; text-align: center; }
.notfound h1 { font-size: 70px; margin: 0; color: var(--brand); }

/* 广告与分页 */
.ad { margin: 16px 0; text-align: center; }
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.pagination a { padding: 7px 13px; border-radius: 4px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; }
.pagination a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .info { color: var(--muted); font-size: 12.5px; margin-left: 6px; }

/* 页脚 */
.ft { background: #14161a; color: #a9afb7; margin-top: 34px; }
.ft-in { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 22px; padding: 32px 18px; }
.ft-col h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.ft-col ul { padding: 0; }
.ft-col li { list-style: none; padding: 4px 0; font-size: 13.5px; }
.ft-col li a:hover { color: #fff; }
.ft-col .tags a { background: rgba(255, 255, 255, .08); color: #c3c9d1; }
.ft .cp { font-size: 12.5px; opacity: .75; }
.ft-btm { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 18px 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; }
.lang-line a { margin-left: 10px; }

@media (max-width: 980px) {
  .lead { grid-template-columns: 1fr; }
  .trio { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .ft-in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mh-in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .chan { overflow-x: auto; flex-wrap: nowrap; }
  .trio { grid-template-columns: 1fr; }
  .nl li a { flex-direction: column; }
  .nl .pic { width: 100%; height: 180px; }
  .lead-pic img, .cat-lead img { height: 190px; }
  .post { padding: 18px; }
  .ft-in { grid-template-columns: 1fr; }
}
