@import (reference) '~antd/es/style/themes/index';

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;

  .content {
    margin-top: 20px;

    .articleTitle {
      font-size: 18px;
      color: #333333;
      font-weight: 600;
    }

    .articleContent {
      font-size: 16px;
      line-height: 30px;
      margin-top: 12px;
      color: #555555;
      text-align: justify;
    }

    .articleList {
      width: 1160px;
      margin-top: 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;


      .articleItem {
        display: flex;
        flex-direction: row;
        border-radius: 4px;
        overflow: hidden;

        .articleText {
          padding: 24px;
          background: white;
          height: 220px;
          text-overflow: ellipsis;
          overflow: hidden;
        }

        .articleImg {
          width: 315px;
          height: 212px;
          margin-right: 20px;
          object-fit: cover;
        }
      }
    }
  }
}

@media screen and (max-width: 767px) {
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;

    .content {
      margin-top: 50px;

      .articleTitle {
        font-size: 18px;
        color: #333333;
        font-weight: 600;
      }

      .articleContent {
        font-size: 16px;
        line-height: 30px;
        margin-top: 12px;
        color: #555555;
        text-align: justify;
      }

      .articleList {
        width: 90%;
        margin-top: 40px;
        display: flex;
        margin-left: 5%;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        background: #FFFFFF;

        .articleItem {
          display: flex;
          flex-direction: column;
          border: #EEEEEE 1px solid;
          border-radius: 4px;

          .articleText {
            padding: 20px;
            background: white;
            height: 310px;
          }

          .articleImg {
            width: 100%;
            height: 220px;
            object-fit: cover;
            overflow: hidden;
          }
        }
      }
    }
  }
}

