:root {
  --kv-ink: #ffffff;
  --kv-muted: rgba(255, 255, 255, 0.76);
  --kv-line: rgba(255, 255, 255, 0.34);
  --kv-accent: #ed9d19;
  --kv-bg: #101114;
  --kv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.event-kv,
.event-kv * {
  box-sizing: border-box;
}

.event-kv a {
  color: inherit;
}

.event-kv {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--kv-bg);
  color: var(--kv-ink);
  font-family: "Exo 2", sans-serif;
}

.event-kv__stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.event-kv__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-position: center;
  background-size: cover;
  transform: scale(1);
  transition:
    opacity 700ms var(--kv-ease),
    transform 900ms var(--kv-ease);
  will-change: opacity, transform;
}

.event-kv__bg--current {
  opacity: 1;
}

.event-kv__bg--next {
  opacity: 0;
  transform: scale(1.04);
}

.event-kv.is-transitioning .event-kv__bg--next {
  opacity: 1;
  transform: scale(1);
}

.event-kv__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 12, 0.84) 0%,
      rgba(8, 9, 12, 0.6) 36%,
      rgba(8, 9, 12, 0.16) 70%
    ),
    linear-gradient(180deg, rgba(8, 9, 12, 0.12) 0%, rgba(8, 9, 12, 0.66) 100%);
  opacity: 0.96;
  transition: opacity 700ms var(--kv-ease);
}

.event-kv.is-transitioning .event-kv__shade {
  opacity: 0.9;
}

.event-kv__inner {
  width: min(1180px, calc(100% - 48px));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 26px 0 136px;
}

.event-kv__content {
  position: relative;
  z-index: 5;
  width: 100%;
}

.event-kv__box {
  background-color: #ed9d1933;
  border: 1px solid var(--kv-accent);
  padding: 10px;
  border-radius: 12px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.event-kv__box span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background-color: var(--kv-accent);
}

.event-kv__eyebrow,
.event-kv__title,
.event-kv__meta,
.event-kv__description,
.event-kv__cta {
  animation: kvTextIn 640ms var(--kv-ease) both;
}

.event-kv__eyebrow {
  color: var(--kv-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation-delay: 40ms;
}

.event-kv__title {
  font-family: "Georgia", Sans-serif;
  font-size: 65px;
  font-weight: 600;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.event-kv__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--kv-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 500;
  animation-delay: 105ms;
}

.event-kv__description {
  margin-top: 10px;
  line-height: 1.4;
  color: var(--kv-muted);
  font-family: "Exo 2", Sans-serif;
  font-size: 14px;
  animation-delay: 135ms;
}

.event-kv__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--kv-accent);
}

.event-kv__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 36px;
  padding: 0 22px;
  border: 1px solid #ed9d1999;
  border-radius: 4px;
  background: #ed9d1999;
  color: #fff;
  font-weight: 760;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 250ms ease;
  animation-delay: 165ms;
}

.event-kv__cta:hover,
.event-kv__cta:focus-visible {
  box-shadow: 0px 0px 10px 0px rgba(236.99999999999997, 156.99999999999994, 24.999999999999957, 0.9);
  transform: scale(1.01) !important;
}

.event-kv__cta:focus-visible,
.event-kv__thumb:focus-visible {
  outline: 3px solid var(--kv-accent);
  outline-offset: 4px;
}

.event-kv__thumb-wrap {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  width: min(1180px, calc(100% - 48px));
  transform: translateX(-50%);
  display: flex;
  justify-content: end;
  pointer-events: none;
}

.event-kv__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(76px, 9vw, 124px);
  gap: 12px;
  width: max-content;
  max-width: 100%;
  padding: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  pointer-events: auto;
}

.event-kv__thumbs::-webkit-scrollbar {
  display: none;
}

.event-kv__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: #20222a;
  cursor: pointer;
  opacity: 0.62;
  transform: translateY(0);
  transition:
    opacity 280ms ease,
    border-color 280ms ease,
    transform 280ms ease;
}

.event-kv__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  transition: border-color 280ms ease;
}

.event-kv__thumb img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 320ms ease;
}

.event-kv__thumb:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.event-kv__thumb:hover img {
  transform: scale(1.08);
}

.event-kv__thumb.is-active {
  border-color: rgba(255, 255, 255, 0.72);
  opacity: 1;
  transform: translateY(-4px);
}

.event-kv__thumb.is-active::after {
  border-color: var(--kv-accent);
}

.event-kv__wealth-wizdom-wellness {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: fit-content;
  bottom: 0;
  margin: auto 0;
}

.event-kv__wealth-wizdom-wellness img {
  width: 100%;
  display: block;
  border-radius: 10px !important;
}

@keyframes kvTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 1024px) {
  .event-kv__wealth-wizdom-wellness {
    width: 100px;
    bottom: 20px;
    top: unset;
  }
}

@media (max-width: 767px) {
  .event-kv {
    height: calc(100vh - 107px);
  }
  .event-kv__wealth-wizdom-wellness {
    width: 75px;
    bottom: 0;
    top: unset;
  }
  .event-kv__shade {
    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 12, 0.28) 0%,
        rgba(8, 9, 12, 0.88) 72%
      ),
      linear-gradient(90deg, rgba(8, 9, 12, 0.5) 0%, rgba(8, 9, 12, 0.22) 100%);
  }

  .event-kv__inner {
    width: min(100% - 32px, 680px);
    align-items: flex-end;
    padding: 50px 0 178px;
  }

  .event-kv__title {
    font-size: 36px;
  }

  .event-kv__eyebrow {
    font-size: 10px;
  }

  .event-kv__meta {
    gap: 9px;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.3;
  }

  .event-kv__thumb-wrap {
    bottom: 22px;
    width: calc(100% - 24px);
  }

  .event-kv__thumbs {
    grid-auto-columns: 92px;
    gap: 10px;
    padding-inline: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .event-kv__bg,
  .event-kv.is-transitioning .event-kv__bg--next {
    transform: scale(1);
  }
}
