/* Shared staging-theme CTA state correction. No default layout, copy, or outline changes. */
@layer hw-canon {
  /* One top-level navigation type rule for home, articles and subpages. */
  body.hw-grafit .site-header .nav-list > .nav-item > a,
  body.hw-grafit .site-header .nav-list > .nav-item > details > summary,
  body.hw-grafit .site-header .nav-list > .nav-item > details > summary > a {
    font-size:13px!important;font-weight:700!important;
  }
  body.hw-grafit .site-header .header-actions a.btn:not(.btn-outline):is(:hover,:focus,:focus-visible,:active,:visited) {
    color:#2f2b24!important;
    --hw-canon-icon-color:#2f2b24!important;
  }
  body.hw-grafit .site-header .header-actions a.btn:not(.btn-outline):is(:hover,:focus,:focus-visible,:active,:visited) :is(span,strong,b,svg,svg *) {
    color:inherit!important;
  }
}

/* The shared html scroll-padding already accounts for the measured sticky header. */
body.hw-grafit.page-id-84659 main :is(#wycena-renowacji,#kalkulator,.atlas-card > section.cta) {
  scroll-margin-top:24px;
}
/* The gallery submenu retains its single ordered column. */
body.hw-grafit .site-header #hw-menu-projects > .mega-column {
  grid-column:1 / -1;
}
/* Renovation uses the existing mega-menu spacing and dividers: three equal columns. */
body.hw-grafit .site-header #hw-menu-renovation {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
@media(max-width:799px) {
  body.hw-grafit .site-header #hw-menu-renovation {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:767.98px) {
  body.hw-grafit .site-header #hw-menu-renovation {grid-template-columns:minmax(0,1fr);}
}
