/* ==========================================================
   Pie de página · Redes sociales
   Ubicación: static/core/css/footer-social.css
   Requiere Font Awesome 7.x
   ========================================================== */

.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.social-btn {
  --brand-bg: #212529;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #212529;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* clean-blog.css pinta los enlaces del footer; se fuerza el ícono en blanco */
footer .social-btn,
footer .social-btn:hover,
footer .social-btn:focus {
  color: #fff;
  text-decoration: none;
}

.social-btn:hover,
.social-btn:focus-visible {
  background: var(--brand-bg);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.social-btn:focus-visible {
  outline: 3px solid #0085A1;
  outline-offset: 3px;
}

/* Color de cada red al pasar el ratón */
.social-btn--youtube   { --brand-bg: #FF0000; }
.social-btn--x         { --brand-bg: #000000; }
.social-btn--facebook  { --brand-bg: #1877F2; }
.social-btn--instagram {
  --brand-bg: radial-gradient(circle at 30% 107%,
              #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-btn--tiktok    { --brand-bg: #000000; }
.social-btn--tiktok:hover,
.social-btn--tiktok:focus-visible {
  box-shadow: -3px -3px 0 #25F4EE, 3px 3px 0 #FE2C55;
}

/* Respeta a quienes desactivan las animaciones en su sistema */
@media (prefers-reduced-motion: reduce) {
  .social-btn {
    transition: none;
  }
  .social-btn:hover,
  .social-btn:focus-visible {
    transform: none;
  }
}
