/* ==========================================================
       1. 修复 style.css 中全局 reset 对 Bootstrap 栅格的破坏
       ========================================================== */
    .container,
    .container-fluid {
      margin-left: auto;
      margin-right: auto;
      padding-right: 15px;
      padding-left: 15px;
      text-align: left;
    }

    .row {
      margin-right: -15px;
      margin-left: -15px;
      text-align: left;
    }

    .row > * {
      margin: 0;
      padding-right: 15px;
      padding-left: 15px;
      text-align: left;
    }

    /* ==========================================================
       2. 基础
       ========================================================== */
    html,
    body {
      width: 100%;
      overflow-x: hidden;
    }

    body {
      background: url("../images/bg.png") repeat-y;
      background-size: 100%;
      background-color: #f0e4ce;
      font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans", sans-serif;
    }

    img {
      max-width: 100%;
      height: auto;
    }

    /* ==========================================================
       3. Header 区域：始终满宽（背景 100%）
       ========================================================== */
    .topbg,
    .nav_bg,
    .copy_bg {
      width: 100%;
    }

    .topbg {
      display: flex;
      align-items: center;
      height: auto;
      min-height: 130px;
      padding: 18px 0;
      background: url("../images/index_r1_c1.png") no-repeat center center;
      background-size: cover;
    }

    .topbg > .container {
      width: 100%;
        max-width: 100%;
    }

    .topbg-top {
      position: relative; /* 供小屏按钮绝对定位 */
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      width: 100%;
      padding: 0;
    }

    .topbg-top-list {
      float: none;
      position: static;
      line-height: 0;
    }

    .topbg-top-list img {
      width: auto;
      max-height: 99px;
    }

    .topbg-top-right {
      float: none;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex: 0 1 520px;
      min-width: 0;
      padding-right: 0;
	  margin:auto 0;
    }

    /* 搜索框（共用样式：页头 + 折叠菜单） */
    .search-box {
      position: relative;
      display: flex;
      align-items: center;
      flex: 1 1 auto;
      min-width: 0;
    }

    .search-box-bg {
      position: absolute;
      top: 50%;
      right: auto;
      left: 16px;
      z-index: 2;
      transform: translateY(-50%);
      line-height: 0;
    }

    .search-box-bg img {
      width: 22px;
      height: auto;
    }

    .search-box-text {
      position: static;
      width: 100%;
    }

    .input_text {
      width: 100%;
      height: 50px;
      padding: 0 20px 0 48px;
      background-color: #f0e4ce;
      border: 0;
      outline: none;
      font-size: 16px;
      color: #6f8973;
      border-radius: 4px;
      box-shadow: 5px 10px 20px 2px rgba(94, 117, 97, .35);
      text-align: left;
      box-sizing: border-box;
    }

    .input_text::placeholder {
      color: #6f8973;
      opacity: .8;
    }

    .search {
      flex: 0 0 auto;
      margin-left: 14px;
      line-height: 0;
      cursor: pointer;
    }

    .search img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      box-shadow: 5px 10px 20px 2px rgba(94, 117, 97, .35);
    }

    /* ==========================================================
       4. 导航
       ========================================================== */
    .nav_bg {
      height: 81px;
      background: url("../images/index_r2_c3.png") repeat-x;
      background-size: cover;
    }

    .navbar {
      padding: 0;
    }

    #navMenu .navbar-nav {
      width: 100%;
      margin-right: 0;
    }

    .nav li {
      margin: 0;
    }

    /* PC：均分导航项 */
    @media (min-width: 992px) {
      .nav li {
        float: none;
        width: auto;
        flex: 1 1 0;
        text-align: center;
      }
    }

    /* ---------- 小屏折叠菜单内的搜索框（仅小屏显示） ---------- */
    .nav-search {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 0 18px;
      margin-top: 4px;
      border-top: 1px solid #eee;
    }

    .nav-search .search-box {
      flex: 1 1 auto;
      min-width: 0;
    }

    .nav-search .input_text {
      height: 42px;
      padding: 0 14px 0 40px;
      font-size: 15px;
      background-color: #f6f1e6;
      border: 1px solid #ddd6c4;
      box-shadow: none;
    }

    .nav-search .search-box-bg {
      left: 12px;
    }

    .nav-search .search {
      margin-left: 0;
    }

    .nav-search .search img {
      width: 42px;
      height: 42px;
      box-shadow: none;
    }

    /* ==========================================================
       5. 小屏悬浮在 Header 右上角的菜单按钮
       ========================================================== */
    .nav-toggler-header {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 10;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      margin: 0;
      padding: 0;

	        background-color: #6f8973;
      border-color: #6f8973;
      box-shadow: 0 2px 8px rgba(94, 117, 97, .22);
      cursor: pointer;
    }

    .nav-toggler-header:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(111, 137, 115, .3);
    }

    .nav-toggler-header .navbar-toggler-icon {
      display: block;
      width: 22px;
      height: 22px;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100% 100%;
      
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* 展开态：底色变绿、图标变白 */
    .nav-toggler-header[aria-expanded="true"] {
      border: 1px solid rgba(0, 0, 0, .12);
      border-radius: 6px;
      background-color: rgba(255, 255, 255, .92);
    }

    .nav-toggler-header[aria-expanded="true"] .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(94,117,97,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* ==========================================================
       6. 小屏整体调整：隐藏导航背景条、菜单悬浮白卡
       ========================================================== */
    @media (max-width: 991.98px) {
      .topbg {
        min-height: 0;
        padding: 16px 0;
      }

      .topbg-top {
        justify-content: center;
        text-align: center;
      }

      /* 给右上角按钮预留空间，防止 logo 与按钮重叠 */
      .topbg-top-list img {
        max-width: calc(100vw - 130px);
        max-height: 56px;
      }

      /* 导航背景条隐藏：不留高度、不显示背景图 */
      .nav_bg {
        height: auto;
        min-height: 0;
        padding: 0;
        border: 0;
        background: none;
      }

      .nav_bg .navbar {
        min-height: 0;
        padding: 0;
      }

      /* 折叠菜单：白色圆角卡片悬浮 */
      #navMenu {
        margin: 0 0 12px;
        padding: 4px 12px 8px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 10px 22px rgba(94, 117, 97, .18);
      }

      #navMenu .navbar-nav {
        padding: 0;
      }

      .nav li,
      .nav .show li {
        float: none;
        width: 100%;
        height: auto;
        line-height: 44px;
        font-size: 16px;
        background-color: transparent;
      }

      .nav li a {
        display: block;
        padding: 0 4px;
        border-bottom: 1px solid #f2efe6;
      }

      .nav li:last-child a {
        border-bottom: 0;
      }

      .nav_hover {
        height: 44px;
        line-height: 44px;
      }

      .nav .show li a {
        color: #5e7561;
        font-size: 16px;
      }

      .nav-search {
        margin-top: 6px;
        padding: 12px 0 6px;
      }
    }

    /* ==========================================================
       7. 主体
       ========================================================== */
    .pest_bg {
      padding: 30px 0;
    }

    /* ---------- 左栏 ---------- */
    .pe_r1 {
      width: 100%;
      max-width: 346px;
      height: 562px;
      overflow: hidden;
      background: url("../images/news-left.png") no-repeat center top;
      background-size: 100% 100%;
      color: #f3e5cf;
      font-family: 'Songti', Arial, sans-serif;
    }

    @supports (aspect-ratio: 346 / 562) {
      .pe_r1 {
        height: auto;
        aspect-ratio: 346 / 562;
      }
    }

    .pe_r1_title,
    .pe_r1_text {
      max-width: calc(100% - 50px);
      box-sizing: border-box;
    }
	.pe_r1_title{margin-top:28px;}
	.pe_r1_text{margin-top:15px;}

    .pe_r2 {
      margin-top: 30px;
    }

    .pe_r2 img {
      display: block;
      width: 100%;
      max-width: 346px;
    }

    /* ---------- 右栏标题栏 ---------- */
    .page-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px 20px;
      padding-bottom: 12px;
      margin-bottom: 10px;
      border-bottom: 1px solid #ddd6c4;
    }


    .w742_top_text {
      position: static;
      margin: 0;
      padding: 0;
      font-family: 'Songti', Arial, sans-serif;
      font-size: 22px;
      font-weight: 700;
      line-height: 1.4;
      color: #6F8973;
      text-align: left;
      text-shadow: 2px 5px 5px rgba(200, 195, 174, .8);    
	display:block;
    height: 40px;
    background-image: url('../images/tleft.png');
	background-repeat:no-repeat;
	padding-left:40px;
}
.w742_top_text a{
line-height:40px;
float:left;
}
.w742_top_text::after{
    content: "";
	float:right;
    display: block;
    height: 36px;
	width:40px;
	 background-image: url('../images/tright.png');
 	background-repeat:no-repeat;
}

    .newstop {
      float: none;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.8;
      color: #718a75;
      text-align: left;
      text-shadow: 1px 1px #fff, 1px -1px #fff, -1px 1px #fff, -1px -1px #fff;
	  margin-right: 0px;
    }

    .newstop a {
      color: #718a75;
    }

    /* ---------- 列表 ---------- */
    .dg_list ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .dg_list li {
      display: flex;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid #ccc5b1;
      font-size: 17px;
      line-height: 1.6;
      text-align: left;
    }

    .dg_list li:last-child {
      border-bottom: 0;
    }

    .dg_list li > a {
      flex: 1 1 auto;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding-left: 4px;
      color: #1c2d21;
      font-family: 'Songti', Arial, sans-serif;
      font-size: 17px;
      font-weight: 400;
      transition: color .2s;
    }

    .dg_list li > a:hover {
      color: #6f8973;
    }

    .dg_list li > span {
      flex: 0 0 auto;
      margin-left: auto;
      padding-left: 12px;
      color: #6a6b6c;
      font-family: 'Songti', Arial, sans-serif;
      font-size: 14px;
      font-weight: 400;
      white-space: nowrap;
    }

    .dg_list li > a .dg_list_time {
      margin-left: 12px;
      color: #6a6b6c;
      font-family: 'Songti', Arial, sans-serif;
      font-size: 14px;
      font-weight: 400;
      white-space: nowrap;
    }

    @media (min-width: 992px) {
      .dg_list li > a {
        font-size: 18px;
      }
    }

    /* ==========================================================
       8. 详情正文（沿用 .xq_left1 类名，resourcesdetail.js 无需改动）
       ========================================================== */
    .xq_left1 {
      width: 100%;
      padding: 24px 0 40px;
      font-family: 'Songti', Arial, sans-serif;
      text-align: left;
    }

    /* 抵消 style.css 全局 div/p 的 text-align:center */
    .xq_left1,
    .xq_left1 div,
    .xq_left1 p,
    .xq_left1 section,
    .xq_left1 h5 {
      text-align: left;
    }

    .xq_left1 h5 {
      margin: 0;
      padding-bottom: 16px;
      font-size: 26px;
      font-weight: 800;
      line-height: 1.5;
      color: #1c2d21;
    }

    .xq_left1 .xq_left1_time {
      font-size: 15px;
      line-height: 1.8;
      color: #727272;
      text-align: left;
    }

    .xq_left1 .xq_left1_time span {
      margin-left: 24px;
    }

    .xq_left1 .fg {
      height: 16px;
      margin: 20px 0 24px;
      background: url("../images/fg.png") repeat-x left center;
      background-size: auto 100%;
    }

    .xq_left1 p {
      margin: 0 0 16px;
      font-size: 17px;
      line-height: 1.9;
      color: #3c3c3c;
      text-align: left;
      word-wrap: break-word;
      word-break: break-word;
    }

    .xq_left1 p img,
    .xq_left1 img {
      display: block;
      max-width: 100%;
      height: auto;
      margin: 16px auto;
    }

    .xq_left1 section {
      max-width: 100%;
      margin: 0;
    }

    .xq_left1 table {
      width: 100%;
      border-collapse: collapse;
      margin: 16px 0;
    }

    .xq_left1 table th,
    .xq_left1 table td {
      padding: 8px 10px;
      border: 1px solid #ddd6c4;
      font-size: 15px;
      text-align: left;
    }

    /* ==========================================================
       8.2 分页
       ========================================================== */
    #ipage {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 6px;
      padding: 30px 0 10px;
      text-align: center;
      font-size: 13px;
    }

    #ipage ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 6px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    #ipage li {
      float: none;
      margin: 0;
    }

    #ipage a,
    #ipage .page {
      display: inline-block;
      min-width: 34px;
      height: 34px;
      line-height: 32px;
      padding: 0 10px;
      border: 1px solid #ddd;
      border-radius: 3px;
      background: #fff;
      text-align: center;
      box-sizing: border-box;
	  float: left;
    margin: 0 5px;
    color: #6F8973;
    font-size: 14px;
    }

    #ipage a:hover,
    #ipage .thisclass,
    #ipage .now-page {
      background: #976736;
      border-color: #976736;
      color: #fff;
    }
	
	#ipage span {
    float: left;
    margin: 0 5px;
      min-width: 34px;
      height: 34px;
    line-height: 38px;
    color: #6F8973;
    font-size: 14px;
}

    /* ==========================================================
       9. 版权
       ========================================================== */
    .copy_bg {
      position: relative;
      z-index: 2;
      margin-top: 40px;
      padding: 24px 0;
      border-top: 1px solid #e2d9c4;
    }

    .copy_bg_list {
      width: 100%;
      padding-top: 0;
      text-align: center;
    }

    .copy_bg_list:empty {
      display: none;
    }

    .copy p {
      float: none;
      width: 100%;
      margin: 0;
      padding: 0;
      font-family: 'Songti', Arial, sans-serif;
      font-size: 14px;
      line-height: 2;
      color: #6b6250;
      text-align: center;
      word-break: break-all;
    }

    /* ==========================================================
       10. 大屏支持：内容容器固定 1230px（背景与 Header 仍 100%）
       ========================================================== */
    @media (min-width: 1200px) {
      .container {
        max-width: 1230px;
        width: 100%;
      }
    }

    /* ==========================================================
       11. 超小屏微调
       ========================================================== */
    @media (max-width: 575.98px) {
      .w742_top_text {
        font-size: 18px;
      }
.copy_bg_list_box img {
    width: 158px;
}
      .copy p {
        font-size: 12px;
      }

      .nav-toggler-header {
        width: 40px;
        height: 40px;
      }
	  
	  .copy_bg_list_box {
    max-width: 150px;
}
    }