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

    >a {
        position: absolute;
        top: -1.8rem;
        left: 1.6rem;

        >img {
            width: 9.6rem;
            height: 9.6rem;
            min-width: 9.6rem;
            border-radius: 16px;
            background-color: white;
            border: 1.5px solid #E9E9E9;

            @include min(tablet) {
                width: 19.5rem;
                min-width: 19.5rem;
                height: 19.5rem;


            }
        }

        @include min(tablet) {
            position: static;
            grid-row: 1/3;
            grid-column: 1/2;
        }
    }

    @include min(tablet) {
        grid-template-columns: auto 1fr;
        padding: 2.4rem 2.4rem 2.1rem 2.4rem;
    }

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

.name {
    display: flex;
    margin-top: 7rem;
    padding-bottom: 1.6rem;

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

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

    >svg {
        margin-left: 0.8rem;
        fill: #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) {
        grid-row: 1;
        grid-column: 2/5;
        margin-top: 3.2rem;
        padding-left: 4.8rem;
        padding-bottom: 2.4rem;
    }
}

.ribbon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    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;
    >span{
        background-color: transparent;
    }

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

.operatorBanner {
    grid-row: 4;
    width: 100%;
    padding-bottom: 0.7rem;

    >div {
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 12px;
        gap: 1.6rem;

        >div {
            display: flex;
            flex-direction: column;

            >span {
                display: block;
                color: #5545A9;
                font-size: 16px;
                line-height: 24px;
                font-weight: 700;
                padding-bottom: .8rem;

            }

            >p {
                color: #1C1A28;
            }

            >div {
                >span {
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 27px;
                    color: #1C1A28;
                }
            }
        }


        >a {
            width: 100%;
            text-align: center;
            padding: 20px 24px;
            font-size: 18px;
            line-height: 20px;
            border-radius: 12px;

            @include min(tablet) {
                padding: 21px 24px;
            }
        }


        @include min(tablet) {
            display: flex;

            >div {
                >span {
                    font-size: 18px;
                    line-height: 28px;
                    padding-bottom: .4rem;
                }

                >div>span {
                    font-weight: 700;
                }
            }

            >a {
                width: max-content;
            }
        }
    }

    @include min(tablet) {
        grid-row: 2;
        grid-column: 2/5;
        padding-left: 4.8rem;
        padding-top: 0;
        padding-bottom: 0rem;
    }

}

.ratings {
    padding-bottom: 1.6rem;
    display: flex;
    overflow: auto;

    >ul>li>p>div>span {
        font-size: 1.6rem;
        font-weight: 800;
        line-height: 27px;
    }

    @include min(tablet) {
        display: block;
        grid-row: 3;
        grid-column: 1/5;
        padding-top: 2.5rem;
        padding-bottom: 0rem;
    }

}