a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}


/* ===== 页面主体 ===== */
.news-section {
    padding: 60px 0;
    max-width: 1440px; /* 限制最大宽度，大屏居中 */
    margin: 0 auto;
}

/* ===== 卡片主结构 ===== */
.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    /* 极其细腻的悬浮阴影 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

/* 悬停时卡片上浮 + 阴影加深 */
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* ===== 图片区域 ===== */
.news-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10; /* 强制图片比例，保证网格整齐 */
    overflow: hidden;
    background: #f5f5f7;
    position: relative;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 悬停时图片微微放大 */
.news-card:hover .news-img-wrap img {
    transform: scale(1.04);
}

/* ===== 内容区域 ===== */
.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 标题：最多两行，自动省略 */
.news-title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 悬停标题变品牌蓝 */
.news-card:hover .news-title {
    color: #0071e3;
}

/* 摘要：最多三行，自动省略，颜色较浅 */
.news-desc {
    font-size: 14px;
    color: #86868b;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 16px;
    flex: 1; /* 撑开内容，让底部对齐 */
}

/* 底部时间（可选，截图里没有但通常需要） */
.news-meta {
    font-size: 12px;
    color: #a1a1a6;
    margin-top: auto;
    display: flex;
    align-items: center;
}

/* ===== 响应式微调 ===== */
@media (max-width: 768px) {
    .news-section {
        padding: 30px 16px;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-desc {
        font-size: 13px;
    }
}
