.associate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-evenly;
    align-items: start;
    gap: 40px;
    padding: 40px 40px;
    box-sizing: border-box;
}

.associate-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.associate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.associate-photo-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.associate-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;  /* Redonda */
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.associate-photo:hover {
    border: 0px solid #d46a1f; /* Borde rojo Asicon */
    box-shadow: 0 0 8px rgba(236,37,38,0.4);
}

/* LinkedIn */
.associate-linkedin {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0077b5;
    color: #fff;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 2px solid #0077b5;
    transition: all 0.2s ease;
}

.associate-linkedin:hover {
    background: #fff;
    color: #0077b5;
    transform: scale(1.1);
}

/* Nombre y posición */
.associate-name {
    font-size: 18px;
    margin: 8px 0 2px;
    color: #111;
    font-weight: 700;
    text-align: center;
}

/* Nombre y posición */
.associate-name:hover {
    color: #111 ;
}

.associate-name a {
    color: #111;        
    text-decoration: none;   
}

.associate-name a:hover {
    color: #111;          
    text-decoration: none;   
}

.associate-position {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4d4b4b;
    margin-bottom: 14px;
    text-align: center;
}

/* Correo */
.associate-email {
    margin: 0 0 18px;
    text-align: left;
}

.associate-email a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    text-decoration: none;
    color: #000;
    transition: color 0.2s ease;
}

.associate-email a:hover {
    color: #000;
}

.mail-icon {
    color: #d46a1f;  /* Naranja corporativo */
    font-size: 16px;
    line-height: 1;
}

/* Bloque de áreas */
.associate-areas-block {
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
    margin-top: 4px;
    text-align: center;
}

.associate-areas-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #002b45;
}

.associate-areas {
    font-size: 10px;
    color: #50280d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Responsivo */
@media (max-width: 1200px) {
    .associate-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

@media (max-width: 900px) {
    .associate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .associate-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .associate-photo {
        width: 150px;
        height: 150px;
    }
}
