/* Footer bottom bar: keep the existing colours, weight and paragraph spacing. */
html body .pj-footer .pj-footer__bottom-main .pj-footer__brand {
  color: #00adef;
  font-weight: 700;
}

.pj-footer__bottom-left .pj-footer__bottom-sub {
  margin: 0;
}

.pj-footer__bottom-left .pj-footer__bottom-main {
  margin: 4px 0 10px;
}

@media (min-width: 768px) {
  .pj-footer__bottom-row {
    display: flex;
    align-items: flex-end;
  }

  /* Copyright size/colour and the inherited body line-height/weight. */
  .pj-footer__bottom-right p {
    font-size: 13px;
    line-height: 1.7;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
  }
}

/* Scroll to top: keep the theme's display/scroll handling and right position. */
html body a.scrollToTop {
  width: 44px;
  height: 44px;
  padding: 0;
  bottom: 24px;
  border-radius: 50%;
  border: 1px solid rgba(1, 163, 222, 0.55);
  background: rgba(18, 31, 39, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #01A3DE;
  line-height: 42px;
  text-align: center;
  transition: background-color .25s, color .25s, border-color .25s;
}

html body a.scrollToTop .fa {
  display: inline-block;
  color: inherit;
  font-size: 22px;
  line-height: 42px;
  vertical-align: top;
  animation: pj-arrow-up 1.6s ease-in-out infinite;
}

html body a.scrollToTop:hover,
html body a.scrollToTop:focus {
  background: #01A3DE;
  color: #ffffff;
  border-color: #01A3DE;
}

html body a.scrollToTop:focus-visible {
  outline: 2px solid #01A3DE;
  outline-offset: 3px;
}

html body a.scrollToTop:hover .fa,
html body a.scrollToTop:focus-visible .fa {
  animation-duration: .8s;
}

@keyframes pj-arrow-up {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-4px); }
}

/* Liquid Consent uses its smaller bottom offset at this breakpoint. */
@media (max-width: 640px) {
  html body a.scrollToTop { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html body a.scrollToTop .fa { animation: none; }
}
