.rs-bar-container-038ecef5 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.rs-border-top {
    border-top: 1px solid #ececec;
}
.rs-border-bottom {
    border-bottom: 1px solid #ececec;
}

.rs-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.rs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    display: flex;
    align-items: center;
}

.rs-slide-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.rs-slide-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding: 10px 15px;
}

/* Layout Mode Overrides */
.rs-layout-2 .rs-slide-content,
.rs-layout-3 .rs-slide-content,
.rs-layout-4 .rs-slide-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* Avatars Overlapping Style */
.rs-avatars-group {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 4px;
    flex-shrink: 0;
}

.rs-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid #f5f5f5;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ededed;
    color: #44494e;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: transform 0.2s ease;
}

.rs-avatar:not(:first-child) {
    margin-left: -18px;
    z-index: 1;
}

/* Info container stack */
.rs-review-main-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

/* Layout Mode reorder rules using Flexbox order */
.rs-layout-3 .rs-rating-wrapper {
    order: 1;
}
.rs-layout-3 .rs-separate-name-row {
    order: 2;
}
.rs-layout-3 .rs-review-text-wrap {
    order: 3;
}

.rs-layout-4 .rs-separate-name-row {
    order: 1;
}
.rs-layout-4 .rs-rating-wrapper {
    order: 2;
}
.rs-layout-4 .rs-review-text-wrap {
    order: 3;
}

/* Rating Layout */
.rs-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.rs-stars-group {
    display: flex;
    align-items: center;
    color: #ffa800;
    gap: 2px;
}

.rs-star {
    font-size: 14px;
    line-height: 1;
}

.rs-star-empty {
    color: #e2e8f0;
}

.rs-rating-score {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

/* Review Text Content */
.rs-review-text-wrap {
    width: 100%;
}

.rs-review-content {
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.45;
    color: #4d545a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-quote-mark {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: bold;
    color: #8c969e;
    display: inline-block;
    padding: 0 1px;
}

.rs-lines-1 {
    -webkit-line-clamp: 1;
}

.rs-lines-2 {
    -webkit-line-clamp: 2;
}

/* Separate Row styling */
.rs-separate-name-row {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Attribution / Bottom Row */
.rs-attribution {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1;
}

.rs-name {
    font-size: 13px;
    font-weight: 500;
    color: #111111;
}

.rs-name-prefix {
    color: #718096;
    margin-right: 4px;
}

.rs-credentials {
    color: #4a5568;
    margin-left: 4px;
    font-size: 0.9em;
}

/* Truncation styles */
.rs-trunc-single_ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    display: inline-block;
    vertical-align: middle;
}

.rs-trunc-multi_line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.8em;
}

/* Verified Badge layout */
.rs-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    vertical-align: middle;
}

.rs-badge-green_pill {
    background-color: #e5f8ee;
    color: #1a8245;
    padding: 4px 10px;
}

.rs-badge-outline {
    border: 1px solid #1a8245;
    color: #1a8245;
    padding: 3px 9px;
}

.rs-badge-minimal {
    color: #718096;
}

.rs-badge-icon {
    display: inline-flex;
    align-items: center;
    width: 12px;
    height: 12px;
}

.rs-badge-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Responsive Customization */
@media (max-width: 767px) {
    .rs-slide-content {
        gap: 12px;
        padding: 8px 10px;
    }
    .rs-avatar {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }
    .rs-avatar:not(:first-child) {
        margin-left: -14px;
    }
    .rs-review-content {
        font-size: 13.5px;
    }
    .rs-name {
        font-size: 12px;
    }
    .rs-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}
