.editorial-site .corporate-hero {
  position: relative;
  isolation: isolate;
  background: #0b1528;
}

.editorial-site .corporate-hero .hero-content {
  position: relative;
  z-index: 1;
}

/* Keep the previous grid dimensions after moving the photo behind the content. */
.editorial-site .corporate-hero .hero-layout::after {
  content: "";
  padding-bottom: calc(100% / 1.19 + 11px);
}

.editorial-site .corporate-hero .hero-layout > figure {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 0;
  border: 0;
  mask: none;
}

.editorial-site .corporate-hero .hero-layout > figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: right 44%;
}

.editorial-site .corporate-hero .hero-layout > figure::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgb(11 21 40 / 24%), transparent 18%, transparent 77%, rgb(11 21 40 / 32%)),
    linear-gradient(90deg, #0b1528 0%, rgb(11 21 40 / 98%) 16%, rgb(11 21 40 / 94%) 34%, rgb(11 21 40 / 79%) 48%, rgb(11 21 40 / 35%) 65%, transparent 91%);
}

@media (max-width: 650px) {
  .editorial-site .corporate-hero .hero-layout::after {
    padding-bottom: calc(100% / 1.58 + 11px);
  }

  .editorial-site .corporate-hero .hero-layout > figure img {
    object-position: 66% 56%;
  }

  .editorial-site .corporate-hero .hero-layout > figure::after {
    background:
      linear-gradient(180deg, #0b1528 0%, rgb(11 21 40 / 96%) 24%, rgb(11 21 40 / 87%) 51%, rgb(11 21 40 / 36%) 74%, rgb(11 21 40 / 24%) 89%, rgb(11 21 40 / 48%)),
      linear-gradient(90deg, rgb(11 21 40 / 33%), transparent 73%);
  }
}
