
/* 万法通2026双11｜V2.7视觉终审：只修排版/图像呈现，不改活动数据和价格 */
:root { --spacing-scale: 4px; }
html { scroll-padding-bottom:108px; }
body { -webkit-font-smoothing:antialiased; }
/* 所有横幅在电脑/手机均按自然宽度等比通栏，不切掉左右文字 */
.hero-desktop, .banner-section .hero-desktop { display:block; max-width:none; width:100%; overflow:visible; line-height:0; }
.hero-desktop img, .banner-section .hero-desktop img {display:block;width:100%;height:auto;max-width:none;object-fit:contain;}
.hero-mobile, .banner-section .hero-mobile {display:none !important;}
.home-return, .go-home { z-index:50; }
/* 页面信息层级和版块节奏 */
.block {padding:66px 0 68px;}
.block > .wrap > .section-title {margin-bottom:25px;}
.section-title h2 {font-size:clamp(29px,2.65vw,38px);line-height:1.36;margin:8px 0 11px;}
.section-title p {font-size:15px;line-height:1.78;}
.section-kicker {font-size:13px;letter-spacing:1px;}
.package-intro{padding-top:50px !important; padding-bottom:65px !important;}
.package-intro > .wrap > .section-title{margin-bottom:25px !important;}
.package-roadmap,.cream-block{padding-top:60px;padding-bottom:65px;}
/* 套餐卡：消除图片高度带来的右栏大块空白，底部价格/按钮自然对齐 */
.package-rows {gap:24px;}
.package-row,.package-row:nth-child(2n){min-height:0;grid-template-columns:.91fr 1.09fr;}
.package-visual {padding:18px 22px;min-height:420px;display:flex;align-items:center;justify-content:center;}
.package-poster {display:block;width:auto;max-width:100%;max-height:505px;height:auto;object-fit:contain;border-radius:16px;}
.package-copy {display:flex;flex-direction:column;justify-content:center;padding:26px 31px;}
.package-copy h2 {font-size:28px;line-height:1.35;margin:5px 0 9px;}
.package-copy h3 {font-size:15px;line-height:1.65;margin:0 0 9px;}
.package-copy p {font-size:14px;line-height:1.75;margin:0 0 14px;}
.theme-pills {gap:6px;}
.theme-pills span {font-size:12px;padding:6px 9px;}
.package-stats {margin:15px 0 17px;padding-top:16px;gap:7px;}
.package-stat b {font-size:21px;margin-bottom:5px;}
.package-stat span {font-size:11px;line-height:1.5;}
.package-footer {margin-top:4px;}
.package-footer strong {font-size:26px;}
.package-footer .btn {min-height:44px;padding:10px 15px;white-space:nowrap;}
/* 课程卡：封面与卡片上缘完全贴合，正文的元信息/标题/价格紧凑、整齐 */
.course-grid.four {gap:18px;}
.course-card {min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:16px;}
.course-card .cover {aspect-ratio:533/300;height:auto;padding:0;border-radius:16px 16px 0 0;overflow:hidden;line-height:0;flex:none;}
.course-card .cover img {width:100%;height:100%;display:block;object-fit:cover;}
.course-card .card-copy {padding:13px 14px 8px;flex:1;}
.course-card .card-copy .course-meta {font-size:12px;margin-bottom:4px;min-height:0;line-height:1.4;}
.course-card .card-copy h3 {font-size:15px;line-height:1.53;min-height:0;margin:0;-webkit-line-clamp:2;}
.course-card .card-foot{padding:8px 14px 15px;min-height:63px;gap:8px;align-items:center;}
.course-card .price-highlight{font-size:13px !important;white-space:nowrap;padding:0 11px;min-height:31px;box-shadow:0 6px 12px rgba(143,24,19,.13)}
.course-card .course-open{font-size:12px;white-space:nowrap;}
body[data-page='course'] .card-copy{padding:15px 14px 8px;}
body[data-page='course'] .card-copy h3{font-size:15px;min-height:48px;}
body[data-page='newcourse'] .section-title.split {margin-bottom:17px;}
body[data-page='newcourse'] .filter-panel {margin-bottom:22px;}
.filter-panel{padding:15px 18px;}
.filter-panel .chip{font-size:12px;}
.popular-group {margin-top:27px;margin-bottom:35px;}
.group-head{margin-bottom:16px;}
/* 底部：固定四导航不遮挡最后一个展示板块 */
body {padding-bottom:112px;}
.dock-nav,.bottom-nav {box-shadow:0 10px 34px rgba(53,22,17,.13);}
.dock-nav{width:min(940px,calc(100% - 30px));gap:8px;padding:7px;bottom:10px;}
.dock-nav a{min-height:59px;font-size:14px;}
.dock-nav a .ico{font-size:19px;}
.bottom-nav{width:min(940px,calc(100% - 30px));bottom:10px;}
/* VIP 专项：减少段落空白 + 提升关键内容可读性 */
body:has(.scale-band) .pricing {padding-top:61px;padding-bottom:69px;}
body:has(.scale-band) .old-members {padding-top:77px;padding-bottom:80px;}
body:has(.scale-band) .orange-section {padding-top:72px;padding-bottom:78px;}
body:has(.scale-band) .rights {padding-top:60px;padding-bottom:67px;}
body:has(.scale-band) .proof {padding-top:73px;padding-bottom:76px;}
body:has(.scale-band) .consult {padding-top:72px;padding-bottom:70px;}
.section-intro {margin-bottom:25px;}
.section-intro h2 {font-size:clamp(28px,2.7vw,38px);line-height:1.34;}
.section-intro p{font-size:15px;line-height:1.75;}
.price-card .plan-intro p{font-size:14px;line-height:1.7;}
.price-card .plan-benefits li{font-size:14px;line-height:1.7;}
.rights-grid h3{font-size:18px;}
.rights-grid p{font-size:14px;line-height:1.75;}
.old-intro p,.orange-copy .orange-lead{font-size:15px;line-height:1.8;}
.old-card p{font-size:13px;}
/* 资料：横向卡片铺满版宽，左图65%，右文35%，图片可完整查看 */
.other-proof-title {margin:50px 0 22px;}
.other-proofs {display:grid;grid-template-columns:1fr;gap:17px;max-width:1100px;margin:0 auto;}
.other-proofs figure {display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);align-items:stretch;border-radius:19px;overflow:hidden;}
.other-proofs .proof-picture {height:270px;min-height:270px;padding:12px 16px;border-bottom:0;border-right:1px solid #eee1d6;background:#fffaf3;}
.other-proofs .proof-picture img {display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;}
.other-proofs figcaption {display:flex;flex-direction:column;justify-content:center;gap:10px;padding:26px 28px;}
.other-proofs figcaption strong {font-size:20px;line-height:1.5;}
.other-proofs figcaption span{font-size:14px;line-height:1.9;}
/* 修复素材外黑角：PNG透明底 + CSS白底，不再使用 JPG 黑底渲染 */
.orange-photo{background:#fff4e5;}
.orange-photo img{background:transparent;}
.qr-side{background:#fffdf8;}
.qr-side img{background:transparent;border-radius:10px;}
@media(max-width:900px){
 .package-row,.package-row:nth-child(2n){grid-template-columns:1fr 1fr;}
 .package-poster{max-height:420px;}
 .package-copy{padding:23px;}
 .package-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
 .other-proofs figure{grid-template-columns:minmax(0,1.5fr) minmax(180px,.85fr);}
}
@media(max-width:600px){
  body{padding-bottom:98px;}
  .hero-desktop,.banner-section .hero-desktop {display:block !important;}
  .hero-mobile,.banner-section .hero-mobile {display:none !important;}
  .block{padding:39px 0 46px;}
  .section-title h2{font-size:27px;line-height:1.38;}
  .section-title p{font-size:14px;line-height:1.7;}
  .section-kicker{font-size:12px;letter-spacing:.5px;}
  .package-intro{padding-top:28px !important;padding-bottom:45px !important;}
  .package-rows{gap:17px;}
  .package-row,.package-row:nth-child(2n){display:flex;flex-direction:column;}
  .package-visual{min-height:0;padding:13px 18px;}
  .package-poster{max-height:320px;max-width:100%;}
  .package-copy{padding:19px 20px 22px;}
  .package-copy h2{font-size:23px;}
  .package-copy h3{font-size:14px;margin-bottom:6px;}
  .package-copy p{font-size:13px;line-height:1.7;}
  .package-stats{margin:13px 0 15px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
  .package-stat b{font-size:19px;}
  .package-stat span{font-size:11px;}
  .package-footer strong{font-size:24px;}
  .course-grid.four{gap:10px;}
  .course-card .card-copy{padding:9px 10px 6px;}
  .course-card .card-copy .course-meta{font-size:11px;line-height:1.45;margin-bottom:4px;}
  .course-card .card-copy h3{font-size:13px;line-height:1.5;min-height:42px;}
  body[data-page='course'] .card-copy{padding:12px 10px 6px;}
  body[data-page='course'] .card-copy h3{font-size:13px;min-height:40px;}
  .course-card .card-foot{flex-direction:column;align-items:flex-start;padding:6px 10px 11px;min-height:73px;gap:7px;}
  .course-card .price-highlight{font-size:12px !important;min-height:29px;padding:0 10px;}
  .course-card .course-open{font-size:12px;}
  .filter-panel{padding:12px;}
  .filter-panel .chip{font-size:12px;}
  .popular-group{margin-top:23px;margin-bottom:31px;}
  .dock-nav{width:calc(100% - 12px);bottom:5px;border-radius:17px;gap:4px;padding:6px;}
  .dock-nav a{min-height:60px;font-size:12px;}
  .dock-nav a .ico{font-size:18px;}
  .bottom-nav{width:calc(100% - 12px);bottom:5px;}
  body:has(.scale-band) .scale-band{margin-top:0;}
  body:has(.scale-band) .pricing{padding-top:37px;padding-bottom:49px;}
  body:has(.scale-band) .old-members{padding-top:47px;padding-bottom:52px;}
  body:has(.scale-band) .orange-section{padding-top:49px;padding-bottom:52px;}
  body:has(.scale-band) .rights{padding-top:43px;padding-bottom:49px;}
  body:has(.scale-band) .proof{padding-top:43px;padding-bottom:60px;}
  body:has(.scale-band) .consult{padding-top:52px;padding-bottom:49px;}
  .section-intro{margin-bottom:20px;}
  .section-intro h2{font-size:27px;}
  .section-intro p{font-size:14px;line-height:1.7;}
  .price-card .plan-intro p{font-size:13px;}
  .price-card .plan-benefits li{font-size:13px;}
  .rights-grid p{font-size:13px;}
  .old-intro p,.orange-copy .orange-lead{font-size:13px;}
  .old-card p{font-size:12px;}
  .other-proof-title{margin:32px 0 18px;}
  .other-proofs{gap:12px;}
  .other-proofs figure{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr);min-height:150px;}
  .other-proofs .proof-picture{height:165px;min-height:165px;padding:8px;border-right:1px solid #eee1d6;}
  .other-proofs figcaption{padding:11px 12px;gap:5px;}
  .other-proofs figcaption strong{font-size:15px;}
  .other-proofs figcaption span{font-size:12px;line-height:1.65;}
  .orange-gallery{height:365px;min-height:0;}
  .qr-side img{width:100%;max-width:320px;}
}

/* 700–900px平板：套餐仍使用左右结构，避免海报单独占据整行 */
@media (min-width:700px) and (max-width:900px){
 .package-row,.package-row:nth-child(2n){display:grid !important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) !important;}
 .package-visual{min-height:0;padding:14px;}
 .package-poster{max-height:440px;max-width:100%;}
 .package-copy{padding:21px 22px;}
 .package-copy h2{font-size:23px;}
 .package-copy p{font-size:13px;line-height:1.65;}
 .package-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .package-stat b{font-size:18px;}
 .package-footer{gap:8px;}
 .package-footer strong{font-size:23px;}
 .package-footer .btn{padding:9px 11px;font-size:12px;}
}

/* V3.0：覆盖旧手机端零间距规则，首屏至课程规模区保持呼吸空间 */
body:has(.scale-band) .scale-band{margin-top:28px;}
@media(max-width:820px){body:has(.scale-band) .scale-band{margin-top:22px;}}
@media(max-width:600px){body:has(.scale-band) .scale-band{margin-top:18px;}}
