
@layer base {
/* Embla Carousel Styles */
.embla {
  position: relative;
  background-color: transparent;
  margin: 0;
}

/* Custom background color for slider */
.bg-vo-blue-dark {
  background-color: #17479E !important;
}

.embla__viewport {
  overflow: hidden;
  width: 100%;
}

.embla__container {
  backface-visibility: hidden;
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: -1rem;
}

.embla__slide {
  flex: 0 0 auto;
  min-width: 0;
  padding-left: 1rem;
  position: relative;
}

/* Active slide with OKLCH shadow */
.embla__slide.is-snapped {
  box-shadow: 0 20px 50px -12px oklch(0.3 0.05 250 / 0.5), 
              0 8px 16px -8px oklch(0.2 0.05 250 / 0.3) !important;
}

.embla__slide__content {
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
  height: 100%;
}

.embla__slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.embla__slide__body {
  padding: 1.5rem;
}

.embla__slide__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.embla__slide__description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.embla__slide__link {
  display: inline-flex;
  align-items: center;
  color: #3b82f6;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.embla__slide__link:hover {
  color: #1d4ed8;
}

.embla__slide__number {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 900;
  color: white;
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
}

/* Controls */
.embla__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.embla__buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.embla__button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 3rem;
  height: 3rem;
  z-index: 1;
  border-radius: 50%;
  color: #374151;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.embla__button:disabled {
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.5;
}

.embla__button:not(:disabled):hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.embla__button__svg {
  width: 1rem;
  height: 1rem;
}

/* Dots */
.embla__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

.embla__dot {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #d1d5db;
  transition: background-color 0.2s ease;
}

.embla__dot:after {
  box-shadow: inset 0 0 0 0.125rem #374151;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  content: '';
}

.embla__dot--selected:after {
  box-shadow: inset 0 0 0 0.125rem #3b82f6;
}

/* Responsive breakpoints */
@media (min-width: 576px) {
  .embla__slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 768px) {
  .embla__slide {
    flex: 0 0 33.333333%;
  }
}

@media (min-width: 1024px) {
  .embla__slide {
    flex: 0 0 25%;
  }
}

/* Custom slide sizing classes */
.embla--slides-1 .embla__slide {
  flex: 0 0 100%;
  padding-left: 0; /* Remove default padding for full width */
}

.embla--slides-1 .embla__container {
  margin-left: 0; /* Remove negative margin for full width */
}

.embla--slides-2 .embla__slide {
  flex: 0 0 50%;
}

@media (max-width: 575px) {
  .embla--slides-2 .embla__slide {
    flex: 0 0 100%;
  }
}

.embla--slides-3 .embla__slide {
  flex: 0 0 33.333333%;
}

@media (max-width: 767px) {
  .embla--slides-3 .embla__slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 575px) {
  .embla--slides-3 .embla__slide {
    flex: 0 0 100%;
  }
}

.embla--slides-4 .embla__slide {
  flex: 0 0 25%;
}

@media (max-width: 1023px) {
  .embla--slides-4 .embla__slide {
    flex: 0 0 33.333333%;
  }
}

@media (max-width: 767px) {
  .embla--slides-4 .embla__slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 575px) {
  .embla--slides-4 .embla__slide {
    flex: 0 0 100%;
  }
}
}