.hero-slider {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.hero-viewport {
  grid-column: 1 / -1;
  grid-row: 1;
  overflow: hidden;
}

.hero-track {
  display: flex;
  transition: transform 0.6s ease;
}

.hero-slider .hero {
  flex: 0 0 100%;
  border-bottom: 0;
  min-width: 0;
}

.hero-arrow {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(68px, 14vw, 108px);
  height: clamp(68px, 14vw, 108px);
  min-width: clamp(68px, 14vw, 108px);
  min-height: clamp(68px, 14vw, 108px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 10, 9, 0.72);
  color: #f4efe6;
  cursor: pointer;
}

.hero-arrow svg {
  width: 62%;
  height: 62%;
  display: block;
}

.hero-arrow-prev {
  justify-self: start;
  margin-left: 12px;
}

.hero-arrow-next {
  justify-self: end;
  margin-right: 12px;
}

@media (width <= 860px) {
  .hero-slider {
    grid-template-columns: 1fr;
  }

  .hero-arrow {
    align-self: start;
    margin-top: calc(36px + 28.125% - clamp(34px, 7vw, 54px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track {
    transition: none;
  }
}
