/* Redes sociales: pie de todas las páginas, Contacto, Noticias y Donaciones. */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 50%;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.social-links svg {
    flex: none;
}

.social-links a:focus-visible {
    outline: 2px solid #d7b65d;
    outline-offset: 2px;
}

/* Sobre fondo oscuro */
.social-links--oscuro a {
    color: rgba(255, 255, 255, .85);
    border-color: rgba(255, 255, 255, .22);
}

.social-links--oscuro a:hover {
    color: #07152d;
    background: #d7b65d;
    border-color: #d7b65d;
}

/* Sobre fondo claro */
.social-links--claro a {
    color: #07152d;
    border-color: rgba(7, 21, 45, .22);
}

.social-links--claro a:hover {
    color: #fff;
    background: #07152d;
    border-color: #07152d;
}

/* Con el nombre junto al icono */
.social-links--etiquetas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.social-links--etiquetas a {
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    height: auto;
    padding: 6px 12px;
    line-height: 1.2;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
}

/* Pie de página */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    width: min(100%, 1180px);
    margin: 26px auto 0;
}

.footer-social-title {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-weight: 600;
}

@media (max-width: 900px) {
    .footer-social {
        flex-direction: column;
        justify-content: center;
    }

    .footer-social .social-links {
        justify-content: center;
    }
}

/* Contacto */
.contact-social {
    margin-top: 32px;
}

.contact-social h3 {
    margin: 0 0 14px;
}

/* Memoria de Barbate (página con diseño propio) */
.memoria-redes {
    display: flex;
    justify-content: center;
    padding: 36px 20px 44px;
    background: #061321;
}

.memoria-redes .social-links {
    justify-content: center;
}
