.summaryLayout {
  @include flex-direction(column);
  border-radius: 1.6rem;
  border: 1.5px solid #e9e9e9;
  background: #fff;
  box-sizing: border-box;
  margin: 0 auto;
  gap: 2.4rem;
  padding: 0 1.6rem;
  max-width:  calc(var(--main-container-max) - 4.8rem) !important;

  @include min(tablet) {
    padding: 0 2.4rem;
  }

  //operator-banner
  >div:last-of-type {
    margin-bottom: 2.4rem;

    @include min(tablet) {
      padding: 1.6rem;
    }

    >div>div {
      >a:nth-child(2) {
        height: 3.5rem;
        color: #fff;
        font-size: 1.4rem;
        font-style: normal;
        font-weight: 700;
        line-height: 1.4rem;
        text-transform: capitalize;

        @include min(tablet) {
          height: 6.4rem;
          font-size: 1.8rem;
          font-style: normal;
          font-weight: 700;
          padding: 1.6rem 2.4rem;
        }
      }
    }
  }
}

.details {
  margin-top: 2.4rem;
  gap: 1.6rem;
  @include flex-direction(column);

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

.title {
  @include flex-direction(column);
  @include flex-align(center, center);

  >h2 {
    color: var(--operator-summery-title-color, #1c1a28);
    text-align: center;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 3.4rem;
    text-transform: capitalize;
    margin: 0;
    padding-bottom: 0.8rem;
  }

  >div {
    gap: .8rem;

    >span {
      width: 2.8rem !important;
      font-size: 3.2rem !important;

      ::before {
        width: 2.8rem !important;
        font-size: 3.2rem !important;
      }
    }
  }

  >p {
    margin-top: 1.6rem;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 2.2rem;
    color: #6B6A72;
  }

  @include min(tablet) {
    grid-column: 2/3;
    grid-row: 1/3;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;

    p {
      margin-bottom: 0.4rem;
    }

    h2 {
      text-align: left;
      font-size: 2.8rem;
      line-height: 3.2rem;
    }
  }
}

.img {
  @include flex-align(center, center);

  >img {
    border-radius: 1.6rem;
    border-radius: 1.6rem;
    border: 1.5px #e9e9e9;
    width: 12rem;
    height: 12rem;
  }

  @include min(tablet) {
    grid-column: 1/2;
    grid-row: 1/3;
    margin-right: 2.4rem;

    img {
      width: 12.8rem;
      height: 12.8rem;
    }
  }
}

.description {
  color: #3e3c47;

  p {
    color: #3e3c47;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.7rem;
    text-align: justify;
  }

  @include min(tablet) {
    grid-row: 3/4;
    grid-column: 1/3;
    margin-top: 1.6rem;
  }
}

.author {
  @include flex-direction(row);
  @include flex-align(center, space-between);
  width: 100%;
  margin-bottom: 0;

  >span:first-child {
    >a {
      color: #165af8 !important;
      font-size: 1.4rem;
      font-style: normal;
      font-weight: 700;
      line-height: 2.1rem;
      letter-spacing: 0.028px;
      text-decoration-line: underline;
      position: relative;
      @include flex-direction(row);
      padding-left: 3.6rem;

      &::before {
        content: 'By';
        color: #6B6A72;
        position: absolute;
        font-size: 1.4rem;
        font-weight: 100;
        background-color: white;
      }

      >img {
        position: absolute;
        left: 0;
        width: 2.4rem;
        height: 2.4rem;
        border-radius: 50%;
      }
    }
  }

  >span:nth-child(2) {
    border-radius: 100px;
    background: var(--review-summery-backgorund-color, #5ce482);
    color: #1c1a28;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
  }

  @include min(tablet) {
    @include flex-direction(row);
    grid-row: 2/3;
    grid-column: 2/3;
    justify-content: end;
    gap: 1.6rem;
    margin-top: -38px;
  }
}