/* ACI Framework - Shared Carousel Shell */

.aci-carousel-section {
  margin: 0 0 12px;
}

.aci-carousel {
  position: relative;
  overflow: visible;
  opacity: 1;
  transition: opacity 0.28s ease;
}

.aci-carousel-section.aci-carousel-loading {
  position: relative;
  min-height: 420px;
}

.aci-carousel-section.aci-carousel-loading .aci-carousel {
  min-height: 360px;
  overflow: hidden;
}

.aci-carousel-section.aci-carousel-loading .aci-carousel > * {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
}

.aci-carousel-section.aci-carousel-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(94, 154, 204, 0.2);
  border-top-color: #5e9acc;
  border-radius: 50%;
  animation: aciCarouselSpin 0.8s linear infinite;
}

.aci-carousel-section.aci-carousel-ready .aci-carousel {
  animation: aciCarouselFadeIn 0.28s ease both;
}

.aci-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.aci-carousel-title {
  margin: 0;
  color: #003a8c;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.aci-carousel-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.aci-carousel-prev,
.aci-carousel-next {
  background: #5e9acc;
  border-radius: 50px;
  width: 45px;
  height: 45px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  border: 1.5px solid #fff !important;
}

.aci-carousel-prev:hover,
.aci-carousel-next:hover {
  background: #F7CE26 !important;
  color: #000 !important;
  border-color: #bcbcbc !important;
}

.aci-carousel-prev.hide-btn,
.aci-carousel-next.hide-btn {
  display: none !important;
}

.aci-carousel .slick-track {
  display: flex !important;
}

.aci-carousel .slick-slide {
  height: auto;
  display: flex !important;
  align-items: stretch;
}

.aci-carousel .slick-slide > div {
  display: flex;
  width: 100%;
}

@keyframes aciCarouselSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes aciCarouselFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .aci-carousel-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

