.ap-testimonial-slider {
  display: block;
  overflow: hidden;
  position: relative;
}

.ap-testimonial-slider .slick-track {
  display: flex;
  gap: 24px;
}

.ap-testimonial-slide {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ap-author {
  margin-bottom: 0px;
}

.quote-icon {
  position: absolute;
  right: 24px;
  width: 44px;
  height: 44px;
  top: 24px;
}

/* ================== Reset Elementor bleed on arrows/dots ================== */
button.ap-prev-arrow,
button.ap-next-arrow,
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  /* background: none !important; */
  /* background-image: none !important; */
  z-index: 5;
  cursor: pointer;
  outline: none;
}
button.ap-prev-arrow {
  left: -56px;
}
button.ap-next-arrow {
  right: -56px;
}
button.ap-prev-arrow:focus-visible,
button.ap-next-arrow:focus-visible {
  box-shadow: 0 0 0 2px #0003;
  border-radius: 999px;
}

/* Dots (numbers -> clean circles) */
.slick-dots.ap-dots {
  display: flex !important;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.slick-dots.ap-dots.ap-dots-top {
  order: -1;
  margin-bottom: 16px;
  margin-top: 0;
}
.slick-dots.ap-dots li {
  margin: 0;
}
.slick-dots.ap-dots li button {
  font-size: 0;
  line-height: 0;
  background: none !important;
  border: 0 !important;
  padding: 0;
}
.slick-dots.ap-dots li button:before {
  content: none !important;
}
.slick-dots.ap-dots li button .ap-dot {
  width: var(--ap-dot-size, 10px);
  height: var(--ap-dot-size, 10px);
  border-radius: 50%;
  background: var(--ap-dot-color, #c1c1c1);
  display: block;
}
.slick-dots.ap-dots li.slick-active button .ap-dot {
  background: var(--ap-dot-active, #333);
}

/* Testimonials: fractional peek (no left cut) */
.ap-peek-right .slick-list {
  padding-left: var(--ap-peek-left, 56px) !important;
  padding-right: var(--ap-peek-right, 56px) !important;
  overflow: hidden;
}
.ap-peek-right .slick-track {
  margin-left: 0 !important;
}
.ap-testimonial-slider .slick-slide,
.ap-testimonial-slider .ap-testimonial-slide {
  box-sizing: border-box;
}

/* Rooms Split layout */
/* ===== AP Image Accordion ===== */
/* -------- Image Accordion -------- */
.ap-image-accordion {
  display: flex;
  gap: var(--ap-ia-gap, 16px);
  height: var(--ap-ia-h, 520px);
}
.ap-ia-item {
  position: relative;
  min-width: var(--ap-ia-min, 90px);
  height: 100%;
  flex: 1 1 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.35s ease, transform 0.35s ease, filter 0.2s ease;
}
.ap-ia-item {
  flex-grow: var(--ap-ia-grow, 1);
} /* JS sets grow on active */
.ap-ia-item.is-active {
  z-index: 2;
}
.ap-ia-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.ap-ia-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  display: none;
 opacity:0.88;
}
.ap-ia-meta {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  display: none;
  width:100%;
  padding:30px;
}

.ap-ia-meta:before{
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17, 13, 17, 1)), rgba(17, 13, 17, .08);
    opacity: 0.88;
    left: 0;
    bottom: 0;
    position: absolute;
    content: '';
    display: block;
}

.ap-ia-meta .inner{
    position: relative;
}

.ap-ia-item.is-active .ap-ia-meta,
.ap-ia-item.is-active .ap-ia-overlay{
  display: block;
}

.ap-ia-meta h3 {
  margin: 0 0 8px!important;
  font-size: 24px!important;
  color:#fff!important;
}
.ap-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff!important;
  text-decoration: none!important;
  font-weight: 600;
}

.ap-ia-item:not(.is-active) {
  filter: saturate(0.86) contrast(0.95);
}
.ap-ia-item:hover {
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 767px) {
  .ap-image-accordion {
    flex-direction: column;
    height: auto;
  }
  .ap-ia-item {
    min-height: 200px;
  }
}
