/* ToJestDom RC290 — calmer brand hierarchy: one header logo, compact hero claim */
/* Remove the duplicated brand lockup from the navigation. */
.headerMotto.brandClaim,
.tjd-poradnik-header .headerMotto.brandClaim,
.tjd-knowledge-header .tjd-motto{
  display:none!important;
}
.topbar .navcta,
.tjd-poradnik-header .navcta,
.tjd-knowledge-header .tjd-cta{
  margin-left:auto!important;
}
/* Keep the catalogue as the visual hero; the brand claim is a small signature, not another logo wall. */
body:not([data-project-slug]) .heroGrid{
  grid-template-columns:minmax(0,1.28fr) minmax(300px,.72fr)!important;
  gap:clamp(34px,4vw,72px)!important;
  align-items:center!important;
}
body:not([data-project-slug]) .heroBrandStatement.brandClaimHero{
  display:block!important;
  width:min(100%,410px)!important;
  min-width:0!important;
  max-width:410px!important;
  height:152px!important;
  min-height:152px!important;
  padding:0!important;
  margin:0 auto!important;
  background-image:url('/assets/tojestdom-claim-compact-rc290.png')!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
  overflow:hidden!important;
  color:transparent!important;
  font-size:0!important;
  opacity:.96!important;
}
body:not([data-project-slug]) .heroBrandStatement.brandClaimHero>strong,
body:not([data-project-slug]) .heroBrandStatement.brandClaimHero>span{display:none!important}
/* Slightly tighten the header now that the second logo is gone. */
@media(min-width:981px){
  .topbar .wrap.nav{padding-left:18px!important;padding-right:18px!important}
  .topbar .navlinks{margin-left:42px!important}
}
@media(max-width:1180px){
  body:not([data-project-slug]) .heroGrid{grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr)!important;gap:32px!important}
  body:not([data-project-slug]) .heroBrandStatement.brandClaimHero{width:min(100%,340px)!important;height:126px!important;min-height:126px!important}
}
@media(max-width:1080px){
  body:not([data-project-slug]) .heroGrid{grid-template-columns:1fr!important}
  body:not([data-project-slug]) .heroBrandStatement.brandClaimHero{display:none!important}
}
