/* Plakietka „Masz płyty?” w górnym pasku. */
.pasek-reboom {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.75rem;
  padding: 0.25rem 0.85rem 0.25rem 0.3rem;
  border: 1px solid #e5dfd0;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.pasek-reboom:hover,
.pasek-reboom:focus-visible {
  border-color: #272c40;
  color: #1f1f1f;
}

.pasek-reboom__znak {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 50%;
  background: #272c40;
}

.pasek-reboom__strzalka {
  color: #9a6b1f;
}

/* Na wąskim ekranie zostaje sam znak i krótki tekst. */
@media (max-width: 575.98px) {
  .pasek-reboom {
    margin-left: 0.5rem;
    font-size: 0.8rem;
  }

  .pasek-reboom__strzalka {
    display: none;
  }
}

/* --- Komunikat o przerwie (blok przerwarebooks) jako czarny pasek ---------
   Szablon górnego paska wyświetla blok w .pasek-komunikat, na samej górze.
   Tło wychodzi na całą szerokość okna: cień + clip-path rozciągają kolor
   poza kontener bez psucia układu. */
.pasek-komunikat:empty {
  display: none;
}

.pasek-komunikat {
  background: #1f1f1f;
  box-shadow: 0 0 0 100vmax #1f1f1f;
  clip-path: inset(0 -100vmax);
}

.pasek-komunikat #block-rebooks-przerwarebooks,
.pasek-komunikat .block {
  text-align: center;
  padding: 0.6rem 1rem;
  margin: 0;
}

.pasek-komunikat,
.pasek-komunikat * {
  color: #fff !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  line-height: 1.4;
}

.pasek-komunikat :is(p, h1, h2, h3, h4) {
  margin: 0;
}
