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

  .content {
    margin-top: 20px;

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

    .payment {
      margin-left: 20px;
      padding: 6px;
      font-size: 14px;
      color: #f60707;
      background-color: #fefefe;
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
      border-radius: 4px;
    }

    .payed {
      margin-left: 20px;
      padding: 5px;
      font-size: 12px;
      color: #333333;
      background-color: #e5e5e5;
      border-radius: 8px;
    }

    .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 {
          width: 777px;
          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;
      }

      .payment {
        margin-left: 20px;
        padding: 5px;
        font-size: 14px;
        color: #f60707;
        background-color: #e7dbdb;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
      }

      .payed {
        margin-left: 20px;
        padding: 5px;
        font-size: 12px;
        color: #333333;
        background-color: #e5e5e5;
        border-radius: 8px;
      }

      .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;
          }
        }
      }
    }
  }
}
