@charset "UTF-8";

/* 现代明亮配色导航栏 */
.cm-navbar {
  background: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.cm-navbar .navbar-nav .nav-link {
  font-size: 18px;
  padding-left: 16px;
  padding-right: 16px;
  color: #374151;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.cm-navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #8B5CF6, #EC4899);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.cm-navbar .navbar-nav .nav-link:hover {
  color: #8B5CF6;
}

.cm-navbar .navbar-nav .nav-link:hover::after {
  width: 80%;
}

.cm-navbar .navbar-nav .nav-link.active {
  color: #8B5CF6;
  font-weight: 600;
}

.cm-navbar .navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav-scroll {
  max-width: 100%;
  height: 2.5rem;
  /*margin-top: .25rem;*/
  overflow: hidden;
}

.navbar-nav-scroll .navbar-nav {
  /*padding-bottom: 2rem;*/
  overflow-x: auto;
  white-space: nowrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  -webkit-overflow-scrolling: touch;
}

.cm-hidden {
  display: none;
}

.cm-pointer {
  cursor: pointer;
}

.cm-ff-yh {
  font-family: "Microsoft YaHei", 微软雅黑, "MicrosoftJhengHei", serif;
}

.cm-block-head-bottom {
  border-bottom: solid 3px;
  border-image: linear-gradient(90deg, #8B5CF6, #EC4899) 1;
  display: inline-block;
  padding-bottom: 0.4rem;
  font-weight: 600;
}

.cm-trans-bottom {
  width: 100%;
  bottom: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
}

.cm-media-img {
  max-width: 180px;
  max-height: 120px;
}

@media screen and (max-width: 767px) {
  .cm-media-img {
    max-width: 120px;
    max-height: 80px;
  }
}
.cm-link {
  color: #1F2937;
  transition: all 0.3s ease;
  text-decoration: none;
}
.cm-link:hover {
  color: #8B5CF6;
  text-decoration: none;
}

.es-highlight em {
  color: #EC4899;
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  padding: 2px 4px;
  border-radius: 3px;
}