
.wstestimonials {
    display: grid;
    gap: 20px;
}

.wstestimonials--2 { grid-template-columns: repeat(2, 1fr); }
.wstestimonials--3 { grid-template-columns: repeat(3, 1fr); }
.wstestimonials--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
    .wstestimonials--3, .wstestimonials--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .wstestimonials--2, .wstestimonials--3, .wstestimonials--4 { grid-template-columns: 1fr; }
}

.wstestimonials__item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(19, 38, 61, .10);
    box-shadow: 0 10px 24px rgba(19, 38, 61, .06);
    padding: 24px;
}

.wstestimonials__item__stars {
    display: flex;
    justify-content: start;
}

.wstestimonials__item__content {
    padding-left: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wstestimonials__item__title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.wstestimonials__item__quote {
    font-size: 15px;
    line-height: 1.65;
    flex-grow: 1;
}

.wstestimonials__item__author {
    font-weight: 700;
    font-size: 14px;
    margin-top: 12px;
}

.wstestimonials__item__image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.wstestimonials__item__stars > span {
    display: block;
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-empty.svg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 1.3rem;
    height: 1.3rem;
    margin: 0.4rem 0.1rem;
    filter: brightness(0) saturate(100%) invert(77%) sepia(99%) saturate(337%) hue-rotate(340deg) brightness(101%) contrast(94%);
}

.wstestimonials__item__stars--1 > span:nth-child(1) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-full.svg");
}

.wstestimonials__item__stars--1-5 > span:nth-child(1), .wstestimonials__item__stars--1-5 > span:nth-child(2) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-full.svg");
}

.wstestimonials__item__stars--1-5 > span:nth-child(3) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-half-full.svg");
}

.wstestimonials__item__stars--2 > span:nth-child(1), .wstestimonials__item__stars--2 > span:nth-child(2) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-full.svg");
}

.wstestimonials__item__stars--2-5 > span:nth-child(1), .wstestimonials__item__stars--2-5 > span:nth-child(2) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-full.svg");
}

.wstestimonials__item__stars--2-5 > span:nth-child(3) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-half-full.svg");
}

.wstestimonials__item__stars--3 > span:nth-child(1), .wstestimonials__item__stars--3 > span:nth-child(2), .wstestimonials__item__stars--3 > span:nth-child(3) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-full.svg");
}

.wstestimonials__item__stars--3-5 > span:nth-child(1), .wstestimonials__item__stars--3-5 > span:nth-child(2), .wstestimonials__item__stars--3-5 > span:nth-child(3) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-full.svg");
}

.wstestimonials__item__stars--3-5 > span:nth-child(4) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-half-full.svg");
}

.wstestimonials__item__stars--4 > span:nth-child(1), .wstestimonials__item__stars--4 > span:nth-child(2), .wstestimonials__item__stars--4 > span:nth-child(3), .wstestimonials__item__stars--4 > span:nth-child(4) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-full.svg");
}

.wstestimonials__item__stars--4-5 > span:nth-child(1), .wstestimonials__item__stars--4-5 > span:nth-child(2), .wstestimonials__item__stars--4-5 > span:nth-child(3), .wstestimonials__item__stars--4-5 > span:nth-child(4) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-full.svg");
}

.wstestimonials__item__stars--4-5 > span:nth-child(5) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-half-full.svg");
}

.wstestimonials__item__stars--5 > span:nth-child(1), .wstestimonials__item__stars--5 > span:nth-child(2), .wstestimonials__item__stars--5 > span:nth-child(3), .wstestimonials__item__stars--5 > span:nth-child(4), .wstestimonials__item__stars--5 > span:nth-child(5) {
    background-image: url("/_assets/8bd22cf6a7e5df065eb3f093303b1d7f/Icons/star-full.svg");
}


.wstestimonials--layout-10 .wstestimonials__item:nth-child(even) {
    flex-direction: row-reverse;
}

.wstestimonials--layout-10 .wstestimonials__item:nth-child(even) .wstestimonials__item__content {
    padding-left: 0;
    padding-right: 2rem;
}
