/*--------------------------------------------------------------
# Mini Carousel
--------------------------------------------------------------*/
.mini-carousel {
  position: relative;
  flex: 1;
  max-width: 40%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  height: 350px;      /* fixed height */
}

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

.mini-carousel-slides img {
  width: 100%;
  flex-shrink: 0;
}

.mini-carousel-prev,
.mini-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  min-width: 44px;
}

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

.mini-carousel-dots {
  text-align: center;
  margin-top: 10px;
}

.mini-carousel-dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 5px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.mini-carousel-dot.active {
  background: #333;
}

.mini-carousel-slides > * {
  flex-shrink: 0;
  width: 100%; /* take full carousel width */
  display: flex;
  justify-content: center; /* horizontal centering */
  align-items: center;     /* vertical centering */
}


.mini-carousel-slides video {
  max-height: 300px;  /* limit height */
  max-width: 100%;    /* fit width */
  object-fit: contain; /* keep aspect ratio */
  display: block;
}


/* Mobile layout: stack vertically */
@media (max-width: 768px) {
  .mini-carousel {
    max-width: 100%;
  }
}