
/* ===== 首页最新文章：两列卡片网格 ===== */
.news-section-home {
    padding: 55px 0;
    background: #f5f8ff;
}

.news-title-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 44px;
}

.news-title-home::before,
.news-title-home::after {
    content: "";
    width: 72px;
    height: 3px;
    background: #165dff;
    border-radius: 4px;
}

.news-title-home h2 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
}

.news-list-home {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 26px;
}

.news-item-home {
    background: #ffffff;
    border: 1px solid #e8eeff;
    border-radius: 14px;
    padding: 24px 28px;
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.65;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(22, 93, 255, 0.05);
    transition: all 0.25s ease;
    min-width: 0;
}

.news-item-home:hover {
    border-color: #165dff;
    color: #165dff;
    box-shadow: 0 12px 28px rgba(22, 93, 255, 0.13);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .news-title-home {
        gap: 12px;
        margin-bottom: 30px;
    }

    .news-title-home::before,
    .news-title-home::after {
        width: 36px;
    }

    .news-title-home h2 {
        font-size: 1.3rem;
    }

    .news-list-home {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-item-home {
        padding: 18px 20px;
        font-size: 0.98rem;
    }
}