/* Scope: only the 20 replacement figures. Existing group, CEO, historical and
   customer photographs, page typography, grids and hero videos are unchanged. */
body.g-world.g-polished[data-page] #g-main :is(#solutions, #issues, #integration, #consulting, #assessment, #usecases, #areas, .g-pagehead) figure.g-staff-replacement.g-staff-replacement {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0;
  background: #fff;
}
/* Keep each existing work-scene grid placement after retiring its old photo ID. */
body.g-world.g-polished[data-page] #g-main :is(#solutions, #integration, #consulting, #assessment, .g-pagehead) [data-g-work-scene][data-g-work-scene] > figure.g-staff-replacement.g-staff-replacement {
  grid-column: 1;
  grid-row: 1;
  opacity: 1;
  transform: none;
}
body.g-world.g-polished[data-page] #g-main :is(#solutions, #issues, #integration, #consulting, #assessment, #usecases, #areas, .g-pagehead) figure.g-staff-replacement.g-staff-replacement > a.g-staff-replacement-link {
  /* Legacy photo layouts declare cropping dimensions as !important. Retire
     those dimensions only inside these explicitly marked replacement figures. */
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
body.g-world.g-polished[data-page] #g-main :is(#solutions, #issues, #integration, #consulting, #assessment, #usecases, #areas, .g-pagehead) figure.g-staff-replacement.g-staff-replacement img.g-staff-replacement-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: var(--g-staff-ratio) !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  transform: none !important;
  mix-blend-mode: normal;
}
body.g-world.g-polished[data-page] #g-main :is(#solutions, #issues, #integration, #consulting, #assessment, #usecases, #areas, .g-pagehead) figure.g-staff-replacement.g-staff-replacement > figcaption {
  margin: 12px 0 0;
  padding: 0;
  color: #71818b;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .01em;
  text-align: left;
}
body.g-world.g-polished[data-page] #g-main a.g-staff-replacement-link:focus-visible {
  outline: 2px solid var(--g-accent);
  outline-offset: 4px;
}

/* Retain the approved AUTOBACS SEVEN geometry while its white raster canvas
   is removed by the SVG render filter. No image border or shadow is added. */
body.g-world.g-polished #g-main .g-client-case__logo img[src*="client-ab7_A-1C-02"] {
  border: 0;
  box-shadow: none;
  background: transparent;
}
