/* Pasek tytulu podstrony: tytul (roz) + okruszki w bialym boksie po prawej. */
.title-bar {
  position: relative; margin-bottom: 60px;
  background: #897689 url("/sites/default/files/breadcrumb-portfolio-single-title-img-1.webp") repeat fixed 50% 0% / contain;
}
.title-bar-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 11; }
.title-bar .block { margin: 0; }
.title-bar h1, .title-bar .page-title {
  margin: 120px 0; padding: 0 15px; text-align: center;
  font-family: var(--bz-font-heading); font-size: 50px; font-weight: 800; line-height: 55px;
  letter-spacing: -2px; text-transform: uppercase; color: var(--bz-pink);
}
.title-bar .breadcrumb { display: flex; justify-content: flex-end; margin: 0; }
.title-bar .breadcrumb ol {
  list-style: none; margin: 0; padding: 0 20px; background: #fff; display: flex; flex-wrap: wrap;
  line-height: 62px;
}
.title-bar .breadcrumb li { font-size: 16px; font-weight: 500; color: var(--bz-heading); line-height: 30px; padding: 16px 0; }
.title-bar .breadcrumb a { color: var(--bz-heading); }
.title-bar .breadcrumb a:hover { color: var(--bz-pink); }
.title-bar .breadcrumb i { margin: 0 5px; font-size: 14px; }

@media (max-width: 767.98px) {
  .title-bar { margin-bottom: 20px; }
  .title-bar h1, .title-bar .page-title { margin: 50px 0 60px; font-size: 30px; line-height: 30px; letter-spacing: 0; }
  .title-bar .breadcrumb ol { padding: 0 20px; }
  .title-bar .breadcrumb li { font-size: 14px; line-height: 26px; padding: 16px 0; }
}

/* Marginesy tytulu nie "wypadaja" poza pasek (bez bialego pasa pod naglowkiem). */
.title-bar { display: flow-root; overflow: hidden; }

/* Tlo paska tytulu jak na produkcji: obraz fal na warstwie 150% wysokosci, "cover",
   przesuwany lekko przy przewijaniu (paralaksa w js/buzzi.js). */
.title-bar { background: #897689; isolation: isolate; }
.title-bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: -35%; bottom: -35%; z-index: -1;
  background: url("/sites/default/files/breadcrumb-portfolio-single-title-img-1.webp") center / cover repeat;
  transform: translate3d(0, var(--bz-parallax, 0px), 0); will-change: transform;
}

/* Podstrony oferty (typ "usluga"): obraz tla naglowka w odcieniach szarosci. */
body:has(article.node--type-service) .title-bar { background-color: #8a8a8a; }
body:has(article.node--type-service) .title-bar::before { filter: grayscale(1); }
