/* LXMORE 前台导航高亮样式
 * 由后台「基本配置 → 前台导航」开关控制：开启时注入本文件，关闭时不注入
 */

/* ===== 主导航（mainmenu）高亮 ===== */
header box mainmenu ul li a:hover {
  background: #e6f2fb; color: #005f9b
}
header box mainmenu ul li.on a {
  background: linear-gradient(135deg, #0b7fc9, #005f9b); color: #fff; box-shadow: 0 3px 10px rgba(0, 95, 155, .3)
}

/* ===== 分类导航（sidebar 分类列表）高亮：JTBC 5.0 默认蓝系 ===== */
container box sidebar section ul li a {
  transition: color .2s ease
}
container box sidebar section ul li a:hover {
  color: #005f9b
}
container box sidebar section ul li.on a,
container box sidebar section ul li.pitchon a {
  color: #005f9b; font-weight: bold; padding-left: 8px; border-left: 3px solid #005f9b
}

/* ===== 移动端 ===== */
@media screen and (max-width: 960px) {
  header box mainmenu ul li a:hover {
    background: #e6f2fb; color: #005f9b
  }
  header box mainmenu ul li.on a {
    background: linear-gradient(135deg, #0b7fc9, #005f9b); color: #fff; box-shadow: 0 3px 10px rgba(0, 95, 155, .3)
  }
  /* 分类导航：自动换行排列，不产生横向滚动 */
  container box sidebar section ul {
    display: flex; flex-wrap: wrap; list-style: none; padding: 10px 0px 0px 0px
  }
  container box sidebar section ul li {
    flex: 0 0 auto; width: auto; padding: 0px 10px 8px 0px; white-space: nowrap
  }
  container box sidebar section ul li a {
    display: inline-block; padding: 6px 18px; border-radius: 20px; transition: background-color .2s ease, color .2s ease
  }
  container box sidebar section ul li.on a,
  container box sidebar section ul li.pitchon a {
    background: linear-gradient(135deg, #0b7fc9, #005f9b); color: #fff; font-weight: bold; border-left: 0px; padding-left: 18px
  }
}
