a.back-to-top {
  float: right;
  font-size: 0.7rem;
  display: none;
}
.toc-js.sticky {
  position: relative;
}
.toc-js.sticky.is-sticked {
  position: fixed;
  z-index: 1;
}

.toc-title.h2, .block-toc-js > h2 {
  font-size: 0;
  line-height: 0;
}

.toc-js ul {
  list-style: none;
  border: 1px solid rgba(32, 25, 111, 0.2);
  border-radius: 10px;
  padding: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-start;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  background: #f5f7fb;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
}

.toc-js li {
  list-style: none;
  padding: 10px;
  margin: 0;
}

.toc-js-item {
  border-radius: 6px;
}

.toc-active {
  background-color: var(--color--primary-50);
  border-radius: 10px;
}

.toc-active a {
  color: var(--kolor-czcionki-jasny) !important;
  background-color: var(--kolor-dominujacy) !important;
  border-radius: 6px;
}

.toc-h2 {
  width: max-content;
  text-transform: lowercase;
  padding: 10px 20px !important;
  text-transform: none !important;
}

.toc-h2 a {
  padding: 10px 20px !important;
}

h2:focus {
  outline: none;
}
