/*
Theme Name: Rxlibra官方主题
Theme URI: htts://rxlibra.com
Author: WordPress 日记
Author URI: htts://www.wp-diary.com
*/
*{
    box-sizing:border-box !important;
    padding: 0;
    margin: 0; 
    outline:none;
}
html{
    scroll-behavior: smooth;
}
.container{
    max-width: 1332px;
    padding: 0 16px;
    margin: 0 auto;
}
.small-container{
    max-width: 1012px;
    padding: 0 16px;
    margin: 0 auto;
}
ul, ol{
    list-style: none;
}
a{
    text-decoration: none;
    color: #77808d;
}
body{
    font-family: "Open Sauce One", sans-serif;
    color: #77808d;
    font-size: 14px;
}
.maximg img{
    display: block;
    width: 100%;
    height: auto;
}
.amplify-img{
    overflow: hidden;
    display: block;
}
.amplify-img img {
    display: block;
    transition: all ease .4s;
}
.amplify-img img:hover{
    transform: scale(1.1);
}
/*头部样式*/
.web-header{
    background: #fff;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #e6e8ea;
}
.admin-bar .web-header{
    top:32px
}
.header-main-inner{
    padding-top:12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo a{
    display: block;
}
.logo a img{
    display: block;
    height: 24px;
    width: auto;
}
.searchform .search-input{
    width: 700px;
    height: 40px;
    line-height: 40px;
    background: #f4f5f6;
    border:none;
    border-radius: 5px;
    padding: 0 70px 0 20px;
    display: block;
    font-family: "Open Sauce One", sans-serif !important;
    color: #0e0f11;
}
.searchform{
    position: relative;
    margin: 5px 24px;
}
.search-submit{
    position: absolute;
    top:0;
    right:0;
    z-index: 2;
    height: 40px;
    width: 50px;
    text-align: center;
    background: none;
    border:none;
    border-radius: 5px;
    cursor: pointer;
}
.search-submit i{
    font-size: 18px;
    color: #999;
}
.top-menu-icon i{
    display: block;
    font-size: 28px;
    color: #0e0f11;
}
.top-menu{
    position: relative;
}
.top-menu-wrap{
    position: absolute;
    right:0;
    z-index: 999;
    background: #fff;
    border:1px solid #e6e8ea;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(129, 129, 129, 0.23);
    padding: 10px;
}
.main-menu li{
    padding: 12px;
    background: #fff;
    border-radius: 5px;
}
.main-menu li:hover{
    background: #f4f5f6;
}
.main-menu li a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #77808d;
    min-width: 220px;
}
.main-menu li a::after{
    content: '\e632';
    font-family: "iconfont" !important;
    color: #77808d;
    display: block;
    transform: rotate(-90deg);
}
.main-menu li:hover a, .main-menu li:hover a::after{
    color: #6733cc;
}
/*横向滑动菜单*/
.menu-swiper-wrap{
    margin: 0 -15px;
    position: relative;
    display: flex;
    align-items: center;
}
.menu-swiper {
    width: 100%;
    overflow: hidden;
    flex: 1;
}
.menu-swiper .swiper-slide {
    width: auto;          /* 关键 */
    padding: 0;
    white-space: nowrap;
    cursor: pointer;
}
.menu-swiper .swiper-slide a{
    display: block;
    font-weight: 500;
    padding: 15px 15px;
}
.menu-swiper .swiper-slide.active a, .menu-swiper .swiper-slide:hover a{
    color: #0e0f11;
}
.menu-swiper .swiper-slide.active a{
    font-weight: 600;
}
.menu-swiper-prev,
.menu-swiper-next {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
}
.menu-swiper-prev{
    margin-left: 5px;
}
.menu-swiper-next{
    margin-right: 5px;
}
.menu-swiper-prev i{
    display: block;
    transform: rotate(90deg);
}
.menu-swiper-next i{
    display: block;
    transform: rotate(-90deg);
}
.menu-swiper-prev.is-hidden,
.menu-swiper-next.is-hidden {
    display: none;
}
.tag-swiper-wrap{
    margin: 0 -5px;
    position: relative;
    display: flex;
    align-items: center;
}
.tag-swiper {
    width: 100%;
    overflow: hidden;
    flex:1;
}
.tag-swiper .swiper-slide {
    width: auto;          /* 关键 */
    padding: 12px 5px;
    white-space: nowrap;
    cursor: pointer;
}
.tag-swiper .swiper-slide a{
    display: block;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 5px;
}
.tag-swiper .swiper-slide.active a{
    color: #6733cc;
    background: #efe9fb;
}
.tag-swiper .swiper-slide:hover a{
    color: #0e0f11;
}
.tag-swiper .swiper-slide.active a{
    font-weight: 600;
}
.tag-swiper-prev,
.tag-swiper-next {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
}
.tag-swiper-prev{
    margin-left: -5px;
}
.tag-swiper-next{
    margin-right: -5px;
}
.tag-swiper-prev i{
    display: block;
    transform: rotate(90deg);
}
.tag-swiper-next i{
    display: block;
    transform: rotate(-90deg);
}
.tag-swiper-prev.is-hidden,
.tag-swiper-next.is-hidden {
    display: none;
}
/*问题及订阅*/
.qa-subscribe-wrap{
    display: flex;
    justify-content: space-between;
}
.qa-wrap{
    width: calc(65% - 20px);
    flex:none;
    background: #241056;
    border-radius: 5px;
    color: #fff;
    padding: 0 30px;
}
.question-bd{
    display: none;
    padding-top: 16px;
    font-weight: 300;
}
.question-list-item{
    border-bottom: 1px solid rgba(255,255,255,.16);
    padding: 16px 0;
}
.question-list-item.active .question-bd{
    display: block;
}
.question-hd{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}
.question-hd h3{
    font-size: 18px;
    font-weight: 500;
    margin-right: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.question-hd span.line{
    display: block;
    width: 5px;
    height: 20px;
    border-radius: 2px;
    background: #6733cc;
    margin-right: 15px;
}
.question-hd i{
    cursor: pointer;
    font-size: 18px;
    font-weight: 100;
    opacity: .65;
    display: block;
    margin: 0 0 0 auto;
}
.question-list-item.active .question-hd i{
    transform: rotate(-180deg);
}
.question-bd .pagecon p{
    line-height: 24px;
    margin-bottom: 10px;
}
.question-bd .pagecon p:last-child{
    margin-bottom: 0;
}
.subscribe-wrap{
    flex:1;
    background: #fff;
    border-radius: 5px;
    border:1px solid #e6e8ea;
    box-shadow: 0 0 10px rgba(129, 129, 129, 0.23);
    padding: 30px;
    height: auto;
    margin-left: 20px;
}
.subscribe-wrap h2{
    text-align: center;
    font-size: 20px;
    color: #0e0f11;
    font-weight: 500;
}
.email-contact-bt{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 52px;
    color: #fff;
    background: #6733cc;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
}
.email-contact-bt i{
    font-size: 22px;
    padding-right: 8px;
    font-weight: 100;
}
.or-line{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0 15px 0;
}
.or-line span.line{
    display: block;
    flex:1;
    height: 1px;
    background: #e6e8ea;
}
.or-line span.text{
    font-size: 16px;
    font-weight: 500;
    padding: 0 15px;
}
.sub-box .noptin-inpost-main-wrapper .noptin-optin-form-wrapper{
    margin: 0;
}
.sub-box .noptin-form-footer{
    padding: 0;
}
.sub-box .noptin-optin-form{
    background: #f4f5f6;
    border-radius: 5px;
}
.sub-box input.noptin-form-field__email{
    height: 52px !important;
    line-height: 52px;
    background: none;
    border:none;
    outline: none;
    text-align: left !important;
    padding: 0 15px !important;
    font-family: "Open Sauce One", sans-serif !important;
    font-weight: 300 !important;
}
.sub-box .noptin-form-footer .noptin-form-submit{
    height: 40px !important;
    line-height: 40px;
    border-radius: 5px;
    background: #6733cc !important;
    margin-top: 7px;
    box-shadow: none;
    padding: 0 18px;
    font-weight: 500;
    font-family: "Open Sauce One", sans-serif !important;
    opacity: .49;
}
.sub-box>h3{
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}
.im-wrap h3{
    font-weight: 400;
    font-size: 14px;
    margin: 24px 0;
    text-align: center;
}
.contact-types{
    display: flex;
    margin-right: -20px;
}
.contact-types li{
    width: 25%;
    padding-right: 20px;
}
.contact-types li a{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    border:1px solid #e6e8ea;
}
.contact-types li a img{
    display: block;
    height: 30px;
    width: auto;
    opacity:1;
    transition: opacity ease .4s;
}
.contact-types li a:hover{
    box-shadow: 0 0 10px rgba(129, 129, 129, 0.23);
}
.contact-types li a:hover img{
    opacity: .8;
}
/*文章列表*/
.posts-lists-wrap{
    margin-top: 20px;
}
.posts-lists{
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-bottom: -20px;
}
.posts-lists>li{
    width: 25%;
    padding-right: 20px;
    margin-bottom: 20px;
}
.posts-lists li .post-list-item{
    border-radius: 5px;
    border:1px solid #e6e8ea;
    box-shadow: 0 0 10px rgba(129, 129, 129, 0.23);
    padding: 0 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.post-item-top{
    display: flex;
    align-items: center;
    margin: 15px 0 10px 0;
    width: 100%;
}
.post-item-top .post-cat-cover{
    display: block;
    flex:none;
    border-radius: 5px;
    overflow: hidden;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.post-item-top .post-cat-cover img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.post-list-item-title{
    flex:1;
}
.post-list-item-title a{
    font-weight: 600;
    color: #0e0f11;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.post-list-item-title a:hover{
    color: #6733cc;
    text-decoration: underline;
}
.post-item-middle{
    width: 100%;
    margin-bottom: 10px;
}
.post-item-excerpt{
    font-size: 13px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.post-item-middle .post-thumb{
    display: block;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}
.post-item-tags{
    display: block;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}
.post-item-tags li{
    margin-right: 8px;
    display: inline-block;
}
.post-item-tags li span{
    color: #0e0f11;
}
.post-item-tags li a:hover{
    color: #6733cc;
}
.post-item-footer{
    padding: 15px 0;
    border-top:1px solid #e6e8ea;
    margin-top: auto;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.post-item-footer a{
    display: flex;
    align-items: center;
    color: #6733cc;
}
.post-item-footer a i{
    font-size: 14px;
    display: block;
    transform: rotate(-90deg);
}
.loading-message{
    margin: 24px 0;
    color: #6733cc;
    text-align: center;
}
/*底部样式*/
.footer-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-socails{
    display: flex;
    align-items: center;
    padding: 24px 0;
}
.footer-socails a{
    display: block;
    margin-left: 10px;
}
.footer-socails a img{
    display: block;
    height: 16px;
    width: auto;
}
.page-header{
    padding: 20px 0;
    background: #f4f5f7;
    box-shadow: inset 0 6px 6px -6px rgba(0, 0, 0, 0.3);
}
body.category .page-header,
body.tag .page-header{
    padding: 24px 0;
}
.cat-hd{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.term-cover{
    width: 38px;
    height: 38px;
    margin-right: 15px;
    border-radius: 5px;
    overflow: hidden;
}
.term-cover img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.cat-hd h1{
    font-size: 24px;
    color: #0e0f11;
    font-weight: 600;
}
.cat-description{
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 22px;
    color: #77808d;
}
.breadcrumb{
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #77808d;
    font-size: 13px;
}
.breadcrumb>a:first-child i{
    color: #6733cc;
    padding-right: 5px;
}
.breadcrumb>i{
    transform: rotate(-90deg);
    margin: 0 5px;
}
.breadcrumb>span{
    color: #6733cc;
}
section.main{
    min-height: calc(100vh - 227px);
}
.page-wrap{
    padding-top: 42px;
}
.single-hd{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 30px;
}
.post-thumb-wrap{
    width: 30%;
    margin-left: 30px;
    flex:none;
    border-radius: 5px;
    overflow: hidden;
    border:1px solid #e5e5e5;
}
.single-hd-l{
    flex:1;
    display: flex;
    flex-direction: column;
}
.single-hd-l h1{
    font-size: 36px;
    line-height: 48px;
    color: #0e0f11;
    font-weight: 600;
    margin-bottom: 15px;
}
.single-metas{
    display: flex;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
}
.single-meta-item{
    display: flex;
    align-items: center;
    margin-right: 15px;
    font-size: 14px;
    color: #77808d;
}
.single-meta-item i{
    color: #6733cc;
    padding-right: 10px;
}
.share-text{
    padding-right: 10px;
}
/*文章详情页*/
.pagecon{
    color: #4a4f57;
    line-height: 30px;
    font-size: 16px;
}
.question-bd .pagecon,
.question-bd .pagecon strong,
.question-bd .pagecon a{
    color: #fff;
}
.pagecon strong{
    color: #0e0f11;
}
.pagecon h1{
    font-size: 32px;
    margin-bottom: 18px;
    color: #0e0f11;
}
.pagecon h2{
    font-size: 30px;
    margin-bottom: 18px;
    color: #0e0f11;
}
.pagecon h3{
    font-size: 22px;
    margin-bottom: 18px;
    color: #0e0f11;
}
.pagecon h4{
    font-size: 20px;
    margin-bottom: 18px;
    color: #0e0f11;
}
.pagecon h5{
    font-size: 18px;
    margin-bottom: 18px;
    color: #0e0f11;
}
.pagecon ul, .pagecon ol{
    margin: 0px 0 18px 0 !important;
}
.pagecon ol li{
    line-height: 30px;
    list-style-type:auto;
    list-style-position:inside;
}
.pagecon ul li{
    line-height: 30px;
    list-style-type:none;
    padding: 3px 0 0 20px;
    position: relative;
}
.pagecon ul li::before{
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
    background: #6733cc;
    left: 0;
    top:15px;
    position: absolute;
}
.pagecon  table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 18px;
}
.pagecon table tr:nth-child(odd) {
    background: #f4f5f6;
}
.pagecon table tr {
    height: 40px;
    line-height: 40px;
}
.pagecon table tr td {
    border: 1px solid #ccc;
    padding: 0 15px;
}
.pagecon img{
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 18px;
    margin-bottom: 18px;
}
.pagecon p{
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 15px;
    padding: 0 !important;
}
.pagecon a{
    color: #6733cc;
}
.pagecon p a:hover{
    text-decoration: underline;
}
.pagecon > :last-child {
    margin-bottom: 0;
}
.aligncenter { 
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
}
.aligncenter p.wp-caption-text {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: -5px;
    color: #999;
}
.pagecon hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
:where(.wp-block-columns){
    margin-bottom: 1.75em;
}
.single-tags{
    padding: 15px 0;
    margin-bottom: -10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 45px;
    border-top:1px solid #e5e5e5;
}
.single-tags li{
    padding-right: 10px;
    margin-bottom: 10px;
}
.single-tags li span{
    font-size: 16px;
}
.single-tags li a{
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    font-size: 13px;
    background: #f4f5f6;
    border-radius: 3px;
    transition: all ease .4s;
}
.single-tags li a:hover{
    color: #fff;
    background: #6733cc;
}
.related-posts .posts-lists li{
    width: 33.33%;
}
.related-posts{
    margin-top: 45px;
}
.related-posts h3.sidebar-title{
    font-size: 24px;
    color: #0e0f11;
    font-weight: 600;
    margin-bottom: 15px;
}
.single-hds-menu.fixed{
    position: fixed;
    top:110px;
    width: 100%;
    left:0;
    background: #fff;
    z-index: 99;
    padding: 0 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.singlehd-swiper-wrap{
    margin: 0 -5px;
    position: relative;
    display: flex;
    align-items: center;
}
.singlehd-swiper {
    width: 100%;
    overflow: hidden;
    flex:1;
}
.singlehd-swiper .swiper-slide {
    width: auto;          /* 关键 */
    padding: 12px 5px;
    white-space: nowrap;
    cursor: pointer;
}
.singlehd-swiper .swiper-slide a{
    display: block;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 16px;
    color: #6733cc;
}
.singlehd-swiper .swiper-slide.active a{
    color: #6733cc;
    font-weight: 600;
}
.singlehd-swiper-prev,
.singlehd-swiper-next {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
}
.singlehdswiper-prev{
    margin-left: -5px;
}
.singlehd-swiper-next{
    margin-right: -5px;
}
.singlehd-swiper-prev i{
    display: block;
    transform: rotate(90deg);
}
.singlehd-swiper-next i{
    display: block;
    transform: rotate(-90deg);
}
.singlehd-swiper-prev.is-hidden,
.singlehd-swiper-next.is-hidden {
    display: none;
}
#st-1{
    z-index: 5 !important;
}
.wp-block-file__button, .wp-block-button__link{
    background: #6733cc !important;
    color: #fff !important;
    padding: calc(.667em + 2px) calc(1.333em + 2px) !important;
}
.error-page-wrap{
    text-align: center;
    padding: 200px 0;
}
.error-page-wrap h2{
    color: #0e0f11;
    font-size:160px;
}
.error-page-wrap p{
    font-size: 16px;
    color: #0e0f11;
    margin-top: 24px;
}
.error-page-wrap p a{
    color: #6733cc;
    text-decoration: underline;
}
@media (max-width: 1024px) {
    .searchform{
        flex:1;
    }
    .searchform .search-input {
        width: 100%;
    }
    .posts-lists>li{
        width: 33.33%;
    }
    .qa-wrap{
        width: calc(50% - 20px);
    }
}
@media (max-width: 768px) {
    .searchform{
        margin: 5px 16px;
    }
    .logo a img{
        height: 18px;
    }
    .posts-lists{
        margin-right: 0;
        margin-bottom: 16px;
    }
    .posts-lists>li{
        width: 100%;
        padding-right: 0;
        margin-bottom: 16px;
    }
    .qa-subscribe-wrap{
        flex-direction: column-reverse;
    }
    .qa-wrap{
        width: 100%;
        margin-top: 16px;
        padding: 0 15px;
    }
    .subscribe-wrap{
        width: 100%;
        margin-left: 0;
        padding: 24px 15px;
    }
    .noptin-form-single-line .noptin-form-fields {
        flex-direction: row !important;
    }
    .noptin-form-field-email{
        flex: 1 !important;
    }
    .question-hd h3{
        font-size: 16px;
    }
    .question-bd .pagecon p{
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 12px;
    }
    .menu-swiper .swiper-slide a{
        padding: 15px 12px;
    }
    .menu-swiper-wrap{
        margin: 0 -12px;
    }
    .contact-types li a{
        padding: 8px 10px;
    }
    .footer-inner{
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .footer-socails{
        padding-top: 12px;
        padding-bottom: 24px;
    }
    .term-cover{
        margin-right: 10px;
    }
    .cat-hd h1{
        font-size: 20px;
    }
    .cat-hd{
        margin-bottom: 10px;
    }
    .cat-description{
        margin-bottom: 10px;
    }
    body.category .page-header, body.tag .page-header, .page-header{
        padding: 16px 0;
    }
    .page-wrap{
        padding-top: 24px;
    }
    .single-hd{
        margin-bottom: 24px;
        flex-direction: column-reverse;
    }
    .post-thumb-wrap{
        width: 100%;
        margin-bottom: 24px;
        margin-left: 0;
    }
    .single-hd-l h1{
        font-size: 24px;
        line-height: 30px;
    }
    .single-metas{
        justify-content: space-between;
    }
    .single-metas .single-meta-item:nth-child(2){
        display: none;
    }
    .single-tags{
        margin-top: 24px;
        flex-wrap: wrap;
    }
    .related-posts h3.sidebar-title{
        font-size: 20px;
    }
    .related-posts .posts-lists li{
        width: 100%;
    }
    .error-page-wrap{
        text-align: center;
        padding: 120px 0;
    }
    .error-page-wrap h2{
        font-size:80px;
    }
}