/* V32: make the SAMI relationship mark the visual anchor of the role card. */
.hybrid-app .resume-role:has(.p29-sami-mark-group){grid-template-columns:34% minmax(0,1fr)}
.hybrid-app .resume-role:has(.p29-sami-mark-group) .resume-org{background:#fff}
.hybrid-app .p29-sami-mark-group{display:grid;grid-template-columns:minmax(0,1.35fr) 20px minmax(0,1fr) 20px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-height:184px;margin-bottom:20px;padding:15px 14px;background:#fff;border:1px solid #d6dfeb;border-radius:18px;box-shadow:0 5px 16px #26384d0a;overflow:hidden}
.hybrid-app .p29-sami-mark-group>div{display:grid;place-items:center;min-width:0;min-height:148px}
.hybrid-app .p29-sami-mark-group .p21-org-mark{display:grid;place-items:center;width:100%;height:148px;padding:2px;background:#fff;border:0;border-radius:10px;margin:0;box-shadow:none;overflow:hidden}
.hybrid-app .p29-sami-mark-group .p21-org-mark img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.hybrid-app .p29-sami-mark-group .p29-sami-primary{flex:initial}
.hybrid-app .p29-sami-mark-group .p29-sami-primary .p21-org-mark img{width:100%;height:100%;object-fit:contain}
.hybrid-app .p29-sami-mark-group .p29-sami-join{font-size:24px;line-height:1;color:#a5b2c2;text-align:center}
@media(max-width:1100px){.hybrid-app .resume-role:has(.p29-sami-mark-group){grid-template-columns:38% minmax(0,1fr)}.hybrid-app .p29-sami-mark-group{grid-template-columns:minmax(0,1.25fr) 14px minmax(0,1fr) 14px minmax(0,1fr);gap:5px;padding-inline:9px}.hybrid-app .p29-sami-mark-group .p21-org-mark{height:128px}.hybrid-app .p29-sami-mark-group>div{min-height:128px}}
@media(max-width:760px){.hybrid-app .resume-role:has(.p29-sami-mark-group){grid-template-columns:1fr}.hybrid-app .p29-sami-mark-group{grid-template-columns:minmax(0,1fr) 17px minmax(0,1fr);grid-template-rows:auto auto;min-height:226px;padding:12px 12px;gap:5px;margin-bottom:16px}.hybrid-app .p29-sami-mark-group .p29-sami-primary{grid-column:1/-1;grid-row:1;min-height:112px}.hybrid-app .p29-sami-mark-group>div{min-height:94px}.hybrid-app .p29-sami-mark-group .p21-org-mark{height:94px}.hybrid-app .p29-sami-mark-group .p29-sami-primary .p21-org-mark{height:112px}.hybrid-app .p29-sami-mark-group> .p29-sami-join:first-of-type{display:none}.hybrid-app .p29-sami-mark-group> .p29-sami-context:nth-of-type(2){grid-column:1;grid-row:2}.hybrid-app .p29-sami-mark-group> .p29-sami-join:last-of-type{grid-column:2;grid-row:2;font-size:19px}.hybrid-app .p29-sami-mark-group> .p29-sami-context:last-child{grid-column:3;grid-row:2}.hybrid-app .resume-org{padding:15px 16px}}
