.jumptocontent:hover,
.jumptocontent:focus {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  clip: unset;
  z-index: 100;
}

#backtotop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  transform: rotate(270deg);
  border: 1px solid transparent;
  border-radius: var(--br-small);
  background: var(--primary-light) url('../media/icon_arrow.svg') center center no-repeat;
  background-size: 32px 32px;
  padding-top: 32px;
  width: 4.8rem;
  height: 4.8rem;
  font-size: 8px;
  text-align: center;
  text-decoration: none;

  &:hover,
  &:focus {
    border: 1px solid var(--primary);
  }
}

#breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  margin: 0 0 4rem 0;
  list-style: none;

  li {
    margin: 0 0.8rem 0 0;
    background: transparent url('../media/icon_arrow_small.svg') right center no-repeat;
    background-size: 16px 16px;
    padding-right: 24px;

  }

  li:last-child {
    margin: 0;
    background: none;
    padding-right: 0;
  }
}

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  width: max-content;
  max-width: 100%;
  list-style: none;

  &[hidden] {
    display: none;
  }

  li {
    margin-bottom: 0;
    min-width: 3.4rem;
    min-height: 3.4rem;
    line-height: 1.4;
    text-align: center;
  }

  a {
    display: block;
    border: 1px solid transparent;
    min-width: 3.4rem;
    min-height: 3.4rem;
    font-style: normal;
    font-weight: bold;
    line-height: 1.7;
    text-align: center;
    text-decoration: none;

    &[aria-current],
    &:hover,
    &:focus {
      border: 1px solid black;
      border-radius: var(--br-tiny);
    }
  }

  .first {
    background: transparent url('../media/icon_pager.svg') 0 0 no-repeat;
    background-size: 128px 32px;
    text-indent: -9999px;
  }
  .prev {
    background: transparent url('../media/icon_pager.svg') -32px 0 no-repeat;
    background-size: 128px 32px;
    text-indent: -9999px;
  }
  .next {
    background: transparent url('../media/icon_pager.svg') -64px 0 no-repeat;
    background-size: 128px 32px;
    text-indent: -9999px;
  }
  .last {
    background: transparent url('../media/icon_pager.svg') -96px 0 no-repeat;
    background-size: 128px 32px;
    text-indent: -9999px;
  }
}

.backlink {
  display: inline-flex;
  align-items: center;
  margin: 0 auto 3rem auto;
  font-style: normal;
  text-decoration: none;

  &:before {
    display: inline-block;
    transform: rotate(180deg);
    margin-right: 0.8rem;
    background: transparent url('../media/icon_arrow.svg') 0 0 no-repeat;
    width: 32px;
    height: 32px;
    content: "";
  }

  &:hover,
  &:focus {
    text-decoration: underline;
  }
}

/* Kann später gelöscht werden */
.intern {
  margin-block: 4rem;
  color: #FF00CC;
  font-weight: bold;
}
