
.mwes-carousel {
  width: 100%;
  margin: 0 auto 40px;
}

.mwes-carousel-main {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.mwes-carousel-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}

.mwes-carousel-main img.active {
  opacity: 1;
}

.mwes-carousel-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0 4px;
}

.mwes-carousel-thumbs img {
  flex: 0 0 auto;
  width: 16.2%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  opacity: .45;
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease;
}

.mwes-carousel-thumbs img.active {
  opacity: 1;
  transform: scale(1.05);
}

.mwes-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
}

.mwes-carousel-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #0F202C;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: .25;
  transition: opacity .25s ease;
}

.mwes-carousel-nav button:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  .mwes-carousel-thumbs img {
    width: 32%;
  }
}
