/*Rating containers*/
.rating-wrapper {
    padding-left: 0;
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: max-content;

}
/*Rating containers end*/

/*Rating Score*/
.rating-pt {
    font-size: 36px;
    color: #000;
    font-weight: 700;
    grid-area: score;
    align-self: center;
}

/*Stars*/
.star-rating-wrapper {
    position: relative;
}

.rating-list, .rating-list-background {
    list-style-type: none;
    white-space: nowrap;
    margin-bottom: 0;
    padding-left: 0;
}

.rating-list {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.rating-list li, .rating-list-background li {
    display: inline-block;
}

.rating-list li > i, .rating-list-background li > i {
    letter-spacing: -3px;
}

.rating-list li > i {
    color: #F3B42C;
}

.rating-list-background li > i {
    color: #e5e5e5;
}
/*Stars ends*/

/*Review Index and Articles*/
.reviews-section .star-rating-wrapper {
    margin-top: .25rem;
    margin-bottom: .5rem;
}
.review-details .star-rating-wrapper {
    width: fit-content;
    margin: 0 auto;
}
/*negative offer card*/
.negative-offers-wrapper .rating-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/*Word Score*/
.word-score-container {
    font-weight: 600;
    width: 100%;
    grid-area: wordScore;
}
.word-score {
    margin-bottom: 0;
}

.chart-review-link a {
    font-size: 12px;
    font-weight: 400;
    color: #484848;
}

@media only screen and (max-width: 767px) {
    .rating-wrapper {
        display: none
    }
    .rating-wrapper-mobile {
        display: grid;
        grid-template-columns: max-content;
        justify-items: center;
        align-items: center;
        grid-template-areas:
                "score stars";
        align-self: center;
        justify-content: center;
        column-gap: .25rem;
    }
    /*stars*/
    .star-rating-wrapper {
        justify-self: flex-start;
        line-height: 1;
    }

    .rating-list-background, .rating-list {
        margin: 0 5px 0 0;
    }
    .rating-list li > i, .rating-list-background li > i {
        font-size: 10px;
        letter-spacing: 0 !important;
    }
    /*Rating Score*/
    .rating-pt {
        font-size: 30px;
        line-height: 24px;
    }
    /*Word Score*/
    .top-choices:has(.word-score-container) .rating-wrapper-mobile {
        grid-template-areas:
                "score stars"
                "score wordScore";
        grid-template-rows: [row1-start] 50%[row1-end row2-start] 50%[row2-end];
    }
    .word-score {
        text-align: left;
        font-size: 14px;
    }
}

@media only screen and (min-width: 768px) {
    .new-layout .stars-wrapper {
        position: absolute;
        top: 87px;
        right: 100px;
    }
    .rating-pt {
        line-height: 0;
        font-size: 40px;
        margin-bottom: .25rem;
    }

    .star-rating-wrapper {
        grid-area: stars;
        justify-self: center;
    }
    .rating-list, .rating-list-background, .rating-list li, .rating-list-background li {
        line-height: 1;
    }
    .rating-wrapper {
        display: grid;
        grid-column-gap: 1rem;
        justify-items: center;
        align-items: center;
        grid-template-areas:
                "stars score";
    }
    .rating-wrapper-mobile {
        display: none;
    }
    /*Word Score*/
    .top-choices:has(.word-score-container) .rating-wrapper {
        grid-template-areas:
                "wordScore score"
                "stars score";
        grid-template-rows: [row1-start] 50% [row1-end row2-start] 50% [row2-end];
    }
    .word-score-container {
        text-align: right;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    /*rating stars & score*/
    .rating-wrapper {
        margin-bottom: 0.25rem;
        margin-top: 0;
    }

    .rating-pt {
        font-size: 32px;
        margin-left: 0;
        padding: 0;
    }
    /*Word Score*/
    .word-score-container {
        font-size: 15px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {

}

@media only screen and (min-width: 992px) {
    .rating-wrapper {
        margin-top: 0;
        margin-bottom: 0.25rem;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    /*vendor stars and score*/
    .rating-wrapper {
        padding-left: 0 !important;
    }
    .rating-pt {
        font-size: 32px;
    }
    /*Word Score*/
    .word-score-container {
        font-size: 16px;
    }
}

@media screen and (min-width: 1200px) {
    /*Word Score*/
    .word-score-container {
        font-size: 18px;
    }
}
