.continue-watching-carousel {
  position: relative;
}

.continue-watching-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(7, 7, 7, .82);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  place-items: center;
  pointer-events: none;
  transform: translateY(-50%) scale(.9);
  transition: opacity .25s, transform .25s, background-color .25s, border-color .25s;
}

.continue-watching-arrow-prev {
  left: 8px;
}

.continue-watching-arrow-next {
  right: 8px;
}

.continue-watching-carousel:hover .continue-watching-arrow,
.continue-watching-carousel:focus-within .continue-watching-arrow {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.continue-watching-arrow:hover,
.continue-watching-arrow:focus-visible {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}

.continue-watching-carousel.is-static .continue-watching-arrow {
  display: none;
}

@media (hover: none) {
  .continue-watching-arrow {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }
}
