/* Keep Projects pages aligned after the redundant public-scope card is
   removed: the hero becomes one column without leaving an empty slot. */
@media (min-width: 1181px) {
  html >
    body.global-tech-page.global-tech-page.global-tech-page.library-page.case-library-page
    .page-hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html >
    body.global-tech-page.global-tech-page.global-tech-page.library-page.case-library-page
    .page-hero
    > div:first-child {
    max-width: 1120px !important;
  }
}

/* Preserve the approved full-bleed featured-case artwork. A legacy desktop
   rule in site-layout-v1.css has higher specificity and otherwise restores
   image padding even though the M1 review layer removes it. */
html >
  body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.library-page.case-library-page.m1-layout-sample
  .case-detail
  > figure
  > img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
}
