/* ================================
   Events Page Hero
   DJ Oshawn Website
================================ */

.events-page-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: #030303;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.events-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    url("https://djoshawn.com/wp-content/uploads/2026/06/events-pg-bk-img-official.png");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  opacity: 0.92;
  filter: contrast(1.08) brightness(0.78) saturate(1.05);
  transform: scale(1.01);
}

.events-page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.22) 0%,
      rgba(0,0,0,0.22) 42%,
      rgba(0,0,0,0.82) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.22) 50%,
      rgba(0,0,0,0.72) 100%
    );
  pointer-events: none;
}

.events-page-hero__inner {
  position: relative;
  z-index: 3;
  width: min(100%, 1500px);
  min-height: 520px;
  padding: clamp(110px, 10vw, 150px) 5vw clamp(82px, 8vw, 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.events-page-hero__ghost {
  display: none;
}

.events-page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 690px;
  margin: 0 auto;
  transform: translateY(18px);
}

.events-page-hero__eyebrow {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #B71930;
  margin: 0 0 14px;
}

.events-page-hero__content h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0;
}

.events-page-hero__content p:not(.events-page-hero__eyebrow) {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.55;
  color: rgba(255,255,255,0.84);
  margin: 20px auto 0;
  max-width: 620px;
}

/* Responsive */

@media (max-width: 900px) {
  .events-page-hero {
    min-height: 440px;
  }

  .events-page-hero__inner {
    min-height: 440px;
    padding: 100px 6vw 72px;
  }

  .events-page-hero__bg {
    background-position: center center;
  }
}

@media (max-width: 600px) {
  .events-page-hero {
    min-height: 390px;
  }

  .events-page-hero__inner {
    min-height: 390px;
    padding: 86px 7vw 64px;
  }

  .events-page-hero__bg {
    background-position: center center;
    opacity: 0.78;
  }

  .events-page-hero__content {
    transform: translateY(8px);
  }

  .events-page-hero__content h2 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .events-page-hero__content p:not(.events-page-hero__eyebrow) {
    font-size: 15px;
  }
}

/* ================================
   Events Page Listing
================================ */

.events-page-listing {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(183, 25, 48, 0.14), transparent 34%),
    linear-gradient(180deg, #030303 0%, #050505 100%);
  color: #ffffff;
  padding: clamp(70px, 7vw, 120px) 5vw;
}

.events-page-listing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.12;
  pointer-events: none;
}

.events-page-listing__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.events-page-listing__header {
  text-align: center;
  margin-bottom: 42px;
}

.events-page-listing__eyebrow {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #B71930;
  margin: 0 0 14px;
}

.events-page-listing__header h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(42px, 4.6vw, 76px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0;
}

.events-page-listing__wave {
  width: min(430px, 80vw);
  height: 18px;
  margin: 22px auto 28px;
  position: relative;
}

.events-page-listing__wave::before,
.events-page-listing__wave::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: rgba(183,25,48,0.72);
}

.events-page-listing__wave::before {
  left: 0;
}

.events-page-listing__wave::after {
  right: 0;
}

.events-page-listing__wave {
  background:
    linear-gradient(90deg, transparent 46%, #B71930 46% 47%, transparent 47% 48%, #B71930 48% 49%, transparent 49% 50%, #B71930 50% 51%, transparent 51% 52%, #B71930 52% 53%, transparent 53% 54%);
}

/* Filters */

.events-page-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.events-page-filters button {
  min-width: 132px;
  padding: 15px 26px;
  border: 1px solid rgba(255,255,255,0.18);
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255,255,255,0.015);
  transition: 0.25s ease;
}

.events-page-filters button:hover,
.events-page-filters button.is-active {
  background: #B71930;
  border-color: #B71930;
  color: #ffffff;
}

/* Event List */

.events-page-list {
  display: grid;
  gap: 8px;
}

.events-page-card {
  display: grid;
  grid-template-columns: 210px 120px minmax(0, 1fr) 230px;
  align-items: center;
  gap: 28px;
  min-height: 168px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005)),
    rgba(0,0,0,0.42);
  position: relative;
  overflow: visible;
  z-index: 1;
  transition: 0.3s ease;
}

.events-page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right, rgba(183,25,48,0.16), transparent 38%);
  opacity: 0;
  transition: 0.3s ease;
  pointer-events: none;
}

.events-page-card:hover {
  border-color: rgba(183,25,48,0.65);
  transform: translateY(-2px);
  z-index: 20;
}

.events-page-card:hover::before {
  opacity: 1;
}

.events-page-card__poster {
  display: block;
  height: 138px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.events-page-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: 0.35s ease;
}

.events-page-card:hover .events-page-card__poster img {
  transform: scale(1.06);
}

.events-page-card__date {
  position: relative;
  z-index: 2;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid rgba(255,255,255,0.12);
}

.events-page-card__date span,
.events-page-card__date small {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  color: #B71930;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.events-page-card__date span {
  font-size: 30px;
}

.events-page-card__date strong {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 62px;
  line-height: 0.85;
  color: #ffffff;
  font-weight: 400;
}

.events-page-card__date small {
  font-size: 22px;
  margin-top: 8px;
}

.events-page-card__content {
  position: relative;
  z-index: 2;
}

.events-page-card__category {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B71930;
  margin: 0 0 8px;
}

.events-page-card__content h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 16px;
}

.events-page-card__content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.events-page-card__content li {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}

.events-page-card__content li::before {
  content: "•";
  color: #B71930;
  margin-right: 9px;
}

.events-page-card__actions {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.events-page-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 170px;
  padding: 16px 26px;
  background: #B71930;
  border: 1px solid #B71930;
  color: #ffffff;
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.25s ease;
}

.events-page-card__button:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.events-page-card__details {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: 0.25s ease;
}

.events-page-card__details:hover {
  color: #B71930;
}

.events-page-card__tooltip-wrap {
  position: relative;
}

.events-page-card__tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(320px, 80vw);
  background: rgba(5,5,5,0.97);
  border: 1px solid rgba(183,25,48,0.6);
  color: rgba(255,255,255,0.82);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  padding: 15px 17px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
  z-index: 999;
  box-shadow: 0 18px 50px rgba(0,0,0,0.48);
  text-align: left;
}

.events-page-card__tooltip-wrap:hover .events-page-card__tooltip,
.events-page-card__details:focus + .events-page-card__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}