/* Let the brand, resource links, and information groups share the full frame. */
body.magazine .site-footer {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  background-color: var(--soft);
}

.site-footer .footer-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.site-footer .footer-formats a { white-space: nowrap; }

@media (min-width: 1200px) {
  .site-footer .footer-formats { justify-content: space-between; }
}

.site-footer .footer-link-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer .footer-link-group:last-child { grid-column: auto; }
.site-footer .footer-link-group ul { display: block; }
.site-footer .footer-content > small { display: block; margin-top: 12px; }

@media (max-width: 600px) {
  .site-footer .footer-link-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-link-group:last-child { grid-column: 1 / -1; }
}
