.preview {
    user-select: none;
}

.widget-widget {
    font-family: inherit;
}

.widget-reviews-container-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.widget-header {
    padding: 1rem;
    text-align: center;
}

.widget-rating-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.widget-rating-large {
    font-size: 1.5rem;
}

.widget-stars {
    display: inline-flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.widget-large-logo {
    margin-top: 0.5rem;
}

.widget-v-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.widget-reviews-container {
    position: relative;
}

.widget-controls {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.widget-next, .widget-prev {
    width: 30px;
    height: 30px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 50%;
    pointer-events: auto;
}

.widget-reviews-container-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.widget-review-item {
    background-color: #222;
    padding: 1rem;
    border-radius: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.widget-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.widget-review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position:relative;
}

.widget-platform-icon {
    width: 20px;
    height: 20px;
    position:absolute;
    top:0;
    right:0;
}

.widget-profile-img img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.widget-profile-details {
    display: flex;
    flex-direction: column;
}

.widget-name {
    font-weight: bold;
}

.widget-date {
    font-size: 0.875rem;
    color: #666;
}

.widget-review-text-container {
    position: relative;
    max-height: 140px; /* Adjust to desired collapsed height */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.widget-review-text-container.expanded {
    max-height: none;
}

.widget-read-more {
    margin-top: 0.5rem;
    cursor: pointer;
    color: #0077BE;
    font-weight: bold;
}

.widget-controls-line {
    height: 2px;
    background-color: #eee;
    position: relative;
    margin-top: 1rem;
    max-width: 50%;
    margin: 30px auto;
}

.widget-controls-line .dot {
    position: absolute;
    top: -1px;
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
}


#reviewCarousel .swiper-slide {
  display: flex;
  justify-content: center;
}

#reviewCarousel .swiper-slide {
    aspect-ratio: auto!important;
}

#reviewCarousel { 
    z-index:9;  
    position: relative;
    padding: 0 3rem; /* Creates visual space for the buttons */
}

@media (max-width: 1024px) {
    #reviewCarousel { 
        margin-top: -200px;
    }
}
@media (max-width: 520px) {
    #reviewCarousel { 
        margin-top: -100px;
    }
}

#reviewCarousel .swiper-button-prev,
#reviewCarousel .swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  margin-top: 80px;
}

#reviewCarousel .swiper-button-prev {
  left: -1.5rem; /* Or use -2rem depending on your layout */
}

#reviewCarousel .swiper-button-next {
  right: -1.5rem;
}





