﻿/* Estilos limpios y funcionales para Grupos de Trabajo */

/* Clases base heredadas (mantener fondos y colores) */
.gt-style-1 { padding-top: 50px; padding-bottom: 50px; }
.gt-style-2 { height: 831.781px; transform: translate3d(0px, 106px, 0px) scale(1.005); will-change: transform; background-image: url("../img/fondo-asanec-scaled.webp"); }
.gt-style-3 { opacity: 1; background-color: #f1ad3e; }
.gt-style-4 { height: 30px; }

/* Grid Flexbox Simple */
#fws_grid_items .row-wrap-12 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Alineación a la izquierda como en el grid original */
}

/* Tarjeta de Grupo de Trabajo (Clean Card) */
.gt-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    margin-bottom: 30px;
    height: 100%;
}

/* Contenedor Circular del Icono */
.gt-icon-container {
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gt-icon-container:hover {
    transform: scale(1.08);
}

/* Imagen/Icono */
.gt-icon-container img {
    width: 60px; /* Tamaño controlado del icono */
    height: 60px;
    object-fit: contain;
    /* Si las imágenes son negras y las quieres azules, se puede usar un filtro, 
       pero mejor usar las imágenes originales correctas. 
       Filtro opcional para colorear iconos negros a azul corporativo: */
    /* filter: invert(16%) sepia(32%) saturate(4566%) hue-rotate(209deg) brightness(96%) contrast(94%); */
}

/* Título */
.gt-title {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: #0e2f77; /* Azul corporativo oscuro */
    line-height: 1.3;
    margin: 0;
    padding: 0 10px;
}

.gt-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.gt-title a:hover {
    color: #f1ad3e; /* Color acento al hover */
}

/* Ajustes Responsive */
@media (max-width: 768px) {
    .gt-item {
        margin-bottom: 20px;
    }
    
    /* .gt-icon-container {
        width: 50%;
        height: 50%;
    } */
    
    .gt-icon-container img {
        width: 45px;
        height: 45px;
    }
    
    .gt-title {
        font-size: 14px;
    }
}
