.ref-preview{
    width: 100%;
    object-fit: cover;
    margin: auto;
    aspect-ratio: 1/1;
    border-radius: 50px;
    height: 50px;
    width: 50px;
}

#reference .col-md-12 .inner{
    overflow-x: hidden;
}

.reference .heading-wrapper{
    display: flex;
    gap: 20px;
    align-items: center;
}

.reference .heading-wrapper h3{
    padding: 0;
    text-align: left;
}

.review-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 0;
    transition: .3s;
}
.review-link:hover{
    text-decoration: none;
}
.review-link:hover .review-info{
    color: #F2B825;
    text-decoration: none;
}


.review-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.google-icon {
    width: 32px;
    height: 32px;
}

.review-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.review-text {
    font-size: 14px;
    color: #666;
}

.review-text strong{
  font-weight: 400;
}

.review-source {
    font-size: 14px;
    color: #666;
}

.review-stars {
    color: #FFD700;
    font-size: 30px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.review-stars .empty {
    color: #ccc;
}

.review-stars .half {
    background: linear-gradient(90deg, #FFD700 50%, #ccc 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.review-stars .stars-value {
    color: #555;
    font-size: 14px;
    margin-left: 5px;
}


.description {
  position: relative;
  margin-bottom: 10px;
}

.description.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;  /* počet viditelných řádků */
  overflow: hidden;
}

.read-more {
  display: inline-block;
  margin-top: 6px;
  color: #000;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: .3s;
}
.read-more:hover {
  text-decoration: none;
  color: #F2B825;
}


#reference-carousel h3{
    padding-left: 0;
}
#reference-carousel .description {
    max-height: 80px;         
    overflow-y: auto;         
    padding-right: 8px;        
    scrollbar-width: thin;     
    scrollbar-color: #bbb #f0f0f0; 
  }
  
  #reference-carousel .description::-webkit-scrollbar {
    width: 6px;
  }
  #reference-carousel .description::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
  }
  #reference-carousel .description::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 3px;
  }
  

  #reference-carousel .description {
    scroll-behavior: smooth;
  }
  
  #reference-carousel .description p {
    margin-bottom: 0.75rem;
  }

  @media (max-width: 767px){
    .references .btn{
      margin-top: 0;
    }
  }


  @media (max-width: 540px) {
    #reference{
      max-width: 95%;
    }
    #reference .owl-nav .owl-prev {
        right: 100% !important;
    }
    #reference .owl-nav .owl-next {
      left: 100% !important;
  }
}