.marquee_v001 {
  position: relative;
  width: 100%;
  max-width: var(--main-width, 1200px);
  margin: 0 auto;
}

.marquee_v001-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee_v001-track {
  display: flex;
  flex-direction: column;
}

.marquee_v001-item {
  flex: 0 0 auto;
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: var(--marquee-v001-gap, 1rem);
}

.marquee_v001-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.marquee_v001-item:hover .marquee_v001-image {
  transform: scale(1.03);
}

.marquee_v001-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  pointer-events: none;
}

.marquee_v001-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.marquee_v001-desc {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 灯箱 */
.marquee_v001-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee_v001-lightbox[hidden] {
  display: none !important;
}

.marquee_v001-lightbox:not([hidden]) {
  animation: marqueeFadeIn 0.25s ease;
}

.marquee_v001-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.marquee_v001-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}

.marquee_v001-lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.marquee_v001-lightbox-close:hover {
  opacity: 1;
}

.marquee_v001-lightbox-image {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

@keyframes marqueeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
