/**
 * Theme Name: Gigo Cards Child
 * Description: Child theme for Gigo Cards
 * Author: Canijaster
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Canijaster was here o.O */
/* =========================================
   PARCHE SVG - VERSIÓN FINAL CORREGIDA
   ========================================= */

/* 1. CRÍTICO: Eliminamos el glifo original de FontAwesome */
.fa-threads::before,
.fa-x-twitter::before {
    content: none !important;
    display: none !important;
}

/* 2. Configuración del "Lienzo" del Icono */
.fa-threads,
.fa-x-twitter {
    /* Forzamos que tenga cuerpo físico */
    display: inline-block !important;

    /* Dimensiones fijas basadas en el tamaño de la fuente */
    width: 1em !important;
    height: 1em !important;
    vertical-align: -0.125em !important;

    /* EL SECRETO: El fondo se pinta del color del texto (currentColor) */
    /* Como el texto es blanco (definido en el <a> padre), el fondo será blanco */
    background-color: currentColor !important;

    /* Configuración de la Máscara */
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

/* 3. Enlazo los archivos SVG (Tus rutas relativas están PERFECTAS) */
.fa-threads {
    -webkit-mask-image: url('assets/fa-pro/svgs/threads-brands-solid-full.svg');
    mask-image: url('assets/fa-pro/svgs/threads-brands-solid-full.svg');
}

.fa-x-twitter {
    -webkit-mask-image: url('assets/fa-pro/svgs/x-twitter-brands-solid-full.svg');
    mask-image: url('assets/fa-pro/svgs/x-twitter-brands-solid-full.svg');
}

/* 4. Colores (El padre define el color del hijo) */
.social-icon-btn.tipo-threads {
    background-color: #000000;
    /* Fondo del botón: Negro */
    color: #ffffff !important;
    /* Texto/Icono: Blanco */
}

.social-icon-btn.tipo-x-twitter {
    background-color: #000000;
    color: #ffffff !important;
}