.hot-media-contents {
  overflow: visible !important;
}

#wrapper #inner-wrap .contents-small.hot-media-contents {
  display: block;
}

#wrapper #inner-wrap .contents-small.hot-media-contents img {
  float: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-width: none;
}

.hot-media-gallery {
  width: 100%;
  color: #fff;
}

.hot-gallery__hero {
  position: relative;
  display: block;
  width: 100%;
  height: 430px;
  padding: 0;
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid rgba(226, 39, 132, 0.55);
  border-radius: 8px;
  background: #120315;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}

.hot-gallery__hero-bg,
.hot-gallery__hero-img {
  position: absolute;
  inset: 0;
}

.hot-gallery__hero-bg {
  background-position: center;
  background-size: cover;
  filter: blur(22px);
  opacity: 0.55;
  transform: scale(1.12);
}

.hot-gallery__hero-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  z-index: 1;
}

.hot-gallery__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 34%);
}

.hot-gallery__open {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(226, 39, 132, 0.94);
  color: #fff;
  font: 700 15px/1 "Roboto Condensed", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hot-gallery__count {
  position: absolute;
  right: 16px;
  bottom: 17px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.9);
  font: 700 14px/1 "Roboto Condensed", Arial, sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.hot-gallery__rail {
  display: flex;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 6px;
  scrollbar-color: #e22784 #2a0b32;
  scrollbar-width: thin;
}

.hot-gallery__thumb {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #130316;
  cursor: pointer;
}

.hot-gallery__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 0;
  transition: opacity 160ms ease;
}

.hot-gallery__thumb img.is-loaded {
  opacity: 1;
}

.hot-gallery__thumb.is-video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin: -12px 0 0 -7px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65));
}

.hot-gallery__thumb.is-active {
  border-color: #e22784;
  box-shadow: 0 0 0 2px rgba(226, 39, 132, 0.45);
}

.hmv-lock {
  overflow: hidden !important;
}

.hmv-viewer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  color: #fff;
  background: #070107;
  touch-action: none;
}

.hmv-viewer.is-open {
  display: block;
}

.hmv-backdrop {
  position: absolute;
  inset: -32px;
  background-position: center;
  background-size: cover;
  filter: blur(28px);
  opacity: 0.42;
  transform: scale(1.05);
}

.hmv-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72) 76%),
    rgba(7, 1, 7, 0.58);
}

.hmv-stage {
  position: absolute;
  inset: 58px 76px 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hmv-media-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 180ms ease;
  will-change: transform;
}

.hmv-media-wrap.is-dragging {
  transition: none;
}

.hmv-media {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.hmv-peek {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  opacity: 0.62;
  pointer-events: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  will-change: transform, opacity;
}

.hmv-media.is-video {
  width: min(100%, 980px);
  max-height: 100%;
  background: #000;
}

.hmv-close,
.hmv-nav,
.hmv-thumb,
.hmv-retry {
  border: 0;
  color: #fff;
  font-family: Arial, sans-serif;
  cursor: pointer;
}

.hmv-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(226, 39, 132, 0.94);
  font-size: 24px;
  line-height: 44px;
  text-align: center;
}

.hmv-counter {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
  font: 700 16px/1 "Roboto Condensed", Arial, sans-serif;
  text-shadow: 0 2px 10px #000;
}

.hmv-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 72px;
  margin-top: -36px;
  border-radius: 8px;
  background: rgba(32, 8, 38, 0.62);
  font-size: 42px;
  line-height: 72px;
  text-align: center;
}

.hmv-nav:hover,
.hmv-close:hover {
  background: #e22784;
}

.hmv-nav.is-prev {
  left: 18px;
}

.hmv-nav.is-next {
  right: 18px;
}

.hmv-thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 100%;
  padding: 14px 24px 18px;
  overflow-x: auto;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
}

.hmv-thumb {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  background: #140318;
}

.hmv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 160ms ease;
}

.hmv-thumb img.is-loaded {
  opacity: 1;
}

.hmv-thumb.is-active {
  border-color: #e22784;
  box-shadow: 0 0 0 2px rgba(226, 39, 132, 0.6);
}

.hmv-thumb.is-video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin: -9px 0 0 -5px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #fff;
}

.hmv-error {
  max-width: 420px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(42, 11, 31, 0.92);
  color: #fff;
  font: 16px/1.4 Arial, sans-serif;
  text-align: center;
}

.hmv-retry {
  display: inline-block;
  height: 38px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 999px;
  background: #e22784;
  font: 700 14px/38px Arial, sans-serif;
}

@media only screen and (max-width: 768px), (max-device-width: 768px), (device-width: 768px) {
  #wrapper #inner-wrap .contents-small.hot-media-contents {
    display: block !important;
    width: 100% !important;
    padding: 0 2.040816vw !important;
    box-sizing: border-box !important;
    gap: 0 !important;
  }

  .hot-media-gallery {
    margin-bottom: 5.102041vw;
  }

  .hot-gallery__hero {
    height: 112.244898vw;
    max-height: 78vh;
    margin-bottom: 2.55102vw;
    border-radius: 2.040816vw;
  }

  .hot-gallery__open {
    left: 3.061224vw;
    bottom: 3.061224vw;
    min-height: 8.673469vw;
    padding: 0 3.061224vw;
    gap: 1.530612vw;
    font-size: 3.571429vw;
  }

  .hot-gallery__count {
    right: 3.061224vw;
    bottom: 3.571429vw;
    font-size: 3.265306vw;
  }

  .hot-gallery__rail {
    gap: 1.530612vw;
    padding-bottom: 1.530612vw;
  }

  .hot-gallery__thumb {
    flex-basis: 17.346939vw;
    width: 17.346939vw;
    height: 21.428571vw;
    border-radius: 1.530612vw;
  }

  .hmv-viewer {
    height: 100vh;
    height: 100dvh;
  }

  .hmv-stage {
    inset: 14.285714vw 0 22.44898vw;
  }

  .hmv-media {
    max-width: 100vw;
    max-height: 100%;
    border-radius: 0;
  }

  .hmv-close {
    top: 3.061224vw;
    right: 3.061224vw;
    width: 10.714286vw;
    height: 10.714286vw;
    font-size: 5.612245vw;
    line-height: 10.714286vw;
  }

  .hmv-counter {
    top: 4.081633vw;
    left: 4.081633vw;
    font-size: 4.081633vw;
  }

  .hmv-nav {
    width: 10.714286vw;
    height: 15.306122vw;
    margin-top: -7.653061vw;
    border-radius: 2.040816vw;
    font-size: 8.163265vw;
    line-height: 15.306122vw;
    background: rgba(32, 8, 38, 0.45);
  }

  .hmv-nav.is-prev {
    left: 2.040816vw;
  }

  .hmv-nav.is-next {
    right: 2.040816vw;
  }

  .hmv-thumbs {
    justify-content: flex-start;
    gap: 1.530612vw;
    padding: 2.55102vw 3.061224vw 3.061224vw;
  }

  .hmv-thumb {
    flex-basis: 13.265306vw;
    width: 13.265306vw;
    height: 15.306122vw;
    border-radius: 1.020408vw;
  }

  .hmv-error {
    max-width: 82vw;
    padding: 5.102041vw;
    border-radius: 2.040816vw;
    font-size: 4.081633vw;
  }

  .hmv-retry {
    height: 9.183673vw;
    margin-top: 3.061224vw;
    padding: 0 4.081633vw;
    font-size: 3.571429vw;
    line-height: 9.183673vw;
  }
}
