.span {
  display: none;
  width: 200px;
  /* background: #000; */
}

.span p {
  text-align: center;
  font-size: large;
  color: rgba(0, 179, 255, 0.625);
}

#li a:hover span {
  display: block;
  position: absolute;
  top: 51px;
  color: #fff;
}
.parHelper {
  position: relative;
}
.parHelper:hover .parHelperBox {
  position: absolute;
  top: 53px;
  left: 0;
  right: -100px;
  display: block;
}
.parHelper .parHelperBox {
  display: none;
  background: #fff;
  padding: 10px;
  text-align: center;
}
.parHelper .parHelperBox img {
  display: block;
  width: 300px;
}

.fitnessLi {
  color: #9d9d9d;
  cursor: pointer;
  font-size: 12px;
  line-height: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
}
.fitnessLi:hover {
  color: #fff;
}
.fitnessLi ul {
  display: none;
  position: absolute;
  bottom: -200px;
  left: -20px;
  background: #ffffff80;
  border: 1px solid #eee;
  border-radius: 5px;
  width: 120px;
  z-index: 10;
  overflow: hidden;
}
.fitnessLi:hover ul {
  display: block;
  color: #fff;
}
.fitnessLi ul li {
  padding: 5px;
  cursor: pointer;
  text-align: center;
  height: 40px;
  box-sizing: border-box;
  line-height: 40px;
}
.fitnessLi ul li a {
  color: #fff;
}

.news-list {
  display: flex;
  justify-content: center;
}
#three {
  /* overflow: hidden; */
}

/* 移动端响应式样式 - 修复fitnessLi下拉菜单显示问题 */
@media only screen and (max-width: 768px) {
  /* 导航菜单项在移动端的样式调整 */
  .fitnessLi {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
  }
  
  /* 下拉菜单在移动端的样式调整 */
  .fitnessLi ul {
    position: fixed !important; /* 使用固定定位避免被遮挡 */
    top: 60px !important; /* 调整顶部距离 */
    left: 50% !important; /* 水平居中 */
    transform: translateX(-50%) !important; /* 完全居中 */
    width: 200px !important; /* 增加宽度 */
    background: rgba(0, 0, 0, 0.9) !important; /* 深色半透明背景 */
    border: 1px solid #333 !important; /* 深色边框 */
    border-radius: 8px !important; /* 圆角 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important; /* 阴影效果 */
    z-index: 9999 !important; /* 确保在最顶层 */
  }
  
  /* 下拉菜单项在移动端的样式 */
  .fitnessLi ul li {
    height: 45px !important; /* 增加高度便于点击 */
    line-height: 45px !important;
    padding: 0 15px !important; /* 增加左右内边距 */
    border-bottom: 1px solid #444; /* 分隔线 */
  }
  
  /* 最后一个菜单项不显示分隔线 */
  .fitnessLi ul li:last-child {
    border-bottom: none;
  }
  
  /* 下拉菜单链接在移动端的样式 */
  .fitnessLi ul li a {
    color: #fff !important;
    font-size: 14px !important;
    text-decoration: none;
    display: block;
    width: 100%;
  }
  
  /* 下拉菜单项悬停效果 */
  .fitnessLi ul li:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* 超小屏幕设备的额外调整 */
@media only screen and (max-width: 480px) {
  .fitnessLi ul {
    width: 180px !important; /* 在更小屏幕上减少宽度 */
    top: 55px !important; /* 调整顶部距离 */
  }
  
  .fitnessLi ul li {
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 12px !important;
  }
  
  .fitnessLi ul li a {
    font-size: 13px !important;
  }
}
#three .news-content {
  overflow: auto;
  height: 242px;
}
/* 修改滚动条样式 */
#three .news-content::-webkit-scrollbar {
  width: 2px;
}
#three .news-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
