.equipe-container {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 100% !important;
    font: inherit in !important;
    vertical-align: baseline !important;
    
}



.elementor-shortcode {
    display: flex !important;
    /* flex-direction: row !important; */
    
    justify-content: center !important;
    align-content: center !important;
    align-items: center !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    width: 100vw !important;
}
/**
* Theme Name: Quem Somos
* Description: Folha de estilo dos cards da equipe
* Author: Gabs/Joca
* Template: nikaia (quem somos)
* Version: 1.0.0
*/

.row {
    margin: 0 !important; 
    padding: 0 !important;
}

/* Estilos para os Cards de Equipe */
.equipe-container {
    display: flex !important;
    justify-content: center !important;    
    width: 100vw !important;
    align-content: center !important;
    
    

}

.equipe-cards {
    display:flex !important;
    justify-content: center !important;    
    row-gap: 40px !important;  
    column-gap: 31px !important;
    
    /* padding-right: 0px !important;
    padding-left: 7vw !important;
     */
}

/* .equipe-cards div:nth-child(0) {
    display: flex !important;
    border: 5px solid red !important;
    align-self: self-start !important;

} */

@media (max-width: 1252px) {
    .equipe-cards {

        margin-right: 0px !important;

        /* justify-content: center !important; */        
    }
    
}
@media (max-width: 1152px) {
    .equipe-cards {
        
        /* justify-content: center !important; */
        
        margin-left:0px !important;
        margin-right:4vw !important;
    }
}



.equipe-container {
    display:flex;
    /* background-color: brown !important; */
    padding: 0;

}

.equipe-cards {
    display: flex;
    flex-wrap: wrap;    
    justify-content: flex-start;    
    
    gap: 20px;     
    align-items: flex-start; 
    padding-left: 7vw;        

}




/* .equipe-card {    
    
    background-color: brown;
} */



.card-inner {    
    /* border-radius: 8px; */
    /* box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;    
}

/* .card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
} */

.card-image {
    overflow: hidden;
    position: relative;
    height: 250px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

/* .card-image img:hover {
    transform: scale(1.05);
} */

.card-info {
    padding: 15px 15px 15px 0;
    text-align: center;
}

.card-info h3 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 400 !important;
    font-family: 'Orbit';
    color: #F5F6F5;
    text-align: left;  

}

.card-info .papel {
    margin: 0;
    font-size: 16px;
    color: #F5F6F5;
    font-family: 'Jost';
    font-weight: 300 !important;
    text-align: left;
    text-transform: lowercase;
}

/* Estilos para o Modal Box */
.equipe-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    justify-content: center;
    align-items: center;    
}

.modal-content {    
    position: relative;
    background-color: #fff;
    margin: 40px auto;
    padding: 25px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    min-height: 50vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    
    color: #032CA6;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: 'Jost';
    background: none;
    box-shadow: none;
}

.close-modal:hover {
    color: #000;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    /* border-bottom: 1px solid #eee; */
    /* background-color: yellow;
    width: 12vw; */    
    max-width: 30vw;
    word-break: break-word;    
}

.modal-header h2 {    
    margin-right: 20px;
    font-size: 24px;
    font-family: 'Climate Crisis';
    color: #032CA6;

}

.modal-header h2 + p {
    color: #032CA6;
    font-family: 'Orbit';
    text-transform: lowercase;
} 

.papel-destaque {
    font-size: 16px;
    color: #555;
    font-weight: 500;
    margin: 0;
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.modal-image {
    flex: 0 0 30%;
    margin-right: 30px;
    margin-bottom: 20px;
}

.modal-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.modal-texto {
    flex: 1;
    font-family: 'Jost';
    color: #032CA6;
    margin-right: 13px;
    line-height: 2.5rem;
    font-size: 1.5rem;  
}

/* Responsividade */
@media (max-width: 767px) {
    .modal-body {
        flex-direction: column;
    }
    
    .modal-image {
        flex: 0 0 100%;
        margin-right: 0;
    }
    
    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .modal-header {        
        max-width: 100vw;
        word-break: break-word;
    }
}
