/*---------------------------------
* 重置
-----------------------------------*/
/* 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;}

/* 状态手型 */
.toggle-status{cursor: pointer;}

/* 后台滑动门切换加粗 */
.nav-tabs-custom .nav-link.active{font-weight: 800}
/*---------------------------------
* 全站图片通用比例尺
-----------------------------------*/
.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;}

/* 9:16比例容器 - 适用于竖屏/手机屏幕比例 */
.img-s-9b16 {
    width: 100%;
    height: 0px;
    padding-bottom: 177.78%; /* 计算公式: (16/9) * 100% = 177.78% */
    position: relative;
    overflow: hidden;
}

/* 9:16比例图片样式 - 垂直居中显示 */
.img-s-9b16 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;}
/*# sourceMappingURL=custom.min.css.map */

.img-1b1{
    width: 100%;           /* 响应式宽度 */
    aspect-ratio: 1 / 1;   /* 保持1:1宽高比 */
    object-fit: cover;     /* 图片填充方式，保持比例并裁剪 */
    object-position: center; /* 图片居中显示 */
}

/*后台编辑器和前端同步*/
.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{font-size: 14px;text-indent: 2em;text-align: justify;margin-bottom: 20px;line-height: 2;word-wrap: break-word;}