.investigador {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, 0.2);
    transition: transform 500ms allow-discrete;
    will-change: translate;

    & img {
        width: 100%;
        height: 75%;
        aspect-ratio: 1;
        object-fit: cover;
        object-position: center;
    }
    
    & a {
        color: var(--black);
        width: 100%;
        height: 100%;
    }

    & div {
        width: 100%;
        padding: 1rem 0.5rem;
    }

    & h5 {
        text-transform: capitalize;
        text-align: center;
    }

    & h6 {
        text-align: center;
        text-wrap: pretty;
        color: color-mix(in hsl, var(--black), var(--white) 25%);;
    }
}

.investigador:hover {
    transform: scale(1.02);
}

/* Reglas añadidas para formato estandarizado de fundadores */
.investigador-card {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    background: var(--white, #fff);
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.investigador-body {
    text-align: center;
    width: 100%;
}

.investigador-nombre {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 700;
    text-transform: capitalize;
}

.investigador-profesion {
    margin: 0 0 0.35rem 0;
    font-size: 0.9rem;
    color: #3b3b3b;
}

.investigador-activo {
    margin: 0 0 0.5rem 0;
    font-size: 0.8rem;
    color: #666;
}

.investigador-perfil {
    margin: 0;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.3;
}

@media (min-width: 900px) {
    .investigador-card { padding: 1rem; }
    .investigador-nombre { font-size: 1.05rem; }
}