/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    color: #333;
}

p {
    color: #666;
}
.article_img img {

display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 300px;
            background-color: #f0f0f0;
        }
.image-container {
            position: relative;
            display: inline-block;
           border: 2px solid red;
        }
 .image-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 24px;
            font-weight: bold;
            text-align: center;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

.btn {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

  /* 未访问链接样式 */
        a:link {
            color: black;
            text-decoration: none;
        }

        /* 已访问链接样式 */
        a:visited {
            color: black;
        }

        /* 鼠标悬停时的样式 */
        a:hover {
            color: red;
            text-decoration: underline;
        }

        /* 鼠标点击时的样式 */
        a:active {
            color: green;
        }
/* 导航栏 */
nav {
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}



.logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #007BFF;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
    background-image: url('#');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center; 

    justify-content: center; 

   text-align: center; 

}

.hero-content {
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
}

/* 关于我们 */
.about {
    background-color: #f8f9fa;
}

/* 产品与服务 */
.product-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product-card {
    width: 30%;
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: auto;
border-radius: 15px; 
}

.product-card h3 {
    padding: 20px;
    margin: 0;
}

.product-card p {
    padding: 0 20px 20px;
    margin: 0;
}

.product-card .btn {
    margin: 0 20px 20px;
}

/* 新闻动态 */
.news-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-card {
    width: 48%;
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.news-card img {
    width: 100%;
    height: auto;
object-fit: cover;
    border-radius: 15px;
}

.news-card h3 {
    padding: 20px;
    margin: 0;
}

.news-card p {
    padding: 0 20px 20px;
    margin: 0;
}

.news-card .btn {
    margin: 0 20px 20px;
}
/*文字新闻*/
 .news-container {
            width: 80%;
            max-width: 1155px;
            margin: 1px auto;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
.news-container a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    color: #000000;
}
       .news-item {
            border-bottom: 1px solid #eee;
            padding: 15px 0;
        }

       .news-item:last-child {
            border-bottom: none;
        }

       .news-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }

       .news-date {
            font-size: 12px;
            color: #888;
            margin-bottom: 10px;
        }

       .news-content {
            font-size: 12px;
            line-height: 1.1;
        }
/* 联系我们 */
.contact form {
    display: flex;
    flex-direction: column;
}

.contact form input,
.contact form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact form input[type="submit"] {
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact form input[type="submit"]:hover {
    background-color: #0056b3;
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: #333;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .product-card,
    .news-card {
        width: 100%;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* 最新新闻、行业动态、专题报道样式 */
.latest-news,
.industry-news,
.special-report {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.latest-news h2,
.industry-news h2,
.special-report h2 {
    font-size: 24px;
    margin-bottom: 20px;
}



.news-article {
    display: flex;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.news-article img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin-right: 20px;
border-radius: 15px; 
}

.news-content {
    flex: 1;
}

.news-content h3 {
    margin-top: 0;
}

.news-date {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.news-summary {
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #007BFF;
    text-decoration: none;
    margin-top: 10px;
}

.read-more:hover {
    text-decoration: underline;
}
/*多行新闻*/
main {
    display: flex;
    max-width: 1200px;
    margin: 1px auto;
    padding: 10px;
}

.left-content {
    flex: 2;
    margin-right: 20px;
}
.daohang{
	width: 100%;
	background-color: #333;
    color: white;
    display: flex;
    text-align: center;
    align-items: center;
    padding: 5px;
	display: flex;
    
    margin: 1px auto;
    padding: 10px;
}
.daohang2{
	width: 100%;
	background-color: #333;
    color: white;
    display: flex;
    text-align: center;
    align-items: center;
    padding: 5px;
	display: flex;
    max-width: 1200px;
    margin: 1px auto;
    padding: 1px;
}
.daohang a{
	color: white;
	font-size:10px;
	
}
.news-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px; /* 减小内边距 */
    margin-bottom: 10px; /* 减小新闻项之间的间距 */
}

.news-item h2 {
    margin-top: 0;
    font-size: 18px; /* 减小标题字体大小 */
}

.news-date {
    color: #777;
    font-size: 0.8em; /* 减小日期字体大小 */
    margin-bottom: 5px; /* 减小日期与摘要的间距 */
}

.news-summary {
    line-height: 1.4; /* 减小行高 */
    font-size: 0.9em; /* 减小摘要字体大小 */
}

.news-read-more {
    display: inline-block;
    color: #007BFF;
    text-decoration: none;
    margin-top: 5px; /* 减小阅读更多链接与摘要的间距 */
    font-size: 0.9em; /* 减小阅读更多链接字体大小 */
}

.news-read-more:hover {
    text-decoration: underline;
}
.pagination {
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 5px;
}

.pagination a:hover {
    background-color: #0056b3;
}
.pagination ul{
	display: flex;
	list-style-type: none;
}
.pagination li {
   
}

.pagination li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.pagination li a.active {
    background-color: #000;
    color: white;
    border-color: #000;
}
.right-content {
    flex: 1;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
}

.right-content h2 {
    margin-top: 0;
}

.recommended-news {
    margin-bottom: 20px;
}

.recommended-news h3 {
    margin-top: 0;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

/*产品评论*/
.product-reviews {
            background-color: #f9f9f9;
            padding: 20px;
            border-radius: 5px;
        }

        .product-reviews h2 {
            color: #555;
        }

        .review {
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 10px;
            margin-bottom: 10px;
        }

        .review p {
            margin: 0;
        }

        .review .review-author {
            font-weight: bold;
            margin-bottom: 5px;
        }
/*产品图片自适应*/
/* 方法二：使用 object-fit 属性 */
        .img-object-fit img {
            width: 100%;
            height: 100%; /* 可根据需求调整高度 */
            object-fit: cover;
			align-content: center
        }
/*产品展示*/
.col-lg-6.blog-button-right {
    text-align: left;
}
.col-lg-6.call-do-button-right {
    text-align: left;
}
