/* Large screens (≥1350px) - show 3 slides */
@media (min-width: 1350px) {
  .swiper-parent {
    overflow: hidden;
    margin-left: 0;
    margin-right: calc((100vw - 1350px) / -2);
  }

  .reno-jobs-cards-swiper {
    width: auto !important;
    overflow: visible !important;
    margin: 0;
    padding: 0;
  }

  .reno-jobs-cards-swiper .swiper-slide {
    flex: 0 0 430px !important;
    margin-right: 30px;
  }
}

/* Medium screens (990px-1349px) - show 2 slides */
@media (min-width: 990px) and (max-width: 1349px) {
  .reno-jobs-cards-swiper .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  .reno-jobs-cards-swiper .swiper-slide {
    flex: 0 0 calc(50% - 15px) !important;
    margin-right: 30px;
    width: calc(50% - 15px) !important;
  }
}

/* Small screens (768px-989px) - show 2 slides */
@media (min-width: 768px) and (max-width: 989px) {
  .reno-jobs-cards-swiper .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  .reno-jobs-cards-swiper .swiper-slide {
    flex: 0 0 calc(50% - 15px) !important;
    margin-right: 30px;
    width: calc(50% - 15px) !important;
  }
}

/* Mobile screens (≤767px) - show 1 slide */
@media (max-width: 767px) {
  .reno-jobs-cards-swiper .swiper-slide {
    flex: 0 0 100% !important;
    margin-right: 0;
  }
}

/* Elementor Editor specific styles */
.elementor-editor-active .reno-jobs-cards-swiper .swiper-wrapper {
  display: flex !important;
  align-items: stretch !important;
}

.elementor-editor-active .reno-jobs-cards-swiper .swiper-slide {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 300px !important;
}

/* Force equal heights in Elementor editor for larger screens */
@media (min-width: 768px) {
  .elementor-editor-active .reno-jobs-cards-swiper .swiper-wrapper {
    align-items: stretch !important;
  }

  .elementor-editor-active .reno-jobs-cards-swiper .swiper-slide {
    align-self: stretch !important;
  }
}

/* Disabled navigation buttons */
.portfolio-button-next.swiper-button-disabled,
.portfolio-button-prev.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
