/* Featured property slider */
.ups-featured {
  position: relative;
  width: 100%;
}

.ups-featured .ups-featured__slider {
  overflow: hidden;
}

.ups-featured .swiper-slide {
  height: auto;
}

.ups-featured .swiper-slide .ups-card {
  height: 100%;
}

.upscale-property-slider .ups-featured__nav,
.ups-featured__nav {
  display: flex !important;
  justify-content: flex-end;
  gap: 30px !important;
  column-gap: 30px !important;
  margin-top: 20px;
}

.upscale-property-slider .ups-featured__nav .ups-featured__arrow,
.upscale-property-slider .ups-featured__nav .ups-featured__arrow.swiper-button-prev,
.upscale-property-slider .ups-featured__nav .ups-featured__arrow.swiper-button-next,
.ups-featured__nav .ups-featured__arrow,
.ups-featured__nav .ups-featured__arrow.swiper-button-prev,
.ups-featured__nav .ups-featured__arrow.swiper-button-next {
  width: 74px;
  height: 31px;
  border: none;
  border-radius: 0;
  background: none;
  background-image: none;
  padding: 0;
  margin: 0 !important;
  cursor: pointer;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 1;
}

.ups-featured__nav .ups-featured__arrow::after,
.ups-featured__nav .ups-featured__arrow.swiper-button-prev::after,
.ups-featured__nav .ups-featured__arrow.swiper-button-next::after {
  display: none;
  content: none;
}

.ups-featured__nav .ups-featured__arrow::before {
  display: none;
  content: none;
}

.ups-featured__nav .ups-featured__arrow:hover,
.ups-featured__nav .ups-featured__arrow:focus-visible {
  background: none;
  border: none;
}

.ups-featured__arrow-graphic {
  display: block;
  width: 74px;
  height: 31px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: filter 0.2s ease;
  pointer-events: none;
  filter: none;
}

.ups-featured__arrow--prev .ups-featured__arrow-graphic {
  background-image: var(--ups-swiper-arrow-left);
}

.ups-featured__arrow--next .ups-featured__arrow-graphic {
  background-image: var(--ups-swiper-arrow-right);
}

.ups-featured__nav .ups-featured__arrow.swiper-button-disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}

.ups-featured__nav .ups-featured__arrow.swiper-button-disabled .ups-featured__arrow-graphic {
  filter: grayscale(1) brightness(0.55);
}

@media (max-width: 767px) {
  .ups-featured__nav {
    justify-content: center;
  }
}
