#block-riviera-endorsements h2 {
  text-align: center;
}


#block-riviera-endorsements {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12c0-.622-.095-1.221-.27-1.785A5.982 5.982 0 0 0 10 12c1.67 0 3.182-.683 4.27-1.785A5.998 5.998 0 0 0 14 12h2a4 4 0 0 1 4-4V6c-1.67 0-3.182.683-4.27 1.785C15.905 7.22 16 6.622 16 6c0-.622-.095-1.221-.27-1.785A5.982 5.982 0 0 0 20 6V4a4 4 0 0 1-4-4h-2c0 .622.095 1.221.27 1.785A5.982 5.982 0 0 0 10 0C8.33 0 6.818.683 5.73 1.785 5.905 1.22 6 .622 6 0H4a4 4 0 0 1-4 4v2c1.67 0 3.182.683 4.27 1.785A5.998 5.998 0 0 1 4 6c0-.622.095-1.221.27-1.785A5.982 5.982 0 0 1 0 6v2a4 4 0 0 1 4 4h2zm-4 0a2 2 0 0 0-2-2v2h2zm16 0a2 2 0 0 1 2-2v2h-2zM0 2a2 2 0 0 0 2-2H0v2zm20 0a2 2 0 0 1-2-2h2v2zm-10 8a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z' fill='%23556b45' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
  display: flex;
  justify-content: center;

}


.endorse-cont {
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.5)
}


/* ---------------------------------------
 * Riviera Endorsement Carousel Styles
 * ------------------------------------- */



/* Container styling */
#endorsement-carousel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Track and slides */
.splide__track {
  overflow: hidden;
  border-radius: 10px;
}

.splide__slide {
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.splide__slide p {
  text-align: left;
}

.splide__slide img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Text content (quotes, names, etc.) */
.splide__slide blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: #444;
  margin: 1rem auto 0;
  max-width: 80%;
}

.splide__slide cite {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #666;
}

/* Arrows */
.splide__arrow {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #ccc;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;

  display: none;

}

.splide__arrow:hover {
  background: #fff;
  transform: scale(1.05);
}

/* Pagination dots */
.splide__pagination {
  bottom: -1.5rem;
}

.splide__pagination__page {
  background: #ccc;
  opacity: 0.8;
  transition: opacity 0.3s, background 0.3s;
}

.splide__pagination__page.is-active {
  background: #333;
  opacity: 1;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  #endorsement-carousel {
    max-width: 100%;
  }

  .splide__slide blockquote {
    font-size: 1rem;
    max-width: 90%;
  }

  .endorse-cont {
    padding: 20px;
    margin: 20px;
    max-width: 100%;
  }
}