/* Biblioteka Duszy 3.0.1 — only front page photographic hero. */
/* Existing layout, colors, page templates and Core 4.5 remain untouched. */
.bd3-front .hero .hero-art.bd3-hero-illustrated {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  background: #20344e;
  border-color: #e6e2d3;
}
.bd3-front .hero .hero-art.bd3-hero-illustrated::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 69%, rgba(19, 23, 44, .73) 100%);
}
.bd3-front .hero .hero-art.bd3-hero-illustrated::after { content: none; }
.bd3-front .hero .bd3-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 73% center;
}
.bd3-front .hero .bd3-hero-illustrated .art-caption {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 0;
  width: 100%;
  padding: 0 24px;
  margin: 0;
  color: #fff6df;
  font-weight: 650;
  letter-spacing: .15em;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
@media (max-width: 620px) {
  .bd3-front .hero .bd3-hero-photo { object-position: 71% center; }
  .bd3-front .hero .bd3-hero-illustrated .art-caption { display: none; }
}
