/**
 * Villas Slider Widget Styles
 */

.villas-slider-container {
  padding-top: 40px;
}

/* Slide Counter Styles */
.slide-counter {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 200px;
  margin-top: 20px;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.slide-counter .current-slide {
  font-weight: 700;
  color: #fff;
  font-family: "GFS Didot";
  font-size: 32px;
}

.slide-counter .separator {
  background-color: #fff;
  opacity: 0.7;
  width: 176px;
  height: 1px;
}

.slide-counter .total-slides {
  font-weight: 700;
  color: #fff;
  font-family: "GFS Didot";
  font-size: 32px;
}
.villa-thumbnail,
.villa-excerpt {
  visibility: hidden;
}
.swiper-slide-active .villa-thumbnail,
.swiper-slide-active .villa-excerpt {
  visibility: visible;
}
.villa-thumbnail a,
.villa-title a {
  cursor: url(/wp-content/uploads/2025/04/Button-Container.svg) 16 16, auto;
}
.villa-excerpt {
  font-family: "Garamond" !important;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3em; /* Approximately 2 lines of text */
  line-height: 1.5;
}
.villa-title {
  font-family: "GFS Didot";
  color: white;
  text-align: center;
  margin: 16px 0;
  font-size: 56px;
  font-weight: 400;
}
.villa-title a {
  color: white;
}
/* Responsive Adjustments for Slide Counter */
@media (max-width: 768px) {
  .slide-counter {
    font-size: 14px;
    margin-top: 15px;
  }
  .slide-counter {
    padding-bottom: 100px;
  }
  .villas-slider-container {
    padding: 10px;
  }
  .villa-title {
    font-size: 32px;
  }
}
