
/* v6: focused visual/content polish. No qimen.html link, no qimen JS touched. */
:root{--v6-ink:#0d3559;--v6-blue:#0872bf;--v6-soft:#eef8ff;--v6-line:#c7e2f6;--v6-gold:#bd8322;--v6-gold-soft:#fff7e5;}
/* Move homepage start wheel to the empty lower-right area instead of covering the poster title. */
@media (min-width:981px){
  .qimen-infoposter{min-height:620px!important;}
  .poster-title-block{max-width:540px!important;}
  .poster-title-block h1{font-size:clamp(42px,5vw,66px)!important;}
  .poster-qimen-wheel{top:auto!important;right:54px!important;bottom:58px!important;width:176px!important;height:176px!important;z-index:2;}
  .poster-qimen-wheel .wheel-core{inset:54px!important;font-size:20px!important;}
  .poster-path-v4,.poster-bottom-tags{max-width:560px;}
}
/* Six method cards: deeper content needs a 3x2 grid, not six thin columns. */
.method-v5-head{grid-template-columns:260px minmax(0,1fr)!important;align-items:start!important;margin-bottom:26px!important;}
.method-v5-head h2{font-size:clamp(34px,4vw,58px)!important;max-width:760px;}
.method-v5-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;}
.method-v5-grid .method-card-deep{padding:24px 24px 22px!important;border-radius:24px!important;background:linear-gradient(180deg,#fff,#f8fcff)!important;min-height:250px!important;}
.method-card-deep strong{display:block;color:var(--v6-blue);font-size:25px;line-height:1.2;margin-bottom:8px;}
.method-card-deep em{display:block;font-style:normal;color:#b77b18;font-weight:900;margin-bottom:12px;}
.method-card-deep p{font-size:16px!important;line-height:1.92!important;color:#3e617b!important;margin:0 0 14px!important;}
.method-card-deep span{display:block;border-top:1px dashed #bdddf4;padding-top:12px;color:#0b4d80;font-weight:900;line-height:1.65;}
.method-card-deep:hover{transform:translateY(-3px);box-shadow:0 22px 46px rgba(19,92,151,.13)!important;border-color:#8cc8f4!important;}
/* Course cards: warm premium visual, stronger content rhythm. */
.course-v5-grid{align-items:stretch!important;}
.course-v5-grid .course-card-deep{background:linear-gradient(160deg,#fffdf8 0%,#fff8e6 48%,#eef8ff 100%)!important;border:1px solid #efd79b!important;border-radius:28px!important;padding:28px!important;box-shadow:0 20px 46px rgba(128,91,26,.09)!important;min-height:520px;display:flex!important;flex-direction:column;color:inherit;text-decoration:none;}
.course-v5-grid .course-card-deep::before{height:6px!important;background:linear-gradient(90deg,#d79b2a,#ffe09a,#53a8e8)!important;opacity:1!important;}
.course-card-deep em{display:inline-flex;align-self:flex-start;padding:8px 16px;border-radius:999px;background:#fff3cf;color:#0d6fac!important;border:1px solid #f0d386;font-weight:900;font-style:normal!important;}
.course-card-deep h3{font-size:34px!important;color:#0e3558!important;margin:22px 0 8px!important;}
.course-card-deep b{font-size:38px!important;color:#0872bf!important;margin-bottom:16px!important;}
.course-card-deep p{font-size:16.5px!important;line-height:1.95!important;color:#375d77!important;margin:0 0 16px!important;}
.course-card-deep .course-list-title{margin-top:2px;color:#a86e12;font-weight:900;}
.course-card-deep ul{margin:12px 0 18px!important;gap:10px!important;}
.course-card-deep li{font-size:15.5px;color:#174767!important;line-height:1.65!important;}
.course-card-deep .course-outcome{margin-top:auto;padding:15px 16px;border-radius:18px;background:rgba(255,255,255,.78);border:1px dashed #e0c078;color:#704a10;font-weight:900;line-height:1.7;}
.course-card-deep .card-more{margin-top:18px!important;color:#0872bf!important;font-weight:900!important;}
.course-card-deep:hover{transform:translateY(-4px);box-shadow:0 26px 60px rgba(139,93,20,.16)!important;border-color:#e3b94d!important;}
.course-v5-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;}
.course-v5-page-grid .course-card-deep{min-height:680px;}
.training-hook-card{border-radius:28px!important;}
.training-hook-card h2{font-size:34px!important;}
/* General text beauty without changing layout drastically. */
.home-v3 h2,.list-page h1,.list-page h2{letter-spacing:-.03em;}
.home-v3 p,.list-page p{line-height:1.92;}
.service-v3-grid a,.app-mini-grid article,.case-v3-grid a{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.service-v3-grid a:hover,.app-mini-grid article:hover,.case-v3-grid a:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(20,90,150,.12);}
@media (max-width:1120px){
  .method-v5-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .course-v5-page-grid{grid-template-columns:1fr!important;}
}
@media (max-width:760px){
  .method-v5-head{grid-template-columns:1fr!important;}
  .method-v5-grid{grid-template-columns:1fr!important;}
  .method-v5-grid .method-card-deep{min-height:auto!important;}
  .qimen-infoposter{min-height:0!important;}
  .course-v5-grid .course-card-deep{min-height:auto;padding:24px!important;}
  .course-card-deep h3{font-size:30px!important;}
  .course-card-deep b{font-size:34px!important;}
}
