:root {
  --txt-primary: #db30ff;
  --txt-sec: #26022e;
}

/* Styling for the Custom Find an Event Page */
body {
  background: url("../../images/bat-bg.svg") !important;
  margin: 0;
  padding: 0;
}
/* .bg-blur {
  background: linear-gradient(180deg, #a5d8ff 0%, #f8f9fa 100%);
  filter: blur(60px);
  z-index: -1;
} */
.event-detail-page-container {
  /* max-width: 2000px; */
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Wix Madefor Display", sans-serif;
}

/* SETS THE WIDTH FOR THE SINGLE EVENT PAGE (when URL has ?event=ID) */
.event-detail-page-container.is-single-event-view {
  max-width: 1400px !important;
}

/* SETS THE WIDTH FOR THE EVENT LIST PAGE (when URL does NOT have an ID) */
.event-detail-page-container.is-archive-view {
  max-width: 2000px !important;
}

.event-detail-layout {
  display: flex;
  gap: 40px;
}

/* --- Left Column --- */
.event-info-col {
  flex: 1;
  min-width: 0;
  /* Prevents flex items from overflowing */
}

.event-presenter {
  font-size: 0.9em;
  color: #888;
  margin: 0;
}

.event-organizer-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--txt-sec);
  margin: 5px 0 25px 0;
}

.event-main-title {
  font-size: 3.5em;
  font-weight: 400;
  color: var(--txt-sec);
  margin: 0 0 0 0;
  /* TODO: FIX IT LATER */
  /* border-bottom: 1px solid #9d8ea0; */
}

.event-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95em;
}

.highlight-icon {
  width: 24px;
  height: 24px;
}

.event-main-content {
  line-height: 1.7;
  color: #444;
}

.event-main-content h3,
.event-main-content h4 {
  font-weight: 400;
  /* margin-top: 2.5em; */
  margin-bottom: 0.5em;
}

.event-sponsor-section {
  margin-top: 50px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.sponsor-title {
  font-size: 1em;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.sponsor-logo img {
  max-width: 180px;
  height: auto;
}

/* --- Right Column --- */
.event-poster-col {
  flex: 0 0 480px;
  /* Fixed width for the poster column */
  width: 380px;
}

.poster-sticky-card {
  /* TODO: fix it asap  */
  /* filter: drop-shadow(0 0 2rem #bfd6d4) drop-shadow(0 0 2rem #d7a792); */
  position: -webkit-sticky;
  /* For Safari */
  position: sticky;
  top: 120px;
  /* Start sticking after scrolling 120px (adjust for your header height) */
  /* background-color: transparent; */
  border-radius: 8px;
  overflow: hidden;
}

.event-poster-image {
  /* filter: drop-shadow(0 0 0.45rem #c6927f); */
  /* filter: drop-shadow(0 -6mm 4mm #c6927f); */
  border-radius: 8px;
  width: 100%;
  /* TODO: fix it later */
  /* box-shadow: 0 0 100px greenyellow; */
  height: auto;
  display: block;
}
/* Main container with layered background effect */
.dreamy-background {
  position: relative;
  background: 
    /* Top layer - soft white/cream overlay */ linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(248, 250, 252, 0.6) 30%,
      rgba(240, 245, 251, 0.4) 70%,
      rgba(230, 240, 250, 0.3) 100%
    ),
    /* Middle layer - soft color gradients */
      radial-gradient(
        circle at 20% 20%,
        rgba(173, 216, 230, 0.3) 0%,
        transparent 50%
      ),
    radial-gradient(
      circle at 80% 30%,
      rgba(255, 228, 196, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 60% 80%,
      rgba(221, 255, 221, 0.3) 0%,
      transparent 50%
    ),
    /* Base layer - soft gradient */
      linear-gradient(
        45deg,
        #f0f8ff 0%,
        #f5f5dc 25%,
        #f0fff0 50%,
        #fff8dc 75%,
        #f8f8ff 100%
      );

  min-height: 100vh;
  overflow: hidden;
}

/* Add floating blur elements for extra dreamy effect */
.dreamy-background::before,
.dreamy-background::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: -1;
}

.dreamy-background::before {
  top: 10%;
  left: 15%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(173, 216, 230, 0.6) 0%,
    rgba(135, 206, 235, 0.3) 50%,
    transparent 100%
  );
  animation: float1 8s ease-in-out infinite;
}

.dreamy-background::after {
  bottom: 15%;
  right: 20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(255, 228, 196, 0.6) 0%,
    rgba(255, 218, 185, 0.3) 50%,
    transparent 100%
  );
  animation: float2 10s ease-in-out infinite;
}

/* Floating animations for subtle movement */
@keyframes float1 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(10px) translateX(-15px);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-15px) translateX(20px);
  }
}

.get-ticket-button {
  background: linear-gradient(to right, #a512c4 0%, #aa34c3 40%, #4f095e 100%);
  border: 2px solid #f239f6 !important;
  border-radius: 5px;
  margin-top: 25px;
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 12px;
  color: #fff;
  text-align: center !important;
  font-weight: 500;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-decoration: none;
}

.get-ticket-button:hover {
  transform: translate(0, -4px);
}

.no-event-found {
  text-align: center;
  padding: 80px 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
}

@media (max-width: 1300px) {
  body #scrollToTopBtn.show {
    display: none !important;
  }
  .get-ticket-button {
    position: fixed;
    border-radius: 5px;
    width: 90%;
    bottom: 0.2%;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s ease;
    /* hot fix for showing btn when there's no event description */
    /* z-index: 999; */
  }
  .get-ticket-button:hover {
    transform: translateX(-50%) translateY(-4px);
  }

  .event-detail-layout {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .event-poster-col {
    flex: 1 1 auto;
    width: 100%;
  }

  .poster-sticky-card {
    position: static;
  }

  .event-main-title {
    font-size: 2.5em;
  }
}

/* hide ep img */
#ep_single_event_image .ep-single-event-slide-container,
#ep_single_event_title,
#ep_single_event_detail_page_content
  > div
  > div.ep-box-row.ep-event-type-cal-section,
#ep_single_event_ticket_now_wrapper {
  display: none !important;
}

.event-price-label {
  display: block;
  font-size: 0.85em;
  color: #26022e;
  margin-bottom: 2px;
}

.event-price-amount {
  display: block;
  font-size: 1.2em;
  font-weight: 500;
  color: #26022e;
  /* Your theme's purple */
}

/* On the single event page, make the price larger */
.event-booking-area .event-price-amount {
  font-size: 1.5em;
  color: #333;
}

.disable-event-ended-btn {
  background: #9ca3af !important;
  border: none !important;
  cursor: not-allowed;
}

/* Styling for the [date_time_location] Shortcode */
.event-details-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Space between each row */
  margin: 1.5rem 0;
  font-family: "Wix Madefor Display", sans-serif;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* Space between icon and text */
}

.meta-item i {
  font-size: 1.2rem;
  color: #a512c4;
  /* Your theme's primary purple color */
  width: 25px;
  /* Ensures icons are aligned */
  text-align: center;
}

.meta-item span {
  font-size: 1rem;
  color: #333;
  /* Dark text color for readability */
  font-weight: 500;
}
#ep-sl-venue-details,
#ep-sl-event-start,
#ep-sl-event-meta
  > span.material-icons-outlined.ep-fs-6.ep-mr-1.ep-align-middle.ep-text-warning.ep-lh-0 {
  display: none !important;
}
.event-single-title {
  /* display: none !important; */
}

@media (max-width: 800px) {
  .event-main-title {
    font-size: 3em !important;
    margin: 0 0 0 8px;
  }
}

@media (max-width: 400px) {
  .event-detail-page-container {
    margin-top: 30px;
  }
  .event-main-title {
    font-size: 2.5em !important;
  }
}

#ep-sl-event-meta {
  display: flex;
  flex-direction: column;
}

#ep_single_event_organizers > a > span > img {
  width: 20px !important;
  height: 20px !important;
  margin-right: 2px;
  padding-top: 2px;
}
#ep_single_event_organizers {
  font-size: 18px !important;
}
#ep_single_event_organizers > a > span > span {
  /* Larger, more prominent */
  color: #26022e;
  /* Dark purple */
  margin: 10px 0 0 0;
  font-weight: 400;
  /* Bold */
  text-transform: uppercase;
  /* All caps */
  letter-spacing: 0.5px;
}
#ep-sl-event-meta > span.ep-fw-bold.ep-text-small.ep-white-space.ep-mr-1 {
  font-size: 14px;
  color: #888;
  margin: 0;
  font-weight: 400;
}
#ep-sl-event-meta > span.ep-fw-bold.ep-text-small.ep-white-space.ep-mr-1 {
  font-size: 0; /* hides original text */
}

#ep-sl-event-meta
  > span.ep-fw-bold.ep-text-small.ep-white-space.ep-mr-1::after {
  content: "Organised by" !important;
  font-size: 14px;
}

#ep_single_event_organizers a {
  pointer-events: none;
  cursor: text;
  text-decoration: none;
}
