/* Shared footer site navigation: links only; each page retains its existing footer design. */
.site-footer-menu {
  width: min(1160px, 100%);
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid currentColor;
  color: inherit;
  text-align: left;
}

.site-footer-menu-title {
  margin: 0 0 12px;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-footer-menu-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px 24px;
}

.site-footer-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 !important;
  padding: 5px 0;
  color: inherit !important;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.92;
  text-decoration: none;
}

.site-footer-menu a:hover,
.site-footer-menu a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The column footer has existing generic nav rules; retain this menu's shared layout. */
.column-footer .site-footer-menu {
  display: block;
  max-width: none;
  margin-top: 28px;
}

.column-footer .site-footer-menu-links {
  display: grid;
  max-width: none;
}

@media (max-width: 700px) {
  .site-footer-menu {
    margin-top: 24px;
    padding-top: 20px;
  }

  .site-footer-menu-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 18px;
  }

  .site-footer-menu a {
    min-height: 44px;
    font-size: 0.88rem;
  }

  .column-footer .site-footer-menu {
    margin-top: 24px;
  }
}
