.trec_opinion_home {
    background-color: var(--colorBlack);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #343434;
}

.trec_opinion_home .trec_opinion_back {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    background-image: url('/modules/trecopinion/views/img/home_opinions_widget.jpg');
    background-color: #343434;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.trec_opinion_home .trec_opinion_content {
    z-index: 2;
    width: 90%;
    max-width: 1320px;
}

.trec_opinion_home .trec_opinion_content .top .title {
    font-size: 23px;
    font-weight: 700;
    color: #fff;
}

.trec_opinion_home .trec_opinion_content .opinions {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .trec_opinion_home .trec_opinion_content .top {
        justify-content: space-between;
    }
}

.trec_opinion_home .trec_opinion_content .opinions-summary {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 7px 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
}

.opinions-summary-score {
    font-size: 25px;
    font-weight: 700;
    color: #202020;
}

.opinions-summary-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.opinions-summary-stars {
    display: flex;
    justify-content: center;
}

.opinions-summary-stars i.material-icons {
    font-size: 21px;
}

.opinions-summary-stars i.full-star,
.opinions-summary-stars i.half-star {
    color: #202020;
}

.opinions-summary-stars i.empty-star {
    color: #cacaca;
}

.opinions-summary-text {
    font-size: 10px;
    font-weight: 600;
    color: #202020;
    margin: 0;
}

.opinions-summary-text .opinions-summary-yellow {
    color: #FEB210;
    font-weight: 700;
}

@media screen and (min-width: 768px) {
    .trec_opinion_home .trec_opinion_content .top .title {
        font-size: 30px;
    }

    .opinions-summary-score {
        font-size: 35px;
    }

    .opinions-summary-stars i.material-icons {
        font-size: 28px;
    }

    .opinions-summary-text {
        font-size: 13px;
    }

    .trec_opinion_home .trec_opinion_content .opinions-summary {
        padding: 12px 20px;
    }
}

.trec_opinion_home .trec_opinion_content .opinions .opinion {
    display: block;
    background-color: #fff;
    padding: 25px;
    margin-right: 10px;
    height: 230px;
    flex: 1;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .n {
    font-size: 17px;
    font-weight: 700;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g {
    display: flex;
    color: #aeaeae;
    font-size: 15px;
    align-items: center;
    line-height: 1;
    margin: 10px 0;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g .stars {
    display: flex;
    align-items: center;
    margin-right: 10px;
    margin-top: -3px;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g .stars .star {
    width: 18px;
    cursor: pointer;
    margin: 0;
    color: #CACACA;
}

.opinions-summary-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.stars-layer {
    display: flex;
    gap: 2px;
}

.stars-layer i.material-icons {
    font-size: 22px;
    margin: 0;
    padding: 0;
}

.stars-grey i.material-icons {
    color: #CACACA;
}

.stars-black {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.stars-black i.material-icons {
    color: #202020;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g .stars .star svg {
    width: 100%;
    height: auto;
    color: inherit;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g .stars .star.gold svg {
    color: #000;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .c {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 10px;
    height: 90px;
    overflow: hidden;
    position: relative;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .c .c_2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .x {
    font-size: 14px;
    font-weight: 400;
    color: #2C8A00;
    margin-top: auto;
}

@media (min-width: 992px) {
    .trec_opinion_home {
        height: 610px;
        margin-bottom: -40px;
    }

    .trec_opinion_home .trec_opinion_back {
        height: 610px;
    }

    .trec_opinion_home .trec_opinion_content .top {
        margin-bottom: 25px;
    }

    .trec_opinion_home .owl-theme .owl-dots .owl-dot span {
        width: 50px;
        height: 5px;
    }

    .trec_opinion_home .owl-theme .owl-nav {
        position: absolute;
        top: -80px;
        right: 0;
    }

    .trec_opinion_home .owl-theme .owl-nav button {
        width: 40px;
        height: 40px;
        background-color: #fff;
        border-radius: 20px;
    }

    .trec_opinion_home .owl-theme .owl-dots {
        margin-top: 30px;
    }
}

@media (max-width: 991px) {
    .trec_opinion_home {
        margin-bottom: -40px;
        overflow: hidden;
    }

    .trec_opinion_home .trec_opinion_back {
        top: 0;
        bottom: 0;
    }

    .trec_opinion_home .trec_opinion_content .top {
        margin-bottom: 25px;
        margin-top: 25px;
    }

    .trec_opinion_home .owl-carousel .owl-stage-outer {
        overflow: initial;
    }

    .trec_opinion_home .owl-theme .owl-nav {
        display: none;
    }

    .trec_opinion_home .owl-theme .owl-dots .owl-dot span {
        width: 20px;
        height: 5px;
    }

    .trec_opinion_home .owl-theme .owl-dots {
        margin-top: 30px;
        margin-bottom: 30px;
    }

}