/* Shared static footer links: white source icons on dark footers. */
.related-projects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding-block: 0 24px;
  font-family: inherit;
  font-size: 12px;
  color: inherit;
}
.related-projects a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: inherit;
  font: inherit;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}
.related-projects img {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: var(--related-project-icon-filter, none);
}
.site-footer .related-projects a:hover { color: var(--yellow); }
/* The existing resource footers use the site's light surface. */
.sitefoot .related-projects,
.resource-footer .related-projects {
  --related-project-icon-filter: brightness(0);
  justify-content: center;
}
.sitefoot .related-projects a:hover,
.resource-footer .related-projects a:hover { color: var(--blue); text-decoration: underline; }
.related-projects a:focus-visible { outline-offset: 4px; }
@media (max-width: 800px) {
  .related-projects { gap: 12px 22px; }
}
@media print { .related-projects { display: none; } }
