/* 自定义下拉菜单样式 */
.custom-dropdown {
  position: relative;
  display: inline-block;
}

.custom-dropdown-toggle {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.custom-dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 5px 6px 0px rgba(0, 0, 0, 0.16);
  z-index: 1000;
  border-radius: 0 0 8px 8px;
  padding: 5px 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px;
}

.custom-dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-dropdown-menu li + li {
  margin-top: 8px;
}

.custom-dropdown-menu a {
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  background-color: #f9f9f9;
  text-align: center;
  color: #565656;
}

.custom-dropdown-menu a:hover {
  background-color: #CAEAD4;
}

.custom-dropdown-menu a.active {
  background-color: #4fb96f;
  color: white;
}

/* 悬停激活下拉菜单 */
.custom-dropdown:hover .custom-dropdown-menu {
  display: block;
}

/* 激活状态 */
.custom-dropdown.active .custom-dropdown-toggle {
  color: #4fb96f;
  font-weight: bold;
}
@media screen and (min-width:320px) and (max-width:768px) {
  .custom-dropdown {
    display: none !important;
  }
}