/*---------------------------------
* 重置
-----------------------------------*/
[data-layout=horizontal] .main-content{margin-top: 120px}
[data-layout=horizontal] .navbar-menu{margin-top: 120px}
/* weui重置相关 */
.wx-root, body { --weui-BRAND: var(--themes-color) !important; }
/* end */
#media-attachment-date-filters{width: 300px!important;}
.media-sidebar{}
/* 关闭编辑器版权 */
.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{display: none;}
/* 弹窗字体 */
.swal2-title{font-size: 20px!important;}

/*---------------------------------
* 全站图片通用比例尺
-----------------------------------*/
.img-s-3b2{width: 100%; /*防止矩形被里面的内容撑出多余的高度*/height: 0px; /* 3:2padding-bottom:66%，4:3padding-bottom:75% */padding-bottom: 66%;position: relative;overflow: hidden;}
.img-s-3b2 img{ width: 100%; min-height: 100%; position: absolute;top: 50%; transform: translateY(-50%);object-fit: contain;}
/* 16:9 */
.img-s-16b9{ width: 100%; height: 0px; padding-bottom: 56%; position: relative;overflow: hidden;}
.img-s-16b9 img{ width: 100%; min-height: 100%; position: absolute;top: 50%; transform: translateY(-50%);object-fit: contain;}
/* 2.5：1 */
.img-s-25b1{ width: 100%; height: 0px; padding-bottom: 40%; position: relative;overflow: hidden;}
.img-s-25b1 img{ width: 100%; min-height: 100%; position: absolute;top: 50%; transform: translateY(-50%);object-fit: contain;}

/* 1:1 */
.img-s-1b1 {width: 100%;height: 0;padding-bottom: 100%; /* 正方形的比例 */position: relative;overflow: hidden;}
.img-s-1b1 img {width: 100%;height: 100%;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);object-fit: cover; /* 或者使用 contain 根据需求 */}

/* 容器最大显示两行文字 超出部分省略号展示 */
.text-truncate-1{ -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical;}
.text-truncate-2{ -webkit-line-clamp: 2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical;}
.text-truncate-3{ -webkit-line-clamp: 3; overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical;}

/*后台编辑器和前端同步*/
.ck.ck-toolbar .ck.ck-toolbar__separator{background: #ccced1!important}
.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{top: 70px!important}
.image_resized{text-align: center;height: auto}
figure.image{text-align: center}
figure.image img{width: 100%;height: auto}

/*商品切换*/
.editor_post{line-height: 1.2;}
.editor_post a{font-size: 16px;color:#999;line-height: 1.2;font-weight: normal!important;}
.editor_post a.active{color: var(--vz-primary);}

/*后台编辑器*/
.ck-editor__editable{text-align: justify}
.ck-editor__editable h2{
    margin: 20px 0;
    padding: 0 10px;
    border-left: 5px solid #f36d5d;
    background-color: #f7f7f7;
    font-size: 20px;
    line-height: 40px;
    font-weight: 700;
}
.ck-editor__editable h3{
    padding-left: 10px;
    font-size: 16px;
    line-height: 1.2;
    border-left: 4px solid #f36d5d;
    font-weight: 800;
    margin-bottom: 20px;
}
.ck-editor__editable ol,
.ck-editor__editable ul{margin-bottom: 20px;}
.ck-editor__editable ol li,
.ck-editor__editable ul li{margin-bottom:20px;}

.ck-editor__editable p{margin-bottom: 15px;}

/*# sourceMappingURL=custom.min.css.map */