* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "微软雅黑", sans-serif;
    color: #333;
}
li {list-style-type:none;}
a {text-decoration: none;}
/* 导航栏样式 */
.nav-container {
    width: 100%;margin:0 auto;
    background-color: #4d4d4d;
    transition: all 0.3s ease;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* 修改：将内容居中对齐 */
    align-items: center;
    height: 50px;
}

/* 桌面端导航菜单 */
.nav-list {
    list-style: none;
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-list li {
    display: flex;
    align-items: center;position: relative;
}

.nav-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width:160px;
    color: #f5f5f5;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.nav-list li a:hover {
    color: #36CFC9;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #36CFC9;
    transition: width 0.3s ease;
}

.nav-list li a:hover::after {
    width: 100%;
}

.nav-list li .sub-menu {
    position: absolute;top:50px;left:0;padding:0;background:#5f5e5e;;z-index: 9;display: none;
}
.nav-list li .sub-menu a{
    height: 50px;line-height: 50px;font-size:16px;color:#fff;
}
/* 鼠标移入主菜单时显示子菜单 */
.nav-list li:hover .sub-menu {
    display: block;
}
/* 移动端菜单按钮 */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 24px;
    cursor: pointer;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    color: #36CFC9;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(77, 77, 77, 0.95);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mobile-menu ul li {
    margin: 15px 0;
}

.mobile-menu ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #36CFC9;
}

.mobile-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #36CFC9;
    transition: width 0.3s ease;
}

.mobile-menu ul li a:hover::after {
    width: 100%;
}

.close-menu-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-menu-button:hover {
    color: #36CFC9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        position: absolute;
        left: 10px; /* 移动端菜单按钮靠左显示 */
    }

    .mobile-menu {
        display: block;
    }

    .nav-wrapper {
        justify-content: center; /* 移动端也保持居中 */
    }
}

/* 滚动效果 */
.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: rgba(77, 77, 77, 0.95);
}

/* 页面内容样式 */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.content h1 {
    margin-bottom: 20px;
}
/*  banner区域 */
.banner {
    background-size: cover;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.banner .banner-content {
    text-align: center;
}

.banner .banner-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.banner .banner-content p {
    font-size: 16px;
}
.swiper-container {width:100%;}
/* 工作动态 */
.work-dynamic {
    width: 1200px;
    margin: 20px auto;
}

.work-dynamic h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.work-dynamic .dynamic-list {
    display: flex;
    justify-content: space-between;
}

.work-dynamic .dynamic-list .item {
    width: 23%;
    height: 80px;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
}

/* 政策法规 */
.policy-regulation {
    width: 1200px;
    margin: 20px auto;
}

.policy-regulation h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.policy-regulation .policy-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.policy-regulation .policy-list .policy-item {
    width: 23%;
    margin-bottom: 20px;
}

.policy-regulation .policy-list .policy-item img {
    width: 100%;
    height: 180px; /* 你希望的高度，比如 200px */
    object-fit: cover; /* 图片等比裁剪，保持容器填充 */
    margin-bottom: 10px;
}

.policy-regulation .policy-list .policy-item p {
    font-size: 14px;
    line-height: 1.5;
}

/* 行业资讯 */
.industry-news {
    width: 1200px;
    margin: 20px auto;
}

.industry-news h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.industry-news .news-list {
    display: flex;
    justify-content: space-between;
}
/* 行业资讯部分 */
.industry-news {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.industry-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.industry-news-header h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.industry-news-header h2 i {
    color: #165DFF;
    margin-right: 8px;
}

.industry-news-header .more {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.industry-news-header .more:hover {
    text-decoration: underline;
}

.industry-news-header .news-links {
    color: #ddd;
    text-decoration: none;
    padding: 0 5px;
    font-size: 14px;
}
.industry-news-header .news-links a {
    color: #666;
    text-decoration: none;
    padding: 0 5px;
    font-size: 14px;
}

.industry-news-header .news-links a:hover {
    color: #007bff;
    text-decoration: underline;
}
/* 内容区域 */
.industry-news-content {
    display: flex;
    gap: 20px;
}

/* 左侧大图区域 */
.news-left {
    flex: 1;
    min-width: 300px;
    height: 200px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd; /* 可选：用于查看边界 */
}
.news-left img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 关键：保持比例并覆盖整个区域，超出裁剪 */
    object-position: center; /* 图片居中裁剪，避免偏移 */
    display: block;
}
.news-left .text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    padding: 15px;
}

.news-left .text-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.news-left .text-overlay p {
    font-size: 14px;
    color: #f0f0f0;
}

/* 右侧列表区域 */
.news-right {
    flex: 2;
    display: flex;
    gap: 20px;
}

/* 列表容器 */
.news-list {
    flex: 1;
}

.news-list h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.news-list h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #165DFF;
}

.news-list ul {
    list-style: none;
    width: 100%;
}

.news-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.news-list li .title {
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-list li .title:hover {
    color: #165DFF;
}

.news-list li .date {
    color: #999;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .industry-news-content {
        flex-direction: column;
    }

    .news-right {
        flex-direction: column;
    }

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

/* 企业风采 */
.enterprise-show {
    width: 1200px;
    margin: 20px auto;
}

.enterprise-show h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.enterprise-show .enterprise-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.enterprise-show .enterprise-list .enterprise-item {
    width: 23%;
    margin-bottom: 20px;
}

.enterprise-show .enterprise-list .enterprise-item img {
    width: 100%;
    height: auto;
}

/* 底部 */
.footer {
    background-color: #005CAE;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    font-size: 14px;
    margin-bottom: 5px;
}
.footer a {
    font-size: 14px;
    color:#fff;
}

/* 响应式简单处理，这里只是示例，可根据实际需求完善 */
@media (max-width: 1200px) {
    .top-nav .container,
    .work-dynamic,
    .policy-regulation,
    .industry-news,
    .enterprise-show {
        width: 90%;
    }

    .work-dynamic .dynamic-list .item,
    .policy-regulation .policy-list .policy-item,
    .enterprise-show .enterprise-list .enterprise-item {
        width: 48%;
    }
}







/* 工作动态部分 */
.work-dynamic {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 30px;
}

.work-dynamic h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.work-dynamic h3 i {
    color: #165DFF;
    margin-right: 8px;
}

/* 滚动容器 */
.scroll-container {
    position: relative;
    overflow: hidden;
    height: 150px;
    display: flex;
    align-items: center;
}

.scroll-content {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    animation: scroll-left 20s linear infinite;
}

.scroll-container:hover .scroll-content {
    animation-play-state: paused;
}

/* 新闻项样式 */
.news-item {
    white-space: nowrap;
    padding: 8px 16px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-right: 16px;
    min-width: 200px;
    min-height: 130px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.news-item img {
    width: 200px;
    height: 130px;
}

.news-item span {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
}

.tag-important {
    background-color: #ffebee;
    color: #b71c1c;
}

.tag-notice {
    background-color: #e8f4ea;
    color: #2e7d32;
}

.tag-update {
    background-color: #e8f5e9;
    color: #1b5e20;
}

.tag-announcement {
    background-color: #f3e5f5;
    color: #4a148c;
}

.tag-reminder {
    background-color: #fff3e0;
    color: #e65100;
}

/* 滚动动画 */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 页面其他内容 */
.page-content {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: center;
}

.page-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
}

.page-content p {
    color: #666;
}



/* 卡片布局 */
.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #E5E9F2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card a {
    color:#333;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(22, 93, 255, 0.15);
}

.card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    max-height: 3.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.card span {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.card span i {
    margin-right: 5px;
}
.card-list2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 15px;
}
.card2 {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #E5E9F2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card2 a {
    font-size: 16px;
    color:#333;
}
.card2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(22, 93, 255, 0.15);
}

.card2 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card2:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card2 h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    max-height: 3.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card2 p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.card2 span {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.card2 span i {
    margin-right: 5px;
}


/* 模态框样式 */
#detailModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#detailModal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#detailModal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #E5E9F2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: bold;
}

.close-modal {
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-body .modal-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.modal-body .modal-content-text {
    font-size: 16px;
    line-height: 1.8;
}

/* 加载更多按钮 */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

#loadMoreBtn {
    background-color: #165DFF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

#loadMoreBtn:hover {
    background-color: #0E2E92;
}

#loadMoreBtn i {
    margin-right: 10px;
}

#loadMoreBtn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .card img {
        height: 160px;
    }
}

.logo {position: absolute;top:20px;left:10px;}
.logo img{height: 80px;}
.logo2 {position: absolute;top:20px;left:200px;}
.logo2 img{height: 80px;}


.article ul{padding:10px;}
.article ul li{padding:10px;margin:10px 0;}
.article ul li:hover{background: #eee;}
.article ul li a{color:#333;}
.article ul li a h3{font-size: 22px;}
.article ul li a p{font-size: 16px;color:#666;}

.biaoti {margin-top:40px;}
.biaoti h3{font-size:32px;color:#333;text-align: center;}
.biaoti .zonghe{border-bottom:#ddd 1px dashed;height: 35px;line-height: 35px;}
.biaoti .zonghe p{float:left;font-size:14px;color:#999;margin-right:30px;}
.zhenwen {font-size:18px;color:#666;line-height: 220%;padding:15px;}
.zhenwen img{
    max-height:1500px;
    max-width:870px;
    width:expression_r((this.width > 870 && this.width > this.height) ? '870px': this.width+'px');
    height:expression_r((this.height > 1500 && this.height > this.width) ? '1500px': this.height+'px');
    float:middle;
}
.zhenwen video{
    max-height:1500px;
    max-width:870px;
    width:expression_r((this.width > 870 && this.width > this.height) ? '870px': this.width+'px');
    height:expression_r((this.height > 1500 && this.height > this.width) ? '1500px': this.height+'px');
    float:middle;
}




.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pagination li {
    margin: 0 4px;
}

.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.pagination li a:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination li.active span {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    font-weight: 500;
}

.pagination li.disabled span {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.7;
}

