.community-block-section {

  .section-title {
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;

    @media (max-width: 1580px) {
      font-size: 25px;
      line-height: 30px;
    }

    @media screen and (max-width: 960px) {
      font-size: 20px;
      line-height: 24px;
    }

    @media screen and (max-width: 669px) {
      font-size: 16px;
      line-height: 19.5px;
      text-align: center;
    }
  }

  .section-description {
    font-size: 22px;
    line-height: 26px;
    font-weight: 400;
    color: #222222;

    @media screen and (max-width: 1580px) {
      font-size: 20px;
      line-height: 24px;
    }

    @media screen and (max-width: 960px) {
      font-size: 18px;
      line-height: 20px;
    }

    @media screen and (max-width: 669px) {
      font-size: 16px;
      line-height: 18px;
      text-align: center;
    }
  }

  .community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 50px;
    margin: 50px 0;

    @media screen and (max-width: 991px) {
      display: none;
    }
  }

  .community-list {
    display: none;

    @media screen and (max-width: 991px) {
      display: grid;
      gap: 20px;
      margin: 50px 0;

      .community-block {
        .community-content {
          padding: 20px;
          align-items: normal;
          gap: 0;

          .title-wrapper {
            display: flex;
            flex-direction: row;
            align-items: center;
            margin-bottom: 15px;
            gap: 20px;

            .icon {
              width: 48px;
              height: 48px;

              .foreground-img {
                width: 30px;
                height: 30px;
              }
            }
          }

          .block-title {
            margin: 0;
          }

          .block-title,
          .block-description {
            text-align: start;
          }
        }
      }
    }
  }

  .community-block {
    .block-tags {
      display: flex;
      gap: 5px;
      margin: 10px 0;
      align-items: end;

      @media screen and (min-width: 991px) {
        height: 35px;
      }

      .tag {
        font-size: 13px;
        line-height: 11px;
        font-weight: 700;
        color: #6800FF;
        text-align: center;
        border: 2px solid #6800FF;
        border-radius: 23px;
        padding: 5px 10px;
        height: fit-content;

        @media screen and (max-width: 1580px) {
          font-size: 11px;
          line-height: 10px;
        }

        @media screen and (max-width: 669px) {
          font-size: 8px;
          line-height: 9px;
        }
      }
    }

    .community-content {
      display: flex;
      flex-direction: column;
      /* justify-content: center; */
      align-items: center;
      background-color: rgba(104, 0, 255, 0.1);
      border-radius: 15px;
      padding: 20px 50px;
      gap: 20px;

      @media screen and (min-width: 991px) {
        height: 90%;
      }

      .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 150px;
        height: 150px;

        .background-community-icon {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          z-index: 1;
        }

        .foreground-img {
          position: relative;
          z-index: 2;
          /* width: 50px; */
        }
      }

      .block-title {
        font-size: 27px;
        line-height: 36px;
        font-weight: 700;
        color: #6800FF;
        text-align: center;

        @media screen and (max-width: 1580px) {
          font-size: 22px;
          line-height: 28px;
        }

        @media screen and (max-width: 960px) {
          font-size: 18px;
          line-height: 24px;
        }

        @media screen and (max-width: 669px) {
          font-size: 16px;
          line-height: 20px;
          text-align: center;
        }
      }

      .block-description {
        font-size: 20px;
        line-height: 26px;
        font-weight: 400;
        color: #222222;
        text-align: center;

        @media screen and (max-width: 1580px) {
          font-size: 18px;
          line-height: 22px;
        }

        @media screen and (max-width: 960px) {
          font-size: 16px;
          line-height: 20px;
        }

        @media screen and (max-width: 669px) {
          font-size: 14px;
          line-height: 18px;
          text-align: left;
        }
      }
    }
  }

  @media screen and (max-width: 991px){
    background-color: #fcfaff;
    padding-top: 30px;
  }
}