.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 全屏Banner样式 */
.fullscreen-banner {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.banner-slides {
    width: 400%;
    height: 100%;
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.banner-slide {
    width: 25%;
    height: 100%;
    position: relative;
}

.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transition: all 0.3s ease;
}

.slide-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.slide-content p {
    font-size: 18px;
    max-width: 600px;
    opacity: 0.9;
}

/* 导航指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 20;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* 控制按钮 */
.banner-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 20;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .slide-content h3 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .fullscreen-banner {
        height: 500px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h3 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .fullscreen-banner {
        height: 400px;
    }

    .slide-content {
        text-align: center;
        padding: 15px;
    }

    .slide-content h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .banner-controls {
        padding: 0 10px;
    }

    .control-btn {
        width: 35px;
        height: 35px;
    }
}

/* 内容区域样式 */
.content-section {
    padding: 60px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 水平居中所有子元素 */
}

.content-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #150974;
}

.content-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555;
}

.content-section .p_subtitle {
    color: rgba(0, 0, 0, 0.4);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 页脚样式 */
footer {
    margin-top: 30px;
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3498db;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 10px;
    color: #3498db;
    width: 20px;
    text-align: center;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 15px;
    color: #3498db;
    font-size: 20px;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #3498db;
    font-size: 14px;
    color: #bdc3c7;
}

.footer-bottom p {
    color: #fff;
}

.footer-bottom a {
    color: #3498db;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }

    .content-section {
        padding: 40px 20px;
    }
}

/* 横幅图片样式 - 修改为填满左右空间，高度400px */
.banner-secondary {
    width: 100%;
    height: 400px;
    margin-bottom: 1px;
    overflow: hidden;
    position: relative;
    margin-top: 0;
    /* 修改点：确保无负边距 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.banner-secondary-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sub-nav {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sub-nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 2;
}

.sub-nav-item {
    position: relative;
}

/* 添加分隔竖线 */
.sub-nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: rgba(0, 0, 0, 1);
}

.sub-nav-link {
    display: block;
    padding: 18px 30px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.sub-nav-link:hover {
    color: #ffffff;
    background-color: rgba(60, 116, 237, 0.8);
    border-bottom: 3px solid #ff5722;
}

.sub-nav-link.active {
    color: #ffffff;
    background-color: rgba(60, 116, 237, 0.8);
    border-bottom: 3px solid #ff5722;
}

/* 固定按钮容器 */
.fixed-buttons {
    position: fixed;
    right: 20px;
    top: 70%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

/* 通用按钮样式 */
.fixed-btn {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 20;
    padding: 10px 5px;
}

/* 前三个按钮的通用样式 - 深蓝色 */
.btn-1,
.btn-2,
.btn-3 {
    background-color: rgba(25, 55, 109, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* 第四个按钮的特殊样式 - 深蓝色变体 */
.btn-4 {
    background-color: rgba(41, 128, 185, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* 按钮悬停效果 */
.fixed-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* 信息块样式 */
.info-block {
    position: absolute;
    right: 105px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60px;
    background-color: rgba(25, 55, 109, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 5;
    pointer-events: none;
}

/* 修改第三个按钮的信息块样式 */
.btn-3 .info-block {
    width: 0;
    height: 0;
    /* 初始高度改为0 */
    background-color: rgba(25, 55, 109, 0.95);
    /* 提高不透明度 */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 0;
    /* 初始无内边距 */
}

/* 悬停时显示信息块 */
.fixed-btn:hover .info-block {
    width: 200px;
    opacity: 1;
    padding: 0 20px;
}

.btn-1:hover .info-block {
    width: 270px;
    opacity: 1;
    padding: 0 20px;
}

/* 悬停时显示二维码信息块 */
.btn-3:hover .info-block {
    width: 150px;
    /* 二维码宽度 */
    height: 150px;
    /* 二维码高度，保持正方形 */
    opacity: 1;
    padding: 10px;
    /* 添加内边距 */
}

/* 移除原有的文字内容，添加二维码图片 */
.btn-3 .info-block::after {
    content: "";
    /* 清空原有文字 */
    display: none;
    /* 隐藏伪元素 */
}

/* 添加二维码图片样式 */
.qr-code {
    width: 130px;
    /* 图片宽度 */
    height: 130px;
    /* 图片高度 */
    background-image: url('/data/pic/material/云水电能公众号.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
}

/* 按钮图标 */
.btn-icon {
    font-size: 28px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

/* 按钮描述文字 */
.btn-desc {
    font-size: 12px;
    text-align: center;
    line-height: 1.2;
}

/* 特定按钮的信息块内容 */
.btn-1 .info-block::after {
    content: "400-808-8153 / 13261127749";
}

.btn-2 .info-block::after {
    content: "kaiyunhongda@163.com";
}

/* 响应式调整 */
@media (max-width: 768px) {
    .fixed-buttons {
        right: 10px;
        gap: 3px; /* 缩小按钮间距 */
    }

    .fixed-btn {
        width: 60px; /* 缩小按钮宽度 */
        height: 60px; /* 缩小按钮高度 */
        padding: 8px 3px; /* 调整内边距 */
        border-radius: 8px; /* 稍微调整圆角 */
    }

    .btn-icon {
        font-size: 20px; /* 缩小图标大小 */
        margin-bottom: 5px; /* 调整图标与文字的间距 */
    }

    .btn-desc {
        font-size: 10px; /* 缩小描述文字 */
        line-height: 1.1; /* 调整行高 */
    }

    .info-block {
        right: 75px; /* 调整信息块位置 */
        height: 50px; /* 缩小信息块高度 */
        font-size: 12px; /* 缩小信息块内文字 */
    }

    .fixed-btn:hover .info-block {
        width: 160px; /* 缩小信息块宽度 */
        padding: 0 15px; /* 调整内边距 */
    }

    .btn-1:hover .info-block {
        width: 220px; /* 缩小电话号码信息块宽度 */
    }

    /* 二维码信息块在手机端的调整 */
    .btn-3:hover .info-block {
        width: 120px; /* 缩小二维码宽度 */
        height: 120px; /* 缩小二维码高度 */
        padding: 8px; /* 调整内边距 */
    }

    .qr-code {
        width: 104px; /* 缩小二维码图片 */
        height: 104px; /* 缩小二维码图片 */
    }
}

/* 超小屏幕额外调整 */
@media (max-width: 480px) {
    .fixed-buttons {
        right: 8px;
        gap: 2px;
    }

    .fixed-btn {
        width: 55px;
        height: 55px;
    }

    .btn-icon {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .btn-desc {
        font-size: 9px;
    }

    .info-block {
        right: 65px;
        height: 45px;
    }

    .btn-3:hover .info-block {
        width: 110px;
        height: 110px;
    }

    .qr-code {
        width: 94px;
        height: 94px;
    }
}

/* 特性容器样式 */
.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* 特性卡片样式 */
.feature-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 450px;
    min-height: 500px;
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* 特性链接样式 */
.feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* 特性图片样式 */
.feature-image {
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

/* 特性内容样式 */
.feature-content {
    padding: 20px;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 特性描述样式 */
.feature-description {
    color: #666;
    font-size: 1.2rem;
    line-height: 2;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .features-container {
        gap: 20px;
    }

    .feature-card {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        max-width: 100%;
    }
}

/* 页面标题 */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    padding: 60px 0 40px;
}

.page-title h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.page-title p {
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* 单行新闻布局 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 300px;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    flex: 1;
}

.news-date {
    color: #3498db;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.news-excerpt {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 3px;
}

.read-more:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s;
}

.read-more:hover:after {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .page-title h1 {
        font-size: 28px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
        height: 200px;
    }
}

/* 公众号头部样式 */
.wechat-header {
    text-align: center;
    padding: 20px 0 15px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 20px;
}

.wechat-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.wechat-id {
    font-size: 12px;
    color: #999;
}

/* 文章标题区域 */
.article-header {
    margin-bottom: 25px;
}

.article-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    text-align: left;
}

.article-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #8c8c8c;
    margin-bottom: 20px;
}

.article-date {
    margin-right: 15px;
}

.article-source {
    color: #576b95;
}

/* 文章内容样式 */
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
}

.article-content .image-caption {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px;
    padding-left: 10px;
    border-left: 4px solid #07C160;
}

.article-content blockquote {
    background-color: #f9f9f9;
    border-left: 4px solid #e0e0e0;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

/* 分割线 */
.divider {
    height: 1px;
    background-color: #e6e6e6;
    margin: 30px 0;
}

/* 相关文章推荐 */
.related-articles {
    margin-top: 40px;
    border-top: 1px solid #e6e6e6;
    padding-top: 20px;
}

.related-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.related-list {
    list-style: none;
}

.related-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e6e6e6;
}

.related-item:last-child {
    border-bottom: none;
}

.related-link {
    color: #576b95;
    text-decoration: none;
    font-size: 15px;
    display: block;
}

/* 响应式调整 */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-content {
        font-size: 16px;
    }
}

.image-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.image-box {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.image-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.image-box.left {
    flex: 0 0 40%;
}

.image-box.right {
    flex: 0 0 56%;
}

.image-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-box:hover .image-wrapper img {
    transform: scale(1.05);
}

.image-content {
    padding: 25px;
    text-align: left;
}

.image-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1a365d;
}

.image-content p {
    color: #666;
    margin-bottom: 15px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: #3a7bd5;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.image-link:hover .learn-more {
    color: #1a4a8f;
}

.image-link:hover .learn-more:after {
    transform: translateX(5px);
}

@media (max-width: 768px) {

    .image-box.left,
    .image-box.right {
        flex: 0 0 100%;
    }
}