/* Rotating homepage / sticky ad banners */
.zs-rotator {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.zs-rotator-slide {
  display: none;
  width: 100%;
}

.zs-rotator-slide.is-active {
  display: block;
}

.zs-rotator-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.bannerstyle.zs-rotator,
.zs-rotator.bannerstyle,
img.bannerstyle,
.bannerstyle {
  width: 100% !important;
  height: 140.41px !important;
  max-height: 140.41px !important;
  min-height: 140.41px !important;
  border-radius: 10px;
  border: 2px solid #ccc;
  box-sizing: border-box;
  overflow: hidden !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.bannerstyle.zs-rotator,
.zs-rotator.bannerstyle {
  position: relative;
}

.bannerstyle.zs-rotator .zs-rotator-slide,
.zs-rotator.bannerstyle .zs-rotator-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 140.41px !important;
  overflow: hidden;
}

.bannerstyle.zs-rotator .zs-rotator-slide.is-active,
.zs-rotator.bannerstyle .zs-rotator-slide.is-active {
  display: block;
}

.bannerstyle.zs-rotator a,
.zs-rotator.bannerstyle a {
  display: block;
  width: 100%;
  height: 140.41px;
  overflow: hidden;
  line-height: 0;
}

.bannerstyle.zs-rotator .zs-rotator-slide img,
.zs-rotator.bannerstyle .zs-rotator-slide img,
.bannerstyle.zs-rotator img,
.zs-rotator.bannerstyle img {
  width: 100% !important;
  height: 140.41px !important;
  max-height: 140.41px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 8px;
  display: block !important;
}

/* Sticky Banner — fixed 130×420 only (never expands with image size) */
.sticky-banner {
  position: fixed !important;
  right: 0 !important;
  top: 120px !important;
  width: 130px !important;
  height: 420px !important;
  min-width: 130px !important;
  min-height: 420px !important;
  max-width: 130px !important;
  max-height: 420px !important;
  box-sizing: border-box !important;
  border-radius: 14px;
  overflow: hidden !important;
  z-index: 9999;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
  background: #222;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  border: 3px solid #fff;
  contain: strict;
}

.sticky-banner.zs-rotator {
  position: fixed !important;
  width: 130px !important;
  height: 420px !important;
  max-width: 130px !important;
  max-height: 420px !important;
  overflow: hidden !important;
}

.sticky-banner .zs-rotator-slide,
.sticky-banner.zs-rotator .zs-rotator-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 130px !important;
  height: 420px !important;
  max-width: 130px !important;
  max-height: 420px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: none;
}

.sticky-banner .zs-rotator-slide.is-active {
  display: block !important;
}

.sticky-banner a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 130px !important;
  max-height: 420px !important;
  overflow: hidden !important;
  line-height: 0;
}

.sticky-banner img,
.sticky-banner .zs-rotator-slide img,
.sticky-banner a img {
  width: 130px !important;
  height: 420px !important;
  max-width: 130px !important;
  max-height: 420px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.sticky-banner.has-default {
  background-image: url("../img/sticky-banner.png");
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .sticky-banner {
    top: 100px !important;
    /* Keep locked 130×420 on mobile too */
  }
}

/* Home slider slides driven by DB images */
#homeSlider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
