/* 搜索结果页 / 标签页 共用样式（卡片列表沿用 .screen-blog 的 component-list8） */
.screen-search .search-hero{
  margin:24px 0 32px;
  padding:40px 48px;
  border:1px solid var(--theme-line,#DDE2EC);
  border-radius:16px;
  background:linear-gradient(180deg,#fff 0%,var(--theme-background-soft,#F4F6FB) 100%);
}
.screen-search .search-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  color:var(--theme-accent-strong,#4355B9);
  font-size:13px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.screen-search .search-hero__eyebrow::before{
  content:"";
  width:24px;
  height:2px;
  background:currentColor;
}
.screen-search .search-hero__title{
  margin:0;
  color:var(--theme-heading,#17213B);
  font-size:32px;
  font-weight:700;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.screen-search .search-hero__title em{
  font-style:normal;
  color:var(--theme-accent-strong,#4355B9);
}
.screen-search .search-hero__meta{
  margin:12px 0 0;
  color:var(--theme-text-muted,#5D687D);
  font-size:15px;
  line-height:1.6;
}
.screen-search .search-hero__intro{
  max-width:880px;
  margin:16px 0 0;
  color:var(--theme-text,#303A50);
  font-size:16px;
  line-height:1.7;
}
.screen-search .search-hero__intro p{margin:0 0 8px}

/* 搜索框 */
.screen-search .search-form{
  display:flex;
  gap:12px;
  max-width:720px;
  margin:24px 0 0;
}
.screen-search .search-form__input{
  flex:1 1 auto;
  min-width:0;
  height:52px;
  padding:0 20px;
  border:1px solid var(--theme-line,#DDE2EC);
  border-radius:12px;
  background:#fff;
  color:var(--theme-heading,#17213B);
  font-size:16px;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.screen-search .search-form__input:focus{
  outline:none;
  border-color:var(--theme-accent-strong,#4355B9);
  box-shadow:0 0 0 3px rgba(67,85,185,.15);
}
.screen-search .search-form__btn{
  flex:0 0 auto;
  height:52px;
  padding:0 32px;
  border:1px solid var(--theme-accent-bg,#4355B9);
  border-radius:12px;
  background:var(--theme-accent-bg,#4355B9);
  color:#fff;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease;
}
.screen-search .search-form__btn:hover{
  background:var(--theme-accent-deep,#2F3D91);
  border-color:var(--theme-accent-deep,#2F3D91);
}
.screen-search .search-form__btn:focus-visible{
  outline:2px solid var(--theme-accent-deep,#2F3D91);
  outline-offset:2px;
}

/* 标签云（相关标签） */
.screen-search .tag-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  margin:20px 0 0;
  padding:0;
  list-style:none;
}
.screen-search .tag-pills a{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 16px;
  border:1px solid var(--theme-line,#DDE2EC);
  border-radius:999px;
  background:#fff;
  color:var(--theme-text-muted,#5D687D);
  font-size:14px;
  text-decoration:none;
  transition:border-color .2s ease,background-color .2s ease,color .2s ease;
}
.screen-search .tag-pills a:hover{
  border-color:var(--theme-accent-strong,#4355B9);
  background:var(--theme-accent-bg,#4355B9);
  color:#fff;
}

/* 列表标题行 */
.screen-search .search-results__head{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 16px;
}
.screen-search .search-results__head::before{
  content:"";
  width:4px;
  height:20px;
  border-radius:2px;
  background:var(--theme-accent-strong,#4355B9);
}
.screen-search .search-results__title{
  margin:0;
  color:var(--theme-heading,#17213B);
  font-size:20px;
  font-weight:700;
}

/* 产品图多为白底方图：完整显示，不裁切 */
.screen-search .component-list8 .media-frame{background:#fff}
.screen-search .component-list8 .media-frame.is-product img{object-fit:contain}

/* 空结果 */
.screen-search .search-empty{
  margin:0 0 64px;
  padding:48px 32px;
  border:1px dashed var(--theme-line,#DDE2EC);
  border-radius:16px;
  background:#fff;
  text-align:center;
}
.screen-search .search-empty__title{
  margin:0 0 8px;
  color:var(--theme-heading,#17213B);
  font-size:20px;
  font-weight:700;
}
.screen-search .search-empty__text{
  margin:0 0 24px;
  color:var(--theme-text-muted,#5D687D);
  font-size:15px;
  line-height:1.6;
}
.screen-search .search-empty__links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}
.screen-search .search-empty__links a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 24px;
  border:1px solid var(--theme-line,#DDE2EC);
  border-radius:12px;
  color:var(--theme-text,#303A50);
  font-size:15px;
  text-decoration:none;
  transition:border-color .2s ease,color .2s ease,background-color .2s ease;
}
.screen-search .search-empty__links a:hover{
  border-color:var(--theme-accent-strong,#4355B9);
  color:var(--theme-accent-strong,#4355B9);
}
.screen-search .search-empty__links a.is-primary{
  border-color:var(--theme-accent-bg,#4355B9);
  background:var(--theme-accent-bg,#4355B9);
  color:#fff;
}
.screen-search .search-empty__links a.is-primary:hover{
  border-color:var(--theme-accent-deep,#2F3D91);
  background:var(--theme-accent-deep,#2F3D91);
  color:#fff;
}

@media (max-width:1024px){
  .screen-search .search-hero{padding:32px}
  .screen-search .search-hero__title{font-size:28px}
}
@media (max-width:768px){
  .screen-search .search-hero{margin:16px 0 24px;padding:24px 16px;border-radius:12px}
  .screen-search .search-hero__title{font-size:24px}
  .screen-search .search-form{flex-direction:column;gap:8px}
  .screen-search .search-form__input,
  .screen-search .search-form__btn{width:100%;height:48px}
  .screen-search .search-empty{padding:32px 16px}
}
@media (prefers-reduced-motion:reduce){
  .screen-search .search-form__input,
  .screen-search .search-form__btn,
  .screen-search .tag-pills a,
  .screen-search .search-empty__links a{transition:none}
}
