/* BitToByte v24: dark, three-column footer on both site themes.
   Keep real Wagtail/Django URLs in base.html; no footer HTML duplication. */
.site-footer {
  background: #252B38;
  color: #F4F5F7;
  border-top-color: #3E4655;
}
.site-footer .brand,
.site-footer .footer-group a {
  color: #F4F5F7;
}
.site-footer .brand__to {
  color: #FFB547;
}
.site-footer .mark .on {
  fill: #FFB547;
}
.site-footer .mark .off {
  fill: #636A78;
}
.site-footer .site-footer__note,
.site-footer .footer-group__label,
.site-footer .site-footer__copy {
  color: #BCC4D2;
}
.site-footer .site-footer__bottom {
  border-top-color: #3E4655;
  justify-content: flex-start;
}
.site-footer .footer-groups {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: clamp(20px, 3.8vw, 65px);
  row-gap: 14px;
  min-width: 0;
}
.site-footer .footer-group {
  min-width: 0;
}
.site-footer .footer-group a:hover,
.site-footer .footer-group a:focus-visible,
.site-footer .brand:hover,
.site-footer .brand:focus-visible {
  color: #FFB547;
}
.site-footer a:focus-visible {
  outline-color: #FFB547;
}
@media (max-width: 900px) {
  .site-footer .site-footer__top { flex-wrap: wrap; }
  .site-footer .footer-groups {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 20px;
    padding-left: 0;
  }
  .site-footer .footer-group a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 600px) {
  .site-footer .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    padding-left: 0;
  }
  .site-footer .footer-group--about { grid-column: 1 / -1; }
  .site-footer .footer-group--about ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
  }
  .site-footer .site-footer__note { margin-bottom: 0; }
}
