.stst-event-section {
  --stst-event-ink: #242424;
  padding: 34px 0 30px;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: linear-gradient(180deg, rgba(248, 243, 255, .98), rgba(255, 255, 255, .98));
}

.stst-event-section[hidden] {
  display: none !important;
}

.stst-event-section__inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.stst-event-section__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin-bottom: 18px;
}

.stst-event-section__title-img {
  display: block;
  width: min(620px, 68%);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.stst-event-marquee {
  position: relative;
  overflow: hidden;
  padding: 4px 0 8px;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.stst-event-marquee__track {
  display: flex;
  width: max-content;
  animation: stst-event-scroll var(--stst-event-duration, 30s) linear infinite;
  will-change: transform;
}

.stst-event-marquee__track.is-static {
  display: block;
  width: 100%;
  animation: none;
  will-change: auto;
}

.stst-event-state {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 30px 16px;
  color: #666;
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
}

.stst-event-state.is-error {
  color: #a33;
}

.stst-event-marquee:hover .stst-event-marquee__track {
  animation-play-state: paused;
}

.stst-event-marquee__group {
  display: flex;
  flex-shrink: 0;
  gap: 14px;
  padding-right: 14px;
}

@keyframes stst-event-scroll {
  to {
    transform: translateX(var(--stst-event-shift, -50%));
  }
}

.stst-event-card {
  width: 210px;
  flex: 0 0 210px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 15px;
  background: #fff;
  color: var(--stst-event-ink);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(43, 0, 74, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.stst-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(43, 0, 74, .18);
}

.stst-event-card.is-disabled {
  cursor: default;
  filter: grayscale(.18);
}

.stst-event-card__visual {
  overflow: hidden;
  background: #f1eef4;
}

.stst-event-card__status {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 7px 9px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  letter-spacing: .05em;
}

.stst-event-card__status.status-upcoming {
  background: linear-gradient(90deg, #2b7cff, #5aa3ff);
}

.stst-event-card__status.status-active {
  background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.stst-event-card__status.status-ended,
.stst-event-card__status.status-publication-ended {
  background: linear-gradient(90deg, #888, #5d5d5d);
}

.stst-event-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 450 / 550;
  object-fit: cover;
}

.stst-event-card__body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 67px;
  padding: 10px 12px 12px;
  box-sizing: border-box;
}

.stst-event-card__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--stst-event-ink);
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.stst-event-section__more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.stst-event-section__more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
}

.stst-event-section__more a:hover {
  background: #000;
}

@media (max-width: 640px) {
  .stst-event-section {
    padding: 26px 0 24px;
  }

  .stst-event-section__head {
    min-height: 0;
  }

  .stst-event-section__title-img {
    width: 90%;
    max-width: 560px;
  }

  .stst-event-card {
    width: 164px;
    flex-basis: 164px;
  }

  .stst-event-card__body {
    min-height: 64px;
  }

  .stst-event-card__title {
    font-size: .86rem;
  }

  .stst-event-marquee {
    mask-image: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stst-event-marquee {
    overflow-x: auto;
  }

  .stst-event-marquee__track {
    animation: none;
  }

  .stst-event-marquee__group:nth-child(2) {
    display: none;
  }
}
