/* thementor.pl — wersja mobilna (nadpisuje style inline strony głównej) */
html,body{overflow-x:clip;max-width:100%}
.std-do{display:none}
img,svg,video,iframe{max-width:100%}
@media (max-width:820px){
  .nb{display:block}
  section[style*="padding: 104px 32px"],section[style*="padding: 96px 32px"]{padding-left:20px!important;padding-right:20px!important}
  [style*="padding: 104px 32px"]{padding-top:64px!important;padding-bottom:64px!important}
  [style*="padding: 96px 32px 40px"]{padding:56px 20px 32px!important}
  h1[style]{font-size:clamp(36px,10.5vw,52px)!important;line-height:1.04!important;letter-spacing:-0.025em!important}
  h2[style]{font-size:clamp(30px,8.4vw,42px)!important;line-height:1.06!important;letter-spacing:-0.025em!important}
  [style*="font-size: 56px"]{font-size:36px!important}
  [style*="font-size: 96px"]{font-size:56px!important}
  [style*="font-size: 84px"],[style*="font-size: 80px"],[style*="font-size: 76px"],[style*="font-size: 64px"]{font-size:clamp(30px,8.4vw,42px)!important}
  [style*="font-size: 28px"]{font-size:22px!important}
  [style*="width: 1280px"],[style*="width: 820px"],[style*="width: 640px"],[style*="width: 560px"],[style*="width: 480px"],[style*="width: 460px"],[style*="width: 440px"],[style*="width: 340px"],[style*="width: 320px"],[style*="width: 300px"]{width:auto!important;max-width:100%!important;box-sizing:border-box}
  [style*="min-width: 300px"],[style*="min-width: 220px"]{min-width:0!important}
  [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}
  [style*="gap: 72px"],[style*="gap: 64px"],[style*="gap: 56px"]{gap:32px!important}
  [style*="gap: 48px"]{gap:28px!important}
  .btn-primary,.btn-ghost,.btn-dark{box-sizing:border-box}
}

@media (max-width:820px){
  html,body,h1,h2,h3,p,div,span,a,button,[style*="font-family: Newsreader"]{hyphens:none!important;-webkit-hyphens:none!important;overflow-wrap:normal!important;word-break:normal!important}
  [style*="font-size: 54px"]{font-size:30px!important;line-height:1.14!important}
  [style*="font-size: 46px"]{font-size:30px!important}
  [style*="font-size: 38px"]{font-size:27px!important}
  [style*="font-size: 72px"]{font-size:46px!important}
  [style*="font-size: 34px"]{font-size:26px!important}
  [style*="font-size: 300px"]{font-size:180px!important}
  #stat-anchor>div{padding:22px 0!important;border-right:0!important;border-left:0!important}
  #proces-bars{flex-direction:column!important;align-items:stretch!important;height:auto!important;border-bottom:0!important;gap:0!important}
  #proces-bars>[data-h]{flex:0 0 auto!important;height:auto!important;min-height:0!important;gap:14px!important;padding:22px 20px!important}
  /* słupki wczytują się od lewej do prawej (szerokość animuje tm-script.js) */
  #proces-bars>[data-h]{align-self:flex-start;width:calc(100% * var(--f,1));margin-bottom:8px;overflow:hidden}
  #proces-bars>[data-h]:nth-child(1){--f:.72}
  #proces-bars>[data-h]:nth-child(2){--f:.86}
  #proces-bars>[data-h]:nth-child(3){--f:1}
  #proces-bars>[data-h]>*{flex:none!important;width:calc((100vw - 40px) * var(--f,1) - 40px)}
  #proces-bars{gap:0!important}
  /* 02: panel "Co z tym robimy" przeniesiony do rozwiniętego punktu */
  .std-do-box{display:none!important}
  div:has(> div > .std-panel){display:none!important}
  .std-do{display:flex;flex-direction:column;gap:8px;background:#fff;border-left:3px solid #fb5607;padding:16px 18px;margin:0 0 28px}
  .std-do-h{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.14em;color:#191970}
  .std-do>div:not(.std-do-h){font-size:15px;line-height:1.6;color:#495057}
  .std-do a{font-weight:700;font-size:14px}
  .std-btn{padding:20px 0!important}
  .std-btn:hover{padding-left:0!important;background:none!important}
  .std-row.open .std-btn{background:rgba(25,25,112,.06)}
}
@media (max-width:820px){.tm-word-box{height:12.4vw!important}.tm-word{font-size:15.4vw!important;padding-left:12px!important;line-height:1!important}.tm-li-ref a{width:100%;justify-content:space-between;box-sizing:border-box}}
@media (max-width:820px){.tm-brd{display:none}}
