.ask-head-box {
  width: 100%;
  padding-top: 99px;
  padding-bottom: 99px;
  background-image: url(../images/ask/header_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: -24rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.ask-head-box .header-img {
  margin-top: -64px;
}
.ask-head-box .header-img-1 {
  margin-right: 20px;
  width: 240px;
  height: 240px;
}
.ask-head-box .header-img-3 {
  width: 126px;
  height: 126px;
  margin-top: 8px;
  margin-left: 30px;
}
.ask-head-box .header-img-2 {
  margin-bottom: -151px;
  right: 49px;
  width: 172px;
  height: 172px;
}

/* 登录后样式 */
.ask-head-box.login {
  padding-bottom: 56px;
}

.ask-head-box.login .ask-count-box {
  display: none;
}

.ask-head-box.login .header-img {
  margin-top: -80px;
}

.ask-head-box.login .header-img .header-img-1 {
  width: 180px;
  height: 180px;
}

.ask-head-box.login .header-img .header-img-3 {
  width: 93px;
  height: 93px;
  margin-left: 0;
}

.ask-head-box.login .header-img .header-img-2 {
  margin-bottom: -95px;
  right: 37px;
  width: 126px;
  height: 126px;
}

.ask-head-box .ask-head-title {
  font-size: 56px;
}

.ask-head-box .ask-head-text {
  font-size: 32px;
  line-height: 2.5;
  font-weight: bold;
}

.add-ask-btn {
  padding: 28px 73px;
  border-radius: 73px;
  font-weight: bold;
  font-size: 18px;
}

.ask-count-block {
  background: rgb(248 248 248 / 16%);
  border-radius: 10px;
  width: 100%;
  max-width: 637px;
  padding-right: 195px;
  padding-left: 15px;
  margin-right: 169px;
}

.ask-head-box .ask-count {
  height: 123px;
}

@media screen and (max-width: 1000px) {
  .ask-head-box {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .ask-head-box .ask-head-title,
  .ask-head-box .ask-head-text {
    text-align: center;
  }

  .ask-head-box .ask-head-title {
    font-size: 32px;
  }

  .ask-head-box .ask-head-text {
    font-size: 16px;
    line-height: 2.5;
  }

  .ask-head-box .header-img {
    display: none;
  }

  .ask-head-box .ask-count-box {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    gap: 30px;
  }

  .ask-head-box .ask-count {
    height: 56px;
  }

  .ask-head-box .add-ask {
    order: 2;
  }

  .ask-head-box .ask-count-block {
    order: 1;
    padding-right: 15px;
    margin-right: 0;
    width: 300px;
  }

  .add-ask-btn {
    padding: 18px 60px;
  }
}

.wenda-question {
  min-height: 164px;
  border-radius: 10px;
  border: 1px solid #d1d1d1;
}

.qa-list-box .swiper-slide {
  width: 390px;
  margin-right: 15px;
}

.qa-list-box .qa-card {
  background-image: url(../images/ask/ask_card_bg.png);
  background-size: 96px 78px;
  background-repeat: no-repeat;
  background-position: top right;
}

.qa-list-box .qa-list-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

.qa-search-container {
  position: relative;
}

.qa-search-container::before {
  display: block;
  position: absolute;
  z-index: 0;
  content: '';
  height: 634px;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(../images/ask/list_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.qa-search-container .qa-search-box {
  position: relative;
  z-index: 1;
}

.qa-search-box .tag-item {
  border-radius: 20px;
  padding: 3px 15px;
  cursor: pointer;
  color: var(--color-text-secondary);
}

.qa-search-box .tag-item.active {
  background-color: var(--color-primary);
  color: white;
}

.classify-list-item {
  padding: 15px 0;
  gap: 10px;
}

.classify-list-item {
  border: 1px solid transparent;
  position: relative;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.classify-list-item.active {
  border-color: var(--color-primary);
  color: black;
}

.classify-list-item .classify-item-icon,
.classify-list-item.active .classify-item-icon.active {
  display: block;
}

.classify-list-item.active .classify-item-icon,
.classify-list-item .classify-item-icon.active {
  display: none;
}

.classify-list-item.active::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -33px;
  left: 50%;
  border-width: 20px 20px 0 0;
  border-style: solid;
  border-color: white;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: translateX(-50%) rotate(45deg);
}

.hot-tags .hot-tags-item {
  white-space: nowrap;
}

.hot-tags .hot-tags-item.active {
  background-color: var(--color-primary);
  color: white;
}

/* 全部标签选择 */
.select-pop-box {
  top: 45px;
  width: 300px;
  display: none;
}

.select-pop-box .layui-select-title {
  position: relative;
  z-index: 10000;
  width: calc(100% - 2px);
  margin-left: 1px;
}

.select-pop-box .layui-select-title .layui-edge {
  display: none;
}

.select-pop-box .layui-anim {
  display: block !important;
  margin-top: -43px;
  padding-top: 40px;
}

/* 比赛分类详情 */
.category-matches-detail .match-list-item {
  background: none;
}

.category-matches-detail .match-list-item .match-date-type {
  background-image: none;
  background-color: rgba(185, 185, 185, 0.2);
}

/* 球员分类详情 */
.category-player-detail .player-tag-item {
  background-color: rgba(221, 221, 221, 0.2);
}

.popular-answerers {
  background-image: url(../images/ask/popular_answerers_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.answerers-list-box .swiper-slide {
  width: 390px;
  margin-right: 15px;
}

.answerers-list-box .answerers-list-pagination .swiper-pagination-bullet {
  background: white;
}

.answerers-list-box .answerers-list-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

.answerers-list-box .follow-btn {
  padding: 5px 15px;
}

@media screen and (max-width: 767px) {
  .classify-list {
    gap: 10px;
  }

  .classify-list .classify-list-item {
    padding: 5px 0;
    flex-direction: column;
    gap: 2px;
  }

  .classify-list .classify-list-item .classify-item-icon {
    width: 20px;
    height: 20px;
  }

  .classify-list .classify-list-item .classify-item-name {
    font-size: 14px;
    font-weight: normal;
  }
}
