.container {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e9e9e9;
  border-radius: 1.6rem;
  max-width: var(--main-container-max, 96rem);
  margin: 2rem 1.6rem 1.6rem;

  @include min(tablet) {
    grid-template-columns: auto 1fr;
    min-height: 36.4rem;
  }

  @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);
  }
}

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

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

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

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

  @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;
  margin-top: -0.8rem;

  > div:nth-child(3) {
    margin-top: 1.6rem;

    > a > svg {
      display: none;
      height: 1.4rem;
      width: 1.4rem;

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

    @include min(tablet) {
      display: flex;

      > img {
        display: none;
      }

      margin-top: 0rem;
    }
  }

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

  @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: 2.4rem;
    line-height: 3.4rem;
    color: #1c1a28;
    text-align: center;
    text-transform: capitalize;

    @include min(tablet) {
      font-size: 3.2rem;
      line-height: 4.2rem;
      text-align: start;
    }
  }

  > svg {
    margin-left: 0.8rem;
    fill: #165af8;
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    margin-left: 0.4rem;

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

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

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

  > ul {
    display: flex;
    overflow: scroll;

    grid-gap: 0.8rem;

    > li > p:nth-child(2) {
      font-weight: 700;
      font-size: 1.6rem;
      line-height: 2.7rem;
      color: #33313d;
    }

    @include min(tablet) {
      grid-gap: 1.6rem;
      display: grid;
      overflow: hidden;
      grid-template-columns: 1fr 1fr 1fr;
    }
  }
}

.ratingInactive {
  display: flex;
  align-items: center;
  background-color: #fbfbfb !important;
  color: #6b6a72 !important;
  font-weight: 800;
  font-size: 1.4rem !important;
  line-height: 2.2rem !important;

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