/****************************************************************************  
 * @Author: 陌寒
 * @Date: 2025-08-31 20:47:47
 * @LastEditTime: 2025-10-13 16:14:46
 * @Description: ZibBox 子主题，为 WordPress 添加灵动之美，让网页别具韵味！
 * @Email: 7083266@qq.com
 * @Remind: 有任何问题请联系主题作者,希望大家在使用的途中遵守我们的相关约定，也呼吁每一位子比正版用户，使用正版 拒绝盗版，如有盗版 也绝不售卖！
 * @Copyright (c) 2025 by 郑州汇聚云网络科技有限公司, All Rights Reserved.
 ****************************************************************************/

.zibbox-dy-lz,
.zibbox-dy-fl,
.zibbox-dy-zl,
.zibbox-dy-zh,
.zibbox-dy-ch,
.zibbox-dy-hl,
.zibbox-dy-purple,
.zibbox-dy-pink,
.zibbox-dy-pinkblue,
.zibbox-dy-icepink,
.zibbox-dy-softpink,
.zibbox-jb-vip2 {
    color: var(--this-color);
    background: var(--this-bg);
    --this-color: #fff;
}

.zibbox-dy-lz {
    --this-bg: radial-gradient(circle at 10.6% 23.3%, rgb(186, 162, 252) 0%, rgb(176, 248, 242) 72.4%);
}

.zibbox-dy-fl {
    --this-bg: linear-gradient(220.55deg, #FFADF7 0%, #B1FF96 100%);
}

.zibbox-dy-zl {
    --this-bg: linear-gradient(103.3deg, rgb(252, 225, 208) 30%, rgb(255, 173, 214) 55.7%, rgb(162, 186, 245) 81.8%);
}

.zibbox-dy-zh {
    --this-bg: linear-gradient(111.4deg, rgb(238, 113, 113) 1%, rgb(246, 215, 148) 58%);
}

.zibbox-dy-ch {
    --this-bg: linear-gradient(102.7deg, rgb(253, 218, 255) 8.2%, rgb(223, 173, 252) 19.6%, rgb(173, 205, 252) 36.8%, rgb(173, 252, 244) 73.2%, rgb(202, 248, 208) 90.9%);
}

.zibbox-dy-hl {
    --this-bg: linear-gradient(to right, #9fe1fa, #f4edc9);
}

.zibbox-dy-purple {
    --this-bg: linear-gradient(135deg, #ed64fd 10%, #2da8fb 100%);
}

.zibbox-dy-pink {
    --this-bg: linear-gradient(43deg, #ff6ac34a 0%, #ff82c1 46%, #ff6ac34a 100%);
}

.zibbox-dy-pinkblue {
    --this-bg: linear-gradient(43deg, #ff6ac34a 0%, #82e1ff 46%, #ff6ac34a 100%);
}

.zibbox-dy-icepink {
    --this-bg: linear-gradient(to right, #00dbde 0%, #fc00ff 100%);
}

.zibbox-dy-softpink {
    --this-bg: linear-gradient(220.55deg, #B7DCFF 0%, #FFA4F6 100%);
}


.zibbox-quote-q {
    position: relative;
    padding: 0.3em 0.6em;
    margin-top: 0 !important;
    margin-bottom: 10px;
    --quote-color: var(--main-color, #007aff);
    color: var(--quote-color);
    max-width: 260px;
    width: 100%;
    box-sizing: border-box;
}

.zibbox-quote-q::before {
    content: '';
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--quote-color);
    opacity: 0.04;
    z-index: 0;
}

.zibbox-quote-q a,
.zibbox-quote-q span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #8a8a8a;
    line-height: 1.6;
    height: 3.2em;
    word-break: break-all;
    white-space: normal !important;
    text-indent: 0 !important;
}


.zibbox-quote-q a:hover {
    color: #6a6a6a;
    text-decoration: none;
}

.zibbox-nav {
    float: left;
    margin-left: -5px;
    margin-right: -5px;
    margin-top: 6px;
    opacity: .7;
    height: 26px;
}

.navbar-top .navbar-brand {
    padding: 10px 5px;
}

@media (max-width: 768px) {
    .navbar-top .navbar-logo>img {
        padding: 0;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .zibbox-navbar-top {
        float: right;
    }

    .zibbox-navbar-toggle {
        margin-left: 5px;
        margin-right: 0;
        margin-top: 9px;
        opacity: .7;
        height: 32px;
        width: 32px;
        padding: 3px;
        background-color: rgb(0 59 255 / 8%);
        border-radius: 50px;
    }

    .zibbox-nav {
        float: left;
        margin-left: -5px;
        margin-right: -5px;
        margin-top: 6px;
        opacity: .7;
        height: 26px;
    }
}

.panel-heading .fa {
    transition: transform 0.3s ease;
    transform: rotate(-45deg);
    padding: 5px;
    color: #556af1;
}

.panel-heading:not(.collapsed) .fa {
    transform: rotate(0deg);
}

.question-container {
    border-radius: 6px;
    border: solid 1px var(--main-border-color);
    overflow: hidden;
    border-bottom: solid 0px rgba(50, 50, 50, 0);
}

.question {
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
    padding: 2.5rem 4rem;
    margin-bottom: 0;
    border-bottom: solid 1px var(--main-border-color);
}

.question i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.question.active i.fa.fa-plus {
    display: none;
}

.question.active i.fa.fa-minus {
    display: inline-block;
}

.answer.active {
    display: unset;
    background-color: var(--focus-color);
    flex: 1 1 auto;
    min-height: 1px;
    color: #fff !important;
    padding: 2.5rem 4.5rem;
    display: block;
}

@keyframes bounce {
    0% {
        transform: scaleY(0.3);
        background-color: green;
    }

    50% {
        transform: scaleY(1);
        background-color: orange;
    }

    100% {
        transform: scaleY(0.3);
        background-color: green;
    }

    ;
}

.tab2_content.active {
    display: block;
}

.tab2_content.active {
    display: block;
}

#accordionhelp-content {
    margin-bottom: 20px;
}

.tab-container {
    width: 80%;
    margin: auto;
}

.tabs {
    display: flex;
    cursor: pointer;
    padding: 20px 0;
}

.tab {
    padding: 10px 15px;
    transition: background-color 0.3s;
    border-radius: 10px;
    background: var(--muted-bg-color);
    margin: 0px 5px;
    font-size: 14px;
}

.tab.active {
    color: #fff;
    background-color: #556af1;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tab-content {
    position: relative;
    overflow: hidden;
}

.tab2_content {
    display: none;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #556af1;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #3e53c4;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.zibbox-new-icon {
    position: absolute;
    top: -2px;
    right: 5px;
}

.article-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    background-color: #f3f9ff;
    color: #556af1;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    margin-right: -5px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 1px 9px 1px 15px;
    overflow: hidden;
    border: .5px solid rgba(59, 130, 246, .15);
}

.article-new-badge:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(59, 130, 246, .2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .6s ease, height .6s ease;
}

.panel-heading .fa {
    transition: transform 0.3s ease;
    transform: rotate(-45deg);
    padding: 5px;
    color: #556af1;
}

.panel-heading:not(.collapsed) .fa {
    transform: rotate(0deg);
}

.question-container {
    border-radius: 6px;
    border: solid 1px var(--main-border-color);
    overflow: hidden;
    border-bottom: solid 0px rgba(50, 50, 50, 0);
}

.question {
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
    padding: 2.5rem 4rem;
    margin-bottom: 0;
    border-bottom: solid 1px var(--main-border-color);
}

.question i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.question.active i.fa.fa-plus {
    display: none;
}

.question.active i.fa.fa-minus {
    display: inline-block;
}

.answer.active {
    display: unset;
    background-color: var(--focus-color);
    flex: 1 1 auto;
    min-height: 1px;
    color: #fff !important;
    padding: 2.5rem 4.5rem;
    display: block;
}

@keyframes bounce {
    0% {
        transform: scaleY(0.3);
        background-color: green;
    }

    50% {
        transform: scaleY(1);
        background-color: orange;
    }

    100% {
        transform: scaleY(0.3);
        background-color: green;
    }

    ;
}

.tab2_content.active {
    display: block;
}

.tab2_content.active {
    display: block;
}

#accordionhelp-content {
    margin-bottom: 20px;
}

.tab-container {
    width: 80%;
    margin: auto;
}

.tabs {
    display: flex;
    cursor: pointer;
    padding: 20px 0;
}

.tab {
    padding: 10px 15px;
    transition: background-color 0.3s;
    border-radius: 10px;
    background: var(--muted-bg-color);
    margin: 0px 5px;
    font-size: 14px;
}

.tab.active {
    color: #fff;
    background-color: #556af1;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tab-content {
    position: relative;
    overflow: hidden;
}

.tab2_content {
    display: none;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #556af1;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #3e53c4;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


.zibbox_Mainlabel {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    overflow: hidden;
}

.zibbox_label {
    display: inline-block;
    position: relative;
    float: right;
    padding: 3px 6px;
    clear: both;
    margin: 0 0 4px 0;
    border-radius: 4px 0 0 4px;
    font-size: 12px;
    color: white;
    white-space: nowrap;
    text-align: right;
    overflow: hidden;
    border: 0.1em solid rgb(204, 204, 204);
}

.zibbox_label::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent);
    animation: sweep 3s infinite;
}

@keyframes sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

span.zibbox-title-badge {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 4px;
    height: 18px;
    line-height: 1.5;
    font-size: 13px;
    justify-content: center;
    margin-right: 2px;
}

span.zibbox-title-badge:before {
    position: absolute;
    content: " ";
    display: block;
    left: -100%;
    top: -5px;
    width: 15px;
    height: 145%;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
    animation: badge-shine 3s ease-in-out infinite;
    transform: rotate(28deg);
}
@keyframes badge-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}



.tag-box {
    position: absolute;
    top: 0px;
    right: 10px;
    display: flex;
    gap: 5px;
}

span.recommend-tag {
    position: relative;
    display: inline-block;
    background: var(--theme-color);
    color: #fff;
    font-size: 12px;
    padding: 0 4px;
    height: 20px;
    line-height: 20px;
    border-radius: 2px;
    border: 0.1em solid rgb(204, 204, 204);
    overflow: hidden;
}

span.recommend-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: tag-shine 2s infinite;
}


@keyframes tag-shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}