@charset "gbk";
/* ==========================================================================
   青年文化 · phpcms v9 模板样式
   参考中华网文化频道视觉语言：1200 固定宽 / 暗红点缀 / 大标题 + 细线贯穿
   目录：statics/qingnian/css/style.css
   ========================================================================== */

/* ---------- reset ---------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, em, i, img, ul, ol, li,
dl, dt, dd, form, input, button, textarea, table, th, td, header, nav, section,
article, aside, footer, figure { margin: 0; padding: 0; border: 0; box-sizing: border-box; }
ul, ol { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { display: block; border: 0; }
a { color: #333; text-decoration: none; transition: color .2s; }
a:hover { color: #b41b20; }
em, i { font-style: normal; }
input, button, textarea { font-family: inherit; font-size: inherit; outline: none; }

:root {
  --red: #b41b20;
  --red-light: #d40300;
  --ink: #151515;
  --text: #333;
  --gray: #666;
  --gray-2: #999;
  --gray-3: #bbb;
  --line: #ededed;
  --line-soft: #f5f5f5;
  --bg-soft: #faf8f6;
}

body {
  font: 14px/1.6 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans CN", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 1200px; margin: 0 auto; }
.clearfix:after { content: ""; display: block; clear: both; }
.hidden { display: none !important; }
.mt20 { margin-top: 20px; }
.mt40 { margin-top: 40px; }

.ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 顶部频道条 ---------- */
.topbar { height: 36px; background: #2b2b2b; }
.topbar .wrap { display: flex; align-items: center; height: 36px; }
.topbar-nav { display: flex; align-items: center; font-size: 13px; }
.topbar-nav li { position: relative; }
.topbar-nav li a { display: block; padding: 0 13px; line-height: 36px; color: #b9b9b9; }
.topbar-nav li a:hover { color: #fff; }
.topbar-nav li.on a { color: #fff; }
.topbar-nav li.on a:after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 0;
  height: 2px; background: var(--red-light);
}
.topbar-user { display: flex; align-items: center; margin-left: auto; font-size: 13px; }
.topbar-user a { color: #b9b9b9; }
.topbar-user a:hover { color: #fff; }
.topbar-user span { margin: 0 8px; color: #555; }

/* ---------- 站头 ---------- */
.site-header { border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; height: 88px; }
.logo { display: flex; align-items: center; }
.logo-mark {
  width: 46px; height: 46px; margin-right: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
  font-size: 22px; font-weight: 700; letter-spacing: -1px;
  border-radius: 3px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text b { font-size: 24px; font-weight: 700; letter-spacing: 3px; color: var(--ink); line-height: 1.2; }
.logo-text span { font-size: 11px; letter-spacing: 2px; color: var(--gray-2); text-transform: uppercase; }

.channel-flag {
  margin-left: 18px; padding-left: 18px;
  border-left: 1px solid #ddd;
  font-size: 30px; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: 1px;
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; }
.main-nav li { position: relative; margin-left: 28px; }
.main-nav li:first-child { margin-left: 0; }
.main-nav li a {
  display: block; font-size: 17px; font-weight: 700; line-height: 88px; color: #222;
}
.main-nav li a:hover { color: var(--red); }
.main-nav li.current a { color: var(--red); }
.main-nav li.current a:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 26px;
  height: 3px; border-radius: 2px; background: var(--red);
}

/* ---------- 二级栏目条 ---------- */
.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav .wrap { display: flex; align-items: center; height: 46px; }
.subnav .label { font-size: 13px; color: var(--gray-2); margin-right: 10px; }
.subnav ul { display: flex; flex-wrap: wrap; }
.subnav li a {
  display: block; padding: 0 14px; font-size: 14px; line-height: 46px; color: var(--gray);
}
.subnav li a:hover { color: var(--red); }
.subnav li.on a { color: var(--red); font-weight: 700; }

/* ---------- 首屏：焦点图 + 要闻 ---------- */
.hero { display: flex; gap: 19px; margin-top: 24px; }
.hero-main { width: 815px; }
.hero-side { width: 366px; }

.focus { position: relative; overflow: hidden; width: 815px; height: 458px; background: #111; }
.focus-item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease; }
.focus-item.on { opacity: 1; visibility: visible; }
.focus-item a { display: block; width: 100%; height: 100%; }
.focus-item img { width: 100%; height: 100%; object-fit: cover; }
.focus-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.28) 55%, rgba(0,0,0,0));
}
.focus-item .cap h2 {
  font-size: 28px; font-weight: 700; line-height: 40px; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.focus-item .cap p { margin-top: 8px; font-size: 14px; line-height: 24px; color: rgba(255,255,255,.72);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.focus-dots {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%); z-index: 3;
  display: flex; flex-direction: column; gap: 10px;
}
.focus-dots span {
  width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5);
  cursor: pointer; transition: all .3s;
}
.focus-dots span:hover { background: rgba(255,255,255,.85); }
.focus-dots span.on { height: 20px; background: #fff; }

.focus-arrow {
  position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px;
  background: rgba(0,0,0,.32); color: #fff; font-size: 18px; line-height: 44px; text-align: center;
  cursor: pointer; opacity: 0; transition: opacity .25s, background .2s;
}
.focus:hover .focus-arrow { opacity: 1; }
.focus-arrow:hover { background: var(--red); }
.focus-arrow.prev { left: 0; }
.focus-arrow.next { right: 0; }

/* 要闻列表 */
.headline { display: flex; flex-direction: column; }
.headline .sec-head { height: 62px; border-bottom: 0; line-height: 62px; }
.headline .sec-head h2 { font-size: 26px; }
.headline ul { padding: 0 2px; }
.headline li {
  position: relative; padding-left: 16px; line-height: 47px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  border-bottom: 1px dashed #f0f0f0;
}
.headline li:last-child { border-bottom: 0; }
.headline li:before {
  content: ""; position: absolute; left: 2px; top: 21px;
  width: 4px; height: 4px; border-radius: 50%; background: #ccc;
}
.headline li:first-child { line-height: 52px; }
.headline li:first-child a { font-size: 18px; font-weight: 700; color: var(--ink); }
.headline li:first-child a:hover { color: var(--red); }
.headline li:first-child:before { top: 24px; background: var(--red); }
.headline li a { font-size: 15px; color: #333; }
.headline li a:hover { color: var(--red); }

/* ---------- 区块标题 ---------- */
.sec { margin-top: 46px; }
.sec-head {
  position: relative; display: flex; align-items: baseline; height: 70px;
  border-bottom: 1px solid var(--line);
}
.sec-head h2 {
  position: relative; z-index: 2; padding-left: 15px; padding-right: 22px; background: #fff;
  font-size: 28px; font-weight: 700; line-height: 70px; color: var(--ink); letter-spacing: .5px;
}
.sec-head h2:before {
  content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 24px; margin-top: -12px;
  background: var(--red); border-radius: 2px;
}
.sec-head h2 a { color: var(--ink); }
.sec-head h2 a:hover { color: var(--red); }
.sec-head .more {
  position: relative; z-index: 2; margin-left: auto; padding-left: 20px; background: #fff;
  font-size: 13px; color: var(--gray-2);
}
.sec-head .more:hover { color: var(--red); }
.sec-head .more:after { content: " \203A"; font-size: 15px; }

.sec-body { padding-top: 26px; }

/* ---------- 图文列表（大） ---------- */
.news-list-lg { }
.news-list-lg .item {
  display: flex; gap: 24px; padding: 24px 0;
  border-bottom: 1px solid #ececec;
}
.news-list-lg .item:first-child { padding-top: 0; }
.news-list-lg .item:last-child { border-bottom: 0; }
.news-list-lg .pic { display: block; width: 228px; height: 148px; flex-shrink: 0; overflow: hidden; background: #f4f2f0; }
.news-list-lg .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-list-lg .item:hover .pic img { transform: scale(1.045); }
.news-list-lg .con { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.news-list-lg .tit { font-size: 21px; font-weight: 700; line-height: 32px; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list-lg .item:hover .tit { color: var(--red); }
.news-list-lg .desc { margin-top: 10px; font-size: 14px; line-height: 25px; color: var(--gray);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list-lg .foot { margin-top: 14px; font-size: 12px; color: var(--gray-2); }
.news-list-lg .foot span { margin-right: 18px; }
.news-list-lg .foot .tag { color: var(--red); }

/* ---------- 纯文字列表 ---------- */
.news-list-txt li {
  position: relative; padding-left: 16px; line-height: 2.7; font-size: 15px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.news-list-txt li:before {
  content: ""; position: absolute; left: 2px; top: 18px;
  width: 4px; height: 4px; border-radius: 50%; background: #d6d6d6;
}
.news-list-txt li a:hover { color: var(--red); }

/* ---------- 三栏大图卡 ---------- */
.card-grid { display: flex; gap: 15px; }
.card-grid .card { display: flex; flex-direction: column; width: 390px; }
.card-grid .card .pic { position: relative; display: block; overflow: hidden; width: 100%; height: 238px; background: #f4f2f0; }
.card-grid .card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-grid .card:hover .pic img { transform: scale(1.04); }
.card-grid .card .mask {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
}
.card-grid .card .mask h3 { font-size: 18px; font-weight: 700; line-height: 26px; color: #fff;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card-grid .card .txt { display: flex; flex-direction: column; flex: 1; padding: 14px 0 0; }
.card-grid .card .txt p { min-height: 48px; font-size: 14px; line-height: 24px; color: var(--gray);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-grid .card .txt .meta { margin-top: 8px; font-size: 12px; color: var(--gray-2); }

/* ---------- 两栏分区 ---------- */
.cols2 { display: flex; gap: 30px; }
.cols2 .col { width: 585px; }

/* ---------- 图片墙 ---------- */
.pic-wall { display: flex; gap: 16px; }
.pic-wall li { width: 227px; }
.pic-wall li .pic { position: relative; display: block; overflow: hidden; width: 100%; height: 298px; background: #f4f2f0; }
.pic-wall li .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pic-wall li:hover .pic img { transform: scale(1.05); }
.pic-wall li .pic h3 {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px;
  font-size: 14px; font-weight: 400; line-height: 22px; color: #fff;
  background: rgba(0,0,0,.62);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ---------- 侧栏：排行榜 ---------- */
.rank-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 0; border-bottom: 1px dashed #f0f0f0;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-list .num {
  width: 22px; flex-shrink: 0; font-size: 16px; font-weight: 700; line-height: 26px;
  color: var(--gray-3); font-family: Georgia, "Times New Roman", serif; text-align: center;
}
.rank-list li:nth-child(1) .num,
.rank-list li:nth-child(2) .num,
.rank-list li:nth-child(3) .num { color: var(--red); font-size: 18px; }
.rank-list .tit { font-size: 15px; line-height: 26px; color: #2a2a2a;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank-list li:hover .tit { color: var(--red); }

/* ---------- 侧栏：图文推荐 ---------- */
.side-picks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed #f0f0f0; }
.side-picks li:first-child { padding-top: 0; }
.side-picks li:last-child { border-bottom: 0; }
.side-picks .pic { display: block; width: 120px; height: 78px; flex-shrink: 0; overflow: hidden; background: #f4f2f0; }
.side-picks .pic img { width: 100%; height: 100%; object-fit: cover; }
.side-picks .con { flex: 1; min-width: 0; }
.side-picks .tit { font-size: 14px; line-height: 22px; color: #2a2a2a;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-picks li:hover .tit { color: var(--red); }
.side-picks .meta { margin-top: 6px; font-size: 12px; color: var(--gray-2); }

/* ---------- 侧栏：小标题 ---------- */
.side-block { margin-bottom: 34px; }
.side-block:last-child { margin-bottom: 0; }
.side-head { display: flex; align-items: center; height: 44px; border-bottom: 2px solid #2b2b2b; }
.side-head h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.side-head .more { margin-left: auto; font-size: 12px; color: var(--gray-2); }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 22px 0 0; font-size: 13px; line-height: 20px; color: var(--gray-2); }
.crumbs a { color: var(--gray-2); }
.crumbs a:hover { color: var(--red); }
.crumbs span { margin: 0 6px; color: #ccc; }

/* ---------- 栏目页 ---------- */
.list-layout { display: flex; gap: 44px; padding-bottom: 60px; }
.list-main { width: 790px; }
.list-side { width: 366px; }
.list-side .side-block:first-child { margin-top: 64px; }

.list-banner {
  position: relative; margin-top: 22px; padding: 34px 36px;
  background: var(--bg-soft); border-left: 3px solid var(--red);
}
.list-banner h1 { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.list-banner p { margin-top: 8px; font-size: 14px; line-height: 26px; color: var(--gray); }

.filter-bar {
  display: flex; align-items: center; margin-top: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.filter-bar .label { font-size: 13px; color: var(--gray-2); margin-right: 14px; flex-shrink: 0; }
.filter-bar ul { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-bar li a {
  display: block; padding: 4px 14px; font-size: 13px; color: var(--gray);
  border: 1px solid var(--line); border-radius: 15px;
}
.filter-bar li a:hover { color: var(--red); border-color: var(--red); }
.filter-bar li.on a { color: #fff; background: var(--red); border-color: var(--red); }

/* ---------- 分页 ---------- */
.pages { margin-top: 44px; text-align: center; font-size: 14px; }
.pages a, .pages span {
  display: inline-block; min-width: 34px; height: 34px; margin: 0 4px; padding: 0 12px;
  line-height: 32px; color: var(--gray); border: 1px solid #e2e2e2; border-radius: 17px;
}
.pages a:hover { color: #fff; background: var(--red); border-color: var(--red); }
.pages span.a1, .pages span.a2 { border: 0; color: var(--gray-2); }
.pages span.curPage, .pages span.current {
  color: #fff; background: var(--red); border-color: var(--red);
}

/* ---------- 内容页 ---------- */
.article-layout { display: flex; gap: 44px; padding-bottom: 60px; }
.article-main { width: 790px; }
.article-side { width: 366px; }
.article-side .side-block:first-child { margin-top: 70px; }

.article-title {
  margin-top: 26px; font-size: 32px; font-weight: 700; line-height: 1.48; color: var(--ink);
  letter-spacing: .5px;
}
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  margin-top: 18px; padding-bottom: 16px;
  font-size: 13px; color: var(--gray-2); border-bottom: 1px solid var(--line);
}
.article-meta span { margin-right: 22px; }
.article-meta .hits em { color: var(--red); margin-left: 2px; }
.article-meta .tools { margin-left: auto; display: flex; align-items: center; }
.article-meta .tools a {
  display: inline-block; width: 26px; height: 26px; margin-left: 8px;
  line-height: 26px; text-align: center; font-size: 12px;
  color: var(--gray); border: 1px solid #e2e2e2; border-radius: 50%;
}
.article-meta .tools a:hover { color: #fff; background: var(--red); border-color: var(--red); }
.article-meta .dozoom a { cursor: pointer; }

.article-content {
  margin-top: 26px; font-size: 17px; line-height: 1.95; color: #3a3a3a;
  word-break: break-word;
}
.article-content p { margin: 0 0 22px; text-indent: 2em; }
.article-content h2, .article-content h3, .article-content h4 {
  margin: 34px 0 18px; font-weight: 700; color: var(--ink); line-height: 1.5;
}
.article-content h2 { font-size: 23px; }
.article-content h3 {
  position: relative; padding-left: 14px; font-size: 20px;
}
.article-content h3:before {
  content: ""; position: absolute; left: 0; top: 6px; width: 3px; height: 19px;
  background: var(--red); border-radius: 2px;
}
.article-content img { max-width: 660px; height: auto !important; margin: 22px auto; }
.article-content a { color: var(--red); text-decoration: underline; }
.article-content strong, .article-content b { font-weight: 700; color: var(--ink); }
.article-content blockquote {
  margin: 24px 0; padding: 16px 22px; border-left: 3px solid var(--red);
  background: var(--bg-soft); color: var(--gray);
}
.article-content ul, .article-content ol { margin: 0 0 22px; padding-left: 26px; }
.article-content li { margin-bottom: 8px; list-style: disc outside; color: #3a3a3a; }
.article-content ol li { list-style: decimal outside; }
.article-content table { width: 100%; margin: 22px 0; }
.article-content table th, .article-content table td { padding: 10px 12px; border: 1px solid var(--line); }
.article-content table th { background: #fafafa; font-weight: 700; }

/* 图注 */
.article-content .pcenter,
.article-content .picIntro,
.article-content .img_descr,
.article-content .news_img_title,
.article-content p[style*="text-align: center"] { text-align: center; text-indent: 0; }
.article-content .pcenter { font-size: 13px; line-height: 22px; color: var(--gray-2); margin-bottom: 24px; }

/* 文末 */
.article-tags { margin-top: 32px; font-size: 13px; color: var(--gray-2); }
.article-tags a {
  display: inline-block; margin: 0 8px 8px 0; padding: 3px 12px;
  color: var(--gray); background: #f6f6f6; border-radius: 13px;
}
.article-tags a:hover { color: #fff; background: var(--red); }

.article-pager { margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-pager p { font-size: 14px; line-height: 30px; color: var(--gray); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.article-pager p span { color: var(--gray-2); }
.article-pager a { color: #333; }
.article-pager a:hover { color: var(--red); }

.article-declare {
  margin-top: 20px; padding: 16px 18px; font-size: 12px; line-height: 22px; color: var(--gray-2);
  background: #fafafa; border-radius: 3px;
}
.article-declare b { color: var(--gray); font-weight: 700; }

/* 相关阅读 */
.related { margin-top: 44px; }
.related-head { display: flex; align-items: center; border-bottom: 1px solid var(--line); height: 50px; }
.related-head h3 { position: relative; padding-left: 13px; font-size: 20px; font-weight: 700; color: var(--ink); }
.related-head h3:before {
  content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 18px; margin-top: -9px;
  background: var(--red); border-radius: 2px;
}
.related-list { display: flex; flex-wrap: wrap; gap: 34px 18px; padding-top: 22px; }
.related-list li { width: 376px; }
.related-list .pic { display: block; width: 100%; height: 210px; overflow: hidden; background: #f4f2f0; }
.related-list .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.related-list li:hover .pic img { transform: scale(1.04); }
.related-list .tit { margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 24px; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-list li:hover .tit { color: var(--red); }
.related-list .meta { margin-top: 6px; font-size: 12px; color: var(--gray-2); }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 60px; padding: 44px 0 0; background: #262626; color: #8f8f8f; font-size: 13px; }
.footer-top { display: flex; justify-content: space-between; padding-bottom: 36px; }
.footer-brand { width: 340px; }
.footer-brand .logo-mark { background: #4a4a4a; color: #fff; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text span { color: #7a7a7a; }
.footer-brand p { margin-top: 18px; line-height: 26px; color: #8a8a8a; }

.footer-links { display: flex; gap: 74px; }
.footer-links dl dt { margin-bottom: 14px; font-size: 15px; font-weight: 700; color: #e6e6e6; }
.footer-links dl dd { line-height: 30px; }
.footer-links dl dd a { color: #8a8a8a; }
.footer-links dl dd a:hover { color: #fff; }

.footer-qr { width: 120px; text-align: center; }
.footer-qr .box { width: 120px; height: 120px; background: #fff; padding: 6px; }
.footer-qr .box img { width: 100%; height: 100%; object-fit: contain; }
.footer-qr p { margin-top: 10px; font-size: 12px; color: #8a8a8a; }

.footer-bottom { padding: 20px 0 30px; border-top: 1px solid #3a3a3a; font-size: 12px; line-height: 26px; color: #707070; }
.footer-bottom a { color: #707070; }
.footer-bottom a:hover { color: #ccc; }
.footer-bottom .links { margin-bottom: 8px; }
.footer-bottom .links a { margin-right: 16px; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 36px; bottom: 60px; z-index: 90;
  width: 44px; height: 44px; line-height: 44px; text-align: center;
  font-size: 18px; color: #fff; background: rgba(0,0,0,.28); border-radius: 3px;
  cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, background .2s;
}
.to-top.on { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); }

/* ---------- 占位图 ---------- */
.img-ph { width: 100%; height: 100%; object-fit: cover; background: #f4f2f0; }

/* ---------- 简单自适应（平板） ---------- */
@media screen and (max-width: 1240px) {
  .wrap { width: 100%; padding: 0 20px; }
  .hero-main, .focus { width: 100%; }
  .hero { flex-direction: column; }
  .hero-side { width: 100%; }
  .list-layout, .article-layout { flex-direction: column; }
  .list-main, .article-main, .list-side, .article-side { width: 100%; }
  .card-grid { flex-wrap: wrap; }
  .card-grid .card { width: 48%; }
  .card-grid .card .pic { height: auto; aspect-ratio: 390 / 238; }
  .cols2 { flex-direction: column; }
  .cols2 .col { width: 100%; }
  .pic-wall { flex-wrap: wrap; }
  .pic-wall li { width: 30%; }
  .pic-wall li .pic { height: auto; aspect-ratio: 227 / 298; }
  .news-list-lg .pic { width: 160px; height: 106px; }
  .footer-top { flex-wrap: wrap; gap: 30px; }
}
