/* Elementor Carousel Links Styles */

/* Ensure navigation controls are not affected */
.elementor-image-carousel .elementor-swiper-button {
  z-index: 10 !important;
  pointer-events: auto !important;
}

.elementor-image-carousel .swiper-pagination {
  z-index: 10 !important;
  pointer-events: auto !important;
}

/* Style the carousel slide links */
.elementor-carousel-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
}

.elementor-carousel-slide-link:hover,
.elementor-carousel-slide-link:focus {
  text-decoration: none;
  color: inherit;
}

/* Hover effects */
.swiper-slide.has-carousel-link.carousel-link-hover .elementor-carousel-slide-link img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.elementor-carousel-slide-link img {
  transition: transform 0.3s ease;
}

/* Focus styles for accessibility */
.elementor-carousel-slide-link:focus {
  outline: 3px solid #007cba;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Ensure proper cursor */
.swiper-slide.has-carousel-link {
  cursor: pointer;
}

/* Make sure the link doesn't interfere with Swiper's touch handling */
.elementor-carousel-slide-link {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
