#employee-profile-list.people-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.people-photo-grid>.hr-profile{min-width:0;margin:0!important;padding:0!important;border:1px solid #e3d6c9;border-radius:16px;background:#fff;box-shadow:0 2px 7px #49332108}
.people-photo-grid>.hr-profile>summary[data-people-card]{box-sizing:border-box;aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:18px;list-style:none;text-align:center}
.people-photo-grid summary[data-people-card]::marker{content:''}
.people-photo-grid summary[data-people-card]::-webkit-details-marker{display:none}
.people-photo-grid summary[data-people-card] .profile-avatar{width:62%;height:auto;max-width:160px;aspect-ratio:1;flex-shrink:0;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#ffecdd;color:#9b4b0c;font-size:clamp(22px,3vw,42px)}
.people-photo-grid .profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.people-photo-grid .people-card-name{font:600 clamp(14px,1.3vw,18px)/1.35 system-ui,sans-serif;color:#252529;min-width:0;max-width:100%;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.people-photo-grid>.hr-profile>summary:hover{background:#fff9f2}
.people-photo-grid>.hr-profile>summary:focus-visible{outline:3px solid #ed6a08;outline-offset:-4px;border-radius:15px}
.people-photo-grid>.hr-profile[open]{grid-column:1/-1}
.people-photo-grid>.hr-profile[open]>summary[data-people-card]{aspect-ratio:auto;flex-direction:row;justify-content:flex-start;text-align:start;min-height:88px}
.people-photo-grid>.hr-profile[open] .profile-avatar{width:56px;max-width:56px}
@media(max-width:1000px){#employee-profile-list.people-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#employee-profile-list.people-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.people-photo-grid>.hr-profile>summary[data-people-card]{padding:10px;gap:8px}.people-photo-grid summary[data-people-card] .profile-avatar{width:56%;max-width:112px}.people-photo-grid .people-card-name{font-size:14px}.people-photo-grid>.hr-profile[open] .profile-avatar{width:48px}}
/* Older iOS engines without aspect-ratio still get square cards. */
@supports not (aspect-ratio:1){.people-photo-grid>.hr-profile:not([open])>summary[data-people-card]{position:relative;height:0;padding:0 0 100%;display:block}.people-photo-grid>.hr-profile:not([open]) .profile-avatar{position:absolute;top:9%;left:22%;width:56%;height:56%}.people-photo-grid>.hr-profile:not([open]) .people-card-name{position:absolute;top:73%;left:6%;width:88%}}
