/* R48.55: centered copyright with separately accessible Back to top. */
/* Applied only to the three home pages; deep pages preserve their own footers. */
.footer .container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 66px;
  padding: 14px 24px;
  gap: 12px;
}
.footer .container > span {
  text-align: center;
  max-width: calc(100% - 320px);
}
.footer .container > a[href="#top"] {
  position: absolute;
  right: 145px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
}
@media (max-width: 800px) {
  .footer .container {
    flex-direction: column;
    padding: 18px 16px;
    gap: 8px;
    text-align: center;
  }
  .footer .container > span {max-width: 100%;}
  .footer .container > a[href="#top"] {
    position: static;
    transform: none;
  }
}
