/* Indywidualna oprawa strony Bibliografii Zachodniogalicyjskich Cmentarzy Wojennych. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bibliography-page .bibliography-hero {
  padding: 0;
  overflow: hidden;
  background: none;
  border: 0;
}

.bibliography-page .bibliography-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68vh, 44rem);
  object-fit: cover;
  object-position: center;
}

.bibliography-reading-content {
  width: 100%;
  max-width: 70ch;
  margin-inline: auto;
  min-width: 0;
}

.bibliography-page {
  --narrative-tile-height: clamp(56rem, 56.25vw, 72rem);
  background-color: var(--color-background);
  background-image:
    repeating-linear-gradient(
      to bottom,
      #ddc898 0,
      rgb(239 218 170 / 24%) 10rem,
      rgb(239 218 170 / 24%) calc(var(--narrative-tile-height) - 12rem),
      #ddc898 var(--narrative-tile-height)
    ),
    url("assets/bibliografia-oprawa-boczna-v2.png"),
    url("assets/tlo-pergamin.png");
  background-repeat: repeat-y, repeat-y, repeat;
  background-position: center top, center top, left top;
  background-size:
    100% var(--narrative-tile-height),
    auto var(--narrative-tile-height),
    760px;
}

.bibliography-page .pilot-side-menu,
.bibliography-page .pilot-right-rail,
.bibliography-page .pilot-article {
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, var(--color-panel) 99%, transparent);
  box-shadow: 0 .3rem 1rem rgb(55 40 20 / 16%);
}

@media (max-width: 1100px) {
  .bibliography-page {
    background-image: url("assets/tlo-pergamin.png");
    background-repeat: repeat;
    background-position: left top;
    background-size: 760px;
  }
}

@media print {
  .bibliography-page .bibliography-hero img {
    max-height: 12cm;
  }

  .bibliography-page {
    background: #fff;
  }
}
