/* 首页模块样式 — 对齐参考站 main.asp / style.css */

.header-index {
  height: 80px;
  background: linear-gradient(to right, #ff6348, #ff3956);
}

.header-index .logo {
  height: 100%;
}

.header-index .logo img {
  height: 100%;
  width: auto;
  display: block;
}

@media screen and (max-width: 750px) {
  .header-index {
    height: 48px;
  }
}

/* 参考站 main.asp：nav1 图标外链 + zxgg 滚动公告 */
.h10 {
  height: 8px;
  font-size: 0;
  line-height: 0;
  clear: both;
  background: #eee;
}

.h12 {
  height: 10px;
  font-size: 0;
  line-height: 0;
  clear: both;
  background: #eee;
}

.box.nav1 {
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  box-shadow: none;
  margin-bottom: 0;
  border-radius: 0;
}

.box.nav1 ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

.box.nav1 ul li {
  width: 25%;
  padding: 10px 0;
  box-sizing: border-box;
}

.box.nav1 ul li a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.box.nav1 ul li img {
  width: 60px;
  height: 60px;
  display: inline-block;
  vertical-align: middle;
}

.box.nav1 ul li p {
  margin: 0;
  padding-top: 5px;
}

.box.zxgg {
  display: flex;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
  font-size: 14px;
  color: #fff;
  background: #ff3956;
  box-shadow: none;
  margin-bottom: 5px;
  border-radius: 0;
}

.box.zxgg > div {
  color: #ff0;
  font-weight: bold;
  flex-shrink: 0;
  white-space: nowrap;
}

.box.zxgg marquee {
  flex: 1;
  min-width: 0;
}

@media screen and (max-width: 750px) {
  .h10 {
    height: 6px;
  }

  .h12 {
    height: 8px;
  }

  .box.nav1 {
    padding: 5px 0;
    font-size: 12px;
  }

  .box.nav1 ul li {
    padding: 5px 0;
  }

  .box.nav1 ul li img {
    width: 40px;
    height: 40px;
  }

  .box.zxgg {
    height: 32px;
    line-height: 32px;
    font-size: 12px;
  }
}

.box {
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(180, 180, 180, 0.7);
  background-color: #fff;
  margin-bottom: 5px;
}

.box.pad {
  padding: 0;
}

#sxzt3 {
  padding: 0;
  line-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

#sxzt3 iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  vertical-align: top;
}

/* 永久网址表 yjwz — 对齐源站 main.asp */
.yjwz {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: #049c94;
}

.yjwz table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}

.yjwz td {
  padding: 4px 2px;
}

.yjwz td.yjwz-head {
  background: #f8f0d8;
}

.yjwz td.yjwz-head,
.yjwz a {
  color: #f00;
}

.yjwz a,
.yjwz a:link,
.yjwz a:visited,
.yjwz a:hover,
.yjwz a:active {
  text-decoration: none;
}

.yjwz a:hover {
  left: 0;
  top: 0;
}

.yjwz img.yjwz-zu {
  vertical-align: middle;
  margin-right: 2px;
}

.home-ydlt-banner {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

@media screen and (max-width: 750px) {
  .yjwz {
    font-size: 15px;
  }
}

#tukulist,
#gsba {
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

#tukulist iframe,
#gsba iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  vertical-align: top;
}

/* nav2 吸顶阈值锚点（保持在文档流内，不参与视觉布局） */
.nav2-stick {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}

/* 顶栏导航 nav2 — 对齐源站 style.css */
.nav2 {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 4px;
  text-align: center;
  background: #fff;
}

.nav2 ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav2 ul li {
  width: 20%;
  padding: 4px;
  box-sizing: border-box;
}

.nav2 ul li a {
  display: block;
  height: 36px;
  line-height: 36px;
  padding: 0 4px;
  text-align: center;
  color: #fff;
  border-radius: 36px;
  background: linear-gradient(to right, #ff6348, #ff3956);
  text-decoration: none;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav2 ul li a:hover {
  opacity: 0.92;
  text-decoration: none;
}

#nav2[data-fixed='fixed'] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 800px;
  margin: auto;
  z-index: 99;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.nav2-spacer {
  display: none;
  height: 0;
}

#nav2[data-fixed='fixed'] + .nav2-spacer {
  display: block;
}

/* 栏目文章块 style72293 */
.sort-module-block {
  scroll-margin-top: 110px;
}

.style72293 {
  width: 100%;
  background-color: #ffffff;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin-bottom: 0;
}

.style72293 .header-row {
  background: linear-gradient(to left, #e83e7a, #f1538b, #f46698, #f775a3, #f46698, #f1538b, #e83e7a);
  height: 45px;
}

.style72293 .header-row > td {
  text-align: center;
  padding: 8px;
  border: none;
}

.style72293 .title-text {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

/* 外壳正文格：只作用于直接子 td，不穿透 UEditor 内嵌表格 */
.style72293 .data-row > td {
  padding: 0;
  border-top: 1px solid #eee;
  vertical-align: top;
}

/*
 * 富文本正文区 — UEditor 前台渲染基线（对齐 core/extend/ueditor/ueditor.parse.js table 规则）
 * 作用：替代 reset.css 对 table/td 的全局覆盖，使 inline 边框/背景与后台编辑器一致。
 * 勿对 td 使用 border:revert 等会清掉四边基线的写法；UEditor 单元格常只 inline 指定 right/bottom，
 * 其余边依赖此处的 border:1px solid #ddd 基线 + inline 覆盖。
 */
.sort-anchor-content {
  line-height: 1.5;
  color: #333;
  word-break: break-word;
}

.sort-anchor-content table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
  border-collapse: collapse;
  display: table;
}

.sort-anchor-content td,
.sort-anchor-content th {
  padding: 5px 10px;
  border: 1px solid #ddd;
  word-break: normal;
}

.sort-anchor-content caption {
  border: 1px dashed #ddd;
  border-bottom: 0;
  padding: 3px;
  text-align: center;
}

.sort-anchor-content th {
  border-top: 1px solid #bbb;
  background: #f7f7f7;
}

.sort-anchor-content table tr.firstRow th {
  border-top: 2px solid #bbb;
  background: #f7f7f7;
}

.sort-anchor-content tr.ue-table-interlace-color-single td {
  background: #fcfcfc;
}

.sort-anchor-content tr.ue-table-interlace-color-double td {
  background: #f7faff;
}

.sort-anchor-content td p,
.sort-anchor-content th p {
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
}

.sort-anchor-content hr {
  display: block;
  height: 0;
  border: 0;
  border-top: 1px solid #999;
  margin: 10px 0;
}

.sort-anchor-content img {
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 800px) {
  .nav2 {
    padding: 4px;
  }
}

@media screen and (max-width: 750px) {
  .nav2 ul li {
    padding: 2px;
  }

  .nav2 ul li a {
    height: 26px;
    line-height: 26px;
    font-size: 13px;
  }
}
