/* 搜索结果页：分类 Tab + 关键词标题（PC/H5 原型） */
.search-result-page .search-result-head {
  padding: 12px 0 8px;
  text-align: center;
}
.search-keyword-title {
  margin: 8px 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  word-break: break-word;
}
.search-type-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #2a2a2a;
  margin-bottom: 4px;
}
.search-type-tab {
  position: relative;
  display: inline-block;
  padding: 10px 4px 12px;
  font-size: 16px;
  color: #ccc;
  text-decoration: none;
  line-height: 1.2;
}
.search-type-tab:hover {
  color: #fff;
}
.search-type-tab.is-active {
  color: #f90;
  font-weight: 600;
}
.search-type-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #f90;
  border-radius: 2px 2px 0 0;
}
.search-post-wrap {
  padding-top: 8px;
}
.search-empty-tip {
  text-align: center;
  color: #888;
  padding: 48px 0;
  font-size: 14px;
}
.search-pagination {
  margin-top: 20px;
}

@media (max-width: 749.98px) {
  .search-keyword-title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .search-type-tabs {
    gap: 20px;
  }
  .search-type-tab {
    font-size: 15px;
    padding-bottom: 10px;
  }
}

/* 搜索建议已关闭，强制隐藏残留节点 */
#search-input-box .search-suggest-wrap,
.search-page-container .search-suggest-wrap {
  display: none !important;
  margin-bottom: 0;
}
#search-input-box .search-suggest-list,
.search-page-container .search-suggest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
#search-input-box .search-suggest-list a,
.search-page-container .search-suggest-list a {
  display: inline-block;
  padding: 6px 12px;
  background: #2a2a2a;
  color: #ddd;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#search-input-box .search-suggest-list a:hover,
.search-page-container .search-suggest-list a:hover {
  background: #3a3a2a;
  color: #f90;
}
