.xsgz-act-carousel-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 clamp(1.75rem, 4vw, 2.75rem);
}

.xsgz-act-sw-activities,
.xsgz-act-sw-honor {
  padding-bottom: 2.5rem;
}

.xsgz-act-carousel-shell .xsgz-act-carousel__nav.swiper-button-prev,
.xsgz-act-carousel-shell .xsgz-act-carousel__nav.swiper-button-next {
  color: var(--theme-primary);
  width: 2.5rem;
  height: 2.75rem;
  margin-top: 0;
  top: 36%;
  bottom: auto;
  transform: translateY(-50%);
  opacity: 0.88;
}

.xsgz-act-carousel-shell .xsgz-act-carousel__nav.swiper-button-prev {
  left: 0;
}

.xsgz-act-carousel-shell .xsgz-act-carousel__nav.swiper-button-next {
  right: 0;
}

.xsgz-act-carousel-shell .xsgz-act-carousel__nav.swiper-button-prev:hover,
.xsgz-act-carousel-shell .xsgz-act-carousel__nav.swiper-button-next:hover {
  opacity: 1;
}

.xsgz-act-carousel-shell .xsgz-act-carousel__nav.swiper-button-disabled {
  opacity: 0.35;
}

.xsgz-act-sw-activities .swiper-pagination,
.xsgz-act-sw-honor .swiper-pagination {
  text-align: center;
}

.xsgz-act-sw-activities .swiper-pagination-bullet-active,
.xsgz-act-sw-honor .swiper-pagination-bullet-active {
  background: var(--theme-primary);
}

.xsgz-act-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--theme-border-light);
  border-radius: 0.375rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.xsgz-act-card:hover,
.xsgz-act-card:focus-visible {
  border-color: color-mix(in srgb, var(--theme-primary) 35%, var(--theme-border-light));
  box-shadow: 0 8px 24px rgba(var(--theme-primary-rgb), 0.15);
}

.xsgz-act-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--theme-section-muted-bg);
}

.xsgz-act-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.xsgz-act-card:hover .xsgz-act-card__img img,
.xsgz-act-card:focus-visible .xsgz-act-card__img img {
  transform: scale(1.04);
}

.xsgz-act-card__body {
  padding: 1rem 1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.xsgz-act-card__body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  color: var(--theme-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: calc(0.9375rem * 1.45 * 2);
}

.xsgz-act-card__body p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--theme-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: calc(0.8125rem * 1.55 * 2);
}

.xsgz-act-album-item {
  display: block;
  position: relative;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid var(--theme-border-light);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  height: 100%;
  min-height: 180px;
  max-height: 280px;
}

.xsgz-act-album-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.xsgz-act-album-item:hover img,
.xsgz-act-album-item:focus-visible img {
  transform: scale(1.03);
}

.xsgz-act-album-intro {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.xsgz-act-album-intro h5 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
}

.xsgz-act-album-intro span {
  font-size: 0.8125rem;
  white-space: nowrap;
  opacity: 0.95;
}
