* {box-sizing:border-box;margin:0;padding:0;font-family:  Georgia,sans-serif;}
.container {max-width:1400px;margin:0 auto;padding:60px 20px;}
.news-section {margin-top:60px;}
.news-head {display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;}
.news-head h2 {font-size:32px;}
.search-bar {padding:10px 14px;border:1px solid #ccc;border-radius:6px;width:280px;}

.news-block-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f2c66;
    margin-bottom: 30px;
    padding-bottom:14px;
    position:relative;
}
.news-block-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:200px;
    height:3px;
    background:linear-gradient(90deg,#4056c9,#40c98e);
}

.news-grid {
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:24px;
}
.news-card {
    border:1px solid #e5e7eb;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    transition:0.2s;
}
.news-card:hover {box-shadow:0 8px 20px #00000015;}
.news-card-img {width:100%;height:200px;object-fit:cover;display:block;}
.news-card-body {padding:20px;display:flex;flex-direction:column;gap:12px;}
.news-card-category {color:#2563eb;font-size:18px;font-weight:600;}
.news-card-date {color:#666;font-size:16px;margin-left:8px;}
.news-card h3 {
    font-size:28px;
    line-height:1.2;
    text-align: justify;
    color: #1e49b1;
    text-transform: capitalize;
    letter-spacing: 0.1px;
}
.news-card p {
    color:#444;line-height:1.2;font-size:24px;flex-grow:1;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.news-card a {text-decoration:none;color:inherit;}
.learn-more {
    display:inline-block;
    margin-top:8px;
    width:fit-content;
    padding:8px 14px;
    background:#2563eb;
    color:#fff !important;
    border-radius:6px;
    font-size:14px;
}
.learn-more:hover {background:#1d4ed8;}

.pagination {
    margin-top:40px;
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
    justify-content:center;
}
.pagination button {
    padding:10px 16px;
    border:1px solid #2563eb;
    background:#fff;
    border-radius:6px;
    cursor:pointer;
    font-size:15px;
}
.pagination button:hover:not(:disabled) {
    background:#2563eb;
    color:#fff;
}
.pagination button:disabled {
    opacity:0.35;
    cursor:not-allowed;
    border-color:#aaa;
}
.pagination button[aria-current="page"] {
    background:#2563eb;
    color:#fff;
}
.empty-tip {grid-column:1/-1;text-align:center;padding:60px;color:#666;font-size:16px;}

/* ========== 新增分层响应式 ========== */
@media (max-width: 1200px) {
    .container {
        padding: 40px 20px;
    }
    .news-card h3 {
        font-size: 26px;
    }
    .news-card p {
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-head h2 {
        font-size: 26px;
    }
    .news-block-title {
        font-size: 22px;
    }
}

@media (max-width: 720px) {
    .news-grid {
        gap: 18px;
    }
    .search-bar {
        width: 100%;
    }
    .news-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 24px 16px;
    }
    .news-section {
        margin-top: 36px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card-img {
        height: 160px;
    }
    .news-card h3 {
        font-size: 22px;
    }
    .news-card p {
        font-size: 17px;
    }
    .news-head h2 {
        font-size: 22px;
    }
    .news-block-title {
        font-size: 20px;
    }
    .pagination button {
        padding: 8px 12px;
        font-size: 14px;
    }
}
