* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'ChillHuoSong';
    src: url('/template/pc/skin/fonts/cshfs.ttf') format('truetype');
}
@font-face {
    font-family: 'ChillHuoSong_F_ConRegular';
    src: url('/template/pc/skin/fonts/ChillHuoSong_F_ConRegular.ttf') format('truetype');
}
@font-face {
    font-family: 'ChillHuoSong_F';
    src: url('/template/pc/skin/fonts/ChillHuoSong_F.ttf') format('truetype');
}
@font-face {
    font-family: 'ChillHuoSong_F_Regular_new';
    src: url('/template/pc/skin/fonts/ChillHuoSong_F_Regular_new.ttf') format('truetype');
}
@font-face {
    font-family: 'AlibabaPuHuiBold';
    src: url('/template/pc/skin/fonts/AlibabaPuHui-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'AlibabaPuHuiRegular';
    src: url('/template/pc/skin/fonts/AlibabaPuHui-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'AlibabaPuHuiLight';
    src: url('/template/pc/skin/fonts/AlibabaPuHui-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'AlibabaPuHuiThin';
    src: url('/template/pc/skin/fonts/AlibabaPuHui-Thin.ttf') format('truetype');
}
body {
    font-family: "AlibabaPuHuiLight", "微软雅黑", Arial, sans-serif;
    overflow-x: hidden;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 5%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hslogo{height:50px;}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 10px 5%;
}
.navbar-toggler{
    float:left;
    border:none!important;
    outline:none;
    -webkit-appearance: none;
}
.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #CE0921;
    margin:0 auto;
}
.navbar-nav {margin-left:15px;}
.navbar-nav .nav-link {
    color: #000000;
    margin: 0 15px;
    font-size: 17px;
    transition: color 0.3s;
    position: relative;
    font-family: 'AlibabaPuHuiLight';
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #000000;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #CE0921;
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}
.nav-icons{
    display: flex;
}
.search-bar{
    border:1px solid #000;
    border-radius:30px;
    padding:3px 5px 3px 5px;
    display:flex;
}
.search-bar input{
    border:none;
    margin-left: 15px;
    outline:none;
    background: transparent;
}
.search-bar img{
    border:none;
    margin-right:5px;
    margin-top:2px;
    width:22px;
    height:20px;
}
.nav-icons a {
    color: #666;
    margin-left: 20px;
    font-size: 18px;
    transition: color 0.3s;
    
}

.nav-icons a:hover {
    color: #CE0921;
}
@media (max-width: 1252px) {
    .navbar-nav .nav-link{
        width: 65px;
        height: 65px;
        line-height: 21px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar{
       background-color: rgba(255, 255, 255, 0.75);
       padding:3px 0px 3px 0px;
       box-shadow: 0 1px 25px rgba(0, 0, 0, 0.05);
    }
    .navbar-nav {
        text-align: center;
    }
    
    .nav-icons {
        text-align: center;
        margin-top: 10px;
        display: flex;
    }
    .hslogo{height:25px;}
    
}

 @media (max-width: 480px) {
     .navbar{
       background-color: rgba(255, 255, 255, 0.75);
       padding:3px 0px 3px 0px;
       box-shadow: 0 1px 25px rgba(0, 0, 0, 0.05);
    }
     .hslogo{height:25px;}
     
 }
 
 
 /* 加载条容器 - 固定在顶部 */
.loading-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f0f0f0;
  overflow: hidden;
  z-index: 9999;
  visibility: hidden; /* 默认隐藏 */
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* 加载条本体 - 从左到右填充（核心修改：left:0 替代 right:0） */
.loading-bar {
  position: absolute;
  top: 0;
  left: 0; /* 起始位置改为左侧 */
  height: 100%;
  width: 0; /* 初始宽度0 */
  background-color: #2563eb; /* 蓝色加载条，可自定义 */
  transition: width 0s linear; /* 保持JS控制进度 */
}

/* 加载条显示状态 */
.loading-bar-container.active {
  visibility: visible;
  opacity: 1;
}

