.mm-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0 auto 24px;
  isolation: isolate;
  background: #f2f2f2;
  color: #fff;
  --swiper-theme-color: #fff;
}
.mm-slider *, .mm-slider *::before, .mm-slider *::after { box-sizing: border-box; }
.mm-slider .mm-viewport { width: 100%; aspect-ratio: var(--mm-ratio, 3 / 1); }
.mm-slider .swiper-slide { position: relative; height: 100%; overflow: hidden; }
.mm-slider .mm-image-link { display: block; width: 100%; height: 100%; }
.mm-slider .mm-image { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; border-radius: 0; margin: 0; }
.mm-slider:not([data-initialized]) .swiper-slide:not(:first-child) { display: none; }
.mm-slider:not([data-initialized]) .mm-prev,
.mm-slider:not([data-initialized]) .mm-next,
.mm-slider:not([data-initialized]) .mm-play,
.mm-slider:not([data-initialized]) .mm-pagination { visibility: hidden; }
.mm-slider .mm-prev, .mm-slider .mm-next, .mm-slider .mm-play {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgb(0 0 0 / 55%);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
}
.mm-slider .mm-prev, .mm-slider .mm-next { top: 50%; transform: translateY(-50%); }
.mm-slider .mm-prev { left: 8px; }
.mm-slider .mm-next { right: 8px; }
.mm-slider .mm-play { right: 8px; bottom: 8px; font-size: 14px; }
.mm-slider .mm-pagination {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 56px;
  right: 56px;
  bottom: 8px;
  height: 40px;
  width: auto;
}
.mm-slider .swiper-pagination-bullet {
  position: relative;
  flex: 0 0 32px;
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 1px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  cursor: pointer;
}
.mm-slider .swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 11px;
  left: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #444;
  opacity: .5;
}
.mm-slider .swiper-pagination-bullet-active::before { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #444; }
.mm-slider .mm-caption {
  position: absolute;
  inset: auto 56px 56px;
  max-height: calc(100% - 72px);
  overflow: auto;
  padding: 8px 12px;
  background: rgb(0 0 0 / 65%);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.mm-slider .mm-caption p { margin: 0; }
.mm-slider .mm-caption a { color: inherit; text-decoration: underline; }
.mm-slider button:hover { background-color: rgb(0 0 0 / 75%); color: #fff; }
.mm-slider .swiper-pagination-bullet:hover { background: transparent; }
.mm-slider button:focus-visible, .mm-slider a:focus-visible { outline: 3px solid #ffd34d; outline-offset: -3px; }
@media (max-width: 480px) {
  .mm-slider .mm-viewport { min-height: 160px; }
}
