.td-site-footer {
  box-sizing: border-box;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  background: rgba(19, 29, 58, .4);
}

.td-site-footer *,
.td-site-footer *::before,
.td-site-footer *::after {
  box-sizing: border-box;
}

.td-site-footer-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  max-width: 1000px;
}

.td-site-footer-category,
.td-site-footer-links a {
  font-family: Inter, Arial, sans-serif;
  text-decoration: none;
  transition: color .2s ease;
}

.td-site-footer-category {
  color: #94a3b8;
  font-size: .78rem;
  white-space: nowrap;
}

.td-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  max-width: 1100px;
}

.td-site-footer-links a {
  color: #64748b;
  font-size: .8rem;
}

.td-site-footer-category:visited { color: #94a3b8; }
.td-site-footer-links a:visited { color: #64748b; }
.td-site-footer-category:hover,
.td-site-footer-category:focus-visible,
.td-site-footer-links a:hover,
.td-site-footer-links a:focus-visible { color: #fff; }

.td-site-footer-copyright {
  margin: 8px 0 0;
  color: #475569;
  font: 400 .72rem/1.5 Inter, Arial, sans-serif;
}

@media (max-width: 900px) {
  .td-site-footer {
    padding: 24px 16px;
    gap: 20px;
  }

  .td-site-footer-categories { gap: 7px 10px; }
  .td-site-footer-links { gap: 10px 16px; }
}

@media (max-width: 480px) {
  .td-site-footer-category { font-size: .74rem; }
  .td-site-footer-links a { font-size: .77rem; }
}
