.reviews-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.5rem;
  gap: 0.5rem;
  overflow: visible !important;
  position: relative !important;
}

.review-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 300px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0.5em;
}

.scs-ratings-card {
  position: relative !important;
  padding: 3rem 1.5rem 1.5rem 1.5rem !important;
  width: 352px !important;
  height: 500px !important;
  text-align: center !important;
  background: #FFFFFF !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15) !important;
  border-color: #F4F6F7 !important;
  border-radius: 15px !important;
  font-size: 1.1rem !important;
  margin-left: 1rem !important;
  margin-right: 1rem !important;
  img {
      width: 165px !important;
      height: 25px !important;
      text-align: center !important;
      margin: 0 auto !important;
      object-fit: cover !important;
      margin-bottom: 2rem !important;
  }

  h2 {
    position: absolute !important;
    bottom: 0.75rem !important;
    left: 1rem !important;
    font-family: "Manrope", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 400 !important;
    font-style: bold !important;
    font-size: 1.0rem !important;
    text-align: start !important;
    color: #2E2E3A !important;
    padding: 0; /* Remove padding to keep it snug in the corner */
  }
  h3 { /* Review title */
    font-family: "Manrope", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: bold !important;
    font-size: 1.5rem !important;
    text-align: start !important;
    color: #2E2E3A !important;
    margin-bottom: 0.5rem !important;
    padding: 1rem !important;

    display: -webkit-box !important;
    line-clamp: 2 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    line-height: 1.75rem !important;
    max-height: calc(1.75rem * 2 + 1.2rem); /* Make this max-height instead of min-height */
  }

  h4 { /* Review */
    font-family: "Manrope", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 300 !important;
    font-style: normal !important;
    font-size: 1.25rem !important;
    text-align: start !important;
    color: #2E2E3A;
    padding: 1rem !important;

    display: -webkit-box !important;
    line-clamp: 7 !important;
    -webkit-line-clamp: 7 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    line-height: 1.75rem !important;
    max-height: calc(1.75rem * 7 + 1.0rem); /* Make this max-height instead of min-height */
  }
  h5 { /* Reviewer name & country */
    position: absolute !important;
    bottom: 2rem !important;
    right: 1rem !important;
    font-family: "Manrope", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 400 !important;
    font-style: bold !important;
    font-size: 1.25rem !important;
    text-align: end !important;
    color: #2E2E3A !important;
    padding: 0; /* Remove padding to keep it snug in the corner */
  }
  h6 { /* Review date */
    position: absolute !important;
    bottom: 0.75rem !important;
    right: 1rem !important;
    font-family: "Manrope", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 600 !important;
    font-style: bold !important;
    font-size: 1.2rem !important;
    text-align: end !important;
    color: #2E2E3A !important;
    padding: 0; /* Remove padding to keep it snug in the corner */
  }
}

#carouselReviewsControls {
 max-width: 1140px;
 margin: auto;
}

.carousel-inner-reviews {
  height: 500px !important;
}