.header {
  position: relative;
  width: 100%;
  background: #ffffff;
  z-index: 10;
}

.header .header-container {
  width: 1080px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
}

.header .header-container .brand {
  width: 210px;
  margin-right: 236px;
}

.header .header-container .search-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header .header-container .search-container .search-input-group {
  position: relative;
  border: 1px solid #ff5370;
  border-radius: 20px;
  height: 36px;
  overflow: hidden;
}

.header .header-container .search-container .search-input-group .search-input {
  width: 100%;
  height: 36px;
  border: none;
  padding: 0 36px 0 18px;
}

.header
  .header-container
  .search-container
  .search-input-group
  .search-input:focus {
  outline: none;
}

.header .header-container .search-container .search-input-group .search-button {
  position: absolute;
  right: 15px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
}

.header
  .header-container
  .search-container
  .search-input-group
  .search-button
  > img {
  width: 16px;
  object-fit: contain;
}

.header .header-container .search-container .search-history {
  padding: 0 20px;
  display: flex;
}

.header .header-container .search-container .search-history-text {
  font-size: 14px;
  font-family: PingFangSC, PingFangSC-Regular;
  font-weight: 400;
  text-align: justify;
  color: #999999;
  line-height: 20px;
  letter-spacing: 0.84px;
  margin-right: 20px;
  text-decoration: none;
}

.header .header-container .counsel {
  width: 125px;
  margin-left: 52px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.header .header-container .counsel .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffebee;
}

.header .header-container .counsel .text {
  font-size: 18px;
  font-family: PingFangSC, PingFangSC-Medium;
  font-weight: 500;
  text-align: justify;
  color: #ff5370;
  line-height: 36px;
  letter-spacing: 1px;
}

.header .header-navbar {
  width: 100%;
  border: 1px solid #e7e7e7;
}

.header .header-navbar .header-navbar-container {
  position: relative;
  width: 1080px;
  margin: 0 auto;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
}

.header .navbar-item {
  position: relative;
  flex: auto;
  line-height: 44px;
  height: 44px;
  text-align: center;
  font-size: 16px;
  font-family: PingFangSC, PingFangSC-Regular;
  font-weight: 400;
  color: #292c33;
  cursor: pointer;
  background: #ffffff;
  text-decoration: none;
  transition: all 200ms;
}

.header .navbar-item-project {
  flex: 0 0 200px;
}

.header .navbar-item-dropdown {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .navbar-item-dropdown:hover .arrow-down path {
  stroke: #ffffff;
}

.header .navbar-item-active {
  background: #ff5370;
  color: #ffffff;
}

.header .navbar-item:hover {
  background: #ff5370;
  color: #ffffff;
}

.header .navbar-item:hover .project-menu {
  display: block;
}

.header .navbar-item:hover .dropdown-menu {
  display: block;
}

.header .navbar-item .project-menu {
  position: absolute;
  top: 44px;
  width: 100%;
  display: none;
  background: #ffffff;
  list-style-type: none;
  padding-inline-start: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

.header .navbar-item .dropdown-menu {
  position: absolute;
  top: 44px;
  width: 100%;
  display: none;
  background: #ffffff;
  list-style-type: none;
  padding-inline-start: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

.header .navbar-item .project-menu-item {
  color: #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-family: PingFangSC, PingFangSC-Regular;
  font-weight: 400;
  text-align: justify;
  padding: 0 10px 0 36px;
  text-decoration: none;
}

.header .navbar-item .dropdown-menu-item {
  color: #333333;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-family: PingFangSC, PingFangSC-Regular;
  font-weight: 400;
  text-align: justify;
  padding: 0 10px 0 20px;
}

.header .navbar-item .project-menu-item:hover {
  color: #ff5370;
}

.header .navbar-item .dropdown-menu-item:hover {
  color: #ff5370;
}

.header .navbar-item .project-menu-item:hover .arrow-right path {
  stroke: #ff5370;
}

.header .navbar-item .dropdown-menu-item:hover .arrow-right path {
  stroke: #ff5370;
}

.header .navbar-item .project-menu-item .icon {
  width: 28px;
  height: 28px;
}

.header .navbar-item .project-menu-item > span:nth-child(2) {
  flex: 1;
  padding-left: 4px;
  text-align: left;
}

.header .navbar-item .dropdown-menu-item > span:nth-child(1) {
  padding-left: 4px;
  text-align: left;
}

.header .navbar-item .dropdown-menu-item > span:nth-child(2) {
  padding-left: 10px;
  text-align: left;
}

.header .second-project {
  display: none;
  position: absolute;
  top: 0;
  left: 200px;
  width: 266px;
  height: 100%;
  background: #ffffff;
  overflow: auto;
}

.header .dropdown-project {
  display: none;
  position: absolute;
  top: 0;
  left: 125px;
  width: 500px;
  height: 300px;
  background: #ffffff;
}

.header .navbar-item .project-menu-item:hover .second-project {
  display: block;
  padding: 24px 45px;
}

.header .navbar-item .dropdown-menu-item:hover .dropdown-project {
  display: block;
  padding: 15px 0;
}

.header .second-project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.header .dropdown-project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.header .second-project-link {
  display: inline-block;
  padding: 0 16px;
  height: 25px;
  line-height: 25px;
  text-decoration: none;
  border: 1px solid #cdcdcd;
  border-radius: 12px;
  font-size: 12px;
  font-family: PingFangSC, PingFangSC-Regular;
  font-weight: 400;
  color: #666666;
  letter-spacing: 0.6px;
  background-color: #ffffff;
  width: 200px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header .dropdown-project-link {
  display: inline-block;
  padding: 0 16px;
  height: 25px;
  line-height: 25px;
  text-decoration: none;
  border: 1px solid #cdcdcd;
  border-radius: 12px;
  font-size: 12px;
  font-family: PingFangSC, PingFangSC-Regular;
  font-weight: 400;
  color: #666666;
  letter-spacing: 0.6px;
  background-color: #ffffff;
  width: 200px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header .second-project-link:hover {
  background-color: #ff5370;
  color: #ffffff;
  border: 1px solid transparent;
}

.header .dropdown-project-link:hover {
  background-color: #ff5370;
  color: #ffffff;
  border: 1px solid transparent;
}
