.earth-staff-page.earth-staff-interactive .earth-team-grid{max-width:960px;margin-inline:auto;gap:24px}
.earth-staff-interactive .earth-team-card{position:relative!important;padding:0!important;overflow:hidden;border-radius:12px}
.earth-staff-interactive .earth-team-card figure{margin:0!important}
.earth-staff-interactive .earth-team-card figure img{height:210px!important;width:100%;object-fit:cover}
.earth-staff-interactive .earth-team-card-copy{display:none!important}
html body #pageholder .earth-staff-tile{position:absolute;inset:0;width:100%;height:100%;padding:0!important;border:0!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;display:flex;align-items:flex-end;cursor:pointer}
html body #pageholder .earth-staff-tile span{display:block;width:100%;padding:15px 12px;background:#0B2F67;color:white;font-size:17px;font-weight:600;text-align:center}
html body #pageholder .earth-staff-tile:hover span{background:#000}
html body #pageholder .earth-staff-tile:focus-visible{outline:3px solid #F5A900;outline-offset:-4px}
.earth-staff-interactive .earth-team-card figure{padding-bottom:54px}
#earth-staff-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:calc(100% - 32px);max-width:620px;max-height:calc(100dvh - 40px);padding:32px;border:0;border-radius:16px;background:#fff;color:#25374c;overflow-y:auto;box-sizing:border-box;box-shadow:0 20px 70px #0005}
#earth-staff-dialog::backdrop{background:rgba(6,29,66,.72)}
#earth-staff-dialog .earth-staff-modal-image{display:block;width:160px;height:160px;object-fit:cover;border-radius:12px;margin:0 0 20px}
#earth-staff-dialog h2{font-size:28px;line-height:1.25;color:#0B2F67;margin:0 0 18px}
#earth-staff-dialog p{font-size:16px;line-height:1.8;margin:0 0 20px}
html body #pageholder #earth-staff-dialog .earth-staff-close{position:absolute;right:14px;top:14px;width:40px;height:40px;padding:0!important;font-size:26px!important;line-height:1!important;border-radius:6px}
@media(max-width:767px){.earth-staff-page.earth-staff-interactive .earth-team-grid{max-width:340px;gap:20px}#earth-staff-dialog{padding:24px}#earth-staff-dialog h2{font-size:24px}#earth-staff-dialog .earth-staff-modal-image{width:130px;height:130px}}

/* Rounded square staff portraits */
.earth-staff-interactive .earth-team-card{background:#f0f4fa!important;padding-top:22px!important}
.earth-staff-interactive .earth-team-card figure{padding:0 0 74px!important;display:flex;justify-content:center}
.earth-staff-interactive .earth-team-card figure img{width:170px!important;height:170px!important;max-width:calc(100% - 40px);aspect-ratio:1;object-fit:cover;border-radius:14px!important;border:5px solid #fff;box-shadow:0 4px 14px rgba(11,47,103,.16);margin:0!important}
@media(max-width:767px){.earth-staff-interactive .earth-team-card figure img{width:150px!important;height:150px!important}}


html body #pageholder .earth-staff-page button.earth-staff-tile,
html body #pageholder .earth-staff-page button.earth-staff-tile:hover,
html body #pageholder .earth-staff-page button.earth-staff-tile:focus,
html body #pageholder .earth-staff-page button.earth-staff-tile:active{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:0!important;transform:none!important}

/* Team tile names and job titles share a consistently sized caption. */
html body #pageholder .earth-staff-tile>span{box-sizing:border-box;min-height:104px;padding:14px 12px;display:flex;flex-direction:column;justify-content:center;line-height:1.35;}
html body #pageholder .earth-staff-tile .earth-team-tile-role{display:block;margin-top:6px;font-size:13px;font-weight:400;line-height:1.4;color:#fff;white-space:normal;}
.earth-staff-interactive .earth-team-card figure{padding-bottom:124px!important}

/* Team cards: name above the portrait, role in a contrasting lower strip. */
html body #pageholder .earth-staff-interactive .earth-team-card{padding-top:78px!important;border:1px solid #dce4eb;background:#fff!important;}
html body #pageholder .earth-staff-interactive .earth-team-card figure{padding-bottom:78px!important;}
html body #pageholder .earth-staff-tile>span{display:contents!important;min-height:0;padding:0!important;background:transparent!important;}
html body #pageholder .earth-staff-tile .earth-team-tile-name{position:absolute;top:0;left:0;right:0;min-height:58px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:14px 12px;background:#0B2F67;color:#fff;font-size:17px;font-weight:600;line-height:1.4;text-align:center;}
html body #pageholder .earth-staff-tile .earth-team-tile-role{position:absolute;bottom:0;left:0;right:0;min-height:54px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:7px 14px;margin:0;background:#e8f0e3;color:#274b23;font-size:14px;font-weight:600;line-height:1.45;text-align:center;}
html body #pageholder .earth-staff-tile:hover .earth-team-tile-name{background:#092653;}
html body #pageholder .earth-staff-tile:hover .earth-team-tile-role{background:#dce9d4;}
