
h2 {
    margin-bottom: .1rem;
}
.news {
    margin-top: 120px;    
}

.news-list {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    height: auto;
    overflow: hidden;
}

.news-list-left {
    float: left;
    flex-direction: row;
    display: flex;
    color: #333;
    font-size: 16px;
}

.active {
    color: #407AFF;
}

.news-list-left div {
    display: inline-block;
    padding: 6px 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    color: #333;
    margin-right: 24px;
    cursor: pointer;
}

.news-list-right {
    float: right;
    width: 30%;
    border: none;
    max-width: 250px;
    height: 40px;
    background: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .06);
    border-radius: 32px;
    display: flex;
    padding-left: 20px;
    margin-left: auto
}

.search-text {
    width: 85%;
    height: 40px;
    background-color: transparent;
    border: none;
    border-radius: 20px;
    padding: 0 10px;
    outline-style: none;
    font-size: 12px;
    margin-top: auto;
}

.search-icon {
    width: 15%;
    vertical-align: middle;
    height: 30px;
    margin-top: auto;
    cursor: pointer;
}

.search-icon img {
    width: 15px;
    height: auto;
    display: block;
}

.active {
    color: #007bff !important;
    border: 2px solid #007bff !important;
}

.item {
    display: flex;
    margin: 0 0;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    overflow: hidden;
}

.category-posts .time {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-posts .time .day {
    width: 62px;
    text-align: center;
    font-size: 34px;
    margin: 0 auto;
    font-weight: bold;
    padding: 5px;
    border: 2px solid black;
    border-radius: 3px;
    margin-top: 6px;
}

.desc {
    padding-left: 40px;
    flex: 1;
    overflow: hidden;
}

.desc h2 {
    cursor: pointer;
}

.category-posts .item .m-time {
    margin-bottom: 10px;
    color: #666;
    font-size: 16px;
}

.category-posts .item .remark {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #666;
    font-size: 16px;
    max-height: 75px;
}

.category-posts .item .detail {
    display: none;
    text-align: right;
    color: #ed4e4f;
    margin-top: 10px;
    font-size: 16px;
}
.category-posts .item h2 {
    font-size: 19px;
    font-weight: bold;
}

.information-url {
    padding-left: 40px;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.information-url img {
    max-width: 100%;
    height: 130px;
    width: 234px;
    object-fit: cover;
    border-radius: 3px;
}

.activity-category-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.activity-category-posts .item {
    flex-direction: column;
    width: 49%;
    align-items: flex-start;
}

.activity-category-posts .activity-url {
    padding-left: 0;
    width: 100%;
    margin-bottom: 15px;
    display: block;
    overflow: hidden;
}

.activity-category-posts .activity-url img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    cursor: pointer;
}

.activity-category-posts .desc {
    padding: 0;
    width: 100%;
}

.img-post {
    max-width: 100%;
}

@media (min-width: 768px) {
    .m-time {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .news {
        margin-top: 100px;
    }
    .active{
        border: 0 !important;
    }
    .news-list-left {
        float: none !important;
        justify-content: space-between;
    }
    .news-list-left div {
        display: flex;
        border: 0;
        color: #333;
        /* margin-left: 10px; */
        padding: 0 !important;
        margin-right: 0 !important;
    }
    .category-posts .item .detail {
        display: block;
    }
    .category-posts .time {
        display: none;
    }
    .category-posts .item {
        flex-direction: column;
        border-bottom: 1px solid #e5e5e5;
        align-items:normal
    }
    .category-posts .item .desc {
        padding-left: 0;
        max-width: 100%;
    }
    .news-list-right {
        width: 60%;
        margin-top: 10px;
    }
    .activity-category-posts .item {
        width: 100%;
    }
    .activity-category-posts .activity-url img, .information-url img {
        width: 100%;
        height: auto;
        max-height: 172px;
    }
    .information-url {
        width: 100%;
        padding-left: 0;
        margin-bottom: 15px;
    }
}