@charset "utf-8";
/*
 * 头部导航搜索弹窗内的「热门搜索」词（先歌 XianGeCMS）
 * 独立文件，不修改模板自带 style.css；胶囊样式与 /search 搜索页保持一致
 * 尺寸基准：1920 设计稿 vw（与全站 style.css 相同）
 */

.header .search_box .hot {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  margin-top: 1.0417vw;
}
.header .search_box .hot .label {
  font-size: 0.7292vw;
  color: #888888;
  white-space: nowrap;
}
.header .search_box .hot a {
  display: block;
  height: 1.5625vw;
  line-height: 1.4583vw;
  padding: 0 0.7292vw;
  margin: 0.2604vw 0 0 0.5208vw;
  background: #FFFFFF;
  border: 1px solid #E8ECF3;
  border-radius: 0.7812vw;
  font-size: 0.7292vw;
  color: #666666;
  white-space: nowrap;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.header .search_box .hot a:hover {
  color: #FFFFFF;
  background: #9F1C20;
  border-color: #9F1C20;
}

/* 移动端：固定 px，保持一行可点、标签能换行 */
@media screen and (max-width: 768px) {
  .header .search_box .hot {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    margin-top: 10px;
  }
  .header .search_box .hot .label,
  .header .search_box .hot a {
    font-size: 12px;
  }
  .header .search_box .hot a {
    height: 28px;
    line-height: 26px;
    padding: 0 12px;
    margin: 6px 0 0 8px;
    border-radius: 14px;
  }
}
