.site-footer {
  background: #111;
  color: #ccc;
  padding: 30px 10px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.85rem;
  color: #999;
}

.terms {
    padding-left: 5vw;
    padding-right: 35vw;
}

.terms a {
    color: #4CAF50;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    font-weight: bold;
}
.terms a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.25s ease;
}
.terms a:hover { color: #0056b3; }
.terms a:hover::after { width: 100%; }

/* Mobil */
@media (max-width: 768px) {
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* två kolumner */
    gap: 10px 20px; /* rad- och kolumnavstånd */
    justify-items: center; /* centrerar länkar i varje ruta */
  }
  .terms { padding-right: 20vw; }
}
