/* Shared biography dialog, using existing portraits, copy and social links. */
dialog.m360-team-dialog{
 width:1040px;max-width:calc(100vw - 32px);max-height:90vh;max-height:90dvh;
 margin:auto;padding:0;border:0;border-radius:28px;background:#fff;color:#073159;
 overflow:auto;overscroll-behavior:contain;font-family:Poppins,sans-serif;
}
dialog.m360-team-dialog::backdrop{background:rgba(7,49,89,.72)}
dialog.m360-team-dialog .elementskit-team-popup{width:100%;max-width:100%;margin:0;padding:0;background:transparent}
dialog.m360-team-dialog .modal-dialog{display:block;width:100%;max-width:none;min-height:0;margin:0;padding:0;pointer-events:auto}
dialog.m360-team-dialog .modal-content{position:relative;display:flex;flex-direction:column;width:100%;border:0;border-radius:0;background:#fff;box-shadow:none;padding:0}
dialog.m360-team-dialog .modal-body{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:36px;align-items:start;width:100%;padding:48px 40px 40px;box-sizing:border-box}
dialog.m360-team-dialog .ekit-team-modal-img{width:100%;max-width:none;float:none;margin:0;padding:16px;border-radius:24px;background:#e6f3fa;box-sizing:border-box}
dialog.m360-team-dialog .ekit-team-modal-img img{display:block;width:100%;height:auto;max-width:100%;margin:0;border-radius:16px;box-shadow:none;object-fit:contain}
dialog.m360-team-dialog .ekit-team-modal-info.has-img{width:100%;max-width:none;min-width:0;float:none;padding:0;margin:0;text-align:left}
dialog.m360-team-dialog .ekit-team-modal-title{margin:0;color:#073159;font:700 clamp(24px,2.5vw,32px)/1.2 Poppins,sans-serif;letter-spacing:-.02em;overflow-wrap:anywhere}
dialog.m360-team-dialog .ekit-team-modal-position{margin:10px 0 24px;color:#073159;font:500 15px/1.5 Poppins,sans-serif}
dialog.m360-team-dialog .ekit-team-modal-position::after{content:"";display:block;width:64px;height:4px;margin-top:18px;border-radius:2px;background:#fdc648}
dialog.m360-team-dialog .ekit-team-modal-content{margin:0;padding:0;color:#073159;font:400 16px/1.75 Poppins,sans-serif;text-align:left;overflow-wrap:anywhere}
dialog.m360-team-dialog .ekit-team-modal-content p{margin:0 0 20px;color:inherit;font:inherit}
dialog.m360-team-dialog .ekit-team-modal-content p:last-child{margin-bottom:0}
dialog.m360-team-dialog .ekit-team-social-list{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:24px 0 0;padding:0}
dialog.m360-team-dialog .ekit-team-social-list li{margin:0;padding:0;line-height:1}
dialog.m360-team-dialog .ekit-team-social-list a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:0;background:#073159;color:#fff;box-shadow:none;text-decoration:none}
dialog.m360-team-dialog .ekit-team-social-list a svg{width:18px;height:18px;fill:currentColor}
dialog.m360-team-dialog button.ekit-team-modal-close{position:sticky;top:12px;right:auto;align-self:flex-end;flex:none;z-index:5;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:12px;margin:12px 12px -56px 0;border:0;border-radius:50%;background:#e6f3fa;color:#073159;cursor:pointer;box-shadow:none}
dialog.m360-team-dialog button.ekit-team-modal-close svg{display:block;width:16px;height:16px;fill:currentColor}
dialog.m360-team-dialog a:focus-visible,dialog.m360-team-dialog button:focus-visible{outline:3px solid #073159;outline-offset:4px}
dialog.m360-team-dialog ::selection{background:#fdc648;color:#073159}
@media(hover:hover){dialog.m360-team-dialog button.ekit-team-modal-close:hover,dialog.m360-team-dialog .ekit-team-social-list a:hover{background:#fdc648;color:#073159}}
@media(max-width:700px){
 dialog.m360-team-dialog{max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:24px}
 dialog.m360-team-dialog .modal-body{grid-template-columns:minmax(0,1fr);gap:24px;padding:60px 24px 28px}
 dialog.m360-team-dialog .ekit-team-modal-img{max-width:200px;padding:12px;border-radius:20px}
 dialog.m360-team-dialog .ekit-team-modal-title{font-size:26px}
}
