/* 
    文章栏目页 、 文章内容页
*/
.category-article .title h1{
    /*background: linear-gradient(90deg, #2f61e4, #8460e6);*/
    /*-webkit-background-clip: text;*/
    /*-webkit-text-fill-color: transparent;*/
    /*background-clip: text;*/
    /*margin-inline: auto;*/
}
.category-article .title .en{
    text-transform: uppercase;
}
.category-article .article-recommend{
    box-shadow: 1px 1px 10px #99999912;
    transition: all 0.3s ease-in-out;
}
.category-article .article-recommend:hover{
    box-shadow: 1px 1px 10px #99999954;
}
.category-article .article-recommend .img{
    width: 60%;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
}
.category-article .article-recommend .img img{
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}
.category-article .article-recommend .text{
    width: 40%;
    background-color: #F9FAFC;
    padding: 3rem;
}
.category-article .article-recommend .text .title{
    margin-top: auto;
}
.category-article .article-list .list{
    width: 100%;
    display: grid;
    grid-gap: 2rem;
    row-gap: 2rem;
    grid-template-columns: var(--grid-list-column-4);
}
.category-article .article-list .item{
    border: 1px solid #d8d8d8d1;
    box-shadow: 1px 1px 10px #99999947;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}
.category-article .article-list .item:hover{
    box-shadow: 1px 1px 10px #99999954;
}
.category-article .article-list .item>a{
    height: 100%;
}
.category-article .article-list .item .img{
    width: 100%;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.category-article .article-list .item .img img{
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}
.category-article .article-list .item .text{
    padding: 1rem;
    width: 100%;
    flex-grow: 1;
    background-color: #f9fafc;
}
.category-article .article-list .item .text .title{
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.4em;
    height: 2.9em;
}
.pagination-warp .screen-reader-text{
    display: none;
}
.pagination-warp .nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
} 
.pagination-warp .nav-links .page-numbers{
    font-size: 1.1rem;
    width: 2rem;
    aspect-ratio: 1 / 1;
    /* border: 1px solid; */
    text-align: center;
    line-height: 2rem;
    border-bottom: 1px dashed transparent;
    transition: all 0.2s;
} 
.pagination-warp .nav-links span.current,
.pagination-warp .nav-links .page-numbers:hover{
    border-bottom: 1px dashed #ccc;
}
/* 文章页面 */
.bread-crumbs a{
    margin-inline-end:6px;
    transition: all 0.2s ease-in-out;
    border-bottom: 1px dashed transparent;
    color: var(--color-gray);
}
.bread-crumbs a:hover{
    border-bottom: 1px dashed var(--color-blue);
}

.bread-crumbs a::after{
    content: "/";
    margin-inline-start: 5px;
}
.bread-crumbs a:last-child::after{
    content: "";
}
.article-post .content{
    flex-grow: 1;
}
.article-post .content .article-title{
    padding-bottom: .5rem;
    border-bottom: 1px solid #D8D8D8;
    position: relative;
}
.article-post .content .article-title .author{
    column-gap: 1rem;
}
.article-post .content .article-title .download{
    margin-left: auto;
    align-self: flex-end;
    position: relative;
}
.article-post .content .article-title .download .number{
    transform: translateY(-100%);
    padding: 4px 10px;
    border-radius: 5rem;
    color: #fff;
    background-image: linear-gradient(to right bottom, #017AFF, #5A00DE);
}
.article-post .content .article-title .download>a{
    transition: all .2s ease;
    border-bottom: 1px dashed var(--color-blue);
    font-style: italic;
    transition: all 0.2s ease;
}
.article-post .content .article-title .download>a:hover{
    color: var(--color-blue);
}
/* 文章内容默认样式定义 */
.article-post .article-detail a{
    color: var(--color-blue);
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    margin-inline: 1px;
}
.article-post .article-detail a:hover{
    text-decoration: underline;
}
.article-post .article-detail h1,
.article-post .article-detail h2,
.article-post .article-detail h3,
.article-post .article-detail h4,
.article-post .article-detail h5,
.article-post .article-detail h6,
.article-post .article-detail ul,
.article-post .article-detail p{
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    word-wrap: break-word;
    letter-spacing: .5px;
}
.article-post .article-detail h1{
    font-size: 2rem;
}
.article-post .article-detail h2{
    font-size: 1.65rem;
}
.article-post .article-detail h3{
    font-size: 1.3rem;
}
.article-post .article-detail h4{
    font-size: 1.25rem;
}
.article-post .article-detail h5{
    font-size: 1.1rem;
}
.article-post .article-detail h6{
    font-size: 1rem;
}
.article-post .article-detail p,
.article-post .article-detail img,
.article-post .article-detail div{
    max-width: 100%;
}
.article-post .article-detail img{
    margin: 1rem auto;
    border-radius: 5px;
    height: auto!important;
    display: block;
}
.article-post .article-detail ol,
.article-post .article-detail ul{
    list-style-type: unset;
}
.article-post .article-detail .bull{
    position: relative;
    padding-left: 1rem;
}
.article-post .article-detail .bull::before{
    position: absolute;
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--color-black);
    left: 0;
    top: 0.65em;
}

.article-post .article-detail .table{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.article-post .article-detail table{
    border-collapse: collapse;
    /*table-layout: fixed;*/
    text-align: center;
    border-color: #cccccc52;
    width: 100%;
}
.article-post .article-detail table th,
.article-post .article-detail table td{
    padding: 5px 10px;
    min-width: 80px;
    max-width: 50%;
}
.article-post .article-detail table tr th:first-child, 
.article-post .article-detail table tr td:first-child{
    /*width: 10%;*/
    min-width: 40px;
    max-width: 120px;
    background-color: var(--color-blue);
    color: #fff;
    position: sticky;
    left: 0;
}
.article-post .article-detail table tr {
    background-color: #fff;
}
.article-post .article-detail table tr:nth-child(2n+1) {
    background-color: #65cad224;
}

.article-post .article-tags{
    justify-content: end;
    color: var(--color-gray);
    column-gap: 5px;
}
.article-post .article-tags>a{
    color: var(--color-gray);
    transition: all 0.2s ease-in-out;
}
.article-post .article-tags>a:hover{
    color: var(--color-blue);
}
.article-post .article-nextprev{
    padding-top: 2rem;
    border-top: 1px dashed var(--color-blue);
    row-gap: 8px;
}
.article-post .article-nextprev a {
    transition: all 0.2s ease-in-out;
    border-bottom: 1px dashed transparent;
}
.article-post .article-nextprev a:hover {
    border-bottom: 1px dashed var(--color-blue);
    color: var(--color-blue);
}
.article-post .sidebar{
    width: 100%;
    max-width: 340px;
    margin-right: 3vw;
    flex-shrink: 0;
}
.article-post .sidebar .sticky{
    position: sticky;
    top: var(--nav-height);
    top:  calc(var(--nav-height) + 1rem ) ;
    
    
}
.article-post .sidebar .hot-articles {
    /*padding: 2rem ;*/
    /*box-shadow: 3px 3px 10px 0px rgba(7, 62, 107, 0.11);*/
}
.article-post .sidebar .hot-articles .list{
    row-gap: 10px;
}
.article-post .sidebar .hot-articles .item{
    column-gap: 5px;
    align-items: baseline;
}
.article-post .sidebar .hot-articles .item a{
    transition: all 0.2s ease-in-out;
    line-height: 1.3;
    /* border-bottom: 1px dashed transparent; */
}
.article-post .sidebar .hot-articles .item a:hover{
    /* border-bottom: 1px dashed var(--color-blue); */
    color: var(--color-blue);
}
.article-post .sidebar .hot-labels {
    /*padding: 2rem ;*/
    /*box-shadow: 3px 3px 10px 0px rgba(7, 62, 107, 0.11);*/
}
.article-post .sidebar .hot-labels .list{
    row-gap: 8px;
    column-gap: 4px;
}
.article-post .sidebar .hot-labels .item{
    box-sizing: border-box;
    background-color: transparent;
    border-radius: 2px;
    /*color: #fff;*/
    /*opacity: 0.7;/*/
    width: calc( (100% - 8px) / 3);
    font-size: calc( (12 / 14 ) * var(--font-size-root) );
    overflow: hidden;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.article-post .sidebar .hot-labels .item:nth-child(5n+1){
    color: #f39f3d;
    background-color: #f39f3d2b;
}
.article-post .sidebar .hot-labels .item:nth-child(5n+2){
    color: #ea4c31;
    background-color: #ea4c312b;
}
.article-post .sidebar .hot-labels .item:nth-child(5n+3){
    color: #5a2e8f;
    background-color: #5a2e8f2b;
}
.article-post .sidebar .hot-labels .item:nth-child(5n+4){
    color: #00a549;
    background-color: #00a5492b;
}
.article-post .sidebar .hot-labels .item:nth-child(5n+5){
    color: #00a5ad;
    background-color: #00a5ad2b;
}
/* 相关产品 */
.article-related-product{
    background-color: #f7f7f7;
    overflow-x: hidden;
}
.article-related-product .related-product-container {
    position: relative;
}
.article-related-product .list {
    row-gap: 2rem;
    width: 100%;
    column-gap: 2rem;
}
.article-related-product .list .item {
    width: calc((100% - 6rem) / 4);
    background-color: #fff;
}
.article-related-product .related-product-container .swiper-button-next,
.article-related-product .related-product-container .swiper-button-prev {
    color: var(--color-blue);
    position: absolute;
    right: 0;
    left: unset;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 40px;
    background-color: #f5f5f7;
    transform: translate(100%, 150%);
    border: 1px solid var(--color-blue);
    box-shadow: 0px 1px 10px #00000030;
}
.article-related-product .related-product-container .swiper-button-next:after,
.article-related-product .related-product-container .swiper-button-prev:after {
    font-size: 1rem;
}
.article-related-product .related-product-container .swiper-button-prev,
.article-related-product .related-product-container .swiper-rtl .swiper-button-next {
    transform: translate(calc(100% - 2rem), -150%);

}
.article-related-product .related-product-container .swiper-button-next,
.article-related-product .related-product-container .swiper-rtl .swiper-button-prev {
    transform: translate(calc(100% + 2rem), -150%);
}

/*post template*/

.single-template .template-banner .bg {
    /*aspect-ratio: 1920 / 379;*/
}
.single-template .template-banner .content{
    align-items: center;
    padding-top: calc( var(--nav-height) * var(--zoom-ratio) );
    position: relative;
}
.single-template .template-banner .content::after {
    inset: 0;
    position: absolute;
    content: '';
    background-image: linear-gradient(to right bottom, #017AFF, #5A00DE);
    opacity: 0.9;
    backdrop-filter: blur(1px);
    pointer-events: none;
}
.single-template .template-banner .container{
    width: 100%;
    position: relative;
    z-index: 1;
    column-gap: 10%;
}

.single-template .template-banner .content .ctas{
    column-gap: 2rem;
    margin-top: calc( 3rem * var(--zoom-ratio));
    font-size: 1.1rem;
}
.single-template .template-banner .content .ctas>a{
    border: 1px solid #FF7500;
    padding: 8px 3rem;
    transition: all .2s ease;
    border-radius: 5px;
    color: #fff;
    background-color: #FF7500;
    display: inline-block;
    transition: all 0.2s ease;
}
.single-template .template-banner .content .ctas>a:hover{
    transform: translateY(-3px);
}
.single-template .template-banner .content .ctas>a:nth-child(1){
    background-color: #f17811;
    border: 1px solid #f17811;
}

.single-template .template-banner .content .text,
.single-template .template-banner .content .img{
    width: 45%;
}
.single-template .template-banner .content .img .swiper{
    width: 100%;
    overflow: hidden;
}
.single-template .template-banner .content .img .swiper-slide>img{
    border-radius: 10px;
    display: block;
}

.single-template .template-banner .content .feature-list{
    column-gap: 10%;
    row-gap: 1rem;
}
.single-template .template-banner .content .feature-list>li{
    width: 45%;
    position: relative;
    padding-left: 12px;
    opacity: 0.9;
}
.single-template .template-banner .content .feature-list>li::before{
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff;
    content: '';
    border-radius: 6px;
    left: 0;
    top: 8px;
}