/* Reference-card concept using Care Origin colours and accessible profile expansion. */
.team-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.team-profile{position:relative;display:flex;min-height:0;overflow:hidden;border:1px solid #cadbe7;border-radius:18px;background:#fff;box-shadow:0 4px 0 rgba(0,54,124,.08),0 15px 35px rgba(0,54,124,.1);transform:none;transition:transform .22s,box-shadow .22s}.team-profile:hover{transform:translateY(-5px);box-shadow:0 5px 0 rgba(245,130,32,.16),0 22px 45px rgba(0,54,124,.15)}.profile-visual{position:relative;display:flex;height:315px;padding:0;align-items:flex-end;justify-content:center;overflow:hidden;background:linear-gradient(145deg,#d9eafb 0%,#edf6ff 48%,#c8def6 100%)}.profile-visual::before{content:"";position:absolute;width:250px;height:400px;left:-110px;top:-150px;border-radius:50%;background:rgba(255,255,255,.45);transform:rotate(24deg)}.profile-visual::after{content:"";position:absolute;width:125px;height:170px;right:-80px;bottom:30px;border:3px solid var(--gold);border-left:0;border-radius:50%}.profile-photo{position:relative;z-index:1;width:92%;height:100%;object-fit:contain;object-position:center bottom;transform:none}.profile-placeholder{position:relative;z-index:1;display:grid;width:210px;height:210px;min-height:0;aspect-ratio:1;place-content:center;gap:7px;border:6px solid #fff;border-radius:50%;background:linear-gradient(160deg,#0b71b9,#00367c);color:#fff;text-align:center;box-shadow:0 12px 28px rgba(0,54,124,.2)}.profile-placeholder b{font:800 48px 'Manrope'}.profile-placeholder small{max-width:125px;color:#fff}.test-photo-label{z-index:2;top:13px;right:13px;bottom:auto;left:auto;transform:none}.profile-copy{position:static;display:block;min-height:0;padding:24px 24px 26px;overflow:visible;background:#fff;color:var(--ink)}.profile-status{margin:0 0 9px}.team-profile h3{margin:0 0 3px;color:var(--deep);font-size:26px;line-height:1.18}.profile-position{margin:0 0 16px;color:#006fce;font-size:14px;font-weight:800}.profile-description{margin:0;color:#304b61;font-size:14px;line-height:1.55}.profile-expanded{margin-top:18px;padding:17px;border-radius:10px;background:#edf7fc}.profile-expanded[hidden]{display:none}.profile-expanded h4{margin:0 0 8px;color:var(--deep);font:700 15px 'Manrope'}.profile-expanded p{margin:8px 0;color:#3d5a70;font-size:13px;line-height:1.55}.profile-details{display:grid;gap:5px;margin-top:12px}.profile-details span{padding:0;border:0;background:transparent;color:#315870;font-size:11px}.profile-details span::before{content:"+";margin-right:6px;color:var(--gold);font-weight:900}.profile-expanded .profile-consent{padding-top:10px;border-top:1px solid #cbdde8;color:#687f90;font-size:10px}.profile-view-button{display:inline-flex;gap:12px;align-items:center;margin-top:24px;padding:9px 0;border:0;background:transparent;color:var(--gold);font:700 14px 'DM Sans';cursor:pointer}.profile-view-button span{font-size:25px;line-height:1;transition:transform .2s}.profile-view-button[aria-expanded=true] span{transform:rotate(90deg)}.profile-view-button:focus-visible{outline:3px solid var(--lime);outline-offset:5px;border-radius:3px}
@media(max-width:1050px){.team-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.team-profile-grid{grid-template-columns:1fr}.team-profile{display:flex}.profile-visual{height:330px}.team-profile h3{font-size:24px}}@media(prefers-reduced-motion:reduce){.team-profile,.profile-view-button span{transition:none}.team-profile:hover{transform:none}}
.team-profile{display:flex!important;flex-direction:column!important}.profile-visual{width:100%;flex:0 0 315px}.profile-copy{width:100%;flex:1 1 auto}@media(max-width:700px){.team-profile{flex-direction:column!important}.profile-visual{flex-basis:330px}}
