
:root{
  --lme-green:#006B3C;
  --lme-deep:#003820;
  --lme-gold:#FDB515;
  --lme-line:#E3E8E4;
}

html,body{max-width:100%;}
body{overflow-x:hidden!important;}
img,video,iframe,svg{max-width:100%;}
.elementor,.elementor-section,.elementor-container,.e-con,.e-con-inner,.elementor-widget,.elementor-widget-container{min-width:0;}

.lme-mobile-menu-toggle,.lme-mobile-drawer{display:none;}

@media (max-width:767px){

  /* ---------- HEADER ---------- */
  #lifews-global-header{width:100%!important;background:#fff!important;border-bottom:1px solid var(--lme-line)!important;position:relative!important;z-index:9999!important;}
  #lifews-global-header>div{width:100%!important;max-width:none!important;min-height:64px!important;padding:10px 14px!important;margin:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;box-sizing:border-box!important;}
  #lifews-global-header>div>a:first-child{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;overflow:hidden!important;}
  #lifews-global-header>div>a:first-child>div:first-child{width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:10px!important;}
  #lifews-global-header>div>a:first-child img{width:36px!important;height:36px!important;}
  #lifews-global-header>div>a:first-child>div:last-child{min-width:0!important;overflow:hidden!important;}
  #lifews-global-header>div>a:first-child>div:last-child>div:first-child{font-size:15px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  #lifews-global-header>div>a:first-child>div:last-child>div:last-child{font-size:5.4px!important;letter-spacing:.9px!important;white-space:nowrap!important;}
  #lifews-global-header>div>div:nth-child(2),#lifews-global-header>div>div:last-child{display:none!important;}

  .lme-mobile-menu-toggle{display:flex!important;width:42px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:1px solid #D7E0DA;border-radius:10px;background:#fff;padding:0;cursor:pointer;}
  .lme-mobile-menu-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:var(--lme-deep);transition:.2s ease;}
  .lme-mobile-menu-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
  .lme-mobile-menu-toggle.is-open span:nth-child(2){opacity:0;}
  .lme-mobile-menu-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}
  .lme-mobile-drawer{display:none;width:calc(100% - 28px);margin:0 14px 12px;padding:10px;border:1px solid var(--lme-line);border-radius:14px;background:#fff;box-shadow:0 14px 32px rgba(24,50,34,.10);box-sizing:border-box;}
  .lme-mobile-drawer.is-open{display:block!important;}
  .lme-mobile-nav{display:grid;grid-template-columns:1fr;gap:3px;}
  .lme-mobile-nav a{display:flex;align-items:center;min-height:44px;padding:0 12px;color:#2D3630!important;text-decoration:none!important;font:700 13px/1.2 Arial,Helvetica,sans-serif;border-radius:9px;}
  .lme-mobile-nav a:first-child{background:#EFF6F1;color:var(--lme-green)!important;}
  .lme-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--lme-line);}
  .lme-mobile-actions a{min-height:42px;display:flex;align-items:center;justify-content:center;border-radius:9px;text-decoration:none!important;font:800 13px/1 Arial,Helvetica,sans-serif;}
  .lme-mobile-login{border:1px solid #CED9D1;color:var(--lme-deep)!important;background:#fff;}
  .lme-mobile-signup{border:1px solid var(--lme-green);color:#fff!important;background:var(--lme-green);}

  /* ---------- FREE COURSES: KEEP v1.2.0 BEHAVIOR ---------- */
  .lme-featured-free-section{width:100%!important;max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important;}
  .lme-featured-free-section .lme-free-track{display:flex!important;flex-wrap:nowrap!important;gap:0!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;overscroll-behavior-x:contain!important;padding:0!important;margin:0!important;transform:none!important;}
  .lme-featured-free-section .lme-free-track::-webkit-scrollbar{display:none!important;}
  .lme-featured-free-section .lme-free-card{flex:0 0 100%!important;width:100%!important;min-width:100%!important;max-width:100%!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;margin:0!important;padding-right:0!important;box-sizing:border-box!important;}
  .lme-featured-free-section .lme-free-card img{width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;}
  .lme-featured-free-section .lme-free-hide-mobile{display:none!important;}
  .lme-free-pagination{display:flex!important;justify-content:center!important;align-items:center!important;gap:7px!important;margin:20px 0 0!important;}
  .lme-free-dot{width:7px!important;height:7px!important;padding:0!important;min-width:7px!important;min-height:7px!important;border:0!important;border-radius:999px!important;background:#CAD7CF!important;cursor:pointer!important;}
  .lme-free-dot.is-active{width:20px!important;background:var(--lme-green)!important;}
  .lme-free-swipe-note{display:block!important;margin:8px 0 0!important;text-align:center!important;color:#7A817C!important;font:600 10px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:.03em!important;}

  /* ---------- TEXT PRELUDE SECTIONS BELOW COURSES ---------- */

  .lme-mobile-stack-copy{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  .lme-mobile-stack-copy > div,
  .lme-mobile-stack-copy [class*="inner"],
  .lme-mobile-stack-copy [class*="wrap"],
  .lme-mobile-stack-copy [style*="display:grid"],
  .lme-mobile-stack-copy [style*="display: grid"],
  .lme-mobile-stack-copy [style*="display:flex"],
  .lme-mobile-stack-copy [style*="display: flex"]{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:block!important;
  }

  .lme-mobile-stack-copy h1,
  .lme-mobile-stack-copy h2,
  .lme-mobile-stack-copy h3{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
    white-space:normal!important;
  }

  .lme-mobile-stack-copy h2{
    font-size:40px!important;
    line-height:1.03!important;
    letter-spacing:-.02em!important;
  }

  .lme-mobile-stack-copy p,
  .lme-mobile-stack-copy [class*="intro"],
  .lme-mobile-stack-copy [class*="copy"],
  .lme-mobile-stack-copy [class*="description"]{
    width:100%!important;
    max-width:100%!important;
    margin:18px 0 0!important;
    padding:0!important;
    font-size:16px!important;
    line-height:1.6!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    white-space:normal!important;
  }

  .lme-mobile-stack-copy .lme-copy-column{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:block!important;
    margin:0!important;
    padding:0!important;
  }

  /* give the section sensible phone padding if the desktop wrapper has none */
  .lme-mobile-stack-copy{
    padding-left:20px!important;
    padding-right:20px!important;
  }

  .lme-mobile-stack-copy *{min-width:0!important;box-sizing:border-box!important;}
}

@media(max-width:420px){
  .lme-mobile-stack-copy h2{font-size:36px!important;}
}
