.news-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 1200px;
    margin: 100px auto 200px;
}
.news-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: calc((100% - 40px) / 3); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 20px 0px;
}
.news-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease; 
}

.news-item:hover img {
    transform: scale(1.05); 
}

.news-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-time {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}
.news-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}
.news-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}
.news-link {
    font-size: 14px;
    color: #d30014;
    text-decoration: none;
    align-self: flex-start;
    border: 1px solid #d30014;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.news-link:hover {
    background-color: #d30014;
    color: #fff;
}


@media (max-width: 768px) {
    .news-list{
        width: 95%;
    }
    .news-item {
        width: 100%;
        
    }
}