/* HJJ v6.4.6: profile detail in dialog, never expands card */
.hjj-team-card.is-open .hjj-team-bio{display:none!important}
.hjj-team-card{height:570px;min-height:0!important}
.hjj-team-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.hjj-team-toggle{margin-top:10px}
.hjj-profile-modal[hidden]{display:none!important}
.hjj-profile-modal{position:fixed;inset:0;z-index:99999;background:rgba(6,29,48,.73);display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.hjj-profile-panel{position:relative;background:white;border-radius:16px;width:min(900px,100%);max-height:min(86vh,900px);overflow:auto;display:grid;grid-template-columns:minmax(180px,35%) minmax(0,1fr);box-shadow:0 24px 90px rgba(0,0,0,.32);color:#123c55}
.hjj-profile-photo-box{background:#eef5f8;min-height:320px}
.hjj-profile-photo-box img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.hjj-profile-content{padding:45px 42px 38px;min-width:0}
.hjj-profile-company{font-size:12px;letter-spacing:.12em;color:#5e7f94;font-weight:700;text-transform:uppercase}
.hjj-profile-role{font-size:14px;color:#1680a7;font-weight:700;margin:14px 0 8px}
#hjj-profile-title{font-size:clamp(24px,2.8vw,34px);line-height:1.2;margin:0 36px 22px 0;color:#093b56}
.hjj-profile-biography{font-size:15px;line-height:1.95;color:#365366;white-space:normal;overflow-wrap:anywhere;margin:0}
.hjj-profile-close{position:absolute;top:14px;right:16px;width:38px;height:38px;border:1px solid #dce8ef;border-radius:50%;background:white;color:#1c4a62;font-size:25px;cursor:pointer;z-index:3}
.hjj-profile-close:hover{background:#edf7fb}
body.hjj-profile-modal-open{overflow:hidden}
@media(max-width:780px){.hjj-profile-panel{display:block;max-height:90vh}.hjj-profile-photo-box{height:230px;min-height:0}.hjj-profile-content{padding:24px 20px 32px}.hjj-profile-modal{padding:12px}.hjj-team-card{height:auto;min-height:480px!important}}
