/* ToJestDom — PORADNIK SAFE LAYOUT RECOVERY v1
   Scope is intentionally limited to article pages carrying body.tjdPoradnikRecovery. */
body.tjdPoradnikRecovery{margin:0!important;overflow-x:hidden!important;background:#fff;color:#13202a}
body.tjdPoradnikRecovery *,body.tjdPoradnikRecovery *::before,body.tjdPoradnikRecovery *::after{box-sizing:border-box}
body.tjdPoradnikRecovery img,body.tjdPoradnikRecovery svg,body.tjdPoradnikRecovery video,body.tjdPoradnikRecovery iframe{max-width:100%;height:auto}

/* Keep the existing site header inside the viewport even when an old article carries legacy CSS. */
body.tjdPoradnikRecovery header.topbar,
body.tjdPoradnikRecovery header.tjdSiteHeader{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;left:auto!important;right:auto!important;transform:none!important;overflow:visible!important}
body.tjdPoradnikRecovery header.topbar>.wrap.nav,
body.tjdPoradnikRecovery header.topbar .tjdSiteHeaderInner,
body.tjdPoradnikRecovery header.tjdSiteHeader .tjdSiteHeaderInner{width:min(1480px,calc(100% - 48px))!important;max-width:1480px!important;margin:0 auto!important;padding-left:0!important;padding-right:0!important;min-width:0!important}
body.tjdPoradnikRecovery header.topbar .navlinks,
body.tjdPoradnikRecovery header.topbar .tjdSiteNav{min-width:0!important}
body.tjdPoradnikRecovery header.topbar .headerMotto,
body.tjdPoradnikRecovery header.topbar .tjdSiteMotto{flex:0 0 auto!important;min-width:0!important;max-width:280px!important;overflow:hidden!important}
body.tjdPoradnikRecovery header.topbar .headerMotto img,
body.tjdPoradnikRecovery header.topbar .tjdSiteMotto img{display:block!important;max-width:100%!important;height:auto!important}

/* Article viewport and typography. No homepage or project selectors live in this file. */
body.tjdPoradnikRecovery main,
body.tjdPoradnikRecovery .tjdRecoveryMain{width:min(1380px,calc(100% - 64px))!important;max-width:1380px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;min-width:0!important;overflow:visible!important}
body.tjdPoradnikRecovery main>*{max-width:100%;min-width:0}
body.tjdPoradnikRecovery main h1{max-width:1050px;margin-left:0;margin-right:0;overflow-wrap:anywhere;word-break:normal}
body.tjdPoradnikRecovery main h2,body.tjdPoradnikRecovery main h3,body.tjdPoradnikRecovery main p,body.tjdPoradnikRecovery main li{overflow-wrap:anywhere}
body.tjdPoradnikRecovery .tjdRecoveryGrid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,310px)!important;gap:54px!important;align-items:start!important;max-width:1240px!important;width:100%!important;min-width:0!important}
body.tjdPoradnikRecovery .tjdRecoveryArticle{min-width:0!important;max-width:850px!important;width:100%!important;font-size:17px;line-height:1.75;color:#293841}
body.tjdPoradnikRecovery .tjdRecoveryArticle>*{max-width:100%;min-width:0}
body.tjdPoradnikRecovery .tjdRecoveryArticle p,
body.tjdPoradnikRecovery .tjdRecoveryArticle ul,
body.tjdPoradnikRecovery .tjdRecoveryArticle ol{max-width:78ch}
body.tjdPoradnikRecovery .tjdRecoveryArticle img,
body.tjdPoradnikRecovery .tjdRecoveryArticle picture,
body.tjdPoradnikRecovery .tjdRecoveryArticle video,
body.tjdPoradnikRecovery .tjdRecoveryArticle iframe{display:block;max-width:100%!important;height:auto!important}
body.tjdPoradnikRecovery .tjdRecoveryArticle iframe{width:100%!important;aspect-ratio:16/9}
body.tjdPoradnikRecovery .tjdRecoveryArticle table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;border-collapse:collapse}
body.tjdPoradnikRecovery .tjdRecoveryArticle pre,
body.tjdPoradnikRecovery .tjdRecoveryArticle code{max-width:100%;overflow-wrap:anywhere}
body.tjdPoradnikRecovery .tjdRecoveryArticle pre{overflow-x:auto}
body.tjdPoradnikRecovery .tjdRecoveryAside{position:sticky!important;top:110px!important;min-width:0!important;max-width:310px!important;width:100%!important;overflow-wrap:anywhere}

/* Compatibility for older article wrappers. */
body.tjdPoradnikRecovery main .container,
body.tjdPoradnikRecovery main .content,
body.tjdPoradnikRecovery main .contentWrap,
body.tjdPoradnikRecovery main .articleWrap,
body.tjdPoradnikRecovery main .article-shell,
body.tjdPoradnikRecovery main .knowledgeWrap{max-width:100%!important;min-width:0!important}
body.tjdPoradnikRecovery main [style*="min-width"]{min-width:0!important}
body.tjdPoradnikRecovery main [style*="width:"]{max-width:100%!important}

@media(max-width:1100px){
  body.tjdPoradnikRecovery main,body.tjdPoradnikRecovery .tjdRecoveryMain{width:min(100% - 44px,1380px)!important}
  body.tjdPoradnikRecovery .tjdRecoveryGrid{grid-template-columns:1fr!important;gap:32px!important;max-width:900px!important}
  body.tjdPoradnikRecovery .tjdRecoveryArticle{max-width:900px!important}
  body.tjdPoradnikRecovery .tjdRecoveryAside{position:static!important;max-width:900px!important}
}
@media(max-width:940px){
  body.tjdPoradnikRecovery header.topbar>.wrap.nav,
  body.tjdPoradnikRecovery header.topbar .tjdSiteHeaderInner,
  body.tjdPoradnikRecovery header.tjdSiteHeader .tjdSiteHeaderInner{width:calc(100% - 28px)!important}
}
@media(max-width:720px){
  body.tjdPoradnikRecovery main,body.tjdPoradnikRecovery .tjdRecoveryMain{width:calc(100% - 28px)!important;padding-bottom:56px!important}
  body.tjdPoradnikRecovery main h1{font-size:clamp(34px,10.5vw,48px)!important;line-height:1.04!important;letter-spacing:-.035em!important}
  body.tjdPoradnikRecovery .tjdRecoveryArticle{font-size:16px!important;line-height:1.7!important}
  body.tjdPoradnikRecovery .tjdRecoveryGrid{gap:24px!important}
}
