/*@charset "UTF-8";*/
@import url("../../parts/home-mode/assets/mx-mode.css");

@media (min-width: 1550px) {
    .max_width .container {
        max-width: 1540px;
    }
	.single.max_width .container,.page-template.max_width .container {
		max-width: 1280px;
	}	
}

/* =====文本折叠样式 ===== */
.mx-collapse-wrap {
    /* 不加 margin，保持自然间距 */
}

.mx-collapse {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0 16px;
    transition: border-color 0.3s;
}

.mx-collapse-summary {
    font-weight: 600;
    color: #1e1e1e;
    cursor: pointer;
    padding: 14px 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
    transition: color 0.2s;
}

.mx-collapse-summary:hover {
    color: #0073aa;
}

/* 使用 fa fa-plus 图标，颜色 #f04494，加粗 */
.mx-collapse-summary::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;  /* 最大粗细 */
    content: "\f067";
    font-size: 16px;
    color: #f04494;
    transition: transform 0.3s;
    flex-shrink: 0;
    line-height: 1;
    -webkit-text-stroke: 1px #f04494;  /* 描边加粗 */
}

/* 展开时旋转 -45deg */
.mx-collapse[open] .mx-collapse-summary::before {
    transform: rotate(-45deg);
}

/* 默认关闭状态旋转 90deg */
.mx-collapse:not([open]) .mx-collapse-summary::before {
    transform: rotate(90deg);
}

.mx-collapse-content {
    padding: 0 0 16px 0;
    border-top: 1px dashed #dee2e6;
    margin-top: 4px;
    padding-top: 16px;
    color: #495057;
    animation: mx-collapse-fade 0.3s ease;
}

@keyframes mx-collapse-fade {
    0% { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.mx-collapse-content p:last-child {
    margin-bottom: 0;
}

/* =====小工具购买资源下载开始===== */
.widget-pay .pay--rateinfo {
    padding: 5px 20px;
    border-radius: 4px;
    margin-top: 0px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11;
    -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px 0 rgba(52,73,94,.1);
    background: #FFF;
}
.widget-pay .pay--rateinfo b .price {
    font-size: 20px;
    margin-right: 5px;
    color: #555555;
}
/*立即下载按钮*/
.btn--secondary {
    background-color: #33CCCC;
    background: linear-gradient(90deg, #0066FF,#33CCCC)!important;
    -webkit-box-shadow: 0 8px 10px rgba(0,204,255,.3);
    box-shadow: 0 3px 5px rgba(0,204,255, 0.39);
}
/*按钮*/
.btn {
    border: none;
    /*border-radius: 50px;*/
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    /*line-height: 46px;*/
    outline: none;
    padding: 0 18px;
    text-align: center;
    position: relative;
}
.widget-pay .boosvip-abs {
    text-align: left;
    font-size: 11px;
}
.agent--contact .list-paybody {background-color: rgb(246,246,246);}
.list-paybody a {color: #fd721f;}

/* 变色幻彩特效开始 */
@keyframes mymove{0%{background-position:0% 0%;}50%{background-position:50% 100%;}100%{background-position:100% 0%;}}

/* 作者等级标签美化开始 */
.label-warning {/*.label-default {*/
    box-shadow: 0 6px 16px -5px rgba(0, 0, 0, 0.3);
    background: linear-gradient(70deg, #ffc107, #ff7365, #ff82ea, #ffc107);
    background-size: 1400% 300%;
    animation: mymove 10s ease infinite;
    -webkit-animation: mymove 10s ease infinite;
    border-radius: 16px;
    padding: 4px 11px;
}

/*公告*/
.widget .track-list ul li:nth-child(1){color:#fd721f;}
.widget .track-list ul li{font-size: 11px;position: relative;padding-left:20px}
.widget .track-list ul li:after,.widget .track-list ul li:not(:last-of-type):before{content: "";position: absolute;top: calc((1em - -11px)/ 2)}
.widget .track-list ul li:after{left: 0;display: inline-block;-webkit-box-sizing: border-box;box-sizing: border-box;width: 7px;height: 7px;border: 1px solid #fd721f;border-radius: 50%;background-color: #fff;-ms-flex-negative: 0;flex-shrink: 0;}
.widget .track-list ul li:not(:last-of-type):before{height: 100%;width: 1px;left: 3px;background: linear-gradient(-180deg,#ffb386 0,#fd721f 98%);}

.swal2-content {background: #fff;}
.qrcon .bottom.alipay {border-top: dashed 2px #fff;background: #e0e0e0;}
.qrcon .bottom {font-size: 16px;margin-top: 0px;font-weight: 400;}
.payvip-box .vip-info {opacity: 0.9;}

/*会员*/
.vip-card .click-payvip {
    display: block;
    width: 60%;
    max-width: 70%;
    margin: 0px auto 20px;
    padding: 3px 0;
    font-size: 16px;
    box-sizing: border-box;
    text-align: center;
}

.vip-card {	
	margin-bottom: 25px;
}
.vip-card .vip-header {	
	background-color: #f9e6c8;
	height:200px;
	background-size: cover;
	position: relative;
	border-radius: 10px 10px 0px 0px;
	overflow: hidden;
}
.vip-card .vip-sub {
	display: inline-block;
	position: absolute;
	left:0;
	top:0;
	border-radius: 0px 0px 15px 0px;
	height:32px;
	line-height: 32px;
	font-size: 16px;
	color: #fff;
	padding:0px 18px;
	background: #EA8800;
}
.vip-card .vip-plan {
	display: flex;
	justify-content: center;	
	margin-top: 50px;
	font-size: 21px;
	color: #4A4A4A;
	font-weight: normal;
}
.vip-card .vip-plan img{
	margin-right: 6px;
}
.vip-card .vip-price {
	align-items: flex-end;
	display: flex;  
	justify-content: center;
	font-size: 46px;
	color: #e54937;
	margin:13px 0px;
	font-weight: bold;
	line-height: normal;
}
.vip-card .vip-price small {
    font-size: 0.45em;
}
.vip-card .vip-price .vip-origin {
    font-size: 0.32em;
    color: #b3b3b3;
    font-weight: normal;
    margin-left: 10px;
    align-self: center;
}
.vip-card .vip-renew-badge {
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
    padding: 1px 12px;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
    background: #e54937;
    border-radius: 9px;
}
.vip-card .vip-tip em {
    color: #f00;
}
.vip-card .vip-body {
	background-color: #f6f6f6;
    display: flex;
    flex-direction: column;
	align-items: center;
}
.vip-card .vip-desc {
	padding-left: 0;
	width: fit-content;
    margin: 0 auto;
	margin: 20px 0;
}
.vip-card .vip-desc li{
	background: url(/wp-content/themes/mx-chlid/assets/images/dui.svg) left center no-repeat;
	padding: 4px 0 4px 40px;
    background-size: 16px 16px;
    list-style: none;
    padding-left: 24px;
    line-height: 1.5;
    text-align: left;
    display: block;
}	

/* 问题反馈 - 历史列表 */
.mx-ticket-list li a { display:block; padding:12px 4px; border-bottom:1px solid #eee; color:#333; }
.mx-ticket-list li:last-child a { border-bottom:none; }
.mx-ticket-list .mx-ticket-time { float:right; color:#999; font-size:12px; }
.mx-ticket-list .mx-ticket-excerpt { display:block; margin-top:6px; color:#666; font-size:13px; }
.mx-ticket-list .label { margin-right:8px; }

/* 当天发布的文章：列表页时间与时钟图标红色高亮 */
.entry-footer .post-meta-box .meta-date.mx-post-today,
.entry-footer .post-meta-box .meta-date.mx-post-today time,
.entry-footer .post-meta-box .meta-date.mx-post-today i {
    color: #f00;
}

/* 用户中心：开通会员 / 问题反馈 菜单强调色（选中时交给主题原有高亮样式） */
.edit--profile-links li a[href*="action=vip"]:not(.active),
.edit--profile-links li a[href*="action=ticket"]:not(.active) {
    color: #fd721f;
}

/* =====找回密码（邮箱验证码）面板 ===== */
.mx-resetpass .mx-reset-back {
    display: block;
    margin-top: 10px;
}

/* =====文章页：作者/分类/日期栏内的“前往下载”按钮（手机端，JS滚动到下载小工具）===== */
.mx-download-jump { display: none; }
@media (max-width: 767px) {
    .mx-download-jump {
        display: inline-flex;
        align-items: center;
        order: 99;             /* 视觉顺序排到最后 */
        margin-left: auto;     /* 在 flex 行内顶到最右 */
        padding: 1px 10px;
        font-size: 12px;
        line-height: 20px;
        font-family: inherit;
        color: #555;
        background: transparent;
        border: 1px solid #555;
        border-radius: 6px;
        cursor: pointer;
        white-space: nowrap;
    }
    .mx-download-jump i {
        margin-right: 3px;
        color: #555;
    }
}

/* =====全局顶部栏（固定在视口最顶部，下拉收起 / 上拉出现）===== */
body.has-mx-topbar {
    --mx-top-offset: 0px; /* 顶栏顶部偏移（登录后带后台管理栏时不为 0） */
    padding-top: 35px;    /* 顶栏占位，内容不被固定顶栏遮住 */
}
body.has-mx-topbar.admin-bar {
    --mx-top-offset: 32px;
}

.mx-topbar {
    position: fixed;
    top: var(--mx-top-offset);
    left: 0;
    right: 0;
    z-index: 100;
    height: 35px;
    background: #2b2b2b;
    color: #fff;
    font-size: 13px;
    overflow: hidden;
    transform: translateY(0);
    transition: transform .25s ease;
}
/* 下拉滚动：整条上移移出视口（叠加 admin-bar 偏移，确保完全收起） */
body.mx-topbar-hidden .mx-topbar {
    transform: translateY(calc(-100% - var(--mx-top-offset)));
}
.mx-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 35px;
}
.mx-topbar-item {
    display: inline-flex;
    align-items: center;
    margin: 0 15px 0 0;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.mx-topbar-item i {
    margin-right: 4px;
}
.mx-topbar-item:hover {
    color: #fff;
    opacity: .75;
}

/* 粘性/固定导航跟随顶栏让位；顶栏收起时导航顶回管理栏下方
   （!important 用来压过父主题 .admin-bar.navbar-sticky 的 top:32px；非固定导航由 body 内边距下推，无需处理） */
body.has-mx-topbar.navbar-sticky:not(.ads-before-header) .site-header,
body.has-mx-topbar.navbar-sticky_transparent:not(.ads-before-header) .site-header,
body.has-mx-topbar.stick-now .site-header {
    top: calc(var(--mx-top-offset) + 35px) !important;
    transition: top .25s ease;
}
body.mx-topbar-hidden.navbar-sticky:not(.ads-before-header) .site-header,
body.mx-topbar-hidden.navbar-sticky_transparent:not(.ads-before-header) .site-header,
body.mx-topbar-hidden.stick-now .site-header {
    top: var(--mx-top-offset) !important;
}

@media (max-width: 782px) {
    body.has-mx-topbar.admin-bar {
        --mx-top-offset: 46px; /* 手机端后台管理栏高 46px */
    }
}