
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a1116;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5,10,15,.85) 0%,
    rgba(5,10,15,.75) 40%,
    rgba(5,10,15,.55) 70%,
    rgba(5,10,15,.3) 100%
  );
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 4rem 2rem;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  padding: .5rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.4);
  color: white;
  cursor: pointer;
}

.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }

