/* custom-slider-app.css */

.csa-slide img { max-width: 100%; height: auto; display: block; border-radius: 12px; }

/* optional stronger shadow on hover */
.csa-swing-slide img:hover {
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.35), 0 12px 15px -8px rgba(0,0,0,.25);
}
.csa-fast-wrap:hover { animation-play-state:paused; }
.swiper {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

/* Slides styled like cards */
.swiper-slide {
  aspect-ratio: 16/9;   /* rectangle shape */
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* custom-slider-app.css  –  keep your existing rules, just add */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  /* kill the FOUC (flash of unstyled content) */
  max-width: 100%;
  max-height: 100%;
}

.swiper-slide {
  aspect-ratio: 16 / 9;   /* or height: 180px; if you prefer a fixed pixel number */
}
  /* ðŸ‘‡ Force rectangle shape */
  height: 180px;              /* Adjust height */
}


.swiper-slide:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 10px 24px rgba(0,0,0,0.2); 
}




/* Swiper navigation + pagination */
.swiper-pagination-bullet { 
  background: #000 !important; 
  opacity: 0.4; 
}

.swiper-pagination-bullet-active { 
  background: #000 !important; 
  opacity: 1; 
}

.swiper-button-next, 
.swiper-button-prev { 
  color: #ffffff; 
  width: 10px; 
  height: 10px; 
}

.swiper-button-next::after, 
.swiper-button-prev::after { 
  font-size: 16px; 
}

/* ---- force Swiper layout ---- */
.csa-swiper.swiper {
    max-width: none !important;          /* drop any theme max-width */
    margin-left: auto;
    margin-right: auto;
}
.csa-swiper .swiper-wrapper {
    display: flex !important;            /* theme may set block */
    box-sizing: content-box !important;  /* theme may set border-box */
}
.csa-swiper .swiper-slide 

/* prevent FOUC while Tailwind loads */
.csa-tailwind-slider img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* put dots inside each slide, bottom-left */
.csa-rect-swiper .swiper-slide {
    position: relative;               /* anchor for absolute children */
}
.csa-rect-swiper .swiper-pagination {
    position: absolute;
    bottom: 8px;                      /* tiny gap from bottom edge */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    line-height: 1;                   /* keep bullets tight */
}

/* optional: smaller white dots */
.csa-rect-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #fff;
    opacity: .7;
    margin: 0 3px !important;
}
.csa-rect-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}