/* Estilos da Seção Team */
.team {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.team h2 {
    text-align: center;
    font-size: 2.5em;
    color: #4CAF50;  /* Verde para os títulos */
    margin-bottom: 30px;
    font-weight: bold;
}

.team h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.team .unit {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 20px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: auto;  /* Deixe os cards com altura automática, não forçada */
}

.team .unit .info, 
.team .unit .map {
    flex: 1 1 48%;
    min-width: 300px;
    max-height: 400px; /* Limita a altura máxima dos cards */
    display: flex;
    flex-direction: column;
}

.team .info {
    justify-content: space-between;  /* Alinha o texto ao longo do espaço */
}

.team .info p {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
    word-wrap: break-word;  /* Quebra as palavras para evitar overflow */
    overflow: hidden;
    flex-grow: 1;  /* Permite que o conteúdo ocupe o espaço disponível */
}

.team .map {
    width: 100%;
    height: 250px; /* Ajusta a altura do mapa para manter equilíbrio */
    border-radius: 8px;
    overflow: hidden;
}

.team .map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Ajustes para telas pequenas */
@media (max-width: 768px) {
    .team .unit {
        flex-direction: column;
    }

    .team .unit .info, 
    .team .unit .map {
        flex: 1 1 100%;
    }

    .team .map {
        height: 200px;
    }
}