/* CSS Document */

/* 新闻列表容器 */
.news-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    list-style: none;
}

/* 单条新闻样式 */
.news-item {
    display: flex;
    padding: 20px 0;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
    transition: background-color 0.2s;
}

.news-item:hover {
    background-color: #f8f9fa;
}

/* 新闻图片 */
.news-image {
    width: 240px;
    height: 160px;
    margin-right: 25px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

/* 文字内容容器 */
.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-content a:hover{color:#666}
/* 新闻标题 */
.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 12px;
    line-height: 1.4;
    
    /* 单行省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-title a:hover{color:#2b6af4;}
/* 新闻简介 */
.news-summary {
    font-size: 14px;
    color: #636e72;
    line-height: 1.6;
    
    /* 多行省略 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-list {
        padding: 15px;
    }
    
    .news-item {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-summary {
        font-size: 13px;
    }
}

.newsbanner{width:100%;overflow: hidden;}
.newsbanner span{display:block;width:100%;font-size: 36px;line-height: 180px;color: #fff;text-align: center;background:url(/images/newsbg.png) no-repeat center center;}
.subnav{width:100%;height:60px;box-sizing:border-box;border-bottom:1px solid #d9d9d9;}
.subnav .ps{display:block;float:left;font-size:18px;line-height:59px;}
.subnav .ps{color:#000; font-weight:bold;}

.page{width:100%;margin-bottom:20px;}
.page a{padding:8px; color:#000; border:1px solid #CCC; margin-right:10px;}
.page a:hover{background:#2b6af4; color:#fff; border:1px solid #2b6af4 !important;}
.page_curr{background:#2b6af4; border:1px solid #2b6af4 !important; color:#fff !important;}


/* 文章容器 */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* 文章标题 */
.article-title {
    font-size: 32px;
    font-weight: 600;
    color: #2d3436;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* 文章元信息 */
.article-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    color: #636e72;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* 正文内容区域 */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
	min-height:500px;
}

/* 段落样式 */
.article-content p {
    margin-bottom: 1.5em;
    text-align: justify;
}

/* 图片样式 */
.article-content img {
    max-width: 100%;
    height: auto;
    
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: unset;
}
/* 修改新闻图片部分的样式 */
.news-image-container {
    width: 240px;
    height: 160px;
    margin-right: 25px;
    border-radius: 4px;
    flex-shrink: 0;
    overflow: hidden; /* 防止放大时溢出 */
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* 添加过渡效果 */
}

/* 图片悬停放大效果 */
.news-image-container:hover .news-image {
    transform: scale(1.05); /* 放大5% */
}

/* 同时可以添加其他悬停效果 */
.news-image-container:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 添加阴影 */
}
/* 引用块样式 */
.article-content blockquote {
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    padding: 15px 20px;
    margin: 20px 0;
    color: #555;
    font-style: italic;
}

/* 代码块样式 */
.article-content pre {
    background: #2d3436;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
}

/* 图片说明文字 */
.img-caption {
    text-align: center;
    color: #95a5a6;
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 25px;
}




/* 产品列表容器 */
/* 产品列表容器 */
.product-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* 列间距 */
}

/* 单个产品项 */
.product-item {
    flex: 0 0 calc(25% - 22.5px); /* (30px间隙×3)/4列 */
}
/* 图片容器 */
.product-image-link {
    display: block;
    width: 100%;
    height: auto; /* 固定容器高度 */
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

/* 产品图片 */
.product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 图片悬停效果 */
.product-image-link:hover .product-image {
    transform: scale(1.05);
}

/* 产品名称 */
.product-name {
    text-align: center;
	line-height:40px;
}

.product-name a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #e74c3c; /* 悬停颜色 */
}
















