.news_bg {
    padding: 0;
    margin-bottom: 40px;
}

.news_box {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.news_card {
    margin: 15px;
    padding: 15px;
    box-sizing: border-box;
    border: 2px solid #e4e4e4;
    border-radius: 3px;
    position: relative;
}

.news_card_img {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.news_card_img img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s;
    object-fit: cover;
}

.news_card_detail {
    padding: 20px 15px;
    box-sizing: border-box;
}

.news_card_detail h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 22px;
    line-height: 30px;
    min-height: 60px;
    transition: 400ms;
}

.news_card:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, .04), 0 8px 8px rgba(0, 0, 0, .04), 0 4px 8px rgba(0, 0, 0, .04);
}

.news_date {
    display: block;
    font-size: 16px;
    color: #555;
}

.news_card {
    width: 370px;
    height: 450px;
    font-size: 0;
    cursor: pointer;
    transition: 400ms;
}

.read_more {
    font-size: 14px;
    color: #B9153D;
    margin-top: 20px;
    display: inline-block;
}

.read_more::before {
    background-color: #f85e3a;
}

.pagination_box {
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}


.detail_content_container {
    padding: 50px 0;
}

.article_title {
    font-size: 34px;
    color: #1b1b1b;
}

.article_date {
    font-size: 18px;
    color: #666;
}

.article_img_box {
    width: 800px;
    height: 450px;
    margin: 30px auto;
}

.article_img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article_content p {
    font-size: 18px;
    line-height: 28px;
    color: #333;
    margin-top: 20px;
}

.date_box {
    position: absolute;
    left: 30px;
    top: 30px;
    font-size: 16px;
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 5px 3px 15px rgba(0, 0, 0, .2);
}

.date_day {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    line-height: 22px;
}

.date_month {
    font-size: 14px;
    color: #555;
    font-weight: bold;
}

.news_icon {
    width: 20px;
    margin-right: 5px;
}

.news_date_box {
    display: flex;
    margin-top: 20px;
    align-items: center;
}

.article_content h1,
.article_content h2,
.article_content h3 {
    font-size: 20px;
    margin-top: 10px;
}
@media screen and (max-width: 767px) {
    .news_card {
        box-shadow: 0 16px 32px rgba(0, 0, 0, .04), 0 8px 8px rgba(0, 0, 0, .04), 0 4px 8px rgba(0, 0, 0, .04);
    }

    .news_box {
        padding: 15px;
        box-sizing: border-box;
        margin-top: 0px;
    }

    .news_card {
        width: 100%;
        margin: 0 0 15px 0;
    }

    .article_img_box {
        width: 100%;
        height: 250px;
        margin: 15px auto;
    }

    .detail_content_container {
        padding: 15px;
    }

    .article_title {
        font-size: 24px;
        text-align: center;
    }

    .article_date {
        font-size: 16px;
        margin-top: 15px;
    }

    .article_content p {
        font-size: 15px;
        line-height: 26px;
        margin-top: 15px;
    }

    .pagination_box {
        margin-top: 5px;
    }

    .news_bg {
        margin: 0 0 15px 0;
    }

    .news_title_content {
        padding: 10px;
    }


}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    .news_box {
        justify-content: center;
    }
}