@charset "utf-8";
/* CSS Document */
.fuwu1200 .tudiv{ background-color:#ffffff; float:left; padding:20px 0px; width:1200px; margin:20px 0;}

.gallery-box {
  width: 100%;
  max-width: 900px;
  margin:0px auto;
  font-family: Arial, Helvetica, sans-serif;
}

.gallery-main {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius:3px;
  background: #f5f5f5;
}
.gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.2s;
  user-select: none;
}
.gallery-arrow:hover { background: rgba(0,0,0,0.7); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.gallery-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-dots span.active { background: #fff; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.gallery-thumbs img {
  width: 20%;
  min-width: 80px;
  height: 70px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border 0.2s;
  border: 2px solid transparent;
  flex-shrink: 0;
}
.gallery-thumbs img.active {
  opacity: 1;
  border-color: #022d86;
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }

/* 手机端 */
@media (max-width: 768px) {
  .gallery-arrow { width: 32px; height: 32px; line-height: 32px; font-size: 16px; }
  .gallery-thumbs img { height: 55px; min-width: 65px; }
  .gallery-main img { aspect-ratio: 4/3; }
  .fuwu1200 .tudiv{ padding:0px; width:100%; margin:10px 0;}
}