.footer:has(.footer-inner > .jre-mark) {
  position: relative;
}

.footer .footer-inner:has(> .jre-mark),
.footer-inner:has(> .jre-mark) {
  display: block;
}

.footer-inner:has(> .jre-mark) .footer-copy {
  width: 100%;
  text-align: center;
}

.footer-inner:has(> .jre-mark) > .jre-mark {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

body:has(.vp-fab-cluster) .footer-inner:has(> .jre-mark) > .jre-mark {
  bottom: calc(50px + 1.85rem);
}

html.vp-tablet-device body:has(.vp-fab-cluster) .footer-inner:has(> .jre-mark) > .jre-mark {
  bottom: calc(78px + 50px + 1.6rem);
}

.jre-mark {
  display: block;
  flex: 0 0 auto;
  align-self: flex-end;
  width: 124px;
  margin: 0;
  line-height: 0;
  opacity: 0.92;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a.jre-mark,
.footer a.jre-mark {
  text-decoration: none;
  color: inherit;
}

.jre-mark img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.jre-mark:hover,
.jre-mark:focus-visible {
  opacity: 1;
}

.footer.jre-mark-footer {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 2rem;
  padding: 0.75rem 1rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer.jre-mark-footer .jre-mark {
  margin-left: 0;
}

@media (max-width: 639px) {
  .footer-inner:has(> .jre-mark) > .jre-mark {
    position: static;
    right: auto;
    bottom: auto;
    margin: 0.85rem auto 0;
  }

  body:has(.vp-fab-cluster) .footer-inner:has(> .jre-mark) > .jre-mark {
    margin-bottom: calc(50px + 0.75rem);
  }

  .footer-inner:has(> .jre-mark) .footer-copy {
    width: 100%;
  }

  .jre-mark {
    width: 108px;
    align-self: center;
    margin-top: 0.85rem;
  }

  .footer.jre-mark-footer {
    justify-content: center;
    align-items: center;
  }

  .footer.jre-mark-footer .jre-mark {
    margin-left: 0;
    margin-right: 0;
  }
}
