/* 10-carousel.css
   ŠIPKY / OVLÁDÁNÍ CAROUSELU (hover jen na desktopu, vždy viditelné na mobilu)
*/
.carousel-control.left,
.carousel-control.right {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  top: 50% !important;
  bottom: auto !important;
  margin-top: -24px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: background 0.2s, border-color 0.2s, opacity 2s ease;
  position: absolute !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.carousel:hover .carousel-control.left,
.carousel:hover .carousel-control.right {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.carousel-control.left { left: 16px !important; }
.carousel-control.right { right: 16px !important; }

.carousel-control.left:hover,
.carousel-control.right:hover {
  background: #e30613 !important;
  border-color: #e30613;
}

.carousel-control.left::before,
.carousel-control.right::before,
.carousel-control.left::after,
.carousel-control.right::after {
  all: unset;
}

.carousel-control.left::after,
.carousel-control.right::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
}

.carousel-control.left::after {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.carousel-control.right::after {
  transform: translate(-70%, -50%) rotate(45deg);
}

@media (max-width: 768px) {
  .carousel-control.left,
  .carousel-control.right {
    opacity: 1 !important;
    width: 36px;
    height: 36px;
    margin-top: -18px;
  }
}
