.custom-container {
    margin-left: 100px;
    margin-right: 100px;
}

.article-container{
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: space-evenly;
}

#article-content {
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 60px;
}

.article-box {
    /* border: 2px solid green; */
    /* border: 2px solid rgba(32, 33, 36, .1); */
    border-radius: 25px;
    min-height: 550px;
    min-width: calc(33% - 1rem);
    max-width: calc(33% - 1rem);
    margin-top: 50px;
}

.article-pic {
    margin-top: 10px;
}

.article-pic img {
    border-radius: 25px;
}

.article-title {
    margin-top: 10px;
    /* margin-bottom: 10px; */
}

.article-brief {
    max-height: 6em; /* Adjust the maximum height as needed */
    overflow:hidden;
}

.truncate-text {
    display: -webkit-box; /* For Webkit-based browsers */
    -webkit-line-clamp: 4; /* Limit the number of lines */
    -webkit-box-orient: vertical;
    line-height: 1.5em; /* Set line height to control the number of lines */
}

.article-button {
    margin-top: 20px;
    margin-bottom: 10px;
}

@media (min-width: 1440px) {
    .article-box {
        min-width: calc(25% - 1rem);
        max-width: calc(25% - 1rem);
    }
}

@media (max-width: 1199.98px) {
    .article-box {
        min-width: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    #article-content .custom-container {
        margin-left: 50px;
        margin-right: 50px;
    }
}

@media screen and (max-width: 740px){
    .article-container{
        flex-direction: column;
    }

    .article-box{
        max-width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 575.98px) {
    #article-content .custom-container {
        margin-left: 20px;
        margin-right: 20px;
    }
}