/* ============ 石台文明网 全局样式 ============ */
/* 详情页/栏目页右侧外链专题 */
#side-topic-links .side-topic-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
#side-topic-links .tl-side-img { display: block; }
#side-topic-links .tl-side-img img { width: 100%; height: auto; display: block; border-radius: 4px; }
#side-topic-links .tl-side-txt { display: block; padding: 9px 12px; border-radius: 4px; font-weight: bold; text-align: center; }
:root {
  --main: #b30000;
  --main-dark: #8e0000;
  --main-light: #d84040;
  --accent: #c9a063;
  --bg: #f5f5f5;
  --card: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --line: #e5e5e5;
  --topbar-h: 34px;
  --header-h: 96px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background:
    url("../img/bg_qiupu.jpg") center top / cover no-repeat fixed #f7f5f4;
  line-height: 1.7;
  min-width: 1200px;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--main); }
ul { list-style: none; }
img { border: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; }
.clearfix::after { content: ""; display: block; clear: both; }

/* ============ 顶部条 ============ */
.topbar { background: #f7f5f4; color: #666; height: var(--topbar-h); line-height: var(--topbar-h); font-size: 12px; border-bottom: 1px solid #e8e2df; }
.topbar .container { display: flex; justify-content: space-between; }
.topbar a { color: #666; margin-right: 6px; }
.topbar a:hover { color: var(--main); }
.topbar .left a::after { content: "|"; color: #d5cfcc; margin: 0 10px; }
.topbar .left a:last-child::after { content: ""; margin: 0; }
.topbar .right span { color: #999; }

/* ============ 顶部大图轮播（政协网站风格：多张大图 + 悬浮站名搜索） ============ */
.hero {
  position: relative; height: 600px;
  background: transparent;
}
/* 轮播底部到正文：轻墨晕染（照片已渐隐，此处只留淡淡墨感） */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(18, 24, 30, 0.12) 50%,
    rgba(26, 32, 38, 0.22) 100%);
  pointer-events: none; z-index: 3;
}
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1s ease-in-out;

}
.hero-slide.active { opacity: 1; }
.hero-fade-bottom { display: none; }
.hero-content {
  position: absolute; top: 0; left: 0; right: 0; height: 100%;
  display: flex; align-items: flex-start; justify-content: center;
  z-index: 10; padding: 0 0 0 0;
}
.hero-dots {
  display: none;
}
.hero-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all 0.3s;
}
.hero-dots span.active { background: #fff; width: 28px; border-radius: 6px; }
.hero-dots span:hover { background: #ffd9a0; }
.logo { display: flex; align-items: center; }
.logo-text {
  height: 220px; display: flex; flex-direction: column;
  justify-content: center; gap: 10px;
}
.logo-text { flex-direction: row; align-items: center; gap: 72px; }
.brand-side { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.core-words {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 22px;
  font-size: 26px; letter-spacing: 1px; color: #FFD700; font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.55), 0 0 4px rgba(120, 8, 10, 0.7);
}
.core-words span { display: block; white-space: nowrap; line-height: 1.35; text-align: left; }
.logo-text h1 { margin: 4px 0 0 0; white-space: nowrap; line-height: 1.1; }
.logo-text .sub { margin-top: 0; line-height: 1.1; }
.logo { position: relative; }
.logo::before { display: none; }
.logo-img {
  height: 150px; width: auto; margin-right: 24px; position: relative; z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}
.logo-text h1 {
  color: #C8161D; font-size: 52px; font-weight: 900; letter-spacing: 3px;
  text-shadow:
    #FFD700 -1px -1px 0px, #FFD700 1px -1px 0px, #FFD700 -1px 1px 0px, #FFD700 1px 1px 0px,
    rgba(0,0,0,0.6) -2px -2px 4px, rgba(0,0,0,0.6) 2px 2px 4px;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}
.logo-text .sub {
  color: #C8161D; font-size: 20px; font-weight: 900; letter-spacing: 3px; text-align: center;
  text-shadow:
    #FFD700 -1px -1px 0px, #FFD700 1px -1px 0px, #FFD700 -1px 1px 0px, #FFD700 1px 1px 0px,
    rgba(0,0,0,0.6) -2px -2px 4px, rgba(0,0,0,0.6) 2px 2px 4px;
}
.logo-text .sub em { font-style: normal; color: #8e0000; letter-spacing: 1px; font-weight: 700; }

/* ============ hero 内导航（叠加大图底部，参考政协官网） ============ */
.hero .nav {
  position: absolute; top: 70%; left: 0; right: 0; z-index: 15;
  background: none; box-shadow: none;
}
.hero .nav ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0; padding: 0;
}
.hero .nav li {
  position: relative; flex: 1;
}
.hero .nav li > a {
  display: block; height: 52px; line-height: 52px; font-size: 20px;
  color: #C8161D; font-weight: 900; letter-spacing: 1px; text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  padding: 0 12px; margin: 4px 3px;
  text-shadow:
    #FFD700 -1px -1px 0px, #FFD700 1px -1px 0px, #FFD700 -1px 1px 0px, #FFD700 1px 1px 0px,
    rgba(0,0,0,0.6) -1px -1px 3px, rgba(0,0,0,0.6) 1px 1px 3px;
  transition: all 0.25s ease;
}
.hero .nav li > a:hover {
  background: rgba(255, 255, 255, 0.30);
  border-color: rgba(255, 255, 255, 0.6);
  color: #8e0000;
  transform: translateY(-2px);
}
.hero .nav .dropdown {
  top: 100%; background: transparent;
  border: none !important; border-top: none; border-radius: 0; box-shadow: none;
  padding: 4px 2px; min-width: 160px;
}
.hero .nav .dropdown a {
  display: block; margin: 4px 0; padding: 9px 14px; text-align: center;
  font-size: 17px; color: #C8161D; font-weight: 900;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  text-shadow:
    #FFD700 -1px -1px 0px, #FFD700 1px -1px 0px, #FFD700 -1px 1px 0px, #FFD700 1px 1px 0px,
    rgba(0,0,0,0.6) -1px -1px 3px, rgba(0,0,0,0.6) 1px 1px 3px;
  transition: all 0.2s;
}
.hero .nav .dropdown a:hover {
  background: rgba(255, 255, 255, 0.30);
  border-color: rgba(255, 255, 255, 0.6);
  color: #8e0000;
}

/* ============ 导航（红底白字，参考合肥文明网） ============ */
.nav { background: linear-gradient(#c2261f, #a80f0f); box-shadow: 0 3px 8px rgba(0,0,0,0.12); }
.nav ul { display: flex; }
.nav li { position: relative; }
.nav li > a {
  display: block; padding: 0 30px; height: 50px; line-height: 50px;
  font-size: 16px; color: #fff; font-weight: 600; letter-spacing: 2px;
}
.nav li > a:hover, .nav li.active > a { background: rgba(255,255,255,0.14); }
.nav .arrow { font-size: 10px; margin-left: 3px; color: rgba(255,255,255,0.88); text-shadow: 0 0 3px rgba(0,0,0,0.35); }
.nav .dropdown {
  display: none; position: absolute; top: 50px; left: 0; background: #fff;
  min-width: 150px; box-shadow: 0 6px 16px rgba(0,0,0,0.15); z-index: 100;
  border-top: 2px solid var(--main);
}
.nav li:hover .dropdown { display: block; }
.nav .dropdown a { display: block; padding: 10px 18px; font-size: 14px; color: #444; }
.nav .dropdown a:hover { background: #faf0f0; color: var(--main); }

/* ============ 社会主义核心价值观横幅 ============ */
.core-banner {
  margin: 20px 0 20px; border-radius: 4px; overflow: hidden; line-height: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  text-align: center; opacity: 0.7;
}
.core-banner img { max-width: 100%; height: auto; display: inline-block; }
/* 首页 cols 内间距由 flex gap 统一提供 20px，取消 core-banner 自身 margin 避免 40px 双倍 */
.cols .core-banner { margin: 0; }
.daode-banner {
  margin: 0; border-radius: 10px; overflow: hidden; line-height: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12); text-align: center;
  flex: 0 0 100%; width: 100%; opacity: 0.7;
}
.daode-banner img { width: 100%; height: auto; display: block; }
/* ============ 专题横条（中国红底，参考人大网样式） ============ */
.theme-bar {
  height: 50px; line-height: 50px; text-align: center;
  background: transparent;
}
.hero .theme-bar {
  position: absolute; left: 0; right: 0; top: calc(70% + 62px);
  z-index: 14; pointer-events: none;
}
.hero .theme-bar a { pointer-events: auto; }
.theme-bar::before { display: none; }
.theme-bar a {
  position: relative; color: #1E5AB5; font-size: 24px; font-weight: 900; letter-spacing: 2px;
  text-shadow:
    rgba(255,255,255,0.75) -1px -1px 0px, rgba(255,255,255,0.75) 1px -1px 0px,
    rgba(255,255,255,0.75) -1px 1px 0px, rgba(255,255,255,0.75) 1px 1px 0px;
  display: inline-block; max-width: 78%; vertical-align: middle;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity 0.35s ease;
}
.theme-bar a:hover { color: #123F85; }
.theme-bar a::before {
  content: "头条";
  display: inline-block;
  background: linear-gradient(135deg, #C8161D 0%, #A01015 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  line-height: 1;
  border-radius: 6px;
  margin-right: 18px;
  vertical-align: 2px;
  letter-spacing: 2px;
  box-shadow: 0 2px 4px rgba(192, 22, 29, 0.35);
  text-shadow: none;
}
.theme-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin: 6px auto 0; max-width: 78%; font-size: 16px; line-height: 1.7;
  color: #ffffff; text-align: center; letter-spacing: 0.5px;
  text-shadow: none;
  transition: opacity 0.35s ease;
}
.theme-bar a::after {
  content: "◆"; color: #FFD700; font-size: 14px; vertical-align: 2px; margin: 0 14px;
  text-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* ============ 首页 头条轮播 ============ */
.banner { margin-top: 20px; }
.banner-main {
  position: relative; width: 800px; height: 440px; float: left;
  background: transparent; border-radius: 10px; overflow: hidden;
}
/* 正文侧向 hero 奔赴：照片顶部从水墨色淡入，衔接 hero 渐隐区 */
.banner-main::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(to bottom, rgba(236, 239, 236, 0.92) 0%, rgba(236, 239, 236, 0) 100%);
  z-index: 2; pointer-events: none;
}
.banner-main img { width: 100%; height: 100%; object-fit: cover; }
.banner-main .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  color: #fff; font-size: 18px; font-weight: 600; text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.banner-side { width: 384px; height: 440px; float: right; background: #fff; padding: 14px 16px; }
.banner-side .side-title {
  font-size: 22px; font-weight: 700; color: var(--main); padding-bottom: 10px;
  border-bottom: 2px solid var(--main);
  display: flex; justify-content: space-between; align-items: center;
}
.banner-side .side-title a { font-size: 12px; color: #999; font-weight: 400; }
.banner-side ul { margin-top: 10px; }
.banner-side li {
  padding: 8px 0; border-bottom: 1px dashed var(--line);
  white-space: nowrap; overflow: visible; text-overflow: clip; font-size: 15px;
}
.banner-side li .date { float: right; color: #aaa; font-size: 12px; margin-left: 8px; }

.banner-dots {
  position: absolute; right: 16px; bottom: 14px; z-index: 5;
}
.banner-dots span {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); margin-left: 6px; cursor: pointer;
}
.banner-dots span.active { background: #fff; }

/* ============ 首页板块 ============ */
.section { margin-top: 20px; }

/* 全局透明度：正文区块内图片随 --ga 变淡（默认100=不透明；后台首页配置->全局透明度） */
.section-body img, .article-body img, .hero-wrap img, .lead-img img, .mini-thumb img { opacity: calc(var(--ga,100)/100); }
/* 栏目区第一行区块取消上边距：避免与横幅下方间距叠加（保持上下一致20px） */
.cols .section:first-child { margin-top: 0; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(90deg, var(--main) 0%, var(--main-light) 100%);
  padding: 0 16px; height: 42px;
}
.section-head h2 { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 2px; }
.section-head h2::before { content: ""; display: inline-block; width: 5px; height: 16px; background: #fff; margin-right: 10px; vertical-align: -2px; }
.section-head .more a { color: #f7e0e0; font-size: 13px; }
.section-head .more a:hover { color: #fff; }

.section-body { background: rgba(255,255,255, calc(var(--ga,100)/100)); padding: 14px 16px; border: 1px solid var(--line); border-top: 0; }
.section-body ul li {
  padding: 9px 0; border-bottom: 1px dashed var(--line);
  white-space: nowrap; overflow: visible;
  font-size: var(--home-list-size, 16px);
  font-family: var(--home-list-font, inherit);
  color: var(--home-list-color, #333);
  text-overflow: clip;
}
.section-body ul li:last-child { border-bottom: 0; }
.section-body ul li a { color: var(--home-list-color, #333); }
.section-body li .date { float: right; color: #aaa; font-size: 12px; margin-left: 10px; }

/* 首页/栏目新闻列表装饰符号（中国红小方块），图文混排等特殊版式除外 */
.section-body ul li:not(.thumb-item)::before,
.banner-side ul li::before {
  content: "●";
  color: #C8161D;
  font-size: 11px;
  margin-right: 8px;
  vertical-align: 1px;
}

/* 图文混排（首页配置-列表显示方式=图文混排） */
.section-body .gallery-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.section-body .gallery-list li { list-style: none; }
.section-body ul.gallery-list li::before { content: none; }
.section-body .gallery-list a { position: relative; display: block; width: 100%; padding-bottom: 75%; overflow: hidden; border-radius: 4px; background: #f0ece2; }
.section-body .gallery-list img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.section-body .gallery-list .gallery-title { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; font-size: 12px; line-height: 1.4; padding: 12px 5px 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.section-body ul li.thumb-item {
  display: flex; align-items: center; gap: 12px; white-space: normal;
  padding: 10px 0;
  font-size: var(--home-list-size, 16px);
  font-family: var(--home-list-font, inherit);
}
.section-body ul li.thumb-item .thumb-img {
  flex: 0 0 110px; width: 110px; height: 72px; overflow: hidden;
  border-radius: 3px; border: 1px solid var(--line);
}
.section-body ul li.thumb-item .thumb-img img { width: 110px; height: 72px; object-fit: cover; display: block; }
.section-body ul li.thumb-item .thumb-img img[style*="display: none"] { display: none !important; }
.section-body ul li.thumb-item .no-img {
  display: flex; width: 110px; height: 72px; background: #f0ece2;
  color: #b3a98c; align-items: center; justify-content: center; font-size: 24px;
}
.section-body ul li.thumb-item .thumb-info { flex: 1; min-width: 0; }
.section-body ul li.thumb-item .thumb-title {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: var(--home-list-color, #333);
}
.section-body ul li.thumb-item .date { float: none; display: block; margin: 5px 0 0; color: #aaa; font-size: 12px; }
.section-body ul li.thumb-item .thumb-desc {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  margin-top: 4px; color: #888; font-size: 13px; line-height: 1.6;
}

/* 外链专题横幅（首页文明创建下方右侧，宽260，粉红透明底+红字，无标题栏） */
.topic-links { padding: 0 2px; }
.topic-links-list { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-links-bar { width: 100%; margin-top: 20px; }
.topic-links-bar .topic-link { flex: 0 0 calc(25% - 8px); max-width: none; width: auto; }
.topic-links-bar .topic-link-img { flex: 0 0 auto; padding: 0; border: 0; background: transparent; display: block; line-height: 0; }
.topic-links-bar .topic-link-img img { display: block; width: auto; height: auto; max-width: 100%; max-height: 58px; object-fit: contain; border-radius: 4px; }
.topic-link {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 260px; height: 58.5px;
  background: rgba(255, 255, 255, 0.5);
  color: #C8161D; font-size: 17px; font-weight: 700; letter-spacing: 1px;
  border: 1px solid rgba(200, 22, 29, 0.4);
  border-radius: 6px; text-align: center; line-height: 1.4; padding: 0 8px;
  transition: all .2s;
}
.topic-link:hover { background: rgba(255, 255, 255, 0.75); border-color: rgba(200, 22, 29, 0.7); }

/* 正文底部：外链专题整行（左 2 栏目各占余宽 1/2 + 右外链专题 265，三者等高） */
.bottom-bar { display: flex; gap: 20px; align-items: stretch; width: 100%; max-width: 1200px; margin: 0; }
.bottom-cols { flex: 1; min-width: 0; display: flex; gap: 14px; align-items: stretch; }
.bottom-cols .section { flex: 1; min-width: 0; display: flex; flex-direction: column; margin-top: 0; }
.bottom-cols #col-7 { flex: 1 1 33.333%; max-width: 33.333%; }
.bottom-cols #col-8 { flex: 1 1 66.666%; }
.bottom-cols .section .section-body { flex: 1; }
.bottom-topic { flex: 0 0 265px; width: 265px; min-width: 0; display: flex; align-items: stretch; }
.bottom-topic .topic-links { width: 100%; padding: 0 2px; }

/* 大图头条 + 右列表（hero） */
.section-body .stack-wrap { display: flex; gap: 14px; }
.section-body .stack-col { flex: 1; min-width: 0; }
.section-body .stack-col.stack-main { flex: 0 0 55%; }
.section-body .stack-head { color: #c62828; font-size: 16px; font-weight: 700; border-bottom: 2px solid #c62828; padding-bottom: 6px; margin-bottom: 8px; }
.section-body .stack-img { position: relative; display: block; width: 100%; height: 170px; overflow: hidden; border-radius: 4px; }
.section-body .stack-img img { width: 100%; height: 170px; object-fit: cover; display: block; }
.section-body .stack-img .stack-img-title { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.80)); color: #fff; font-size: 15px; font-weight: bold; line-height: 1.4; padding: 24px 8px 5px; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 6px rgba(0,0,0,.55); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.section-body .stack-list { margin-top: 6px; }
.section-body .stack-list li { padding: 6px 0; border-bottom: 1px dashed #eee; list-style: none; }
.section-body .stack-list li:last-child { border-bottom: 0; }
.section-body .stack-list li a { color: var(--home-list-color, #333); }
.section-body .stack-list li .date { float: right; color: #aaa; font-size: 12px; margin-left: 10px; }
/* 首页专题专栏区块（整行卡片 / 列表） */
.topic-home { display: flex; flex-wrap: wrap; gap: 14px; }
/* 左右滚动模式：容器隐藏溢出，内部两份内容无缝循环平移 */
.topic-scroll-wrap { overflow: hidden; flex-wrap: nowrap; }
.topic-scroll-inner { display: flex; gap: 14px; width: max-content; align-items: stretch; }
.topic-scroll-inner .topic-home-card { flex: 0 0 280px; max-width: 280px; }
.topic-scroll-inner .topic-home-list { display: flex; gap: 40px; padding: 4px 0; }
.topic-scroll-inner .topic-home-list li { border-bottom: 0; flex: 0 0 auto; }
.topic-home-card { flex: 1; min-width: 210px; max-width: 280px; display: block; background: rgba(255,255,255,0.45); border: 1px solid rgba(198,40,40,0.18); border-radius: 8px; overflow: hidden; transition: all .2s; }
.topic-home-card:hover { border-color: #c62828; box-shadow: 0 2px 8px rgba(198,40,40,0.15); }
.topic-home-card .th-cover { position: relative; display: block; width: 100%; height: 150px; overflow: hidden; }
.topic-home-card .th-cover img { width: 100%; height: 150px; object-fit: cover; display: block; }
.topic-home-card .th-cover .th-noimg { display: flex; width: 100%; height: 150px; background: #f0ece2; color: #b3a98c; align-items: center; justify-content: center; font-size: 42px; }
.topic-home-card .th-name { display: block; padding: 9px 10px 2px; font-size: 16px; font-weight: 700; color: #c62828; white-space: nowrap; overflow: visible; text-overflow: clip; }
.topic-home-card .th-count { display: inline; margin-left: 5px; font-size: 12px; color: #999; font-weight: 400; font-style: normal; }
.topic-home-card .th-name { padding-bottom: 9px; }
.topic-home-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); list-style: none; white-space: nowrap; overflow: visible; text-overflow: clip; font-size: 16px; }
.topic-home-list li:last-child { border-bottom: 0; }
.topic-home-list li a { color: #c62828; }
.section-body .topimg-wrap { }
.section-body .topimg-main { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 4px; }
.section-body .topimg-main img { width: 100%; height: 240px; object-fit: cover; display: block; }
.section-body .topimg-noimg { display: flex; width: 100%; height: 240px; background: #f0ece2; color: #b3a98c; align-items: center; justify-content: center; font-size: 40px; }
.section-body .topimg-title { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.80)); color: #fff; font-size: 18px; font-weight: bold; line-height: 1.5; padding: 30px 12px 8px; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 6px rgba(0,0,0,.55); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pic-topic-row { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pic-topic-row.pic-topic-full { gap: 14px; margin-top: 0; padding-top: 0; width: 100%; border-top: 0; }
.pic-topic-row.pic-topic-full .pic-topic-item {
  flex: 0 0 calc((100% - 98px) / 8);
  background: rgba(255,255,255,0.7); border: 1px solid rgba(198,40,40,0.18);
  border-radius: 8px; padding: 8px;
}
.pic-topic-row.pic-topic-full .pic-topic-item img { height: auto; aspect-ratio: 4 / 3; border-radius: 4px; }
.pic-topic-row .pic-topic-item { flex: 0 0 calc((100% - 56px) / 8); display: block; min-width: 0; }
.pic-topic-row .pic-topic-item img { width: 100%; height: 66px; object-fit: cover; border-radius: 4px; display: block; background: #f0ece2; }
.pic-topic-row .pic-topic-item span { display: block; margin-top: 5px; font-size: 12px; color: #333; white-space: nowrap; overflow: visible; text-overflow: clip; text-align: center; }
.section-body .topimg-list { margin-top: 8px; }
.section-body .topimg-list li {
  padding: 8px 0; border-bottom: 1px dashed var(--line);
  white-space: nowrap; overflow: visible; text-overflow: clip;
  font-size: var(--home-list-size, 16px);
  font-family: var(--home-list-font, inherit);
  color: var(--home-list-color, #333);
}
.section-body .topimg-list li:last-child { border-bottom: 0; }
.section-body .topimg-list li a { color: var(--home-list-color, #333); }
.section-body .topimg-list li .date { float: right; color: #aaa; font-size: 12px; margin-left: 10px; }
.section-body .hero-wrap { display: flex; gap: 16px; align-items: stretch; }
.section-body .hero-imgs { display: flex; flex-direction: column; gap: 10px; flex: 0 0 150px; min-width: 0; }
.section-body .hero-main { position: relative; display: block; overflow: hidden; border-radius: 4px; }
.section-body .hero-main img { height: 210px; aspect-ratio: 25 / 36; width: auto; object-fit: cover; display: block; }
.section-body .hero-noimg { display: flex; width: 146px; height: 210px; background: #f0ece2; color: #b3a98c; align-items: center; justify-content: center; font-size: 30px; }
.section-body .hero-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.80));
  color: #fff; font-size: 15px; font-weight: bold; line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 6px rgba(0,0,0,.55);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.section-body .hero-list { flex: 1; min-width: 0; }
.section-body .hero-list li {
  padding: 8px 0; border-bottom: 1px dashed var(--line);
  white-space: nowrap; overflow: visible; text-overflow: clip;
  font-size: var(--home-list-size, 16px);
  font-family: var(--home-list-font, inherit);
  color: var(--home-list-color, #333);
}
.section-body .hero-list li:last-child { border-bottom: 0; }
.section-body .hero-list li a { color: var(--home-list-color, #333); }
.section-body .hero-list li .date { float: right; color: #aaa; font-size: 12px; margin-left: 10px; }

/* 左图 + 右上简介 + 右下列表（lead） */
.section-body .lead-wrap { display: flex; flex-wrap: wrap; gap: 14px; }
.section-body .lead-img { flex: 0 0 150px; width: 150px; display: block; }
.section-body .lead-img img { width: 150px; height: 100px; object-fit: cover; border-radius: 4px; display: block; }
.section-body .lead-noimg { display: flex; width: 150px; height: 100px; background: #f0ece2; color: #b3a98c; align-items: center; justify-content: center; font-size: 28px; border-radius: 4px; }
.section-body .lead-main { flex: 1; min-width: 0; }
.section-body .lead-title {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 16px; font-weight: 700; color: var(--home-list-color, #333);
}
.section-body .lead-main .date { float: none; display: block; margin: 3px 0 0; }
.section-body .lead-desc {
  margin: 6px 0 0; color: #777; font-size: 13px; line-height: 1.6;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.section-body .lead-list { width: 100%; }
.section-body .lead-list li {
  padding: 8px 0; border-bottom: 1px dashed var(--line);
  white-space: nowrap; overflow: visible; text-overflow: clip;
  font-size: var(--home-list-size, 16px);
  font-family: var(--home-list-font, inherit);
  color: var(--home-list-color, #333);
}
.section-body .lead-list li:last-child { border-bottom: 0; }
.section-body .lead-list li a { color: var(--home-list-color, #333); }
.section-body .lead-list li .date { float: right; color: #aaa; font-size: 12px; margin-left: 10px; }

/* 小图 + 右列表（mini） */
.section-body .mini-wrap { display: flex; gap: 14px; }
.section-body .mini-thumbs { flex: 0 0 160px; width: 160px; display: flex; flex-direction: column; gap: 8px; }
.section-body .mini-thumb { position: relative; width: 160px; height: 90px; display: block; overflow: hidden; border-radius: 4px; }
.section-body .mini-thumb img { width: 160px; height: 90px; object-fit: cover; display: block; }
.section-body .mini-thumb .mini-thumb-title { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; font-size: 12px; line-height: 1.4; padding: 12px 5px 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.section-body .mini-list { flex: 1; min-width: 0; }
.section-body .mini-list li {
  padding: 8px 0; border-bottom: 1px dashed var(--line);
  white-space: nowrap; overflow: visible; text-overflow: clip;
  font-size: var(--home-list-size, 16px);
  font-family: var(--home-list-font, inherit);
  color: var(--home-list-color, #333);
}
.section-body .mini-list li:last-child { border-bottom: 0; }
.section-body .mini-list li a { color: var(--home-list-color, #333); }
.section-body .mini-list li .date { float: right; color: #aaa; font-size: 12px; margin-left: 10px; }

/* 图片列表 */
.img-list { display: flex; flex-wrap: wrap; gap: 14px; }
.img-list .item { width: 180px; }
.img-list .item img { width: 180px; height: 120px; object-fit: cover; border-radius: 3px; display: block; }
.img-list .item p { margin-top: 6px; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 两栏布局 */
.cols { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.home-3col { display: flex; flex-wrap: wrap; gap: 20px; flex: 0 0 100%; width: 100%; }
.home-3col .section { flex: 0 0 calc((100% - 40px) / 3); margin-top: 0; min-width: 0; display: flex; flex-direction: column; }
.home-3col .section-body { flex: 1; }
#home-full { flex: 0 0 100%; }
/* 堆叠模式（整行通栏，参考淮南文明网文明创建模块） */
.section-body .stack-wrap { display: flex; gap: 14px; }
/* 最左：激活栏目标签组（横向排列，标签高度自适应=中间列高度，竖排文字垂直居中） */
.section-body .stack-vtitles { display: flex; flex-direction: row; gap: 10px; flex: 0 0 auto; }
.section-body .stack-vtitle { writing-mode: vertical-rl; font-size: 18px; font-weight: 700; color: #c62828; letter-spacing: 3px; padding: 14px 8px; background: rgba(198,40,40,0.08); border-radius: 4px; cursor: pointer; transition: all .2s; white-space: nowrap; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.section-body .stack-vtitle.active { background: #c62828; color: #fff; }
/* 中间：大图在左 + 红色圆点列表在右 */
.section-body .stack-mid { flex: 1; min-width: 0; display: flex; gap: 14px; }
.section-body .stack-img { position: relative; display: block; flex: 0 0 44%; min-width: 0; height: 300px; overflow: hidden; border-radius: 4px; }
.section-body .stack-img img { width: 100%; height: 300px; object-fit: cover; display: block; }
.section-body .stack-noimg { display: flex; width: 100%; height: 300px; background: #f0ece2; color: #b3a98c; align-items: center; justify-content: center; font-size: 40px; }
.section-body .stack-img .stack-img-title { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,0.80)); color: #fff; font-size: 16px; font-weight: bold; line-height: 1.4; padding: 26px 10px 6px; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 6px rgba(0,0,0,.55); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.section-body .stack-list { flex: 1; min-width: 0; }
.section-body .stack-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); list-style: none; white-space: nowrap; overflow: visible; text-overflow: clip; font-size: var(--home-list-size, 16px); font-family: var(--home-list-font, inherit); color: var(--home-list-color, #333); }
.section-body .stack-list li:last-child { border-bottom: 0; }
.section-body .stack-list li a { color: var(--home-list-color, #333); }
.section-body .stack-list li .date { float: right; color: #aaa; font-size: 12px; margin-left: 10px; }
/* 最右：未激活子栏目竖排标签（与左侧标签样式完全一致，高度自适应=中间列高度） */
.section-body .stack-vtabs { display: flex; gap: 10px; flex: 0 0 auto; }
.section-body .stack-vtab { writing-mode: vertical-rl; cursor: pointer; font-size: 18px; font-weight: 700; color: #c62828; letter-spacing: 3px; padding: 14px 8px; background: rgba(198,40,40,0.08); border-radius: 4px; transition: all .2s; white-space: nowrap; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.section-body .stack-vtab:hover { background: #c62828; color: #fff; }
.section-body .stack-vtab.active { background: #c62828; color: #fff; }

/* ============ 列表页 ============ */
.page-wrap { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 20px; }
.page-wrap .core-banner { flex: 0 0 100%; margin-bottom: 4px; }
.page-main { flex: 1; background: #fff; border: 1px solid var(--line); min-height: 500px; }
.page-side { width: 280px; }

.crumb {
  padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: #888;
}
.crumb a { color: #555; }
.crumb a:hover { color: var(--main); }

.list-title { padding: 18px 18px 0; font-size: 18px; color: var(--main); font-weight: 700; }
.list-ul { padding: 10px 18px; }
.list-ul li {
  padding: 13px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 14px;
}
.list-ul li:last-child { border-bottom: 0; }
.list-ul .thumb { width: 150px; height: 100px; flex-shrink: 0; }
.list-ul .thumb img { width: 150px; height: 100px; object-fit: cover; border-radius: 3px; }
.list-ul .info { flex: 1; min-width: 0; }
.list-ul .info h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.list-ul .info h3 a:hover { color: var(--main); }
.list-ul .info .desc {
  font-size: 13px; color: #777; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 6px;
}
.list-ul .info .meta { font-size: 12px; color: #aaa; }
.list-ul .info .meta .tag {
  display: inline-block; background: #f8ecec; color: var(--main); padding: 0 6px;
  border-radius: 2px; margin-right: 6px; font-size: 12px;
}

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 24px 0; }
.pagination a, .pagination span {
  display: inline-block; min-width: 32px; height: 32px; line-height: 32px; text-align: center;
  border: 1px solid var(--line); background: #fff; color: #555; padding: 0 10px; font-size: 13px;
}
.pagination a:hover { border-color: var(--main); color: var(--main); }
.pagination .current { background: var(--main); color: #fff; border-color: var(--main); }
.pagination .disabled { color: #ccc; }

/* ============ 详情页 ============ */
.article-detail { padding: 24px 32px; }
.article-detail h1 { font-size: 24px; text-align: center; margin-bottom: 14px; line-height: 1.4; }
.article-meta {
  text-align: center; color: #888; font-size: 13px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.article-meta span { margin: 0 12px; }
.article-body { font-size: 16px; line-height: 1.7; color: #2f2f2f; }
.article-body p { margin-bottom: 16px; text-indent: 2em; }
.article-body img { max-width: 100%; height: auto; display: block; margin: 12px auto; }
.article-body h2, .article-body h3 { color: var(--main-dark); margin: 18px 0 10px; }
.article-body a { color: var(--main); }
.prev-next { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; }
.prev-next p { padding: 4px 0; }
.prev-next .np-title { color: var(--main); font-weight: 600; }

/* ============ 侧边栏 ============ */
.side-box { background: #fff; border: 1px solid var(--line); margin-bottom: 16px; }
.side-box .side-title {
  padding: 12px 16px; font-size: 16px; font-weight: 700; color: var(--main);
  border-bottom: 2px solid var(--main);
}
.side-box ul { padding: 14px 16px; }
.side-box li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.side-box li:last-child { border-bottom: 0; }

/* ============ 搜索页 ============ */
.search-form { background: #fff; border: 1px solid var(--line); padding: 24px; margin-top: 20px; display: flex; justify-content: center; gap: 8px; }
.search-form input { width: 420px; height: 40px; border: 2px solid var(--main); padding: 0 14px; font-size: 14px; outline: 0; }
.search-form button { background: var(--main); color: #fff; border: 0; padding: 0 28px; font-size: 15px; cursor: pointer; }
.search-result { background: #fff; border: 1px solid var(--line); margin-top: 20px; padding: 18px; }
.search-result h3 { font-size: 15px; font-weight: 600; }
.search-result .hit { color: var(--main); }

/* ============ 友情链接 ============ */
.friendlink { background: #fff; border: 1px solid var(--line); margin-top: 20px; padding: 14px 16px; }
.friendlink .fl-title { font-size: 15px; font-weight: 700; color: var(--main); margin-bottom: 10px; border-left: 4px solid var(--main); padding-left: 10px; }
.friendlink a { display: inline-block; margin: 4px 18px 4px 0; color: #666; font-size: 13px; }
.friendlink a:hover { color: var(--main); }

/* ============ 页脚 ============ */
.footer {
  background: linear-gradient(135deg, #C8161D 0%, #A01015 55%, #7B0000 100%);
  color: #ffe3e3; margin-top: 30px; padding: 26px 0 30px; font-size: 13px; text-align: center;
  border-top: 3px solid #FFD700;
  box-shadow: 0 -2px 12px rgba(120, 8, 10, 0.35);
}
.footer a { color: #ffe3e3; margin: 0 4px; }
.footer a:hover { color: #fff; text-shadow: 0 0 6px rgba(255, 215, 0, 0.7); }
.footer .links {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  row-gap: 8px; margin-bottom: 12px; padding: 0 10px;
}
.footer .links .fl-label {
  color: #fff; font-weight: 700; font-size: 14px; margin-right: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .15); letter-spacing: 1px;
  white-space: nowrap;
}
.footer .links a { margin: 0 10px; white-space: nowrap; }
.footer .links a::after { content: "·"; color: rgba(255, 255, 255, 0.35); margin-left: 20px; }
.footer .links a:last-child::after { content: ""; }
.footer .copy { color: #f6cdcd; }
.footer .copy a { color: #f6cdcd; }
.footer .beian { margin-top: 8px; font-size: 13px; }
.footer .beian a { color: #f2bcbc; margin: 0 4px; }
.footer .beian a:hover { color: #fff; }
.footer .org { color: #f2bcbc; margin-top: 6px; font-size: 12px; }

/* ============ 空状态 ============ */
.empty { text-align: center; color: #999; padding: 60px 0; font-size: 14px; }
/* 详情页右下角返回首页按钮 */
.back-home {
  position: fixed; right: 28px; bottom: 44px; z-index: 99;
  display: block; padding: 12px 22px;
  background: linear-gradient(135deg, #c8102e, #e63946);
  color: #fff; font-size: 15px; font-weight: 700;
  border-radius: 24px; box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
  text-decoration: none; letter-spacing: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.back-home:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(200, 16, 46, 0.5); color: #fff; }

/* ============ 响应式（手机端适配） ============ */
@media (max-width: 768px) {
  body { min-width: 0; }
  .container { width: 100%; padding: 0 12px; box-sizing: border-box; }
  .topbar { display: none; }

  /* 顶部大图 + 悬浮 LOGO/导航 */
  .hero { height: 340px; }
  .hero-content { padding-top: 6px; align-items: flex-start; }
  .logo { flex-direction: column; gap: 0; }
  .logo-img { height: 62px; margin: 0; }
  .logo-text { flex-direction: column; gap: 2px; height: auto; }
  .brand-side { gap: 2px; }
  .logo-text h1 { font-size: 24px; letter-spacing: 1px; margin: 0; }
  .logo-text .sub { font-size: 12px; letter-spacing: 1px; }
  .core-words { font-size: 11px; gap: 2px; margin-top: 2px; letter-spacing: 0.5px; }
  .hero .nav { top: auto; bottom: 8px; }
  .hero .nav ul { flex-wrap: wrap; justify-content: center; }
  .hero .nav li { flex: 0 0 auto; }
  .hero .nav li > a { height: 30px; line-height: 30px; font-size: 13px; letter-spacing: 0.5px; padding: 0 9px; margin: 2px 2px; border-radius: 8px; }
  .hero .nav .dropdown { min-width: 110px; }
  .hero .nav .dropdown a { font-size: 13px; padding: 7px 10px; }
  .hero .theme-bar { top: auto; bottom: 74px; line-height: 1.3; }
  .hero .theme-bar a { font-size: 13px; letter-spacing: 0.5px; max-width: 94%; }
  .theme-bar a::before { font-size: 11px; padding: 5px 10px; margin-right: 8px; vertical-align: 1px; }
  .theme-desc { font-size: 12px; max-width: 94%; margin-top: 3px; }

  /* 下拉：点击展开（hover 在触屏无效） */
  .hero .nav .dropdown, .nav .dropdown { display: none; }
  .hero .nav li.open > .dropdown, .nav li.open > .dropdown { display: block; }

  /* 正文轮播 + 侧栏 */
  .banner { margin-top: 12px; }
  .banner-main { width: 100%; height: 260px; float: none; }
  .banner-side { display: none; }

  /* 两栏变单栏 */
  .cols { display: block; }
  .home-3col .section { flex: 0 0 100%; }

  /* 横幅 */
  .core-banner, .daode-banner { margin: 12px 0; }

  /* 首页区块 flex 模式窄屏化 */
  .section-body .hero-wrap, .section-body .lead-wrap, .section-body .mini-wrap, .section-body .stack-wrap { flex-wrap: wrap; }
  .section-body .hero-main { flex: 0 0 100%; width: 100%; }
  .section-body .hero-main img, .section-body .hero-noimg { width: 100%; aspect-ratio: 25 / 36; height: auto; }
  .section-body .lead-img { flex: 0 0 110px; width: 110px; }
  .section-body .lead-img img, .section-body .lead-noimg { width: 110px; height: 76px; }
  .section-body .mini-thumbs { flex: 0 0 120px; width: 120px; }
  .section-body .mini-thumb, .section-body .mini-thumb img { width: 120px; height: 74px; }
  .topic-home { gap: 8px; }
  .topic-home-card { min-width: 0; max-width: 100%; flex: 0 0 calc(50% - 8px); }
  .topic-home-card .th-cover, .topic-home-card .th-cover img, .topic-home-card .th-cover .th-noimg { height: 110px; }
  .topic-home-card .th-name { font-size: 14px; padding: 6px 8px 0; }
  .topic-home-card .th-count { font-size: 11px; }
  .section-body .stack-wrap { flex-direction: column; }
  .section-body .stack-vtitles { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .section-body .stack-vtitle, .section-body .stack-vtab { writing-mode: horizontal-tb; letter-spacing: 0; font-size: 15px; font-weight: 700; padding: 6px 12px; align-self: auto; }
  .section-body .stack-mid { width: 100%; max-width: 100%; flex-direction: column; gap: 8px; }
  .section-body .stack-img { flex: 0 0 auto; width: 100%; }
  .section-body .stack-vtabs { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .section-body .stack-img, .section-body .stack-img img, .section-body .stack-noimg { height: 180px; max-width: 100%; }
  .section-body .topimg-main img, .section-body .topimg-noimg { height: 180px; }
  .pic-topic-row { flex-wrap: wrap; }
  .pic-topic-row .pic-topic-item { flex: 0 0 calc((100% - 24px) / 4); }
  .pic-topic-row .pic-topic-item img { height: 70px; }
  .pic-topic-row.pic-topic-full .pic-topic-item { flex: 0 0 calc((100% - 24px) / 4); }
  .pic-topic-row.pic-topic-full .pic-topic-item img { height: auto; aspect-ratio: 4 / 3; }
  .section-body .gallery-list { grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); gap: 8px; }

  /* 详情页 / 栏目页 */
  .page-wrap { flex-direction: column; }
  .page-main { min-height: 0; }
  .page-side { display: none; }
  .crumb { font-size: 12px; white-space: nowrap; overflow: visible; text-overflow: clip; }
  .article-detail img { max-width: 100% !important; height: auto !important; }

  /* 搜索 */
  .search-form { flex-wrap: wrap; padding: 16px 12px; }
  .search-form input { width: 100%; box-sizing: border-box; }

  /* 页脚 */
  .footer .links { flex-wrap: wrap; }
  .footer .links a { margin: 2px 6px; }
}
/* ============ 正文卡片：14%透明白底（无模糊，背景图清晰透出） ============ */
.section-body, .banner-side, .page-main, .side-box,
.search-form, .search-result, .friendlink {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
}/* ============ 下拉容器强制透明（无白底无红边） ============ */
.hero .nav .dropdown,
.nav .dropdown {
  background: transparent !important;
  border-top: none !important;
  border: none !important;
  box-shadow: none !important;
}
/* ============ 专题专栏页 ============ */
.page-title-bar {
  margin: 20px 0 16px; padding: 12px 18px; border-left: 5px solid #C8161D;
  background: rgba(255, 255, 255, 0.85); border-radius: 6px;
  font-size: 20px; font-weight: 700; color: #333;
}
.topic-list { display: flex; flex-direction: column; gap: 18px; }
.topic-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px; padding: 18px 20px;
}
.topic-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid #C8161D; padding-bottom: 10px; margin-bottom: 12px; }
.topic-title { font-size: 20px; font-weight: 800; color: #C8161D; }
.topic-count { font-size: 12px; color: #999; }
.topic-more { margin-left: auto; font-size: 13px; color: #C8161D; }
.topic-body { display: flex; gap: 18px; }
.topic-cover { flex: 0 0 280px; width: 280px; height: 170px; overflow: hidden; border-radius: 6px; }
.topic-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.topic-side { flex: 1; min-width: 0; }
.topic-subs { margin-bottom: 6px; }
.topic-subs a {
  display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px;
  background: rgba(200, 22, 29, 0.08); color: #C8161D; border: 1px solid rgba(200, 22, 29, 0.3);
  border-radius: 14px; font-size: 13px;
}
.topic-news { margin-top: 4px; }
.topic-news li {
  padding: 7px 0; border-bottom: 1px dashed #eee;
  white-space: nowrap; overflow: visible; text-overflow: clip; font-size: 15px;
}
.topic-news li:last-child { border-bottom: 0; }
.topic-news li a { color: #333; }
.topic-news li .date { float: right; color: #aaa; font-size: 12px; margin-left: 10px; }
.topic-empty { text-align: center; color: #999; padding: 60px 0; background: rgba(255,255,255,0.8); border-radius: 10px; }

/* ============ 在线投稿页 ============ */
.submit-wrap {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px; padding: 24px 28px; margin-bottom: 20px;
}
.submit-tip { color: #888; font-size: 14px; margin-bottom: 18px; }
.submit-tip em { color: #C8161D; font-style: normal; }
.form-row { margin-bottom: 16px; }
.form-row.two { display: flex; gap: 16px; }
.form-half { flex: 1; }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; color: #444; }
.form-label em { color: #C8161D; font-style: normal; }
.form-input {
  width: 100%; box-sizing: border-box; height: 42px; padding: 0 12px;
  border: 1px solid #ccc; border-radius: 6px; font-size: 14px; outline: 0;
}
.form-input:focus { border-color: #C8161D; }
select.form-input { background: #fff; }
.form-area { height: auto; min-height: 120px; padding: 10px 12px; line-height: 1.7; font-family: inherit; resize: vertical; }
.upload-line { display: flex; align-items: center; gap: 12px; }
.btn-upload { padding: 8px 20px; border: 1px solid #C8161D; background: #fff; color: #C8161D; border-radius: 6px; cursor: pointer; }
.btn-upload:hover { background: #fdf0f0; }
.upload-hint { color: #999; font-size: 12px; }
.upload-list { margin-top: 8px; }
.up-item { display: inline-flex; align-items: center; gap: 6px; margin: 4px 8px 0 0; padding: 4px 10px; background: #f5f5f5; border-radius: 4px; font-size: 12px; color: #555; }
.up-del { cursor: pointer; color: #C8161D; font-weight: 700; }
.form-actions { display: flex; gap: 12px; margin-top: 20px; }
.btn-submit { padding: 11px 40px; background: linear-gradient(#c2261f, #a80f0f); color: #fff; border: 0; border-radius: 6px; font-size: 15px; cursor: pointer; }
.btn-submit:hover { opacity: 0.9; }
.btn-submit:disabled { opacity: 0.6; cursor: default; }
.btn-reset { padding: 10px 30px; background: #fff; color: #666; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; cursor: pointer; }
.submit-msg { margin-top: 16px; font-size: 14px; }
.submit-msg.ok { color: #1e7e34; }
.submit-msg.err { color: #C8161D; }

@media (max-width: 768px) {
  .topic-body { flex-direction: column; }
  .topic-cover { flex: 0 0 auto; width: 100%; height: 190px; }
  .form-row.two { flex-direction: column; }
}

/* 悬停修复：列表链接 hover 变主题红（覆盖 .section-body ul li a 等更高特异性规则） */
.section-body ul li a:hover,
.section-body .hero-list li a:hover,
.section-body .topimg-list li a:hover,
.section-body .lead-list li a:hover,
.section-body .thumb-title:hover,
.section-body .lead-title:hover,
.section-body .hero-title:hover,
.section-body .topimg-title:hover,
.section-body .gallery-list a:hover .gallery-title,
.section-body .mini-thumb:hover .mini-thumb-title,
.banner-side .side-news a:hover,
.footer-links a:hover,
.cols a:hover { color: var(--main) !important; }
/* 图片标题（渐变深底上的白字）hover 用亮红，深底上更清晰 */
.section-body .hero-title:hover,
.section-body .topimg-title:hover,
.section-body .lead-title:hover,
.section-body .mini-thumb:hover .mini-thumb-title,
.section-body .gallery-list a:hover .gallery-title { color: var(--main-light) !important; }

/* ===== hover 补全与放大（20261114） ===== */
/* 过渡 */
.section-body a, .banner-side a, .topic-link, .pic-topic-item, .topic-home-card,
.hero-main img, .topimg-main img, .lead-img img, .thumb-img img, .th-cover img {
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
/* 聚焦石台侧栏：修正选择器（ul 只有 id=side-news，无 class） */
.banner-side #side-news a:hover { color: var(--main) !important; }
/* 外链专题：行内背景压过 CSS 背景，hover 需 !important 并放大 */
.topic-link:hover { background: rgba(255, 255, 255, 0.85) !important; border-color: rgba(200, 22, 29, 0.85) !important; transform: scale(1.04); }
/* 文字列表/侧栏：悬停放大一点 */
.section-body a:hover, .banner-side a:hover { transform: scale(1.02); }
/* 图片卡片/大图：整卡放大（图片专题）或内部图放大（大图头条/上图下文/图文简介/小图/专题卡） */
.pic-topic-item:hover { transform: scale(1.03); }
.topic-home-card:hover { transform: scale(1.02); }
.hero-main:hover img, .topimg-main:hover img, .lead-img:hover img { transform: scale(1.05); }
.thumb-img:hover img, .th-cover:hover img { transform: scale(1.05); }
/* 专题滚动卡片文字居中 */
.topic-scroll-inner .th-name, .topic-scroll-inner .th-count { text-align: center; }

/* 列表文字：inline-block + 自身单行截断（长标题显示…，短标题完整）；hover 放大且完整显示 */
.section-body ul li a,
.section-body .hero-list li a,
.section-body .topimg-list li a,
.section-body .lead-list li a,
.section-body .lead-title,
.banner-side #side-news a,
.footer-links a {
  display: inline-block; max-width: calc(100% - 94px); vertical-align: top;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.section-body ul li a:hover,
.section-body .hero-list li a:hover,
.section-body .topimg-list li a:hover,
.section-body .lead-list li a:hover,
.section-body .lead-title:hover,
.banner-side #side-news a:hover,
.footer-links a:hover { overflow: visible; }
