.team-photo{aspect-ratio:4/5!important;background:#f2f5f7!important}.team-photo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;transform:none!important}.agent-profile img{width:80px!important;height:100px!important;object-fit:contain!important;object-position:center!important;border-radius:8px!important;background:#f2f5f7}.contact-person img,#consultantRows img{width:72px!important;height:90px!important;object-fit:contain!important;object-position:center!important;border-radius:8px!important;background:#f2f5f7}
/* A moldura é definida pela grelha; a imagem nunca determina as suas dimensões. */
.team-grid{align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}.team-card{min-width:0;border:1px solid #dce5e9;box-shadow:none;overflow:hidden}.team-photo{position:relative!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/5!important;overflow:hidden!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0!important}.team-photo img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;object-fit:contain!important;object-position:50% 50%!important;border:0!important;outline:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important}.team-info{border:0;box-shadow:none}@media(max-width:700px){.team-grid{grid-template-columns:minmax(0,1fr)}}

.team-grid{align-items:stretch!important}.team-card{display:flex!important;flex-direction:column!important;height:100%!important}.team-photo{flex:none!important}.team-info{height:290px!important;min-height:290px!important;max-height:290px!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:24px 28px!important;overflow:hidden}.team-info h3{font-size:25px;line-height:1.25;height:2.5em;min-height:2.5em;margin:0!important;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.team-info .team-role{height:2.8em;min-height:2.8em;margin:0!important;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.team-info>p:not(.team-role){height:3.2em;min-height:3.2em;margin:0!important;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.team-info .team-details-button{border:0;background:none;padding:0;text-align:left;color:#00416c;font:700 13px Arial;cursor:pointer}.team-info>a{margin-top:auto!important}.team-profile-dialog{border:1px solid #dce5e9;border-radius:20px;padding:28px;width:min(650px,calc(100% - 32px));max-height:85dvh;overflow:auto;color:#183443;font-family:Arial;box-shadow:0 25px 80px #092e4540}.team-profile-dialog::backdrop{background:#092e4580}.team-profile-dialog .profile-close{float:right;border:0;border-radius:50%;width:36px;height:36px;font-size:24px;background:#edf3f6;color:#00416c;cursor:pointer}.team-profile-dialog img{display:block;width:150px;height:187.5px;object-fit:contain;object-position:center;background:#f2f5f7;border-radius:10px;margin-bottom:20px}.team-profile-dialog h2{margin:8px 0;color:#00416c;overflow-wrap:anywhere}.team-profile-dialog p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.team-profile-dialog a{display:inline-block;margin:10px 20px 0 0;color:#00416c;font-weight:700}.team-details-button:focus-visible,.profile-close:focus-visible{outline:3px solid #358bb5;outline-offset:4px}
