.forum {
  width: 690px;
  margin: 18px auto 88px;
}

.header {
  padding: 14px 20px 14px 24px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;

  .title {
    font-size: 20px;
    font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
    font-weight: bold;
    color: #000000;
  }

  .btn {
    font-size: 14px;
    font-family: MicrosoftYaHei;
    color: #ffffff;
    padding: 0px 24px;
    height: 38px;
  }
}

.item {
  padding: 18px 0 0;
  background: #ffffff;
  width: 100%;

  .headImg {
    margin-left: 16px;
    width: 52px;
    height: 52px;
    background: #ced1d6;
    margin-right: 10px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
  }

  .info {
    .name {
      font-size: 15px;
      font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
      font-weight: bold;
      color: #000000;
      margin-top: 7px;
      margin-bottom: 16px;
    }

    .desc {
      font-size: 15px;
      font-family: MicrosoftYaHei;
      color: #000000;
      margin-bottom: 16px;
      padding-right: 10px;
      line-height: 1.2;
    }
  }

  .imgs {
    margin-bottom: 18px;

    :global .img {
      border-radius: 6px;
      overflow: hidden;
    }
  }

  .ctrls {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    .ctrlsItem {
      font-size: 12px;
      font-family: MicrosoftYaHei;
      color: #8590a6;
      display: flex;
      gap: 8px;
      align-items: center;
      cursor: pointer;

      .ctrlsItemIcon {
        width: 16px;
        height: 16px;
        background-size: 100% 100%;

        &.iconComment {
          background-image: url("./assets/comment.png");
        }

        &.iconPraise {
          background-image: url("./assets/praise.png");

          &.active {
            background-image: url("./assets/praiseActive.png");
          }
        }
      }
    }
  }

  .commentWrap {
    .draftWrap {
      padding: 11px 27px 0 26px;
      display: flex;
      gap: 18px;
      align-items: center;
      border-top: 1px RGBA(246, 247, 249, 1) solid;

      .commentHeadImg {
        width: 34px;
        height: 34px;
        background: #ced1d6;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        font-family: MicrosoftYaHei;
        color: #828589;
        border-radius: 50%;
        overflow: hidden;
      }

      .commentInput {
        width: 585px;
        height: 38px;
        background: #f2f3f4;
      }
    }

    .btnCommentWrap {
      margin-top: 7px;
      margin-bottom: 13px;
      text-align: right;
      padding-right: 30px;
    }

    .btnComment {
      height: 33px;
      padding: 0 24px;
      font-size: 13px;
      font-family: MicrosoftYaHei;
    }

    .comments {
      border-top: 1px RGBA(246, 247, 249, 1) solid;
      border-bottom: 1px RGBA(246, 247, 249, 1) solid;

      .commentItem {
        padding: 8px 26px;
        display: flex;
        gap: 18px;

        .commentHeadImg {
          width: 34px;
          height: 34px;
          background: #ced1d6;
          border-radius: 50%;
          overflow: hidden;
          flex-shrink: 0;
        }

        .info {
          .nameWrap {
            display: flex;
            .commentName {
              font-size: 14px;
              font-family: MicrosoftYaHei;
              color: #ff552d;
              flex-shrink: 0;
              line-height: 19px;

              .date {
                margin-top: 1px;
                font-size: 12px;
                font-family: MicrosoftYaHei;
                color: #a6aab1;
                line-height: 16px;
              }
            }
            .commentContent {
              font-size: 14px;
              font-family: MicrosoftYaHei;
              color: #000000;
              line-height: 19px;
            }
          }
        }
      }
    }
  }

  .showAll {
    height: 50px;
    font-size: 13px;
    font-family: MicrosoftYaHei;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
  }
}
