/* Match the existing grey background on information-page headers. */
body.page-id-3 #content .page-hero--no-img,
body.page-id-5763 #content .page-hero--no-img {
  background-color: #f6f6f6;
}

/* Keep each destination visible below the sticky header. */
body.page-id-5081 :is(#infrastruktura, #certyfikaty, #historia, #wiedza) {
  scroll-margin-top: 140px;
}

/* At intermediate desktop widths the English navigation wraps to extra rows. */
@media (min-width: 1025px) and (max-width: 1399px) {
  body.page-id-5081 :is(#infrastruktura, #certyfikaty, #historia, #wiedza) {
    scroll-margin-top: 320px !important;
  }
}

/* Hide an opened desktop submenu as soon as its section link is followed. */
nav.e-n-menu [id^="e-n-menu-content-"].polmarkus-anchor-dismissed {
  display: none !important;
}
