/* Target all AL_banners sections regardless of number */
section[class*="AL_banners-"] {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Main container */
section[class*="AL_banners-"] > .container {
    display: flex !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-items: stretch !important;
}

/* Banner cards */
section[class*="AL_banners-"] > .container > div {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* Text content */
section[class*="AL_banners-"] .AL_banners_content {
    flex-shrink: 0 !important;
    height: auto !important;
}

/* Image wrapper */
section[class*="AL_banners-"] .AL_banners_content + div {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Image link */
section[class*="AL_banners-"] .AL_banners_content + div > a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* Prevent image cropping */
section[class*="AL_banners-"] img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Mobile */
@media (max-width: 767px) {
    section[class*="AL_banners-"] {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    section[class*="AL_banners-"] > .container {
        flex-direction: column !important;
        gap: 16px !important;
    }

    section[class*="AL_banners-"] > .container > div {
        width: 100% !important;
    }
}

/* Desktop */
@media (min-width: 768px) {
    section[class*="AL_banners-"] > .container {
        flex-direction: row !important;
    }

    section[class*="AL_banners-"] > .container > div {
        width: 50% !important;
    }
}


/* =========================================
   SALLA REVIEWS — CLEAN RESPONSIVE FIX
   ========================================= */

salla-slider.s-reviews-testimonials-slider {
  --review-green: #102f27;
  --review-gold: #b88a45;

  display: block;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 35px 20px 40px;
  background: #f8f9f6;
  border-radius: 22px;
  box-sizing: border-box;
  overflow: hidden;
  direction: rtl;
}

/* Fix slider positioning */
salla-slider.s-reviews-testimonials-slider
.s-slider-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 0 20px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Preserve Swiper's calculated widths */
salla-slider.s-reviews-testimonials-slider
.swiper-wrapper {
  align-items: stretch;
}

/* Slide */
salla-slider.s-reviews-testimonials-slider
.s-reviews-swiper-slide {
  height: auto;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Outer testimonial wrapper */
salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial {
  display: flex;
  height: 100%;
  padding: 5px;
  box-sizing: border-box;
}

/* Actual review card */
salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  min-height: 190px;
  height: auto;
  margin: 0;
  padding: 26px 20px;

  background: #ffffff;
  border: 1px solid #e8ebe5;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(16,47,39,.06);

  text-align: center;
  box-sizing: border-box;
  transition: box-shadow .25s ease;
}

/* Avatar */
salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  margin: 0 auto;
  border: 2px solid #e8d8bc;
  border-radius: 50%;
  background: #f5f5f5;
  overflow: hidden;
}

salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Review content */
salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  text-align: center;
}

salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__text p {
  margin: 0;
  color: #38483f;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__text p:empty {
  display: none;
}

/* Name and rating */
salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__name_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__info h2 {
  margin: 0;
  color: var(--review-green);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

/* Stars */
salla-slider.s-reviews-testimonials-slider
.s-rating-stars-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  direction: ltr;
}

salla-slider.s-reviews-testimonials-slider
.s-rating-stars-btn-star svg {
  width: 17px;
  height: 17px;
}

salla-slider.s-reviews-testimonials-slider
.s-rating-stars-selected svg,
salla-slider.s-reviews-testimonials-slider
.s-rating-stars-selected svg path {
  fill: var(--review-gold);
}

/* Quote decoration */
salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__icon {
  position: absolute;
  top: 14px;
  inset-inline-start: 15px;
  color: var(--review-gold);
  opacity: .15;
}

salla-slider.s-reviews-testimonials-slider
.s-reviews-testimonial__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* =========================================
   NAVIGATION FIX
   ========================================= */

salla-slider.s-reviews-testimonials-slider
.s-slider-block__title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 15px;
  padding: 0;
}

salla-slider.s-reviews-testimonials-slider
.s-slider-block__title-left,
salla-slider.s-reviews-testimonials-slider
.s-slider-block__title-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

salla-slider.s-reviews-testimonials-slider
.s-slider-nav-arrow {
  position: static !important;
  inset: auto !important;
  transform: none !important;

  display: flex;
  justify-content: center;
  align-items: center;

  width: 40px;
  height: 40px;
  padding: 0;

  background: white;
  color: var(--review-green);
  border: 1px solid #e1e7df;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

salla-slider.s-reviews-testimonials-slider
.s-slider-nav-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (hover: hover) {
  salla-slider.s-reviews-testimonials-slider
  .s-slider-nav-arrow:hover {
    background: var(--review-green);
    color: white;
  }
}

/* =========================================
   DESKTOP
   ========================================= */

@media (min-width: 1024px) {
  salla-slider.s-reviews-testimonials-slider {
    padding: 35px 30px 40px;
  }

  salla-slider.s-reviews-testimonials-slider
  .s-reviews-testimonial__inner {
    min-height: 200px;
  }
}

/* =========================================
   TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1023px) {
  salla-slider.s-reviews-testimonials-slider {
    padding: 25px 16px 30px;
  }

  salla-slider.s-reviews-testimonials-slider
  .s-reviews-testimonial__inner {
    min-height: 185px;
    padding: 22px 16px;
  }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {
  salla-slider.s-reviews-testimonials-slider {
    width: 100%;
    margin: 15px auto;
    padding: 20px 12px 26px;
    border-radius: 16px;
  }

  salla-slider.s-reviews-testimonials-slider
  .s-slider-container {
    padding: 5px 0 12px;
  }

  salla-slider.s-reviews-testimonials-slider
  .s-reviews-testimonial__inner {
    min-height: 180px;
    padding: 22px 16px;
    gap: 10px;
    border-radius: 14px;
  }

  salla-slider.s-reviews-testimonials-slider
  .s-reviews-testimonial__avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  salla-slider.s-reviews-testimonials-slider
  .s-reviews-testimonial__text p {
    font-size: 14px;
    line-height: 1.7;
  }

  salla-slider.s-reviews-testimonials-slider
  .s-reviews-testimonial__info h2 {
    font-size: 15px;
  }

  salla-slider.s-reviews-testimonials-slider
  .s-slider-nav-arrow {
    width: 36px;
    height: 36px;
  }
}