.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-inner-radius);
  margin: 1rem;
  background-color: black;
  /* max-height: 300px; */
  /* margin: 2rem auto; */
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img,
.carousel-slide video {
  width: 100%;
  border-radius: 0;
  /* height: auto; */
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
  position: absolute;
  bottom: 0.75rem;
  transform: translateX(-50%);
  left: 50%;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #555;
}

@media (min-width: 900px) {
  .carousel-dots {
    bottom: 0.5rem;
  }
  /* Arrows */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
  }
}
