/*listings-gallery.css*/


.splide {
  width: 100%;
  position: relative;
}

.splide__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.splide__slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

#listing-gallery {
  max-width: 100%;
  margin-bottom: 2rem;
}

#listing-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Listing gallery container */
#listing-gallery {
  margin-bottom: 2rem;
}

/* Slides */
#listing-gallery .splide__slide {
  background: #0e2438; /* matches your theme */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Images */
#listing-gallery img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 10px;
}

/* Arrows */
#listing-gallery .splide__arrow {
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 42px;
  height: 42px;
}

#listing-gallery .splide__arrow:hover {
  background: rgba(0,0,0,0.8);
}

/* Pagination dots */
#listing-gallery .splide__pagination__page {
  background: rgba(255,255,255,0.4);
}

#listing-gallery .splide__pagination__page.is-active {
  background: #c8a45d; /* your gold */
}

#listing-gallery .splide__pagination {
  display: none !important;
}

/* Arrow containers */
#listing-gallery .splide__arrow {
  width: 56px;
  height: 100%;
  top: 0;
  transform: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.55);
  transition: background 0.2s ease;
}

/* Left / Right positioning */
#listing-gallery .splide__arrow--prev {
  left: 0;
}

#listing-gallery .splide__arrow--next {
  right: 0;
}

/* Hover state */
#listing-gallery .splide__arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Arrow icons */
#listing-gallery .splide__arrow svg {
  fill: #ffffff;
  width: 22px;
  height: 22px;
}

/* Improve click affordance */
#listing-gallery .splide__arrow:focus {
  outline: none;
}

.listing-slide {
  margin: 0;
}

.listing-caption {
  font-size: 14px;
  color: #ebe4e4;
  padding: 8px 12px;
  background: rgba(0,0,0,0.04);
  text-align: center;
}

.splide__slide figure {
  width: 100%;
  margin: 0;
}
