.cover .hero-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 10%;
     object-position: center 10%;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (max-device-width: 1139px) {
  .cover {
    display: flex;
    align-items: flex-end;
    background: #081026;
  }
  .cover .hero-photo {
    height: 70%;
  }
  .cover::after {
    background: linear-gradient(to bottom, rgba(8, 16, 38, 0.6) 0, rgba(8, 16, 38, 0.5) 16%, rgba(8, 16, 38, 0.5) 36%, rgba(8, 16, 38, 0.8) 50%, #081026 69%);
  }
  .cover .content {
    padding-top: 90px;
    padding-bottom: 95px;
  }
}
@media only screen and (min-device-width: 1140px) {
  .cover::after {
    background: linear-gradient(to bottom, rgba(8, 16, 38, 0.6) 0, rgba(8, 16, 38, 0) 20%), linear-gradient(to right, rgba(8, 16, 38, 0.85) 0, rgba(8, 16, 38, 0.7) 43%, rgba(8, 16, 38, 0.15) 54%, rgba(8, 16, 38, 0.15) 58%, rgba(8, 16, 38, 0.68) 68%, rgba(8, 16, 38, 0.78) 100%);
  }
}
