/* ToJestDom RC291 — handwritten claim placement + compact project facts */
:root{--rc291-blue:#219be4;--rc291-navy:#071f38;--rc291-line:#e8e2d8;--rc291-soft:#f7f4ee}
/* HOME: claim only at the right side below the menu, never duplicated in header. */
body.tjdHome .topbar .headerMotto{display:none!important}
body.tjdHome .heroBrandStatement.brandClaimHero{
  display:block!important;width:min(100%,620px)!important;max-width:620px!important;height:230px!important;min-height:230px!important;
  margin:0 auto!important;padding:0!important;background:url('/assets/to-jest-dom-twoj-projekt-script-hero-rc291.png') center/contain no-repeat!important;
  border:0!important;box-shadow:none!important;filter:none!important;color:transparent!important;font-size:0!important;opacity:1!important
}
body.tjdHome .heroBrandStatement.brandClaimHero>*{display:none!important}
/* SUBPAGES: compact handwritten claim on the right inside the nav. */
.topbar .headerMotto.rc291ScriptClaim,.tjd-poradnik-header .headerMotto.rc291ScriptClaim{
  display:block!important;flex:0 0 330px!important;width:330px!important;height:56px!important;min-height:56px!important;margin-left:auto!important;margin-right:18px!important;padding:0!important;
  background:url('/assets/to-jest-dom-twoj-projekt-script-header-rc291.png') center/contain no-repeat!important;color:transparent!important;font-size:0!important;overflow:hidden!important
}
.topbar .headerMotto.rc291ScriptClaim>*{display:none!important}
.topbar .headerMotto.rc291ScriptClaim + .navcta,.tjd-poradnik-header .headerMotto.rc291ScriptClaim + .navcta{margin-left:0!important}
/* Project card: dense technical facts at top of the right panel. */
body[data-project-slug] .detailGrid{grid-template-columns:minmax(0,1fr) minmax(350px,420px)!important;gap:24px!important;align-items:start!important}
body[data-project-slug] .detailSide{padding:24px!important;border-radius:26px!important}
body[data-project-slug] .detailSide h1{font-size:clamp(34px,3.1vw,58px)!important;line-height:.98!important;margin:12px 0 10px!important}
body[data-project-slug] .detailSide>p{margin:0 0 12px!important}
body[data-project-slug] .detailPrice{margin:10px 0 14px!important;font-size:clamp(34px,3vw,46px)!important}
body[data-project-slug] .miniFacts{gap:8px!important;margin:0 0 10px!important}
body[data-project-slug] .miniFacts>div{padding:11px 13px!important;min-height:66px!important;border-radius:14px!important}
body[data-project-slug] .miniFacts b{font-size:17px!important}
body[data-project-slug] .miniFacts span{font-size:12px!important;margin-top:2px!important}
body[data-project-slug] .projectQuickDetails{margin:8px 0 12px;padding:4px 12px;border:1px solid #e8e2d8;border-radius:15px;background:#fbfaf7}
body[data-project-slug] .projectQuickRow{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:35px;border-bottom:1px solid #ece8e1;font-size:12.5px}
body[data-project-slug] .projectQuickRow:last-child{border-bottom:0}
body[data-project-slug] .projectQuickRow span{color:#68737d}
body[data-project-slug] .projectQuickRow b{text-align:right;color:#17202a;font-size:13px;white-space:nowrap}
body[data-project-slug] .heroAnimationCard{margin:10px 0 0!important}
body[data-project-slug] .heroAnimationButton{min-height:96px!important;aspect-ratio:16/5.6!important}
body[data-project-slug] .detailActions{gap:8px!important;margin-top:10px!important}
body[data-project-slug] .detailActions .btn{min-height:44px!important;padding:11px 16px!important}
body[data-project-slug] .projectStrip{display:none!important}
/* Legacy duplicate parameter block is removed from RC291 project HTML. */
@media(max-width:1320px){.topbar .headerMotto.rc291ScriptClaim,.tjd-poradnik-header .headerMotto.rc291ScriptClaim{flex-basis:270px!important;width:270px!important;margin-right:10px!important}}
@media(max-width:1120px){.topbar .headerMotto.rc291ScriptClaim,.tjd-poradnik-header .headerMotto.rc291ScriptClaim{display:none!important}body.tjdHome .heroBrandStatement.brandClaimHero{max-width:480px!important;height:190px!important;min-height:190px!important}}
@media(max-width:980px){body.tjdHome .heroBrandStatement.brandClaimHero{display:none!important}body[data-project-slug] .detailGrid{grid-template-columns:1fr!important}}
@media(max-width:650px){body[data-project-slug] .detailSide{padding:15px!important}body[data-project-slug] .projectQuickRow{min-height:34px;font-size:12px}body[data-project-slug] .projectQuickRow b{font-size:12px}.topbar .headerMotto.rc291ScriptClaim{display:none!important}}
