* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei",sans-serif
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

a {
    text-decoration: none;
    color: #333
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    display: block
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #222;
    font-size: 24px;
    position: relative
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #0066cc;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #0066cc;
    color: #fff;
    border-radius: 3px;
    transition: .3s;
    border: none;
    cursor: pointer
}

.btn:hover {
    background: #0052a3
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #0066cc
}

.nav-menu {
    display: flex
}

.nav-menu li {
    margin-left: 25px
}

.nav-menu a {
    font-size: 16px;
    padding: 10px 0;
    position: relative
}

.nav-menu a:hover {
    color: #0066cc
}

.active {
    font-weight: 600;
    color: #0066cc;
}

.banner {
    margin-top: 70px;
    height: 420px;
    background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.3)),url(https://picsum.photos/id/1068/1920/1080) center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center
}

.banner-content h1 {
    font-size: 42px;
    margin-bottom: 20px
}

.banner-content p {
    font-size: 17px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

section {
    padding: 60px 0
}

.about {
    background: #f8f9fa
}

.about-content {
    display: flex;
    gap: 30px;
    align-items: center
}

.about-left,.about-right {
    flex: 1
}

.about-right p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
    font-size: 16px
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px
}

.product-item {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    transition: .3s
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.1)
}

.product-info {
    padding: 20px;
    text-align: center
}

.product-info h3 {
    margin-bottom: 10px;
    color: #333
}

.product-info p {
    color: #666;
    margin-bottom: 15px
}

.case {
    background: #f8f9fa
}

.case-list {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px
}

.case-item {
    border-radius: 5px;
    overflow: hidden
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px
}

.news-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 20px
}

.news-date {
    width: 70px;
    height: 70px;
    background: #0066cc;
    color: #fff;
    text-align: center;
    padding-top: 12px;
    flex-shrink: 0
}

.news-date span {
    display: block;
    font-size: 20px;
    font-weight: 700
}

.news-content h3 {
    margin-bottom: 10px;
    color: #333
}

.news-content p {
    color: #666;
    line-height: 1.6
}

.contact {
    background: #f8f9fa
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px
}

.contact-info p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8
}

.contact-form input,.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    outline: 0;
    font-size: 16px
}

.contact-form textarea {
    height: 120px;
    resize: none
}

.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 25px 0
}

.footer p {
    font-size: 14px;
    color: #ccc
}

@media (max-width: 1200px) {
    .container {
        width:100%
    }
}

@media (max-width: 768px) {
    .container {
        padding:0 12px
    }

    .nav {
        height: auto;
        padding: 12px 0;
        flex-direction: column
    }

    .logo {
        margin-bottom: 12px
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px
    }

    .nav-menu li {
        margin: 0 8px
    }

    .nav-menu a {
        font-size: 15px;
        padding: 8px 5px
    }

    .banner {
        margin-top: 110px;
        height: 300px
    }

    .banner-content h1 {
        font-size: 28px
    }

    .banner-content p {
        font-size: 15px;
        padding: 0 10px
    }

    section {
        padding: 40px 0
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px
    }

    .about-content {
        flex-direction: column;
        gap: 25px
    }

    .product-list,.case-list {
        grid-template-columns: repeat(2,1fr)
    }

    .news-list,.contact-content {
        grid-template-columns: 1fr
    }

    .news-item {
        gap: 12px
    }

    .news-date {
        width: 60px;
        height: 60px;
        padding-top: 8px
    }

    .news-date span {
        font-size: 18px
    }

    .contact-form input,.contact-form textarea {
        padding: 12px
    }

    .btn {
        width: 100%;
        padding: 14px 0;
        font-size: 16px
    }

    .about-right p,.contact-info p {
        font-size: 15px;
        line-height: 1.7
    }
}

@media (max-width: 480px) {
    .banner {
        height:260px
    }

    .banner-content h1 {
        font-size: 24px
    }

    .nav-menu li {
        margin: 0 5px
    }

    .nav-menu a {
        font-size: 14px
    }
}


 
        .page-banner { margin-top: 70px; height: 240px; background: #0066cc; color: #fff; display: flex; align-items: center; justify-content: center; }
        .breadcrumb { background: #f8f9fa; padding: 15px 0; border-bottom: 1px solid #eee; }
        .news-detail { padding: 60px 0; }
        .news-detail-layout { display: flex; gap: 30px; align-items: flex-start; }
        .news-detail-main { flex: 1; min-width: 0; }
        .news-sidebar { width: 300px; flex-shrink: 0; }

        .news-title { font-size: 28px; text-align: center; margin-bottom: 20px; }
        .news-meta { text-align: center; color: #666; margin-bottom: 40px; font-size: 14px; }
        .news-content { line-height: 2; font-size: 16px; color: #333; }
        .news-content p { margin-bottom: 15px; text-indent: 2em; }
        .news-content img { margin: 20px auto; }
        .keyword-link { color: #c3732d; font-weight: 600; text-decoration: none; }
        .keyword-link:hover { text-decoration: underline; }

        /* 上一篇 / 下一篇 */
        .news-prev-next { margin-top: 50px; padding: 20px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; display: flex; gap: 15px; }
        .news-prev-next a, .news-prev-next span.empty { flex: 1; padding: 12px 15px; background: #f8f9fa; border-radius: 4px; transition: .3s; display: block; }
        .news-prev-next a:hover { background: #0066cc; color: #fff; }
        .news-prev-next span.empty { opacity: .5; color: #999; cursor: not-allowed; }
        .news-prev-next .label { display: block; font-size: 12px; color: #999; margin-bottom: 4px; }
        .news-prev-next a:hover .label, .news-prev-next span.empty .label { color: inherit; }
        .news-prev-next .label-right { text-align: right; }
        .news-prev-next .title-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

        /* 相关文章 */
        .related-articles { margin-top: 50px; }
        .related-title { font-size: 22px; margin-bottom: 25px; text-align: center; position: relative; }
        .related-title::after { content: ""; width: 60px; height: 3px; background: #0066cc; position: absolute; left: 50%; transform: translateX(-50%); bottom: -10px; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .related-card { border: 1px solid #eee; border-radius: 5px; background: #fff; transition: .3s; display: block; color: #333; }
        .related-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
        .related-card-body { padding: 15px; }
        .related-card-body h3 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
        .related-card-body p { font-size: 12px; color: #999; }

        /* 侧边栏 widget */
        .sidebar-widget { background: #fff; border: 1px solid #eee; border-radius: 5px; padding: 20px; margin-bottom: 20px; }
        .widget-title { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #0066cc; }
        .widget-list { list-style: none; }
        .widget-list li { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; line-height: 1.5; }
        .widget-list li:last-child { border-bottom: none; }
        .widget-list .date { color: #999; font-size: 12px; margin-right: 6px; }
        .widget-list a { color: #555; }
        .widget-list a:hover { color: #0066cc; }
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag-cloud a { padding: 5px 12px; background: #f8f9fa; color: #555; border-radius: 3px; font-size: 13px; }
        .tag-cloud a:hover { background: #0066cc; color: #fff; }

        /* 响应式 */
        @media (max-width: 992px) {
            .news-detail-layout { flex-direction: column; }
            .news-sidebar { width: 100%; }
        }
        @media (max-width: 768px) {
            .container { width: 100%; }
            .nav { flex-direction: column; height: auto; padding: 15px 0; }
            .news-title { font-size: 22px; }
            .related-grid { grid-template-columns: repeat(2, 1fr); }
            .news-prev-next { flex-direction: column; }
        }
        @media (max-width: 480px) {
            .related-grid { grid-template-columns: 1fr; }
        }
   
