/* region 头部header样式重写 */
/* 头部基础样式 */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.header {
  width: 100%;
  height: 60px;
  background: #121E76;
}

/* 头部内容容器 */
.header .head {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 左侧欢迎区域 */
.header .head-left {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  /* width: calc(100% - 390px); */
}

.header .head-left a {
  text-decoration: none;
  color: #FFFFFF;
  display: inline-block;
  transition: all 0.3s ease;
}

.header .head-left a:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
}

/* 右侧区域 */
.header .head-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header .autoScroll{
	/* background-color: red; */
	cursor: pointer;
	width: 80px;
  height: 40px;
}

/* 二维码区域 */
.header .qr-container {
  position: relative;
  cursor: pointer;
}

.header .qr-container span {
  color: #fff;
  font-size: 13px;
}

.header .qr-code {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 170%;
  left: 50%;           /* 添加这行 */
  transform: translateX(-50%); /* 添加这行，使二维码水平居中 */
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 111;
}
.header .qr-code img {
  width: 100px;
  height: 100px;
}
/* 登录注册按钮 */
.header .auth-buttons {
  display: flex;
  gap: 15px;
}

.header .headText {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 4px;
}

.header .headText:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header .register-btn {
  /* background: rgba(255, 255, 255, 0.15); */
}

.header .register-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* 用户菜单区域 */
.header .user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.header .user-menu:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 头像样式 */
.header .avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.header .avatar-img .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header .file-uploads {
  display: none;
}

/* 用户信息 */
.header .name-cont {
  color: #fff;
  line-height: 1.4;
}

.header .name-cont p {
  margin: 0;
  font-size: 13px;
}

.header .name {
  position: relative;
}

.header .tips {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #BE0022;
  border-radius: 50%;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 2px rgba(190, 0, 34, 0.2);
  animation: notificationPulse 2s infinite;
}

/* 下拉菜单 */
/* 用户菜单区域 */
.header .user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 5px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative; /* 确保下拉菜单相对于此定位 */
}

/* 下拉菜单 */
.header .dropdown-menu {
  position: absolute;
  top: 50px;
  left:0;
  width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden; /* 使用 visibility 代替 display:none 以支持过渡效果 */
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  overflow: hidden;
}

/* 下拉菜单基础样式 */
.header .dropdown-menu {
  position: absolute;
  top: 60px;
  right: 0;
  width: 280px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.header .user-menu:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 菜单容器 */
.header .menu-container {
  padding: 16px;
}

/* 用户信息区域 */
.header .user-info {
  display: flex;
  align-items: center;
  padding: 12px;
  margin-bottom: 16px;
  background: rgba(18, 30, 118, 0.03);
  border-radius: 12px;
}

.header .user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.header .user-details {
  margin-left: 12px;
}

.header .user-details h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.header .user-email {
  font-size: 13px;
  color: #666;
}

/* 菜单项样式 */
.header .menu-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header .menu-item {
  display: flex;
  align-items: center;
  padding: 12px;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.header .menu-item:hover {
  background: rgba(18, 30, 118, 0.05);
  transform: translateX(4px);
}

/* 菜单图标 */
.header .menu-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  fill: #666; /* SVG填充颜色 */
  transition: fill 0.2s ease;
}

.header .menu-item:hover .menu-icon {
  fill: #121E76; /* 悬停时的图标颜色 */
}

/* 退出按钮图标特殊样式 */
.header .logout-button .menu-icon {
  fill: #BE0022;
}

.header .logout-button:hover .menu-icon {
  fill: #8B0019;
}
/* 消息通知徽章 */
.header .notification-badge {
  width: 8px;
  height: 8px;
  background: #BE0022;
  border-radius: 50%;
  margin-left: 8px;
  box-shadow: 0 0 0 2px rgba(190, 0, 34, 0.2);
  animation:notificationPulse 2s infinite;
}

/* 分割线 */
.header .menu-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 12px 0;
}

/* 退出按钮 */
.header .logout-button {
  display: flex;
  align-items: center;
  padding: 12px;
  color: #BE0022;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.header .logout-button:hover {
  background: rgba(190, 0, 34, 0.08);
}

/* 语言切换 */
.header .head-lang {
  margin-left: 15px;
}

.header .head-lang a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.header .head-lang a:hover {
  opacity: 1;
}

/* 消息提醒动画 */
@keyframes notificationPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(190, 0, 34, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(190, 0, 34, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(190, 0, 34, 0);
  }
}


/* 工具类 */
.fit-content {
  width: fit-content;
}

.none {
  border: none;
}
body {
  padding-top: 120px;
}

/* enregion 头部样式重写 */
/*#region顶部搜索框样式调整 */
.skicky {
  width: 100%;
  /*position: sticky;*/
  top: 0;
  /* background: #ffffff; */
  /* background-color: rgba(255, 255, 255, 0); */
  background-color: #1156b6;
  z-index: 1111;
  /* border-bottom: 1px solid #DFDFDF; */
}
.search {
  /* margin: 0 auto; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  padding: 30px 0;
  width: 93%;
}
.search .logo img{
  height: 40px;
  object-fit: contain;
}
.search_model {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.83);
  justify-content: center;
  align-items: center;
}

.search_model_content {
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 600px;
  max-width: 90%;
  position: relative;
}

.search_model_close {
  color: #000;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.search_model_searchs {
  display: flex;
  width: 100%;
  height: 46px;
  margin-bottom: 20px;
  color:#ffffff;
}

.search_model_searchs .inp {
  font-size: 16px;
  width: 100%;
  border: 4px solid rgba(18, 30, 118, 0.8000);
  border-radius: 8px 0 0 8px;
  padding-left: 15px;
  background: none;
  color: #121E76;
  /* color: #ffffff; */
}

.search_model_searchs button {
  font-size: 16px;
  width: 120px;
  border: none;
  height: 46px;
  background: #121e76;
  border-radius: 0 8px 8px 0;
  line-height: 46px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  font-weight: bolder;
}

.search_model_history {
  margin-top: 20px;
  text-align: left;
}

.search_model_history-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search_model_history-pop {
  font-weight: bold;
  margin: 10px 0;
}

.search_model_history-two, .search_model_history-three {
  margin-top: 10px;
}

.search_model_history-log {
  margin: 5px 0;
}

/* #endregion顶部样式 */
/* #region 导航链接样式调整 */
.website_link {
  display: flex; 
  align-items: center; 
}

.home, .link_box,.catalogue-wrapper {
  margin-right: 60px;
}

.link_col {
  position: relative;
  text-decoration: none; 
  color: #fff; 
  font-weight: 400;
}
.link_col::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #121E76;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.link_col:hover {
  color: #121E76;
}
.link_col:hover::after {
  transform: scaleX(1);
}


/* #endregion 导航链接样式调整 */
/* #region 目录样式调整 */
.catalogue-wrapper {
  position: relative;
}
.catalogue-btn {
  cursor: pointer;
  padding: 5px 10px;
  font-weight: 600;
  transition: color 0.3s ease;
  color: #fff;
}
/* .catalogue-btn:hover {
  color: #121E76;
}
.catalogue-nav,
.submenu-box {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.catalogue-wrapper:hover .catalogue-nav {
    opacity: 1;
    visibility: visible;
}

.catalogue-item:hover .submenu-box {
    opacity: 1;
    visibility: visible;
} */

.catalogue-btn:hover {
  color: #121E76;
}

.catalogue-nav,
.submenu-box {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.3s ease;
}

/* 点击时添加 active 类 */
.catalogue-nav.active1,
.submenu-box.active1 {
  opacity: 1;
  visibility: visible;
  max-height: 500px; /* 设置一个足够大的高度，避免动画受影响 */
}

.catalogue-wrapper .catalogue-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  /* display: none; */
  z-index: 1000;
  border-radius: 5px;
}

.catalogue-wrapper .catalogue-list {
  position: relative;
  /* height: 510px; */
  padding: 10px;
}

.catalogue-wrapper .catalogue-item {
  padding: 7px 17px; 
}

.catalogue-wrapper .item-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.catalogue-wrapper .item-title .item-title-span {
  font-weight: 600;
  transition: transform 0.3s ease;
}
.catalogue-wrapper .item-title a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.catalogue-wrapper .item-title img{
  width: 10px;
  height: 10px;
  margin-left: 5px;
}
.catalogue-wrapper .submenu-box {
  position: absolute;
  left: 100%;
  top: 0;
  width: 770px;
  background: #fff;
  height: 500px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  overflow-y: auto;
}

.catalogue-wrapper .submenu-item {
  margin-bottom: 20px;
}

.catalogue-wrapper .submenu-title {
  margin-bottom: 10px;
}

.catalogue-wrapper .submenu-title a {
  /* font-weight: bold; */
  color: #111;
  font-size: 13px;
}

.catalogue-wrapper .third-menu {
  display: block; /* 确保三级菜单显示 */
}

.catalogue-wrapper .third-menu p {
  margin: 8px 0;
}

.catalogue-wrapper .third-menu a {
  color: #626262;
  font-size: 12px;
}

/* 滚动条样式 */
.catalogue-wrapper .catalogue-list::-webkit-scrollbar,
.catalogue-wrapper .submenu-box::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.catalogue-wrapper .catalogue-list::-webkit-scrollbar-thumb,
.catalogue-wrapper .submenu-box::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #d8d8d8;
}

.catalogue-wrapper .catalogue-list::-webkit-scrollbar-track-piece,
.catalogue-wrapper .submenu-box::-webkit-scrollbar-track-piece {
  background-color: #fff;
}

/* 悬停效果 */
.catalogue-wrapper .catalogue-item:hover {
  background: #FFFFFF;
  box-shadow: 0px 1px 7px 0px rgba(193, 193, 193, 0.5100);
}
.catalogue-wrapper .item-title a:hover,
.catalogue-wrapper .submenu-title a:hover,
.catalogue-wrapper .third-menu a:hover {
  color: #BE0022;
}
.catalogue-item:hover .item-title-span {
  transform: rotate(45deg);
}
.catalogue-item:hover .item-title a {
  color: #BE0022;
}
.search .search-container .search-icon {
  width: 20px;
  height: 20px;
  /* margin-top: 4px; */
}

.search .search-container {
  display: flex;
  align-items: center;
  margin-left: 30px;
}
.search .search-button {
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: #008ffc;
  color: white;
  border-radius: 30px;
}

/* #endregion 目录样式调整 */
/* #region 返回顶部样式调整 */
.back-to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 40px;
  height: 40px;
  background: #121E76;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(18, 30, 118, 0.2);
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

/* 箭头样式 */
.back-to-top .arrow-up {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff; /* 改为白色 */
  border-right: 2px solid #fff; /* 改为白色 */
  transform: translate(-50%, -30%) rotate(-45deg);
  transition: border-color 0.3s ease;
}

/* 悬停效果 */
.back-to-top:hover {
  box-shadow: 0 4px 12px rgba(18, 30, 118, 0.3);
  transform: translateY(-2px);
}

/* 点击效果 */
.back-to-top:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(18, 30, 118, 0.2);
}
/* #endregion 返回顶部样式调整 */