/*
Theme Name:     CYJDIY
Theme URI:      https: //ciyuanjie.com/
Description:    Child theme for the CYJ PRO
Author:         子主题模版
Author URI:     https: //ciyuanjie.com/
Template:       b2
Version:        0.1.5
*/

/*下面是您自己DIY的css样式代码*/

.w-d-download span button{
    background-color: #c63256 !important;
    color: #ffffff!important;
    background: #ff5f33;
    color: #fff;
    border-radius: 3px;
    padding: 10px 0;
    text-align: center;
    font-size: 16px;
}
.entry-content > h2::before {
    content: '#';
    margin-right: 10px;
    display: inline-block !important;
}	
.entry-tips{
    padding: 20px;
    background: #fff6f6;
    color: #ff8484;
    margin-bottom: 20px;
    border-left: 6px solid #FF6666;
    }

@media screen and (min-width: 768px){
.item-in {
            transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
        }
.item-in:hover {
            transform: translate(0px, -5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3), 
                        5px 5px 15px rgba(0,0,0,0.2);
            z-index: 2;
        }
        
}
@media screen and (max-width: 768px){
    .single-id{display: none;}
}
 /* 幻灯片样式 */
.slider-in.b2-radius {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .slider-5-right-item {
            position: relative;
            padding-top: 43.489583%;
        }
        
        .slider-info {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .slider-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        /* 遮罩层 - 鼠标悬停时显示 */
        .slider-info::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }
        
        /* 文字信息框 - 始终显示在遮罩上方 */
        .slider-info-box {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 15px;
            color: white;
            z-index: 2; /* 确保在遮罩层上方 */
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        /* 悬停效果 */
        .slider-in.b2-radius:hover .slider-info::after {
            opacity: 1;
        }
        
        .slider-in.b2-radius:hover .slider-info-box {
            transform: translateY(0);
            opacity: 1;
        }
        
        /* 原有文字样式 */
        .slider-cat span {
            display: inline-block;
            padding: 5px 10px;
            background: #607d8b;
            border-radius: 20px;
            margin-bottom: 10px;
        }
        
        .slider-user {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }
        
        .avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }
        
        .link-block {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 3; /* 确保链接在最上层可点击 */
        }
/*幻灯片样式 .end*/

/*文章模块微调*/
.post-info h2 {margin: 8px 8px;}
.post-list-meta-box {margin: 0px 8px;}
.list-footer {padding: 8px 8px;}
/*文章模块微调 end*/

.header-banner-left .menu > li.current-menu-item > a:after{
    width: 50px;
    height: 2px;
    bottom: 5px
}
/*移动端菜单宽度*/
@media screen and (max-width: 768px) {
.mobile-box {width: 60%;}
.header-banner-left .menu li.menu-item >a:hover{
    color: #e340586e;
    bottom: 2px;
    }
.cn_btn{padding: 7px 16px;}
/*移动端文章页面隐藏作者*/
.post-user-info {display: none;}
.download-rights {width: 100%!important;}
}
/*无背景页面下，文章背景改为白色*/
.entry-content .box {
    box-shadow: none;
    background: #ffffff;
}
/*隐藏前端发布按钮*/
.change-theme button{display: none !important;pointer-events: none !important;}

/*隐藏前端发布按钮布局整理*/
.normal-banner-right .change-theme{width:30px}

/*附件标题位置调整*/
.insert-post h2, .file-down h2{margin-top: 5px;margin-bottom: 0px;}

/*隐藏解压码文字*/
.file-down-pass.mp-fs12 {display: none !important;pointer-events: none !important;}

/*文章附件下载按钮反色*/
.file-down-code-button .button.empty{background: rgb(226 139 168);}
.file-down-code-button a.button.empty, .entry-content a.button.text{color: #ffffff;}
/*隐藏会员开通人数小页面*/
.vip-count {display: none;}
/*首页模块标题字体大小*/
.post-list .module-title {font-size: 18px}
/*文章页面H2这字体大小*/  
.entry-content > h2, .content-show-roles > h2 {font-size: 15px;}

/* 精确匹配带有内联样式border-left的b标签 */
b[style*="border-left:4px solid #607d8b"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.content-buy-count {
    display: none !important;
    visibility: hidden;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    position: static;
    clip: rect(0, 0, 0, 0);
}
.post-excerpt{
    display: none !important;
}
.entry-content img{
    border-radius: 4px;
}
/* 主容器保持正常显示 */
.vip-row {
  display: block;
}

/* 隐藏所有未激活项 */
.vip-row li.vip-allow:not(.allow) {
  display: none;
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* 已激活项保持可见 */
.vip-row li.vip-allow.allow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  list-style: none;
}
/*users隐藏部分功能*/
.user-verify {
    display: none !important;
}
.setting-des{
    display: none !important;
} 
.erphp-weixin-scan{margin:0 auto;position:relative;max-width: 300px;}
.erphp-weixin-scan .ews-title{text-align:center;font-size:18px;}
.erphp-weixin-scan img{max-width: 100%;height: auto;}
.erphp-weixin-scan .ews-box{text-align: center;}
.erphp-weixin-scan .ews-box .ews-input{border:1px solid #eee;border-radius:3px;padding:6px 12px;width:150px;height: 35px;box-sizing:border-box;}
.erphp-weixin-scan .ews-box .ews-button{background: #07C160;border:none;padding:7px 12px;color:#fff;border-radius: 3px;font-size:14px;cursor: pointer;height: 35px;box-sizing: border-box;}
.erphp-weixin-scan .ews-tips{text-align:center;font-size:13px;color:#999;margin-top:10px;}
.erphp-weixin-scan .login-fh {
    margin-top: 12px;
    text-align: right;
    font-size: 12px;
    padding-right: 27px;
}
.erphp-weixin-scan .login-fh a{
    font-size: 13px;
}
/*
.entry-content p, .content-show-roles > p, .entry-content > pre, .content-show-roles > pre, .entry-content > ul, .content-show-roles > ul, .entry-content > ol, .content-show-roles > ol, .entry-content > dl, .content-show-roles > dl, .entry-content > form, .content-show-roles > form, .entry-content > table, .content-show-roles > table, .entry-content > blockquote, .content-show-roles > blockquote, .entry-content > div, .content-show-roles > div{
    margin-bottom:5px;
    font-size: 13px;
}*/
.content-hidden-info{
    background-image: url(https://ciyuanjie.com/wp-content/themes/b2/Assets/fontend/images/hidden-bg.png);
}
/*.entry-content img {
    max-width: 70%;
}*/
.cn_btn{
    border: 1px solid #e28ba8;
    border-radius: 4px;
    background: rgb(226 139 168);
    border-radius: 4px;
    color: #fff;
    padding: 6.5px 16px;
    transition: opacity .2s;
    position: relative;
    cursor: pointer;
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
    left: 20px;
}
a.cn_btn, .entry-content a.button.text{color: #ffffff;}

.download-rights{background: #fafcff;}
.download-info{
    background-image: url(https://ciyuanjie.com/wp-content/themes/b2/Assets/fontend/images/hidden-bg.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-color: #fafcff;
}
.allow-down .download-current {
    background: rgb(226 139 168 / 0%);
    border: 2px dashed rgb(226 139 168 / 0%);
}
.not-allow-down .download-current {
    background: rgb(244 67 54 / 0%);
    border: 2px dashed rgb(255 0 0 / 0%);
}
.download-button-box button{
    padding: 8px 16px;
}
/*隐藏文章下载模组title*/
.download-rights-title{display:none;}
.w-d-title h2{display:none;}
.download-current {
    margin: 8px 0;
}
.download-info {
    flex: 1;
    padding: 10px 0 0;
}
.download-button-box{
    padding: 10px;
    margin-top: 0px;
}
.lv-icon.user-lv i{display:none;}
.content-footer-poster button.poster-span{display:none;}
.entry-header {padding-bottom: 0px;}
.single-like{display:none;}
.single-eye{display:none;}
.content-footer-zan-cai{display:none}
.diy_vips{
    color: #ff8ab1;
    font-size: 16px;
    font-weight: 600;
}
.ajax-pager .button{
    padding: 13px 20px;
}
.entry-content .post-note{
    background: #fafcff;
    border-radius: 4px;
}
.download-box{
    border-radius: 4px;
}
.top-search input{
    width: 200px;
}
.top-search-button{
        display: none;
}
/* 隐藏快速注册按钮 
.login-button .header-login-button button:not(.empty) {
    display: none !important;
}*/
.header-user{
    top: 9px;
}
.header-login-button button{
        padding: 9px 14px;
}
.header .login-button button{
    background-color: rgb(226 102 143)!important;
}
.header .button, .header .login-button button{
    border-color: rgb(226 102 143)!important;
    color: #fff!important;
    font-size: 13px;
}