/* Current section remains visible in both the desktop and mobile navigation. */
#header .header__nav .nav-link[aria-current] {
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-underline-offset: .35em;
  text-decoration-thickness: 2px;
}
/* Padding prevents the first breadcrumb margin from collapsing into the header offset. */
#body.promred-inner:not(.banner-page) nav.breadcrumbs {
  padding-top: 24px;
}
#body.promred-inner:not(.banner-page) nav.breadcrumbs .promred-breadcrumb {
  margin-top: 0;
}
@media (min-width: 769px) {
  #header .header__email {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 768px) {
  #body.promred-inner:not(.banner-page) nav.breadcrumbs { padding-top: 20px; }
}

/* About hero: portrait on the right. */
@media (min-width: 1025px) {
  #body.company-page:is([data-url="/o-kompanii/"], [data-url="/o-kompanii/index.php"]) #main > .banner-items:first-child > .banner.background {
    background-position: right bottom;
  }
}

/* Homepage: restore the document scrollbar. */
html:has(body.promred-home), body.promred-home {scrollbar-width:auto;-ms-overflow-style:auto;}
html:has(body.promred-home)::-webkit-scrollbar,body.promred-home::-webkit-scrollbar {display:block;width:12px;}
