/* Team cards: profile button and modal */
.member-open{margin-top:10px;padding:6px 0;border:0;border-bottom:1px solid #f35a24;background:none;color:inherit;font:inherit;font-size:.85rem;cursor:pointer}
.member-open span{color:#f35a24;margin-right:4px}
.member-open:hover,.member-open:focus-visible{color:#f35a24}
.member-photo{cursor:pointer}
body.modal-open{overflow:hidden}
.member-dialog{width:min(860px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #f35a2466;border-radius:6px;background:#101010;color:#fff;overflow:auto}
.member-dialog::backdrop{background:#000000d9}
.member-dialog-inner{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);position:relative}
.member-dialog-photo{display:block;width:100%;height:100%;min-height:320px;object-fit:cover}
.member-dialog-body{padding:clamp(24px,4vw,44px)}
.member-dialog-body h3{margin:0 0 4px;font-size:clamp(1.4rem,3vw,2rem)}
.member-dialog-role{margin:0 0 18px;color:#f35a24;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase}
.member-dialog-body p{line-height:1.6;color:#e6e6e6}
.member-dialog-social{display:flex;gap:12px;margin:18px 0}
.member-dialog-social .member-social-link{width:40px;height:40px}
.member-dialog-close{position:absolute;top:10px;right:10px;z-index:2;width:40px;height:40px;border:1px solid #ffffff44;border-radius:50%;background:#101010cc;color:#fff;font-size:1.5rem;line-height:1;cursor:pointer}
.member-dialog-close:hover,.member-dialog-close:focus-visible{border-color:#f35a24;color:#f35a24}
.member-dialog-dismiss{margin-top:8px}
@media(max-width:700px){.member-dialog-inner{grid-template-columns:1fr}.member-dialog-photo{min-height:0;height:260px}}
