
.fss-footer-advanced {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background-color: #0a0a0a;
  color: #e0e0e0;
  padding: 1.5rem 0 0.5rem;
  font-family: var(--body-font);
  font-size: 1rem;
}


.fss-footer-content {
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  margin-bottom: 3rem;
}

.social-media .fss-social-icons-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  font-size: 1.1rem;
  max-width: 100%;
  width: auto;
}

.social-media .fss-social-icons-column a {
  color: #bac6d9;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
  background-color: transparent;
}

.social-media .fss-social-icons-column a:hover,
.social-media .fss-social-icons-column a:focus {
  color: #c70a0a;
  outline: none;
}

.social-media .fss-social-icons-column i {
  font-size: 1.8rem;
}

/* Footer Bottom */
.fss-footer-bottom {
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #888;
  padding: 1rem 5vh;
}

.fss-footer-bottom-links a {
  color: #888;
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.fss-footer-bottom-links a:hover {
  color: #c70a0a;
}

/* Responsive */
@media (max-width: 768px) {
  .fss-footer-content {
    padding: 0 0.5rem;
  }
  
  .social-media .fss-social-icons-column {
    justify-content: center;
    flex-direction: column;  /* Força format columna */
    font-size: 0.95rem;
    gap: 0.8rem;
  }

  .social-media .fss-social-icons-column a {
    padding: 0.2rem 0.5rem; /* més compacte */
  }

  .social-media .fss-social-icons-column i {
    font-size: 1.5rem; /* més coherent amb la mida del text */
  }
  
  .fss-footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .fss-footer-bottom-links {
    margin-top: 0.5rem;
  }
}
