/**
 * Uniform always-visible footer link buttons (mobile responsive).
 * FILE_PATH: assets/css/footer_uniform.css
 */
.site-footer .footer-links-uniform {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.55rem;
  justify-content: center;
  max-width: 52rem;
  margin: 0.75rem auto 0.5rem;
  padding: 0 0.25rem;
}

.site-footer .footer-links-uniform .footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.5rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background-color: #ff6b6b;
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-footer .footer-links-uniform .footer-link:hover,
.site-footer .footer-links-uniform .footer-link:focus {
  background-color: #e55a5a;
  color: #fff !important;
  border-color: #ffbe0b;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.35);
  text-decoration: none;
}

.site-footer .footer-links-uniform .footer-link:active {
  transform: translateY(1px);
}

.site-footer .social-links {
  margin-top: 1rem;
}

@media (max-width: 575.98px) {
  .site-footer .footer-links-uniform {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    max-width: 100%;
  }
  .site-footer .footer-links-uniform .footer-link {
    min-height: 2.65rem;
    padding: 0.5rem 0.4rem;
    font-size: 0.78rem;
    white-space: normal;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .site-footer .footer-links-uniform {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
