/* =========================================================
   苏州市技术经理人协会 · 官网手机版
   依赖 base.css 的品牌令牌；仅手机版布局加载
   ========================================================= */

.msite-body{background:var(--paper);color:var(--text)}
.msite{
  width:100%;max-width:540px;margin:0 auto;min-height:100vh;
  background:var(--paper);position:relative;
  display:flex;flex-direction:column;
  padding-bottom:calc(66px + env(safe-area-inset-bottom));
}
.msite .toast{position:fixed;top:62px;left:14px;right:14px;max-width:512px;margin:0 auto;z-index:90}
.msite.no-tab{padding-bottom:calc(86px + env(safe-area-inset-bottom))}

/* ---------- 顶部条 ---------- */
.mtop{
  position:sticky;top:0;z-index:60;display:flex;align-items:center;gap:10px;
  height:54px;padding:0 14px;background:rgba(255,255,255,.95);
  -webkit-backdrop-filter:saturate(180%) blur(10px);backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.mtop .mback{
  width:26px;height:26px;flex:0 0 26px;margin-left:-4px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;color:var(--text);
}
.mtop .mback:active{background:var(--soft)}
.mtop .mbrand{display:flex;align-items:center;gap:8px;min-width:0}
.mtop .mbrand img{width:26px;height:26px;flex:0 0 26px;display:block}
.mtop .mbrand span{min-width:0;display:block}
.mtop .mbrand b{
  display:block;font-size:13.5px;font-weight:600;line-height:1.2;letter-spacing:.2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.mtop .mbrand i{
  display:block;font-style:normal;font-size:8.5px;color:var(--gray);letter-spacing:.3px;
  margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.mtop .mpc{
  margin-left:auto;flex:0 0 auto;font-size:11px;color:var(--gray2);
  border:1px solid var(--line);border-radius:12px;padding:4px 9px;line-height:1;
}

/* ---------- 首页头图 ---------- */
.mhero{
  position:relative;overflow:hidden;color:#fff;padding:24px 18px 26px;
  background:linear-gradient(163deg,#2A4C93 0%,#1A3572 56%,#12275C 100%);
  border-radius:0 0 22px 22px;
}
.mhero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(78% 62% at 26% 18%,#000,transparent 78%);
  mask-image:radial-gradient(78% 62% at 26% 18%,#000,transparent 78%);
}
.mhero > *{position:relative;z-index:2}
.mhero .kick{
  display:inline-flex;align-items:center;gap:6px;height:23px;padding:0 10px;border-radius:12px;
  background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);
  font-size:11px;color:#D5E0F7;
}
.mhero .kick i{width:5px;height:5px;border-radius:50%;background:#7FE3B4;display:block}
.mhero h1{font-size:27px;line-height:1.32;font-weight:600;margin:13px 0 0;letter-spacing:-.6px}
.mhero h1 em{font-style:normal;color:#A9C8F5}
.mhero p{font-size:12.5px;line-height:1.9;color:#BFCFEC;margin:9px 0 0}
.mhero .btns{display:flex;gap:9px;margin-top:17px}
.mhero .btns a{
  flex:1;height:42px;border-radius:11px;display:flex;align-items:center;justify-content:center;
  font-size:13.5px;font-weight:600;letter-spacing:.2px;
}
.mhero .btns .p{background:#fff;color:var(--brand-700)}
.mhero .btns .l{background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.mfacts{
  display:grid;grid-template-columns:repeat(4,1fr);gap:6px;
  margin-top:20px;padding-top:15px;border-top:1px solid rgba(255,255,255,.14);
}
.mfacts b{display:block;font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.4px}
.mfacts span{display:block;font-size:10px;color:#A9BCDE;margin-top:3px}

/* ---------- 版块 ---------- */
.msec{margin:20px 14px 0}
.msec-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}
.msec-h .t{font-size:15.5px;font-weight:600;letter-spacing:-.2px}
.msec-h .s{font-size:11.5px;color:var(--gray);margin-top:3px;line-height:1.6}
.msec-h .l{font-size:11.5px;color:var(--brand-600);white-space:nowrap;flex:0 0 auto}

.mcard{display:block;background:#fff;border-radius:14px;padding:14px;box-shadow:var(--shadow-1)}
.mcard:active{background:#FCFDFF}
.mlist{display:flex;flex-direction:column;gap:10px}

/* 服务事项 */
.m-svc{display:flex;gap:12px;align-items:flex-start}
.m-svc .ic{
  width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:var(--brand-50);
  display:flex;align-items:center;justify-content:center;
}
.m-svc .tx{flex:1;min-width:0}
.m-svc .tx b{display:block;font-size:13.5px;font-weight:600}
.m-svc .tx span{display:block;font-size:11.5px;color:var(--gray2);line-height:1.75;margin-top:4px}
.m-svc .go{
  flex:0 0 auto;align-self:center;font-size:11px;color:var(--brand-600);
  display:flex;align-items:center;gap:2px;
}

/* 开班卡片 */
.m-bc .top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.m-bc .top .dt{font-size:11px;color:var(--gray)}
.m-bc h4{font-size:14.5px;font-weight:600;line-height:1.45;margin:8px 0 0;letter-spacing:-.2px}
.m-bc .sum{font-size:11.5px;color:var(--gray2);line-height:1.7;margin-top:5px}
.m-bc .meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:9px}
.m-bc .meta span{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--gray)}
.m-bc .foot{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-top:11px;padding-top:11px;border-top:1px dashed var(--line);
}
.m-bc .fee{font-size:12.5px;font-weight:600;color:var(--brand-700)}
.m-bc .go{font-size:11.5px;color:var(--brand-600);display:inline-flex;align-items:center;gap:2px}

/* 活动卡片 */
.m-ac{display:flex;gap:12px;align-items:center}
.m-ac .thumb{
  width:88px;height:66px;flex:0 0 88px;border-radius:10px;overflow:hidden;
  background:var(--soft);display:flex;align-items:center;justify-content:center;position:relative;
}
.m-ac .thumb.video{background:var(--brand-50)}
.m-ac .b{flex:1;min-width:0}
.m-ac .b .kind{font-size:10.5px;color:var(--accent-ink);letter-spacing:.2px}
.m-ac .b h4{font-size:13px;font-weight:600;line-height:1.5;margin:4px 0 0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.m-ac .b .dt{font-size:10.5px;color:var(--gray);margin-top:5px}

/* CTA */
.m-cta{
  margin:20px 14px 0;border-radius:16px;padding:20px 18px;color:#fff;
  background:linear-gradient(155deg,#2A4C93,#1A3572 60%,#12275C);
}
.m-cta h3{font-size:16px;font-weight:600;margin:0;line-height:1.5}
.m-cta p{font-size:11.5px;line-height:1.8;color:#BFCFEC;margin:7px 0 0}
.m-cta .btns{display:flex;gap:9px;margin-top:15px}
.m-cta .btns a{
  flex:1;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  font-size:12.5px;font-weight:600;
}
.m-cta .btns .p{background:#fff;color:var(--brand-700)}
.m-cta .btns .l{background:rgba(255,255,255,.12);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}

/* ---------- 内页标题区 ---------- */
.mhead{padding:20px 16px 18px;background:#fff;border-bottom:1px solid var(--hair)}
.mhead .crumb{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--gray);margin-bottom:9px}
.mhead .crumb a{color:var(--gray)}
.mhead h1{font-size:20px;font-weight:600;line-height:1.45;margin:0;letter-spacing:-.3px}
.mhead p{font-size:12px;line-height:1.8;color:var(--gray2);margin:8px 0 0}

/* 筛选 */
.mchips{display:flex;gap:8px;overflow-x:auto;padding:12px 14px 2px;background:transparent}
.mchips::-webkit-scrollbar{display:none}
.mchips a{
  flex:0 0 auto;height:31px;padding:0 14px;border-radius:16px;background:#fff;
  border:1px solid var(--line);display:flex;align-items:center;font-size:12px;color:var(--gray2);
}
.mchips a.on{background:var(--brand-600);border-color:var(--brand-600);color:#fff;font-weight:500}

/* 详情信息表 */
.m-dl{display:flex;flex-direction:column;gap:0}
.m-dl .r{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--hair)}
.m-dl .r:last-child{border-bottom:0;padding-bottom:0}
.m-dl .r:first-child{padding-top:0}
.m-dl dt{font-size:12px;color:var(--gray);flex:0 0 auto}
.m-dl dd{margin:0;font-size:12.5px;color:var(--text);text-align:right;line-height:1.6}
.m-tile{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.m-tile .t{background:var(--soft);border-radius:10px;padding:10px 12px}
.m-tile .t i{display:block;font-style:normal;font-size:10.5px;color:var(--gray)}
.m-tile .t b{display:block;font-size:13px;font-weight:600;margin-top:4px}

/* 课程 / 段落 */
.m-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--hair)}
.m-row:last-child{border-bottom:0;padding-bottom:0}
.m-row .n{font-size:12.5px;line-height:1.6;flex:1;min-width:0}
.m-row .v{font-size:11.5px;color:var(--gray);flex:0 0 auto}
.m-ul{margin:0;padding-left:17px}
.m-ul li{font-size:12px;line-height:1.9;color:var(--gray2);margin-bottom:4px}
.m-ul li:last-child{margin-bottom:0}
.m-quote{
  background:var(--brand-50);border-left:3px solid var(--brand-400);border-radius:0 10px 10px 0;
  padding:12px 14px;font-size:12.5px;line-height:1.9;color:var(--text-2);
}
.m-art{font-size:13.5px;line-height:1.95;color:var(--text-2)}
.m-art p{margin:0 0 12px}
.m-art img{max-width:100%;border-radius:10px;display:block}
.m-art h3{font-size:14px;font-weight:600;color:var(--text);margin:16px 0 8px}
.m-gal{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.m-gal figure{margin:0}
.m-gal img{width:100%;border-radius:10px;display:block}
.m-gal figcaption{font-size:10.5px;color:var(--gray);margin-top:5px;line-height:1.5}

/* 表单 */
.m-fld{margin-top:14px}
.m-fld:first-child{margin-top:0}
.m-fld label{display:block;font-size:12px;color:var(--text-2);font-weight:500;margin-bottom:7px}
.m-fld label i{font-style:normal;color:var(--red);margin-left:2px}
.m-fld input,.m-fld textarea{
  width:100%;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;
  padding:0 13px;font-size:14px;transition:border-color .16s,box-shadow .16s;
}
.m-fld textarea{height:auto;padding:11px 13px;line-height:1.7;resize:vertical;font-family:inherit}
.m-fld input:focus,.m-fld textarea:focus{outline:none;border-color:var(--brand-400);box-shadow:0 0 0 3px rgba(58,97,180,.12)}
.m-err{background:var(--redbg);color:var(--red);font-size:12px;border-radius:9px;padding:10px 13px;line-height:1.6;margin-bottom:12px}

/* 底部固定操作条 */
.m-act{
  position:fixed;left:0;right:0;bottom:0;z-index:55;max-width:540px;margin:0 auto;
  background:#fff;border-top:1px solid var(--line);
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  display:flex;align-items:center;gap:12px;
  box-shadow:0 -6px 18px -14px rgba(18,39,92,.4);
}
.m-act .fee{flex:0 0 auto;min-width:0}
.m-act .fee b{display:block;font-size:14px;font-weight:600;color:var(--brand-700);line-height:1.2}
.m-act .fee span{display:block;font-size:10.5px;color:var(--gray);margin-top:3px}
.m-act .btn{flex:1;height:44px;font-size:14px;border-radius:11px}
.m-act .btn.primary{background:var(--brand-600)}
.m-act .btn.disabled{opacity:1;background:var(--soft2);color:var(--gray);pointer-events:none}
.m-act.pair .btn{flex:1}
.m-hint{font-size:10.5px;color:var(--gray);text-align:center;margin-top:8px;line-height:1.6}

/* 空态 */
.m-empty{background:#fff;border-radius:14px;padding:36px 20px;text-align:center;box-shadow:var(--shadow-1)}
.m-empty .ic{width:48px;height:48px;border-radius:14px;background:var(--brand-50);margin:0 auto 12px;display:flex;align-items:center;justify-content:center}
.m-empty .t{font-size:13.5px;font-weight:600}
.m-empty .m{font-size:11.5px;color:var(--gray);margin-top:6px;line-height:1.7}

/* 页脚 */
.mfoot{margin:auto 14px 0;padding:22px 0 8px;border-top:1px solid var(--line);text-align:center}
.mfoot .b{font-size:12.5px;font-weight:600;color:var(--text-2)}
.mfoot .s{font-size:11px;color:var(--brand-600);margin-top:6px;letter-spacing:.4px}
.mfoot .c{font-size:10.5px;color:var(--gray);margin-top:8px;line-height:1.8}
.mfoot .l{display:flex;justify-content:center;gap:14px;margin-top:10px;font-size:11px;color:var(--gray2)}
.mfoot .l a{color:var(--gray2)}

/* 底部 tabBar */
.mtab{
  position:fixed;left:0;right:0;bottom:0;z-index:58;max-width:540px;margin:0 auto;
  height:calc(58px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);
  background:#fff;border-top:1px solid var(--line);display:flex;
}
.mtab a{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  font-size:10px;color:var(--gray);padding-top:2px;
}
.mtab a.on{color:var(--brand-600);font-weight:600}
.mtab a svg{display:block}

@media (min-width:560px){
  .msite{box-shadow:0 0 0 1px rgba(18,39,92,.06),0 18px 50px -32px rgba(18,39,92,.4)}
}
