.journal-masthead {
  position: relative;
  isolation: isolate;
}

.journal-masthead__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  pointer-events: none;
}

.journal-masthead__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.journal-masthead::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #11100f 1%,
    rgb(17 16 15 / 96%) 29%,
    rgb(17 16 15 / 83%) 46%,
    rgb(17 16 15 / 45%) 59%,
    transparent 78%
  );
  content: "";
  pointer-events: none;
}

@media (max-width: 700px) {
  .journal-masthead__photo img {
    object-position: 66% center;
  }

  .journal-masthead::before {
    background:
      linear-gradient(90deg, rgb(17 16 15 / 86%), rgb(17 16 15 / 43%) 100%),
      linear-gradient(180deg, rgb(17 16 15 / 46%), transparent 38%, rgb(17 16 15 / 65%));
  }
}
