.rel {
  position: relative;
}
.abs {
  position: absolute;
}
.fixed {
  position: fixed;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.regular {
  font-family: "regular";
}
.medium {
  font-family: "medium";
}
.flex {
  display: flex;
  display: -webkit-box;
  /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
  display: -moz-box;
  /* Firefox 17- */
  display: -webkit-flex;
  /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
  display: -moz-flex;
  /* Firefox 18+ */
  display: -ms-flexbox;
  /* IE 10 */
}
.flex-wrap {
  flex-flow: wrap;
}
.flex-between {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.inline-block {
  display: inline-block;
}
.block {
  display: block;
}
.hide {
  display: none;
}
.txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 一行省略溢出显示省略号*/
.bold {
  font-weight: 700;
}
.txt-center {
  text-align: center;
}
.txt-left {
  text-align: left;
}
.txt-right {
  text-align: right;
}
.ss span {
  position: relative;
  z-index: 1;
}
.ss i {
  display: block;
  -moz-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
}
.ss i:before {
  position: relative;
  content: '';
  display: block;
  margin-top: 100%;
}
.ss i:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 50%;
}
.ss:hover i {
  -moz-animation: anim-out 0.75s;
  -webkit-animation: anim-out 0.75s;
  animation: anim-out 0.75s;
}
.ss:hover i:after {
  -moz-animation: anim-out-pseudo 0.75s;
  -webkit-animation: anim-out-pseudo 0.75s;
  animation: anim-out-pseudo 0.75s;
}
.img_rotate {
  -moz-animation: rotate 15s infinite linear;
  -webkit-animation: rotate 15s infinite linear;
  animation: rotate 15s infinite linear;
}
@-moz-keyframes rotate {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(-360deg);
  }
}
@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-360deg);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
.linear {
  transition-timing-function: linear;
  -o-transition-timing-function: linear;
  -moz-transition-timing-function: linear;
  -webkit-transition-timing-function: linear;
}
.ease {
  transition-timing-function: ease;
  -o-transition-timing-function: ease;
  -moz-transition-timing-function: ease;
  -webkit-transition-timing-function: ease;
}
.ease-in {
  transition-timing-function: ease-in;
  -o-transition-timing-function: ease-in;
  -moz-transition-timing-function: ease-in;
  -webkit-transition-timing-function: ease-in;
}
.ease-out {
  transition-timing-function: ease-out;
  -o-transition-timing-function: ease-out;
  -moz-transition-timing-function: ease-out;
  -webkit-transition-timing-function: ease-out;
}
.ease-in-out {
  transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  -moz-transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
}
@-webkit-keyframes anim-out {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@-moz-keyframes anim-out {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@-ms-keyframes anim-out {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes anim-out {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@-webkit-keyframes anim-out-pseudo {
  0% {
    background: rgba(0, 0, 0, 0.25);
  }
  100% {
    background: 0 0;
  }
}
@-moz-keyframes anim-out-pseudo {
  0% {
    background: rgba(0, 0, 0, 0.25);
  }
  100% {
    background: 0 0;
  }
}
@-ms-keyframes anim-out-pseudo {
  0% {
    background: rgba(0, 0, 0, 0.25);
  }
  100% {
    background: 0 0;
  }
}
@keyframes anim-out-pseudo {
  0% {
    background: rgba(0, 0, 0, 0.25);
  }
  100% {
    background: 0 0;
  }
}
@keyframes fadeOfOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes am_top {
  0% {
    -webkit-transform: translate(0, 30px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes am_top {
  0% {
    -webkit-transform: translate(0, 30px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes am_left {
  0% {
    -webkit-transform: translate(30px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes am_left {
  0% {
    -webkit-transform: translate(30px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes am_right {
  0% {
    -webkit-transform: translate(-30px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes am_right {
  0% {
    -webkit-transform: translate(-30px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
.before {
  opacity: 0;
  visibility: hidden;
}
.after {
  opacity: 1;
  visibility: visible;
}
.upper {
  text-transform: uppercase;
}
.middle {
  vertical-align: middle;
}
.background {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.coverbackground {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.search-wrapper {
  border-top: 1px solid #eee;
}
.search-wrapper .result {
  margin-bottom: 0.2rem;
}
.search-wrapper .result span {
  display: inline-block;
  font-size: var(--fs16);
  margin-right: 0.3rem;
  line-height: 0.48rem;
}
.search-wrapper .result b {
  display: inline-block;
  margin: 0 4px;
  color: #29a4ff;
  font-weight: 700;
  text-decoration: underline;
}
.search-wrapper .tips {
  text-align: center;
  font-size: var(--fs18);
  line-height: 30px;
  margin: 0.48rem auto 0;
}
.search-wrapper .tips b {
  font-weight: 700;
  color: #29a4ff;
}
.search-wrapper .list ul {
  list-style-type: none;
  display: flex;
  display: -webkit-box;
  /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
  display: -moz-box;
  /* Firefox 17- */
  display: -webkit-flex;
  /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
  display: -moz-flex;
  /* Firefox 18+ */
  display: -ms-flexbox;
  /* IE 10 */
  flex-flow: wrap;
  margin-bottom: 0;
}
.search-wrapper .list li {
  position: relative;
  list-style: none;
  width: calc((100% - .8rem) / 3);
  margin-right: 0.4rem;
  margin-top: 0.3rem;
  border: 1px solid #eee;
  border-radius: 5px;
  transition: all 0.48s;
  -o-transition: all 0.48s;
  -moz-transition: all 0.48s;
  -webkit-transition: all 0.48s;
}
.search-wrapper .list li:hover {
  border-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.search-wrapper .list li:hover .title {
  color: #29a4ff;
}
.search-wrapper .list li:hover p:before {
  color: #000;
}
.search-wrapper .list li:hover p:after {
  opacity: 1;
  visibility: visible;
  transform: translateX(0px);
  -o-transform: translateX(0px);
  -moz-transform: translateX(0px);
  -webkit-transform: translateX(0px);
}
.search-wrapper .list li a {
  padding: 0.2rem 0.3rem;
  display: block;
}
.search-wrapper .list .title {
  font-size: var(--fs18);
  color: #000;
  line-height: 24px;
  transition: color 0.3s;
  -o-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  /* 多行省略溢出显示省略号*/
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.search-wrapper .list p {
  text-align: right;
  font-size: 0;
  margin-top: 0.2rem;
}
.search-wrapper .list p:before {
  transition: all 0.48s;
  -o-transition: all 0.48s;
  -moz-transition: all 0.48s;
  -webkit-transition: all 0.48s;
  vertical-align: middle;
  content: "MORE";
  font-size: var(--fs16);
  color: #666;
}
@media screen and (min-width: 1004px) {
  .search-wrapper .list li:nth-child(-n+3) {
    margin-top: 0;
  }
  .search-wrapper .list li:last-child,
  .search-wrapper .list li:nth-child(3n) {
    margin-right: 0;
  }
}
@media (max-width: 1004px) {
  .search-wrapper .result {
    margin-bottom: 0.3rem;
  }
  .search-wrapper .result span {
    font-size: var(--fs14);
    margin-right: 0.48rem;
  }
  .search-wrapper .list li {
    width: 100%;
    margin-right: 0;
    margin-top: 0.3rem;
  }
  .search-wrapper .list li:first-child {
    margin-top: 0;
  }
  .search-wrapper .list li a {
    padding: 0.3rem;
  }
  .search-wrapper .list .title {
    font-size: var(--fs18);
    line-height: 0.48rem;
    margin-right: 0.6rem;
  }
  .search-wrapper .list p:before {
    color: #333;
  }
  .search-wrapper .list p:after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    -o-transform: translateX(0);
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    width: 0.2rem;
    height: 0.2rem;
  }
}

/* ===== 搜索结果页专属（从 search.html 提取） ===== */
.search-page{background:#f5f7fb;padding:40px 0 60px;}
.search-page__wrap{max-width:1200px;margin:0 auto;padding:0 20px;}
.search-page__header{background:#fff;border-radius:12px;padding:30px 36px;margin-bottom:24px;box-shadow:0 4px 20px rgba(0,0,0,.06);}
.search-page__title{font-size:20px;color:#1a2332;margin:0 0 16px;font-weight:600;}
.search-page__title span{color:#29a4ff;}
.search-page__form{display:flex;gap:12px;max-width:600px;}
.search-page__form input{flex:1;height:46px;padding:0 18px;border:1px solid #e2e8f0;border-radius:23px;font-size:14px;outline:none;transition:border-color .2s;}
.search-page__form input:focus{border-color:#29a4ff;box-shadow:0 0 0 3px rgba(41,164,255,.12);}
.search-page__form button{height:46px;padding:0 28px;background:linear-gradient(135deg,#29a4ff,#1a8fe0);color:#fff;border:none;border-radius:23px;font-size:14px;cursor:pointer;transition:all .2s;}
.search-page__form button:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(41,164,255,.3);}
.search-result{background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.06);overflow:hidden;}
.search-result__item{padding:22px 36px;border-bottom:1px solid #f0f2f6;display:flex;gap:20px;transition:background .2s;}
.search-result__item:last-child{border-bottom:none;}
.search-result__item:hover{background:#f8fafd;}
.search-result__ico{flex:0 0 120px;height:90px;border-radius:8px;overflow:hidden;background:#eef2f7;}
.search-result__ico img{width:100%;height:100%;object-fit:cover;}
.search-result__content{flex:1;min-width:0;}
.search-result__title{font-size:16px;margin:0 0 6px;line-height:1.4;}
.search-result__title a{color:#1a2332;text-decoration:none;}
.search-result__title a:hover{color:#29a4ff;}
.search-result__title em{color:#e74c3c;font-style:normal;background:#fff3cd;padding:0 2px;border-radius:2px;}
.search-result__desc{font-size:13px;color:#64748b;line-height:1.7;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.search-result__desc em{color:#e74c3c;font-style:normal;background:#fff3cd;padding:0 2px;border-radius:2px;}
.search-result__meta{font-size:12px;color:#94a3b8;}
.search-result__meta span{margin-right:16px;}
.search-result__sort{background:#e8f4ff;color:#29a4ff;padding:2px 10px;border-radius:10px;font-size:11px;}
.search-empty{text-align:center;padding:80px 20px;color:#94a3b8;}
.search-empty i{font-size:60px;margin-bottom:16px;color:#cbd5e1;}
.search-empty p{font-size:15px;margin:0;}
.pagebar{text-align:center;padding:30px 0;}
@media (max-width:768px){
    .search-page__header,.search-result__item{padding:20px;}
    .search-result__item{flex-direction:column;}
    .search-result__ico{flex:none;width:100%;height:160px;}
    .search-page__form{flex-direction:column;}
    .search-page__form button{width:100%;}
}
