/* =============================================================
   导航「当前栏目」选中态补丁（第十版·定稿）
   电脑端 ≥761px：浅绿底胶囊 + 深绿加粗字 + 标题下方绿→橙渐变下划线
   手机端 ≤760px：深绿渐变卡 + 白字 + 橙色下划线（联系我们为橙底深橙字）
   最后一段选择器权重最高，专门压过 style.css / nav-mobile-fix.css
   ============================================================= */

/* ---------- ① 电脑端：基础选中样式 ---------- */
@media (min-width:761px){
  .header .nav[data-nav] .nav__ul>li.is-cur>a{
    background:#E4F2EC!important;
    border-radius:999px!important;
    box-shadow:inset 0 0 0 1px rgba(6,61,56,.14)!important;
  }
  .header .nav[data-nav] .nav__ul>li.is-cur>a .nv{
    position:relative;display:inline-block!important;padding-bottom:8px;
    color:#063D38!important;font-weight:800!important;letter-spacing:.6px!important;
  }
  /* 下划线：宽度=标题文字宽度，居中对齐，绿→橙渐变 */
  .header .nav[data-nav] .nav__ul>li.is-cur>a .nv::after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;
    background:linear-gradient(90deg,#063D38 0%,#0B8A78 50%,#F5921B 100%);
  }
  .header .nav[data-nav] .nav__ul>li.is-cur>a:hover{background:#D8EDE4!important;}
  /* 未选中栏目：明确写死透明底 + 常规字色，确保和选中项拉开差距 */
  .header .nav[data-nav] .nav__ul>li:not(.is-cur)>a{background:transparent!important;box-shadow:none!important;}
  .header .nav[data-nav] .nav__ul>li:not(.is-cur)>a .nv{color:#4A5C58!important;font-weight:600!important;}
  .header .nav[data-nav] .nav__ul>li:not(.is-cur)>a .nv::after{display:none!important;}
}

/* ---------- ② 手机端：宫格选中样式 ---------- */
@media (max-width:760px){
  .nav__bd .nav__ul>li.is-cur>a{
    background:linear-gradient(135deg,#063D38 0%,#0B6B5E 100%)!important;
    border-color:#063D38!important;
    box-shadow:0 8px 20px rgba(6,61,56,.26)!important;
  }
  .nav__bd .nav__ul>li.is-cur>a .nv{
    position:relative;display:inline-block!important;padding-bottom:7px;
    color:#fff!important;font-weight:800!important;
  }
  .nav__bd .nav__ul>li.is-cur>a .nv::after{
    content:"";position:absolute;left:0;right:10px;bottom:0;height:3px;border-radius:3px;background:#F5921B;
  }
  .nav__bd .nav__ul>li.is-cur>a .nt{color:#fff!important;font-weight:800!important;}
  .nav__bd .nav__ul>li.is-cur>a .ns{color:rgba(255,255,255,.84)!important;}
  .nav__bd .nav__ul>li.is-cur>a .nd{color:rgba(255,255,255,.6)!important;}
  .nav__bd .nav__ul>li.is-cur>a .ni{background:rgba(255,255,255,.18)!important;}
  /* 第 7 格「联系我们」选中时用橙色系，避免橙卡叠深绿 */
  .nav__bd .nav__ul>li:last-child.is-cur>a{
    background:linear-gradient(135deg,#FFF4E4 0%,#FFDFAE 100%)!important;
    border-color:#F5921B!important;box-shadow:0 8px 18px rgba(245,146,27,.18)!important;
  }
  .nav__bd .nav__ul>li:last-child.is-cur>a .nv,
  .nav__bd .nav__ul>li:last-child.is-cur>a .nt{color:#A1550A!important;}
  .nav__bd .nav__ul>li:last-child.is-cur>a .nv::after{background:#E2760C;right:0;}
  .nav__bd .nav__ul>li:last-child.is-cur>a .ns{color:rgba(161,85,10,.82)!important;}
  .nav__bd .nav__ul>li:last-child.is-cur>a .nd{color:rgba(161,85,10,.55)!important;}
  .nav__bd .nav__ul>li:last-child.is-cur>a .ni{background:rgba(245,146,27,.16)!important;}
  .nav__bd .nav__ul>li:not(.is-cur)>a{background:rgb(250,252,251)!important;}
  .nav__bd .nav__ul>li:not(.is-cur)>a .nv::after{display:none!important;}

  /* ③ 手机底部区布局已统一交由 nav-mobile-fix.css 负责，此处不再重复定义，避免两文件互相覆盖 */

/* ---------- ④ 终修（最高权重兜底，压过 style.css / nav-mobile-fix.css） ---------- */
@media (min-width:761px){
  .header .nav[data-nav] .nav__ul>li.is-cur>a,
  .header .nav[data-nav] .nav__ul>li.is-cur>a:hover{background:#E4F2EC!important;box-shadow:inset 0 0 0 1px rgba(6,61,56,.14)!important;}
  .header .nav[data-nav] .nav__ul>li.is-cur>a .nv,
  .header .nav[data-nav] .nav__ul>li.is-cur>a:hover .nv{color:#063D38!important;font-weight:800!important;}
  .header .nav[data-nav] .nav__ul>li.is-cur>a .nv::after{
    display:block!important;visibility:visible!important;opacity:1!important;content:"";
    position:absolute!important;left:0!important;right:0!important;bottom:-7px!important;height:3px!important;border-radius:3px!important;
    background:linear-gradient(90deg,#063D38 0%,#0B8A78 50%,#F5921B 100%)!important;
  }
  .header .nav[data-nav] .nav__ul>li:not(.is-cur)>a{background:transparent!important;box-shadow:none!important;}
  .header .nav[data-nav] .nav__ul>li:not(.is-cur)>a .nv{color:#4A5C58!important;font-weight:600!important;}
  .header .nav[data-nav] .nav__ul>li:not(.is-cur)>a .nv::after{display:none!important;}
  /* 选中项字重变大也不许换行/撑宽 */
  .header .nav[data-nav] .nav__ul>li>a .nv{font-size:clamp(13.2px,0.86vw,14.8px)!important;}
}
@media (max-width:760px){
  .nav__bd .nav__ul>li.is-cur>a,
  .nav__bd .nav__ul>li.is-cur>a:hover,
  .nav__bd .nav__ul>li.is-cur>a:active{background:linear-gradient(135deg,#063D38 0%,#0B6B5E 100%)!important;border-color:#063D38!important;box-shadow:0 8px 20px rgba(6,61,56,.26)!important;}
  .nav__bd .nav__ul>li.is-cur>a .nv,
  .nav__bd .nav__ul>li.is-cur>a .nt{color:#fff!important;font-weight:800!important;}
  .nav__bd .nav__ul>li.is-cur>a .nv::after{
    display:block!important;visibility:visible!important;opacity:1!important;content:"";
    position:absolute!important;left:0!important;right:0!important;bottom:-6px!important;height:3px!important;border-radius:3px!important;background:#F5921B!important;
  }
  .nav__bd .nav__ul>li.is-cur>a .ns{color:rgba(255,255,255,.84)!important;}
  .nav__bd .nav__ul>li.is-cur>a .nd{color:rgba(255,255,255,.6)!important;}
  .nav__bd .nav__ul>li.is-cur>a .ni{background:rgba(255,255,255,.18)!important;}
  .nav__bd .nav__ul>li.is-cur>a::before{display:none!important;}  /* 去掉通栏橙条，只留标题下下划线 */
  /* 未选中格：浅底 + 常规深灰绿字，与深绿选中卡一眼分开 */
  .nav__bd .nav__ul>li:not(.is-cur)>a{background:rgb(250,252,251)!important;border-color:var(--line)!important;box-shadow:none!important;}
  .nav__bd .nav__ul>li:not(.is-cur)>a .nv,
  .nav__bd .nav__ul>li:not(.is-cur)>a .nt{color:#33514C!important;font-weight:700!important;}
  .nav__bd .nav__ul>li:not(.is-cur)>a .nv::after{display:none!important;}
  .nav__bd .nav__ul>li:not(.is-cur)>a .ns{color:var(--ink-3)!important;}
  .nav__bd .nav__ul>li:not(.is-cur)>a .nd{color:var(--green-500)!important;background:var(--green-100)!important;}
  /* 第 7 格「联系我们」：未选中橙底橙字，选中浅橙底+深橙字+橙下划线 */
  .nav__bd .nav__ul>li:last-child:not(.is-cur)>a{background:var(--orange-100,#FFF3E4)!important;border-color:#FFE3C2!important;}
  .nav__bd .nav__ul>li:last-child:not(.is-cur)>a .nv{color:var(--orange-600,#D96A07)!important;}
  .nav__bd .nav__ul>li:last-child:not(.is-cur)>a .ns{color:#B26A12!important;}
  .nav__bd .nav__ul>li:last-child.is-cur>a{background:linear-gradient(135deg,#FFF4E4 0%,#FFDFAE 100%)!important;border-color:#F5921B!important;box-shadow:0 8px 18px rgba(245,146,27,.20)!important;}
  .nav__bd .nav__ul>li:last-child.is-cur>a .nv,
  .nav__bd .nav__ul>li:last-child.is-cur>a .nt{color:#A1550A!important;font-weight:800!important;}
  .nav__bd .nav__ul>li:last-child.is-cur>a .nv::after{background:#E2760C!important;right:0!important;}
  .nav__bd .nav__ul>li:last-child.is-cur>a .ns{color:rgba(161,85,10,.82)!important;}
  .nav__bd .nav__ul>li:last-child.is-cur>a .nd{color:rgba(161,85,10,.55)!important;background:#fff!important;}
  .nav__bd .nav__ul>li:last-child.is-cur>a .ni{background:rgba(245,146,27,.16)!important;}
}
/* 表格在窄屏/小笔记本上不出横向滚动条 */
@media (max-width:1100px){.tbl-wrap table,.table-wrap table,.tbl table,table{font-size:12.6px!important;} th{padding:9px 10px!important;} td{padding:9px 10px!important;}}
