/* 幻灯片容器样式 */
.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 20px auto;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  /* 4:3比例 */
  aspect-ratio: 4 / 3;
  border: none !important;
  box-shadow: none !important;
}

@supports not (aspect-ratio: 4 / 3) {
  .slideshow-container {
    height: 0;
    padding-top: 75%; /* 4:3比例 */
  }
  .slideshow-container .main-img-wrap,
  .slideshow-container .thumb-bar {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
  }
}

/* 大图100%填充 */
.slideshow-container .main-img-wrap {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.slideshow-container .main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* 缩略图横向排列，绝对定位左下角 */
.slideshow-container .thumb-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 60px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  background: none;
  padding: 0 0 10px 10px;
  box-sizing: border-box;
  z-index: 2;
  gap:5px;
}
.slideshow-container .thumb-bar img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  margin: 0 8px 0 0;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* 按钮样式 */
.slideshow-container button {
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 22px;
  cursor: pointer;
  outline: none;
  z-index: 2;
  transition: background 0.2s;
}
.slideshow-container button:hover {
  background: rgba(0,0,0,0.7);
}

/* 缩略图高亮与默认边框 */
.active-thumb {
  border: 1.5px solid #0078d7 !important;
  box-shadow: 0 2px 8px #0078d733;
}
.slideshow-container .thumb-bar img:not(.active-thumb) {
  box-shadow: none;
}
.download-rights{
    width: 180px;
}