/*
Theme Name: zibll-child
Theme URI: https://shetheme.com/
Description: zibll主题的子主题
Author: 你的名字
Author URI: https://shetheme.com/
Template: zibll
Version: 8.1
*/
/*Grid*/
.d-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.flex-item {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
}

.center {
    align-items: center;
}

.between {
    justify-content: space-between;
}


.d-flex::after {
    clear: both;
}

.font-20 {
    font-size: 24px;
}

.auto-item .navbar-collapse {
    display: flex !important;
    height: auto !important;
    overflow: visible !important;
}

/*Header*/
.shetheme-header {
    padding: 0 4.8rem;
    /* background: rgba(255, 255, 255, 0.733); */
    height: 7.2rem;
    /* color: #0a0a0a; */
}

.shetheme-header .navbar {
    border: none;
    height: 7.2rem;
}

.shetheme-header-main {
    transition: background-color .3s, color .3s;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding-bottom: 4px;
    padding-top: 96px;
    margin-bottom: 24px;
    position: relative;
}

.shetheme-header-main::after {
    content: '';
    width: 100%;
    height: 90%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-position: 100% 100%;
    background-size: cover;
    background-image: url(https://myplus.res.meizu.com/svg/1-8cb9711e.svg);
}


.shetheme-header .navbar-nav .sub-menu {
    border-radius: 0;
    transform: translateY(-5px) !important;
    display: grid;
    grid-template-columns: repeat(3, 200px);
    gap: 30px;
}

.shetheme-header .navbar-form {
    margin: 0;
}

.shetheme-header .center-menu .navbar-nav {
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

/*Search*/

.fixed-search {
    position: fixed;
    top: 0;
    z-index: 999;
    left: 50%;
    /* 相对视口左边界偏移 50% */
    transform: translateX(-50%);
    /* 向左回退自身宽度的 50% */
}

.fixed-search .navbar-form {
    margin: 19px 0;
}

.fixed-search .navbar-form .form-control {
    transition: all 0.3s;
    width: 240px;
}

.fixed-search .navbar-form .form-control:focus,
.fixed-search .navbar-form .form-control:hover,
.fixed-search .navbar-form .form-control:active {
    width: 480px;
}

.fixed-search .search-input {
    width: 480px;
}

@media screen and (max-width: 768px) {
    .hide-xs {
        display: none;
    }
}

/*Swiper*/
.shetheme-swiper .swiper-slide {
    width: 1200px;
    /* 移除固定宽度 */
    flex-shrink: 0;
    border-radius: var(--main-radius);
    /* 防止收缩 */
}

.shetheme-swiper .swiper-button-next,
.shetheme-swiper .swiper-button-prev {
    background-color: rgba(255, 255, 255, .433);
    background-size: 32px 32px;
    border-radius: var(--main-radius);
    width: 36px;
    height: 58px;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* 添加过渡效果 */
}

.shetheme-swiper:hover .swiper-button-next,
.shetheme-swiper:hover .swiper-button-prev {
    opacity: 1;
}

.shetheme-swiper .swiper-button-prev {
    left: 120px;
}

.shetheme-swiper .swiper-button-next {
    right: 120px;
}

.shetheme-swiper .swiper-slide img {
    opacity: .4; 
}

.shetheme-swiper .swiper-slide.swiper-slide-active img {
    opacity: 1;
}

.shetheme-swiper {
    padding-bottom: 24px;
}

.shetheme-swiper .swiper-pagination {
    bottom: -5px !important;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    background: rgba(255, 255, 255, .733);
    width: 24px;
    height: 4px;
    border-radius: 0;
    opacity: .6;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--focus-color);
    opacity: 1;
}


/*Shetheme Card Box*/
.index-tab{
    min-width: 100%;
}
.shetheme-box-header {
    margin-top: 24px;
}

.shetheme-card .icon-cover-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--main-radius);
}

.shetheme-card .icon-cover-icon .em09 {
    font-size: 36px;
}


.shetheme-box-header .gutters-5 {
    margin: -12px;
}

.shetheme-box-header .gutters-5>* {
    padding: 12px;
}

/*Posts*/
.shetheme-tabs-title ul,
.index-tab ul {
    background: rgba(107, 71, 71, .05);
    border-radius: 48px;
    padding: 6px;
    margin-bottom: 0 !important;
}

.index-tab ul li {
    line-height: 36px;
    padding: 0 16px;
}

.position-a {
    position: absolute;
}


.shetheme-tabs .box-body .title-theme:before {
    display: none;
}

.shetheme-tabs .box-body .title-theme .ml10 {
    display: none;
}

.shetheme-tabs .box-body .title-theme .pull-right {
    font-size: 16px;
    line-height: 36px;
}

 .box-body.notop {
    padding: 0 0 15px;
}

.shetheme-tabs:has(.box-body) .shetheme-tabs-title {
    margin-top: -65px;
}

.shetheme-list  .item-excerpt{
    line-height: 24px;
    height: 48px ;
    display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: box; /* Fallback for old syntax */
  -webkit-line-clamp: 2; /* Limit lines to 2 */
  line-clamp: 2; /* Non-standard but supported by most modern browsers */
      white-space: normal;
}

/*Post*/
.posts-item {
    box-shadow: none;
}

.posts-item.card {
    margin: 12px;
}

.fluid-widget .card,
.site-layout-1 .card {
    width: calc(25% - 24px);
}
/* 
.shetheme-post-meta-author .avatar-mini{
    width: 48px;
    height: 48px;
    margin-right: 12px;
}

.shetheme-post-meta-author .avatar-mini img{
    border-radius: 50%;
}

.shetheme-post-meta-author .author-info{
    color: #191919;
    font-size: 16px;
    font-weight: 500;
    padding-top: 6px;
    line-height: 24px;
}

.shetheme-post-meta-author .img-icon{
    height: 12px;
}

.shetheme-post-meta-author .user-identity span{
    background: none;
    font-size: 13px;
    color: #afb0b3;
    font-weight: normal;
    padding: 0;
} */

.sheetheme-author.meta-right .header-btns a:nth-child(2) {
display: none;
}

.shetheme-posts-card .item-heading{
    margin-top: 16px;
    max-height:48px;
   
}

.item-heading a{
     font-size: 16px;
    color: #191919 !important;
    line-height: 24px;
}

.posts-item .item-tags a.but{
    background:#f7f8fa;
    color: #505459;
    margin-top: 1rem;
    padding: 0 12px 0 8px;
    width: -moz-fit-content;
    width: fit-content;
    margin-right: 8px;
    height: 30px;
    line-height: 24px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.posts-item .item-tags a.but .fa{
    background:#fa8989 !important;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}


.sheetheme-author .but.jb-pink{
    --this-color: #2997f7;
    --this-bg: rgba(41, 151, 247, 0.1);
    font-size: 12px;
    line-height: 24px;
    padding: 0 .5em;
}

.posts-item .item-tags a.but .fa::before{
    color: #fff;
}
 

.shetheme-item-meta{
    margin-top: -12px;
    position: relative;
}

.sheetheme-author {
    padding-top: 8px;
}

.sheetheme-author .but.radius{
    padding: 0 .5em;
    font-size: 12px;
    line-height: 24px;
}

.shetheme-list .item-thumbnail img{ 
    border-radius: var(--main-radius) !important;
}

/*Category-BOX*/
.shetheme-row.gutters-5{
    margin:-12px
}
.shetheme-row.gutters-5 > *{
    padding:12px
}

.shetheme-row .shetheme-num  {
    display: block;
    font-size: 44px;
    line-height: 1.15;
}

.shetheme-row .shetheme-des{
    font-size: 20px;
    font-weight: 500;
}

.shetheme-row .graphic-text{
    padding: 8px 24px;
}

/*Footer*/
.mb-48{
    margin-bottom: 48px;
}
.footer-copyright{
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding-top: 24px;
}

.fcode-links a{
font-size: 14px;
margin-right: 36px;
}

.shetheme-footer a:hover{
    color: var(--focus-color) !important;
}
.footer-copyright p,
.footer-copyright .title-h-left{
    margin-bottom: 0;
    margin-right: 36px;
    padding-bottom: 0;
}

/*dark-theme*/
.dark-theme .title-theme{
    color: rgba(255, 255, 255, .733);
}

.dark-theme .shetheme-tabs-title ul, 
.dark-theme .index-tab ul{
    background: rgba(0,0,0,.25);
}

