/*
@type search-results

*/
.search-results-banner{
    position: relative;
    height: 26vw;  /* 基于 图片 1920*500 计算高度值 */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.search-results-banner .bg{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 46, 87,.7);
}
.products-search-area .search-count span{
    color: var(--color-highlight);
}
.products-search-area .product-list{
    column-gap: 2rem;
    row-gap: 2rem;
}
.products-search-area .item{
    height: 180px;
    border: 1px solid #ededed;
    width: calc((100% - 2rem)/2);
    padding: 1rem;
    column-gap: 2rem;
    /*box-shadow: 1px 1px 6px 0px rgba(0,0,0,.1);*/
    border-radius: 10px;
}
.products-search-area .item img{
    max-height: 100%;
    transition:  all 0.3s;
}
.products-search-area .item:hover img{
    transform: scale(1.1);
}
.products-search-area .item .text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
}

.products-search-area .item .text h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.2em;
    max-height: 2.4em;
}
.products-search-area .item .text p {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.2em;
    max-height: 3.6em;
}
.products-search-area .item .text p.tags{
    font-style: italic;
}


.posts-search-area .posts-count span{
    color: var(--color-highlight);
}
.posts-search-area .posts-list{
    column-gap: 1rem;
    row-gap: 2rem;
}
.posts-search-area .item{
    width: calc((100% - 3rem)/4);
    background-color: #fff;
    padding: 1rem;
    box-shadow: 1px 1px 4px 0px rgba(0,0,0,.05);
    border-radius: 5px;
    border: 1px solid #efefef;
}
.posts-search-area .item>a{
   margin-top: auto;
}
.posts-search-area .item .title{
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.2em;
    max-height: 2.4em;
    margin-top: 1rem;
}
.posts-search-area .posts-list li img{
    transition: all 0.3s;
    height: auto;
    max-height: 156px;
    display: block;
    margin: 0 auto;
}
.posts-search-area .posts-list li:hover img{
    transform: scale(1.05);
}

.search-pagination .screen-reader-text{
    display: none;
}
.search-pagination .nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-pagination .nav-links>*{
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    margin: 0 10px;
}
.search-pagination .nav-links span{
    font-family: var(--font-bold);
    color: var(--color-highlight);
}
.search-pagination .nav-links a{
    border-bottom: 2px solid var(--color-highlight);
    /*border-radius: 2px;*/
}






















