.sectionEventBanner {
  width: 100%;
  margin-top: 30px;
  overflow: visible;
  position: relative;
}

.sectionEventBanner h1 {
  color: #000;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.sectionEventBannerWrap {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 14px;
  position: relative;
  min-height: 120px;
  transition: height 0.3s ease;
}

.Banner {
  flex: 1;
  padding: 20px 23px;
  border-radius: 16px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.3s ease-out;
}

.Banner:nth-child(1) {
  background: linear-gradient(to right, #8e35ff 0%, #ffa0b7 100%);
}

.Banner:nth-child(2) {
  background: linear-gradient(to right, #338ce7 0%, #66cad0 100%);
}

.BannerContents {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.BannerContents span {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-bottom: 10px;
}

.BannerContents h3 {
  font-size: 18px;
  color: white;
  font-weight: 400;
}

.Banner p {
  color: white;
  font-size: 13px;
  margin: 0;
}

@media (max-width: 768px) {
  .sectionEventBanner {
    margin-top: 20px;
  }

  .sectionEventBanner h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .sectionEventBannerWrap {
    gap: 0;
    height: auto;
    min-height: 140px;
  }

  .Banner {
    position: absolute;
    width: 100%;
    padding: 16px;
    min-height: 100px;
    opacity: 0;
  }

  .Banner:first-child {
    opacity: 1;
  }

  .BannerContents {
    margin-bottom: 12px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 8px;
  }

  .BannerContents h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
  }

  .BannerContents span {
    font-size: 10px;
    padding: 2px 8px;
  }

  .Banner p {
    font-size: 12px;
    line-height: 1.4;
  }
}
