/* ─────────────────────────────────────────────
   footer.css
───────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-red);
  padding: 28px 40px 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;  /* spread to opposite sides when on one line */
  align-items: center;
  flex-wrap: wrap;                  /* wrap to next line on narrow screens */
  margin-bottom: 16px;
}

.footer-powered,
.footer-copyright {
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.footer-powered span {
  color: var(--color-white);
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  padding: 4px 18px;
  border-right: 1px solid rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer-links a:last-child {
  border-right: none;
}

.footer-links a:hover {
  color: var(--color-white);
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    align-items: center;           /* center each item when stacked */
    gap: 6px;
    text-align: center;
  }
}