/* 新闻板块样式 - 4:3图片 + 5条/行 + 1430px最大宽度 */
.ict-news {
    background: #f9fafb;
    padding: 40px 0;
    margin-bottom: 30px;
}
.ict-news .ncon {
    max-width: 1430px; /* 最大宽度1430px */
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.ict-news .title {
    font-size: 28px;
    color: #1d2129;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 600;
}
.ict-news .title-p {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}
/* 核心：5列布局 + 紧凑间距（适配4:3图片） */
.news-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 每行5条 */
    gap: 18px; /* 微调间距，适配4:3图片比例 */
}
.news-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    height: 100%;
}
.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}
/* 关键：4:3比例图片容器（无拉伸） */
.news-img {
    width: 100%;
    /* 4:3比例计算：高度 = 宽度 * 3/4，用padding-top实现固定比例 */
    padding-top: 75%; /* 4:3 = 3/4 = 75%，完美适配无拉伸 */
    position: relative;
    overflow: hidden;
}
.news-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 裁剪多余部分，保持比例不拉伸 */
    display: block;
}
/* 紧凑文字区域（适配4:3图片高度） */
.news-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-info h4 {
    font-size: 14px;
    color: #1d2129;
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 标题最多2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-date {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    margin-top: auto;
}
.news-date:before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    background: #999;
    border-radius: 50%;
    margin-right: 5px;
}
/* 查看更多按钮 */
.news-more {
    text-align: center;
    margin-top: 30px;
}
.news-more a {
    padding: 10px 24px;
    background: #1890ff;
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.news-more a:hover {
    background: #096dd9;
    transform: scale(1.03);
}
/* 响应式适配（保证4:3比例+5列布局适配不同屏幕） */
@media (max-width: 1430px) {
    .ict-news .ncon {
        padding: 0 30px;
    }
}
@media (max-width: 1200px) {
    .news-list {
        grid-template-columns: repeat(4, 1fr); /* 大屏平板4列 */
        gap: 15px;
    }
}
@media (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(3, 1fr); /* 平板3列 */
        gap: 15px;
    }
}
@media (max-width: 768px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr); /* 小平板2列 */
        gap: 12px;
    }
    .news-img {
        padding-top: 70%; /* 移动端微调比例，更紧凑 */
    }
}
@media (max-width: 576px) {
    .news-list {
        grid-template-columns: 1fr; /* 手机端1列 */
        gap: 12px;
    }
    .news-img {
        padding-top: 66.67%; /* 移动端3:2比例，视觉更优 */
    }
    .news-info h4 {
        font-size: 15px;
    }
}