/* Event Feature Component Styles */

#event-feature {
  width: 100%;
  margin-bottom: var(--Space8);
  position: relative;
  overflow: hidden;
  /* Height can be adjusted or set via aspect ratio */
  height: 50vh;
  display: flex;
  flex-direction: column;
}

#event-feature .event-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  height: 100%;
  width: 100%;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
  -ms-overflow-style: none;
  /* Hide scrollbar IE/Edge */
}

#event-feature .event-slider-track::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

#event-feature .event-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ColorTextInverse);
}

/* Overlay for readability */
#event-feature .event-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}

#event-feature .event-content {
  position: relative;
  z-index: 2;
  padding: var(--Space8) var(--Space8);
  width: 100%;
  max-width: 1400px;
  /* Constrain content width */
  margin: 0 auto;
}

#event-feature .event-date {
  display: inline-block;
  background: hsla(var(--ColorBrand), 0.9);
  color: var(--White);
  padding: var(--Space2) var(--Space4);
  font-family: var(--FontFamilyMono);
  font-size: var(--FontSizeSM);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--Space3);
  border-radius: var(--RadiusSM);
  font-weight: var(--FontWeightBold);
}

#event-feature .event-title {
  font-size: var(--FontSize3XL);
  line-height: var(--LineHeightTight);
  margin: 0 0 var(--Space2) 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: var(--FontWeightBold);
  max-width: 900px;
}

#event-feature .event-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  text-indent: -9999px;
}

/* Indicators or Navigation if needed can be added here */

@media (max-width: 768px) {
  #event-feature {
    min-height: 80vh;
  }

  #event-feature .event-content {
    padding: var(--Space4);
  }

  #event-feature .event-title {
    font-size: var(--FontSizeXL);
  }
}