/* body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
} */

/* 全局动画类 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* 顶部导航 */
.header-bar {
    background: white;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-bar .header-inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-bar .logo {
    height: 60px;
    margin: 10px 0;
}

.header-bar .logo img {
    height: 60px;
}

.header-bar .nav-links {
    display: flex;
    gap: 24px;
}

.nav-toggle {
    display: none;
    width: 24px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-right: 20px;
}

.nav-toggle span {
    height: 2px;
    background: #333;
    border-radius: 2px;
}

.header-bar .nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
}

.header-bar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.header-bar .nav-links a:hover::after {
    width: 100%;
}

.header-bar .nav-links a.active::after,
.header-bar .nav-links a:hover::after {
    width: 100%;
}

/* 主内容容器 */
.newspage {
    position: relative;
    overflow: hidden;
}

.newspage::before {
    content: '';
    position: absolute;
    inset: 0;

    background-image: url(http://yzsjbucket.oss-cn-shenzhen.aliyuncs.com/storage/default/20241029/img/bg1.jpg);
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(10px);
    filter: blur(6px);
    transform: scale(1.1);
    /* 防止边缘露白 */

    z-index: 0;
}

/* 内容抬高 */
.newspage>* {
    position: relative;
    z-index: 1;
}

.newspage .container {
    margin: 60px auto;
    background: #fff;
    /* padding: 40px; */
}

/* 列表页样式 */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.list-title {
    color: var(--primary);
    font-size: 28px;
    font-weight: bold;
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    background: #f0f9ff;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-img {
    height: 180px;
    width: 100%;

    background: linear-gradient(45deg, #a3b8c2, #3498db);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;

}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 12px;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 12px;
    color: var(--dark);
    transition: var(--transition);
}

.news-card:hover .card-title {
    color: var(--primary);
}

.card-excerpt {
    color: #666;
    font-size: 15px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #eef7ff;
    color: var(--primary);
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}

/* 详情页样式 */
.detail-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.detail-header {
    height: 300px;
    background-image: url(http://yzsjbucket.oss-cn-shenzhen.aliyuncs.com/storage/default/20241029/img/banner1.png);
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(10px);
    position: relative;
}


.detail-title {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.detail-meta {
    position: absolute;
    bottom: 20px;
    left: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    display: flex;
    gap: 20px;
}

.detail-content {
    padding: 40px;
}

.detail-content h2 {
    font-size: 26px;
    color: var(--dark);
    margin: 32px 0 20px;
    position: relative;
}

.detail-content h2::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.detail-content p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.detail-content ul {
    padding-left: 24px;
    margin: 20px 0;
}

.detail-content li {
    margin-bottom: 12px;
}

.highlight {
    background: rgba(0, 178, 216, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}




.contact .map {
    width: 100%;
    border: 3px solid var(--primary);
    position: relative;
    min-height: 360px;
    background: #f2f2f2;
    /* transform: scale(0.3); */
    /* opacity: 0; */
    transition: 0.8s ease;
}

.contact h4 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
}

.contact h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact h2 span {
    color: var(--primary);
}

.amap-icon {
    overflow: visible !important;
}

.contact .amap-icon img,
.contact .amap-marker-content img {
    width: 25px;
    height: 34px;
}

/* 右侧信息 */

.contact .info {
    padding-top: 20px;
}

.contact .hotline {
    font-size: 14px;
}

.contact .hotline span {
    display: block;
    font-size: 32px;
    color: var(--primary);
    margin: 5px 0 15px;
}

.contact .row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #555;
}

.contact .row img {
    width: 18px;
    margin-right: 10px;
}

.contact .qr {
    margin-top: 25px;
}

.contact .qr img {
    width: 120px;
    height: 120px;
}

.contact .qr-text {
    text-align: left;
    transition: 1.8s cubic-bezier(0.2, 1.5, 0.4, 1);
}

.contact .qr-text h3 {
    color: var(--primary);
    margin: 0 0 10px;
}

.contact {
    margin: 60px auto 60px;
    background: #fff;
    padding: 40px;
}

.map {
    width: 100%;
    border: 3px solid var(--primary);
    position: relative;
    height: 360px;
    background: #f2f2f2;
    /* transform: scale(0.3); */
    opacity: 1;
    transition: 0.8s ease;
}


.product {
    padding-bottom: 40px;
}

.product h3 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
}

.product h4 {
    font-size: 22px;
    font-weight: 400;
}

.product p {
    font-size: 22px;
    font-weight: 400;
}

.product .mw100 {
    margin: 20px auto;
}
.pcm20{
    margin-left: 20px;
}
.w100 {
    width: 100%;
}

.w100 img {
    width: 100%;
}

/* 响应式 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    .header-bar {
        position: fixed;
        height: 60px;
        z-index: 1000;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .header-bar .logo {
        height: 40px;
        margin: 10px 0;
    }

    .header-bar .logo img {
        height: 40px;
    }

    .header-bar .logo-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }



    .nav-links {
        position: fixed;
        left: 0;
        top: 60px;
        width: 100%;
        background: #fff;
        flex-direction: column;
        display: none !important;
    }


    .header-bar .nav-links {
        gap: 0;
    }

    .nav-links.open {
        display: flex !important;
        background: rgba(255, 255, 255, .65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, .05);
    }

    .nav-links a {
        height: 36px;
        line-height: 36px;
        padding: 0 18px;
        margin-right: 18px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 15px;
        color: #333;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }

    #list-page {
        margin: 80px 20px 20px 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 10px;
    }

    .card-title {
        font-size: 16px;
        font-weight: 600;
    }

    .card-excerpt {
        font-size: 12px;
        margin-bottom: 10px;

    }

    .newspage::before {
        display: none;
    }

    .detail-container {
        border-radius: 0;
    }

    .detail-title {
        left: 20px;
        right: 20px;
    }

    .detail-meta {
        bottom: 10px;
        left: 20px;

    }

    .detail-header {
        height: 200px;
    }

    .detail-title {
        font-size: 24px;
    }

    .detail-content {
        padding: 24px;
    }

    .footer {
        padding: 0 10px;
    }

    .contact {
        padding: 20px;
    }

    .contact .map {
        height: 200px;
        min-height: 200px;
    }

    .contact .info {
        flex-direction: column;
    }

    .contact h4 {
        font-size: 16px;
    }

    .contact h2 {
        font-size: 26px;
    }

    .product {
        padding-top: 60px;
        width: 100%;
    }

    .product h3 {
        font-size: 20px;
        font-weight: 700;
        color: var(--primary);
    }

    .product h4 {
        font-size: 16px;
        font-weight: 400;
    }

    .product p {
        font-size: 16px;
        font-weight: 400;
    }
    .product .pcm20{
        margin-left: 0px;
    }
    .mw100 {
        margin-bottom: 20px;
    }

    .mw100,
    .mw100 img {
        width: 100%;
        text-align: center;
    }

    .mf {
        flex-direction: column;
    }
}