.container {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    background: #FFFFFF;
    border: 1.5px solid #E9E9E9;
    border-radius: 16px;
    max-width: var(--main-container-max, 96rem);
    margin: var(--operator-template-four-margin-mobile, 1.6rem);

    @include min(tablet) {
        margin-top: auto;
        grid-template-columns: auto 1fr;
        min-height: 364px;
    }

    @include min(laptop) {
        margin: 0 auto;
        margin-top: var(--operator-template-four-margin-top-desktop, 1.6rem);
        margin-bottom: var(--operator-template-four-margin-bottom-desktop, 1.6rem);
        margin-left: var(--operator-template-four-margin-left-desktop, auto);
        margin-right: var(--operator-template-four-margin-right-desktop, auto);
    }
}

.topSection {
    display: flex;
    justify-content: center;
    position: relative;

    a {
        display: flex;

        >img {
            position: relative;
            bottom: 3.2rem;
            width: 15.6rem;
            height: 15.6rem;
            background-color: white;
            border: 1.5px solid #E9E9E9;
            filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.1));
            border-radius: 16px;

            @include min(tablet) {
                width: 25rem;
                height: 25rem;
                right: 0rem;
                bottom: unset;
            }


            @include min(laptop) {
                width: 30rem;
                height: 30rem;
                right: 4rem;
            }
        }
    }

    >div {
        position: absolute;
        bottom: 2.2rem;
        border: 1px solid #E9E9E9;
        background: #F6F6F6;
        padding: 4px 8px;
        align-items: center;
        border-radius: 100px;

        >svg {
            width: 14.18px;
            height: 13.52px;
            margin-right: 5.41px;

        }


        @include min(tablet) {
            display: none;
        }
    }

    @include min(tablet) {
        justify-content: unset;
        align-items: center;
        padding-left: 1rem;
    }

    @include min(laptop) {
        padding-left: 0rem;
    }
}

.bottomSection {
    padding: 2.4rem 1.6rem;
    padding-top: 0rem;

    >div:last-child {
        margin-top: 1.6rem;

        >a>svg {
            display: none;

            @include min(tablet) {
                display: inline;
            }
        }

        @include min(tablet) {
            grid-template-columns: 2fr auto;

            >img {
                display: none;
            }

            margin-top: 0rem;
        }

    }

    @include min(tablet) {
        display: flex;
        flex-direction: column;
        gap: 2.3rem;
        padding: 2rem;
        padding-left: 0rem;
        margin-left: 2rem;
    }

    @include min(laptop) {
        padding: 3.2rem;
        padding-left: 0.8rem;
        margin-left: 0rem;
    }
}

.name {
    display: flex;
    justify-content: center;
    padding-bottom: 1.6rem;

    >h1 {
        margin: 0;
        font-weight: 700;
        font-size: 24px;
        line-height: 34px;
        color: #1C1A28;
        text-align: center;
        text-transform: capitalize;

        @include min(tablet) {
            font-size: 32px;
            line-height: 42px;
            text-align: start;
        }
    }

    >img {
        margin-left: 0.8rem;
        color: #165AF8;
        flex: none;
        width: 1.6rem;
        height: 1.6rem;
        margin-left: 4px;

        @include min(tablet) {
            width: 2.4rem;
            height: 2.4rem;
            margin-left: 8px;

        }
    }

    @include min(tablet) {
        padding-bottom: 0rem;
        margin-top: 1.8rem;
        justify-content: flex-start;
        width: 70%;
    }
}



.ribbon {
    position: static;
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 1.6rem;
    background-color: #FF8F2F;
    padding: 6px 12px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 10px;
    line-height: 13px;
    color: #1C1A28;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    @include min(tablet) {
        position: absolute;
        top: 3.2rem;
        right: 3.2rem;
        padding: 7px 16px;
        font-size: 12px;
        line-height: 15px;
    }
}

.ratings {
    display: grid;
    overflow-x: auto;

    >ul {
        display: flex;
        overflow: scroll;


        @include min(laptop) {
            overflow: hidden;
        }
    }
}

.ratingInactive {
    display: flex;
    align-items: center;
    background-color: #FBFBFB !important;
    color: #6B6A72 !important;
    font-weight: 800;
    font-size: 14px !important;
    line-height: 22px !important;

    >svg {
        margin-right: 6.32px;
        color: var(--icons-rating-color, #FFDB20);
    }
}