.eldo-reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  padding: 20px;
}

.score-card {
  background-color: #0b4d4a;
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: sticky;
  top: 190px;
  height: fit-content;
}

.score {
  font-size: 48px;
  font-weight: bold;
  margin: 10px 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.score.loaded {
  opacity: 1;
}

.score-card .stars {
  color: #ffd700;
  font-size: 24px;
  margin: 10px 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.score-card .stars.loaded {
  opacity: 1;
}

.stats {
  font-size: 14px;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.stats.loaded {
  opacity: 1;
}

.reviews-section {
  flex: 1;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  background-color: #f5f5f5;
  padding: 20px;
  z-index: 100;
}

.reviews-title {
  font-weight: 700;

  font-size: 26px !important;
  margin: 5px 0;
  flex-grow: 1;
}

.see-all {
  color: #f49d75;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #f49d75;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.see-all:hover {
  background-color: #f49d75;
  color: white;
}

.savoir-plus {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  width: fit-content;
  margin: 20px auto;
  border: 1px solid #f49d75;
  background: #f49d75;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.savoir-plus:hover {
  background-color: transparent;
  color: #f49d75;
}

.savoir-plus a {
  color: white;
}

.savoir-plus a:hover {
  color: #f49d75;
}

/* Désactivé pour Masonry :
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
*/

.reviews-grid,
.reviews-grid-last {
  display: block; /* Masonry a besoin de block, pas grid ni flex */
  margin-top: 2rem;
}

.review-card {
  width: 320px; /* ou 30%, ou 300px selon ton design */
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  padding: 1.5rem;
  display: inline-block; /* Important pour Masonry */
  vertical-align: top;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-date {
  color: #666;
  font-size: 14px;
}

.review-author {
  font-weight: bold;
  color: #333;
}

.review-content {
  color: #000;
  font-size: 15px;
  margin-top: 10px;
  line-height: 1.4;
}

.logo {
  width: 120px;
  margin-top: 20px;
}

.show-more {
  text-align: center;
  margin-top: 30px;
}

.show-more button {
  background-color: #f49d75;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.7s ease;
}

.show-more button:hover {
  background-color: #f49d75;
  opacity: 0.8;
}

.hidden {
  display: none;
}

.review-card .stars {
  color: #ffd700;
  font-size: 18px;
  margin: 0;
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .eldo-reviews-container {
    grid-template-columns: 1fr;
  }

  .score-card {
    position: relative;
    top: 0;
  }

  .reviews-header {
    position: relative;
  }
}

/* Fusion Builder / Avada Compatibility */
.fusion-builder-row .eldo-reviews-container {
  width: 100%;
  max-width: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .review-card {
    width: 48%;
  }
}
@media (max-width: 700px) {
  .review-card {
    width: 100%;
  }
}
