/* LaraPress Lenneke 2.6 — desktop density, course UX, editorial lesson formats. */
.lm27-hero-offer{border-color:#6a40aa!important}
.lm27-location-fact{max-width:100%}
.lm27-location-fact strong{overflow-wrap:anywhere}
.lm27-aside-locations{display:grid;gap:5px;padding:13px 0;border-top:1px solid #eee5f5;font-size:.89rem;line-height:1.55}
.lm27-aside-locations strong{color:#30233e}
.lm27-aside-locations span{color:#746b7a}
.lm27-test-cta{border-color:#6b40b0!important}
.lm27-practical-faq{scroll-margin-top:112px}
.lm27-practical-faq .lm-faq__answer p{margin:0;font-size:.98rem}
.lm27-haha-identity{margin-top:21px;display:flex;flex-direction:column;gap:8px;max-width:280px}
.lm27-haha-identity>span{font-size:12px;color:#b7a9c6;line-height:1.45}
.lm27-haha-identity>a{display:inline-flex;align-items:center;justify-content:flex-start;max-width:170px;min-height:40px;text-decoration:none;color:#fff!important}
.lm27-haha-identity>a strong{display:block;font-size:19px;letter-spacing:-.035em;border:1px solid #645376;padding:7px 13px;border-radius:9px;color:white}
.lm27-haha-identity img{display:block;object-fit:contain;max-height:54px;max-width:160px;width:auto;height:auto;border-radius:8px;background:#fff;padding:5px}
/* One calm reading width with responsive Fabric cards */
.lm27-lessons{font-family:Barlow,system-ui,sans-serif;color:#2c2340;background:#fff;overflow-x:clip}
.lm27-lesson-content{width:100%}
.lm27-lessons .wp-block-group{box-sizing:border-box}
.lm27-lessons .lm27-lesson-hero{padding:clamp(40px,6vw,80px) max(22px,calc((100% - 1240px)/2));background:radial-gradient(ellipse at 87% 7%,#e6dcff,transparent 48%),linear-gradient(115deg,#f9f7ff,#f2f8ff);border-bottom:1px solid #ece5f4}
.lm27-lessons .lm27-lesson-hero>:first-child{font-size:.75rem!important;font-weight:900!important;letter-spacing:.16em;text-transform:uppercase;color:#633bab}
.lm27-lessons .lm27-lesson-hero h1{max-width:940px;font-size:clamp(2.25rem,5vw,4.5rem)!important;letter-spacing:-.048em;line-height:1.07;font-weight:900;margin:9px 0 19px;color:#292039}
.lm27-lessons .lm27-lesson-hero p:not(:first-child){max-width:770px;font-size:clamp(1.05rem,1.55vw,1.3rem);line-height:1.65;color:#5f5670}
.lm27-lessons .lm27-lesson-section,.lm27-lessons .lm27-lesson-soft{max-width:1280px;margin:0 auto;padding:clamp(39px,5vw,74px) 24px}
.lm27-lessons .lm27-lesson-soft{max-width:100%;padding-left:max(24px,calc((100% - 1232px)/2));padding-right:max(24px,calc((100% - 1232px)/2));background:#f6f1fd}
.lm27-lessons .lm27-lesson-section>h2,.lm27-lessons .lm27-lesson-soft>h2,.lm27-lessons .lm27-lesson-cta h2{font-size:clamp(1.75rem,3vw,2.75rem);font-weight:900;letter-spacing:-.035em;margin:0 0 15px;line-height:1.19}
.lm27-lessons p{line-height:1.7;color:#625a71}
.lm27-lessons .lm27-card-columns{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0 0}
.lm27-lessons .lm27-card-columns>.wp-block-column{min-width:0!important;box-sizing:border-box;border:1px solid #e8e1ef;border-radius:23px;padding:27px;background:#fff;box-shadow:0 10px 30px rgba(35,20,60,.05);flex:none!important;transition:transform .2s,box-shadow .2s}
.lm27-lessons .lm27-card-columns>.wp-block-column:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(35,20,60,.12)}
.lm27-lessons .lm27-card-columns h3{font-size:1.27rem;line-height:1.25;font-weight:800;letter-spacing:-.025em;margin:0 0 13px}
.lm27-lessons .lm27-card-columns p{margin:0 0 10px;font-size:1rem}
.lm27-lessons .wp-block-list{padding-left:19px;font-size:.95rem;line-height:1.6;color:#4e455d;margin:14px 0 0}
.lm27-lessons .lm27-lesson-cta{padding:clamp(42px,5vw,76px) 24px;background:linear-gradient(130deg,#ede5fa,#f7f9ff);text-align:center}
.lm27-lessons .lm27-lesson-cta p{max-width:670px;margin:0 auto 21px}
.lm27-lessons .wp-block-buttons{margin-top:22px;display:flex;justify-content:flex-start}
.lm27-lessons .lm27-lesson-cta .wp-block-buttons{justify-content:center}
.lm27-lessons .wp-block-button__link{font-size:1rem;font-weight:800;display:inline-flex;background:#6541ac;color:#fff;padding:15px 23px;border-radius:13px;text-decoration:none}
.lm27-lessons .wp-block-button__link:hover{background:#4f318e;color:#fff}
.lm27-lessons .lm27-comparison{overflow-x:auto;border:1px solid #e4dbea;border-radius:19px;box-shadow:0 8px 28px rgba(35,20,60,.04);margin:26px 0 0}
.lm27-lessons .lm27-comparison table{width:100%;min-width:650px;border-collapse:collapse}
.lm27-lessons .lm27-comparison thead{background:#6240a4;color:#fff}
.lm27-lessons .lm27-comparison th,.lm27-lessons .lm27-comparison td{padding:15px 17px!important;border:0!important;border-bottom:1px solid #e9e4f0!important;text-align:left;font-size:.93rem;vertical-align:top}
.lm27-lessons .lm27-comparison tr:nth-child(even) td{background:#faf8fd}
.lm27-lessons .lm27-comparison th:first-child,.lm27-lessons .lm27-comparison td:first-child{font-weight:800}
/* Desktop improvements without altering mobile header or cards */
@media(min-width:1000px){
  .lm-single-course .lm-wrap{width:min(1450px,calc(100% - 68px))}
  .lm-single-course .lm-page-hero__inner{padding:31px 0 45px;gap:47px}
  .lm-single-course .lm-breadcrumbs{padding:16px 0 4px}
  .lm-single-course .lm-main-grid{grid-template-columns:minmax(0,1.9fr) minmax(325px,.82fr);gap:33px}
  .lm-single-course .lm-page-hero__photo{min-height:245px}
  .lm-single-course .lm-page-hero__photo img{max-height:355px}
  .lm19-home-hero{padding-top:41px!important;padding-bottom:56px!important}
  .lm23-inc-hero{padding-top:35px!important;padding-bottom:54px!important}
  .lm18-hero{padding-top:43px!important;padding-bottom:52px!important}
  .lm16-hero{padding-top:37px!important;padding-bottom:48px!important}
  .lm23-courses-hero{padding-top:39px!important;padding-bottom:48px!important}
  .lm-editorial-hero{padding-top:45px!important;padding-bottom:53px!important}
  .lm-header--fabric .lm-fabric-mega__group li a{font-size:14.5px!important;line-height:1.45;padding:9px 7px!important}
  .lm-header--fabric .lm-fabric-mega__grouphead h3{font-size:15px!important}
  /* Tools dropdown is anchored beneath its menu label, not to the far page edge */
  .lm-main-menu>.lm-menu-item[data-menu="tools"]{position:relative!important}
  .lm-main-menu>.lm-menu-item[data-menu="tools"]>.lm-submenu{width:380px!important;min-width:300px!important;right:0!important;left:auto!important;padding:12px!important;border-radius:18px!important;grid-template-columns:1fr!important;gap:5px!important}
  .lm-main-menu>.lm-menu-item[data-menu="tools"]>.lm-submenu a{font-size:14.5px!important;padding:12px 14px!important}
}
@media(max-width:800px){
 .lm27-lessons .lm27-card-columns{grid-template-columns:1fr;gap:13px}
 .lm27-lessons .lm27-card-columns>.wp-block-column{padding:20px}
 .lm27-lessons .lm27-lesson-hero{padding:37px 18px 41px}
 .lm27-lessons .lm27-lesson-section,.lm27-lessons .lm27-lesson-soft{padding:38px 18px}
 .lm27-lessons .lm27-lesson-cta{padding:39px 18px}
 .lm27-lessons .lm27-comparison th,.lm27-lessons .lm27-comparison td{padding:12px!important}
}
@media(prefers-reduced-motion:reduce){.lm27-lessons .lm27-card-columns>.wp-block-column{transition:none!important}.lm27-lessons .lm27-card-columns>.wp-block-column:hover{transform:none}}
