/* Reviews Slider - 2 Columns Layout */

.reviews-slider__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch; /* allow grid items to stretch vertically */
  grid-auto-rows: 1fr; /* make rows equal height */
}

/* Slider attivo: scroll orizzontale nativo come Experience Marocco */
.reviews-slider--active .reviews-slider__track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

/* Nascondi scrollbar */
.reviews-slider--active .reviews-slider__track::-webkit-scrollbar {
  display: none;
}

.reviews-slider--active .reviews-slider__track {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.reviews-slider--active .review-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
  margin-right: 0;
}

.reviews-slider--active .review-slide:not(:last-child) {
  margin-right: 20px;
}

.review-slide {
  padding: 1.25rem 1.5rem;
  box-sizing: border-box;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--e-global-color-aa5884c);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  height: 100%;
  min-height: 0; /* ensure flex children can shrink properly */
}

/* Quote, icona e autore */
.review-slide__quote {
  margin: 0 0 0.5rem;
  position: relative;
  color: #EAEBED;
  font-size: var(--e-global-typography-secondary-font-size);
  line-height: 1.7;
  font-style: italic;
  font-family: var(--e-global-typography-secondary-font-family), sans-serif;
}
/* Avatar circle before quote */
.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  margin: 0 auto;
  background: rgba(0,0,0,0.05);
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.review-avatar-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
}
.review-slide__quote p:first-of-type {
  font-weight: bold;
  font-style: italic;
}
.review-slide__icon {
  color: #EAEBED;
  margin-bottom: 1.2rem;
  display: block;
  width: 60px !important;
  height: 60px !important;
  font-size: 60px;
}
.review-slide__author {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.review-slide__name {
  font-size: 1.15rem;
  font-weight: bold;
  color: #EAEBED;
  font-family: var(--e-global-typography-primary-font-family), serif;
}
.review-slide__role {
  font-size: var(--e-global-typography-secondary-font-size);
  color: #EAEBED;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-family: var(--e-global-typography-secondary-font-family), sans-serif;
}

.reviews-slider__viewport,
.reviews-slider__dots {
  display: none !important;
}

/* Navigazione slider */
.reviews-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Pulsanti navigazione rimossi - solo dots */
/*
.reviews-slider__nav-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid #EAEBED !important;
  color: #EAEBED !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  outline: none !important;
}

.reviews-slider__nav-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #fff !important;
  transform: scale(1.1) !important;
  color: #fff !important;
}

.reviews-slider__nav-btn svg {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}
*/

.reviews-slider__dots {
  display: flex !important;
  gap: 0.5rem !important;
  align-items: center !important;
}

.reviews-slider__dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  border: 2px solid #EAEBED !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  outline: none !important;
}

.reviews-slider__dot:hover {
  background: rgba(255, 255, 255, 0.5) !important;
}

.reviews-slider__dot.reviews-slider__dot--active {
  background: #EAEBED !important;
  border-color: #EAEBED !important;
}

