/* #ig00-carousel {
  height: calc(15rem + 40vw);
  max-height: 50rem;
  border-bottom: 2px solid #000000;
} */
#ig00-carousel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  background-color: #000000;
  height: clamp(16.6rem, 47.5vw, 66.5em);
  max-height: clamp(16.6rem, 47.5vw, 66.5em);
  /* border-bottom: 1px solid #000000; */
}

#ig00-carousel.compact {
  height: calc(11rem + 32vw);
  max-height: 42rem;
}

#ig00-carousel .carousel-inner {
  height: 100%;
}

#ig00-carousel .carousel-item {
  height: 100%;
}

/* .carousel-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
} */

#ig00-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-logo {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.carousel-logo img {
  height: auto;
  width: 27.5vw;
  max-width: 400px;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.9));
}

#ig00-carousel.compact .carousel-logo img {
  width: 22vw;
  max-width: 320px;
}

@media (max-width: 768px) {
  .carousel-logo {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .carousel-logo img {
    width: 27vw;
    max-width: 150px;
    height: auto;
  }

  #ig00-carousel.compact .carousel-logo img {
    width: 27vw;
    max-width: 150px;
  }
}
.carousel-logos-right {
  position: absolute;
  top: 40px;
  right: 1.5vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.carousel-logos-right a {
  display: block;
  margin-bottom: 30px;
}

.carousel-logos-right img {
  width: 10vw;
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.99));
}

@media (max-width: 768px) {
  .carousel-logos-right {
    top: 30px;
    right: 2vw;
  }

  .carousel-logos-right img {
    width: 9vw;
    max-width: 125px;
    height: auto;
  }

  .carousel-logos-right a {
    margin-bottom: 20px;
  }
}

.carousel-item {
  position: relative;
}

#ig00-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.05) 45%,
    rgba(0, 0, 0, 0.1) 75%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}

#ig00-carousel .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
  opacity: 1;
  transition: opacity 0.5s ease-in;
}

#ig00-carousel .carousel-item.dim-animate::before {
  opacity: 0;
}

.carousel-item img {
  position: relative;
  z-index: 0;
}

.carousel-caption {
  z-index: 2;
}

#ig00-carousel .carousel-slide-caption {
  position: absolute;
  left: 50%;
  bottom: 7.5%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: clamp(10px, 0.95vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

#ig00-carousel:not(.initialized) .carousel-item.active .carousel-slide-caption {
  opacity: 0;
  transform: translateX(-50%) translateY(50px);
  animation: slideUpCaption 1s ease-out 0.5s forwards;
}

@keyframes slideUpCaption {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 768px) {
  #ig00-carousel .carousel-slide-caption {
    display: none;
  }

  #ig00-carousel .carousel-indicators {
    display: none;
  }
}

#ig00-carousel .carousel-indicators {
  z-index: 10;
  pointer-events: auto;
  display: none;
}

#ig00-carousel .carousel-indicators button {
  pointer-events: auto;
  display: none;
}

.carousel-item .caption-box .conf-name {
  opacity: 1;
  transform: translateY(0);
}

#ig00-carousel:not(.initialized) .carousel-item.active .caption-box .conf-name {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-out 0.5s forwards;
}

/* .carousel-item .caption-box .conf-date-location {
  opacity: 1;
  transform: translateY(0);
}

#ig00-carousel:not(.initialized) .carousel-item.active .caption-box .conf-date-location {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-out 1s forwards;
} */

#ig00-carousel:not(.initialized)
  .carousel-item.active
  .caption-box
  .conf-abbrev {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(50px);
  animation: slideUpCentered 1s ease-out 0.35s forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

#ig00-carousel:not(.initialized) .carousel-logo {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(50px);
  animation: slideUpCentered 1s ease-out 0.2s forwards;
}

@keyframes slideUpCentered {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(50px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

#ig00-carousel:not(.initialized) .carousel-logos-right,
#ig00-carousel:not(.initialized) .carousel-partner-logos {
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-out 0.2s forwards;
}
#ig00-carousel .curve {
  position: absolute;
  bottom: -10px;
  width: 100%;
  left: 0;
  z-index: 9;
  pointer-events: none;
}
#ig00-carousel .curve img {
  pointer-events: none;
}
