.expos.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.expos.carousel-title {
  text-align: center;
  color: #333;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.expos.carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding-block: 10px;
}

.expos.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  gap: 0;
}

.expos.carousel-slide {
  display: flex;
  gap: 20px;
  min-width: 100%;
  flex-shrink: 0;
  margin-right: 20px;
}

/* Desktop: Show exactly 5 cards per slide */
@media (min-width: 1024px) {
  .expos.carousel-container {
    max-width: 1400px;
    width: 100%;
  }

  .expos.carousel-track {
    width: 100%;
  }

  .expos.carousel-slide {
    min-width: 100%;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    padding: 0;
  }

  .expos.carousel-card {
    width: calc(20% - 16px);
    min-width: calc(20% - 16px);
    max-width: calc(20% - 16px);
    flex: 0 0 calc(20% - 16px);
    margin-right: 0;
  }

  .expos.carousel-card:last-child {
    margin-right: 0;
  }
}

.expos.carousel-card {
  background-color: #f7f8fa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 530px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.expos.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.expos.carousel-card-content {
  padding: 20px;
  background-color: #f7f8fa;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  justify-content: space-between;
}

.expos.carousel-card-title {
  font-size: 24px;
  color: #000;
  font-weight: bold;
  margin: 0;
}

.expos.carousel-card-subtitle {
  font-size: 20px;
  color: #001d7e;
  font-weight: bold;
  margin-bottom: 16px;
}

.expos.carousel-card-description {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 15px;
  flex-grow: 1;
}

.expos.carousel-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
}

.expos.carousel-card-date {
  font-size: 0.8rem;
  color: #868e96;
  font-weight: 500;
}

.expos.carousel-card-link {
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  padding: 0;
  height: 35px;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  padding-inline: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  width: 45%;
}

.expos.carousel-card-link:hover {
  color: #0056b3;
  background-color: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.15);
  transform: translateY(-2px);
}

.expos.carousel-card-logo {
  width: 50%;
  height: 50px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  object-position: left;
}

.expos.carousel-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 100%;
  pointer-events: none;
}

.expos.carousel-nav-btn {
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  top: 45%;
  opacity: unset;
}

.expos.carousel-nav-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.expos.carousel-nav-btn.prev {
  left: 20px;
}

.expos.carousel-nav-btn.next {
  right: 20px;
}

.expos.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.expos.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dee2e6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.expos.carousel-indicator.active {
  background: #007bff;
  transform: scale(1.2);
}

/* Tablet - 3 cards visible */
@media (min-width: 768px) and (max-width: 1023px) {
  .expos.carousel-card {
    min-width: calc(33% - 10px);
    max-width: 33% !important;
    width: 12px;
  }

  .expos.carousel-card-link {
    font-size: 14px;
  }

  .expos.carousel-wrapper {
    padding-inline: 10px;
  }

  .expos.carousel-slide {
    margin-right: 20px;
  }

  .expos.carousel-title {
    font-size: 2rem;
  }

  .expos.carousel-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .expos.carousel-nav-btn.prev {
    left: 0px;
  }

  .expos.carousel-nav-btn.next {
    right: 20px;
  }
}

/* Mobile - 1 card visible */
@media (max-width: 767px) {
  .expos.carousel-card {
    min-width: calc(100% - 20px);
  }

  .expos.carousel-title {
    font-size: 1.5rem;
  }

  .expos.carousel-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .expos.carousel-nav-btn.prev {
    left: -50px;
  }

  .expos.carousel-nav-btn.next {
    right: -50px;
  }

  .expos.carousel-container {
    margin: 0 60px;
    padding: 20px;
  }
}

.expos.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  color: white;
  font-size: 1.2rem;
}

.expos.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid white;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-right: 15px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
